@dynamic-labs/sdk-api 0.0.190 → 0.0.191

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-api",
3
- "version": "0.0.190",
3
+ "version": "0.0.191",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -32,6 +32,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
32
32
  'oauthAccountId': !runtime.exists(json, 'oauth_account_id') ? undefined : json['oauth_account_id'],
33
33
  'oauthAccountPhotos': !runtime.exists(json, 'oauth_account_photos') ? undefined : json['oauth_account_photos'],
34
34
  'oauthEmails': !runtime.exists(json, 'oauth_emails') ? undefined : json['oauth_emails'],
35
+ 'previousUsers': !runtime.exists(json, 'previous_users') ? undefined : json['previous_users'],
35
36
  };
36
37
  }
37
38
  function JwtVerifiedCredentialToJSON(value) {
@@ -57,6 +58,7 @@ function JwtVerifiedCredentialToJSON(value) {
57
58
  'oauth_account_id': value.oauthAccountId,
58
59
  'oauth_account_photos': value.oauthAccountPhotos,
59
60
  'oauth_emails': value.oauthEmails,
61
+ 'previous_users': value.previousUsers,
60
62
  };
61
63
  }
62
64
 
@@ -109,6 +109,12 @@ export interface JwtVerifiedCredential {
109
109
  * @memberof JwtVerifiedCredential
110
110
  */
111
111
  oauthEmails?: Array<string>;
112
+ /**
113
+ * This will only be provided in the responses for GET /users/{userId}.Previous user IDs that owned this verified credential and was tranfered to the current user ID.
114
+ * @type {Array<string>}
115
+ * @memberof JwtVerifiedCredential
116
+ */
117
+ previousUsers?: Array<string>;
112
118
  }
113
119
  export declare function JwtVerifiedCredentialFromJSON(json: any): JwtVerifiedCredential;
114
120
  export declare function JwtVerifiedCredentialFromJSONTyped(json: any, ignoreDiscriminator: boolean): JwtVerifiedCredential;
@@ -28,6 +28,7 @@ function JwtVerifiedCredentialFromJSONTyped(json, ignoreDiscriminator) {
28
28
  'oauthAccountId': !exists(json, 'oauth_account_id') ? undefined : json['oauth_account_id'],
29
29
  'oauthAccountPhotos': !exists(json, 'oauth_account_photos') ? undefined : json['oauth_account_photos'],
30
30
  'oauthEmails': !exists(json, 'oauth_emails') ? undefined : json['oauth_emails'],
31
+ 'previousUsers': !exists(json, 'previous_users') ? undefined : json['previous_users'],
31
32
  };
32
33
  }
33
34
  function JwtVerifiedCredentialToJSON(value) {
@@ -53,6 +54,7 @@ function JwtVerifiedCredentialToJSON(value) {
53
54
  'oauth_account_id': value.oauthAccountId,
54
55
  'oauth_account_photos': value.oauthAccountPhotos,
55
56
  'oauth_emails': value.oauthEmails,
57
+ 'previous_users': value.previousUsers,
56
58
  };
57
59
  }
58
60