-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* SDK updates * Change files * Commited changelog --------- Co-authored-by: github-actions <[email protected]> Co-authored-by: Danilo Kaltner <[email protected]>
- Loading branch information
1 parent
c0ac702
commit 1ce4cba
Showing
9 changed files
with
186 additions
and
70 deletions.
There are no files selected for viewing
7 changes: 7 additions & 0 deletions
7
change/@passageidentity-passage-node-7838872e-b5d9-442f-9942-6d2ef22f6fcc.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "minor", | ||
"comment": "SDK updates", | ||
"packageName": "@passageidentity/passage-node", | ||
"email": "[email protected]", | ||
"dependentChangeType": "patch" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
/* tslint:disable */ | ||
/* eslint-disable */ | ||
/** | ||
* Passage Management API | ||
* Passage\'s management API to manage your Passage apps and users. | ||
* | ||
* The version of the OpenAPI document: 1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
import { exists, mapValues } from '../runtime'; | ||
/** | ||
* | ||
* @export | ||
* @interface GoogleUserSocialConnection | ||
*/ | ||
export interface GoogleUserSocialConnection { | ||
/** | ||
* The external ID of the Social Connection. | ||
* @type {string} | ||
* @memberof GoogleUserSocialConnection | ||
*/ | ||
provider_id: string; | ||
/** | ||
* | ||
* @type {Date} | ||
* @memberof GoogleUserSocialConnection | ||
*/ | ||
created_at: Date; | ||
/** | ||
* | ||
* @type {Date} | ||
* @memberof GoogleUserSocialConnection | ||
*/ | ||
last_login_at: Date; | ||
/** | ||
* The email of connected social user. | ||
* @type {string} | ||
* @memberof GoogleUserSocialConnection | ||
*/ | ||
provider_identifier: string; | ||
} | ||
|
||
/** | ||
* Check if a given object implements the GoogleUserSocialConnection interface. | ||
*/ | ||
export function instanceOfGoogleUserSocialConnection(value: object): boolean { | ||
let isInstance = true; | ||
isInstance = isInstance && "provider_id" in value; | ||
isInstance = isInstance && "created_at" in value; | ||
isInstance = isInstance && "last_login_at" in value; | ||
isInstance = isInstance && "provider_identifier" in value; | ||
|
||
return isInstance; | ||
} | ||
|
||
export function GoogleUserSocialConnectionFromJSON(json: any): GoogleUserSocialConnection { | ||
return GoogleUserSocialConnectionFromJSONTyped(json, false); | ||
} | ||
|
||
export function GoogleUserSocialConnectionFromJSONTyped(json: any, ignoreDiscriminator: boolean): GoogleUserSocialConnection { | ||
if ((json === undefined) || (json === null)) { | ||
return json; | ||
} | ||
return { | ||
|
||
'provider_id': json['provider_id'], | ||
'created_at': (new Date(json['created_at'])), | ||
'last_login_at': (new Date(json['last_login_at'])), | ||
'provider_identifier': json['provider_identifier'], | ||
}; | ||
} | ||
|
||
export function GoogleUserSocialConnectionToJSON(value?: GoogleUserSocialConnection | null): any { | ||
if (value === undefined) { | ||
return undefined; | ||
} | ||
if (value === null) { | ||
return null; | ||
} | ||
return { | ||
|
||
'provider_id': value.provider_id, | ||
'created_at': (value.created_at.toISOString()), | ||
'last_login_at': (value.last_login_at.toISOString()), | ||
'provider_identifier': value.provider_identifier, | ||
}; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.