@dynamic-labs/sdk-api 0.0.1066 → 0.0.1068
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 +28 -0
- package/src/index.js +7 -0
- package/src/models/FlowFeeClaimRequest.cjs +37 -0
- package/src/models/FlowFeeClaimRequest.d.ts +39 -0
- package/src/models/FlowFeeClaimRequest.js +31 -0
- package/src/models/FlowFeeClaimResponse.cjs +35 -0
- package/src/models/FlowFeeClaimResponse.d.ts +34 -0
- package/src/models/FlowFeeClaimResponse.js +29 -0
- package/src/models/FlowFeeClaimSignature.cjs +45 -0
- package/src/models/FlowFeeClaimSignature.d.ts +33 -0
- package/src/models/FlowFeeClaimSignature.js +39 -0
- package/src/models/FlowFeeClaimStep.cjs +49 -0
- package/src/models/FlowFeeClaimStep.d.ts +45 -0
- package/src/models/FlowFeeClaimStep.js +43 -0
- package/src/models/FlowFeeClaimSubmitRequest.cjs +35 -0
- package/src/models/FlowFeeClaimSubmitRequest.d.ts +34 -0
- package/src/models/FlowFeeClaimSubmitRequest.js +29 -0
- package/src/models/FlowFeeClaimSubmitResponse.cjs +35 -0
- package/src/models/FlowFeeClaimSubmitResponse.d.ts +33 -0
- package/src/models/FlowFeeClaimSubmitResponse.js +29 -0
- package/src/models/HCaptchaSettings.d.ts +1 -1
- package/src/models/ProjectSettingsCaptcha.cjs +38 -0
- package/src/models/ProjectSettingsCaptcha.d.ts +40 -0
- package/src/models/ProjectSettingsCaptcha.js +32 -0
- package/src/models/ProjectSettingsSecurity.cjs +3 -0
- package/src/models/ProjectSettingsSecurity.d.ts +7 -0
- package/src/models/ProjectSettingsSecurity.js +3 -0
- package/src/models/index.d.ts +7 -0
package/package.json
CHANGED
package/src/index.cjs
CHANGED
|
@@ -322,6 +322,12 @@ var FlowExchangeSource = require('./models/FlowExchangeSource.cjs');
|
|
|
322
322
|
var FlowExecutionStateEnum = require('./models/FlowExecutionStateEnum.cjs');
|
|
323
323
|
var FlowFailure = require('./models/FlowFailure.cjs');
|
|
324
324
|
var FlowFeeBreakdown = require('./models/FlowFeeBreakdown.cjs');
|
|
325
|
+
var FlowFeeClaimRequest = require('./models/FlowFeeClaimRequest.cjs');
|
|
326
|
+
var FlowFeeClaimResponse = require('./models/FlowFeeClaimResponse.cjs');
|
|
327
|
+
var FlowFeeClaimSignature = require('./models/FlowFeeClaimSignature.cjs');
|
|
328
|
+
var FlowFeeClaimStep = require('./models/FlowFeeClaimStep.cjs');
|
|
329
|
+
var FlowFeeClaimSubmitRequest = require('./models/FlowFeeClaimSubmitRequest.cjs');
|
|
330
|
+
var FlowFeeClaimSubmitResponse = require('./models/FlowFeeClaimSubmitResponse.cjs');
|
|
325
331
|
var FlowFeeConfig = require('./models/FlowFeeConfig.cjs');
|
|
326
332
|
var FlowGasEstimate = require('./models/FlowGasEstimate.cjs');
|
|
327
333
|
var FlowListItem = require('./models/FlowListItem.cjs');
|
|
@@ -540,6 +546,7 @@ var ProjectEnvironment = require('./models/ProjectEnvironment.cjs');
|
|
|
540
546
|
var ProjectProjectEnvironments = require('./models/ProjectProjectEnvironments.cjs');
|
|
541
547
|
var ProjectRequest = require('./models/ProjectRequest.cjs');
|
|
542
548
|
var ProjectSettings = require('./models/ProjectSettings.cjs');
|
|
549
|
+
var ProjectSettingsCaptcha = require('./models/ProjectSettingsCaptcha.cjs');
|
|
543
550
|
var ProjectSettingsChains = require('./models/ProjectSettingsChains.cjs');
|
|
544
551
|
var ProjectSettingsDesign = require('./models/ProjectSettingsDesign.cjs');
|
|
545
552
|
var ProjectSettingsDesignButton = require('./models/ProjectSettingsDesignButton.cjs');
|
|
@@ -1940,6 +1947,24 @@ exports.FlowFailureToJSON = FlowFailure.FlowFailureToJSON;
|
|
|
1940
1947
|
exports.FlowFeeBreakdownFromJSON = FlowFeeBreakdown.FlowFeeBreakdownFromJSON;
|
|
1941
1948
|
exports.FlowFeeBreakdownFromJSONTyped = FlowFeeBreakdown.FlowFeeBreakdownFromJSONTyped;
|
|
1942
1949
|
exports.FlowFeeBreakdownToJSON = FlowFeeBreakdown.FlowFeeBreakdownToJSON;
|
|
1950
|
+
exports.FlowFeeClaimRequestFromJSON = FlowFeeClaimRequest.FlowFeeClaimRequestFromJSON;
|
|
1951
|
+
exports.FlowFeeClaimRequestFromJSONTyped = FlowFeeClaimRequest.FlowFeeClaimRequestFromJSONTyped;
|
|
1952
|
+
exports.FlowFeeClaimRequestToJSON = FlowFeeClaimRequest.FlowFeeClaimRequestToJSON;
|
|
1953
|
+
exports.FlowFeeClaimResponseFromJSON = FlowFeeClaimResponse.FlowFeeClaimResponseFromJSON;
|
|
1954
|
+
exports.FlowFeeClaimResponseFromJSONTyped = FlowFeeClaimResponse.FlowFeeClaimResponseFromJSONTyped;
|
|
1955
|
+
exports.FlowFeeClaimResponseToJSON = FlowFeeClaimResponse.FlowFeeClaimResponseToJSON;
|
|
1956
|
+
exports.FlowFeeClaimSignatureFromJSON = FlowFeeClaimSignature.FlowFeeClaimSignatureFromJSON;
|
|
1957
|
+
exports.FlowFeeClaimSignatureFromJSONTyped = FlowFeeClaimSignature.FlowFeeClaimSignatureFromJSONTyped;
|
|
1958
|
+
exports.FlowFeeClaimSignatureToJSON = FlowFeeClaimSignature.FlowFeeClaimSignatureToJSON;
|
|
1959
|
+
exports.FlowFeeClaimStepFromJSON = FlowFeeClaimStep.FlowFeeClaimStepFromJSON;
|
|
1960
|
+
exports.FlowFeeClaimStepFromJSONTyped = FlowFeeClaimStep.FlowFeeClaimStepFromJSONTyped;
|
|
1961
|
+
exports.FlowFeeClaimStepToJSON = FlowFeeClaimStep.FlowFeeClaimStepToJSON;
|
|
1962
|
+
exports.FlowFeeClaimSubmitRequestFromJSON = FlowFeeClaimSubmitRequest.FlowFeeClaimSubmitRequestFromJSON;
|
|
1963
|
+
exports.FlowFeeClaimSubmitRequestFromJSONTyped = FlowFeeClaimSubmitRequest.FlowFeeClaimSubmitRequestFromJSONTyped;
|
|
1964
|
+
exports.FlowFeeClaimSubmitRequestToJSON = FlowFeeClaimSubmitRequest.FlowFeeClaimSubmitRequestToJSON;
|
|
1965
|
+
exports.FlowFeeClaimSubmitResponseFromJSON = FlowFeeClaimSubmitResponse.FlowFeeClaimSubmitResponseFromJSON;
|
|
1966
|
+
exports.FlowFeeClaimSubmitResponseFromJSONTyped = FlowFeeClaimSubmitResponse.FlowFeeClaimSubmitResponseFromJSONTyped;
|
|
1967
|
+
exports.FlowFeeClaimSubmitResponseToJSON = FlowFeeClaimSubmitResponse.FlowFeeClaimSubmitResponseToJSON;
|
|
1943
1968
|
exports.FlowFeeConfigFromJSON = FlowFeeConfig.FlowFeeConfigFromJSON;
|
|
1944
1969
|
exports.FlowFeeConfigFromJSONTyped = FlowFeeConfig.FlowFeeConfigFromJSONTyped;
|
|
1945
1970
|
exports.FlowFeeConfigToJSON = FlowFeeConfig.FlowFeeConfigToJSON;
|
|
@@ -2734,6 +2759,9 @@ exports.ProjectRequestToJSON = ProjectRequest.ProjectRequestToJSON;
|
|
|
2734
2759
|
exports.ProjectSettingsFromJSON = ProjectSettings.ProjectSettingsFromJSON;
|
|
2735
2760
|
exports.ProjectSettingsFromJSONTyped = ProjectSettings.ProjectSettingsFromJSONTyped;
|
|
2736
2761
|
exports.ProjectSettingsToJSON = ProjectSettings.ProjectSettingsToJSON;
|
|
2762
|
+
exports.ProjectSettingsCaptchaFromJSON = ProjectSettingsCaptcha.ProjectSettingsCaptchaFromJSON;
|
|
2763
|
+
exports.ProjectSettingsCaptchaFromJSONTyped = ProjectSettingsCaptcha.ProjectSettingsCaptchaFromJSONTyped;
|
|
2764
|
+
exports.ProjectSettingsCaptchaToJSON = ProjectSettingsCaptcha.ProjectSettingsCaptchaToJSON;
|
|
2737
2765
|
exports.ProjectSettingsChainsFromJSON = ProjectSettingsChains.ProjectSettingsChainsFromJSON;
|
|
2738
2766
|
exports.ProjectSettingsChainsFromJSONTyped = ProjectSettingsChains.ProjectSettingsChainsFromJSONTyped;
|
|
2739
2767
|
exports.ProjectSettingsChainsToJSON = ProjectSettingsChains.ProjectSettingsChainsToJSON;
|
package/src/index.js
CHANGED
|
@@ -318,6 +318,12 @@ export { FlowExchangeSourceFromJSON, FlowExchangeSourceFromJSONTyped, FlowExchan
|
|
|
318
318
|
export { FlowExecutionStateEnum, FlowExecutionStateEnumFromJSON, FlowExecutionStateEnumFromJSONTyped, FlowExecutionStateEnumToJSON } from './models/FlowExecutionStateEnum.js';
|
|
319
319
|
export { FlowFailureFromJSON, FlowFailureFromJSONTyped, FlowFailureToJSON } from './models/FlowFailure.js';
|
|
320
320
|
export { FlowFeeBreakdownFromJSON, FlowFeeBreakdownFromJSONTyped, FlowFeeBreakdownToJSON } from './models/FlowFeeBreakdown.js';
|
|
321
|
+
export { FlowFeeClaimRequestFromJSON, FlowFeeClaimRequestFromJSONTyped, FlowFeeClaimRequestToJSON } from './models/FlowFeeClaimRequest.js';
|
|
322
|
+
export { FlowFeeClaimResponseFromJSON, FlowFeeClaimResponseFromJSONTyped, FlowFeeClaimResponseToJSON } from './models/FlowFeeClaimResponse.js';
|
|
323
|
+
export { FlowFeeClaimSignatureFromJSON, FlowFeeClaimSignatureFromJSONTyped, FlowFeeClaimSignatureToJSON } from './models/FlowFeeClaimSignature.js';
|
|
324
|
+
export { FlowFeeClaimStepFromJSON, FlowFeeClaimStepFromJSONTyped, FlowFeeClaimStepToJSON } from './models/FlowFeeClaimStep.js';
|
|
325
|
+
export { FlowFeeClaimSubmitRequestFromJSON, FlowFeeClaimSubmitRequestFromJSONTyped, FlowFeeClaimSubmitRequestToJSON } from './models/FlowFeeClaimSubmitRequest.js';
|
|
326
|
+
export { FlowFeeClaimSubmitResponseFromJSON, FlowFeeClaimSubmitResponseFromJSONTyped, FlowFeeClaimSubmitResponseToJSON } from './models/FlowFeeClaimSubmitResponse.js';
|
|
321
327
|
export { FlowFeeConfigFromJSON, FlowFeeConfigFromJSONTyped, FlowFeeConfigToJSON } from './models/FlowFeeConfig.js';
|
|
322
328
|
export { FlowGasEstimateFromJSON, FlowGasEstimateFromJSONTyped, FlowGasEstimateToJSON } from './models/FlowGasEstimate.js';
|
|
323
329
|
export { FlowListItemFromJSON, FlowListItemFromJSONTyped, FlowListItemSourceTypeEnum, FlowListItemToJSON } from './models/FlowListItem.js';
|
|
@@ -536,6 +542,7 @@ export { ProjectEnvironmentFromJSON, ProjectEnvironmentFromJSONTyped, ProjectEnv
|
|
|
536
542
|
export { ProjectProjectEnvironmentsFromJSON, ProjectProjectEnvironmentsFromJSONTyped, ProjectProjectEnvironmentsToJSON } from './models/ProjectProjectEnvironments.js';
|
|
537
543
|
export { ProjectRequestFromJSON, ProjectRequestFromJSONTyped, ProjectRequestToJSON } from './models/ProjectRequest.js';
|
|
538
544
|
export { ProjectSettingsFromJSON, ProjectSettingsFromJSONTyped, ProjectSettingsToJSON } from './models/ProjectSettings.js';
|
|
545
|
+
export { ProjectSettingsCaptchaFromJSON, ProjectSettingsCaptchaFromJSONTyped, ProjectSettingsCaptchaToJSON } from './models/ProjectSettingsCaptcha.js';
|
|
539
546
|
export { ProjectSettingsChainsFromJSON, ProjectSettingsChainsFromJSONTyped, ProjectSettingsChainsToJSON } from './models/ProjectSettingsChains.js';
|
|
540
547
|
export { ProjectSettingsDesignFromJSON, ProjectSettingsDesignFromJSONTyped, ProjectSettingsDesignToJSON } from './models/ProjectSettingsDesign.js';
|
|
541
548
|
export { ProjectSettingsDesignButtonFromJSON, ProjectSettingsDesignButtonFromJSONTyped, ProjectSettingsDesignButtonToJSON } from './models/ProjectSettingsDesignButton.js';
|
|
@@ -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 FlowFeeClaimRequestFromJSON(json) {
|
|
9
|
+
return FlowFeeClaimRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function FlowFeeClaimRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'chainId': !runtime.exists(json, 'chainId') ? undefined : json['chainId'],
|
|
17
|
+
'recipientAddress': json['recipientAddress'],
|
|
18
|
+
'tokenAddress': !runtime.exists(json, 'tokenAddress') ? undefined : json['tokenAddress'],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function FlowFeeClaimRequestToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'chainId': value.chainId,
|
|
30
|
+
'recipientAddress': value.recipientAddress,
|
|
31
|
+
'tokenAddress': value.tokenAddress,
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
exports.FlowFeeClaimRequestFromJSON = FlowFeeClaimRequestFromJSON;
|
|
36
|
+
exports.FlowFeeClaimRequestFromJSONTyped = FlowFeeClaimRequestFromJSONTyped;
|
|
37
|
+
exports.FlowFeeClaimRequestToJSON = FlowFeeClaimRequestToJSON;
|
|
@@ -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
|
+
* Request to initiate a fee claim. Provider-agnostic: the caller only supplies the recipient address and the backend looks up unclaimed fee balances across every provider, returning a signing step for each. chainId and tokenAddress are optional filters to narrow the claim to a specific balance.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FlowFeeClaimRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface FlowFeeClaimRequest {
|
|
18
|
+
/**
|
|
19
|
+
* Optional filter — only claim balances settled on this chain
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FlowFeeClaimRequest
|
|
22
|
+
*/
|
|
23
|
+
chainId?: string;
|
|
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 FlowFeeClaimRequest
|
|
28
|
+
*/
|
|
29
|
+
recipientAddress: string;
|
|
30
|
+
/**
|
|
31
|
+
* Optional filter — only claim balances for this token contract address
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FlowFeeClaimRequest
|
|
34
|
+
*/
|
|
35
|
+
tokenAddress?: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function FlowFeeClaimRequestFromJSON(json: any): FlowFeeClaimRequest;
|
|
38
|
+
export declare function FlowFeeClaimRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowFeeClaimRequest;
|
|
39
|
+
export declare function FlowFeeClaimRequestToJSON(value?: FlowFeeClaimRequest | null): any;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function FlowFeeClaimRequestFromJSON(json) {
|
|
5
|
+
return FlowFeeClaimRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function FlowFeeClaimRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'chainId': !exists(json, 'chainId') ? undefined : json['chainId'],
|
|
13
|
+
'recipientAddress': json['recipientAddress'],
|
|
14
|
+
'tokenAddress': !exists(json, 'tokenAddress') ? undefined : json['tokenAddress'],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function FlowFeeClaimRequestToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'chainId': value.chainId,
|
|
26
|
+
'recipientAddress': value.recipientAddress,
|
|
27
|
+
'tokenAddress': value.tokenAddress,
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { FlowFeeClaimRequestFromJSON, FlowFeeClaimRequestFromJSONTyped, FlowFeeClaimRequestToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var FlowFeeClaimStep = require('./FlowFeeClaimStep.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function FlowFeeClaimResponseFromJSON(json) {
|
|
9
|
+
return FlowFeeClaimResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function FlowFeeClaimResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'requestId': json['requestId'],
|
|
17
|
+
'steps': (json['steps'].map(FlowFeeClaimStep.FlowFeeClaimStepFromJSON)),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function FlowFeeClaimResponseToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'requestId': value.requestId,
|
|
29
|
+
'steps': (value.steps.map(FlowFeeClaimStep.FlowFeeClaimStepToJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.FlowFeeClaimResponseFromJSON = FlowFeeClaimResponseFromJSON;
|
|
34
|
+
exports.FlowFeeClaimResponseFromJSONTyped = FlowFeeClaimResponseFromJSONTyped;
|
|
35
|
+
exports.FlowFeeClaimResponseToJSON = FlowFeeClaimResponseToJSON;
|
|
@@ -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 { FlowFeeClaimStep } from './FlowFeeClaimStep';
|
|
13
|
+
/**
|
|
14
|
+
* Instructions to complete a fee claim. Contains an opaque requestId that correlates the initiated claim on submit, and the steps the recipient must complete (one per claimable balance across all providers).
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FlowFeeClaimResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface FlowFeeClaimResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Opaque identifier correlating this initiated claim; echoed back on submit so the backend can resolve the provider(s) internally
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof FlowFeeClaimResponse
|
|
23
|
+
*/
|
|
24
|
+
requestId: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<FlowFeeClaimStep>}
|
|
28
|
+
* @memberof FlowFeeClaimResponse
|
|
29
|
+
*/
|
|
30
|
+
steps: Array<FlowFeeClaimStep>;
|
|
31
|
+
}
|
|
32
|
+
export declare function FlowFeeClaimResponseFromJSON(json: any): FlowFeeClaimResponse;
|
|
33
|
+
export declare function FlowFeeClaimResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowFeeClaimResponse;
|
|
34
|
+
export declare function FlowFeeClaimResponseToJSON(value?: FlowFeeClaimResponse | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FlowFeeClaimStepFromJSON, FlowFeeClaimStepToJSON } from './FlowFeeClaimStep.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function FlowFeeClaimResponseFromJSON(json) {
|
|
5
|
+
return FlowFeeClaimResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function FlowFeeClaimResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'requestId': json['requestId'],
|
|
13
|
+
'steps': (json['steps'].map(FlowFeeClaimStepFromJSON)),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function FlowFeeClaimResponseToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'requestId': value.requestId,
|
|
25
|
+
'steps': (value.steps.map(FlowFeeClaimStepToJSON)),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { FlowFeeClaimResponseFromJSON, FlowFeeClaimResponseFromJSONTyped, FlowFeeClaimResponseToJSON };
|
|
@@ -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 FlowFeeClaimSignatureFromJSON(json) {
|
|
19
|
+
return FlowFeeClaimSignatureFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function FlowFeeClaimSignatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'signature': json['signature'],
|
|
27
|
+
'stepId': json['stepId'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function FlowFeeClaimSignatureToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'signature': value.signature,
|
|
39
|
+
'stepId': value.stepId,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.FlowFeeClaimSignatureFromJSON = FlowFeeClaimSignatureFromJSON;
|
|
44
|
+
exports.FlowFeeClaimSignatureFromJSONTyped = FlowFeeClaimSignatureFromJSONTyped;
|
|
45
|
+
exports.FlowFeeClaimSignatureToJSON = FlowFeeClaimSignatureToJSON;
|
|
@@ -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 signature over a single claim step's payload.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FlowFeeClaimSignature
|
|
16
|
+
*/
|
|
17
|
+
export interface FlowFeeClaimSignature {
|
|
18
|
+
/**
|
|
19
|
+
* Signature the recipient produced over the step's payload
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FlowFeeClaimSignature
|
|
22
|
+
*/
|
|
23
|
+
signature: string;
|
|
24
|
+
/**
|
|
25
|
+
* The id of the FlowFeeClaimStep this signature corresponds to
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof FlowFeeClaimSignature
|
|
28
|
+
*/
|
|
29
|
+
stepId: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function FlowFeeClaimSignatureFromJSON(json: any): FlowFeeClaimSignature;
|
|
32
|
+
export declare function FlowFeeClaimSignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowFeeClaimSignature;
|
|
33
|
+
export declare function FlowFeeClaimSignatureToJSON(value?: FlowFeeClaimSignature | 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 FlowFeeClaimSignatureFromJSON(json) {
|
|
15
|
+
return FlowFeeClaimSignatureFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function FlowFeeClaimSignatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'signature': json['signature'],
|
|
23
|
+
'stepId': json['stepId'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function FlowFeeClaimSignatureToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'signature': value.signature,
|
|
35
|
+
'stepId': value.stepId,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { FlowFeeClaimSignatureFromJSON, FlowFeeClaimSignatureFromJSONTyped, FlowFeeClaimSignatureToJSON };
|
|
@@ -0,0 +1,49 @@
|
|
|
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 FlowFeeClaimStepFromJSON(json) {
|
|
19
|
+
return FlowFeeClaimStepFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function FlowFeeClaimStepFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'action': json['action'],
|
|
27
|
+
'data': json['data'],
|
|
28
|
+
'id': json['id'],
|
|
29
|
+
'type': json['type'],
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
function FlowFeeClaimStepToJSON(value) {
|
|
33
|
+
if (value === undefined) {
|
|
34
|
+
return undefined;
|
|
35
|
+
}
|
|
36
|
+
if (value === null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return {
|
|
40
|
+
'action': value.action,
|
|
41
|
+
'data': value.data,
|
|
42
|
+
'id': value.id,
|
|
43
|
+
'type': value.type,
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
exports.FlowFeeClaimStepFromJSON = FlowFeeClaimStepFromJSON;
|
|
48
|
+
exports.FlowFeeClaimStepFromJSONTyped = FlowFeeClaimStepFromJSONTyped;
|
|
49
|
+
exports.FlowFeeClaimStepToJSON = FlowFeeClaimStepToJSON;
|
|
@@ -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 single step the recipient completes to authorize a claim, typically a request to sign an opaque payload. Steps are executed against whichever provider holds the balance; that provider is an internal detail and is not surfaced to the caller.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FlowFeeClaimStep
|
|
16
|
+
*/
|
|
17
|
+
export interface FlowFeeClaimStep {
|
|
18
|
+
/**
|
|
19
|
+
* Human-readable description of the step
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FlowFeeClaimStep
|
|
22
|
+
*/
|
|
23
|
+
action: string;
|
|
24
|
+
/**
|
|
25
|
+
* Opaque payload the recipient must act on (e.g. sign)
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof FlowFeeClaimStep
|
|
28
|
+
*/
|
|
29
|
+
data: object;
|
|
30
|
+
/**
|
|
31
|
+
* Identifier for the step, echoed back when submitting its signature
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof FlowFeeClaimStep
|
|
34
|
+
*/
|
|
35
|
+
id: string;
|
|
36
|
+
/**
|
|
37
|
+
* The type of step, such as a signature request
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof FlowFeeClaimStep
|
|
40
|
+
*/
|
|
41
|
+
type: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function FlowFeeClaimStepFromJSON(json: any): FlowFeeClaimStep;
|
|
44
|
+
export declare function FlowFeeClaimStepFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowFeeClaimStep;
|
|
45
|
+
export declare function FlowFeeClaimStepToJSON(value?: FlowFeeClaimStep | null): any;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 FlowFeeClaimStepFromJSON(json) {
|
|
15
|
+
return FlowFeeClaimStepFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function FlowFeeClaimStepFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'action': json['action'],
|
|
23
|
+
'data': json['data'],
|
|
24
|
+
'id': json['id'],
|
|
25
|
+
'type': json['type'],
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
function FlowFeeClaimStepToJSON(value) {
|
|
29
|
+
if (value === undefined) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
if (value === null) {
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'action': value.action,
|
|
37
|
+
'data': value.data,
|
|
38
|
+
'id': value.id,
|
|
39
|
+
'type': value.type,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export { FlowFeeClaimStepFromJSON, FlowFeeClaimStepFromJSONTyped, FlowFeeClaimStepToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var FlowFeeClaimSignature = require('./FlowFeeClaimSignature.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function FlowFeeClaimSubmitRequestFromJSON(json) {
|
|
9
|
+
return FlowFeeClaimSubmitRequestFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function FlowFeeClaimSubmitRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'requestId': json['requestId'],
|
|
17
|
+
'signatures': (json['signatures'].map(FlowFeeClaimSignature.FlowFeeClaimSignatureFromJSON)),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function FlowFeeClaimSubmitRequestToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'requestId': value.requestId,
|
|
29
|
+
'signatures': (value.signatures.map(FlowFeeClaimSignature.FlowFeeClaimSignatureToJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.FlowFeeClaimSubmitRequestFromJSON = FlowFeeClaimSubmitRequestFromJSON;
|
|
34
|
+
exports.FlowFeeClaimSubmitRequestFromJSONTyped = FlowFeeClaimSubmitRequestFromJSONTyped;
|
|
35
|
+
exports.FlowFeeClaimSubmitRequestToJSON = FlowFeeClaimSubmitRequestToJSON;
|
|
@@ -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 { FlowFeeClaimSignature } from './FlowFeeClaimSignature';
|
|
13
|
+
/**
|
|
14
|
+
* Submit the signatures for a previously initiated claim. The backend resolves the provider(s) from the requestId and executes the claim(s).
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FlowFeeClaimSubmitRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface FlowFeeClaimSubmitRequest {
|
|
19
|
+
/**
|
|
20
|
+
* The requestId returned when the claim was initiated
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof FlowFeeClaimSubmitRequest
|
|
23
|
+
*/
|
|
24
|
+
requestId: string;
|
|
25
|
+
/**
|
|
26
|
+
* One signature per step returned by the claim initiation
|
|
27
|
+
* @type {Array<FlowFeeClaimSignature>}
|
|
28
|
+
* @memberof FlowFeeClaimSubmitRequest
|
|
29
|
+
*/
|
|
30
|
+
signatures: Array<FlowFeeClaimSignature>;
|
|
31
|
+
}
|
|
32
|
+
export declare function FlowFeeClaimSubmitRequestFromJSON(json: any): FlowFeeClaimSubmitRequest;
|
|
33
|
+
export declare function FlowFeeClaimSubmitRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowFeeClaimSubmitRequest;
|
|
34
|
+
export declare function FlowFeeClaimSubmitRequestToJSON(value?: FlowFeeClaimSubmitRequest | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FlowFeeClaimSignatureFromJSON, FlowFeeClaimSignatureToJSON } from './FlowFeeClaimSignature.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function FlowFeeClaimSubmitRequestFromJSON(json) {
|
|
5
|
+
return FlowFeeClaimSubmitRequestFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function FlowFeeClaimSubmitRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'requestId': json['requestId'],
|
|
13
|
+
'signatures': (json['signatures'].map(FlowFeeClaimSignatureFromJSON)),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function FlowFeeClaimSubmitRequestToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'requestId': value.requestId,
|
|
25
|
+
'signatures': (value.signatures.map(FlowFeeClaimSignatureToJSON)),
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { FlowFeeClaimSubmitRequestFromJSON, FlowFeeClaimSubmitRequestFromJSONTyped, FlowFeeClaimSubmitRequestToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function FlowFeeClaimSubmitResponseFromJSON(json) {
|
|
9
|
+
return FlowFeeClaimSubmitResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function FlowFeeClaimSubmitResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'status': json['status'],
|
|
17
|
+
'txHashes': !runtime.exists(json, 'txHashes') ? undefined : json['txHashes'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function FlowFeeClaimSubmitResponseToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'status': value.status,
|
|
29
|
+
'txHashes': value.txHashes,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.FlowFeeClaimSubmitResponseFromJSON = FlowFeeClaimSubmitResponseFromJSON;
|
|
34
|
+
exports.FlowFeeClaimSubmitResponseFromJSONTyped = FlowFeeClaimSubmitResponseFromJSONTyped;
|
|
35
|
+
exports.FlowFeeClaimSubmitResponseToJSON = FlowFeeClaimSubmitResponseToJSON;
|
|
@@ -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
|
+
* Result of submitting a fee claim.
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FlowFeeClaimSubmitResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface FlowFeeClaimSubmitResponse {
|
|
18
|
+
/**
|
|
19
|
+
* Status of the submitted claim
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FlowFeeClaimSubmitResponse
|
|
22
|
+
*/
|
|
23
|
+
status: string;
|
|
24
|
+
/**
|
|
25
|
+
* On-chain transaction hashes for any claims that settled on-chain
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof FlowFeeClaimSubmitResponse
|
|
28
|
+
*/
|
|
29
|
+
txHashes?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
export declare function FlowFeeClaimSubmitResponseFromJSON(json: any): FlowFeeClaimSubmitResponse;
|
|
32
|
+
export declare function FlowFeeClaimSubmitResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowFeeClaimSubmitResponse;
|
|
33
|
+
export declare function FlowFeeClaimSubmitResponseToJSON(value?: FlowFeeClaimSubmitResponse | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function FlowFeeClaimSubmitResponseFromJSON(json) {
|
|
5
|
+
return FlowFeeClaimSubmitResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function FlowFeeClaimSubmitResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'status': json['status'],
|
|
13
|
+
'txHashes': !exists(json, 'txHashes') ? undefined : json['txHashes'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function FlowFeeClaimSubmitResponseToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'status': value.status,
|
|
25
|
+
'txHashes': value.txHashes,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { FlowFeeClaimSubmitResponseFromJSON, FlowFeeClaimSubmitResponseFromJSONTyped, FlowFeeClaimSubmitResponseToJSON };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var CaptchaProviderEnum = require('./CaptchaProviderEnum.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function ProjectSettingsCaptchaFromJSON(json) {
|
|
10
|
+
return ProjectSettingsCaptchaFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function ProjectSettingsCaptchaFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'enabled': !runtime.exists(json, 'enabled') ? undefined : json['enabled'],
|
|
18
|
+
'provider': !runtime.exists(json, 'provider') ? undefined : CaptchaProviderEnum.CaptchaProviderEnumFromJSON(json['provider']),
|
|
19
|
+
'siteKey': !runtime.exists(json, 'siteKey') ? undefined : json['siteKey'],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function ProjectSettingsCaptchaToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'enabled': value.enabled,
|
|
31
|
+
'provider': CaptchaProviderEnum.CaptchaProviderEnumToJSON(value.provider),
|
|
32
|
+
'siteKey': value.siteKey,
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
exports.ProjectSettingsCaptchaFromJSON = ProjectSettingsCaptchaFromJSON;
|
|
37
|
+
exports.ProjectSettingsCaptchaFromJSONTyped = ProjectSettingsCaptchaFromJSONTyped;
|
|
38
|
+
exports.ProjectSettingsCaptchaToJSON = ProjectSettingsCaptchaToJSON;
|
|
@@ -0,0 +1,40 @@
|
|
|
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 { CaptchaProviderEnum } from './CaptchaProviderEnum';
|
|
13
|
+
/**
|
|
14
|
+
* Active captcha configuration for the environment, regardless of provider. The SDK uses the provider and public site key to render the captcha widget. Replaces the deprecated `security.hCaptcha`.
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ProjectSettingsCaptcha
|
|
17
|
+
*/
|
|
18
|
+
export interface ProjectSettingsCaptcha {
|
|
19
|
+
/**
|
|
20
|
+
* Whether captcha verification is enabled
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof ProjectSettingsCaptcha
|
|
23
|
+
*/
|
|
24
|
+
enabled?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {CaptchaProviderEnum}
|
|
28
|
+
* @memberof ProjectSettingsCaptcha
|
|
29
|
+
*/
|
|
30
|
+
provider?: CaptchaProviderEnum;
|
|
31
|
+
/**
|
|
32
|
+
* Public site key used to render the captcha widget
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ProjectSettingsCaptcha
|
|
35
|
+
*/
|
|
36
|
+
siteKey?: string;
|
|
37
|
+
}
|
|
38
|
+
export declare function ProjectSettingsCaptchaFromJSON(json: any): ProjectSettingsCaptcha;
|
|
39
|
+
export declare function ProjectSettingsCaptchaFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProjectSettingsCaptcha;
|
|
40
|
+
export declare function ProjectSettingsCaptchaToJSON(value?: ProjectSettingsCaptcha | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { CaptchaProviderEnumFromJSON, CaptchaProviderEnumToJSON } from './CaptchaProviderEnum.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function ProjectSettingsCaptchaFromJSON(json) {
|
|
6
|
+
return ProjectSettingsCaptchaFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function ProjectSettingsCaptchaFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'enabled': !exists(json, 'enabled') ? undefined : json['enabled'],
|
|
14
|
+
'provider': !exists(json, 'provider') ? undefined : CaptchaProviderEnumFromJSON(json['provider']),
|
|
15
|
+
'siteKey': !exists(json, 'siteKey') ? undefined : json['siteKey'],
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function ProjectSettingsCaptchaToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'enabled': value.enabled,
|
|
27
|
+
'provider': CaptchaProviderEnumToJSON(value.provider),
|
|
28
|
+
'siteKey': value.siteKey,
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { ProjectSettingsCaptchaFromJSON, ProjectSettingsCaptchaFromJSONTyped, ProjectSettingsCaptchaToJSON };
|
|
@@ -8,6 +8,7 @@ var Duration = require('./Duration.cjs');
|
|
|
8
8
|
var ExternalAuth = require('./ExternalAuth.cjs');
|
|
9
9
|
var HCaptchaSettings = require('./HCaptchaSettings.cjs');
|
|
10
10
|
var MFASettings = require('./MFASettings.cjs');
|
|
11
|
+
var ProjectSettingsCaptcha = require('./ProjectSettingsCaptcha.cjs');
|
|
11
12
|
var SecurityNotifications = require('./SecurityNotifications.cjs');
|
|
12
13
|
|
|
13
14
|
/* tslint:disable */
|
|
@@ -21,6 +22,7 @@ function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
22
|
return {
|
|
22
23
|
'jwtDuration': !runtime.exists(json, 'jwtDuration') ? undefined : Duration.DurationFromJSON(json['jwtDuration']),
|
|
23
24
|
'hCaptcha': !runtime.exists(json, 'hCaptcha') ? undefined : HCaptchaSettings.HCaptchaSettingsFromJSON(json['hCaptcha']),
|
|
25
|
+
'captcha': !runtime.exists(json, 'captcha') ? undefined : ProjectSettingsCaptcha.ProjectSettingsCaptchaFromJSON(json['captcha']),
|
|
24
26
|
'mfa': !runtime.exists(json, 'mfa') ? undefined : MFASettings.MFASettingsFromJSON(json['mfa']),
|
|
25
27
|
'auth': !runtime.exists(json, 'auth') ? undefined : AuthSettings.AuthSettingsFromJSON(json['auth']),
|
|
26
28
|
'externalAuth': !runtime.exists(json, 'externalAuth') ? undefined : ExternalAuth.ExternalAuthFromJSON(json['externalAuth']),
|
|
@@ -39,6 +41,7 @@ function ProjectSettingsSecurityToJSON(value) {
|
|
|
39
41
|
return {
|
|
40
42
|
'jwtDuration': Duration.DurationToJSON(value.jwtDuration),
|
|
41
43
|
'hCaptcha': HCaptchaSettings.HCaptchaSettingsToJSON(value.hCaptcha),
|
|
44
|
+
'captcha': ProjectSettingsCaptcha.ProjectSettingsCaptchaToJSON(value.captcha),
|
|
42
45
|
'mfa': MFASettings.MFASettingsToJSON(value.mfa),
|
|
43
46
|
'auth': AuthSettings.AuthSettingsToJSON(value.auth),
|
|
44
47
|
'externalAuth': ExternalAuth.ExternalAuthToJSON(value.externalAuth),
|
|
@@ -14,6 +14,7 @@ import { Duration } from './Duration';
|
|
|
14
14
|
import { ExternalAuth } from './ExternalAuth';
|
|
15
15
|
import { HCaptchaSettings } from './HCaptchaSettings';
|
|
16
16
|
import { MFASettings } from './MFASettings';
|
|
17
|
+
import { ProjectSettingsCaptcha } from './ProjectSettingsCaptcha';
|
|
17
18
|
import { SecurityNotifications } from './SecurityNotifications';
|
|
18
19
|
/**
|
|
19
20
|
*
|
|
@@ -33,6 +34,12 @@ export interface ProjectSettingsSecurity {
|
|
|
33
34
|
* @memberof ProjectSettingsSecurity
|
|
34
35
|
*/
|
|
35
36
|
hCaptcha?: HCaptchaSettings;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ProjectSettingsCaptcha}
|
|
40
|
+
* @memberof ProjectSettingsSecurity
|
|
41
|
+
*/
|
|
42
|
+
captcha?: ProjectSettingsCaptcha;
|
|
36
43
|
/**
|
|
37
44
|
*
|
|
38
45
|
* @type {MFASettings}
|
|
@@ -4,6 +4,7 @@ import { DurationFromJSON, DurationToJSON } from './Duration.js';
|
|
|
4
4
|
import { ExternalAuthFromJSON, ExternalAuthToJSON } from './ExternalAuth.js';
|
|
5
5
|
import { HCaptchaSettingsFromJSON, HCaptchaSettingsToJSON } from './HCaptchaSettings.js';
|
|
6
6
|
import { MFASettingsFromJSON, MFASettingsToJSON } from './MFASettings.js';
|
|
7
|
+
import { ProjectSettingsCaptchaFromJSON, ProjectSettingsCaptchaToJSON } from './ProjectSettingsCaptcha.js';
|
|
7
8
|
import { SecurityNotificationsFromJSON, SecurityNotificationsToJSON } from './SecurityNotifications.js';
|
|
8
9
|
|
|
9
10
|
/* tslint:disable */
|
|
@@ -17,6 +18,7 @@ function ProjectSettingsSecurityFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
18
|
return {
|
|
18
19
|
'jwtDuration': !exists(json, 'jwtDuration') ? undefined : DurationFromJSON(json['jwtDuration']),
|
|
19
20
|
'hCaptcha': !exists(json, 'hCaptcha') ? undefined : HCaptchaSettingsFromJSON(json['hCaptcha']),
|
|
21
|
+
'captcha': !exists(json, 'captcha') ? undefined : ProjectSettingsCaptchaFromJSON(json['captcha']),
|
|
20
22
|
'mfa': !exists(json, 'mfa') ? undefined : MFASettingsFromJSON(json['mfa']),
|
|
21
23
|
'auth': !exists(json, 'auth') ? undefined : AuthSettingsFromJSON(json['auth']),
|
|
22
24
|
'externalAuth': !exists(json, 'externalAuth') ? undefined : ExternalAuthFromJSON(json['externalAuth']),
|
|
@@ -35,6 +37,7 @@ function ProjectSettingsSecurityToJSON(value) {
|
|
|
35
37
|
return {
|
|
36
38
|
'jwtDuration': DurationToJSON(value.jwtDuration),
|
|
37
39
|
'hCaptcha': HCaptchaSettingsToJSON(value.hCaptcha),
|
|
40
|
+
'captcha': ProjectSettingsCaptchaToJSON(value.captcha),
|
|
38
41
|
'mfa': MFASettingsToJSON(value.mfa),
|
|
39
42
|
'auth': AuthSettingsToJSON(value.auth),
|
|
40
43
|
'externalAuth': ExternalAuthToJSON(value.externalAuth),
|
package/src/models/index.d.ts
CHANGED
|
@@ -272,6 +272,12 @@ export * from './FlowExchangeSource';
|
|
|
272
272
|
export * from './FlowExecutionStateEnum';
|
|
273
273
|
export * from './FlowFailure';
|
|
274
274
|
export * from './FlowFeeBreakdown';
|
|
275
|
+
export * from './FlowFeeClaimRequest';
|
|
276
|
+
export * from './FlowFeeClaimResponse';
|
|
277
|
+
export * from './FlowFeeClaimSignature';
|
|
278
|
+
export * from './FlowFeeClaimStep';
|
|
279
|
+
export * from './FlowFeeClaimSubmitRequest';
|
|
280
|
+
export * from './FlowFeeClaimSubmitResponse';
|
|
275
281
|
export * from './FlowFeeConfig';
|
|
276
282
|
export * from './FlowGasEstimate';
|
|
277
283
|
export * from './FlowListItem';
|
|
@@ -490,6 +496,7 @@ export * from './ProjectEnvironment';
|
|
|
490
496
|
export * from './ProjectProjectEnvironments';
|
|
491
497
|
export * from './ProjectRequest';
|
|
492
498
|
export * from './ProjectSettings';
|
|
499
|
+
export * from './ProjectSettingsCaptcha';
|
|
493
500
|
export * from './ProjectSettingsChains';
|
|
494
501
|
export * from './ProjectSettingsDesign';
|
|
495
502
|
export * from './ProjectSettingsDesignButton';
|