@dynamic-labs/sdk-api 0.0.416 → 0.0.418
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 +1 -1
- package/src/models/DynamicJwt.cjs +0 -2
- package/src/models/DynamicJwt.d.ts +0 -6
- package/src/models/DynamicJwt.js +0 -2
- package/src/models/InternalUserFields.cjs +2 -0
- package/src/models/InternalUserFields.d.ts +6 -0
- package/src/models/InternalUserFields.js +2 -0
- package/src/models/MinifiedDynamicJwt.cjs +0 -2
- package/src/models/MinifiedDynamicJwt.d.ts +0 -6
- package/src/models/MinifiedDynamicJwt.js +0 -2
package/package.json
CHANGED
|
@@ -37,7 +37,6 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
37
37
|
'phoneNumber': !runtime.exists(json, 'phone_number') ? undefined : json['phone_number'],
|
|
38
38
|
'missingFields': (json['missing_fields'].map(ProjectSettingsKyc.ProjectSettingsKycFromJSON)),
|
|
39
39
|
'scope': !runtime.exists(json, 'scope') ? undefined : json['scope'],
|
|
40
|
-
'requestedScope': !runtime.exists(json, 'requestedScope') ? undefined : json['requestedScope'],
|
|
41
40
|
'tShirtSize': !runtime.exists(json, 't_shirt_size') ? undefined : json['t_shirt_size'],
|
|
42
41
|
'team': !runtime.exists(json, 'team') ? undefined : json['team'],
|
|
43
42
|
'username': !runtime.exists(json, 'username') ? undefined : json['username'],
|
|
@@ -90,7 +89,6 @@ function DynamicJwtToJSON(value) {
|
|
|
90
89
|
'phone_number': value.phoneNumber,
|
|
91
90
|
'missing_fields': (value.missingFields.map(ProjectSettingsKyc.ProjectSettingsKycToJSON)),
|
|
92
91
|
'scope': value.scope,
|
|
93
|
-
'requestedScope': value.requestedScope,
|
|
94
92
|
't_shirt_size': value.tShirtSize,
|
|
95
93
|
'team': value.team,
|
|
96
94
|
'username': value.username,
|
|
@@ -139,12 +139,6 @@ export interface DynamicJwt {
|
|
|
139
139
|
* @memberof DynamicJwt
|
|
140
140
|
*/
|
|
141
141
|
scope?: string;
|
|
142
|
-
/**
|
|
143
|
-
* A whitespace-separate list of permissions associated with the JWT token issued. This conforms to the JWT standard for scope claims: https://datatracker.ietf.org/doc/html/rfc8693#section-4.2
|
|
144
|
-
* @type {string}
|
|
145
|
-
* @memberof DynamicJwt
|
|
146
|
-
*/
|
|
147
|
-
requestedScope?: string;
|
|
148
142
|
/**
|
|
149
143
|
*
|
|
150
144
|
* @type {string}
|
package/src/models/DynamicJwt.js
CHANGED
|
@@ -33,7 +33,6 @@ function DynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
'phoneNumber': !exists(json, 'phone_number') ? undefined : json['phone_number'],
|
|
34
34
|
'missingFields': (json['missing_fields'].map(ProjectSettingsKycFromJSON)),
|
|
35
35
|
'scope': !exists(json, 'scope') ? undefined : json['scope'],
|
|
36
|
-
'requestedScope': !exists(json, 'requestedScope') ? undefined : json['requestedScope'],
|
|
37
36
|
'tShirtSize': !exists(json, 't_shirt_size') ? undefined : json['t_shirt_size'],
|
|
38
37
|
'team': !exists(json, 'team') ? undefined : json['team'],
|
|
39
38
|
'username': !exists(json, 'username') ? undefined : json['username'],
|
|
@@ -86,7 +85,6 @@ function DynamicJwtToJSON(value) {
|
|
|
86
85
|
'phone_number': value.phoneNumber,
|
|
87
86
|
'missing_fields': (value.missingFields.map(ProjectSettingsKycToJSON)),
|
|
88
87
|
'scope': value.scope,
|
|
89
|
-
'requestedScope': value.requestedScope,
|
|
90
88
|
't_shirt_size': value.tShirtSize,
|
|
91
89
|
'team': value.team,
|
|
92
90
|
'username': value.username,
|
|
@@ -35,6 +35,7 @@ function InternalUserFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
'emailNotification': !runtime.exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
36
36
|
'discordNotification': !runtime.exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
37
37
|
'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
38
|
+
'emailVerifiedAt': !runtime.exists(json, 'emailVerifiedAt') ? undefined : (new Date(json['emailVerifiedAt'])),
|
|
38
39
|
'email': !runtime.exists(json, 'email') ? undefined : json['email'],
|
|
39
40
|
'wallets': !runtime.exists(json, 'wallets') ? undefined : (json['wallets'].map(CreateWalletRequest.CreateWalletRequestFromJSON)),
|
|
40
41
|
'oauthAccounts': !runtime.exists(json, 'oauthAccounts') ? undefined : (json['oauthAccounts'].map(CreateUserOauthRequest.CreateUserOauthRequestFromJSON)),
|
|
@@ -68,6 +69,7 @@ function InternalUserFieldsToJSON(value) {
|
|
|
68
69
|
'emailNotification': value.emailNotification,
|
|
69
70
|
'discordNotification': value.discordNotification,
|
|
70
71
|
'newsletterNotification': value.newsletterNotification,
|
|
72
|
+
'emailVerifiedAt': value.emailVerifiedAt === undefined ? undefined : (value.emailVerifiedAt.toISOString()),
|
|
71
73
|
'email': value.email,
|
|
72
74
|
'wallets': value.wallets === undefined ? undefined : (value.wallets.map(CreateWalletRequest.CreateWalletRequestToJSON)),
|
|
73
75
|
'oauthAccounts': value.oauthAccounts === undefined ? undefined : (value.oauthAccounts.map(CreateUserOauthRequest.CreateUserOauthRequestToJSON)),
|
|
@@ -137,6 +137,12 @@ export interface InternalUserFields {
|
|
|
137
137
|
* @memberof InternalUserFields
|
|
138
138
|
*/
|
|
139
139
|
newsletterNotification?: boolean;
|
|
140
|
+
/**
|
|
141
|
+
*
|
|
142
|
+
* @type {Date}
|
|
143
|
+
* @memberof InternalUserFields
|
|
144
|
+
*/
|
|
145
|
+
emailVerifiedAt?: Date;
|
|
140
146
|
/**
|
|
141
147
|
*
|
|
142
148
|
* @type {string}
|
|
@@ -31,6 +31,7 @@ function InternalUserFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
31
31
|
'emailNotification': !exists(json, 'emailNotification') ? undefined : json['emailNotification'],
|
|
32
32
|
'discordNotification': !exists(json, 'discordNotification') ? undefined : json['discordNotification'],
|
|
33
33
|
'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
|
|
34
|
+
'emailVerifiedAt': !exists(json, 'emailVerifiedAt') ? undefined : (new Date(json['emailVerifiedAt'])),
|
|
34
35
|
'email': !exists(json, 'email') ? undefined : json['email'],
|
|
35
36
|
'wallets': !exists(json, 'wallets') ? undefined : (json['wallets'].map(CreateWalletRequestFromJSON)),
|
|
36
37
|
'oauthAccounts': !exists(json, 'oauthAccounts') ? undefined : (json['oauthAccounts'].map(CreateUserOauthRequestFromJSON)),
|
|
@@ -64,6 +65,7 @@ function InternalUserFieldsToJSON(value) {
|
|
|
64
65
|
'emailNotification': value.emailNotification,
|
|
65
66
|
'discordNotification': value.discordNotification,
|
|
66
67
|
'newsletterNotification': value.newsletterNotification,
|
|
68
|
+
'emailVerifiedAt': value.emailVerifiedAt === undefined ? undefined : (value.emailVerifiedAt.toISOString()),
|
|
67
69
|
'email': value.email,
|
|
68
70
|
'wallets': value.wallets === undefined ? undefined : (value.wallets.map(CreateWalletRequestToJSON)),
|
|
69
71
|
'oauthAccounts': value.oauthAccounts === undefined ? undefined : (value.oauthAccounts.map(CreateUserOauthRequestToJSON)),
|
|
@@ -24,7 +24,6 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
24
|
'lastVerifiedCredentialId': json['last_verified_credential_id'],
|
|
25
25
|
'memberEnvironmentIds': !runtime.exists(json, 'member_environment_ids') ? undefined : json['member_environment_ids'],
|
|
26
26
|
'scope': !runtime.exists(json, 'scope') ? undefined : json['scope'],
|
|
27
|
-
'requestedScope': !runtime.exists(json, 'requestedScope') ? undefined : json['requestedScope'],
|
|
28
27
|
};
|
|
29
28
|
}
|
|
30
29
|
function MinifiedDynamicJwtToJSON(value) {
|
|
@@ -46,7 +45,6 @@ function MinifiedDynamicJwtToJSON(value) {
|
|
|
46
45
|
'last_verified_credential_id': value.lastVerifiedCredentialId,
|
|
47
46
|
'member_environment_ids': value.memberEnvironmentIds,
|
|
48
47
|
'scope': value.scope,
|
|
49
|
-
'requestedScope': value.requestedScope,
|
|
50
48
|
};
|
|
51
49
|
}
|
|
52
50
|
|
|
@@ -81,12 +81,6 @@ export interface MinifiedDynamicJwt {
|
|
|
81
81
|
* @memberof MinifiedDynamicJwt
|
|
82
82
|
*/
|
|
83
83
|
scope?: string;
|
|
84
|
-
/**
|
|
85
|
-
* A whitespace-separate list of permissions associated with the JWT token issued. This conforms to the JWT standard for scope claims: https://datatracker.ietf.org/doc/html/rfc8693#section-4.2
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof MinifiedDynamicJwt
|
|
88
|
-
*/
|
|
89
|
-
requestedScope?: string;
|
|
90
84
|
}
|
|
91
85
|
export declare function MinifiedDynamicJwtFromJSON(json: any): MinifiedDynamicJwt;
|
|
92
86
|
export declare function MinifiedDynamicJwtFromJSONTyped(json: any, ignoreDiscriminator: boolean): MinifiedDynamicJwt;
|
|
@@ -20,7 +20,6 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
20
|
'lastVerifiedCredentialId': json['last_verified_credential_id'],
|
|
21
21
|
'memberEnvironmentIds': !exists(json, 'member_environment_ids') ? undefined : json['member_environment_ids'],
|
|
22
22
|
'scope': !exists(json, 'scope') ? undefined : json['scope'],
|
|
23
|
-
'requestedScope': !exists(json, 'requestedScope') ? undefined : json['requestedScope'],
|
|
24
23
|
};
|
|
25
24
|
}
|
|
26
25
|
function MinifiedDynamicJwtToJSON(value) {
|
|
@@ -42,7 +41,6 @@ function MinifiedDynamicJwtToJSON(value) {
|
|
|
42
41
|
'last_verified_credential_id': value.lastVerifiedCredentialId,
|
|
43
42
|
'member_environment_ids': value.memberEnvironmentIds,
|
|
44
43
|
'scope': value.scope,
|
|
45
|
-
'requestedScope': value.requestedScope,
|
|
46
44
|
};
|
|
47
45
|
}
|
|
48
46
|
|