@dynamic-labs/sdk-api 0.0.1100 → 0.0.1102
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/apis/SDKApi.cjs +105 -1
- package/src/apis/SDKApi.d.ts +42 -1
- package/src/apis/SDKApi.js +105 -1
- package/src/apis/ServerApi.cjs +387 -0
- package/src/apis/ServerApi.d.ts +117 -0
- package/src/apis/ServerApi.js +383 -0
- package/src/apis/index.d.ts +1 -0
- package/src/index.cjs +26 -0
- package/src/index.js +7 -0
- package/src/models/FlowPaymentLinkCreateRequest.cjs +52 -0
- package/src/models/FlowPaymentLinkCreateRequest.d.ts +78 -0
- package/src/models/FlowPaymentLinkCreateRequest.js +46 -0
- package/src/models/FlowPaymentLinkCreateRequestBaseFields.cjs +43 -0
- package/src/models/FlowPaymentLinkCreateRequestBaseFields.d.ts +27 -0
- package/src/models/FlowPaymentLinkCreateRequestBaseFields.js +37 -0
- package/src/models/FlowPaymentLinkCreateResponse.cjs +35 -0
- package/src/models/FlowPaymentLinkCreateResponse.d.ts +34 -0
- package/src/models/FlowPaymentLinkCreateResponse.js +29 -0
- package/src/models/FlowPaymentLinkCreateResponseExtraFields.cjs +43 -0
- package/src/models/FlowPaymentLinkCreateResponseExtraFields.d.ts +27 -0
- package/src/models/FlowPaymentLinkCreateResponseExtraFields.js +37 -0
- package/src/models/SoftDeleteWaasWalletsRequest.cjs +43 -0
- package/src/models/SoftDeleteWaasWalletsRequest.d.ts +27 -0
- package/src/models/SoftDeleteWaasWalletsRequest.js +37 -0
- package/src/models/SoftDeleteWaasWalletsResponse.cjs +35 -0
- package/src/models/SoftDeleteWaasWalletsResponse.d.ts +33 -0
- package/src/models/SoftDeleteWaasWalletsResponse.js +29 -0
- package/src/models/WaasPolicyRule.cjs +2 -0
- package/src/models/WaasPolicyRule.d.ts +6 -0
- package/src/models/WaasPolicyRule.js +2 -0
- package/src/models/index.d.ts +6 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { DestinationConfigInputFromJSON, DestinationConfigInputToJSON } from './DestinationConfigInput.js';
|
|
3
|
+
import { FlowFeeConfigFromJSON, FlowFeeConfigToJSON } from './FlowFeeConfig.js';
|
|
4
|
+
import { SettlementConfigInputFromJSON, SettlementConfigInputToJSON } from './SettlementConfigInput.js';
|
|
5
|
+
|
|
6
|
+
/* tslint:disable */
|
|
7
|
+
function FlowPaymentLinkCreateRequestFromJSON(json) {
|
|
8
|
+
return FlowPaymentLinkCreateRequestFromJSONTyped(json);
|
|
9
|
+
}
|
|
10
|
+
function FlowPaymentLinkCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if ((json === undefined) || (json === null)) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
'amount': json['amount'],
|
|
16
|
+
'currency': json['currency'],
|
|
17
|
+
'settlementConfig': SettlementConfigInputFromJSON(json['settlementConfig']),
|
|
18
|
+
'destinationConfig': DestinationConfigInputFromJSON(json['destinationConfig']),
|
|
19
|
+
'memo': !exists(json, 'memo') ? undefined : json['memo'],
|
|
20
|
+
'feeConfig': !exists(json, 'feeConfig') ? undefined : FlowFeeConfigFromJSON(json['feeConfig']),
|
|
21
|
+
'expiresIn': !exists(json, 'expiresIn') ? undefined : json['expiresIn'],
|
|
22
|
+
'pegStablecoins': !exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
|
|
23
|
+
'baseUrl': json['baseUrl'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function FlowPaymentLinkCreateRequestToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'amount': value.amount,
|
|
35
|
+
'currency': value.currency,
|
|
36
|
+
'settlementConfig': SettlementConfigInputToJSON(value.settlementConfig),
|
|
37
|
+
'destinationConfig': DestinationConfigInputToJSON(value.destinationConfig),
|
|
38
|
+
'memo': value.memo,
|
|
39
|
+
'feeConfig': FlowFeeConfigToJSON(value.feeConfig),
|
|
40
|
+
'expiresIn': value.expiresIn,
|
|
41
|
+
'pegStablecoins': value.pegStablecoins,
|
|
42
|
+
'baseUrl': value.baseUrl,
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export { FlowPaymentLinkCreateRequestFromJSON, FlowPaymentLinkCreateRequestFromJSONTyped, FlowPaymentLinkCreateRequestToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
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 FlowPaymentLinkCreateRequestBaseFieldsFromJSON(json) {
|
|
19
|
+
return FlowPaymentLinkCreateRequestBaseFieldsFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function FlowPaymentLinkCreateRequestBaseFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'baseUrl': json['baseUrl'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function FlowPaymentLinkCreateRequestBaseFieldsToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'baseUrl': value.baseUrl,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.FlowPaymentLinkCreateRequestBaseFieldsFromJSON = FlowPaymentLinkCreateRequestBaseFieldsFromJSON;
|
|
42
|
+
exports.FlowPaymentLinkCreateRequestBaseFieldsFromJSONTyped = FlowPaymentLinkCreateRequestBaseFieldsFromJSONTyped;
|
|
43
|
+
exports.FlowPaymentLinkCreateRequestBaseFieldsToJSON = FlowPaymentLinkCreateRequestBaseFieldsToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FlowPaymentLinkCreateRequestBaseFields
|
|
16
|
+
*/
|
|
17
|
+
export interface FlowPaymentLinkCreateRequestBaseFields {
|
|
18
|
+
/**
|
|
19
|
+
* Merchant-hosted payer app URL
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FlowPaymentLinkCreateRequestBaseFields
|
|
22
|
+
*/
|
|
23
|
+
baseUrl: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function FlowPaymentLinkCreateRequestBaseFieldsFromJSON(json: any): FlowPaymentLinkCreateRequestBaseFields;
|
|
26
|
+
export declare function FlowPaymentLinkCreateRequestBaseFieldsFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowPaymentLinkCreateRequestBaseFields;
|
|
27
|
+
export declare function FlowPaymentLinkCreateRequestBaseFieldsToJSON(value?: FlowPaymentLinkCreateRequestBaseFields | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 FlowPaymentLinkCreateRequestBaseFieldsFromJSON(json) {
|
|
15
|
+
return FlowPaymentLinkCreateRequestBaseFieldsFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function FlowPaymentLinkCreateRequestBaseFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'baseUrl': json['baseUrl'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function FlowPaymentLinkCreateRequestBaseFieldsToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'baseUrl': value.baseUrl,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { FlowPaymentLinkCreateRequestBaseFieldsFromJSON, FlowPaymentLinkCreateRequestBaseFieldsFromJSONTyped, FlowPaymentLinkCreateRequestBaseFieldsToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Flow = require('./Flow.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function FlowPaymentLinkCreateResponseFromJSON(json) {
|
|
9
|
+
return FlowPaymentLinkCreateResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function FlowPaymentLinkCreateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'flow': Flow.FlowFromJSON(json['flow']),
|
|
17
|
+
'paymentUrl': json['paymentUrl'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function FlowPaymentLinkCreateResponseToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'flow': Flow.FlowToJSON(value.flow),
|
|
29
|
+
'paymentUrl': value.paymentUrl,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.FlowPaymentLinkCreateResponseFromJSON = FlowPaymentLinkCreateResponseFromJSON;
|
|
34
|
+
exports.FlowPaymentLinkCreateResponseFromJSONTyped = FlowPaymentLinkCreateResponseFromJSONTyped;
|
|
35
|
+
exports.FlowPaymentLinkCreateResponseToJSON = FlowPaymentLinkCreateResponseToJSON;
|
|
@@ -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 { Flow } from './Flow';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FlowPaymentLinkCreateResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface FlowPaymentLinkCreateResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Flow}
|
|
22
|
+
* @memberof FlowPaymentLinkCreateResponse
|
|
23
|
+
*/
|
|
24
|
+
flow: Flow;
|
|
25
|
+
/**
|
|
26
|
+
* Shareable payer URL
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof FlowPaymentLinkCreateResponse
|
|
29
|
+
*/
|
|
30
|
+
paymentUrl: string;
|
|
31
|
+
}
|
|
32
|
+
export declare function FlowPaymentLinkCreateResponseFromJSON(json: any): FlowPaymentLinkCreateResponse;
|
|
33
|
+
export declare function FlowPaymentLinkCreateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowPaymentLinkCreateResponse;
|
|
34
|
+
export declare function FlowPaymentLinkCreateResponseToJSON(value?: FlowPaymentLinkCreateResponse | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { FlowFromJSON, FlowToJSON } from './Flow.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function FlowPaymentLinkCreateResponseFromJSON(json) {
|
|
5
|
+
return FlowPaymentLinkCreateResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function FlowPaymentLinkCreateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'flow': FlowFromJSON(json['flow']),
|
|
13
|
+
'paymentUrl': json['paymentUrl'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function FlowPaymentLinkCreateResponseToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'flow': FlowToJSON(value.flow),
|
|
25
|
+
'paymentUrl': value.paymentUrl,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { FlowPaymentLinkCreateResponseFromJSON, FlowPaymentLinkCreateResponseFromJSONTyped, FlowPaymentLinkCreateResponseToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
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 FlowPaymentLinkCreateResponseExtraFieldsFromJSON(json) {
|
|
19
|
+
return FlowPaymentLinkCreateResponseExtraFieldsFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function FlowPaymentLinkCreateResponseExtraFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'paymentUrl': json['paymentUrl'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function FlowPaymentLinkCreateResponseExtraFieldsToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'paymentUrl': value.paymentUrl,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.FlowPaymentLinkCreateResponseExtraFieldsFromJSON = FlowPaymentLinkCreateResponseExtraFieldsFromJSON;
|
|
42
|
+
exports.FlowPaymentLinkCreateResponseExtraFieldsFromJSONTyped = FlowPaymentLinkCreateResponseExtraFieldsFromJSONTyped;
|
|
43
|
+
exports.FlowPaymentLinkCreateResponseExtraFieldsToJSON = FlowPaymentLinkCreateResponseExtraFieldsToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface FlowPaymentLinkCreateResponseExtraFields
|
|
16
|
+
*/
|
|
17
|
+
export interface FlowPaymentLinkCreateResponseExtraFields {
|
|
18
|
+
/**
|
|
19
|
+
* Shareable payer URL
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FlowPaymentLinkCreateResponseExtraFields
|
|
22
|
+
*/
|
|
23
|
+
paymentUrl: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function FlowPaymentLinkCreateResponseExtraFieldsFromJSON(json: any): FlowPaymentLinkCreateResponseExtraFields;
|
|
26
|
+
export declare function FlowPaymentLinkCreateResponseExtraFieldsFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowPaymentLinkCreateResponseExtraFields;
|
|
27
|
+
export declare function FlowPaymentLinkCreateResponseExtraFieldsToJSON(value?: FlowPaymentLinkCreateResponseExtraFields | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 FlowPaymentLinkCreateResponseExtraFieldsFromJSON(json) {
|
|
15
|
+
return FlowPaymentLinkCreateResponseExtraFieldsFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function FlowPaymentLinkCreateResponseExtraFieldsFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'paymentUrl': json['paymentUrl'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function FlowPaymentLinkCreateResponseExtraFieldsToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'paymentUrl': value.paymentUrl,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { FlowPaymentLinkCreateResponseExtraFieldsFromJSON, FlowPaymentLinkCreateResponseExtraFieldsFromJSONTyped, FlowPaymentLinkCreateResponseExtraFieldsToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
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 SoftDeleteWaasWalletsRequestFromJSON(json) {
|
|
19
|
+
return SoftDeleteWaasWalletsRequestFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function SoftDeleteWaasWalletsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'walletIds': json['walletIds'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function SoftDeleteWaasWalletsRequestToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'walletIds': value.walletIds,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.SoftDeleteWaasWalletsRequestFromJSON = SoftDeleteWaasWalletsRequestFromJSON;
|
|
42
|
+
exports.SoftDeleteWaasWalletsRequestFromJSONTyped = SoftDeleteWaasWalletsRequestFromJSONTyped;
|
|
43
|
+
exports.SoftDeleteWaasWalletsRequestToJSON = SoftDeleteWaasWalletsRequestToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SoftDeleteWaasWalletsRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SoftDeleteWaasWalletsRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof SoftDeleteWaasWalletsRequest
|
|
22
|
+
*/
|
|
23
|
+
walletIds: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
export declare function SoftDeleteWaasWalletsRequestFromJSON(json: any): SoftDeleteWaasWalletsRequest;
|
|
26
|
+
export declare function SoftDeleteWaasWalletsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SoftDeleteWaasWalletsRequest;
|
|
27
|
+
export declare function SoftDeleteWaasWalletsRequestToJSON(value?: SoftDeleteWaasWalletsRequest | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 SoftDeleteWaasWalletsRequestFromJSON(json) {
|
|
15
|
+
return SoftDeleteWaasWalletsRequestFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function SoftDeleteWaasWalletsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'walletIds': json['walletIds'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function SoftDeleteWaasWalletsRequestToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'walletIds': value.walletIds,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { SoftDeleteWaasWalletsRequestFromJSON, SoftDeleteWaasWalletsRequestFromJSONTyped, SoftDeleteWaasWalletsRequestToJSON };
|
|
@@ -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 SoftDeleteWaasWalletsResponseFromJSON(json) {
|
|
9
|
+
return SoftDeleteWaasWalletsResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function SoftDeleteWaasWalletsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'count': !runtime.exists(json, 'count') ? undefined : json['count'],
|
|
17
|
+
'walletIds': !runtime.exists(json, 'walletIds') ? undefined : json['walletIds'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function SoftDeleteWaasWalletsResponseToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'count': value.count,
|
|
29
|
+
'walletIds': value.walletIds,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.SoftDeleteWaasWalletsResponseFromJSON = SoftDeleteWaasWalletsResponseFromJSON;
|
|
34
|
+
exports.SoftDeleteWaasWalletsResponseFromJSONTyped = SoftDeleteWaasWalletsResponseFromJSONTyped;
|
|
35
|
+
exports.SoftDeleteWaasWalletsResponseToJSON = SoftDeleteWaasWalletsResponseToJSON;
|
|
@@ -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
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SoftDeleteWaasWalletsResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface SoftDeleteWaasWalletsResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SoftDeleteWaasWalletsResponse
|
|
22
|
+
*/
|
|
23
|
+
count?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof SoftDeleteWaasWalletsResponse
|
|
28
|
+
*/
|
|
29
|
+
walletIds?: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
export declare function SoftDeleteWaasWalletsResponseFromJSON(json: any): SoftDeleteWaasWalletsResponse;
|
|
32
|
+
export declare function SoftDeleteWaasWalletsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SoftDeleteWaasWalletsResponse;
|
|
33
|
+
export declare function SoftDeleteWaasWalletsResponseToJSON(value?: SoftDeleteWaasWalletsResponse | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function SoftDeleteWaasWalletsResponseFromJSON(json) {
|
|
5
|
+
return SoftDeleteWaasWalletsResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function SoftDeleteWaasWalletsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'count': !exists(json, 'count') ? undefined : json['count'],
|
|
13
|
+
'walletIds': !exists(json, 'walletIds') ? undefined : json['walletIds'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function SoftDeleteWaasWalletsResponseToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'count': value.count,
|
|
25
|
+
'walletIds': value.walletIds,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { SoftDeleteWaasWalletsResponseFromJSON, SoftDeleteWaasWalletsResponseFromJSONTyped, SoftDeleteWaasWalletsResponseToJSON };
|
|
@@ -32,6 +32,7 @@ function WaasPolicyRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
32
|
'valueLimit': !runtime.exists(json, 'valueLimit') ? undefined : WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitFromJSON(json['valueLimit']),
|
|
33
33
|
'operationRestrictions': !runtime.exists(json, 'operationRestrictions') ? undefined : WaasPolicyRuleOperationRestrictions.WaasPolicyRuleOperationRestrictionsFromJSON(json['operationRestrictions']),
|
|
34
34
|
'disableBlockaidSecurityChecks': !runtime.exists(json, 'disableBlockaidSecurityChecks') ? undefined : json['disableBlockaidSecurityChecks'],
|
|
35
|
+
'modifiableBySigner': !runtime.exists(json, 'modifiableBySigner') ? undefined : json['modifiableBySigner'],
|
|
35
36
|
};
|
|
36
37
|
}
|
|
37
38
|
function WaasPolicyRuleToJSON(value) {
|
|
@@ -56,6 +57,7 @@ function WaasPolicyRuleToJSON(value) {
|
|
|
56
57
|
'valueLimit': WaasPolicyRuleValueLimit.WaasPolicyRuleValueLimitToJSON(value.valueLimit),
|
|
57
58
|
'operationRestrictions': WaasPolicyRuleOperationRestrictions.WaasPolicyRuleOperationRestrictionsToJSON(value.operationRestrictions),
|
|
58
59
|
'disableBlockaidSecurityChecks': value.disableBlockaidSecurityChecks,
|
|
60
|
+
'modifiableBySigner': value.modifiableBySigner,
|
|
59
61
|
};
|
|
60
62
|
}
|
|
61
63
|
|
|
@@ -104,6 +104,12 @@ export interface WaasPolicyRule {
|
|
|
104
104
|
* @memberof WaasPolicyRule
|
|
105
105
|
*/
|
|
106
106
|
disableBlockaidSecurityChecks?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* When true, a Signer is permitted to modify this Rule. Cannot be combined with operationRestrictions or disableBlockaidSecurityChecks on the same Rule.
|
|
109
|
+
* @type {boolean}
|
|
110
|
+
* @memberof WaasPolicyRule
|
|
111
|
+
*/
|
|
112
|
+
modifiableBySigner?: boolean;
|
|
107
113
|
}
|
|
108
114
|
export declare function WaasPolicyRuleFromJSON(json: any): WaasPolicyRule;
|
|
109
115
|
export declare function WaasPolicyRuleFromJSONTyped(json: any, ignoreDiscriminator: boolean): WaasPolicyRule;
|
|
@@ -28,6 +28,7 @@ function WaasPolicyRuleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
28
|
'valueLimit': !exists(json, 'valueLimit') ? undefined : WaasPolicyRuleValueLimitFromJSON(json['valueLimit']),
|
|
29
29
|
'operationRestrictions': !exists(json, 'operationRestrictions') ? undefined : WaasPolicyRuleOperationRestrictionsFromJSON(json['operationRestrictions']),
|
|
30
30
|
'disableBlockaidSecurityChecks': !exists(json, 'disableBlockaidSecurityChecks') ? undefined : json['disableBlockaidSecurityChecks'],
|
|
31
|
+
'modifiableBySigner': !exists(json, 'modifiableBySigner') ? undefined : json['modifiableBySigner'],
|
|
31
32
|
};
|
|
32
33
|
}
|
|
33
34
|
function WaasPolicyRuleToJSON(value) {
|
|
@@ -52,6 +53,7 @@ function WaasPolicyRuleToJSON(value) {
|
|
|
52
53
|
'valueLimit': WaasPolicyRuleValueLimitToJSON(value.valueLimit),
|
|
53
54
|
'operationRestrictions': WaasPolicyRuleOperationRestrictionsToJSON(value.operationRestrictions),
|
|
54
55
|
'disableBlockaidSecurityChecks': value.disableBlockaidSecurityChecks,
|
|
56
|
+
'modifiableBySigner': value.modifiableBySigner,
|
|
55
57
|
};
|
|
56
58
|
}
|
|
57
59
|
|
package/src/models/index.d.ts
CHANGED
|
@@ -290,6 +290,10 @@ export * from './FlowListItem';
|
|
|
290
290
|
export * from './FlowListItemFailure';
|
|
291
291
|
export * from './FlowListResponse';
|
|
292
292
|
export * from './FlowModeEnum';
|
|
293
|
+
export * from './FlowPaymentLinkCreateRequest';
|
|
294
|
+
export * from './FlowPaymentLinkCreateRequestBaseFields';
|
|
295
|
+
export * from './FlowPaymentLinkCreateResponse';
|
|
296
|
+
export * from './FlowPaymentLinkCreateResponseExtraFields';
|
|
293
297
|
export * from './FlowPrepareSigningRequest';
|
|
294
298
|
export * from './FlowQuote';
|
|
295
299
|
export * from './FlowQuoteRequest';
|
|
@@ -621,6 +625,8 @@ export * from './SmsVerificationRetryRequest';
|
|
|
621
625
|
export * from './SmsVerificationVerifyRequest';
|
|
622
626
|
export * from './SocialSignInProvider';
|
|
623
627
|
export * from './SocialSignInProviderEnum';
|
|
628
|
+
export * from './SoftDeleteWaasWalletsRequest';
|
|
629
|
+
export * from './SoftDeleteWaasWalletsResponse';
|
|
624
630
|
export * from './SolanaTransactionOptimizationRequest';
|
|
625
631
|
export * from './SolanaTransactionOptimizationResponse';
|
|
626
632
|
export * from './SponsorEVMTransactionRequest';
|