@dynamic-labs/sdk-api-core 0.0.418 → 0.0.420

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.
Files changed (46) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +71 -0
  3. package/src/apis/SDKApi.d.ts +26 -1
  4. package/src/apis/SDKApi.js +71 -0
  5. package/src/index.cjs +32 -0
  6. package/src/index.js +7 -0
  7. package/src/models/CustomFieldType.cjs +41 -0
  8. package/src/models/CustomFieldType.d.ts +24 -0
  9. package/src/models/CustomFieldType.js +35 -0
  10. package/src/models/CustomFieldValidValue.cjs +35 -0
  11. package/src/models/CustomFieldValidValue.d.ts +33 -0
  12. package/src/models/CustomFieldValidValue.js +29 -0
  13. package/src/models/CustomFieldValidationRules.cjs +38 -0
  14. package/src/models/CustomFieldValidationRules.d.ts +40 -0
  15. package/src/models/CustomFieldValidationRules.js +32 -0
  16. package/src/models/DynamicJwt.cjs +0 -2
  17. package/src/models/DynamicJwt.d.ts +0 -6
  18. package/src/models/DynamicJwt.js +0 -2
  19. package/src/models/MergeUser.cjs +45 -0
  20. package/src/models/MergeUser.d.ts +33 -0
  21. package/src/models/MergeUser.js +39 -0
  22. package/src/models/MergeUserConflict.cjs +38 -0
  23. package/src/models/MergeUserConflict.d.ts +41 -0
  24. package/src/models/MergeUserConflict.js +32 -0
  25. package/src/models/MergeUserConflictResolution.cjs +45 -0
  26. package/src/models/MergeUserConflictResolution.d.ts +33 -0
  27. package/src/models/MergeUserConflictResolution.js +39 -0
  28. package/src/models/MergeUserConflictResolutions.cjs +34 -0
  29. package/src/models/MergeUserConflictResolutions.d.ts +28 -0
  30. package/src/models/MergeUserConflictResolutions.js +28 -0
  31. package/src/models/MinifiedDynamicJwt.cjs +0 -2
  32. package/src/models/MinifiedDynamicJwt.d.ts +0 -6
  33. package/src/models/MinifiedDynamicJwt.js +0 -2
  34. package/src/models/ProjectSettings.cjs +2 -0
  35. package/src/models/ProjectSettings.d.ts +6 -0
  36. package/src/models/ProjectSettings.js +2 -0
  37. package/src/models/ProjectSettingsKyc.cjs +6 -0
  38. package/src/models/ProjectSettingsKyc.d.ts +14 -0
  39. package/src/models/ProjectSettingsKyc.js +6 -0
  40. package/src/models/UnprocessableEntityErrorCode.cjs +1 -0
  41. package/src/models/UnprocessableEntityErrorCode.d.ts +2 -1
  42. package/src/models/UnprocessableEntityErrorCode.js +1 -0
  43. package/src/models/UnprocessableEntityErrorPayload.cjs +3 -0
  44. package/src/models/UnprocessableEntityErrorPayload.d.ts +7 -0
  45. package/src/models/UnprocessableEntityErrorPayload.js +3 -0
  46. package/src/models/index.d.ts +7 -0
@@ -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}
@@ -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,
@@ -0,0 +1,45 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ function MergeUserFromJSON(json) {
19
+ return MergeUserFromJSONTyped(json);
20
+ }
21
+ function MergeUserFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'userId': json['userId'],
27
+ 'value': json['value'],
28
+ };
29
+ }
30
+ function MergeUserToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'userId': value.userId,
39
+ 'value': value.value,
40
+ };
41
+ }
42
+
43
+ exports.MergeUserFromJSON = MergeUserFromJSON;
44
+ exports.MergeUserFromJSONTyped = MergeUserFromJSONTyped;
45
+ exports.MergeUserToJSON = MergeUserToJSON;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Contains the current field value for the user.
14
+ * @export
15
+ * @interface MergeUser
16
+ */
17
+ export interface MergeUser {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof MergeUser
22
+ */
23
+ userId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof MergeUser
28
+ */
29
+ value: string;
30
+ }
31
+ export declare function MergeUserFromJSON(json: any): MergeUser;
32
+ export declare function MergeUserFromJSONTyped(json: any, ignoreDiscriminator: boolean): MergeUser;
33
+ export declare function MergeUserToJSON(value?: MergeUser | null): any;
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ function MergeUserFromJSON(json) {
15
+ return MergeUserFromJSONTyped(json);
16
+ }
17
+ function MergeUserFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'userId': json['userId'],
23
+ 'value': json['value'],
24
+ };
25
+ }
26
+ function MergeUserToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'userId': value.userId,
35
+ 'value': value.value,
36
+ };
37
+ }
38
+
39
+ export { MergeUserFromJSON, MergeUserFromJSONTyped, MergeUserToJSON };
@@ -0,0 +1,38 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var MergeUser = require('./MergeUser.cjs');
6
+ var ProjectSettingsKyc = require('./ProjectSettingsKyc.cjs');
7
+
8
+ /* tslint:disable */
9
+ function MergeUserConflictFromJSON(json) {
10
+ return MergeUserConflictFromJSONTyped(json);
11
+ }
12
+ function MergeUserConflictFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'field': ProjectSettingsKyc.ProjectSettingsKycFromJSON(json['field']),
18
+ 'fromUser': MergeUser.MergeUserFromJSON(json['fromUser']),
19
+ 'currentUser': MergeUser.MergeUserFromJSON(json['currentUser']),
20
+ };
21
+ }
22
+ function MergeUserConflictToJSON(value) {
23
+ if (value === undefined) {
24
+ return undefined;
25
+ }
26
+ if (value === null) {
27
+ return null;
28
+ }
29
+ return {
30
+ 'field': ProjectSettingsKyc.ProjectSettingsKycToJSON(value.field),
31
+ 'fromUser': MergeUser.MergeUserToJSON(value.fromUser),
32
+ 'currentUser': MergeUser.MergeUserToJSON(value.currentUser),
33
+ };
34
+ }
35
+
36
+ exports.MergeUserConflictFromJSON = MergeUserConflictFromJSON;
37
+ exports.MergeUserConflictFromJSONTyped = MergeUserConflictFromJSONTyped;
38
+ exports.MergeUserConflictToJSON = MergeUserConflictToJSON;
@@ -0,0 +1,41 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { MergeUser } from './MergeUser';
13
+ import { ProjectSettingsKyc } from './ProjectSettingsKyc';
14
+ /**
15
+ * Contains a merge conflict between two users with different values for the same user field data
16
+ * @export
17
+ * @interface MergeUserConflict
18
+ */
19
+ export interface MergeUserConflict {
20
+ /**
21
+ *
22
+ * @type {ProjectSettingsKyc}
23
+ * @memberof MergeUserConflict
24
+ */
25
+ field: ProjectSettingsKyc;
26
+ /**
27
+ *
28
+ * @type {MergeUser}
29
+ * @memberof MergeUserConflict
30
+ */
31
+ fromUser: MergeUser;
32
+ /**
33
+ *
34
+ * @type {MergeUser}
35
+ * @memberof MergeUserConflict
36
+ */
37
+ currentUser: MergeUser;
38
+ }
39
+ export declare function MergeUserConflictFromJSON(json: any): MergeUserConflict;
40
+ export declare function MergeUserConflictFromJSONTyped(json: any, ignoreDiscriminator: boolean): MergeUserConflict;
41
+ export declare function MergeUserConflictToJSON(value?: MergeUserConflict | null): any;
@@ -0,0 +1,32 @@
1
+ import { MergeUserFromJSON, MergeUserToJSON } from './MergeUser.js';
2
+ import { ProjectSettingsKycFromJSON, ProjectSettingsKycToJSON } from './ProjectSettingsKyc.js';
3
+
4
+ /* tslint:disable */
5
+ function MergeUserConflictFromJSON(json) {
6
+ return MergeUserConflictFromJSONTyped(json);
7
+ }
8
+ function MergeUserConflictFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'field': ProjectSettingsKycFromJSON(json['field']),
14
+ 'fromUser': MergeUserFromJSON(json['fromUser']),
15
+ 'currentUser': MergeUserFromJSON(json['currentUser']),
16
+ };
17
+ }
18
+ function MergeUserConflictToJSON(value) {
19
+ if (value === undefined) {
20
+ return undefined;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ 'field': ProjectSettingsKycToJSON(value.field),
27
+ 'fromUser': MergeUserToJSON(value.fromUser),
28
+ 'currentUser': MergeUserToJSON(value.currentUser),
29
+ };
30
+ }
31
+
32
+ export { MergeUserConflictFromJSON, MergeUserConflictFromJSONTyped, MergeUserConflictToJSON };
@@ -0,0 +1,45 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ /**
8
+ * Dashboard API
9
+ * Dashboard API documentation
10
+ *
11
+ * The version of the OpenAPI document: 1.0.0
12
+ *
13
+ *
14
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
+ * https://openapi-generator.tech
16
+ * Do not edit the class manually.
17
+ */
18
+ function MergeUserConflictResolutionFromJSON(json) {
19
+ return MergeUserConflictResolutionFromJSONTyped(json);
20
+ }
21
+ function MergeUserConflictResolutionFromJSONTyped(json, ignoreDiscriminator) {
22
+ if ((json === undefined) || (json === null)) {
23
+ return json;
24
+ }
25
+ return {
26
+ 'userId': json['userId'],
27
+ 'fieldKey': json['fieldKey'],
28
+ };
29
+ }
30
+ function MergeUserConflictResolutionToJSON(value) {
31
+ if (value === undefined) {
32
+ return undefined;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ 'userId': value.userId,
39
+ 'fieldKey': value.fieldKey,
40
+ };
41
+ }
42
+
43
+ exports.MergeUserConflictResolutionFromJSON = MergeUserConflictResolutionFromJSON;
44
+ exports.MergeUserConflictResolutionFromJSONTyped = MergeUserConflictResolutionFromJSONTyped;
45
+ exports.MergeUserConflictResolutionToJSON = MergeUserConflictResolutionToJSON;
@@ -0,0 +1,33 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * Contains the field key and the userId for whose information we need to keep
14
+ * @export
15
+ * @interface MergeUserConflictResolution
16
+ */
17
+ export interface MergeUserConflictResolution {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof MergeUserConflictResolution
22
+ */
23
+ userId: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof MergeUserConflictResolution
28
+ */
29
+ fieldKey: string;
30
+ }
31
+ export declare function MergeUserConflictResolutionFromJSON(json: any): MergeUserConflictResolution;
32
+ export declare function MergeUserConflictResolutionFromJSONTyped(json: any, ignoreDiscriminator: boolean): MergeUserConflictResolution;
33
+ export declare function MergeUserConflictResolutionToJSON(value?: MergeUserConflictResolution | null): any;
@@ -0,0 +1,39 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Dashboard API
5
+ * Dashboard API documentation
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ function MergeUserConflictResolutionFromJSON(json) {
15
+ return MergeUserConflictResolutionFromJSONTyped(json);
16
+ }
17
+ function MergeUserConflictResolutionFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'userId': json['userId'],
23
+ 'fieldKey': json['fieldKey'],
24
+ };
25
+ }
26
+ function MergeUserConflictResolutionToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'userId': value.userId,
35
+ 'fieldKey': value.fieldKey,
36
+ };
37
+ }
38
+
39
+ export { MergeUserConflictResolutionFromJSON, MergeUserConflictResolutionFromJSONTyped, MergeUserConflictResolutionToJSON };
@@ -0,0 +1,34 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var MergeUserConflictResolution = require('./MergeUserConflictResolution.cjs');
7
+
8
+ /* tslint:disable */
9
+ function MergeUserConflictResolutionsFromJSON(json) {
10
+ return MergeUserConflictResolutionsFromJSONTyped(json);
11
+ }
12
+ function MergeUserConflictResolutionsFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'mergeUserResolutions': !runtime.exists(json, 'mergeUserResolutions') ? undefined : (json['mergeUserResolutions'].map(MergeUserConflictResolution.MergeUserConflictResolutionFromJSON)),
18
+ };
19
+ }
20
+ function MergeUserConflictResolutionsToJSON(value) {
21
+ if (value === undefined) {
22
+ return undefined;
23
+ }
24
+ if (value === null) {
25
+ return null;
26
+ }
27
+ return {
28
+ 'mergeUserResolutions': value.mergeUserResolutions === undefined ? undefined : (value.mergeUserResolutions.map(MergeUserConflictResolution.MergeUserConflictResolutionToJSON)),
29
+ };
30
+ }
31
+
32
+ exports.MergeUserConflictResolutionsFromJSON = MergeUserConflictResolutionsFromJSON;
33
+ exports.MergeUserConflictResolutionsFromJSONTyped = MergeUserConflictResolutionsFromJSONTyped;
34
+ exports.MergeUserConflictResolutionsToJSON = MergeUserConflictResolutionsToJSON;
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Dashboard API
3
+ * Dashboard API documentation
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { MergeUserConflictResolution } from './MergeUserConflictResolution';
13
+ /**
14
+ * Contains the resolutions for merging two users
15
+ * @export
16
+ * @interface MergeUserConflictResolutions
17
+ */
18
+ export interface MergeUserConflictResolutions {
19
+ /**
20
+ *
21
+ * @type {Array<MergeUserConflictResolution>}
22
+ * @memberof MergeUserConflictResolutions
23
+ */
24
+ mergeUserResolutions?: Array<MergeUserConflictResolution>;
25
+ }
26
+ export declare function MergeUserConflictResolutionsFromJSON(json: any): MergeUserConflictResolutions;
27
+ export declare function MergeUserConflictResolutionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MergeUserConflictResolutions;
28
+ export declare function MergeUserConflictResolutionsToJSON(value?: MergeUserConflictResolutions | null): any;
@@ -0,0 +1,28 @@
1
+ import { exists } from '../runtime.js';
2
+ import { MergeUserConflictResolutionFromJSON, MergeUserConflictResolutionToJSON } from './MergeUserConflictResolution.js';
3
+
4
+ /* tslint:disable */
5
+ function MergeUserConflictResolutionsFromJSON(json) {
6
+ return MergeUserConflictResolutionsFromJSONTyped(json);
7
+ }
8
+ function MergeUserConflictResolutionsFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'mergeUserResolutions': !exists(json, 'mergeUserResolutions') ? undefined : (json['mergeUserResolutions'].map(MergeUserConflictResolutionFromJSON)),
14
+ };
15
+ }
16
+ function MergeUserConflictResolutionsToJSON(value) {
17
+ if (value === undefined) {
18
+ return undefined;
19
+ }
20
+ if (value === null) {
21
+ return null;
22
+ }
23
+ return {
24
+ 'mergeUserResolutions': value.mergeUserResolutions === undefined ? undefined : (value.mergeUserResolutions.map(MergeUserConflictResolutionToJSON)),
25
+ };
26
+ }
27
+
28
+ export { MergeUserConflictResolutionsFromJSON, MergeUserConflictResolutionsFromJSONTyped, MergeUserConflictResolutionsToJSON };
@@ -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
 
@@ -25,6 +25,7 @@ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
25
25
  return {
26
26
  'environmentName': !runtime.exists(json, 'environmentName') ? undefined : EnvironmentEnum.EnvironmentEnumFromJSON(json['environmentName']),
27
27
  'chains': (json['chains'].map(ProjectSettingsChains.ProjectSettingsChainsFromJSON)),
28
+ 'customFields': !runtime.exists(json, 'customFields') ? undefined : (json['customFields'].map(ProjectSettingsKyc.ProjectSettingsKycFromJSON)),
28
29
  'kyc': (json['kyc'].map(ProjectSettingsKyc.ProjectSettingsKycFromJSON)),
29
30
  'design': ProjectSettingsDesign.ProjectSettingsDesignFromJSON(json['design']),
30
31
  'general': ProjectSettingsGeneral.ProjectSettingsGeneralFromJSON(json['general']),
@@ -45,6 +46,7 @@ function ProjectSettingsToJSON(value) {
45
46
  return {
46
47
  'environmentName': EnvironmentEnum.EnvironmentEnumToJSON(value.environmentName),
47
48
  'chains': (value.chains.map(ProjectSettingsChains.ProjectSettingsChainsToJSON)),
49
+ 'customFields': value.customFields === undefined ? undefined : (value.customFields.map(ProjectSettingsKyc.ProjectSettingsKycToJSON)),
48
50
  'kyc': (value.kyc.map(ProjectSettingsKyc.ProjectSettingsKycToJSON)),
49
51
  'design': ProjectSettingsDesign.ProjectSettingsDesignToJSON(value.design),
50
52
  'general': ProjectSettingsGeneral.ProjectSettingsGeneralToJSON(value.general),
@@ -37,6 +37,12 @@ export interface ProjectSettings {
37
37
  * @memberof ProjectSettings
38
38
  */
39
39
  chains: Array<ProjectSettingsChains>;
40
+ /**
41
+ *
42
+ * @type {Array<ProjectSettingsKyc>}
43
+ * @memberof ProjectSettings
44
+ */
45
+ customFields?: Array<ProjectSettingsKyc>;
40
46
  /**
41
47
  *
42
48
  * @type {Array<ProjectSettingsKyc>}
@@ -21,6 +21,7 @@ function ProjectSettingsFromJSONTyped(json, ignoreDiscriminator) {
21
21
  return {
22
22
  'environmentName': !exists(json, 'environmentName') ? undefined : EnvironmentEnumFromJSON(json['environmentName']),
23
23
  'chains': (json['chains'].map(ProjectSettingsChainsFromJSON)),
24
+ 'customFields': !exists(json, 'customFields') ? undefined : (json['customFields'].map(ProjectSettingsKycFromJSON)),
24
25
  'kyc': (json['kyc'].map(ProjectSettingsKycFromJSON)),
25
26
  'design': ProjectSettingsDesignFromJSON(json['design']),
26
27
  'general': ProjectSettingsGeneralFromJSON(json['general']),
@@ -41,6 +42,7 @@ function ProjectSettingsToJSON(value) {
41
42
  return {
42
43
  'environmentName': EnvironmentEnumToJSON(value.environmentName),
43
44
  'chains': (value.chains.map(ProjectSettingsChainsToJSON)),
45
+ 'customFields': value.customFields === undefined ? undefined : (value.customFields.map(ProjectSettingsKycToJSON)),
44
46
  'kyc': (value.kyc.map(ProjectSettingsKycToJSON)),
45
47
  'design': ProjectSettingsDesignToJSON(value.design),
46
48
  'general': ProjectSettingsGeneralToJSON(value.general),
@@ -3,6 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var CustomFieldType = require('./CustomFieldType.cjs');
7
+ var CustomFieldValidationRules = require('./CustomFieldValidationRules.cjs');
6
8
  var KycFieldType = require('./KycFieldType.cjs');
7
9
 
8
10
  /* tslint:disable */
@@ -20,6 +22,8 @@ function ProjectSettingsKycFromJSONTyped(json, ignoreDiscriminator) {
20
22
  'unique': json['unique'],
21
23
  'verify': json['verify'],
22
24
  'type': !runtime.exists(json, 'type') ? undefined : KycFieldType.KycFieldTypeFromJSON(json['type']),
25
+ 'validationRules': !runtime.exists(json, 'validationRules') ? undefined : CustomFieldValidationRules.CustomFieldValidationRulesFromJSON(json['validationRules']),
26
+ 'validationType': !runtime.exists(json, 'validationType') ? undefined : CustomFieldType.CustomFieldTypeFromJSON(json['validationType']),
23
27
  };
24
28
  }
25
29
  function ProjectSettingsKycToJSON(value) {
@@ -36,6 +40,8 @@ function ProjectSettingsKycToJSON(value) {
36
40
  'unique': value.unique,
37
41
  'verify': value.verify,
38
42
  'type': KycFieldType.KycFieldTypeToJSON(value.type),
43
+ 'validationRules': CustomFieldValidationRules.CustomFieldValidationRulesToJSON(value.validationRules),
44
+ 'validationType': CustomFieldType.CustomFieldTypeToJSON(value.validationType),
39
45
  };
40
46
  }
41
47
 
@@ -9,6 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { CustomFieldType } from './CustomFieldType';
13
+ import { CustomFieldValidationRules } from './CustomFieldValidationRules';
12
14
  import { KycFieldType } from './KycFieldType';
13
15
  /**
14
16
  *
@@ -52,6 +54,18 @@ export interface ProjectSettingsKyc {
52
54
  * @memberof ProjectSettingsKyc
53
55
  */
54
56
  type?: KycFieldType;
57
+ /**
58
+ *
59
+ * @type {CustomFieldValidationRules}
60
+ * @memberof ProjectSettingsKyc
61
+ */
62
+ validationRules?: CustomFieldValidationRules;
63
+ /**
64
+ *
65
+ * @type {CustomFieldType}
66
+ * @memberof ProjectSettingsKyc
67
+ */
68
+ validationType?: CustomFieldType;
55
69
  }
56
70
  export declare function ProjectSettingsKycFromJSON(json: any): ProjectSettingsKyc;
57
71
  export declare function ProjectSettingsKycFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsKyc;