@dynamic-labs/sdk-api 0.0.1061 → 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.
- package/package.json +1 -1
- package/src/index.cjs +8 -0
- package/src/index.js +2 -0
- package/src/models/FeeRecipientConfig.cjs +45 -0
- package/src/models/FeeRecipientConfig.d.ts +33 -0
- package/src/models/FeeRecipientConfig.js +39 -0
- package/src/models/FlowCreateRequest.cjs +3 -0
- package/src/models/FlowCreateRequest.d.ts +7 -0
- package/src/models/FlowCreateRequest.js +3 -0
- package/src/models/FlowFeeConfig.cjs +33 -0
- package/src/models/FlowFeeConfig.d.ts +28 -0
- package/src/models/FlowFeeConfig.js +27 -0
- package/src/models/index.d.ts +2 -0
package/package.json
CHANGED
package/src/index.cjs
CHANGED
|
@@ -300,6 +300,7 @@ var ExternalWalletFundingDefaultSettingsToken = require('./models/ExternalWallet
|
|
|
300
300
|
var ExternalWalletFundingTokenRule = require('./models/ExternalWalletFundingTokenRule.cjs');
|
|
301
301
|
var FarcasterSignInRequest = require('./models/FarcasterSignInRequest.cjs');
|
|
302
302
|
var FeatureFlags = require('./models/FeatureFlags.cjs');
|
|
303
|
+
var FeeRecipientConfig = require('./models/FeeRecipientConfig.cjs');
|
|
303
304
|
var Flow = require('./models/Flow.cjs');
|
|
304
305
|
var FlowAnalyticsSummaryResponse = require('./models/FlowAnalyticsSummaryResponse.cjs');
|
|
305
306
|
var FlowAnalyticsSummaryResponseCumulativeVolume = require('./models/FlowAnalyticsSummaryResponseCumulativeVolume.cjs');
|
|
@@ -319,6 +320,7 @@ var FlowExchangeSource = require('./models/FlowExchangeSource.cjs');
|
|
|
319
320
|
var FlowExecutionStateEnum = require('./models/FlowExecutionStateEnum.cjs');
|
|
320
321
|
var FlowFailure = require('./models/FlowFailure.cjs');
|
|
321
322
|
var FlowFeeBreakdown = require('./models/FlowFeeBreakdown.cjs');
|
|
323
|
+
var FlowFeeConfig = require('./models/FlowFeeConfig.cjs');
|
|
322
324
|
var FlowGasEstimate = require('./models/FlowGasEstimate.cjs');
|
|
323
325
|
var FlowListItem = require('./models/FlowListItem.cjs');
|
|
324
326
|
var FlowListItemFailure = require('./models/FlowListItemFailure.cjs');
|
|
@@ -1862,6 +1864,9 @@ exports.FarcasterSignInRequestToJSON = FarcasterSignInRequest.FarcasterSignInReq
|
|
|
1862
1864
|
exports.FeatureFlagsFromJSON = FeatureFlags.FeatureFlagsFromJSON;
|
|
1863
1865
|
exports.FeatureFlagsFromJSONTyped = FeatureFlags.FeatureFlagsFromJSONTyped;
|
|
1864
1866
|
exports.FeatureFlagsToJSON = FeatureFlags.FeatureFlagsToJSON;
|
|
1867
|
+
exports.FeeRecipientConfigFromJSON = FeeRecipientConfig.FeeRecipientConfigFromJSON;
|
|
1868
|
+
exports.FeeRecipientConfigFromJSONTyped = FeeRecipientConfig.FeeRecipientConfigFromJSONTyped;
|
|
1869
|
+
exports.FeeRecipientConfigToJSON = FeeRecipientConfig.FeeRecipientConfigToJSON;
|
|
1865
1870
|
exports.FlowFromJSON = Flow.FlowFromJSON;
|
|
1866
1871
|
exports.FlowFromJSONTyped = Flow.FlowFromJSONTyped;
|
|
1867
1872
|
exports.FlowToJSON = Flow.FlowToJSON;
|
|
@@ -1927,6 +1932,9 @@ exports.FlowFailureToJSON = FlowFailure.FlowFailureToJSON;
|
|
|
1927
1932
|
exports.FlowFeeBreakdownFromJSON = FlowFeeBreakdown.FlowFeeBreakdownFromJSON;
|
|
1928
1933
|
exports.FlowFeeBreakdownFromJSONTyped = FlowFeeBreakdown.FlowFeeBreakdownFromJSONTyped;
|
|
1929
1934
|
exports.FlowFeeBreakdownToJSON = FlowFeeBreakdown.FlowFeeBreakdownToJSON;
|
|
1935
|
+
exports.FlowFeeConfigFromJSON = FlowFeeConfig.FlowFeeConfigFromJSON;
|
|
1936
|
+
exports.FlowFeeConfigFromJSONTyped = FlowFeeConfig.FlowFeeConfigFromJSONTyped;
|
|
1937
|
+
exports.FlowFeeConfigToJSON = FlowFeeConfig.FlowFeeConfigToJSON;
|
|
1930
1938
|
exports.FlowGasEstimateFromJSON = FlowGasEstimate.FlowGasEstimateFromJSON;
|
|
1931
1939
|
exports.FlowGasEstimateFromJSONTyped = FlowGasEstimate.FlowGasEstimateFromJSONTyped;
|
|
1932
1940
|
exports.FlowGasEstimateToJSON = FlowGasEstimate.FlowGasEstimateToJSON;
|
package/src/index.js
CHANGED
|
@@ -296,6 +296,7 @@ export { ExternalWalletFundingDefaultSettingsTokenFromJSON, ExternalWalletFundin
|
|
|
296
296
|
export { ExternalWalletFundingTokenRule, ExternalWalletFundingTokenRuleFromJSON, ExternalWalletFundingTokenRuleFromJSONTyped, ExternalWalletFundingTokenRuleToJSON } from './models/ExternalWalletFundingTokenRule.js';
|
|
297
297
|
export { FarcasterSignInRequestFromJSON, FarcasterSignInRequestFromJSONTyped, FarcasterSignInRequestToJSON } from './models/FarcasterSignInRequest.js';
|
|
298
298
|
export { FeatureFlagsFromJSON, FeatureFlagsFromJSONTyped, FeatureFlagsToJSON } from './models/FeatureFlags.js';
|
|
299
|
+
export { FeeRecipientConfigFromJSON, FeeRecipientConfigFromJSONTyped, FeeRecipientConfigToJSON } from './models/FeeRecipientConfig.js';
|
|
299
300
|
export { FlowFromJSON, FlowFromJSONTyped, FlowToJSON } from './models/Flow.js';
|
|
300
301
|
export { FlowAnalyticsSummaryResponseFromJSON, FlowAnalyticsSummaryResponseFromJSONTyped, FlowAnalyticsSummaryResponseHealthStatusEnum, FlowAnalyticsSummaryResponseToJSON } from './models/FlowAnalyticsSummaryResponse.js';
|
|
301
302
|
export { FlowAnalyticsSummaryResponseCumulativeVolumeFromJSON, FlowAnalyticsSummaryResponseCumulativeVolumeFromJSONTyped, FlowAnalyticsSummaryResponseCumulativeVolumeToJSON } from './models/FlowAnalyticsSummaryResponseCumulativeVolume.js';
|
|
@@ -315,6 +316,7 @@ export { FlowExchangeSourceFromJSON, FlowExchangeSourceFromJSONTyped, FlowExchan
|
|
|
315
316
|
export { FlowExecutionStateEnum, FlowExecutionStateEnumFromJSON, FlowExecutionStateEnumFromJSONTyped, FlowExecutionStateEnumToJSON } from './models/FlowExecutionStateEnum.js';
|
|
316
317
|
export { FlowFailureFromJSON, FlowFailureFromJSONTyped, FlowFailureToJSON } from './models/FlowFailure.js';
|
|
317
318
|
export { FlowFeeBreakdownFromJSON, FlowFeeBreakdownFromJSONTyped, FlowFeeBreakdownToJSON } from './models/FlowFeeBreakdown.js';
|
|
319
|
+
export { FlowFeeConfigFromJSON, FlowFeeConfigFromJSONTyped, FlowFeeConfigToJSON } from './models/FlowFeeConfig.js';
|
|
318
320
|
export { FlowGasEstimateFromJSON, FlowGasEstimateFromJSONTyped, FlowGasEstimateToJSON } from './models/FlowGasEstimate.js';
|
|
319
321
|
export { FlowListItemFromJSON, FlowListItemFromJSONTyped, FlowListItemSourceTypeEnum, FlowListItemToJSON } from './models/FlowListItem.js';
|
|
320
322
|
export { FlowListItemFailureFromJSON, FlowListItemFailureFromJSONTyped, FlowListItemFailureToJSON } from './models/FlowListItemFailure.js';
|
|
@@ -0,0 +1,45 @@
|
|
|
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 FeeRecipientConfigFromJSON(json) {
|
|
19
|
+
return FeeRecipientConfigFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function FeeRecipientConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'percentage': json['percentage'],
|
|
27
|
+
'walletAddress': json['walletAddress'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function FeeRecipientConfigToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'percentage': value.percentage,
|
|
39
|
+
'walletAddress': value.walletAddress,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.FeeRecipientConfigFromJSON = FeeRecipientConfigFromJSON;
|
|
44
|
+
exports.FeeRecipientConfigFromJSONTyped = FeeRecipientConfigFromJSONTyped;
|
|
45
|
+
exports.FeeRecipientConfigToJSON = FeeRecipientConfigToJSON;
|
|
@@ -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 };
|
|
@@ -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
|
}
|
|
@@ -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
|
}
|
|
@@ -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,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 };
|
package/src/models/index.d.ts
CHANGED
|
@@ -250,6 +250,7 @@ export * from './ExternalWalletFundingDefaultSettingsToken';
|
|
|
250
250
|
export * from './ExternalWalletFundingTokenRule';
|
|
251
251
|
export * from './FarcasterSignInRequest';
|
|
252
252
|
export * from './FeatureFlags';
|
|
253
|
+
export * from './FeeRecipientConfig';
|
|
253
254
|
export * from './Flow';
|
|
254
255
|
export * from './FlowAnalyticsSummaryResponse';
|
|
255
256
|
export * from './FlowAnalyticsSummaryResponseCumulativeVolume';
|
|
@@ -269,6 +270,7 @@ export * from './FlowExchangeSource';
|
|
|
269
270
|
export * from './FlowExecutionStateEnum';
|
|
270
271
|
export * from './FlowFailure';
|
|
271
272
|
export * from './FlowFeeBreakdown';
|
|
273
|
+
export * from './FlowFeeConfig';
|
|
272
274
|
export * from './FlowGasEstimate';
|
|
273
275
|
export * from './FlowListItem';
|
|
274
276
|
export * from './FlowListItemFailure';
|