@dynamic-labs/sdk-api 0.0.405 → 0.0.407

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 (68) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AllowlistsApi.cjs +2 -1
  3. package/src/apis/AllowlistsApi.js +2 -1
  4. package/src/apis/AnalyticsApi.cjs +2 -1
  5. package/src/apis/AnalyticsApi.js +2 -1
  6. package/src/apis/ChainalysisApi.cjs +2 -1
  7. package/src/apis/ChainalysisApi.js +2 -1
  8. package/src/apis/ChainsApi.cjs +2 -1
  9. package/src/apis/ChainsApi.js +2 -1
  10. package/src/apis/CustomFieldsApi.cjs +2 -1
  11. package/src/apis/CustomFieldsApi.js +2 -1
  12. package/src/apis/EnvironmentsApi.cjs +2 -1
  13. package/src/apis/EnvironmentsApi.js +2 -1
  14. package/src/apis/EventsApi.cjs +2 -1
  15. package/src/apis/EventsApi.js +2 -1
  16. package/src/apis/ExportsApi.cjs +2 -1
  17. package/src/apis/ExportsApi.js +2 -1
  18. package/src/apis/GatesApi.cjs +2 -1
  19. package/src/apis/GatesApi.js +2 -1
  20. package/src/apis/InvitesApi.cjs +2 -1
  21. package/src/apis/InvitesApi.js +2 -1
  22. package/src/apis/MembersApi.cjs +2 -1
  23. package/src/apis/MembersApi.js +2 -1
  24. package/src/apis/OrganizationsApi.cjs +2 -1
  25. package/src/apis/OrganizationsApi.js +2 -1
  26. package/src/apis/OriginsApi.cjs +2 -1
  27. package/src/apis/OriginsApi.js +2 -1
  28. package/src/apis/ProjectsApi.cjs +2 -1
  29. package/src/apis/ProjectsApi.js +2 -1
  30. package/src/apis/SDKApi.cjs +2 -1
  31. package/src/apis/SDKApi.js +2 -1
  32. package/src/apis/SDKViewsApi.cjs +2 -1
  33. package/src/apis/SDKViewsApi.js +2 -1
  34. package/src/apis/SessionsApi.cjs +2 -1
  35. package/src/apis/SessionsApi.js +2 -1
  36. package/src/apis/SettingsApi.cjs +2 -1
  37. package/src/apis/SettingsApi.js +2 -1
  38. package/src/apis/TokensApi.cjs +2 -1
  39. package/src/apis/TokensApi.js +2 -1
  40. package/src/apis/UsersApi.cjs +2 -1
  41. package/src/apis/UsersApi.js +2 -1
  42. package/src/apis/VisitsApi.cjs +2 -1
  43. package/src/apis/VisitsApi.js +2 -1
  44. package/src/apis/WalletsApi.cjs +2 -1
  45. package/src/apis/WalletsApi.js +2 -1
  46. package/src/apis/WebhooksApi.cjs +2 -1
  47. package/src/apis/WebhooksApi.js +2 -1
  48. package/src/index.cjs +8 -0
  49. package/src/index.js +1 -0
  50. package/src/models/Invite.cjs +3 -0
  51. package/src/models/Invite.d.ts +7 -0
  52. package/src/models/Invite.js +3 -0
  53. package/src/models/InviteSendRequest.cjs +3 -0
  54. package/src/models/InviteSendRequest.d.ts +7 -0
  55. package/src/models/InviteSendRequest.js +3 -0
  56. package/src/models/KycFieldType.cjs +40 -0
  57. package/src/models/KycFieldType.d.ts +23 -0
  58. package/src/models/KycFieldType.js +34 -0
  59. package/src/models/Organization.cjs +3 -0
  60. package/src/models/Organization.d.ts +7 -0
  61. package/src/models/Organization.js +3 -0
  62. package/src/models/OrganizationMember.cjs +3 -0
  63. package/src/models/OrganizationMember.d.ts +7 -0
  64. package/src/models/OrganizationMember.js +3 -0
  65. package/src/models/ProjectSettingsKyc.cjs +5 -12
  66. package/src/models/ProjectSettingsKyc.d.ts +7 -0
  67. package/src/models/ProjectSettingsKyc.js +5 -12
  68. package/src/models/index.d.ts +1 -0
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { RoleEnumFromJSON, RoleEnumToJSON } from './RoleEnum.js';
2
3
 
3
4
  /* tslint:disable */
4
5
  function InviteSendRequestFromJSON(json) {
@@ -13,6 +14,7 @@ function InviteSendRequestFromJSONTyped(json, ignoreDiscriminator) {
13
14
  'alias': !exists(json, 'alias') ? undefined : json['alias'],
14
15
  'email': !exists(json, 'email') ? undefined : json['email'],
15
16
  'phoneNumber': !exists(json, 'phoneNumber') ? undefined : json['phoneNumber'],
17
+ 'role': RoleEnumFromJSON(json['role']),
16
18
  };
17
19
  }
18
20
  function InviteSendRequestToJSON(value) {
@@ -27,6 +29,7 @@ function InviteSendRequestToJSON(value) {
27
29
  'alias': value.alias,
28
30
  'email': value.email,
29
31
  'phoneNumber': value.phoneNumber,
32
+ 'role': RoleEnumToJSON(value.role),
30
33
  };
31
34
  }
32
35
 
@@ -0,0 +1,40 @@
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
+ /**
19
+ *
20
+ * @export
21
+ * @enum {string}
22
+ */
23
+ exports.KycFieldType = void 0;
24
+ (function (KycFieldType) {
25
+ KycFieldType["Standard"] = "standard";
26
+ KycFieldType["Custom"] = "custom";
27
+ })(exports.KycFieldType || (exports.KycFieldType = {}));
28
+ function KycFieldTypeFromJSON(json) {
29
+ return KycFieldTypeFromJSONTyped(json);
30
+ }
31
+ function KycFieldTypeFromJSONTyped(json, ignoreDiscriminator) {
32
+ return json;
33
+ }
34
+ function KycFieldTypeToJSON(value) {
35
+ return value;
36
+ }
37
+
38
+ exports.KycFieldTypeFromJSON = KycFieldTypeFromJSON;
39
+ exports.KycFieldTypeFromJSONTyped = KycFieldTypeFromJSONTyped;
40
+ exports.KycFieldTypeToJSON = KycFieldTypeToJSON;
@@ -0,0 +1,23 @@
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
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum KycFieldType {
18
+ Standard = "standard",
19
+ Custom = "custom"
20
+ }
21
+ export declare function KycFieldTypeFromJSON(json: any): KycFieldType;
22
+ export declare function KycFieldTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): KycFieldType;
23
+ export declare function KycFieldTypeToJSON(value?: KycFieldType | null): any;
@@ -0,0 +1,34 @@
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
+ /**
15
+ *
16
+ * @export
17
+ * @enum {string}
18
+ */
19
+ var KycFieldType;
20
+ (function (KycFieldType) {
21
+ KycFieldType["Standard"] = "standard";
22
+ KycFieldType["Custom"] = "custom";
23
+ })(KycFieldType || (KycFieldType = {}));
24
+ function KycFieldTypeFromJSON(json) {
25
+ return KycFieldTypeFromJSONTyped(json);
26
+ }
27
+ function KycFieldTypeFromJSONTyped(json, ignoreDiscriminator) {
28
+ return json;
29
+ }
30
+ function KycFieldTypeToJSON(value) {
31
+ return value;
32
+ }
33
+
34
+ export { KycFieldType, KycFieldTypeFromJSON, KycFieldTypeFromJSONTyped, KycFieldTypeToJSON };
@@ -3,6 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
+ var RoleEnum = require('./RoleEnum.cjs');
6
7
 
7
8
  /* tslint:disable */
8
9
  function OrganizationFromJSON(json) {
@@ -17,6 +18,7 @@ function OrganizationFromJSONTyped(json, ignoreDiscriminator) {
17
18
  'name': json['name'],
18
19
  'description': !runtime.exists(json, 'description') ? undefined : json['description'],
19
20
  'websiteUrl': !runtime.exists(json, 'websiteUrl') ? undefined : json['websiteUrl'],
21
+ 'role': !runtime.exists(json, 'role') ? undefined : RoleEnum.RoleEnumFromJSON(json['role']),
20
22
  };
21
23
  }
22
24
  function OrganizationToJSON(value) {
@@ -31,6 +33,7 @@ function OrganizationToJSON(value) {
31
33
  'name': value.name,
32
34
  'description': value.description,
33
35
  'websiteUrl': value.websiteUrl,
36
+ 'role': RoleEnum.RoleEnumToJSON(value.role),
34
37
  };
35
38
  }
36
39
 
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { RoleEnum } from './RoleEnum';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -39,6 +40,12 @@ export interface Organization {
39
40
  * @memberof Organization
40
41
  */
41
42
  websiteUrl?: string;
43
+ /**
44
+ *
45
+ * @type {RoleEnum}
46
+ * @memberof Organization
47
+ */
48
+ role?: RoleEnum;
42
49
  }
43
50
  export declare function OrganizationFromJSON(json: any): Organization;
44
51
  export declare function OrganizationFromJSONTyped(json: any, ignoreDiscriminator: boolean): Organization;
@@ -1,4 +1,5 @@
1
1
  import { exists } from '../runtime.js';
2
+ import { RoleEnumFromJSON, RoleEnumToJSON } from './RoleEnum.js';
2
3
 
3
4
  /* tslint:disable */
4
5
  function OrganizationFromJSON(json) {
@@ -13,6 +14,7 @@ function OrganizationFromJSONTyped(json, ignoreDiscriminator) {
13
14
  'name': json['name'],
14
15
  'description': !exists(json, 'description') ? undefined : json['description'],
15
16
  'websiteUrl': !exists(json, 'websiteUrl') ? undefined : json['websiteUrl'],
17
+ 'role': !exists(json, 'role') ? undefined : RoleEnumFromJSON(json['role']),
16
18
  };
17
19
  }
18
20
  function OrganizationToJSON(value) {
@@ -27,6 +29,7 @@ function OrganizationToJSON(value) {
27
29
  'name': value.name,
28
30
  'description': value.description,
29
31
  'websiteUrl': value.websiteUrl,
32
+ 'role': RoleEnumToJSON(value.role),
30
33
  };
31
34
  }
32
35
 
@@ -2,6 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var RoleEnum = require('./RoleEnum.cjs');
5
6
  var User = require('./User.cjs');
6
7
 
7
8
  /* tslint:disable */
@@ -15,6 +16,7 @@ function OrganizationMemberFromJSONTyped(json, ignoreDiscriminator) {
15
16
  return {
16
17
  'id': json['id'],
17
18
  'user': User.UserFromJSON(json['user']),
19
+ 'role': RoleEnum.RoleEnumFromJSON(json['role']),
18
20
  };
19
21
  }
20
22
  function OrganizationMemberToJSON(value) {
@@ -27,6 +29,7 @@ function OrganizationMemberToJSON(value) {
27
29
  return {
28
30
  'id': value.id,
29
31
  'user': User.UserToJSON(value.user),
32
+ 'role': RoleEnum.RoleEnumToJSON(value.role),
30
33
  };
31
34
  }
32
35
 
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { RoleEnum } from './RoleEnum';
12
13
  import { User } from './User';
13
14
  /**
14
15
  *
@@ -28,6 +29,12 @@ export interface OrganizationMember {
28
29
  * @memberof OrganizationMember
29
30
  */
30
31
  user: User;
32
+ /**
33
+ *
34
+ * @type {RoleEnum}
35
+ * @memberof OrganizationMember
36
+ */
37
+ role: RoleEnum;
31
38
  }
32
39
  export declare function OrganizationMemberFromJSON(json: any): OrganizationMember;
33
40
  export declare function OrganizationMemberFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrganizationMember;
@@ -1,3 +1,4 @@
1
+ import { RoleEnumFromJSON, RoleEnumToJSON } from './RoleEnum.js';
1
2
  import { UserFromJSON, UserToJSON } from './User.js';
2
3
 
3
4
  /* tslint:disable */
@@ -11,6 +12,7 @@ function OrganizationMemberFromJSONTyped(json, ignoreDiscriminator) {
11
12
  return {
12
13
  'id': json['id'],
13
14
  'user': UserFromJSON(json['user']),
15
+ 'role': RoleEnumFromJSON(json['role']),
14
16
  };
15
17
  }
16
18
  function OrganizationMemberToJSON(value) {
@@ -23,6 +25,7 @@ function OrganizationMemberToJSON(value) {
23
25
  return {
24
26
  'id': value.id,
25
27
  'user': UserToJSON(value.user),
28
+ 'role': RoleEnumToJSON(value.role),
26
29
  };
27
30
  }
28
31
 
@@ -2,19 +2,10 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var runtime = require('../runtime.cjs');
6
+ var KycFieldType = require('./KycFieldType.cjs');
7
+
5
8
  /* 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
9
  function ProjectSettingsKycFromJSON(json) {
19
10
  return ProjectSettingsKycFromJSONTyped(json);
20
11
  }
@@ -28,6 +19,7 @@ function ProjectSettingsKycFromJSONTyped(json, ignoreDiscriminator) {
28
19
  'enabled': json['enabled'],
29
20
  'unique': json['unique'],
30
21
  'verify': json['verify'],
22
+ 'type': !runtime.exists(json, 'type') ? undefined : KycFieldType.KycFieldTypeFromJSON(json['type']),
31
23
  };
32
24
  }
33
25
  function ProjectSettingsKycToJSON(value) {
@@ -43,6 +35,7 @@ function ProjectSettingsKycToJSON(value) {
43
35
  'enabled': value.enabled,
44
36
  'unique': value.unique,
45
37
  'verify': value.verify,
38
+ 'type': KycFieldType.KycFieldTypeToJSON(value.type),
46
39
  };
47
40
  }
48
41
 
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { KycFieldType } from './KycFieldType';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -45,6 +46,12 @@ export interface ProjectSettingsKyc {
45
46
  * @memberof ProjectSettingsKyc
46
47
  */
47
48
  verify: boolean;
49
+ /**
50
+ *
51
+ * @type {KycFieldType}
52
+ * @memberof ProjectSettingsKyc
53
+ */
54
+ type?: KycFieldType;
48
55
  }
49
56
  export declare function ProjectSettingsKycFromJSON(json: any): ProjectSettingsKyc;
50
57
  export declare function ProjectSettingsKycFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsKyc;
@@ -1,16 +1,7 @@
1
+ import { exists } from '../runtime.js';
2
+ import { KycFieldTypeFromJSON, KycFieldTypeToJSON } from './KycFieldType.js';
3
+
1
4
  /* 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
5
  function ProjectSettingsKycFromJSON(json) {
15
6
  return ProjectSettingsKycFromJSONTyped(json);
16
7
  }
@@ -24,6 +15,7 @@ function ProjectSettingsKycFromJSONTyped(json, ignoreDiscriminator) {
24
15
  'enabled': json['enabled'],
25
16
  'unique': json['unique'],
26
17
  'verify': json['verify'],
18
+ 'type': !exists(json, 'type') ? undefined : KycFieldTypeFromJSON(json['type']),
27
19
  };
28
20
  }
29
21
  function ProjectSettingsKycToJSON(value) {
@@ -39,6 +31,7 @@ function ProjectSettingsKycToJSON(value) {
39
31
  'enabled': value.enabled,
40
32
  'unique': value.unique,
41
33
  'verify': value.verify,
34
+ 'type': KycFieldTypeToJSON(value.type),
42
35
  };
43
36
  }
44
37
 
@@ -112,6 +112,7 @@ export * from './JwtVerifiedCredential';
112
112
  export * from './JwtVerifiedCredentialFormatEnum';
113
113
  export * from './Key';
114
114
  export * from './KeyResponse';
115
+ export * from './KycFieldType';
115
116
  export * from './MFAAuthRecoveryDevicePostRequest';
116
117
  export * from './MFAAuthResponse';
117
118
  export * from './MFAAuthTotpDevicePostRequest';