@dynamic-labs/sdk-api 0.0.342 → 0.0.343

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.342",
3
+ "version": "0.0.343",
4
4
  "author": "Dynamic Labs",
5
5
  "license": "Apache-2.0",
6
6
  "publishConfig": {
@@ -21,7 +21,7 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
21
21
  'exp': !runtime.exists(json, 'exp') ? undefined : json['exp'],
22
22
  'iat': !runtime.exists(json, 'iat') ? undefined : json['iat'],
23
23
  'environmentId': json['environment_id'],
24
- 'lastVerifiedCredentialId': !runtime.exists(json, 'last_verified_credential_id') ? undefined : json['last_verified_credential_id'],
24
+ 'lastVerifiedCredentialId': json['last_verified_credential_id'],
25
25
  'memberEnvironmentIds': !runtime.exists(json, 'member_environment_ids') ? undefined : json['member_environment_ids'],
26
26
  };
27
27
  }
@@ -68,7 +68,7 @@ export interface MinifiedDynamicJwt {
68
68
  * @type {string}
69
69
  * @memberof MinifiedDynamicJwt
70
70
  */
71
- lastVerifiedCredentialId?: string;
71
+ lastVerifiedCredentialId: string;
72
72
  /**
73
73
  * This will be populated when `environment_id` is the Dynamic production environment ID. This is a list of environment IDs that the subject user ID can make configuration and set up changes as as organization admin.
74
74
  * @type {Array<string>}
@@ -17,7 +17,7 @@ function MinifiedDynamicJwtFromJSONTyped(json, ignoreDiscriminator) {
17
17
  'exp': !exists(json, 'exp') ? undefined : json['exp'],
18
18
  'iat': !exists(json, 'iat') ? undefined : json['iat'],
19
19
  'environmentId': json['environment_id'],
20
- 'lastVerifiedCredentialId': !exists(json, 'last_verified_credential_id') ? undefined : json['last_verified_credential_id'],
20
+ 'lastVerifiedCredentialId': json['last_verified_credential_id'],
21
21
  'memberEnvironmentIds': !exists(json, 'member_environment_ids') ? undefined : json['member_environment_ids'],
22
22
  };
23
23
  }
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
6
  var JwtVerifiedCredential = require('./JwtVerifiedCredential.cjs');
7
+ var ProjectSettingsKyc = require('./ProjectSettingsKyc.cjs');
7
8
 
8
9
  /* tslint:disable */
9
10
  function SdkUserFromJSON(json) {
@@ -43,6 +44,7 @@ function SdkUserFromJSONTyped(json, ignoreDiscriminator) {
43
44
  'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
44
45
  'lists': !runtime.exists(json, 'lists') ? undefined : json['lists'],
45
46
  'scope': !runtime.exists(json, 'scope') ? undefined : json['scope'],
47
+ 'missingFields': !runtime.exists(json, 'missingFields') ? undefined : (json['missingFields'].map(ProjectSettingsKyc.ProjectSettingsKycFromJSON)),
46
48
  };
47
49
  }
48
50
  function SdkUserToJSON(value) {
@@ -82,6 +84,7 @@ function SdkUserToJSON(value) {
82
84
  'newsletterNotification': value.newsletterNotification,
83
85
  'lists': value.lists,
84
86
  'scope': value.scope,
87
+ 'missingFields': value.missingFields === undefined ? undefined : (value.missingFields.map(ProjectSettingsKyc.ProjectSettingsKycToJSON)),
85
88
  };
86
89
  }
87
90
 
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { JwtVerifiedCredential } from './JwtVerifiedCredential';
13
+ import { ProjectSettingsKyc } from './ProjectSettingsKyc';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -190,6 +191,12 @@ export interface SdkUser {
190
191
  * @memberof SdkUser
191
192
  */
192
193
  scope?: string;
194
+ /**
195
+ *
196
+ * @type {Array<ProjectSettingsKyc>}
197
+ * @memberof SdkUser
198
+ */
199
+ missingFields?: Array<ProjectSettingsKyc>;
193
200
  }
194
201
  export declare function SdkUserFromJSON(json: any): SdkUser;
195
202
  export declare function SdkUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): SdkUser;
@@ -1,5 +1,6 @@
1
1
  import { exists } from '../runtime.js';
2
2
  import { JwtVerifiedCredentialFromJSON, JwtVerifiedCredentialToJSON } from './JwtVerifiedCredential.js';
3
+ import { ProjectSettingsKycFromJSON, ProjectSettingsKycToJSON } from './ProjectSettingsKyc.js';
3
4
 
4
5
  /* tslint:disable */
5
6
  function SdkUserFromJSON(json) {
@@ -39,6 +40,7 @@ function SdkUserFromJSONTyped(json, ignoreDiscriminator) {
39
40
  'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
40
41
  'lists': !exists(json, 'lists') ? undefined : json['lists'],
41
42
  'scope': !exists(json, 'scope') ? undefined : json['scope'],
43
+ 'missingFields': !exists(json, 'missingFields') ? undefined : (json['missingFields'].map(ProjectSettingsKycFromJSON)),
42
44
  };
43
45
  }
44
46
  function SdkUserToJSON(value) {
@@ -78,6 +80,7 @@ function SdkUserToJSON(value) {
78
80
  'newsletterNotification': value.newsletterNotification,
79
81
  'lists': value.lists,
80
82
  'scope': value.scope,
83
+ 'missingFields': value.missingFields === undefined ? undefined : (value.missingFields.map(ProjectSettingsKycToJSON)),
81
84
  };
82
85
  }
83
86
 
@@ -7,6 +7,7 @@ var ChainEnum = require('./ChainEnum.cjs');
7
7
  var ChainalysisCheck = require('./ChainalysisCheck.cjs');
8
8
  var JwtVerifiedCredential = require('./JwtVerifiedCredential.cjs');
9
9
  var OAuthAccount = require('./OAuthAccount.cjs');
10
+ var ProjectSettingsKyc = require('./ProjectSettingsKyc.cjs');
10
11
  var Session = require('./Session.cjs');
11
12
  var Wallet = require('./Wallet.cjs');
12
13
 
@@ -48,6 +49,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
48
49
  'newsletterNotification': !runtime.exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
49
50
  'lists': !runtime.exists(json, 'lists') ? undefined : json['lists'],
50
51
  'scope': !runtime.exists(json, 'scope') ? undefined : json['scope'],
52
+ 'missingFields': !runtime.exists(json, 'missingFields') ? undefined : (json['missingFields'].map(ProjectSettingsKyc.ProjectSettingsKycFromJSON)),
51
53
  'walletPublicKey': !runtime.exists(json, 'walletPublicKey') ? undefined : json['walletPublicKey'],
52
54
  'wallet': !runtime.exists(json, 'wallet') ? undefined : json['wallet'],
53
55
  'chain': !runtime.exists(json, 'chain') ? undefined : ChainEnum.ChainEnumFromJSON(json['chain']),
@@ -96,6 +98,7 @@ function UserToJSON(value) {
96
98
  'newsletterNotification': value.newsletterNotification,
97
99
  'lists': value.lists,
98
100
  'scope': value.scope,
101
+ 'missingFields': value.missingFields === undefined ? undefined : (value.missingFields.map(ProjectSettingsKyc.ProjectSettingsKycToJSON)),
99
102
  'walletPublicKey': value.walletPublicKey,
100
103
  'wallet': value.wallet,
101
104
  'chain': ChainEnum.ChainEnumToJSON(value.chain),
@@ -13,6 +13,7 @@ import { ChainEnum } from './ChainEnum';
13
13
  import { ChainalysisCheck } from './ChainalysisCheck';
14
14
  import { JwtVerifiedCredential } from './JwtVerifiedCredential';
15
15
  import { OAuthAccount } from './OAuthAccount';
16
+ import { ProjectSettingsKyc } from './ProjectSettingsKyc';
16
17
  import { Session } from './Session';
17
18
  import { Wallet } from './Wallet';
18
19
  /**
@@ -195,6 +196,12 @@ export interface User {
195
196
  * @memberof User
196
197
  */
197
198
  scope?: string;
199
+ /**
200
+ *
201
+ * @type {Array<ProjectSettingsKyc>}
202
+ * @memberof User
203
+ */
204
+ missingFields?: Array<ProjectSettingsKyc>;
198
205
  /**
199
206
  *
200
207
  * @type {string}
@@ -3,6 +3,7 @@ import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
3
3
  import { ChainalysisCheckFromJSON, ChainalysisCheckToJSON } from './ChainalysisCheck.js';
4
4
  import { JwtVerifiedCredentialFromJSON, JwtVerifiedCredentialToJSON } from './JwtVerifiedCredential.js';
5
5
  import { OAuthAccountFromJSON, OAuthAccountToJSON } from './OAuthAccount.js';
6
+ import { ProjectSettingsKycFromJSON, ProjectSettingsKycToJSON } from './ProjectSettingsKyc.js';
6
7
  import { SessionFromJSON, SessionToJSON } from './Session.js';
7
8
  import { WalletFromJSON, WalletToJSON } from './Wallet.js';
8
9
 
@@ -44,6 +45,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
44
45
  'newsletterNotification': !exists(json, 'newsletterNotification') ? undefined : json['newsletterNotification'],
45
46
  'lists': !exists(json, 'lists') ? undefined : json['lists'],
46
47
  'scope': !exists(json, 'scope') ? undefined : json['scope'],
48
+ 'missingFields': !exists(json, 'missingFields') ? undefined : (json['missingFields'].map(ProjectSettingsKycFromJSON)),
47
49
  'walletPublicKey': !exists(json, 'walletPublicKey') ? undefined : json['walletPublicKey'],
48
50
  'wallet': !exists(json, 'wallet') ? undefined : json['wallet'],
49
51
  'chain': !exists(json, 'chain') ? undefined : ChainEnumFromJSON(json['chain']),
@@ -92,6 +94,7 @@ function UserToJSON(value) {
92
94
  'newsletterNotification': value.newsletterNotification,
93
95
  'lists': value.lists,
94
96
  'scope': value.scope,
97
+ 'missingFields': value.missingFields === undefined ? undefined : (value.missingFields.map(ProjectSettingsKycToJSON)),
95
98
  'walletPublicKey': value.walletPublicKey,
96
99
  'wallet': value.wallet,
97
100
  'chain': ChainEnumToJSON(value.chain),