@dynamic-labs/sdk-api 0.0.381 → 0.0.382

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 (64) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AllowlistsApi.cjs +1 -0
  3. package/src/apis/AllowlistsApi.js +1 -0
  4. package/src/apis/AnalyticsApi.cjs +1 -0
  5. package/src/apis/AnalyticsApi.js +1 -0
  6. package/src/apis/ChainalysisApi.cjs +1 -0
  7. package/src/apis/ChainalysisApi.js +1 -0
  8. package/src/apis/ChainsApi.cjs +1 -0
  9. package/src/apis/ChainsApi.js +1 -0
  10. package/src/apis/CustomFieldsApi.cjs +242 -0
  11. package/src/apis/CustomFieldsApi.d.ts +75 -0
  12. package/src/apis/CustomFieldsApi.js +238 -0
  13. package/src/apis/EnvironmentsApi.cjs +1 -0
  14. package/src/apis/EnvironmentsApi.js +1 -0
  15. package/src/apis/EventsApi.cjs +1 -0
  16. package/src/apis/EventsApi.js +1 -0
  17. package/src/apis/ExportsApi.cjs +1 -0
  18. package/src/apis/ExportsApi.js +1 -0
  19. package/src/apis/GatesApi.cjs +1 -0
  20. package/src/apis/GatesApi.js +1 -0
  21. package/src/apis/InvitesApi.cjs +1 -0
  22. package/src/apis/InvitesApi.js +1 -0
  23. package/src/apis/MembersApi.cjs +1 -0
  24. package/src/apis/MembersApi.js +1 -0
  25. package/src/apis/OrganizationsApi.cjs +1 -0
  26. package/src/apis/OrganizationsApi.js +1 -0
  27. package/src/apis/OriginsApi.cjs +1 -0
  28. package/src/apis/OriginsApi.js +1 -0
  29. package/src/apis/ProjectsApi.cjs +1 -0
  30. package/src/apis/ProjectsApi.js +1 -0
  31. package/src/apis/SDKApi.cjs +1 -0
  32. package/src/apis/SDKApi.js +1 -0
  33. package/src/apis/SDKViewsApi.cjs +1 -0
  34. package/src/apis/SDKViewsApi.js +1 -0
  35. package/src/apis/SessionsApi.cjs +1 -0
  36. package/src/apis/SessionsApi.js +1 -0
  37. package/src/apis/SettingsApi.cjs +1 -0
  38. package/src/apis/SettingsApi.js +1 -0
  39. package/src/apis/TokensApi.cjs +1 -0
  40. package/src/apis/TokensApi.js +1 -0
  41. package/src/apis/UsersApi.cjs +1 -0
  42. package/src/apis/UsersApi.js +1 -0
  43. package/src/apis/VisitsApi.cjs +1 -0
  44. package/src/apis/VisitsApi.js +1 -0
  45. package/src/apis/WalletsApi.cjs +1 -0
  46. package/src/apis/WalletsApi.js +1 -0
  47. package/src/apis/WebhooksApi.cjs +1 -0
  48. package/src/apis/WebhooksApi.js +1 -0
  49. package/src/apis/index.d.ts +1 -0
  50. package/src/index.cjs +22 -0
  51. package/src/index.js +5 -0
  52. package/src/models/CustomField.cjs +47 -0
  53. package/src/models/CustomField.d.ts +65 -0
  54. package/src/models/CustomField.js +41 -0
  55. package/src/models/CustomFieldRequest.cjs +43 -0
  56. package/src/models/CustomFieldRequest.d.ts +53 -0
  57. package/src/models/CustomFieldRequest.js +37 -0
  58. package/src/models/CustomFieldType.cjs +41 -0
  59. package/src/models/CustomFieldType.d.ts +24 -0
  60. package/src/models/CustomFieldType.js +35 -0
  61. package/src/models/CustomFieldValidationRules.cjs +37 -0
  62. package/src/models/CustomFieldValidationRules.d.ts +39 -0
  63. package/src/models/CustomFieldValidationRules.js +31 -0
  64. package/src/models/index.d.ts +4 -0
@@ -0,0 +1,53 @@
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 { CustomFieldType } from './CustomFieldType';
13
+ import { CustomFieldValidationRules } from './CustomFieldValidationRules';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CustomFieldRequest
18
+ */
19
+ export interface CustomFieldRequest {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof CustomFieldRequest
24
+ */
25
+ name: string;
26
+ /**
27
+ *
28
+ * @type {boolean}
29
+ * @memberof CustomFieldRequest
30
+ */
31
+ enabled: boolean;
32
+ /**
33
+ *
34
+ * @type {boolean}
35
+ * @memberof CustomFieldRequest
36
+ */
37
+ required: boolean;
38
+ /**
39
+ *
40
+ * @type {CustomFieldType}
41
+ * @memberof CustomFieldRequest
42
+ */
43
+ fieldType: CustomFieldType;
44
+ /**
45
+ *
46
+ * @type {CustomFieldValidationRules}
47
+ * @memberof CustomFieldRequest
48
+ */
49
+ validationRules?: CustomFieldValidationRules;
50
+ }
51
+ export declare function CustomFieldRequestFromJSON(json: any): CustomFieldRequest;
52
+ export declare function CustomFieldRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomFieldRequest;
53
+ export declare function CustomFieldRequestToJSON(value?: CustomFieldRequest | null): any;
@@ -0,0 +1,37 @@
1
+ import { exists } from '../runtime.js';
2
+ import { CustomFieldTypeFromJSON, CustomFieldTypeToJSON } from './CustomFieldType.js';
3
+ import { CustomFieldValidationRulesFromJSON, CustomFieldValidationRulesToJSON } from './CustomFieldValidationRules.js';
4
+
5
+ /* tslint:disable */
6
+ function CustomFieldRequestFromJSON(json) {
7
+ return CustomFieldRequestFromJSONTyped(json);
8
+ }
9
+ function CustomFieldRequestFromJSONTyped(json, ignoreDiscriminator) {
10
+ if ((json === undefined) || (json === null)) {
11
+ return json;
12
+ }
13
+ return {
14
+ 'name': json['name'],
15
+ 'enabled': json['enabled'],
16
+ 'required': json['required'],
17
+ 'fieldType': CustomFieldTypeFromJSON(json['fieldType']),
18
+ 'validationRules': !exists(json, 'validationRules') ? undefined : CustomFieldValidationRulesFromJSON(json['validationRules']),
19
+ };
20
+ }
21
+ function CustomFieldRequestToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'name': value.name,
30
+ 'enabled': value.enabled,
31
+ 'required': value.required,
32
+ 'fieldType': CustomFieldTypeToJSON(value.fieldType),
33
+ 'validationRules': CustomFieldValidationRulesToJSON(value.validationRules),
34
+ };
35
+ }
36
+
37
+ export { CustomFieldRequestFromJSON, CustomFieldRequestFromJSONTyped, CustomFieldRequestToJSON };
@@ -0,0 +1,41 @@
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.CustomFieldType = void 0;
24
+ (function (CustomFieldType) {
25
+ CustomFieldType["Text"] = "text";
26
+ CustomFieldType["Checkbox"] = "checkbox";
27
+ CustomFieldType["Select"] = "select";
28
+ })(exports.CustomFieldType || (exports.CustomFieldType = {}));
29
+ function CustomFieldTypeFromJSON(json) {
30
+ return CustomFieldTypeFromJSONTyped(json);
31
+ }
32
+ function CustomFieldTypeFromJSONTyped(json, ignoreDiscriminator) {
33
+ return json;
34
+ }
35
+ function CustomFieldTypeToJSON(value) {
36
+ return value;
37
+ }
38
+
39
+ exports.CustomFieldTypeFromJSON = CustomFieldTypeFromJSON;
40
+ exports.CustomFieldTypeFromJSONTyped = CustomFieldTypeFromJSONTyped;
41
+ exports.CustomFieldTypeToJSON = CustomFieldTypeToJSON;
@@ -0,0 +1,24 @@
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 CustomFieldType {
18
+ Text = "text",
19
+ Checkbox = "checkbox",
20
+ Select = "select"
21
+ }
22
+ export declare function CustomFieldTypeFromJSON(json: any): CustomFieldType;
23
+ export declare function CustomFieldTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomFieldType;
24
+ export declare function CustomFieldTypeToJSON(value?: CustomFieldType | null): any;
@@ -0,0 +1,35 @@
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 CustomFieldType;
20
+ (function (CustomFieldType) {
21
+ CustomFieldType["Text"] = "text";
22
+ CustomFieldType["Checkbox"] = "checkbox";
23
+ CustomFieldType["Select"] = "select";
24
+ })(CustomFieldType || (CustomFieldType = {}));
25
+ function CustomFieldTypeFromJSON(json) {
26
+ return CustomFieldTypeFromJSONTyped(json);
27
+ }
28
+ function CustomFieldTypeFromJSONTyped(json, ignoreDiscriminator) {
29
+ return json;
30
+ }
31
+ function CustomFieldTypeToJSON(value) {
32
+ return value;
33
+ }
34
+
35
+ export { CustomFieldType, CustomFieldTypeFromJSON, CustomFieldTypeFromJSONTyped, CustomFieldTypeToJSON };
@@ -0,0 +1,37 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function CustomFieldValidationRulesFromJSON(json) {
9
+ return CustomFieldValidationRulesFromJSONTyped(json);
10
+ }
11
+ function CustomFieldValidationRulesFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'unique': !runtime.exists(json, 'unique') ? undefined : json['unique'],
17
+ 'regex': !runtime.exists(json, 'regex') ? undefined : json['regex'],
18
+ 'validOptions': !runtime.exists(json, 'validOptions') ? undefined : json['validOptions'],
19
+ };
20
+ }
21
+ function CustomFieldValidationRulesToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'unique': value.unique,
30
+ 'regex': value.regex,
31
+ 'validOptions': value.validOptions,
32
+ };
33
+ }
34
+
35
+ exports.CustomFieldValidationRulesFromJSON = CustomFieldValidationRulesFromJSON;
36
+ exports.CustomFieldValidationRulesFromJSONTyped = CustomFieldValidationRulesFromJSONTyped;
37
+ exports.CustomFieldValidationRulesToJSON = CustomFieldValidationRulesToJSON;
@@ -0,0 +1,39 @@
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
+ * Optional validation rules for the custom field
14
+ * @export
15
+ * @interface CustomFieldValidationRules
16
+ */
17
+ export interface CustomFieldValidationRules {
18
+ /**
19
+ * if this field must be unique for every user in the environment
20
+ * @type {boolean}
21
+ * @memberof CustomFieldValidationRules
22
+ */
23
+ unique?: boolean;
24
+ /**
25
+ * must follow a certain regex
26
+ * @type {string}
27
+ * @memberof CustomFieldValidationRules
28
+ */
29
+ regex?: string;
30
+ /**
31
+ * must go with one of the valid selection choices
32
+ * @type {Array<string>}
33
+ * @memberof CustomFieldValidationRules
34
+ */
35
+ validOptions?: Array<string>;
36
+ }
37
+ export declare function CustomFieldValidationRulesFromJSON(json: any): CustomFieldValidationRules;
38
+ export declare function CustomFieldValidationRulesFromJSONTyped(json: any, ignoreDiscriminator: boolean): CustomFieldValidationRules;
39
+ export declare function CustomFieldValidationRulesToJSON(value?: CustomFieldValidationRules | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function CustomFieldValidationRulesFromJSON(json) {
5
+ return CustomFieldValidationRulesFromJSONTyped(json);
6
+ }
7
+ function CustomFieldValidationRulesFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'unique': !exists(json, 'unique') ? undefined : json['unique'],
13
+ 'regex': !exists(json, 'regex') ? undefined : json['regex'],
14
+ 'validOptions': !exists(json, 'validOptions') ? undefined : json['validOptions'],
15
+ };
16
+ }
17
+ function CustomFieldValidationRulesToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'unique': value.unique,
26
+ 'regex': value.regex,
27
+ 'validOptions': value.validOptions,
28
+ };
29
+ }
30
+
31
+ export { CustomFieldValidationRulesFromJSON, CustomFieldValidationRulesFromJSONTyped, CustomFieldValidationRulesToJSON };
@@ -33,6 +33,10 @@ export * from './CreateUserEmbeddedWalletsRequest';
33
33
  export * from './CreateWalletRequest';
34
34
  export * from './Currency';
35
35
  export * from './CurrencyType';
36
+ export * from './CustomField';
37
+ export * from './CustomFieldRequest';
38
+ export * from './CustomFieldType';
39
+ export * from './CustomFieldValidationRules';
36
40
  export * from './Duration';
37
41
  export * from './DynamicJwt';
38
42
  export * from './EmailProviderResponse';