Skip to content

Commit

Permalink
SDK updates
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jun 7, 2024
1 parent 316a172 commit 6796907
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 1 deletion.
9 changes: 9 additions & 0 deletions src/generated/models/AppInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,12 @@ export interface AppInfo {
* @memberof AppInfo
*/
auth_origin: string;
/**
*
* @type {boolean}
* @memberof AppInfo
*/
auto_theme_enabled: boolean;
/**
*
* @type {Date}
Expand Down Expand Up @@ -313,6 +319,7 @@ export function instanceOfAppInfo(value: object): boolean {
isInstance = isInstance && "auth_fallback_method_ttl" in value;
isInstance = isInstance && "auth_methods" in value;
isInstance = isInstance && "auth_origin" in value;
isInstance = isInstance && "auto_theme_enabled" in value;
isInstance = isInstance && "created_at" in value;
isInstance = isInstance && "default_language" in value;
isInstance = isInstance && "id" in value;
Expand Down Expand Up @@ -362,6 +369,7 @@ export function AppInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): A
'auth_fallback_method_ttl': json['auth_fallback_method_ttl'],
'auth_methods': AuthMethodsFromJSON(json['auth_methods']),
'auth_origin': json['auth_origin'],
'auto_theme_enabled': json['auto_theme_enabled'],
'created_at': (new Date(json['created_at'])),
'default_language': json['default_language'],
'id': json['id'],
Expand Down Expand Up @@ -413,6 +421,7 @@ export function AppInfoToJSON(value?: AppInfo | null): any {
'auth_fallback_method_ttl': value.auth_fallback_method_ttl,
'auth_methods': AuthMethodsToJSON(value.auth_methods),
'auth_origin': value.auth_origin,
'auto_theme_enabled': value.auto_theme_enabled,
'created_at': (value.created_at.toISOString()),
'default_language': value.default_language,
'id': value.id,
Expand Down
2 changes: 1 addition & 1 deletion src/generated/models/CreateMagicLinkRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface CreateMagicLinkRequest {
*/
language?: string;
/**
*
* must be a relative url
* @type {string}
* @memberof CreateMagicLinkRequest
*/
Expand Down
9 changes: 9 additions & 0 deletions src/generated/models/ListPaginatedUsersItem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,12 @@ export interface ListPaginatedUsersItem {
* @memberof ListPaginatedUsersItem
*/
email_verified: boolean;
/**
* The external ID of the user. Only set if the user was created in a Flex app.
* @type {string}
* @memberof ListPaginatedUsersItem
*/
external_id: string;
/**
*
* @type {string}
Expand Down Expand Up @@ -102,6 +108,7 @@ export function instanceOfListPaginatedUsersItem(value: object): boolean {
isInstance = isInstance && "created_at" in value;
isInstance = isInstance && "email" in value;
isInstance = isInstance && "email_verified" in value;
isInstance = isInstance && "external_id" in value;
isInstance = isInstance && "id" in value;
isInstance = isInstance && "last_login_at" in value;
isInstance = isInstance && "login_count" in value;
Expand All @@ -127,6 +134,7 @@ export function ListPaginatedUsersItemFromJSONTyped(json: any, ignoreDiscriminat
'created_at': (new Date(json['created_at'])),
'email': json['email'],
'email_verified': json['email_verified'],
'external_id': json['external_id'],
'id': json['id'],
'last_login_at': (new Date(json['last_login_at'])),
'login_count': json['login_count'],
Expand All @@ -150,6 +158,7 @@ export function ListPaginatedUsersItemToJSON(value?: ListPaginatedUsersItem | nu
'created_at': (value.created_at.toISOString()),
'email': value.email,
'email_verified': value.email_verified,
'external_id': value.external_id,
'id': value.id,
'last_login_at': (value.last_login_at.toISOString()),
'login_count': value.login_count,
Expand Down
9 changes: 9 additions & 0 deletions src/generated/models/UserInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,12 @@ export interface UserInfo {
* @memberof UserInfo
*/
email_verified: boolean;
/**
* The external ID of the user. Only set if the user was created in a Flex app.
* @type {string}
* @memberof UserInfo
*/
external_id: string;
/**
*
* @type {string}
Expand Down Expand Up @@ -156,6 +162,7 @@ export function instanceOfUserInfo(value: object): boolean {
isInstance = isInstance && "created_at" in value;
isInstance = isInstance && "email" in value;
isInstance = isInstance && "email_verified" in value;
isInstance = isInstance && "external_id" in value;
isInstance = isInstance && "id" in value;
isInstance = isInstance && "last_login_at" in value;
isInstance = isInstance && "login_count" in value;
Expand Down Expand Up @@ -186,6 +193,7 @@ export function UserInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean):
'created_at': (new Date(json['created_at'])),
'email': json['email'],
'email_verified': json['email_verified'],
'external_id': json['external_id'],
'id': json['id'],
'last_login_at': (new Date(json['last_login_at'])),
'login_count': json['login_count'],
Expand Down Expand Up @@ -214,6 +222,7 @@ export function UserInfoToJSON(value?: UserInfo | null): any {
'created_at': (value.created_at.toISOString()),
'email': value.email,
'email_verified': value.email_verified,
'external_id': value.external_id,
'id': value.id,
'last_login_at': (value.last_login_at.toISOString()),
'login_count': value.login_count,
Expand Down

0 comments on commit 6796907

Please sign in to comment.