@dynamic-labs/sdk-api-core 0.0.954 → 0.0.955

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-core",
3
- "version": "0.0.954",
3
+ "version": "0.0.955",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -24,6 +24,7 @@ function UserOauthAccessTokenResponseFromJSONTyped(json, ignoreDiscriminator) {
24
24
  }
25
25
  return {
26
26
  'accessToken': json['accessToken'],
27
+ 'scopes': json['scopes'],
27
28
  };
28
29
  }
29
30
  function UserOauthAccessTokenResponseToJSON(value) {
@@ -35,6 +36,7 @@ function UserOauthAccessTokenResponseToJSON(value) {
35
36
  }
36
37
  return {
37
38
  'accessToken': value.accessToken,
39
+ 'scopes': value.scopes,
38
40
  };
39
41
  }
40
42
 
@@ -21,6 +21,12 @@ export interface UserOauthAccessTokenResponse {
21
21
  * @memberof UserOauthAccessTokenResponse
22
22
  */
23
23
  accessToken: string;
24
+ /**
25
+ * OAuth scopes granted to the access token, as captured at the time of token issuance. Empty array when the provider did not surface scopes or when the token predates scope capture.
26
+ * @type {Array<string>}
27
+ * @memberof UserOauthAccessTokenResponse
28
+ */
29
+ scopes: Array<string>;
24
30
  }
25
31
  export declare function UserOauthAccessTokenResponseFromJSON(json: any): UserOauthAccessTokenResponse;
26
32
  export declare function UserOauthAccessTokenResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserOauthAccessTokenResponse;
@@ -20,6 +20,7 @@ function UserOauthAccessTokenResponseFromJSONTyped(json, ignoreDiscriminator) {
20
20
  }
21
21
  return {
22
22
  'accessToken': json['accessToken'],
23
+ 'scopes': json['scopes'],
23
24
  };
24
25
  }
25
26
  function UserOauthAccessTokenResponseToJSON(value) {
@@ -31,6 +32,7 @@ function UserOauthAccessTokenResponseToJSON(value) {
31
32
  }
32
33
  return {
33
34
  'accessToken': value.accessToken,
35
+ 'scopes': value.scopes,
34
36
  };
35
37
  }
36
38