@dynamic-labs/sdk-api 0.0.1123 → 0.0.1124
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
|
@@ -35,6 +35,7 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'refreshExp': !runtime.exists(json, 'refreshExp') ? undefined : json['refreshExp'],
|
|
36
36
|
'sdkVersion': !runtime.exists(json, 'sdkVersion') ? undefined : json['sdkVersion'],
|
|
37
37
|
'deviceRegistrationId': !runtime.exists(json, 'deviceRegistrationId') ? undefined : json['deviceRegistrationId'],
|
|
38
|
+
'roles': !runtime.exists(json, 'roles') ? undefined : json['roles'],
|
|
38
39
|
};
|
|
39
40
|
}
|
|
40
41
|
function MinifiedDynamicJwtToJSON(value) {
|
|
@@ -66,6 +67,7 @@ function MinifiedDynamicJwtToJSON(value) {
|
|
|
66
67
|
'refreshExp': value.refreshExp,
|
|
67
68
|
'sdkVersion': value.sdkVersion,
|
|
68
69
|
'deviceRegistrationId': value.deviceRegistrationId,
|
|
70
|
+
'roles': value.roles,
|
|
69
71
|
};
|
|
70
72
|
}
|
|
71
73
|
|
|
@@ -142,6 +142,12 @@ export interface MinifiedDynamicJwt {
|
|
|
142
142
|
* @memberof MinifiedDynamicJwt
|
|
143
143
|
*/
|
|
144
144
|
deviceRegistrationId?: string | null;
|
|
145
|
+
/**
|
|
146
|
+
* Role assignments as org:{organizationId}:{role} and account:{businessAccountId}:{role} entries. Empty array when the user has no memberships.
|
|
147
|
+
* @type {Array<string>}
|
|
148
|
+
* @memberof MinifiedDynamicJwt
|
|
149
|
+
*/
|
|
150
|
+
roles?: Array<string>;
|
|
145
151
|
}
|
|
146
152
|
export declare function MinifiedDynamicJwtFromJSON(json: any): MinifiedDynamicJwt;
|
|
147
153
|
export declare function MinifiedDynamicJwtFromJSONTyped(json: any, ignoreDiscriminator: boolean): MinifiedDynamicJwt;
|
|
@@ -31,6 +31,7 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'refreshExp': !exists(json, 'refreshExp') ? undefined : json['refreshExp'],
|
|
32
32
|
'sdkVersion': !exists(json, 'sdkVersion') ? undefined : json['sdkVersion'],
|
|
33
33
|
'deviceRegistrationId': !exists(json, 'deviceRegistrationId') ? undefined : json['deviceRegistrationId'],
|
|
34
|
+
'roles': !exists(json, 'roles') ? undefined : json['roles'],
|
|
34
35
|
};
|
|
35
36
|
}
|
|
36
37
|
function MinifiedDynamicJwtToJSON(value) {
|
|
@@ -62,6 +63,7 @@ function MinifiedDynamicJwtToJSON(value) {
|
|
|
62
63
|
'refreshExp': value.refreshExp,
|
|
63
64
|
'sdkVersion': value.sdkVersion,
|
|
64
65
|
'deviceRegistrationId': value.deviceRegistrationId,
|
|
66
|
+
'roles': value.roles,
|
|
65
67
|
};
|
|
66
68
|
}
|
|
67
69
|
|