@dynamic-labs/sdk-api 0.21.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/AdminActionsApi.cjs +1 -0
- package/src/apis/AdminActionsApi.js +1 -0
- package/src/apis/AllowlistsApi.cjs +1 -0
- package/src/apis/AllowlistsApi.js +1 -0
- package/src/apis/AnalyticsApi.cjs +1 -0
- package/src/apis/AnalyticsApi.js +1 -0
- package/src/apis/AuthorizedClientsApi.cjs +1 -0
- package/src/apis/AuthorizedClientsApi.js +1 -0
- package/src/apis/BusinessAccountsApi.cjs +300 -0
- package/src/apis/BusinessAccountsApi.d.ts +64 -0
- package/src/apis/BusinessAccountsApi.js +296 -0
- package/src/apis/CaptchaApi.cjs +1 -0
- package/src/apis/CaptchaApi.js +1 -0
- package/src/apis/ChainalysisApi.cjs +1 -0
- package/src/apis/ChainalysisApi.js +1 -0
- package/src/apis/ChainsApi.cjs +1 -0
- package/src/apis/ChainsApi.js +1 -0
- package/src/apis/CheckoutApi.cjs +1 -0
- package/src/apis/CheckoutApi.js +1 -0
- package/src/apis/ClientGrantApi.cjs +1 -0
- package/src/apis/ClientGrantApi.js +1 -0
- package/src/apis/CustomFieldsApi.cjs +1 -0
- package/src/apis/CustomFieldsApi.js +1 -0
- package/src/apis/CustomHostnamesApi.cjs +1 -0
- package/src/apis/CustomHostnamesApi.js +1 -0
- package/src/apis/CustomNetworksApi.cjs +1 -0
- package/src/apis/CustomNetworksApi.js +1 -0
- package/src/apis/DeeplinkUrlsApi.cjs +1 -0
- package/src/apis/DeeplinkUrlsApi.js +1 -0
- package/src/apis/EnvironmentsApi.cjs +1 -0
- package/src/apis/EnvironmentsApi.js +1 -0
- package/src/apis/EventsApi.cjs +1 -0
- package/src/apis/EventsApi.js +1 -0
- package/src/apis/ExchangesApi.cjs +1 -0
- package/src/apis/ExchangesApi.js +1 -0
- package/src/apis/ExportsApi.cjs +1 -0
- package/src/apis/ExportsApi.js +1 -0
- package/src/apis/ExternalJwtApi.cjs +1 -0
- package/src/apis/ExternalJwtApi.js +1 -0
- package/src/apis/FlowAnalyticsApi.cjs +1 -0
- package/src/apis/FlowAnalyticsApi.js +1 -0
- package/src/apis/GaslessApi.cjs +1 -0
- package/src/apis/GaslessApi.js +1 -0
- package/src/apis/GatesApi.cjs +1 -0
- package/src/apis/GatesApi.js +1 -0
- package/src/apis/GlobalWalletAccessControlApi.cjs +1 -0
- package/src/apis/GlobalWalletAccessControlApi.js +1 -0
- package/src/apis/GlobalWalletConnectionsApi.cjs +1 -0
- package/src/apis/GlobalWalletConnectionsApi.js +1 -0
- package/src/apis/GlobalWalletsApi.cjs +1 -0
- package/src/apis/GlobalWalletsApi.js +1 -0
- package/src/apis/InvitesApi.cjs +1 -0
- package/src/apis/InvitesApi.js +1 -0
- package/src/apis/KybApi.cjs +1 -0
- package/src/apis/KybApi.js +1 -0
- package/src/apis/MembersApi.cjs +1 -0
- package/src/apis/MembersApi.js +1 -0
- package/src/apis/MfaSettingsApi.cjs +1 -0
- package/src/apis/MfaSettingsApi.js +1 -0
- package/src/apis/NameServicesApi.cjs +1 -0
- package/src/apis/NameServicesApi.js +1 -0
- package/src/apis/OrganizationSettingsApi.cjs +1 -0
- package/src/apis/OrganizationSettingsApi.js +1 -0
- package/src/apis/OrganizationsApi.cjs +1 -0
- package/src/apis/OrganizationsApi.js +1 -0
- package/src/apis/OriginsApi.cjs +1 -0
- package/src/apis/OriginsApi.js +1 -0
- package/src/apis/ProjectsApi.cjs +1 -0
- package/src/apis/ProjectsApi.js +1 -0
- package/src/apis/ProvidersApi.cjs +1 -0
- package/src/apis/ProvidersApi.js +1 -0
- package/src/apis/SDKApi.cjs +2 -1
- package/src/apis/SDKApi.js +2 -1
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/ServerApi.cjs +1 -0
- package/src/apis/ServerApi.js +1 -0
- package/src/apis/SessionsApi.cjs +1 -0
- package/src/apis/SessionsApi.js +1 -0
- package/src/apis/TestAccountApi.cjs +1 -0
- package/src/apis/TestAccountApi.js +1 -0
- package/src/apis/TokensApi.cjs +1 -0
- package/src/apis/TokensApi.js +1 -0
- package/src/apis/UserApiTokensApi.cjs +1 -0
- package/src/apis/UserApiTokensApi.js +1 -0
- package/src/apis/UsersApi.cjs +1 -0
- package/src/apis/UsersApi.js +1 -0
- package/src/apis/VisitsApi.cjs +1 -0
- package/src/apis/VisitsApi.js +1 -0
- package/src/apis/WaasApi.cjs +1 -0
- package/src/apis/WaasApi.js +1 -0
- package/src/apis/WalletConnectApi.cjs +1 -0
- package/src/apis/WalletConnectApi.js +1 -0
- package/src/apis/WalletsApi.cjs +1 -0
- package/src/apis/WalletsApi.js +1 -0
- package/src/apis/WebhooksApi.cjs +1 -0
- package/src/apis/WebhooksApi.js +1 -0
- package/src/apis/YieldApi.cjs +1 -0
- package/src/apis/YieldApi.js +1 -0
- package/src/apis/ZendeskApi.cjs +1 -0
- package/src/apis/ZendeskApi.js +1 -0
- package/src/apis/index.d.ts +1 -0
- package/src/index.cjs +38 -0
- package/src/index.js +9 -0
- package/src/models/BusinessAccountActionEnum.cjs +55 -0
- package/src/models/BusinessAccountActionEnum.d.ts +38 -0
- package/src/models/BusinessAccountActionEnum.js +49 -0
- package/src/models/BusinessAccountActivityEntry.cjs +46 -0
- package/src/models/BusinessAccountActivityEntry.d.ts +64 -0
- package/src/models/BusinessAccountActivityEntry.js +40 -0
- package/src/models/BusinessAccountActivityResponse.cjs +35 -0
- package/src/models/BusinessAccountActivityResponse.d.ts +34 -0
- package/src/models/BusinessAccountActivityResponse.js +29 -0
- package/src/models/BusinessAccountAdminDetail.cjs +64 -0
- package/src/models/BusinessAccountAdminDetail.d.ts +114 -0
- package/src/models/BusinessAccountAdminDetail.js +58 -0
- package/src/models/BusinessAccountAdminDetailAllOf.cjs +39 -0
- package/src/models/BusinessAccountAdminDetailAllOf.d.ts +42 -0
- package/src/models/BusinessAccountAdminDetailAllOf.js +33 -0
- package/src/models/BusinessAccountSummary.cjs +55 -0
- package/src/models/BusinessAccountSummary.d.ts +93 -0
- package/src/models/BusinessAccountSummary.js +49 -0
- package/src/models/BusinessAccountSummaryAllOf.cjs +41 -0
- package/src/models/BusinessAccountSummaryAllOf.d.ts +51 -0
- package/src/models/BusinessAccountSummaryAllOf.js +35 -0
- package/src/models/BusinessAccountsResponse.cjs +40 -0
- package/src/models/BusinessAccountsResponse.d.ts +46 -0
- package/src/models/BusinessAccountsResponse.js +34 -0
- package/src/models/Flow.cjs +2 -0
- package/src/models/Flow.d.ts +6 -0
- package/src/models/Flow.js +2 -0
- package/src/models/FlowCreateRequest.cjs +2 -0
- package/src/models/FlowCreateRequest.d.ts +6 -0
- package/src/models/FlowCreateRequest.js +2 -0
- package/src/models/FlowPaymentLinkCreateRequest.cjs +2 -0
- package/src/models/FlowPaymentLinkCreateRequest.d.ts +6 -0
- package/src/models/FlowPaymentLinkCreateRequest.js +2 -0
- package/src/models/index.d.ts +8 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var BusinessAccountMember = require('./BusinessAccountMember.cjs');
|
|
6
|
+
var BusinessAccountSigner = require('./BusinessAccountSigner.cjs');
|
|
7
|
+
var BusinessAccountWallet = require('./BusinessAccountWallet.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function BusinessAccountAdminDetailAllOfFromJSON(json) {
|
|
11
|
+
return BusinessAccountAdminDetailAllOfFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function BusinessAccountAdminDetailAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'members': (json['members'].map(BusinessAccountMember.BusinessAccountMemberFromJSON)),
|
|
19
|
+
'signers': (json['signers'].map(BusinessAccountSigner.BusinessAccountSignerFromJSON)),
|
|
20
|
+
'wallets': (json['wallets'].map(BusinessAccountWallet.BusinessAccountWalletFromJSON)),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function BusinessAccountAdminDetailAllOfToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'members': (value.members.map(BusinessAccountMember.BusinessAccountMemberToJSON)),
|
|
32
|
+
'signers': (value.signers.map(BusinessAccountSigner.BusinessAccountSignerToJSON)),
|
|
33
|
+
'wallets': (value.wallets.map(BusinessAccountWallet.BusinessAccountWalletToJSON)),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.BusinessAccountAdminDetailAllOfFromJSON = BusinessAccountAdminDetailAllOfFromJSON;
|
|
38
|
+
exports.BusinessAccountAdminDetailAllOfFromJSONTyped = BusinessAccountAdminDetailAllOfFromJSONTyped;
|
|
39
|
+
exports.BusinessAccountAdminDetailAllOfToJSON = BusinessAccountAdminDetailAllOfToJSON;
|
|
@@ -0,0 +1,42 @@
|
|
|
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 { BusinessAccountMember } from './BusinessAccountMember';
|
|
13
|
+
import { BusinessAccountSigner } from './BusinessAccountSigner';
|
|
14
|
+
import { BusinessAccountWallet } from './BusinessAccountWallet';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface BusinessAccountAdminDetailAllOf
|
|
19
|
+
*/
|
|
20
|
+
export interface BusinessAccountAdminDetailAllOf {
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
* @type {Array<BusinessAccountMember>}
|
|
24
|
+
* @memberof BusinessAccountAdminDetailAllOf
|
|
25
|
+
*/
|
|
26
|
+
members: Array<BusinessAccountMember>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {Array<BusinessAccountSigner>}
|
|
30
|
+
* @memberof BusinessAccountAdminDetailAllOf
|
|
31
|
+
*/
|
|
32
|
+
signers: Array<BusinessAccountSigner>;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {Array<BusinessAccountWallet>}
|
|
36
|
+
* @memberof BusinessAccountAdminDetailAllOf
|
|
37
|
+
*/
|
|
38
|
+
wallets: Array<BusinessAccountWallet>;
|
|
39
|
+
}
|
|
40
|
+
export declare function BusinessAccountAdminDetailAllOfFromJSON(json: any): BusinessAccountAdminDetailAllOf;
|
|
41
|
+
export declare function BusinessAccountAdminDetailAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountAdminDetailAllOf;
|
|
42
|
+
export declare function BusinessAccountAdminDetailAllOfToJSON(value?: BusinessAccountAdminDetailAllOf | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { BusinessAccountMemberFromJSON, BusinessAccountMemberToJSON } from './BusinessAccountMember.js';
|
|
2
|
+
import { BusinessAccountSignerFromJSON, BusinessAccountSignerToJSON } from './BusinessAccountSigner.js';
|
|
3
|
+
import { BusinessAccountWalletFromJSON, BusinessAccountWalletToJSON } from './BusinessAccountWallet.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function BusinessAccountAdminDetailAllOfFromJSON(json) {
|
|
7
|
+
return BusinessAccountAdminDetailAllOfFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function BusinessAccountAdminDetailAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'members': (json['members'].map(BusinessAccountMemberFromJSON)),
|
|
15
|
+
'signers': (json['signers'].map(BusinessAccountSignerFromJSON)),
|
|
16
|
+
'wallets': (json['wallets'].map(BusinessAccountWalletFromJSON)),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function BusinessAccountAdminDetailAllOfToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'members': (value.members.map(BusinessAccountMemberToJSON)),
|
|
28
|
+
'signers': (value.signers.map(BusinessAccountSignerToJSON)),
|
|
29
|
+
'wallets': (value.wallets.map(BusinessAccountWalletToJSON)),
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { BusinessAccountAdminDetailAllOfFromJSON, BusinessAccountAdminDetailAllOfFromJSONTyped, BusinessAccountAdminDetailAllOfToJSON };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function BusinessAccountSummaryFromJSON(json) {
|
|
9
|
+
return BusinessAccountSummaryFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function BusinessAccountSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'id': json['id'],
|
|
17
|
+
'projectEnvironmentId': json['projectEnvironmentId'],
|
|
18
|
+
'name': !runtime.exists(json, 'name') ? undefined : json['name'],
|
|
19
|
+
'externalRef': !runtime.exists(json, 'externalRef') ? undefined : json['externalRef'],
|
|
20
|
+
'metadata': !runtime.exists(json, 'metadata') ? undefined : json['metadata'],
|
|
21
|
+
'createdAt': !runtime.exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
22
|
+
'updatedAt': !runtime.exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
|
|
23
|
+
'memberCount': json['memberCount'],
|
|
24
|
+
'signerCount': json['signerCount'],
|
|
25
|
+
'walletCount': json['walletCount'],
|
|
26
|
+
'rbacVersion': !runtime.exists(json, 'rbacVersion') ? undefined : json['rbacVersion'],
|
|
27
|
+
'rbacSignedAt': !runtime.exists(json, 'rbacSignedAt') ? undefined : (json['rbacSignedAt'] === null ? null : new Date(json['rbacSignedAt'])),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function BusinessAccountSummaryToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'id': value.id,
|
|
39
|
+
'projectEnvironmentId': value.projectEnvironmentId,
|
|
40
|
+
'name': value.name,
|
|
41
|
+
'externalRef': value.externalRef,
|
|
42
|
+
'metadata': value.metadata,
|
|
43
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
44
|
+
'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
|
|
45
|
+
'memberCount': value.memberCount,
|
|
46
|
+
'signerCount': value.signerCount,
|
|
47
|
+
'walletCount': value.walletCount,
|
|
48
|
+
'rbacVersion': value.rbacVersion,
|
|
49
|
+
'rbacSignedAt': value.rbacSignedAt === undefined ? undefined : (value.rbacSignedAt === null ? null : value.rbacSignedAt.toISOString()),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
exports.BusinessAccountSummaryFromJSON = BusinessAccountSummaryFromJSON;
|
|
54
|
+
exports.BusinessAccountSummaryFromJSONTyped = BusinessAccountSummaryFromJSONTyped;
|
|
55
|
+
exports.BusinessAccountSummaryToJSON = BusinessAccountSummaryToJSON;
|
|
@@ -0,0 +1,93 @@
|
|
|
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
|
+
* Business account row for the dashboard list, with active-entity counts
|
|
14
|
+
* @export
|
|
15
|
+
* @interface BusinessAccountSummary
|
|
16
|
+
*/
|
|
17
|
+
export interface BusinessAccountSummary {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof BusinessAccountSummary
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BusinessAccountSummary
|
|
28
|
+
*/
|
|
29
|
+
projectEnvironmentId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof BusinessAccountSummary
|
|
34
|
+
*/
|
|
35
|
+
name?: string | null;
|
|
36
|
+
/**
|
|
37
|
+
* Developer-supplied stable ID inside the env
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof BusinessAccountSummary
|
|
40
|
+
*/
|
|
41
|
+
externalRef?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {object}
|
|
45
|
+
* @memberof BusinessAccountSummary
|
|
46
|
+
*/
|
|
47
|
+
metadata?: object;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Date}
|
|
51
|
+
* @memberof BusinessAccountSummary
|
|
52
|
+
*/
|
|
53
|
+
createdAt?: Date;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Date}
|
|
57
|
+
* @memberof BusinessAccountSummary
|
|
58
|
+
*/
|
|
59
|
+
updatedAt?: Date;
|
|
60
|
+
/**
|
|
61
|
+
* Number of active members
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof BusinessAccountSummary
|
|
64
|
+
*/
|
|
65
|
+
memberCount: number;
|
|
66
|
+
/**
|
|
67
|
+
* Number of active, unrevoked signers
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof BusinessAccountSummary
|
|
70
|
+
*/
|
|
71
|
+
signerCount: number;
|
|
72
|
+
/**
|
|
73
|
+
* Number of active wallets bound to the business account
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof BusinessAccountSummary
|
|
76
|
+
*/
|
|
77
|
+
walletCount: number;
|
|
78
|
+
/**
|
|
79
|
+
* Version of the signed role-based access control document
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof BusinessAccountSummary
|
|
82
|
+
*/
|
|
83
|
+
rbacVersion?: number | null;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Date}
|
|
87
|
+
* @memberof BusinessAccountSummary
|
|
88
|
+
*/
|
|
89
|
+
rbacSignedAt?: Date | null;
|
|
90
|
+
}
|
|
91
|
+
export declare function BusinessAccountSummaryFromJSON(json: any): BusinessAccountSummary;
|
|
92
|
+
export declare function BusinessAccountSummaryFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountSummary;
|
|
93
|
+
export declare function BusinessAccountSummaryToJSON(value?: BusinessAccountSummary | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function BusinessAccountSummaryFromJSON(json) {
|
|
5
|
+
return BusinessAccountSummaryFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function BusinessAccountSummaryFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'id': json['id'],
|
|
13
|
+
'projectEnvironmentId': json['projectEnvironmentId'],
|
|
14
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
15
|
+
'externalRef': !exists(json, 'externalRef') ? undefined : json['externalRef'],
|
|
16
|
+
'metadata': !exists(json, 'metadata') ? undefined : json['metadata'],
|
|
17
|
+
'createdAt': !exists(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
18
|
+
'updatedAt': !exists(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
|
|
19
|
+
'memberCount': json['memberCount'],
|
|
20
|
+
'signerCount': json['signerCount'],
|
|
21
|
+
'walletCount': json['walletCount'],
|
|
22
|
+
'rbacVersion': !exists(json, 'rbacVersion') ? undefined : json['rbacVersion'],
|
|
23
|
+
'rbacSignedAt': !exists(json, 'rbacSignedAt') ? undefined : (json['rbacSignedAt'] === null ? null : new Date(json['rbacSignedAt'])),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function BusinessAccountSummaryToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'id': value.id,
|
|
35
|
+
'projectEnvironmentId': value.projectEnvironmentId,
|
|
36
|
+
'name': value.name,
|
|
37
|
+
'externalRef': value.externalRef,
|
|
38
|
+
'metadata': value.metadata,
|
|
39
|
+
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
40
|
+
'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
|
|
41
|
+
'memberCount': value.memberCount,
|
|
42
|
+
'signerCount': value.signerCount,
|
|
43
|
+
'walletCount': value.walletCount,
|
|
44
|
+
'rbacVersion': value.rbacVersion,
|
|
45
|
+
'rbacSignedAt': value.rbacSignedAt === undefined ? undefined : (value.rbacSignedAt === null ? null : value.rbacSignedAt.toISOString()),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export { BusinessAccountSummaryFromJSON, BusinessAccountSummaryFromJSONTyped, BusinessAccountSummaryToJSON };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function BusinessAccountSummaryAllOfFromJSON(json) {
|
|
9
|
+
return BusinessAccountSummaryAllOfFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function BusinessAccountSummaryAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'memberCount': json['memberCount'],
|
|
17
|
+
'signerCount': json['signerCount'],
|
|
18
|
+
'walletCount': json['walletCount'],
|
|
19
|
+
'rbacVersion': !runtime.exists(json, 'rbacVersion') ? undefined : json['rbacVersion'],
|
|
20
|
+
'rbacSignedAt': !runtime.exists(json, 'rbacSignedAt') ? undefined : (json['rbacSignedAt'] === null ? null : new Date(json['rbacSignedAt'])),
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function BusinessAccountSummaryAllOfToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'memberCount': value.memberCount,
|
|
32
|
+
'signerCount': value.signerCount,
|
|
33
|
+
'walletCount': value.walletCount,
|
|
34
|
+
'rbacVersion': value.rbacVersion,
|
|
35
|
+
'rbacSignedAt': value.rbacSignedAt === undefined ? undefined : (value.rbacSignedAt === null ? null : value.rbacSignedAt.toISOString()),
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.BusinessAccountSummaryAllOfFromJSON = BusinessAccountSummaryAllOfFromJSON;
|
|
40
|
+
exports.BusinessAccountSummaryAllOfFromJSONTyped = BusinessAccountSummaryAllOfFromJSONTyped;
|
|
41
|
+
exports.BusinessAccountSummaryAllOfToJSON = BusinessAccountSummaryAllOfToJSON;
|
|
@@ -0,0 +1,51 @@
|
|
|
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 BusinessAccountSummaryAllOf
|
|
16
|
+
*/
|
|
17
|
+
export interface BusinessAccountSummaryAllOf {
|
|
18
|
+
/**
|
|
19
|
+
* Number of active members
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BusinessAccountSummaryAllOf
|
|
22
|
+
*/
|
|
23
|
+
memberCount: number;
|
|
24
|
+
/**
|
|
25
|
+
* Number of active, unrevoked signers
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof BusinessAccountSummaryAllOf
|
|
28
|
+
*/
|
|
29
|
+
signerCount: number;
|
|
30
|
+
/**
|
|
31
|
+
* Number of active wallets bound to the business account
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof BusinessAccountSummaryAllOf
|
|
34
|
+
*/
|
|
35
|
+
walletCount: number;
|
|
36
|
+
/**
|
|
37
|
+
* Version of the signed role-based access control document
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof BusinessAccountSummaryAllOf
|
|
40
|
+
*/
|
|
41
|
+
rbacVersion?: number | null;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Date}
|
|
45
|
+
* @memberof BusinessAccountSummaryAllOf
|
|
46
|
+
*/
|
|
47
|
+
rbacSignedAt?: Date | null;
|
|
48
|
+
}
|
|
49
|
+
export declare function BusinessAccountSummaryAllOfFromJSON(json: any): BusinessAccountSummaryAllOf;
|
|
50
|
+
export declare function BusinessAccountSummaryAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountSummaryAllOf;
|
|
51
|
+
export declare function BusinessAccountSummaryAllOfToJSON(value?: BusinessAccountSummaryAllOf | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function BusinessAccountSummaryAllOfFromJSON(json) {
|
|
5
|
+
return BusinessAccountSummaryAllOfFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function BusinessAccountSummaryAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'memberCount': json['memberCount'],
|
|
13
|
+
'signerCount': json['signerCount'],
|
|
14
|
+
'walletCount': json['walletCount'],
|
|
15
|
+
'rbacVersion': !exists(json, 'rbacVersion') ? undefined : json['rbacVersion'],
|
|
16
|
+
'rbacSignedAt': !exists(json, 'rbacSignedAt') ? undefined : (json['rbacSignedAt'] === null ? null : new Date(json['rbacSignedAt'])),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function BusinessAccountSummaryAllOfToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'memberCount': value.memberCount,
|
|
28
|
+
'signerCount': value.signerCount,
|
|
29
|
+
'walletCount': value.walletCount,
|
|
30
|
+
'rbacVersion': value.rbacVersion,
|
|
31
|
+
'rbacSignedAt': value.rbacSignedAt === undefined ? undefined : (value.rbacSignedAt === null ? null : value.rbacSignedAt.toISOString()),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { BusinessAccountSummaryAllOfFromJSON, BusinessAccountSummaryAllOfFromJSONTyped, BusinessAccountSummaryAllOfToJSON };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var BusinessAccountSummary = require('./BusinessAccountSummary.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function BusinessAccountsResponseFromJSON(json) {
|
|
10
|
+
return BusinessAccountsResponseFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function BusinessAccountsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'businessAccounts': (json['businessAccounts'].map(BusinessAccountSummary.BusinessAccountSummaryFromJSON)),
|
|
18
|
+
'count': json['count'],
|
|
19
|
+
'limit': !runtime.exists(json, 'limit') ? undefined : json['limit'],
|
|
20
|
+
'offset': !runtime.exists(json, 'offset') ? undefined : json['offset'],
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
function BusinessAccountsResponseToJSON(value) {
|
|
24
|
+
if (value === undefined) {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'businessAccounts': (value.businessAccounts.map(BusinessAccountSummary.BusinessAccountSummaryToJSON)),
|
|
32
|
+
'count': value.count,
|
|
33
|
+
'limit': value.limit,
|
|
34
|
+
'offset': value.offset,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
exports.BusinessAccountsResponseFromJSON = BusinessAccountsResponseFromJSON;
|
|
39
|
+
exports.BusinessAccountsResponseFromJSONTyped = BusinessAccountsResponseFromJSONTyped;
|
|
40
|
+
exports.BusinessAccountsResponseToJSON = BusinessAccountsResponseToJSON;
|
|
@@ -0,0 +1,46 @@
|
|
|
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 { BusinessAccountSummary } from './BusinessAccountSummary';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface BusinessAccountsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface BusinessAccountsResponse {
|
|
19
|
+
/**
|
|
20
|
+
* Business accounts in the environment matching the query
|
|
21
|
+
* @type {Array<BusinessAccountSummary>}
|
|
22
|
+
* @memberof BusinessAccountsResponse
|
|
23
|
+
*/
|
|
24
|
+
businessAccounts: Array<BusinessAccountSummary>;
|
|
25
|
+
/**
|
|
26
|
+
* Total number of business accounts matching the filter
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof BusinessAccountsResponse
|
|
29
|
+
*/
|
|
30
|
+
count: number;
|
|
31
|
+
/**
|
|
32
|
+
* Maximum number of business accounts returned
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof BusinessAccountsResponse
|
|
35
|
+
*/
|
|
36
|
+
limit?: number;
|
|
37
|
+
/**
|
|
38
|
+
* Number of business accounts skipped
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof BusinessAccountsResponse
|
|
41
|
+
*/
|
|
42
|
+
offset?: number;
|
|
43
|
+
}
|
|
44
|
+
export declare function BusinessAccountsResponseFromJSON(json: any): BusinessAccountsResponse;
|
|
45
|
+
export declare function BusinessAccountsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): BusinessAccountsResponse;
|
|
46
|
+
export declare function BusinessAccountsResponseToJSON(value?: BusinessAccountsResponse | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { BusinessAccountSummaryFromJSON, BusinessAccountSummaryToJSON } from './BusinessAccountSummary.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function BusinessAccountsResponseFromJSON(json) {
|
|
6
|
+
return BusinessAccountsResponseFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function BusinessAccountsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'businessAccounts': (json['businessAccounts'].map(BusinessAccountSummaryFromJSON)),
|
|
14
|
+
'count': json['count'],
|
|
15
|
+
'limit': !exists(json, 'limit') ? undefined : json['limit'],
|
|
16
|
+
'offset': !exists(json, 'offset') ? undefined : json['offset'],
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function BusinessAccountsResponseToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'businessAccounts': (value.businessAccounts.map(BusinessAccountSummaryToJSON)),
|
|
28
|
+
'count': value.count,
|
|
29
|
+
'limit': value.limit,
|
|
30
|
+
'offset': value.offset,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { BusinessAccountsResponseFromJSON, BusinessAccountsResponseFromJSONTyped, BusinessAccountsResponseToJSON };
|
package/src/models/Flow.cjs
CHANGED
|
@@ -60,6 +60,7 @@ function FlowFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
60
|
'exchangeSource': !runtime.exists(json, 'exchangeSource') ? undefined : FlowExchangeSource.FlowExchangeSourceFromJSON(json['exchangeSource']),
|
|
61
61
|
'pegStablecoins': !runtime.exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
|
|
62
62
|
'disableSwaps': !runtime.exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
|
|
63
|
+
'returnUrl': !runtime.exists(json, 'returnUrl') ? undefined : json['returnUrl'],
|
|
63
64
|
'settlementConfig': !runtime.exists(json, 'settlementConfig') ? undefined : SettlementConfigInput.SettlementConfigInputFromJSON(json['settlementConfig']),
|
|
64
65
|
'destinationConfig': !runtime.exists(json, 'destinationConfig') ? undefined : DestinationConfigInput.DestinationConfigInputFromJSON(json['destinationConfig']),
|
|
65
66
|
};
|
|
@@ -107,6 +108,7 @@ function FlowToJSON(value) {
|
|
|
107
108
|
'exchangeSource': FlowExchangeSource.FlowExchangeSourceToJSON(value.exchangeSource),
|
|
108
109
|
'pegStablecoins': value.pegStablecoins,
|
|
109
110
|
'disableSwaps': value.disableSwaps,
|
|
111
|
+
'returnUrl': value.returnUrl,
|
|
110
112
|
'settlementConfig': SettlementConfigInput.SettlementConfigInputToJSON(value.settlementConfig),
|
|
111
113
|
'destinationConfig': DestinationConfigInput.DestinationConfigInputToJSON(value.destinationConfig),
|
|
112
114
|
};
|
package/src/models/Flow.d.ts
CHANGED
|
@@ -237,6 +237,12 @@ export interface Flow {
|
|
|
237
237
|
* @memberof Flow
|
|
238
238
|
*/
|
|
239
239
|
disableSwaps?: boolean;
|
|
240
|
+
/**
|
|
241
|
+
* Payer app URL to redirect to once the flow reaches a specific state. Redirected to as `returnUrl?status=success|failure&flowId=...`.
|
|
242
|
+
* @type {string}
|
|
243
|
+
* @memberof Flow
|
|
244
|
+
*/
|
|
245
|
+
returnUrl?: string;
|
|
240
246
|
/**
|
|
241
247
|
*
|
|
242
248
|
* @type {SettlementConfigInput}
|
package/src/models/Flow.js
CHANGED
|
@@ -56,6 +56,7 @@ function FlowFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
56
|
'exchangeSource': !exists(json, 'exchangeSource') ? undefined : FlowExchangeSourceFromJSON(json['exchangeSource']),
|
|
57
57
|
'pegStablecoins': !exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
|
|
58
58
|
'disableSwaps': !exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
|
|
59
|
+
'returnUrl': !exists(json, 'returnUrl') ? undefined : json['returnUrl'],
|
|
59
60
|
'settlementConfig': !exists(json, 'settlementConfig') ? undefined : SettlementConfigInputFromJSON(json['settlementConfig']),
|
|
60
61
|
'destinationConfig': !exists(json, 'destinationConfig') ? undefined : DestinationConfigInputFromJSON(json['destinationConfig']),
|
|
61
62
|
};
|
|
@@ -103,6 +104,7 @@ function FlowToJSON(value) {
|
|
|
103
104
|
'exchangeSource': FlowExchangeSourceToJSON(value.exchangeSource),
|
|
104
105
|
'pegStablecoins': value.pegStablecoins,
|
|
105
106
|
'disableSwaps': value.disableSwaps,
|
|
107
|
+
'returnUrl': value.returnUrl,
|
|
106
108
|
'settlementConfig': SettlementConfigInputToJSON(value.settlementConfig),
|
|
107
109
|
'destinationConfig': DestinationConfigInputToJSON(value.destinationConfig),
|
|
108
110
|
};
|
|
@@ -25,6 +25,7 @@ function FlowCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
25
|
'expiresIn': !runtime.exists(json, 'expiresIn') ? undefined : json['expiresIn'],
|
|
26
26
|
'pegStablecoins': !runtime.exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
|
|
27
27
|
'disableSwaps': !runtime.exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
|
|
28
|
+
'returnUrl': !runtime.exists(json, 'returnUrl') ? undefined : json['returnUrl'],
|
|
28
29
|
};
|
|
29
30
|
}
|
|
30
31
|
function FlowCreateRequestToJSON(value) {
|
|
@@ -44,6 +45,7 @@ function FlowCreateRequestToJSON(value) {
|
|
|
44
45
|
'expiresIn': value.expiresIn,
|
|
45
46
|
'pegStablecoins': value.pegStablecoins,
|
|
46
47
|
'disableSwaps': value.disableSwaps,
|
|
48
|
+
'returnUrl': value.returnUrl,
|
|
47
49
|
};
|
|
48
50
|
}
|
|
49
51
|
|
|
@@ -72,6 +72,12 @@ export interface FlowCreateRequest {
|
|
|
72
72
|
* @memberof FlowCreateRequest
|
|
73
73
|
*/
|
|
74
74
|
disableSwaps?: boolean;
|
|
75
|
+
/**
|
|
76
|
+
* Payer app URL to redirect to once the flow reaches a specific state. Origin must be a registered CORS origin for the environment. Redirected to as `returnUrl?status=success|failure&flowId=...`.
|
|
77
|
+
* @type {string}
|
|
78
|
+
* @memberof FlowCreateRequest
|
|
79
|
+
*/
|
|
80
|
+
returnUrl?: string;
|
|
75
81
|
}
|
|
76
82
|
export declare function FlowCreateRequestFromJSON(json: any): FlowCreateRequest;
|
|
77
83
|
export declare function FlowCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowCreateRequest;
|
|
@@ -21,6 +21,7 @@ function FlowCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
21
|
'expiresIn': !exists(json, 'expiresIn') ? undefined : json['expiresIn'],
|
|
22
22
|
'pegStablecoins': !exists(json, 'pegStablecoins') ? undefined : json['pegStablecoins'],
|
|
23
23
|
'disableSwaps': !exists(json, 'disableSwaps') ? undefined : json['disableSwaps'],
|
|
24
|
+
'returnUrl': !exists(json, 'returnUrl') ? undefined : json['returnUrl'],
|
|
24
25
|
};
|
|
25
26
|
}
|
|
26
27
|
function FlowCreateRequestToJSON(value) {
|
|
@@ -40,6 +41,7 @@ function FlowCreateRequestToJSON(value) {
|
|
|
40
41
|
'expiresIn': value.expiresIn,
|
|
41
42
|
'pegStablecoins': value.pegStablecoins,
|
|
42
43
|
'disableSwaps': value.disableSwaps,
|
|
44
|
+
'returnUrl': value.returnUrl,
|
|
43
45
|
};
|
|
44
46
|
}
|
|
45
47
|
|