@dynamic-labs/sdk-api 0.0.888 → 0.0.890

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 (96) hide show
  1. package/package.json +1 -1
  2. package/src/apis/AllowlistsApi.cjs +2 -2
  3. package/src/apis/AllowlistsApi.js +2 -2
  4. package/src/apis/AnalyticsApi.cjs +2 -2
  5. package/src/apis/AnalyticsApi.js +2 -2
  6. package/src/apis/ChainalysisApi.cjs +2 -2
  7. package/src/apis/ChainalysisApi.js +2 -2
  8. package/src/apis/ChainsApi.cjs +2 -2
  9. package/src/apis/ChainsApi.js +2 -2
  10. package/src/apis/CustomFieldsApi.cjs +2 -2
  11. package/src/apis/CustomFieldsApi.js +2 -2
  12. package/src/apis/CustomHostnamesApi.cjs +2 -2
  13. package/src/apis/CustomHostnamesApi.js +2 -2
  14. package/src/apis/CustomNetworksApi.cjs +2 -2
  15. package/src/apis/CustomNetworksApi.js +2 -2
  16. package/src/apis/DeeplinkUrlsApi.cjs +2 -2
  17. package/src/apis/DeeplinkUrlsApi.js +2 -2
  18. package/src/apis/DepositApi.cjs +2 -2
  19. package/src/apis/DepositApi.js +2 -2
  20. package/src/apis/EnvironmentsApi.cjs +2 -2
  21. package/src/apis/EnvironmentsApi.js +2 -2
  22. package/src/apis/EventsApi.cjs +2 -2
  23. package/src/apis/EventsApi.js +2 -2
  24. package/src/apis/ExportsApi.cjs +2 -2
  25. package/src/apis/ExportsApi.js +2 -2
  26. package/src/apis/ExternalJwtApi.cjs +2 -2
  27. package/src/apis/ExternalJwtApi.js +2 -2
  28. package/src/apis/GatesApi.cjs +2 -2
  29. package/src/apis/GatesApi.js +2 -2
  30. package/src/apis/GlobalWalletAccessControlApi.cjs +2 -2
  31. package/src/apis/GlobalWalletAccessControlApi.js +2 -2
  32. package/src/apis/GlobalWalletConnectionsApi.cjs +2 -2
  33. package/src/apis/GlobalWalletConnectionsApi.js +2 -2
  34. package/src/apis/GlobalWalletsApi.cjs +2 -2
  35. package/src/apis/GlobalWalletsApi.js +2 -2
  36. package/src/apis/InvitesApi.cjs +2 -2
  37. package/src/apis/InvitesApi.js +2 -2
  38. package/src/apis/MembersApi.cjs +2 -2
  39. package/src/apis/MembersApi.js +2 -2
  40. package/src/apis/MfaSettingsApi.cjs +2 -2
  41. package/src/apis/MfaSettingsApi.js +2 -2
  42. package/src/apis/NameServicesApi.cjs +2 -2
  43. package/src/apis/NameServicesApi.js +2 -2
  44. package/src/apis/OrganizationsApi.cjs +2 -2
  45. package/src/apis/OrganizationsApi.js +2 -2
  46. package/src/apis/OriginsApi.cjs +2 -2
  47. package/src/apis/OriginsApi.js +2 -2
  48. package/src/apis/ProjectsApi.cjs +2 -2
  49. package/src/apis/ProjectsApi.js +2 -2
  50. package/src/apis/SDKApi.cjs +1 -1
  51. package/src/apis/SDKApi.js +1 -1
  52. package/src/apis/SDKViewsApi.cjs +2 -2
  53. package/src/apis/SDKViewsApi.js +2 -2
  54. package/src/apis/SessionsApi.cjs +2 -2
  55. package/src/apis/SessionsApi.js +2 -2
  56. package/src/apis/SettingsApi.cjs +2 -2
  57. package/src/apis/SettingsApi.js +2 -2
  58. package/src/apis/TestAccountApi.cjs +2 -2
  59. package/src/apis/TestAccountApi.js +2 -2
  60. package/src/apis/TokensApi.cjs +2 -2
  61. package/src/apis/TokensApi.js +2 -2
  62. package/src/apis/UserApiTokensApi.cjs +2 -2
  63. package/src/apis/UserApiTokensApi.js +2 -2
  64. package/src/apis/UsersApi.cjs +2 -2
  65. package/src/apis/UsersApi.js +2 -2
  66. package/src/apis/VisitsApi.cjs +2 -2
  67. package/src/apis/VisitsApi.js +2 -2
  68. package/src/apis/WaasApi.cjs +2 -2
  69. package/src/apis/WaasApi.js +2 -2
  70. package/src/apis/WalletConnectApi.cjs +2 -2
  71. package/src/apis/WalletConnectApi.js +2 -2
  72. package/src/apis/WalletsApi.cjs +2 -2
  73. package/src/apis/WalletsApi.js +2 -2
  74. package/src/apis/WebhooksApi.cjs +2 -2
  75. package/src/apis/WebhooksApi.js +2 -2
  76. package/src/index.cjs +8 -4
  77. package/src/index.js +2 -1
  78. package/src/models/AttachSourceRequest.cjs +3 -0
  79. package/src/models/AttachSourceRequest.d.ts +7 -0
  80. package/src/models/AttachSourceRequest.js +3 -0
  81. package/src/models/ChainDestinationConfig.cjs +38 -0
  82. package/src/models/ChainDestinationConfig.d.ts +41 -0
  83. package/src/models/ChainDestinationConfig.js +32 -0
  84. package/src/models/ChainSettlementConfig.cjs +39 -0
  85. package/src/models/ChainSettlementConfig.d.ts +46 -0
  86. package/src/models/ChainSettlementConfig.js +33 -0
  87. package/src/models/DestinationConfigInput.cjs +3 -5
  88. package/src/models/DestinationConfigInput.d.ts +3 -9
  89. package/src/models/DestinationConfigInput.js +3 -5
  90. package/src/models/SettlementConfigInput.cjs +3 -3
  91. package/src/models/SettlementConfigInput.d.ts +3 -3
  92. package/src/models/SettlementConfigInput.js +3 -3
  93. package/src/models/index.d.ts +2 -1
  94. package/src/models/SettlementTokenInput.cjs +0 -47
  95. package/src/models/SettlementTokenInput.d.ts +0 -39
  96. package/src/models/SettlementTokenInput.js +0 -41
@@ -0,0 +1,33 @@
1
+ import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
2
+
3
+ /* tslint:disable */
4
+ function ChainSettlementConfigFromJSON(json) {
5
+ return ChainSettlementConfigFromJSONTyped(json);
6
+ }
7
+ function ChainSettlementConfigFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'chainName': ChainEnumFromJSON(json['chainName']),
13
+ 'tokenAddress': json['tokenAddress'],
14
+ 'chainId': json['chainId'],
15
+ 'symbol': json['symbol'],
16
+ };
17
+ }
18
+ function ChainSettlementConfigToJSON(value) {
19
+ if (value === undefined) {
20
+ return undefined;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ 'chainName': ChainEnumToJSON(value.chainName),
27
+ 'tokenAddress': value.tokenAddress,
28
+ 'chainId': value.chainId,
29
+ 'symbol': value.symbol,
30
+ };
31
+ }
32
+
33
+ export { ChainSettlementConfigFromJSON, ChainSettlementConfigFromJSONTyped, ChainSettlementConfigToJSON };
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var DestinationTypeEnum = require('./DestinationTypeEnum.cjs');
5
+ var ChainDestinationConfig = require('./ChainDestinationConfig.cjs');
6
6
 
7
7
  /* tslint:disable */
8
8
  function DestinationConfigInputFromJSON(json) {
@@ -13,8 +13,7 @@ function DestinationConfigInputFromJSONTyped(json, ignoreDiscriminator) {
13
13
  return json;
14
14
  }
15
15
  return {
16
- 'type': DestinationTypeEnum.DestinationTypeEnumFromJSON(json['type']),
17
- 'identifier': json['identifier'],
16
+ 'destinations': (json['destinations'].map(ChainDestinationConfig.ChainDestinationConfigFromJSON)),
18
17
  };
19
18
  }
20
19
  function DestinationConfigInputToJSON(value) {
@@ -25,8 +24,7 @@ function DestinationConfigInputToJSON(value) {
25
24
  return null;
26
25
  }
27
26
  return {
28
- 'type': DestinationTypeEnum.DestinationTypeEnumToJSON(value.type),
29
- 'identifier': value.identifier,
27
+ 'destinations': (value.destinations.map(ChainDestinationConfig.ChainDestinationConfigToJSON)),
30
28
  };
31
29
  }
32
30
 
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { DestinationTypeEnum } from './DestinationTypeEnum';
12
+ import { ChainDestinationConfig } from './ChainDestinationConfig';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -18,16 +18,10 @@ import { DestinationTypeEnum } from './DestinationTypeEnum';
18
18
  export interface DestinationConfigInput {
19
19
  /**
20
20
  *
21
- * @type {DestinationTypeEnum}
21
+ * @type {Array<ChainDestinationConfig>}
22
22
  * @memberof DestinationConfigInput
23
23
  */
24
- type: DestinationTypeEnum;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof DestinationConfigInput
29
- */
30
- identifier: string;
24
+ destinations: Array<ChainDestinationConfig>;
31
25
  }
32
26
  export declare function DestinationConfigInputFromJSON(json: any): DestinationConfigInput;
33
27
  export declare function DestinationConfigInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): DestinationConfigInput;
@@ -1,4 +1,4 @@
1
- import { DestinationTypeEnumFromJSON, DestinationTypeEnumToJSON } from './DestinationTypeEnum.js';
1
+ import { ChainDestinationConfigFromJSON, ChainDestinationConfigToJSON } from './ChainDestinationConfig.js';
2
2
 
3
3
  /* tslint:disable */
4
4
  function DestinationConfigInputFromJSON(json) {
@@ -9,8 +9,7 @@ function DestinationConfigInputFromJSONTyped(json, ignoreDiscriminator) {
9
9
  return json;
10
10
  }
11
11
  return {
12
- 'type': DestinationTypeEnumFromJSON(json['type']),
13
- 'identifier': json['identifier'],
12
+ 'destinations': (json['destinations'].map(ChainDestinationConfigFromJSON)),
14
13
  };
15
14
  }
16
15
  function DestinationConfigInputToJSON(value) {
@@ -21,8 +20,7 @@ function DestinationConfigInputToJSON(value) {
21
20
  return null;
22
21
  }
23
22
  return {
24
- 'type': DestinationTypeEnumToJSON(value.type),
25
- 'identifier': value.identifier,
23
+ 'destinations': (value.destinations.map(ChainDestinationConfigToJSON)),
26
24
  };
27
25
  }
28
26
 
@@ -2,8 +2,8 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
+ var ChainSettlementConfig = require('./ChainSettlementConfig.cjs');
5
6
  var SettlementStrategyEnum = require('./SettlementStrategyEnum.cjs');
6
- var SettlementTokenInput = require('./SettlementTokenInput.cjs');
7
7
 
8
8
  /* tslint:disable */
9
9
  function SettlementConfigInputFromJSON(json) {
@@ -15,7 +15,7 @@ function SettlementConfigInputFromJSONTyped(json, ignoreDiscriminator) {
15
15
  }
16
16
  return {
17
17
  'strategy': SettlementStrategyEnum.SettlementStrategyEnumFromJSON(json['strategy']),
18
- 'tokens': (json['tokens'].map(SettlementTokenInput.SettlementTokenInputFromJSON)),
18
+ 'settlements': (json['settlements'].map(ChainSettlementConfig.ChainSettlementConfigFromJSON)),
19
19
  };
20
20
  }
21
21
  function SettlementConfigInputToJSON(value) {
@@ -27,7 +27,7 @@ function SettlementConfigInputToJSON(value) {
27
27
  }
28
28
  return {
29
29
  'strategy': SettlementStrategyEnum.SettlementStrategyEnumToJSON(value.strategy),
30
- 'tokens': (value.tokens.map(SettlementTokenInput.SettlementTokenInputToJSON)),
30
+ 'settlements': (value.settlements.map(ChainSettlementConfig.ChainSettlementConfigToJSON)),
31
31
  };
32
32
  }
33
33
 
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { ChainSettlementConfig } from './ChainSettlementConfig';
12
13
  import { SettlementStrategyEnum } from './SettlementStrategyEnum';
13
- import { SettlementTokenInput } from './SettlementTokenInput';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -25,10 +25,10 @@ export interface SettlementConfigInput {
25
25
  strategy: SettlementStrategyEnum;
26
26
  /**
27
27
  *
28
- * @type {Array<SettlementTokenInput>}
28
+ * @type {Array<ChainSettlementConfig>}
29
29
  * @memberof SettlementConfigInput
30
30
  */
31
- tokens: Array<SettlementTokenInput>;
31
+ settlements: Array<ChainSettlementConfig>;
32
32
  }
33
33
  export declare function SettlementConfigInputFromJSON(json: any): SettlementConfigInput;
34
34
  export declare function SettlementConfigInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettlementConfigInput;
@@ -1,5 +1,5 @@
1
+ import { ChainSettlementConfigFromJSON, ChainSettlementConfigToJSON } from './ChainSettlementConfig.js';
1
2
  import { SettlementStrategyEnumFromJSON, SettlementStrategyEnumToJSON } from './SettlementStrategyEnum.js';
2
- import { SettlementTokenInputFromJSON, SettlementTokenInputToJSON } from './SettlementTokenInput.js';
3
3
 
4
4
  /* tslint:disable */
5
5
  function SettlementConfigInputFromJSON(json) {
@@ -11,7 +11,7 @@ function SettlementConfigInputFromJSONTyped(json, ignoreDiscriminator) {
11
11
  }
12
12
  return {
13
13
  'strategy': SettlementStrategyEnumFromJSON(json['strategy']),
14
- 'tokens': (json['tokens'].map(SettlementTokenInputFromJSON)),
14
+ 'settlements': (json['settlements'].map(ChainSettlementConfigFromJSON)),
15
15
  };
16
16
  }
17
17
  function SettlementConfigInputToJSON(value) {
@@ -23,7 +23,7 @@ function SettlementConfigInputToJSON(value) {
23
23
  }
24
24
  return {
25
25
  'strategy': SettlementStrategyEnumToJSON(value.strategy),
26
- 'tokens': (value.tokens.map(SettlementTokenInputToJSON)),
26
+ 'settlements': (value.settlements.map(ChainSettlementConfigToJSON)),
27
27
  };
28
28
  }
29
29
 
@@ -64,7 +64,9 @@ export * from './BlockaidValidation';
64
64
  export * from './BulkUserCreateResponse';
65
65
  export * from './BulkUserCreateResponseFailed';
66
66
  export * from './ChainConfiguration';
67
+ export * from './ChainDestinationConfig';
67
68
  export * from './ChainEnum';
69
+ export * from './ChainSettlementConfig';
68
70
  export * from './ChainToken';
69
71
  export * from './ChainalysisCheck';
70
72
  export * from './ChainalysisCheckResultEnum';
@@ -471,7 +473,6 @@ export * from './SessionsResponse';
471
473
  export * from './SessionsTrendResult';
472
474
  export * from './SettlementConfigInput';
473
475
  export * from './SettlementStrategyEnum';
474
- export * from './SettlementTokenInput';
475
476
  export * from './SignInProviderEnum';
476
477
  export * from './SignMessageAuthorizationSignature';
477
478
  export * from './SignMessageBtcTransaction';
@@ -1,47 +0,0 @@
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 SettlementTokenInputFromJSON(json) {
19
- return SettlementTokenInputFromJSONTyped(json);
20
- }
21
- function SettlementTokenInputFromJSONTyped(json, ignoreDiscriminator) {
22
- if ((json === undefined) || (json === null)) {
23
- return json;
24
- }
25
- return {
26
- 'address': json['address'],
27
- 'chainId': json['chainId'],
28
- 'symbol': json['symbol'],
29
- };
30
- }
31
- function SettlementTokenInputToJSON(value) {
32
- if (value === undefined) {
33
- return undefined;
34
- }
35
- if (value === null) {
36
- return null;
37
- }
38
- return {
39
- 'address': value.address,
40
- 'chainId': value.chainId,
41
- 'symbol': value.symbol,
42
- };
43
- }
44
-
45
- exports.SettlementTokenInputFromJSON = SettlementTokenInputFromJSON;
46
- exports.SettlementTokenInputFromJSONTyped = SettlementTokenInputFromJSONTyped;
47
- exports.SettlementTokenInputToJSON = SettlementTokenInputToJSON;
@@ -1,39 +0,0 @@
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
- * @interface SettlementTokenInput
16
- */
17
- export interface SettlementTokenInput {
18
- /**
19
- * Valid blockchain wallet address, must be an alphanumeric string without any special characters
20
- * @type {string}
21
- * @memberof SettlementTokenInput
22
- */
23
- address: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof SettlementTokenInput
28
- */
29
- chainId: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof SettlementTokenInput
34
- */
35
- symbol: string;
36
- }
37
- export declare function SettlementTokenInputFromJSON(json: any): SettlementTokenInput;
38
- export declare function SettlementTokenInputFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettlementTokenInput;
39
- export declare function SettlementTokenInputToJSON(value?: SettlementTokenInput | null): any;
@@ -1,41 +0,0 @@
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 SettlementTokenInputFromJSON(json) {
15
- return SettlementTokenInputFromJSONTyped(json);
16
- }
17
- function SettlementTokenInputFromJSONTyped(json, ignoreDiscriminator) {
18
- if ((json === undefined) || (json === null)) {
19
- return json;
20
- }
21
- return {
22
- 'address': json['address'],
23
- 'chainId': json['chainId'],
24
- 'symbol': json['symbol'],
25
- };
26
- }
27
- function SettlementTokenInputToJSON(value) {
28
- if (value === undefined) {
29
- return undefined;
30
- }
31
- if (value === null) {
32
- return null;
33
- }
34
- return {
35
- 'address': value.address,
36
- 'chainId': value.chainId,
37
- 'symbol': value.symbol,
38
- };
39
- }
40
-
41
- export { SettlementTokenInputFromJSON, SettlementTokenInputFromJSONTyped, SettlementTokenInputToJSON };