@dynamic-labs/sdk-api 0.114.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/BoundedCount.cjs +45 -0
- package/src/models/BoundedCount.d.ts +33 -0
- package/src/models/BoundedCount.js +39 -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';
|
|
@@ -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 };
|
|
@@ -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 };
|
package/src/models/index.d.ts
CHANGED
|
@@ -86,6 +86,7 @@ export * from './BillingSubscriptionPeriod';
|
|
|
86
86
|
export * from './BillingSubscriptionPlanTypeEnum';
|
|
87
87
|
export * from './BillingSubscriptionVersionEnum';
|
|
88
88
|
export * from './BlockaidValidation';
|
|
89
|
+
export * from './BoundedCount';
|
|
89
90
|
export * from './BulkUserCreateResponse';
|
|
90
91
|
export * from './BulkUserCreateResponseFailed';
|
|
91
92
|
export * from './BusinessAccount';
|
|
@@ -979,6 +980,7 @@ export * from './WalletDetail';
|
|
|
979
980
|
export * from './WalletKeyShareInfo';
|
|
980
981
|
export * from './WalletKeyShareInfoWithEncryptedAccountCredential';
|
|
981
982
|
export * from './WalletKeyShareInfoWithEncryptedAccountCredentialAllOf';
|
|
983
|
+
export * from './WalletListItem';
|
|
982
984
|
export * from './WalletProperties';
|
|
983
985
|
export * from './WalletProviderEnum';
|
|
984
986
|
export * from './WalletRecoveryRequest';
|
|
@@ -991,6 +993,7 @@ export * from './WalletTransactionFee';
|
|
|
991
993
|
export * from './WalletTransactionType';
|
|
992
994
|
export * from './WalletTransactionsResponse';
|
|
993
995
|
export * from './WalletsBreakdownResult';
|
|
996
|
+
export * from './WalletsListResponse';
|
|
994
997
|
export * from './WalletsResponse';
|
|
995
998
|
export * from './Webhook';
|
|
996
999
|
export * from './WebhookCreateRequest';
|