@dynamic-labs/sdk-api 0.153.0 → 0.155.0

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 (28) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +197 -1
  3. package/src/apis/SDKApi.d.ts +83 -1
  4. package/src/apis/SDKApi.js +197 -1
  5. package/src/index.cjs +28 -0
  6. package/src/index.js +7 -0
  7. package/src/models/BusinessAccountMemberInviteListResponse.cjs +33 -0
  8. package/src/models/BusinessAccountMemberInviteListResponse.d.ts +28 -0
  9. package/src/models/BusinessAccountMemberInviteListResponse.js +27 -0
  10. package/src/models/CancelBusinessAccountMemberInviteSdkRequest.cjs +37 -0
  11. package/src/models/CancelBusinessAccountMemberInviteSdkRequest.d.ts +43 -0
  12. package/src/models/CancelBusinessAccountMemberInviteSdkRequest.js +31 -0
  13. package/src/models/FlowSourceTokenOption.cjs +39 -0
  14. package/src/models/FlowSourceTokenOption.d.ts +42 -0
  15. package/src/models/FlowSourceTokenOption.js +33 -0
  16. package/src/models/FlowSourceTokenOptionChain.cjs +36 -0
  17. package/src/models/FlowSourceTokenOptionChain.d.ts +34 -0
  18. package/src/models/FlowSourceTokenOptionChain.js +30 -0
  19. package/src/models/FlowSourceTokenOptionNetwork.cjs +37 -0
  20. package/src/models/FlowSourceTokenOptionNetwork.d.ts +39 -0
  21. package/src/models/FlowSourceTokenOptionNetwork.js +31 -0
  22. package/src/models/FlowSourceTokenOptionToken.cjs +39 -0
  23. package/src/models/FlowSourceTokenOptionToken.d.ts +45 -0
  24. package/src/models/FlowSourceTokenOptionToken.js +33 -0
  25. package/src/models/FlowSourceTokenOptionsResponse.cjs +33 -0
  26. package/src/models/FlowSourceTokenOptionsResponse.d.ts +28 -0
  27. package/src/models/FlowSourceTokenOptionsResponse.js +27 -0
  28. package/src/models/index.d.ts +7 -0
@@ -0,0 +1,33 @@
1
+ import { FlowSourceTokenOptionChainFromJSON, FlowSourceTokenOptionChainToJSON } from './FlowSourceTokenOptionChain.js';
2
+ import { FlowSourceTokenOptionNetworkFromJSON, FlowSourceTokenOptionNetworkToJSON } from './FlowSourceTokenOptionNetwork.js';
3
+ import { FlowSourceTokenOptionTokenFromJSON, FlowSourceTokenOptionTokenToJSON } from './FlowSourceTokenOptionToken.js';
4
+
5
+ /* tslint:disable */
6
+ function FlowSourceTokenOptionFromJSON(json) {
7
+ return FlowSourceTokenOptionFromJSONTyped(json);
8
+ }
9
+ function FlowSourceTokenOptionFromJSONTyped(json, ignoreDiscriminator) {
10
+ if ((json === undefined) || (json === null)) {
11
+ return json;
12
+ }
13
+ return {
14
+ 'chain': FlowSourceTokenOptionChainFromJSON(json['chain']),
15
+ 'network': FlowSourceTokenOptionNetworkFromJSON(json['network']),
16
+ 'tokens': (json['tokens'].map(FlowSourceTokenOptionTokenFromJSON)),
17
+ };
18
+ }
19
+ function FlowSourceTokenOptionToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'chain': FlowSourceTokenOptionChainToJSON(value.chain),
28
+ 'network': FlowSourceTokenOptionNetworkToJSON(value.network),
29
+ 'tokens': (value.tokens.map(FlowSourceTokenOptionTokenToJSON)),
30
+ };
31
+ }
32
+
33
+ export { FlowSourceTokenOptionFromJSON, FlowSourceTokenOptionFromJSONTyped, FlowSourceTokenOptionToJSON };
@@ -0,0 +1,36 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+ var ChainEnum = require('./ChainEnum.cjs');
7
+
8
+ /* tslint:disable */
9
+ function FlowSourceTokenOptionChainFromJSON(json) {
10
+ return FlowSourceTokenOptionChainFromJSONTyped(json);
11
+ }
12
+ function FlowSourceTokenOptionChainFromJSONTyped(json, ignoreDiscriminator) {
13
+ if ((json === undefined) || (json === null)) {
14
+ return json;
15
+ }
16
+ return {
17
+ 'name': ChainEnum.ChainEnumFromJSON(json['name']),
18
+ 'iconUrl': !runtime.exists(json, 'iconUrl') ? undefined : json['iconUrl'],
19
+ };
20
+ }
21
+ function FlowSourceTokenOptionChainToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'name': ChainEnum.ChainEnumToJSON(value.name),
30
+ 'iconUrl': value.iconUrl,
31
+ };
32
+ }
33
+
34
+ exports.FlowSourceTokenOptionChainFromJSON = FlowSourceTokenOptionChainFromJSON;
35
+ exports.FlowSourceTokenOptionChainFromJSONTyped = FlowSourceTokenOptionChainFromJSONTyped;
36
+ exports.FlowSourceTokenOptionChainToJSON = FlowSourceTokenOptionChainToJSON;
@@ -0,0 +1,34 @@
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 { ChainEnum } from './ChainEnum';
13
+ /**
14
+ * The chain family the payer sends from.
15
+ * @export
16
+ * @interface FlowSourceTokenOptionChain
17
+ */
18
+ export interface FlowSourceTokenOptionChain {
19
+ /**
20
+ *
21
+ * @type {ChainEnum}
22
+ * @memberof FlowSourceTokenOptionChain
23
+ */
24
+ name: ChainEnum;
25
+ /**
26
+ * Absolute HTTPS URL of the chain family's logo.
27
+ * @type {string}
28
+ * @memberof FlowSourceTokenOptionChain
29
+ */
30
+ iconUrl?: string;
31
+ }
32
+ export declare function FlowSourceTokenOptionChainFromJSON(json: any): FlowSourceTokenOptionChain;
33
+ export declare function FlowSourceTokenOptionChainFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowSourceTokenOptionChain;
34
+ export declare function FlowSourceTokenOptionChainToJSON(value?: FlowSourceTokenOptionChain | null): any;
@@ -0,0 +1,30 @@
1
+ import { exists } from '../runtime.js';
2
+ import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
3
+
4
+ /* tslint:disable */
5
+ function FlowSourceTokenOptionChainFromJSON(json) {
6
+ return FlowSourceTokenOptionChainFromJSONTyped(json);
7
+ }
8
+ function FlowSourceTokenOptionChainFromJSONTyped(json, ignoreDiscriminator) {
9
+ if ((json === undefined) || (json === null)) {
10
+ return json;
11
+ }
12
+ return {
13
+ 'name': ChainEnumFromJSON(json['name']),
14
+ 'iconUrl': !exists(json, 'iconUrl') ? undefined : json['iconUrl'],
15
+ };
16
+ }
17
+ function FlowSourceTokenOptionChainToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'name': ChainEnumToJSON(value.name),
26
+ 'iconUrl': value.iconUrl,
27
+ };
28
+ }
29
+
30
+ export { FlowSourceTokenOptionChainFromJSON, FlowSourceTokenOptionChainFromJSONTyped, FlowSourceTokenOptionChainToJSON };
@@ -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 FlowSourceTokenOptionNetworkFromJSON(json) {
9
+ return FlowSourceTokenOptionNetworkFromJSONTyped(json);
10
+ }
11
+ function FlowSourceTokenOptionNetworkFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'id': json['id'],
17
+ 'name': json['name'],
18
+ 'iconUrl': !runtime.exists(json, 'iconUrl') ? undefined : json['iconUrl'],
19
+ };
20
+ }
21
+ function FlowSourceTokenOptionNetworkToJSON(value) {
22
+ if (value === undefined) {
23
+ return undefined;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ 'id': value.id,
30
+ 'name': value.name,
31
+ 'iconUrl': value.iconUrl,
32
+ };
33
+ }
34
+
35
+ exports.FlowSourceTokenOptionNetworkFromJSON = FlowSourceTokenOptionNetworkFromJSON;
36
+ exports.FlowSourceTokenOptionNetworkFromJSONTyped = FlowSourceTokenOptionNetworkFromJSONTyped;
37
+ exports.FlowSourceTokenOptionNetworkToJSON = FlowSourceTokenOptionNetworkToJSON;
@@ -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
+ * The network within the chain family the funds are sent on.
14
+ * @export
15
+ * @interface FlowSourceTokenOptionNetwork
16
+ */
17
+ export interface FlowSourceTokenOptionNetwork {
18
+ /**
19
+ * The network's id within its chain family, e.g. "8453" for Base.
20
+ * @type {string}
21
+ * @memberof FlowSourceTokenOptionNetwork
22
+ */
23
+ id: string;
24
+ /**
25
+ * The network's display name, e.g. "Base".
26
+ * @type {string}
27
+ * @memberof FlowSourceTokenOptionNetwork
28
+ */
29
+ name: string;
30
+ /**
31
+ * Absolute HTTPS URL of the network's logo.
32
+ * @type {string}
33
+ * @memberof FlowSourceTokenOptionNetwork
34
+ */
35
+ iconUrl?: string;
36
+ }
37
+ export declare function FlowSourceTokenOptionNetworkFromJSON(json: any): FlowSourceTokenOptionNetwork;
38
+ export declare function FlowSourceTokenOptionNetworkFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowSourceTokenOptionNetwork;
39
+ export declare function FlowSourceTokenOptionNetworkToJSON(value?: FlowSourceTokenOptionNetwork | null): any;
@@ -0,0 +1,31 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function FlowSourceTokenOptionNetworkFromJSON(json) {
5
+ return FlowSourceTokenOptionNetworkFromJSONTyped(json);
6
+ }
7
+ function FlowSourceTokenOptionNetworkFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'id': json['id'],
13
+ 'name': json['name'],
14
+ 'iconUrl': !exists(json, 'iconUrl') ? undefined : json['iconUrl'],
15
+ };
16
+ }
17
+ function FlowSourceTokenOptionNetworkToJSON(value) {
18
+ if (value === undefined) {
19
+ return undefined;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ 'id': value.id,
26
+ 'name': value.name,
27
+ 'iconUrl': value.iconUrl,
28
+ };
29
+ }
30
+
31
+ export { FlowSourceTokenOptionNetworkFromJSON, FlowSourceTokenOptionNetworkFromJSONTyped, FlowSourceTokenOptionNetworkToJSON };
@@ -0,0 +1,39 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var runtime = require('../runtime.cjs');
6
+
7
+ /* tslint:disable */
8
+ function FlowSourceTokenOptionTokenFromJSON(json) {
9
+ return FlowSourceTokenOptionTokenFromJSONTyped(json);
10
+ }
11
+ function FlowSourceTokenOptionTokenFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'address': json['address'],
17
+ 'decimals': json['decimals'],
18
+ 'symbol': json['symbol'],
19
+ 'iconUrl': !runtime.exists(json, 'iconUrl') ? undefined : json['iconUrl'],
20
+ };
21
+ }
22
+ function FlowSourceTokenOptionTokenToJSON(value) {
23
+ if (value === undefined) {
24
+ return undefined;
25
+ }
26
+ if (value === null) {
27
+ return null;
28
+ }
29
+ return {
30
+ 'address': value.address,
31
+ 'decimals': value.decimals,
32
+ 'symbol': value.symbol,
33
+ 'iconUrl': value.iconUrl,
34
+ };
35
+ }
36
+
37
+ exports.FlowSourceTokenOptionTokenFromJSON = FlowSourceTokenOptionTokenFromJSON;
38
+ exports.FlowSourceTokenOptionTokenFromJSONTyped = FlowSourceTokenOptionTokenFromJSONTyped;
39
+ exports.FlowSourceTokenOptionTokenToJSON = FlowSourceTokenOptionTokenToJSON;
@@ -0,0 +1,45 @@
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
+ * A token a payer can send to a flow's deposit address.
14
+ * @export
15
+ * @interface FlowSourceTokenOptionToken
16
+ */
17
+ export interface FlowSourceTokenOptionToken {
18
+ /**
19
+ * The token's contract address, or a chain-specific placeholder for the network's native token.
20
+ * @type {string}
21
+ * @memberof FlowSourceTokenOptionToken
22
+ */
23
+ address: string;
24
+ /**
25
+ * Number of decimal places for this token
26
+ * @type {number}
27
+ * @memberof FlowSourceTokenOptionToken
28
+ */
29
+ decimals: number;
30
+ /**
31
+ * Token symbol (e.g. USDC, ETH)
32
+ * @type {string}
33
+ * @memberof FlowSourceTokenOptionToken
34
+ */
35
+ symbol: string;
36
+ /**
37
+ * Absolute HTTPS URL of the token's logo.
38
+ * @type {string}
39
+ * @memberof FlowSourceTokenOptionToken
40
+ */
41
+ iconUrl?: string;
42
+ }
43
+ export declare function FlowSourceTokenOptionTokenFromJSON(json: any): FlowSourceTokenOptionToken;
44
+ export declare function FlowSourceTokenOptionTokenFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowSourceTokenOptionToken;
45
+ export declare function FlowSourceTokenOptionTokenToJSON(value?: FlowSourceTokenOptionToken | null): any;
@@ -0,0 +1,33 @@
1
+ import { exists } from '../runtime.js';
2
+
3
+ /* tslint:disable */
4
+ function FlowSourceTokenOptionTokenFromJSON(json) {
5
+ return FlowSourceTokenOptionTokenFromJSONTyped(json);
6
+ }
7
+ function FlowSourceTokenOptionTokenFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'address': json['address'],
13
+ 'decimals': json['decimals'],
14
+ 'symbol': json['symbol'],
15
+ 'iconUrl': !exists(json, 'iconUrl') ? undefined : json['iconUrl'],
16
+ };
17
+ }
18
+ function FlowSourceTokenOptionTokenToJSON(value) {
19
+ if (value === undefined) {
20
+ return undefined;
21
+ }
22
+ if (value === null) {
23
+ return null;
24
+ }
25
+ return {
26
+ 'address': value.address,
27
+ 'decimals': value.decimals,
28
+ 'symbol': value.symbol,
29
+ 'iconUrl': value.iconUrl,
30
+ };
31
+ }
32
+
33
+ export { FlowSourceTokenOptionTokenFromJSON, FlowSourceTokenOptionTokenFromJSONTyped, FlowSourceTokenOptionTokenToJSON };
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var FlowSourceTokenOption = require('./FlowSourceTokenOption.cjs');
6
+
7
+ /* tslint:disable */
8
+ function FlowSourceTokenOptionsResponseFromJSON(json) {
9
+ return FlowSourceTokenOptionsResponseFromJSONTyped(json);
10
+ }
11
+ function FlowSourceTokenOptionsResponseFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'sourceTokenOptions': (json['sourceTokenOptions'].map(FlowSourceTokenOption.FlowSourceTokenOptionFromJSON)),
17
+ };
18
+ }
19
+ function FlowSourceTokenOptionsResponseToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'sourceTokenOptions': (value.sourceTokenOptions.map(FlowSourceTokenOption.FlowSourceTokenOptionToJSON)),
28
+ };
29
+ }
30
+
31
+ exports.FlowSourceTokenOptionsResponseFromJSON = FlowSourceTokenOptionsResponseFromJSON;
32
+ exports.FlowSourceTokenOptionsResponseFromJSONTyped = FlowSourceTokenOptionsResponseFromJSONTyped;
33
+ exports.FlowSourceTokenOptionsResponseToJSON = FlowSourceTokenOptionsResponseToJSON;
@@ -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 { FlowSourceTokenOption } from './FlowSourceTokenOption';
13
+ /**
14
+ * The tokens a flow can be paid with from a deposit address.
15
+ * @export
16
+ * @interface FlowSourceTokenOptionsResponse
17
+ */
18
+ export interface FlowSourceTokenOptionsResponse {
19
+ /**
20
+ * Networks and tokens a payer can fund the flow from.
21
+ * @type {Array<FlowSourceTokenOption>}
22
+ * @memberof FlowSourceTokenOptionsResponse
23
+ */
24
+ sourceTokenOptions: Array<FlowSourceTokenOption>;
25
+ }
26
+ export declare function FlowSourceTokenOptionsResponseFromJSON(json: any): FlowSourceTokenOptionsResponse;
27
+ export declare function FlowSourceTokenOptionsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowSourceTokenOptionsResponse;
28
+ export declare function FlowSourceTokenOptionsResponseToJSON(value?: FlowSourceTokenOptionsResponse | null): any;
@@ -0,0 +1,27 @@
1
+ import { FlowSourceTokenOptionFromJSON, FlowSourceTokenOptionToJSON } from './FlowSourceTokenOption.js';
2
+
3
+ /* tslint:disable */
4
+ function FlowSourceTokenOptionsResponseFromJSON(json) {
5
+ return FlowSourceTokenOptionsResponseFromJSONTyped(json);
6
+ }
7
+ function FlowSourceTokenOptionsResponseFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'sourceTokenOptions': (json['sourceTokenOptions'].map(FlowSourceTokenOptionFromJSON)),
13
+ };
14
+ }
15
+ function FlowSourceTokenOptionsResponseToJSON(value) {
16
+ if (value === undefined) {
17
+ return undefined;
18
+ }
19
+ if (value === null) {
20
+ return null;
21
+ }
22
+ return {
23
+ 'sourceTokenOptions': (value.sourceTokenOptions.map(FlowSourceTokenOptionToJSON)),
24
+ };
25
+ }
26
+
27
+ export { FlowSourceTokenOptionsResponseFromJSON, FlowSourceTokenOptionsResponseFromJSONTyped, FlowSourceTokenOptionsResponseToJSON };
@@ -115,6 +115,7 @@ export * from './BusinessAccountList';
115
115
  export * from './BusinessAccountMember';
116
116
  export * from './BusinessAccountMemberCreationResult';
117
117
  export * from './BusinessAccountMemberCustomRole';
118
+ export * from './BusinessAccountMemberInviteListResponse';
118
119
  export * from './BusinessAccountMemberInviteReceipt';
119
120
  export * from './BusinessAccountMemberPreview';
120
121
  export * from './BusinessAccountMemberRole';
@@ -139,6 +140,7 @@ export * from './BusinessAccountSummary';
139
140
  export * from './BusinessAccountSummaryAllOf';
140
141
  export * from './BusinessAccountWallet';
141
142
  export * from './BusinessAccountsResponse';
143
+ export * from './CancelBusinessAccountMemberInviteSdkRequest';
142
144
  export * from './CaptchaProviderEnum';
143
145
  export * from './CaptchaSettings';
144
146
  export * from './CaptchaSettingsCreateRequest';
@@ -373,6 +375,11 @@ export * from './FlowRiskStateEnum';
373
375
  export * from './FlowSettlementData';
374
376
  export * from './FlowSettlementStateEnum';
375
377
  export * from './FlowSourceResponse';
378
+ export * from './FlowSourceTokenOption';
379
+ export * from './FlowSourceTokenOptionChain';
380
+ export * from './FlowSourceTokenOptionNetwork';
381
+ export * from './FlowSourceTokenOptionToken';
382
+ export * from './FlowSourceTokenOptionsResponse';
376
383
  export * from './FlowSourceTypeEnum';
377
384
  export * from './FlowTokenInfo';
378
385
  export * from './FlowUIConfig';