@dynamic-labs/sdk-api 0.113.0 → 0.115.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 +1 -0
- package/src/apis/BusinessAccountsApi.js +1 -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 +1 -0
- package/src/apis/SDKApi.js +1 -0
- package/src/apis/SDKViewsApi.cjs +1 -0
- package/src/apis/SDKViewsApi.js +1 -0
- package/src/apis/ScreeningPoliciesApi.cjs +1 -0
- package/src/apis/ScreeningPoliciesApi.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 +53 -0
- package/src/apis/WalletsApi.d.ts +25 -1
- package/src/apis/WalletsApi.js +54 -1
- 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/index.cjs +20 -0
- package/src/index.js +4 -1
- package/src/models/BadGateway.cjs +4 -12
- package/src/models/BadGateway.d.ts +6 -0
- package/src/models/BadGateway.js +4 -12
- package/src/models/BadRequest.cjs +2 -0
- package/src/models/BadRequest.d.ts +6 -0
- package/src/models/BadRequest.js +2 -0
- package/src/models/BoundedCount.cjs +45 -0
- package/src/models/BoundedCount.d.ts +33 -0
- package/src/models/BoundedCount.js +39 -0
- package/src/models/NotFound.d.ts +1 -1
- package/src/models/UnprocessableEntityErrorCode.cjs +1 -0
- package/src/models/UnprocessableEntityErrorCode.d.ts +2 -1
- package/src/models/UnprocessableEntityErrorCode.js +1 -0
- package/src/models/WalletListItem.cjs +59 -0
- package/src/models/WalletListItem.d.ts +85 -0
- package/src/models/WalletListItem.js +53 -0
- package/src/models/WalletsListResponse.cjs +43 -0
- package/src/models/WalletsListResponse.d.ts +53 -0
- package/src/models/WalletsListResponse.js +37 -0
- package/src/models/index.d.ts +3 -0
package/src/index.js
CHANGED
|
@@ -47,7 +47,7 @@ export { UsersApi } from './apis/UsersApi.js';
|
|
|
47
47
|
export { VisitsApi } from './apis/VisitsApi.js';
|
|
48
48
|
export { WaasApi } from './apis/WaasApi.js';
|
|
49
49
|
export { WalletConnectApi } from './apis/WalletConnectApi.js';
|
|
50
|
-
export { WalletsApi } from './apis/WalletsApi.js';
|
|
50
|
+
export { GetWalletsListDirectionEnum, WalletsApi } from './apis/WalletsApi.js';
|
|
51
51
|
export { WebhooksApi } from './apis/WebhooksApi.js';
|
|
52
52
|
export { YieldApi } from './apis/YieldApi.js';
|
|
53
53
|
export { ZendeskApi } from './apis/ZendeskApi.js';
|
|
@@ -139,6 +139,7 @@ export { BillingSubscriptionPeriodFromJSON, BillingSubscriptionPeriodFromJSONTyp
|
|
|
139
139
|
export { BillingSubscriptionPlanTypeEnum, BillingSubscriptionPlanTypeEnumFromJSON, BillingSubscriptionPlanTypeEnumFromJSONTyped, BillingSubscriptionPlanTypeEnumToJSON } from './models/BillingSubscriptionPlanTypeEnum.js';
|
|
140
140
|
export { BillingSubscriptionVersionEnum, BillingSubscriptionVersionEnumFromJSON, BillingSubscriptionVersionEnumFromJSONTyped, BillingSubscriptionVersionEnumToJSON } from './models/BillingSubscriptionVersionEnum.js';
|
|
141
141
|
export { BlockaidValidationFromJSON, BlockaidValidationFromJSONTyped, BlockaidValidationToJSON } from './models/BlockaidValidation.js';
|
|
142
|
+
export { BoundedCountFromJSON, BoundedCountFromJSONTyped, BoundedCountToJSON } from './models/BoundedCount.js';
|
|
142
143
|
export { BulkUserCreateResponseFromJSON, BulkUserCreateResponseFromJSONTyped, BulkUserCreateResponseToJSON } from './models/BulkUserCreateResponse.js';
|
|
143
144
|
export { BulkUserCreateResponseFailedFromJSON, BulkUserCreateResponseFailedFromJSONTyped, BulkUserCreateResponseFailedToJSON } from './models/BulkUserCreateResponseFailed.js';
|
|
144
145
|
export { BusinessAccountFromJSON, BusinessAccountFromJSONTyped, BusinessAccountToJSON } from './models/BusinessAccount.js';
|
|
@@ -1032,6 +1033,7 @@ export { WalletDetailFromJSON, WalletDetailFromJSONTyped, WalletDetailToJSON } f
|
|
|
1032
1033
|
export { WalletKeyShareInfoFromJSON, WalletKeyShareInfoFromJSONTyped, WalletKeyShareInfoToJSON } from './models/WalletKeyShareInfo.js';
|
|
1033
1034
|
export { WalletKeyShareInfoWithEncryptedAccountCredentialFromJSON, WalletKeyShareInfoWithEncryptedAccountCredentialFromJSONTyped, WalletKeyShareInfoWithEncryptedAccountCredentialToJSON } from './models/WalletKeyShareInfoWithEncryptedAccountCredential.js';
|
|
1034
1035
|
export { WalletKeyShareInfoWithEncryptedAccountCredentialAllOfFromJSON, WalletKeyShareInfoWithEncryptedAccountCredentialAllOfFromJSONTyped, WalletKeyShareInfoWithEncryptedAccountCredentialAllOfToJSON } from './models/WalletKeyShareInfoWithEncryptedAccountCredentialAllOf.js';
|
|
1036
|
+
export { WalletListItemDelegatedStatusEnum, WalletListItemFromJSON, WalletListItemFromJSONTyped, WalletListItemToJSON } from './models/WalletListItem.js';
|
|
1035
1037
|
export { WalletPropertiesFromJSON, WalletPropertiesFromJSONTyped, WalletPropertiesToJSON } from './models/WalletProperties.js';
|
|
1036
1038
|
export { WalletProviderEnum, WalletProviderEnumFromJSON, WalletProviderEnumFromJSONTyped, WalletProviderEnumToJSON } from './models/WalletProviderEnum.js';
|
|
1037
1039
|
export { WalletRecoveryRequestFromJSON, WalletRecoveryRequestFromJSONTyped, WalletRecoveryRequestToJSON } from './models/WalletRecoveryRequest.js';
|
|
@@ -1044,6 +1046,7 @@ export { WalletTransactionFeeFromJSON, WalletTransactionFeeFromJSONTyped, Wallet
|
|
|
1044
1046
|
export { WalletTransactionType, WalletTransactionTypeFromJSON, WalletTransactionTypeFromJSONTyped, WalletTransactionTypeToJSON } from './models/WalletTransactionType.js';
|
|
1045
1047
|
export { WalletTransactionsResponseFromJSON, WalletTransactionsResponseFromJSONTyped, WalletTransactionsResponseToJSON } from './models/WalletTransactionsResponse.js';
|
|
1046
1048
|
export { WalletsBreakdownResultFromJSON, WalletsBreakdownResultFromJSONTyped, WalletsBreakdownResultToJSON } from './models/WalletsBreakdownResult.js';
|
|
1049
|
+
export { WalletsListResponseFromJSON, WalletsListResponseFromJSONTyped, WalletsListResponseToJSON } from './models/WalletsListResponse.js';
|
|
1047
1050
|
export { WalletsResponseFromJSON, WalletsResponseFromJSONTyped, WalletsResponseToJSON } from './models/WalletsResponse.js';
|
|
1048
1051
|
export { WebhookFromJSON, WebhookFromJSONTyped, WebhookToJSON } from './models/Webhook.js';
|
|
1049
1052
|
export { WebhookCreateRequestFromJSON, WebhookCreateRequestFromJSONTyped, WebhookCreateRequestToJSON } from './models/WebhookCreateRequest.js';
|
|
@@ -2,19 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
5
7
|
/* 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
8
|
function BadGatewayFromJSON(json) {
|
|
19
9
|
return BadGatewayFromJSONTyped(json);
|
|
20
10
|
}
|
|
@@ -24,6 +14,7 @@ function BadGatewayFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
14
|
}
|
|
25
15
|
return {
|
|
26
16
|
'error': json['error'],
|
|
17
|
+
'code': !runtime.exists(json, 'code') ? undefined : json['code'],
|
|
27
18
|
};
|
|
28
19
|
}
|
|
29
20
|
function BadGatewayToJSON(value) {
|
|
@@ -35,6 +26,7 @@ function BadGatewayToJSON(value) {
|
|
|
35
26
|
}
|
|
36
27
|
return {
|
|
37
28
|
'error': value.error,
|
|
29
|
+
'code': value.code,
|
|
38
30
|
};
|
|
39
31
|
}
|
|
40
32
|
|
|
@@ -21,6 +21,12 @@ export interface BadGateway {
|
|
|
21
21
|
* @memberof BadGateway
|
|
22
22
|
*/
|
|
23
23
|
error: string;
|
|
24
|
+
/**
|
|
25
|
+
* Machine-readable reason for the 502, set only by endpoints that distinguish rejections. Flow endpoints use exchange_unavailable.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BadGateway
|
|
28
|
+
*/
|
|
29
|
+
code?: string;
|
|
24
30
|
}
|
|
25
31
|
export declare function BadGatewayFromJSON(json: any): BadGateway;
|
|
26
32
|
export declare function BadGatewayFromJSONTyped(json: any, ignoreDiscriminator: boolean): BadGateway;
|
package/src/models/BadGateway.js
CHANGED
|
@@ -1,16 +1,6 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
1
3
|
/* 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
4
|
function BadGatewayFromJSON(json) {
|
|
15
5
|
return BadGatewayFromJSONTyped(json);
|
|
16
6
|
}
|
|
@@ -20,6 +10,7 @@ function BadGatewayFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
10
|
}
|
|
21
11
|
return {
|
|
22
12
|
'error': json['error'],
|
|
13
|
+
'code': !exists(json, 'code') ? undefined : json['code'],
|
|
23
14
|
};
|
|
24
15
|
}
|
|
25
16
|
function BadGatewayToJSON(value) {
|
|
@@ -31,6 +22,7 @@ function BadGatewayToJSON(value) {
|
|
|
31
22
|
}
|
|
32
23
|
return {
|
|
33
24
|
'error': value.error,
|
|
25
|
+
'code': value.code,
|
|
34
26
|
};
|
|
35
27
|
}
|
|
36
28
|
|
|
@@ -14,6 +14,7 @@ function BadRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
14
|
}
|
|
15
15
|
return {
|
|
16
16
|
'error': !runtime.exists(json, 'error') ? undefined : json['error'],
|
|
17
|
+
'code': !runtime.exists(json, 'code') ? undefined : json['code'],
|
|
17
18
|
};
|
|
18
19
|
}
|
|
19
20
|
function BadRequestToJSON(value) {
|
|
@@ -25,6 +26,7 @@ function BadRequestToJSON(value) {
|
|
|
25
26
|
}
|
|
26
27
|
return {
|
|
27
28
|
'error': value.error,
|
|
29
|
+
'code': value.code,
|
|
28
30
|
};
|
|
29
31
|
}
|
|
30
32
|
|
|
@@ -21,6 +21,12 @@ export interface BadRequest {
|
|
|
21
21
|
* @memberof BadRequest
|
|
22
22
|
*/
|
|
23
23
|
error?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Machine-readable reason for the 400, set only by endpoints that distinguish rejections. Flow endpoints use exchange_not_supported and exchange_currency_unsupported.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof BadRequest
|
|
28
|
+
*/
|
|
29
|
+
code?: string;
|
|
24
30
|
}
|
|
25
31
|
export declare function BadRequestFromJSON(json: any): BadRequest;
|
|
26
32
|
export declare function BadRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): BadRequest;
|
package/src/models/BadRequest.js
CHANGED
|
@@ -10,6 +10,7 @@ function BadRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
10
10
|
}
|
|
11
11
|
return {
|
|
12
12
|
'error': !exists(json, 'error') ? undefined : json['error'],
|
|
13
|
+
'code': !exists(json, 'code') ? undefined : json['code'],
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
16
|
function BadRequestToJSON(value) {
|
|
@@ -21,6 +22,7 @@ function BadRequestToJSON(value) {
|
|
|
21
22
|
}
|
|
22
23
|
return {
|
|
23
24
|
'error': value.error,
|
|
25
|
+
'code': value.code,
|
|
24
26
|
};
|
|
25
27
|
}
|
|
26
28
|
|
|
@@ -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 BoundedCountFromJSON(json) {
|
|
19
|
+
return BoundedCountFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function BoundedCountFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'value': json['value'],
|
|
27
|
+
'isLowerBound': json['isLowerBound'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function BoundedCountToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'value': value.value,
|
|
39
|
+
'isLowerBound': value.isLowerBound,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.BoundedCountFromJSON = BoundedCountFromJSON;
|
|
44
|
+
exports.BoundedCountFromJSONTyped = BoundedCountFromJSONTyped;
|
|
45
|
+
exports.BoundedCountToJSON = BoundedCountToJSON;
|
|
@@ -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 BoundedCount
|
|
16
|
+
*/
|
|
17
|
+
export interface BoundedCount {
|
|
18
|
+
/**
|
|
19
|
+
* Number of items counted, up to the count cap
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof BoundedCount
|
|
22
|
+
*/
|
|
23
|
+
value: number;
|
|
24
|
+
/**
|
|
25
|
+
* Whether the real total is at least value because the count hit the cap
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof BoundedCount
|
|
28
|
+
*/
|
|
29
|
+
isLowerBound: boolean;
|
|
30
|
+
}
|
|
31
|
+
export declare function BoundedCountFromJSON(json: any): BoundedCount;
|
|
32
|
+
export declare function BoundedCountFromJSONTyped(json: any, ignoreDiscriminator: boolean): BoundedCount;
|
|
33
|
+
export declare function BoundedCountToJSON(value?: BoundedCount | 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 BoundedCountFromJSON(json) {
|
|
15
|
+
return BoundedCountFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function BoundedCountFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'value': json['value'],
|
|
23
|
+
'isLowerBound': json['isLowerBound'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function BoundedCountToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'value': value.value,
|
|
35
|
+
'isLowerBound': value.isLowerBound,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { BoundedCountFromJSON, BoundedCountFromJSONTyped, BoundedCountToJSON };
|
package/src/models/NotFound.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export interface NotFound {
|
|
|
22
22
|
*/
|
|
23
23
|
error: string;
|
|
24
24
|
/**
|
|
25
|
-
* Machine-readable error code
|
|
25
|
+
* Machine-readable error code. Flow endpoints use exchange_not_configured when the requested exchange isn't set up for the environment.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof NotFound
|
|
28
28
|
*/
|
|
@@ -180,6 +180,7 @@ exports.UnprocessableEntityErrorCode = void 0;
|
|
|
180
180
|
UnprocessableEntityErrorCode["OfflineRecoveryCloudBackupConflict"] = "offline_recovery_cloud_backup_conflict";
|
|
181
181
|
UnprocessableEntityErrorCode["QuoteExpired"] = "quote_expired";
|
|
182
182
|
UnprocessableEntityErrorCode["InsufficientBalance"] = "insufficient_balance";
|
|
183
|
+
UnprocessableEntityErrorCode["ExchangeSettlementUnsupported"] = "exchange_settlement_unsupported";
|
|
183
184
|
})(exports.UnprocessableEntityErrorCode || (exports.UnprocessableEntityErrorCode = {}));
|
|
184
185
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
185
186
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|
|
@@ -172,7 +172,8 @@ export declare enum UnprocessableEntityErrorCode {
|
|
|
172
172
|
AmbiguousBroadcastIdentifier = "ambiguous_broadcast_identifier",
|
|
173
173
|
OfflineRecoveryCloudBackupConflict = "offline_recovery_cloud_backup_conflict",
|
|
174
174
|
QuoteExpired = "quote_expired",
|
|
175
|
-
InsufficientBalance = "insufficient_balance"
|
|
175
|
+
InsufficientBalance = "insufficient_balance",
|
|
176
|
+
ExchangeSettlementUnsupported = "exchange_settlement_unsupported"
|
|
176
177
|
}
|
|
177
178
|
export declare function UnprocessableEntityErrorCodeFromJSON(json: any): UnprocessableEntityErrorCode;
|
|
178
179
|
export declare function UnprocessableEntityErrorCodeFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnprocessableEntityErrorCode;
|
|
@@ -176,6 +176,7 @@ var UnprocessableEntityErrorCode;
|
|
|
176
176
|
UnprocessableEntityErrorCode["OfflineRecoveryCloudBackupConflict"] = "offline_recovery_cloud_backup_conflict";
|
|
177
177
|
UnprocessableEntityErrorCode["QuoteExpired"] = "quote_expired";
|
|
178
178
|
UnprocessableEntityErrorCode["InsufficientBalance"] = "insufficient_balance";
|
|
179
|
+
UnprocessableEntityErrorCode["ExchangeSettlementUnsupported"] = "exchange_settlement_unsupported";
|
|
179
180
|
})(UnprocessableEntityErrorCode || (UnprocessableEntityErrorCode = {}));
|
|
180
181
|
function UnprocessableEntityErrorCodeFromJSON(json) {
|
|
181
182
|
return UnprocessableEntityErrorCodeFromJSONTyped(json);
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var ChainEnum = require('./ChainEnum.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
/**
|
|
9
|
+
* @export
|
|
10
|
+
* @enum {string}
|
|
11
|
+
*/
|
|
12
|
+
exports.WalletListItemDelegatedStatusEnum = void 0;
|
|
13
|
+
(function (WalletListItemDelegatedStatusEnum) {
|
|
14
|
+
WalletListItemDelegatedStatusEnum["None"] = "none";
|
|
15
|
+
WalletListItemDelegatedStatusEnum["Active"] = "active";
|
|
16
|
+
WalletListItemDelegatedStatusEnum["Revoked"] = "revoked";
|
|
17
|
+
})(exports.WalletListItemDelegatedStatusEnum || (exports.WalletListItemDelegatedStatusEnum = {}));
|
|
18
|
+
function WalletListItemFromJSON(json) {
|
|
19
|
+
return WalletListItemFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function WalletListItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'id': json['id'],
|
|
27
|
+
'userId': json['userId'],
|
|
28
|
+
'name': json['name'],
|
|
29
|
+
'chain': ChainEnum.ChainEnumFromJSON(json['chain']),
|
|
30
|
+
'publicKey': json['publicKey'],
|
|
31
|
+
'lastSelectedAt': (json['lastSelectedAt'] === null ? null : new Date(json['lastSelectedAt'])),
|
|
32
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
33
|
+
'delegatedStatus': json['delegatedStatus'],
|
|
34
|
+
'delegatedExpiresAt': (json['delegatedExpiresAt'] === null ? null : new Date(json['delegatedExpiresAt'])),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
function WalletListItemToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'id': value.id,
|
|
46
|
+
'userId': value.userId,
|
|
47
|
+
'name': value.name,
|
|
48
|
+
'chain': ChainEnum.ChainEnumToJSON(value.chain),
|
|
49
|
+
'publicKey': value.publicKey,
|
|
50
|
+
'lastSelectedAt': (value.lastSelectedAt === null ? null : value.lastSelectedAt.toISOString()),
|
|
51
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
52
|
+
'delegatedStatus': value.delegatedStatus,
|
|
53
|
+
'delegatedExpiresAt': (value.delegatedExpiresAt === null ? null : value.delegatedExpiresAt.toISOString()),
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
exports.WalletListItemFromJSON = WalletListItemFromJSON;
|
|
58
|
+
exports.WalletListItemFromJSONTyped = WalletListItemFromJSONTyped;
|
|
59
|
+
exports.WalletListItemToJSON = WalletListItemToJSON;
|
|
@@ -0,0 +1,85 @@
|
|
|
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 { ChainEnum } from './ChainEnum';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WalletListItem
|
|
17
|
+
*/
|
|
18
|
+
export interface WalletListItem {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WalletListItem
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
* ID of the user who owns the wallet, or null if the wallet has no user
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof WalletListItem
|
|
29
|
+
*/
|
|
30
|
+
userId: string | null;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof WalletListItem
|
|
35
|
+
*/
|
|
36
|
+
name: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {ChainEnum}
|
|
40
|
+
* @memberof WalletListItem
|
|
41
|
+
*/
|
|
42
|
+
chain: ChainEnum;
|
|
43
|
+
/**
|
|
44
|
+
* 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)
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof WalletListItem
|
|
47
|
+
*/
|
|
48
|
+
publicKey: string;
|
|
49
|
+
/**
|
|
50
|
+
* ISO 8601 timestamp of when the user last selected this wallet as active
|
|
51
|
+
* @type {Date}
|
|
52
|
+
* @memberof WalletListItem
|
|
53
|
+
*/
|
|
54
|
+
lastSelectedAt: Date | null;
|
|
55
|
+
/**
|
|
56
|
+
* ISO 8601 timestamp of when the wallet was created
|
|
57
|
+
* @type {Date}
|
|
58
|
+
* @memberof WalletListItem
|
|
59
|
+
*/
|
|
60
|
+
createdAt: Date;
|
|
61
|
+
/**
|
|
62
|
+
* Whether the wallet has no delegated access keys, at least one undeleted key (see delegatedExpiresAt), or only deleted ones
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof WalletListItem
|
|
65
|
+
*/
|
|
66
|
+
delegatedStatus: WalletListItemDelegatedStatusEnum;
|
|
67
|
+
/**
|
|
68
|
+
* ISO 8601 timestamp of the latest expiry across the wallet's undeleted delegated access keys. Null when the wallet has none, or when any undeleted key never expires. A past value means the keys have expired without being deleted, so delegatedStatus can read active while no key is usable.
|
|
69
|
+
* @type {Date}
|
|
70
|
+
* @memberof WalletListItem
|
|
71
|
+
*/
|
|
72
|
+
delegatedExpiresAt: Date | null;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* @export
|
|
76
|
+
* @enum {string}
|
|
77
|
+
*/
|
|
78
|
+
export declare enum WalletListItemDelegatedStatusEnum {
|
|
79
|
+
None = "none",
|
|
80
|
+
Active = "active",
|
|
81
|
+
Revoked = "revoked"
|
|
82
|
+
}
|
|
83
|
+
export declare function WalletListItemFromJSON(json: any): WalletListItem;
|
|
84
|
+
export declare function WalletListItemFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletListItem;
|
|
85
|
+
export declare function WalletListItemToJSON(value?: WalletListItem | null): any;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var WalletListItemDelegatedStatusEnum;
|
|
9
|
+
(function (WalletListItemDelegatedStatusEnum) {
|
|
10
|
+
WalletListItemDelegatedStatusEnum["None"] = "none";
|
|
11
|
+
WalletListItemDelegatedStatusEnum["Active"] = "active";
|
|
12
|
+
WalletListItemDelegatedStatusEnum["Revoked"] = "revoked";
|
|
13
|
+
})(WalletListItemDelegatedStatusEnum || (WalletListItemDelegatedStatusEnum = {}));
|
|
14
|
+
function WalletListItemFromJSON(json) {
|
|
15
|
+
return WalletListItemFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function WalletListItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'id': json['id'],
|
|
23
|
+
'userId': json['userId'],
|
|
24
|
+
'name': json['name'],
|
|
25
|
+
'chain': ChainEnumFromJSON(json['chain']),
|
|
26
|
+
'publicKey': json['publicKey'],
|
|
27
|
+
'lastSelectedAt': (json['lastSelectedAt'] === null ? null : new Date(json['lastSelectedAt'])),
|
|
28
|
+
'createdAt': (new Date(json['createdAt'])),
|
|
29
|
+
'delegatedStatus': json['delegatedStatus'],
|
|
30
|
+
'delegatedExpiresAt': (json['delegatedExpiresAt'] === null ? null : new Date(json['delegatedExpiresAt'])),
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
function WalletListItemToJSON(value) {
|
|
34
|
+
if (value === undefined) {
|
|
35
|
+
return undefined;
|
|
36
|
+
}
|
|
37
|
+
if (value === null) {
|
|
38
|
+
return null;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': value.id,
|
|
42
|
+
'userId': value.userId,
|
|
43
|
+
'name': value.name,
|
|
44
|
+
'chain': ChainEnumToJSON(value.chain),
|
|
45
|
+
'publicKey': value.publicKey,
|
|
46
|
+
'lastSelectedAt': (value.lastSelectedAt === null ? null : value.lastSelectedAt.toISOString()),
|
|
47
|
+
'createdAt': (value.createdAt.toISOString()),
|
|
48
|
+
'delegatedStatus': value.delegatedStatus,
|
|
49
|
+
'delegatedExpiresAt': (value.delegatedExpiresAt === null ? null : value.delegatedExpiresAt.toISOString()),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export { WalletListItemDelegatedStatusEnum, WalletListItemFromJSON, WalletListItemFromJSONTyped, WalletListItemToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var BoundedCount = require('./BoundedCount.cjs');
|
|
7
|
+
var WalletListItem = require('./WalletListItem.cjs');
|
|
8
|
+
|
|
9
|
+
/* tslint:disable */
|
|
10
|
+
function WalletsListResponseFromJSON(json) {
|
|
11
|
+
return WalletsListResponseFromJSONTyped(json);
|
|
12
|
+
}
|
|
13
|
+
function WalletsListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if ((json === undefined) || (json === null)) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
'wallets': (json['wallets'].map(WalletListItem.WalletListItemFromJSON)),
|
|
19
|
+
'nextCursor': json['nextCursor'],
|
|
20
|
+
'prevCursor': json['prevCursor'],
|
|
21
|
+
'hasMoreNewer': !runtime.exists(json, 'hasMoreNewer') ? undefined : json['hasMoreNewer'],
|
|
22
|
+
'totalCount': !runtime.exists(json, 'totalCount') ? undefined : BoundedCount.BoundedCountFromJSON(json['totalCount']),
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function WalletsListResponseToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'wallets': (value.wallets.map(WalletListItem.WalletListItemToJSON)),
|
|
34
|
+
'nextCursor': value.nextCursor,
|
|
35
|
+
'prevCursor': value.prevCursor,
|
|
36
|
+
'hasMoreNewer': value.hasMoreNewer,
|
|
37
|
+
'totalCount': BoundedCount.BoundedCountToJSON(value.totalCount),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.WalletsListResponseFromJSON = WalletsListResponseFromJSON;
|
|
42
|
+
exports.WalletsListResponseFromJSONTyped = WalletsListResponseFromJSONTyped;
|
|
43
|
+
exports.WalletsListResponseToJSON = WalletsListResponseToJSON;
|
|
@@ -0,0 +1,53 @@
|
|
|
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 { BoundedCount } from './BoundedCount';
|
|
13
|
+
import { WalletListItem } from './WalletListItem';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface WalletsListResponse
|
|
18
|
+
*/
|
|
19
|
+
export interface WalletsListResponse {
|
|
20
|
+
/**
|
|
21
|
+
* Page of wallets, newest first
|
|
22
|
+
* @type {Array<WalletListItem>}
|
|
23
|
+
* @memberof WalletsListResponse
|
|
24
|
+
*/
|
|
25
|
+
wallets: Array<WalletListItem>;
|
|
26
|
+
/**
|
|
27
|
+
* Cursor for the next older page, or null if there is none
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof WalletsListResponse
|
|
30
|
+
*/
|
|
31
|
+
nextCursor: string | null;
|
|
32
|
+
/**
|
|
33
|
+
* Cursor for the next newer page, or null if the page is empty
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof WalletsListResponse
|
|
36
|
+
*/
|
|
37
|
+
prevCursor: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Whether newer wallets exist beyond this page; only set when direction is newer
|
|
40
|
+
* @type {boolean}
|
|
41
|
+
* @memberof WalletsListResponse
|
|
42
|
+
*/
|
|
43
|
+
hasMoreNewer?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Count of wallets in the environment; only set on the first page
|
|
46
|
+
* @type {BoundedCount}
|
|
47
|
+
* @memberof WalletsListResponse
|
|
48
|
+
*/
|
|
49
|
+
totalCount?: BoundedCount | null;
|
|
50
|
+
}
|
|
51
|
+
export declare function WalletsListResponseFromJSON(json: any): WalletsListResponse;
|
|
52
|
+
export declare function WalletsListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletsListResponse;
|
|
53
|
+
export declare function WalletsListResponseToJSON(value?: WalletsListResponse | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { BoundedCountFromJSON, BoundedCountToJSON } from './BoundedCount.js';
|
|
3
|
+
import { WalletListItemFromJSON, WalletListItemToJSON } from './WalletListItem.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function WalletsListResponseFromJSON(json) {
|
|
7
|
+
return WalletsListResponseFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function WalletsListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'wallets': (json['wallets'].map(WalletListItemFromJSON)),
|
|
15
|
+
'nextCursor': json['nextCursor'],
|
|
16
|
+
'prevCursor': json['prevCursor'],
|
|
17
|
+
'hasMoreNewer': !exists(json, 'hasMoreNewer') ? undefined : json['hasMoreNewer'],
|
|
18
|
+
'totalCount': !exists(json, 'totalCount') ? undefined : BoundedCountFromJSON(json['totalCount']),
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function WalletsListResponseToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'wallets': (value.wallets.map(WalletListItemToJSON)),
|
|
30
|
+
'nextCursor': value.nextCursor,
|
|
31
|
+
'prevCursor': value.prevCursor,
|
|
32
|
+
'hasMoreNewer': value.hasMoreNewer,
|
|
33
|
+
'totalCount': BoundedCountToJSON(value.totalCount),
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { WalletsListResponseFromJSON, WalletsListResponseFromJSONTyped, WalletsListResponseToJSON };
|