@dynamic-labs/sdk-api 0.165.0 → 0.167.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 +38 -0
- package/src/apis/FlowAnalyticsApi.d.ts +15 -1
- package/src/apis/FlowAnalyticsApi.js +38 -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 +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/index.cjs +24 -0
- package/src/index.js +5 -0
- package/src/models/FlowTransfer.cjs +51 -0
- package/src/models/FlowTransfer.d.ts +78 -0
- package/src/models/FlowTransfer.js +45 -0
- package/src/models/FlowTransferKindEnum.cjs +41 -0
- package/src/models/FlowTransferKindEnum.d.ts +24 -0
- package/src/models/FlowTransferKindEnum.js +35 -0
- package/src/models/FlowTransferToken.cjs +45 -0
- package/src/models/FlowTransferToken.d.ts +33 -0
- package/src/models/FlowTransferToken.js +39 -0
- package/src/models/FlowTransfersResponse.cjs +33 -0
- package/src/models/FlowTransfersResponse.d.ts +28 -0
- package/src/models/FlowTransfersResponse.js +27 -0
- package/src/models/SignMessageContext.cjs +5 -0
- package/src/models/SignMessageContext.d.ts +13 -0
- package/src/models/SignMessageContext.js +5 -0
- package/src/models/SignMessageTronTransaction.cjs +45 -0
- package/src/models/SignMessageTronTransaction.d.ts +33 -0
- package/src/models/SignMessageTronTransaction.js +39 -0
- package/src/models/index.d.ts +5 -0
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
import { FlowTransferKindEnum } from './FlowTransferKindEnum';
|
|
14
|
+
import { FlowTransferToken } from './FlowTransferToken';
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @export
|
|
18
|
+
* @interface FlowTransfer
|
|
19
|
+
*/
|
|
20
|
+
export interface FlowTransfer {
|
|
21
|
+
/**
|
|
22
|
+
* Raw amount in the token's smallest unit
|
|
23
|
+
* @type {string}
|
|
24
|
+
* @memberof FlowTransfer
|
|
25
|
+
*/
|
|
26
|
+
amount: string;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
* @type {Date}
|
|
30
|
+
* @memberof FlowTransfer
|
|
31
|
+
*/
|
|
32
|
+
blockTimestamp: Date;
|
|
33
|
+
/**
|
|
34
|
+
*
|
|
35
|
+
* @type {string}
|
|
36
|
+
* @memberof FlowTransfer
|
|
37
|
+
*/
|
|
38
|
+
chainId: string;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @type {ChainEnum}
|
|
42
|
+
* @memberof FlowTransfer
|
|
43
|
+
*/
|
|
44
|
+
chainName: ChainEnum;
|
|
45
|
+
/**
|
|
46
|
+
* Sender address, null on Bitcoin
|
|
47
|
+
* @type {string}
|
|
48
|
+
* @memberof FlowTransfer
|
|
49
|
+
*/
|
|
50
|
+
fromAddress: string | null;
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @type {FlowTransferKindEnum}
|
|
54
|
+
* @memberof FlowTransfer
|
|
55
|
+
*/
|
|
56
|
+
kind: FlowTransferKindEnum;
|
|
57
|
+
/**
|
|
58
|
+
* Address the transfer was sent to
|
|
59
|
+
* @type {string}
|
|
60
|
+
* @memberof FlowTransfer
|
|
61
|
+
*/
|
|
62
|
+
toAddress: string;
|
|
63
|
+
/**
|
|
64
|
+
*
|
|
65
|
+
* @type {FlowTransferToken}
|
|
66
|
+
* @memberof FlowTransfer
|
|
67
|
+
*/
|
|
68
|
+
token: FlowTransferToken;
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {string}
|
|
72
|
+
* @memberof FlowTransfer
|
|
73
|
+
*/
|
|
74
|
+
txHash: string;
|
|
75
|
+
}
|
|
76
|
+
export declare function FlowTransferFromJSON(json: any): FlowTransfer;
|
|
77
|
+
export declare function FlowTransferFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowTransfer;
|
|
78
|
+
export declare function FlowTransferToJSON(value?: FlowTransfer | null): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { ChainEnumFromJSON, ChainEnumToJSON } from './ChainEnum.js';
|
|
2
|
+
import { FlowTransferKindEnumFromJSON, FlowTransferKindEnumToJSON } from './FlowTransferKindEnum.js';
|
|
3
|
+
import { FlowTransferTokenFromJSON, FlowTransferTokenToJSON } from './FlowTransferToken.js';
|
|
4
|
+
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
function FlowTransferFromJSON(json) {
|
|
7
|
+
return FlowTransferFromJSONTyped(json);
|
|
8
|
+
}
|
|
9
|
+
function FlowTransferFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if ((json === undefined) || (json === null)) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
'amount': json['amount'],
|
|
15
|
+
'blockTimestamp': (new Date(json['blockTimestamp'])),
|
|
16
|
+
'chainId': json['chainId'],
|
|
17
|
+
'chainName': ChainEnumFromJSON(json['chainName']),
|
|
18
|
+
'fromAddress': json['fromAddress'],
|
|
19
|
+
'kind': FlowTransferKindEnumFromJSON(json['kind']),
|
|
20
|
+
'toAddress': json['toAddress'],
|
|
21
|
+
'token': FlowTransferTokenFromJSON(json['token']),
|
|
22
|
+
'txHash': json['txHash'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function FlowTransferToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'amount': value.amount,
|
|
34
|
+
'blockTimestamp': (value.blockTimestamp.toISOString()),
|
|
35
|
+
'chainId': value.chainId,
|
|
36
|
+
'chainName': ChainEnumToJSON(value.chainName),
|
|
37
|
+
'fromAddress': value.fromAddress,
|
|
38
|
+
'kind': FlowTransferKindEnumToJSON(value.kind),
|
|
39
|
+
'toAddress': value.toAddress,
|
|
40
|
+
'token': FlowTransferTokenToJSON(value.token),
|
|
41
|
+
'txHash': value.txHash,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export { FlowTransferFromJSON, FlowTransferFromJSONTyped, FlowTransferToJSON };
|
|
@@ -0,0 +1,41 @@
|
|
|
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
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @enum {string}
|
|
22
|
+
*/
|
|
23
|
+
exports.FlowTransferKindEnum = void 0;
|
|
24
|
+
(function (FlowTransferKindEnum) {
|
|
25
|
+
FlowTransferKindEnum["Deposit"] = "deposit";
|
|
26
|
+
FlowTransferKindEnum["Refund"] = "refund";
|
|
27
|
+
FlowTransferKindEnum["Fill"] = "fill";
|
|
28
|
+
})(exports.FlowTransferKindEnum || (exports.FlowTransferKindEnum = {}));
|
|
29
|
+
function FlowTransferKindEnumFromJSON(json) {
|
|
30
|
+
return FlowTransferKindEnumFromJSONTyped(json);
|
|
31
|
+
}
|
|
32
|
+
function FlowTransferKindEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
function FlowTransferKindEnumToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.FlowTransferKindEnumFromJSON = FlowTransferKindEnumFromJSON;
|
|
40
|
+
exports.FlowTransferKindEnumFromJSONTyped = FlowTransferKindEnumFromJSONTyped;
|
|
41
|
+
exports.FlowTransferKindEnumToJSON = FlowTransferKindEnumToJSON;
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum FlowTransferKindEnum {
|
|
18
|
+
Deposit = "deposit",
|
|
19
|
+
Refund = "refund",
|
|
20
|
+
Fill = "fill"
|
|
21
|
+
}
|
|
22
|
+
export declare function FlowTransferKindEnumFromJSON(json: any): FlowTransferKindEnum;
|
|
23
|
+
export declare function FlowTransferKindEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowTransferKindEnum;
|
|
24
|
+
export declare function FlowTransferKindEnumToJSON(value?: FlowTransferKindEnum | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @enum {string}
|
|
18
|
+
*/
|
|
19
|
+
var FlowTransferKindEnum;
|
|
20
|
+
(function (FlowTransferKindEnum) {
|
|
21
|
+
FlowTransferKindEnum["Deposit"] = "deposit";
|
|
22
|
+
FlowTransferKindEnum["Refund"] = "refund";
|
|
23
|
+
FlowTransferKindEnum["Fill"] = "fill";
|
|
24
|
+
})(FlowTransferKindEnum || (FlowTransferKindEnum = {}));
|
|
25
|
+
function FlowTransferKindEnumFromJSON(json) {
|
|
26
|
+
return FlowTransferKindEnumFromJSONTyped(json);
|
|
27
|
+
}
|
|
28
|
+
function FlowTransferKindEnumFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
function FlowTransferKindEnumToJSON(value) {
|
|
32
|
+
return value;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { FlowTransferKindEnum, FlowTransferKindEnumFromJSON, FlowTransferKindEnumFromJSONTyped, FlowTransferKindEnumToJSON };
|
|
@@ -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 FlowTransferTokenFromJSON(json) {
|
|
19
|
+
return FlowTransferTokenFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function FlowTransferTokenFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'address': json['address'],
|
|
27
|
+
'decimals': json['decimals'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function FlowTransferTokenToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'address': value.address,
|
|
39
|
+
'decimals': value.decimals,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.FlowTransferTokenFromJSON = FlowTransferTokenFromJSON;
|
|
44
|
+
exports.FlowTransferTokenFromJSONTyped = FlowTransferTokenFromJSONTyped;
|
|
45
|
+
exports.FlowTransferTokenToJSON = FlowTransferTokenToJSON;
|
|
@@ -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 FlowTransferToken
|
|
16
|
+
*/
|
|
17
|
+
export interface FlowTransferToken {
|
|
18
|
+
/**
|
|
19
|
+
* Token contract address, the zero address for the native asset
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof FlowTransferToken
|
|
22
|
+
*/
|
|
23
|
+
address: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof FlowTransferToken
|
|
28
|
+
*/
|
|
29
|
+
decimals: number;
|
|
30
|
+
}
|
|
31
|
+
export declare function FlowTransferTokenFromJSON(json: any): FlowTransferToken;
|
|
32
|
+
export declare function FlowTransferTokenFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowTransferToken;
|
|
33
|
+
export declare function FlowTransferTokenToJSON(value?: FlowTransferToken | 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 FlowTransferTokenFromJSON(json) {
|
|
15
|
+
return FlowTransferTokenFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function FlowTransferTokenFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'address': json['address'],
|
|
23
|
+
'decimals': json['decimals'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function FlowTransferTokenToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'address': value.address,
|
|
35
|
+
'decimals': value.decimals,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { FlowTransferTokenFromJSON, FlowTransferTokenFromJSONTyped, FlowTransferTokenToJSON };
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var FlowTransfer = require('./FlowTransfer.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function FlowTransfersResponseFromJSON(json) {
|
|
9
|
+
return FlowTransfersResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function FlowTransfersResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'transfers': (json['transfers'].map(FlowTransfer.FlowTransferFromJSON)),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function FlowTransfersResponseToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'transfers': (value.transfers.map(FlowTransfer.FlowTransferToJSON)),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.FlowTransfersResponseFromJSON = FlowTransfersResponseFromJSON;
|
|
32
|
+
exports.FlowTransfersResponseFromJSONTyped = FlowTransfersResponseFromJSONTyped;
|
|
33
|
+
exports.FlowTransfersResponseToJSON = FlowTransfersResponseToJSON;
|
|
@@ -0,0 +1,28 @@
|
|
|
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 { FlowTransfer } from './FlowTransfer';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface FlowTransfersResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface FlowTransfersResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<FlowTransfer>}
|
|
22
|
+
* @memberof FlowTransfersResponse
|
|
23
|
+
*/
|
|
24
|
+
transfers: Array<FlowTransfer>;
|
|
25
|
+
}
|
|
26
|
+
export declare function FlowTransfersResponseFromJSON(json: any): FlowTransfersResponse;
|
|
27
|
+
export declare function FlowTransfersResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): FlowTransfersResponse;
|
|
28
|
+
export declare function FlowTransfersResponseToJSON(value?: FlowTransfersResponse | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FlowTransferFromJSON, FlowTransferToJSON } from './FlowTransfer.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function FlowTransfersResponseFromJSON(json) {
|
|
5
|
+
return FlowTransfersResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function FlowTransfersResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'transfers': (json['transfers'].map(FlowTransferFromJSON)),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function FlowTransfersResponseToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'transfers': (value.transfers.map(FlowTransferToJSON)),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { FlowTransfersResponseFromJSON, FlowTransfersResponseFromJSONTyped, FlowTransfersResponseToJSON };
|
|
@@ -12,6 +12,7 @@ var SignMessageEvmUserOperation = require('./SignMessageEvmUserOperation.cjs');
|
|
|
12
12
|
var SignMessageRawSign = require('./SignMessageRawSign.cjs');
|
|
13
13
|
var SignMessageSuiTransaction = require('./SignMessageSuiTransaction.cjs');
|
|
14
14
|
var SignMessageSvmTransaction = require('./SignMessageSvmTransaction.cjs');
|
|
15
|
+
var SignMessageTronTransaction = require('./SignMessageTronTransaction.cjs');
|
|
15
16
|
|
|
16
17
|
/* tslint:disable */
|
|
17
18
|
function SignMessageContextFromJSON(json) {
|
|
@@ -27,12 +28,14 @@ function SignMessageContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
28
|
'svmTransaction': !runtime.exists(json, 'svmTransaction') ? undefined : SignMessageSvmTransaction.SignMessageSvmTransactionFromJSON(json['svmTransaction']),
|
|
28
29
|
'suiTransaction': !runtime.exists(json, 'suiTransaction') ? undefined : SignMessageSuiTransaction.SignMessageSuiTransactionFromJSON(json['suiTransaction']),
|
|
29
30
|
'btcTransaction': !runtime.exists(json, 'btcTransaction') ? undefined : SignMessageBtcTransaction.SignMessageBtcTransactionFromJSON(json['btcTransaction']),
|
|
31
|
+
'tronTransaction': !runtime.exists(json, 'tronTransaction') ? undefined : SignMessageTronTransaction.SignMessageTronTransactionFromJSON(json['tronTransaction']),
|
|
30
32
|
'eip7702Auth': !runtime.exists(json, 'eip7702Auth') ? undefined : SignMessageEip7702Auth.SignMessageEip7702AuthFromJSON(json['eip7702Auth']),
|
|
31
33
|
'evmMessage': !runtime.exists(json, 'evmMessage') ? undefined : SignMessageEvmMessage.SignMessageEvmMessageFromJSON(json['evmMessage']),
|
|
32
34
|
'svmMessage': !runtime.exists(json, 'svmMessage') ? undefined : json['svmMessage'],
|
|
33
35
|
'suiMessage': !runtime.exists(json, 'suiMessage') ? undefined : json['suiMessage'],
|
|
34
36
|
'stellarMessage': !runtime.exists(json, 'stellarMessage') ? undefined : json['stellarMessage'],
|
|
35
37
|
'aleoMessage': !runtime.exists(json, 'aleoMessage') ? undefined : json['aleoMessage'],
|
|
38
|
+
'tronMessage': !runtime.exists(json, 'tronMessage') ? undefined : json['tronMessage'],
|
|
36
39
|
'evmTypedData': !runtime.exists(json, 'evmTypedData') ? undefined : SignMessageEvmTypedData.SignMessageEvmTypedDataFromJSON(json['evmTypedData']),
|
|
37
40
|
'rawSign': !runtime.exists(json, 'rawSign') ? undefined : SignMessageRawSign.SignMessageRawSignFromJSON(json['rawSign']),
|
|
38
41
|
'domain': !runtime.exists(json, 'domain') ? undefined : json['domain'],
|
|
@@ -51,12 +54,14 @@ function SignMessageContextToJSON(value) {
|
|
|
51
54
|
'svmTransaction': SignMessageSvmTransaction.SignMessageSvmTransactionToJSON(value.svmTransaction),
|
|
52
55
|
'suiTransaction': SignMessageSuiTransaction.SignMessageSuiTransactionToJSON(value.suiTransaction),
|
|
53
56
|
'btcTransaction': SignMessageBtcTransaction.SignMessageBtcTransactionToJSON(value.btcTransaction),
|
|
57
|
+
'tronTransaction': SignMessageTronTransaction.SignMessageTronTransactionToJSON(value.tronTransaction),
|
|
54
58
|
'eip7702Auth': SignMessageEip7702Auth.SignMessageEip7702AuthToJSON(value.eip7702Auth),
|
|
55
59
|
'evmMessage': SignMessageEvmMessage.SignMessageEvmMessageToJSON(value.evmMessage),
|
|
56
60
|
'svmMessage': value.svmMessage,
|
|
57
61
|
'suiMessage': value.suiMessage,
|
|
58
62
|
'stellarMessage': value.stellarMessage,
|
|
59
63
|
'aleoMessage': value.aleoMessage,
|
|
64
|
+
'tronMessage': value.tronMessage,
|
|
60
65
|
'evmTypedData': SignMessageEvmTypedData.SignMessageEvmTypedDataToJSON(value.evmTypedData),
|
|
61
66
|
'rawSign': SignMessageRawSign.SignMessageRawSignToJSON(value.rawSign),
|
|
62
67
|
'domain': value.domain,
|
|
@@ -18,6 +18,7 @@ import { SignMessageEvmUserOperation } from './SignMessageEvmUserOperation';
|
|
|
18
18
|
import { SignMessageRawSign } from './SignMessageRawSign';
|
|
19
19
|
import { SignMessageSuiTransaction } from './SignMessageSuiTransaction';
|
|
20
20
|
import { SignMessageSvmTransaction } from './SignMessageSvmTransaction';
|
|
21
|
+
import { SignMessageTronTransaction } from './SignMessageTronTransaction';
|
|
21
22
|
/**
|
|
22
23
|
*
|
|
23
24
|
* @export
|
|
@@ -54,6 +55,12 @@ export interface SignMessageContext {
|
|
|
54
55
|
* @memberof SignMessageContext
|
|
55
56
|
*/
|
|
56
57
|
btcTransaction?: SignMessageBtcTransaction;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {SignMessageTronTransaction}
|
|
61
|
+
* @memberof SignMessageContext
|
|
62
|
+
*/
|
|
63
|
+
tronTransaction?: SignMessageTronTransaction;
|
|
57
64
|
/**
|
|
58
65
|
*
|
|
59
66
|
* @type {SignMessageEip7702Auth}
|
|
@@ -90,6 +97,12 @@ export interface SignMessageContext {
|
|
|
90
97
|
* @memberof SignMessageContext
|
|
91
98
|
*/
|
|
92
99
|
aleoMessage?: string;
|
|
100
|
+
/**
|
|
101
|
+
* A string with a max length of 204800 characters
|
|
102
|
+
* @type {string}
|
|
103
|
+
* @memberof SignMessageContext
|
|
104
|
+
*/
|
|
105
|
+
tronMessage?: string;
|
|
93
106
|
/**
|
|
94
107
|
*
|
|
95
108
|
* @type {SignMessageEvmTypedData}
|
|
@@ -8,6 +8,7 @@ import { SignMessageEvmUserOperationFromJSON, SignMessageEvmUserOperationToJSON
|
|
|
8
8
|
import { SignMessageRawSignFromJSON, SignMessageRawSignToJSON } from './SignMessageRawSign.js';
|
|
9
9
|
import { SignMessageSuiTransactionFromJSON, SignMessageSuiTransactionToJSON } from './SignMessageSuiTransaction.js';
|
|
10
10
|
import { SignMessageSvmTransactionFromJSON, SignMessageSvmTransactionToJSON } from './SignMessageSvmTransaction.js';
|
|
11
|
+
import { SignMessageTronTransactionFromJSON, SignMessageTronTransactionToJSON } from './SignMessageTronTransaction.js';
|
|
11
12
|
|
|
12
13
|
/* tslint:disable */
|
|
13
14
|
function SignMessageContextFromJSON(json) {
|
|
@@ -23,12 +24,14 @@ function SignMessageContextFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
24
|
'svmTransaction': !exists(json, 'svmTransaction') ? undefined : SignMessageSvmTransactionFromJSON(json['svmTransaction']),
|
|
24
25
|
'suiTransaction': !exists(json, 'suiTransaction') ? undefined : SignMessageSuiTransactionFromJSON(json['suiTransaction']),
|
|
25
26
|
'btcTransaction': !exists(json, 'btcTransaction') ? undefined : SignMessageBtcTransactionFromJSON(json['btcTransaction']),
|
|
27
|
+
'tronTransaction': !exists(json, 'tronTransaction') ? undefined : SignMessageTronTransactionFromJSON(json['tronTransaction']),
|
|
26
28
|
'eip7702Auth': !exists(json, 'eip7702Auth') ? undefined : SignMessageEip7702AuthFromJSON(json['eip7702Auth']),
|
|
27
29
|
'evmMessage': !exists(json, 'evmMessage') ? undefined : SignMessageEvmMessageFromJSON(json['evmMessage']),
|
|
28
30
|
'svmMessage': !exists(json, 'svmMessage') ? undefined : json['svmMessage'],
|
|
29
31
|
'suiMessage': !exists(json, 'suiMessage') ? undefined : json['suiMessage'],
|
|
30
32
|
'stellarMessage': !exists(json, 'stellarMessage') ? undefined : json['stellarMessage'],
|
|
31
33
|
'aleoMessage': !exists(json, 'aleoMessage') ? undefined : json['aleoMessage'],
|
|
34
|
+
'tronMessage': !exists(json, 'tronMessage') ? undefined : json['tronMessage'],
|
|
32
35
|
'evmTypedData': !exists(json, 'evmTypedData') ? undefined : SignMessageEvmTypedDataFromJSON(json['evmTypedData']),
|
|
33
36
|
'rawSign': !exists(json, 'rawSign') ? undefined : SignMessageRawSignFromJSON(json['rawSign']),
|
|
34
37
|
'domain': !exists(json, 'domain') ? undefined : json['domain'],
|
|
@@ -47,12 +50,14 @@ function SignMessageContextToJSON(value) {
|
|
|
47
50
|
'svmTransaction': SignMessageSvmTransactionToJSON(value.svmTransaction),
|
|
48
51
|
'suiTransaction': SignMessageSuiTransactionToJSON(value.suiTransaction),
|
|
49
52
|
'btcTransaction': SignMessageBtcTransactionToJSON(value.btcTransaction),
|
|
53
|
+
'tronTransaction': SignMessageTronTransactionToJSON(value.tronTransaction),
|
|
50
54
|
'eip7702Auth': SignMessageEip7702AuthToJSON(value.eip7702Auth),
|
|
51
55
|
'evmMessage': SignMessageEvmMessageToJSON(value.evmMessage),
|
|
52
56
|
'svmMessage': value.svmMessage,
|
|
53
57
|
'suiMessage': value.suiMessage,
|
|
54
58
|
'stellarMessage': value.stellarMessage,
|
|
55
59
|
'aleoMessage': value.aleoMessage,
|
|
60
|
+
'tronMessage': value.tronMessage,
|
|
56
61
|
'evmTypedData': SignMessageEvmTypedDataToJSON(value.evmTypedData),
|
|
57
62
|
'rawSign': SignMessageRawSignToJSON(value.rawSign),
|
|
58
63
|
'domain': value.domain,
|
|
@@ -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 SignMessageTronTransactionFromJSON(json) {
|
|
19
|
+
return SignMessageTronTransactionFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function SignMessageTronTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'chainId': json['chainId'],
|
|
27
|
+
'rawDataHex': json['rawDataHex'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function SignMessageTronTransactionToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'chainId': value.chainId,
|
|
39
|
+
'rawDataHex': value.rawDataHex,
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
exports.SignMessageTronTransactionFromJSON = SignMessageTronTransactionFromJSON;
|
|
44
|
+
exports.SignMessageTronTransactionFromJSONTyped = SignMessageTronTransactionFromJSONTyped;
|
|
45
|
+
exports.SignMessageTronTransactionToJSON = SignMessageTronTransactionToJSON;
|
|
@@ -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
|
+
* TRON transaction raw_data as hex string
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SignMessageTronTransaction
|
|
16
|
+
*/
|
|
17
|
+
export interface SignMessageTronTransaction {
|
|
18
|
+
/**
|
|
19
|
+
* Decimal TRON network id (mainnet 728126428, Shasta 2494104990, Nile 3448148188)
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SignMessageTronTransaction
|
|
22
|
+
*/
|
|
23
|
+
chainId: string;
|
|
24
|
+
/**
|
|
25
|
+
* A string with a max length of 204800 characters
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SignMessageTronTransaction
|
|
28
|
+
*/
|
|
29
|
+
rawDataHex: string;
|
|
30
|
+
}
|
|
31
|
+
export declare function SignMessageTronTransactionFromJSON(json: any): SignMessageTronTransaction;
|
|
32
|
+
export declare function SignMessageTronTransactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): SignMessageTronTransaction;
|
|
33
|
+
export declare function SignMessageTronTransactionToJSON(value?: SignMessageTronTransaction | 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 SignMessageTronTransactionFromJSON(json) {
|
|
15
|
+
return SignMessageTronTransactionFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function SignMessageTronTransactionFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'chainId': json['chainId'],
|
|
23
|
+
'rawDataHex': json['rawDataHex'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function SignMessageTronTransactionToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'chainId': value.chainId,
|
|
35
|
+
'rawDataHex': value.rawDataHex,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export { SignMessageTronTransactionFromJSON, SignMessageTronTransactionFromJSONTyped, SignMessageTronTransactionToJSON };
|