@dynamic-labs/sdk-api-core 0.0.1060 → 0.0.1062

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 (85) hide show
  1. package/package.json +1 -1
  2. package/src/apis/SDKApi.cjs +301 -0
  3. package/src/apis/SDKApi.cjs.map +1 -1
  4. package/src/apis/SDKApi.d.ts +119 -1
  5. package/src/apis/SDKApi.js +301 -0
  6. package/src/apis/SDKApi.js.map +1 -1
  7. package/src/apis/WaasApi.cjs +3 -1
  8. package/src/apis/WaasApi.cjs.map +1 -1
  9. package/src/apis/WaasApi.js +3 -1
  10. package/src/apis/WaasApi.js.map +1 -1
  11. package/src/index.cjs +60 -0
  12. package/src/index.cjs.map +1 -1
  13. package/src/index.js +13 -0
  14. package/src/index.js.map +1 -1
  15. package/src/models/AddBusinessAccountMemberSdkRequest.cjs +41 -0
  16. package/src/models/AddBusinessAccountMemberSdkRequest.cjs.map +1 -0
  17. package/src/models/AddBusinessAccountMemberSdkRequest.d.ts +47 -0
  18. package/src/models/AddBusinessAccountMemberSdkRequest.js +35 -0
  19. package/src/models/AddBusinessAccountMemberSdkRequest.js.map +1 -0
  20. package/src/models/AddBusinessAccountSignerSdkRequest.cjs +41 -0
  21. package/src/models/AddBusinessAccountSignerSdkRequest.cjs.map +1 -0
  22. package/src/models/AddBusinessAccountSignerSdkRequest.d.ts +47 -0
  23. package/src/models/AddBusinessAccountSignerSdkRequest.js +35 -0
  24. package/src/models/AddBusinessAccountSignerSdkRequest.js.map +1 -0
  25. package/src/models/BusinessAccount.cjs +45 -0
  26. package/src/models/BusinessAccount.cjs.map +1 -0
  27. package/src/models/BusinessAccount.d.ts +63 -0
  28. package/src/models/BusinessAccount.js +39 -0
  29. package/src/models/BusinessAccount.js.map +1 -0
  30. package/src/models/BusinessAccountDetail.cjs +51 -0
  31. package/src/models/BusinessAccountDetail.cjs.map +1 -0
  32. package/src/models/BusinessAccountDetail.d.ts +77 -0
  33. package/src/models/BusinessAccountDetail.js +45 -0
  34. package/src/models/BusinessAccountDetail.js.map +1 -0
  35. package/src/models/BusinessAccountDetailAllOf.cjs +36 -0
  36. package/src/models/BusinessAccountDetailAllOf.cjs.map +1 -0
  37. package/src/models/BusinessAccountDetailAllOf.d.ts +35 -0
  38. package/src/models/BusinessAccountDetailAllOf.js +30 -0
  39. package/src/models/BusinessAccountDetailAllOf.js.map +1 -0
  40. package/src/models/BusinessAccountList.cjs +36 -0
  41. package/src/models/BusinessAccountList.cjs.map +1 -0
  42. package/src/models/BusinessAccountList.d.ts +34 -0
  43. package/src/models/BusinessAccountList.js +30 -0
  44. package/src/models/BusinessAccountList.js.map +1 -0
  45. package/src/models/BusinessAccountMember.cjs +44 -0
  46. package/src/models/BusinessAccountMember.cjs.map +1 -0
  47. package/src/models/BusinessAccountMember.d.ts +58 -0
  48. package/src/models/BusinessAccountMember.js +38 -0
  49. package/src/models/BusinessAccountMember.js.map +1 -0
  50. package/src/models/BusinessAccountMemberRole.cjs +41 -0
  51. package/src/models/BusinessAccountMemberRole.cjs.map +1 -0
  52. package/src/models/BusinessAccountMemberRole.d.ts +24 -0
  53. package/src/models/BusinessAccountMemberRole.js +35 -0
  54. package/src/models/BusinessAccountMemberRole.js.map +1 -0
  55. package/src/models/BusinessAccountSigner.cjs +54 -0
  56. package/src/models/BusinessAccountSigner.cjs.map +1 -0
  57. package/src/models/BusinessAccountSigner.d.ts +88 -0
  58. package/src/models/BusinessAccountSigner.js +48 -0
  59. package/src/models/BusinessAccountSigner.js.map +1 -0
  60. package/src/models/BusinessAccountSignerType.cjs +40 -0
  61. package/src/models/BusinessAccountSignerType.cjs.map +1 -0
  62. package/src/models/BusinessAccountSignerType.d.ts +23 -0
  63. package/src/models/BusinessAccountSignerType.js +34 -0
  64. package/src/models/BusinessAccountSignerType.js.map +1 -0
  65. package/src/models/CreateBusinessAccountSdkRequest.cjs +37 -0
  66. package/src/models/CreateBusinessAccountSdkRequest.cjs.map +1 -0
  67. package/src/models/CreateBusinessAccountSdkRequest.d.ts +39 -0
  68. package/src/models/CreateBusinessAccountSdkRequest.js +31 -0
  69. package/src/models/CreateBusinessAccountSdkRequest.js.map +1 -0
  70. package/src/models/FeeRecipientConfig.cjs +45 -0
  71. package/src/models/FeeRecipientConfig.cjs.map +1 -0
  72. package/src/models/FeeRecipientConfig.d.ts +33 -0
  73. package/src/models/FeeRecipientConfig.js +39 -0
  74. package/src/models/FeeRecipientConfig.js.map +1 -0
  75. package/src/models/FlowCreateRequest.cjs +3 -0
  76. package/src/models/FlowCreateRequest.cjs.map +1 -1
  77. package/src/models/FlowCreateRequest.d.ts +7 -0
  78. package/src/models/FlowCreateRequest.js +3 -0
  79. package/src/models/FlowCreateRequest.js.map +1 -1
  80. package/src/models/FlowFeeConfig.cjs +33 -0
  81. package/src/models/FlowFeeConfig.cjs.map +1 -0
  82. package/src/models/FlowFeeConfig.d.ts +28 -0
  83. package/src/models/FlowFeeConfig.js +27 -0
  84. package/src/models/FlowFeeConfig.js.map +1 -0
  85. package/src/models/index.d.ts +13 -0
@@ -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
+ * A single fee recipient with a percentage and wallet address.
14
+ * @export
15
+ * @interface FeeRecipientConfig
16
+ */
17
+ export interface FeeRecipientConfig {
18
+ /**
19
+ * Fraction of the source amount to collect as a fee (0–1)
20
+ * @type {number}
21
+ * @memberof FeeRecipientConfig
22
+ */
23
+ percentage: number;
24
+ /**
25
+ * Valid blockchain wallet address, must be an alphanumeric string (underscores allowed for chains like Midnight, hyphens allowed for chains using base64url-encoded addresses like TON)
26
+ * @type {string}
27
+ * @memberof FeeRecipientConfig
28
+ */
29
+ walletAddress: string;
30
+ }
31
+ export declare function FeeRecipientConfigFromJSON(json: any): FeeRecipientConfig;
32
+ export declare function FeeRecipientConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): FeeRecipientConfig;
33
+ export declare function FeeRecipientConfigToJSON(value?: FeeRecipientConfig | 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 FeeRecipientConfigFromJSON(json) {
15
+ return FeeRecipientConfigFromJSONTyped(json);
16
+ }
17
+ function FeeRecipientConfigFromJSONTyped(json, ignoreDiscriminator) {
18
+ if ((json === undefined) || (json === null)) {
19
+ return json;
20
+ }
21
+ return {
22
+ 'percentage': json['percentage'],
23
+ 'walletAddress': json['walletAddress'],
24
+ };
25
+ }
26
+ function FeeRecipientConfigToJSON(value) {
27
+ if (value === undefined) {
28
+ return undefined;
29
+ }
30
+ if (value === null) {
31
+ return null;
32
+ }
33
+ return {
34
+ 'percentage': value.percentage,
35
+ 'walletAddress': value.walletAddress,
36
+ };
37
+ }
38
+
39
+ export { FeeRecipientConfigFromJSON, FeeRecipientConfigFromJSONTyped, FeeRecipientConfigToJSON };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeeRecipientConfig.js","sources":["../../../../../libs/sdk-api-core/src/models/FeeRecipientConfig.ts"],"sourcesContent":null,"names":[],"mappings":"AAAA;AACA;AACA;;;;;;;;;;AAUG;AAuBG,SAAU,0BAA0B,CAAC,IAAS,EAAA;AAChD,IAAA,OAAO,+BAA+B,CAAC,IAAW,CAAC,CAAC;AACxD,CAAC;AAEe,SAAA,+BAA+B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AACnF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,YAAY,EAAE,IAAI,CAAC,YAAY,CAAC;AAChC,QAAA,eAAe,EAAE,IAAI,CAAC,eAAe,CAAC;KACzC,CAAC;AACN,CAAC;AAEK,SAAU,wBAAwB,CAAC,KAAiC,EAAA;AACtE,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,YAAY,EAAE,KAAK,CAAC,UAAU;QAC9B,eAAe,EAAE,KAAK,CAAC,aAAa;KACvC,CAAC;AACN;;;;"}
@@ -4,6 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var runtime = require('../runtime.cjs');
6
6
  var DestinationConfigInput = require('./DestinationConfigInput.cjs');
7
+ var FlowFeeConfig = require('./FlowFeeConfig.cjs');
7
8
  var SettlementConfigInput = require('./SettlementConfigInput.cjs');
8
9
 
9
10
  /* tslint:disable */
@@ -20,6 +21,7 @@ function FlowCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
20
21
  'settlementConfig': SettlementConfigInput.SettlementConfigInputFromJSON(json['settlementConfig']),
21
22
  'destinationConfig': DestinationConfigInput.DestinationConfigInputFromJSON(json['destinationConfig']),
22
23
  'memo': !runtime.exists(json, 'memo') ? undefined : json['memo'],
24
+ 'feeConfig': !runtime.exists(json, 'feeConfig') ? undefined : FlowFeeConfig.FlowFeeConfigFromJSON(json['feeConfig']),
23
25
  'expiresIn': !runtime.exists(json, 'expiresIn') ? undefined : json['expiresIn'],
24
26
  };
25
27
  }
@@ -36,6 +38,7 @@ function FlowCreateRequestToJSON(value) {
36
38
  'settlementConfig': SettlementConfigInput.SettlementConfigInputToJSON(value.settlementConfig),
37
39
  'destinationConfig': DestinationConfigInput.DestinationConfigInputToJSON(value.destinationConfig),
38
40
  'memo': value.memo,
41
+ 'feeConfig': FlowFeeConfig.FlowFeeConfigToJSON(value.feeConfig),
39
42
  'expiresIn': value.expiresIn,
40
43
  };
41
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FlowCreateRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/FlowCreateRequest.ts"],"sourcesContent":null,"names":["SettlementConfigInputFromJSON","DestinationConfigInputFromJSON","exists","SettlementConfigInputToJSON","DestinationConfigInputToJSON"],"mappings":";;;;;;;;AAAA;AAwEM,SAAU,yBAAyB,CAAC,IAAS,EAAA;AAC/C,IAAA,OAAO,8BAA8B,CAAC,IAAW,CAAC,CAAC;AACvD,CAAC;AAEe,SAAA,8BAA8B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAClF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;AACxB,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,kBAAkB,EAAEA,mDAA6B,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;AAC3E,QAAA,mBAAmB,EAAEC,qDAA8B,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AAC9E,QAAA,MAAM,EAAE,CAACC,cAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC;AACxD,QAAA,WAAW,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC;KAC1E,CAAC;AACN,CAAC;AAEK,SAAU,uBAAuB,CAAC,KAAgC,EAAA;AACpE,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,UAAU,EAAE,KAAK,CAAC,QAAQ;AAC1B,QAAA,kBAAkB,EAAEC,iDAA2B,CAAC,KAAK,CAAC,gBAAgB,CAAC;AACvE,QAAA,mBAAmB,EAAEC,mDAA4B,CAAC,KAAK,CAAC,iBAAiB,CAAC;QAC1E,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,WAAW,EAAE,KAAK,CAAC,SAAS;KAC/B,CAAC;AACN;;;;;;"}
1
+ {"version":3,"file":"FlowCreateRequest.cjs","sources":["../../../../../libs/sdk-api-core/src/models/FlowCreateRequest.ts"],"sourcesContent":null,"names":["SettlementConfigInputFromJSON","DestinationConfigInputFromJSON","exists","FlowFeeConfigFromJSON","SettlementConfigInputToJSON","DestinationConfigInputToJSON","FlowFeeConfigToJSON"],"mappings":";;;;;;;;;AAAA;AAoFM,SAAU,yBAAyB,CAAC,IAAS,EAAA;AAC/C,IAAA,OAAO,8BAA8B,CAAC,IAAW,CAAC,CAAC;AACvD,CAAC;AAEe,SAAA,8BAA8B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAClF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,QAAQ,EAAE,IAAI,CAAC,QAAQ,CAAC;AACxB,QAAA,UAAU,EAAE,IAAI,CAAC,UAAU,CAAC;AAC5B,QAAA,kBAAkB,EAAEA,mDAA6B,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;AAC3E,QAAA,mBAAmB,EAAEC,qDAA8B,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;AAC9E,QAAA,MAAM,EAAE,CAACC,cAAM,CAAC,IAAI,EAAE,MAAM,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,MAAM,CAAC;QACxD,WAAW,EAAE,CAACA,cAAM,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,SAAS,GAAGC,mCAAqB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAC9F,QAAA,WAAW,EAAE,CAACD,cAAM,CAAC,IAAI,EAAE,WAAW,CAAC,GAAG,SAAS,GAAG,IAAI,CAAC,WAAW,CAAC;KAC1E,CAAC;AACN,CAAC;AAEK,SAAU,uBAAuB,CAAC,KAAgC,EAAA;AACpE,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,QAAQ,EAAE,KAAK,CAAC,MAAM;QACtB,UAAU,EAAE,KAAK,CAAC,QAAQ;AAC1B,QAAA,kBAAkB,EAAEE,iDAA2B,CAAC,KAAK,CAAC,gBAAgB,CAAC;AACvE,QAAA,mBAAmB,EAAEC,mDAA4B,CAAC,KAAK,CAAC,iBAAiB,CAAC;QAC1E,MAAM,EAAE,KAAK,CAAC,IAAI;AAClB,QAAA,WAAW,EAAEC,iCAAmB,CAAC,KAAK,CAAC,SAAS,CAAC;QACjD,WAAW,EAAE,KAAK,CAAC,SAAS;KAC/B,CAAC;AACN;;;;;;"}
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { DestinationConfigInput } from './DestinationConfigInput';
13
+ import { FlowFeeConfig } from './FlowFeeConfig';
13
14
  import { SettlementConfigInput } from './SettlementConfigInput';
14
15
  /**
15
16
  * Create-time payload for a flow. amount, currency, settlementConfig and destinationConfig are written once here (by a trusted API-key caller) and are accepted by no later endpoint. mode is supplied in the URL path.
@@ -47,6 +48,12 @@ export interface FlowCreateRequest {
47
48
  * @memberof FlowCreateRequest
48
49
  */
49
50
  memo?: object;
51
+ /**
52
+ *
53
+ * @type {FlowFeeConfig}
54
+ * @memberof FlowCreateRequest
55
+ */
56
+ feeConfig?: FlowFeeConfig;
50
57
  /**
51
58
  * Seconds until the flow expires (default 3600, clamped server-side)
52
59
  * @type {number}
@@ -1,5 +1,6 @@
1
1
  import { exists } from '../runtime.js';
2
2
  import { DestinationConfigInputFromJSON, DestinationConfigInputToJSON } from './DestinationConfigInput.js';
3
+ import { FlowFeeConfigFromJSON, FlowFeeConfigToJSON } from './FlowFeeConfig.js';
3
4
  import { SettlementConfigInputFromJSON, SettlementConfigInputToJSON } from './SettlementConfigInput.js';
4
5
 
5
6
  /* tslint:disable */
@@ -16,6 +17,7 @@ function FlowCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
16
17
  'settlementConfig': SettlementConfigInputFromJSON(json['settlementConfig']),
17
18
  'destinationConfig': DestinationConfigInputFromJSON(json['destinationConfig']),
18
19
  'memo': !exists(json, 'memo') ? undefined : json['memo'],
20
+ 'feeConfig': !exists(json, 'feeConfig') ? undefined : FlowFeeConfigFromJSON(json['feeConfig']),
19
21
  'expiresIn': !exists(json, 'expiresIn') ? undefined : json['expiresIn'],
20
22
  };
21
23
  }
@@ -32,6 +34,7 @@ function FlowCreateRequestToJSON(value) {
32
34
  'settlementConfig': SettlementConfigInputToJSON(value.settlementConfig),
33
35
  'destinationConfig': DestinationConfigInputToJSON(value.destinationConfig),
34
36
  'memo': value.memo,
37
+ 'feeConfig': FlowFeeConfigToJSON(value.feeConfig),
35
38
  'expiresIn': value.expiresIn,
36
39
  };
37
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FlowCreateRequest.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowCreateRequest.ts"],"sourcesContent":null,"names":[],"mappings":";;;;AAAA;AAwEM,SAAU,yBAAyB,CAAC,IAAS,EAAA;AAC/C,IAAA,OAAO,8BAA8B,CAAC,IAAW,CAAC,CAAC;AACvD,CAAC;AAEe,SAAA,8BAA8B,CAAC,IAAS,EAAE,mBAA4B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AAK,CAAC,gBAAgB,CAAC;AACvE,QAAA,mBAAmB,EAAE,4BAA4B,CAAC,KAAK,CAAC,iBAAiB,CAAC;QAC1E,MAAM,EAAE,KAAK,CAAC,IAAI;AAClB,QAAA,WAAW,EAAE,mBAAmB,CAAC,KAAK,CAAC,SAAS,CAAC;QACjD,WAAW,EAAE,KAAK,CAAC,SAAS;KAC/B,CAAC;AACN;;;;"}
@@ -0,0 +1,33 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var FeeRecipientConfig = require('./FeeRecipientConfig.cjs');
6
+
7
+ /* tslint:disable */
8
+ function FlowFeeConfigFromJSON(json) {
9
+ return FlowFeeConfigFromJSONTyped(json);
10
+ }
11
+ function FlowFeeConfigFromJSONTyped(json, ignoreDiscriminator) {
12
+ if ((json === undefined) || (json === null)) {
13
+ return json;
14
+ }
15
+ return {
16
+ 'recipients': (json['recipients'].map(FeeRecipientConfig.FeeRecipientConfigFromJSON)),
17
+ };
18
+ }
19
+ function FlowFeeConfigToJSON(value) {
20
+ if (value === undefined) {
21
+ return undefined;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ 'recipients': (value.recipients.map(FeeRecipientConfig.FeeRecipientConfigToJSON)),
28
+ };
29
+ }
30
+
31
+ exports.FlowFeeConfigFromJSON = FlowFeeConfigFromJSON;
32
+ exports.FlowFeeConfigFromJSONTyped = FlowFeeConfigFromJSONTyped;
33
+ exports.FlowFeeConfigToJSON = FlowFeeConfigToJSON;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowFeeConfig.cjs","sources":["../../../../../libs/sdk-api-core/src/models/FlowFeeConfig.ts"],"sourcesContent":null,"names":["FeeRecipientConfigFromJSON","FeeRecipientConfigToJSON"],"mappings":";;;;;;AAAA;AAoCM,SAAU,qBAAqB,CAAC,IAAS,EAAA;AAC3C,IAAA,OAAO,0BAA0B,CAAC,IAAW,CAAC,CAAC;AACnD,CAAC;AAEe,SAAA,0BAA0B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC9E,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,YAAY,GAAI,IAAI,CAAC,YAAY,CAAgB,CAAC,GAAG,CAACA,6CAA0B,CAAC,CAAC;KACrF,CAAC;AACN,CAAC;AAEK,SAAU,mBAAmB,CAAC,KAA4B,EAAA;AAC5D,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,YAAY,GAAI,KAAK,CAAC,UAAyB,CAAC,GAAG,CAACC,2CAAwB,CAAC,CAAC;KACjF,CAAC;AACN;;;;;;"}
@@ -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 { FeeRecipientConfig } from './FeeRecipientConfig';
13
+ /**
14
+ * Fee collection configuration specifying recipients and their shares.
15
+ * @export
16
+ * @interface FlowFeeConfig
17
+ */
18
+ export interface FlowFeeConfig {
19
+ /**
20
+ * Fee recipients (1–10) who each receive a share of the source amount on swaps
21
+ * @type {Array<FeeRecipientConfig>}
22
+ * @memberof FlowFeeConfig
23
+ */
24
+ recipients: Array<FeeRecipientConfig>;
25
+ }
26
+ export declare function FlowFeeConfigFromJSON(json: any): FlowFeeConfig;
27
+ export declare function FlowFeeConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowFeeConfig;
28
+ export declare function FlowFeeConfigToJSON(value?: FlowFeeConfig | null): any;
@@ -0,0 +1,27 @@
1
+ import { FeeRecipientConfigFromJSON, FeeRecipientConfigToJSON } from './FeeRecipientConfig.js';
2
+
3
+ /* tslint:disable */
4
+ function FlowFeeConfigFromJSON(json) {
5
+ return FlowFeeConfigFromJSONTyped(json);
6
+ }
7
+ function FlowFeeConfigFromJSONTyped(json, ignoreDiscriminator) {
8
+ if ((json === undefined) || (json === null)) {
9
+ return json;
10
+ }
11
+ return {
12
+ 'recipients': (json['recipients'].map(FeeRecipientConfigFromJSON)),
13
+ };
14
+ }
15
+ function FlowFeeConfigToJSON(value) {
16
+ if (value === undefined) {
17
+ return undefined;
18
+ }
19
+ if (value === null) {
20
+ return null;
21
+ }
22
+ return {
23
+ 'recipients': (value.recipients.map(FeeRecipientConfigToJSON)),
24
+ };
25
+ }
26
+
27
+ export { FlowFeeConfigFromJSON, FlowFeeConfigFromJSONTyped, FlowFeeConfigToJSON };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowFeeConfig.js","sources":["../../../../../libs/sdk-api-core/src/models/FlowFeeConfig.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAoCM,SAAU,qBAAqB,CAAC,IAAS,EAAA;AAC3C,IAAA,OAAO,0BAA0B,CAAC,IAAW,CAAC,CAAC;AACnD,CAAC;AAEe,SAAA,0BAA0B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC9E,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,YAAY,GAAI,IAAI,CAAC,YAAY,CAAgB,CAAC,GAAG,CAAC,0BAA0B,CAAC,CAAC;KACrF,CAAC;AACN,CAAC;AAEK,SAAU,mBAAmB,CAAC,KAA4B,EAAA;AAC5D,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,YAAY,GAAI,KAAK,CAAC,UAAyB,CAAC,GAAG,CAAC,wBAAwB,CAAC,CAAC;KACjF,CAAC;AACN;;;;"}
@@ -1,5 +1,7 @@
1
1
  export * from './Account';
2
2
  export * from './AccountBalances';
3
+ export * from './AddBusinessAccountMemberSdkRequest';
4
+ export * from './AddBusinessAccountSignerSdkRequest';
3
5
  export * from './AleoCuratedPricesResponse';
4
6
  export * from './AleoCuratedPricesResponseResult';
5
7
  export * from './AleoCuratedTokenPrice';
@@ -31,6 +33,14 @@ export * from './BadGateway';
31
33
  export * from './BadRequest';
32
34
  export * from './BaseUser';
33
35
  export * from './BlockaidValidation';
36
+ export * from './BusinessAccount';
37
+ export * from './BusinessAccountDetail';
38
+ export * from './BusinessAccountDetailAllOf';
39
+ export * from './BusinessAccountList';
40
+ export * from './BusinessAccountMember';
41
+ export * from './BusinessAccountMemberRole';
42
+ export * from './BusinessAccountSigner';
43
+ export * from './BusinessAccountSignerType';
34
44
  export * from './ChainConfiguration';
35
45
  export * from './ChainDestinationConfig';
36
46
  export * from './ChainEnum';
@@ -60,6 +70,7 @@ export * from './CoinbaseOnrampOrderStatus';
60
70
  export * from './CompletePasskeyRecoveryRequest';
61
71
  export * from './Conflict';
62
72
  export * from './ConnectRequest';
73
+ export * from './CreateBusinessAccountSdkRequest';
63
74
  export * from './CreateEmbeddedWalletParams';
64
75
  export * from './CreateEmbeddedWalletSpecificOpts';
65
76
  export * from './CreateEmbeddedWalletsRequest';
@@ -137,6 +148,7 @@ export * from './ExternalWalletFundingDefaultSettingsToken';
137
148
  export * from './ExternalWalletFundingTokenRule';
138
149
  export * from './FarcasterSignInRequest';
139
150
  export * from './FeatureFlags';
151
+ export * from './FeeRecipientConfig';
140
152
  export * from './Flow';
141
153
  export * from './FlowAttachSourceRequest';
142
154
  export * from './FlowCreateRequest';
@@ -145,6 +157,7 @@ export * from './FlowExchangeSource';
145
157
  export * from './FlowExecutionStateEnum';
146
158
  export * from './FlowFailure';
147
159
  export * from './FlowFeeBreakdown';
160
+ export * from './FlowFeeConfig';
148
161
  export * from './FlowGasEstimate';
149
162
  export * from './FlowModeEnum';
150
163
  export * from './FlowPrepareSigningRequest';