@dynamic-labs/sdk-api-core 0.0.831 → 0.0.839
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/apis/SDKApi.cjs +294 -0
- package/src/apis/SDKApi.d.ts +107 -1
- package/src/apis/SDKApi.js +294 -0
- package/src/apis/WaasApi.cjs +2 -0
- package/src/apis/WaasApi.js +2 -0
- package/src/index.cjs +52 -0
- package/src/index.js +11 -0
- package/src/models/Account.d.ts +1 -1
- package/src/models/CoinbaseOnrampBuyUrlExperience.cjs +40 -0
- package/src/models/CoinbaseOnrampBuyUrlExperience.d.ts +23 -0
- package/src/models/CoinbaseOnrampBuyUrlExperience.js +34 -0
- package/src/models/CoinbaseOnrampGetBuyUrlRequest.cjs +58 -0
- package/src/models/CoinbaseOnrampGetBuyUrlRequest.d.ts +100 -0
- package/src/models/CoinbaseOnrampGetBuyUrlRequest.js +52 -0
- package/src/models/CoinbaseOnrampGetBuyUrlResponse.cjs +43 -0
- package/src/models/CoinbaseOnrampGetBuyUrlResponse.d.ts +27 -0
- package/src/models/CoinbaseOnrampGetBuyUrlResponse.js +37 -0
- package/src/models/CryptoDotComPaymentCreateRequest.cjs +50 -0
- package/src/models/CryptoDotComPaymentCreateRequest.d.ts +76 -0
- package/src/models/CryptoDotComPaymentCreateRequest.js +44 -0
- package/src/models/CryptoDotComPaymentResponse.cjs +71 -0
- package/src/models/CryptoDotComPaymentResponse.d.ts +141 -0
- package/src/models/CryptoDotComPaymentResponse.js +65 -0
- package/src/models/DynamicJwt.cjs +2 -0
- package/src/models/DynamicJwt.d.ts +6 -0
- package/src/models/DynamicJwt.js +2 -0
- package/src/models/ExternalAuth.d.ts +1 -1
- package/src/models/GeneratedTokenResponse.cjs +43 -0
- package/src/models/GeneratedTokenResponse.d.ts +27 -0
- package/src/models/GeneratedTokenResponse.js +37 -0
- package/src/models/MinifiedDynamicJwt.cjs +2 -0
- package/src/models/MinifiedDynamicJwt.d.ts +6 -0
- package/src/models/MinifiedDynamicJwt.js +2 -0
- package/src/models/TokenBalance.cjs +2 -0
- package/src/models/TokenBalance.d.ts +6 -0
- package/src/models/TokenBalance.js +2 -0
- package/src/models/WalletTransaction.cjs +55 -0
- package/src/models/WalletTransaction.d.ts +90 -0
- package/src/models/WalletTransaction.js +49 -0
- package/src/models/WalletTransactionAssetTransfer.cjs +42 -0
- package/src/models/WalletTransactionAssetTransfer.d.ts +52 -0
- package/src/models/WalletTransactionAssetTransfer.js +36 -0
- package/src/models/WalletTransactionAssetTransferMetadata.cjs +39 -0
- package/src/models/WalletTransactionAssetTransferMetadata.d.ts +45 -0
- package/src/models/WalletTransactionAssetTransferMetadata.js +33 -0
- package/src/models/WalletTransactionType.cjs +41 -0
- package/src/models/WalletTransactionType.d.ts +24 -0
- package/src/models/WalletTransactionType.js +35 -0
- package/src/models/WalletTransactionsResponse.cjs +36 -0
- package/src/models/WalletTransactionsResponse.d.ts +34 -0
- package/src/models/WalletTransactionsResponse.js +30 -0
- package/src/models/index.d.ts +11 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WalletTransactionAssetTransferMetadata = require('./WalletTransactionAssetTransferMetadata.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function WalletTransactionAssetTransferFromJSON(json) {
|
|
10
|
+
return WalletTransactionAssetTransferFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function WalletTransactionAssetTransferFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'tokenAddress': !runtime.exists(json, 'tokenAddress') ? undefined : json['tokenAddress'],
|
|
18
|
+
'fromAddress': json['fromAddress'],
|
|
19
|
+
'toAddress': json['toAddress'],
|
|
20
|
+
'amount': json['amount'],
|
|
21
|
+
'metadata': !runtime.exists(json, 'metadata') ? undefined : WalletTransactionAssetTransferMetadata.WalletTransactionAssetTransferMetadataFromJSON(json['metadata']),
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function WalletTransactionAssetTransferToJSON(value) {
|
|
25
|
+
if (value === undefined) {
|
|
26
|
+
return undefined;
|
|
27
|
+
}
|
|
28
|
+
if (value === null) {
|
|
29
|
+
return null;
|
|
30
|
+
}
|
|
31
|
+
return {
|
|
32
|
+
'tokenAddress': value.tokenAddress,
|
|
33
|
+
'fromAddress': value.fromAddress,
|
|
34
|
+
'toAddress': value.toAddress,
|
|
35
|
+
'amount': value.amount,
|
|
36
|
+
'metadata': WalletTransactionAssetTransferMetadata.WalletTransactionAssetTransferMetadataToJSON(value.metadata),
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
exports.WalletTransactionAssetTransferFromJSON = WalletTransactionAssetTransferFromJSON;
|
|
41
|
+
exports.WalletTransactionAssetTransferFromJSONTyped = WalletTransactionAssetTransferFromJSONTyped;
|
|
42
|
+
exports.WalletTransactionAssetTransferToJSON = WalletTransactionAssetTransferToJSON;
|
|
@@ -0,0 +1,52 @@
|
|
|
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 { WalletTransactionAssetTransferMetadata } from './WalletTransactionAssetTransferMetadata';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WalletTransactionAssetTransfer
|
|
17
|
+
*/
|
|
18
|
+
export interface WalletTransactionAssetTransfer {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof WalletTransactionAssetTransfer
|
|
23
|
+
*/
|
|
24
|
+
tokenAddress?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof WalletTransactionAssetTransfer
|
|
29
|
+
*/
|
|
30
|
+
fromAddress: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof WalletTransactionAssetTransfer
|
|
35
|
+
*/
|
|
36
|
+
toAddress: string;
|
|
37
|
+
/**
|
|
38
|
+
* Amount of the asset transferred
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof WalletTransactionAssetTransfer
|
|
41
|
+
*/
|
|
42
|
+
amount: number;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {WalletTransactionAssetTransferMetadata}
|
|
46
|
+
* @memberof WalletTransactionAssetTransfer
|
|
47
|
+
*/
|
|
48
|
+
metadata?: WalletTransactionAssetTransferMetadata;
|
|
49
|
+
}
|
|
50
|
+
export declare function WalletTransactionAssetTransferFromJSON(json: any): WalletTransactionAssetTransfer;
|
|
51
|
+
export declare function WalletTransactionAssetTransferFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletTransactionAssetTransfer;
|
|
52
|
+
export declare function WalletTransactionAssetTransferToJSON(value?: WalletTransactionAssetTransfer | null): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { WalletTransactionAssetTransferMetadataFromJSON, WalletTransactionAssetTransferMetadataToJSON } from './WalletTransactionAssetTransferMetadata.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function WalletTransactionAssetTransferFromJSON(json) {
|
|
6
|
+
return WalletTransactionAssetTransferFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function WalletTransactionAssetTransferFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'tokenAddress': !exists(json, 'tokenAddress') ? undefined : json['tokenAddress'],
|
|
14
|
+
'fromAddress': json['fromAddress'],
|
|
15
|
+
'toAddress': json['toAddress'],
|
|
16
|
+
'amount': json['amount'],
|
|
17
|
+
'metadata': !exists(json, 'metadata') ? undefined : WalletTransactionAssetTransferMetadataFromJSON(json['metadata']),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function WalletTransactionAssetTransferToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'tokenAddress': value.tokenAddress,
|
|
29
|
+
'fromAddress': value.fromAddress,
|
|
30
|
+
'toAddress': value.toAddress,
|
|
31
|
+
'amount': value.amount,
|
|
32
|
+
'metadata': WalletTransactionAssetTransferMetadataToJSON(value.metadata),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { WalletTransactionAssetTransferFromJSON, WalletTransactionAssetTransferFromJSONTyped, WalletTransactionAssetTransferToJSON };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function WalletTransactionAssetTransferMetadataFromJSON(json) {
|
|
9
|
+
return WalletTransactionAssetTransferMetadataFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function WalletTransactionAssetTransferMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'name': !runtime.exists(json, 'name') ? undefined : json['name'],
|
|
17
|
+
'symbol': !runtime.exists(json, 'symbol') ? undefined : json['symbol'],
|
|
18
|
+
'decimals': !runtime.exists(json, 'decimals') ? undefined : json['decimals'],
|
|
19
|
+
'imageUri': !runtime.exists(json, 'imageUri') ? undefined : json['imageUri'],
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
function WalletTransactionAssetTransferMetadataToJSON(value) {
|
|
23
|
+
if (value === undefined) {
|
|
24
|
+
return undefined;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'name': value.name,
|
|
31
|
+
'symbol': value.symbol,
|
|
32
|
+
'decimals': value.decimals,
|
|
33
|
+
'imageUri': value.imageUri,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
exports.WalletTransactionAssetTransferMetadataFromJSON = WalletTransactionAssetTransferMetadataFromJSON;
|
|
38
|
+
exports.WalletTransactionAssetTransferMetadataFromJSONTyped = WalletTransactionAssetTransferMetadataFromJSONTyped;
|
|
39
|
+
exports.WalletTransactionAssetTransferMetadataToJSON = WalletTransactionAssetTransferMetadataToJSON;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 WalletTransactionAssetTransferMetadata
|
|
16
|
+
*/
|
|
17
|
+
export interface WalletTransactionAssetTransferMetadata {
|
|
18
|
+
/**
|
|
19
|
+
* Name of the asset
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof WalletTransactionAssetTransferMetadata
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Symbol of the asset
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof WalletTransactionAssetTransferMetadata
|
|
28
|
+
*/
|
|
29
|
+
symbol?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Decimals of the asset
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof WalletTransactionAssetTransferMetadata
|
|
34
|
+
*/
|
|
35
|
+
decimals?: number;
|
|
36
|
+
/**
|
|
37
|
+
* Logo URI of the asset
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof WalletTransactionAssetTransferMetadata
|
|
40
|
+
*/
|
|
41
|
+
imageUri?: string;
|
|
42
|
+
}
|
|
43
|
+
export declare function WalletTransactionAssetTransferMetadataFromJSON(json: any): WalletTransactionAssetTransferMetadata;
|
|
44
|
+
export declare function WalletTransactionAssetTransferMetadataFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletTransactionAssetTransferMetadata;
|
|
45
|
+
export declare function WalletTransactionAssetTransferMetadataToJSON(value?: WalletTransactionAssetTransferMetadata | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function WalletTransactionAssetTransferMetadataFromJSON(json) {
|
|
5
|
+
return WalletTransactionAssetTransferMetadataFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function WalletTransactionAssetTransferMetadataFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'name': !exists(json, 'name') ? undefined : json['name'],
|
|
13
|
+
'symbol': !exists(json, 'symbol') ? undefined : json['symbol'],
|
|
14
|
+
'decimals': !exists(json, 'decimals') ? undefined : json['decimals'],
|
|
15
|
+
'imageUri': !exists(json, 'imageUri') ? undefined : json['imageUri'],
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
function WalletTransactionAssetTransferMetadataToJSON(value) {
|
|
19
|
+
if (value === undefined) {
|
|
20
|
+
return undefined;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'name': value.name,
|
|
27
|
+
'symbol': value.symbol,
|
|
28
|
+
'decimals': value.decimals,
|
|
29
|
+
'imageUri': value.imageUri,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export { WalletTransactionAssetTransferMetadataFromJSON, WalletTransactionAssetTransferMetadataFromJSONTyped, WalletTransactionAssetTransferMetadataToJSON };
|
|
@@ -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.WalletTransactionType = void 0;
|
|
24
|
+
(function (WalletTransactionType) {
|
|
25
|
+
WalletTransactionType["Sent"] = "sent";
|
|
26
|
+
WalletTransactionType["Receive"] = "receive";
|
|
27
|
+
WalletTransactionType["Swap"] = "swap";
|
|
28
|
+
})(exports.WalletTransactionType || (exports.WalletTransactionType = {}));
|
|
29
|
+
function WalletTransactionTypeFromJSON(json) {
|
|
30
|
+
return WalletTransactionTypeFromJSONTyped(json);
|
|
31
|
+
}
|
|
32
|
+
function WalletTransactionTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
function WalletTransactionTypeToJSON(value) {
|
|
36
|
+
return value;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
exports.WalletTransactionTypeFromJSON = WalletTransactionTypeFromJSON;
|
|
40
|
+
exports.WalletTransactionTypeFromJSONTyped = WalletTransactionTypeFromJSONTyped;
|
|
41
|
+
exports.WalletTransactionTypeToJSON = WalletTransactionTypeToJSON;
|
|
@@ -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 WalletTransactionType {
|
|
18
|
+
Sent = "sent",
|
|
19
|
+
Receive = "receive",
|
|
20
|
+
Swap = "swap"
|
|
21
|
+
}
|
|
22
|
+
export declare function WalletTransactionTypeFromJSON(json: any): WalletTransactionType;
|
|
23
|
+
export declare function WalletTransactionTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletTransactionType;
|
|
24
|
+
export declare function WalletTransactionTypeToJSON(value?: WalletTransactionType | 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 WalletTransactionType;
|
|
20
|
+
(function (WalletTransactionType) {
|
|
21
|
+
WalletTransactionType["Sent"] = "sent";
|
|
22
|
+
WalletTransactionType["Receive"] = "receive";
|
|
23
|
+
WalletTransactionType["Swap"] = "swap";
|
|
24
|
+
})(WalletTransactionType || (WalletTransactionType = {}));
|
|
25
|
+
function WalletTransactionTypeFromJSON(json) {
|
|
26
|
+
return WalletTransactionTypeFromJSONTyped(json);
|
|
27
|
+
}
|
|
28
|
+
function WalletTransactionTypeFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
return json;
|
|
30
|
+
}
|
|
31
|
+
function WalletTransactionTypeToJSON(value) {
|
|
32
|
+
return value;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { WalletTransactionType, WalletTransactionTypeFromJSON, WalletTransactionTypeFromJSONTyped, WalletTransactionTypeToJSON };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var WalletTransaction = require('./WalletTransaction.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function WalletTransactionsResponseFromJSON(json) {
|
|
10
|
+
return WalletTransactionsResponseFromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function WalletTransactionsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'transactions': (json['transactions'].map(WalletTransaction.WalletTransactionFromJSON)),
|
|
18
|
+
'nextOffset': !runtime.exists(json, 'nextOffset') ? undefined : json['nextOffset'],
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
function WalletTransactionsResponseToJSON(value) {
|
|
22
|
+
if (value === undefined) {
|
|
23
|
+
return undefined;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'transactions': (value.transactions.map(WalletTransaction.WalletTransactionToJSON)),
|
|
30
|
+
'nextOffset': value.nextOffset,
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
exports.WalletTransactionsResponseFromJSON = WalletTransactionsResponseFromJSON;
|
|
35
|
+
exports.WalletTransactionsResponseFromJSONTyped = WalletTransactionsResponseFromJSONTyped;
|
|
36
|
+
exports.WalletTransactionsResponseToJSON = WalletTransactionsResponseToJSON;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dashboard API
|
|
3
|
+
* Dashboard API documentation
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { WalletTransaction } from './WalletTransaction';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface WalletTransactionsResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface WalletTransactionsResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<WalletTransaction>}
|
|
22
|
+
* @memberof WalletTransactionsResponse
|
|
23
|
+
*/
|
|
24
|
+
transactions: Array<WalletTransaction>;
|
|
25
|
+
/**
|
|
26
|
+
* Offset to the next page of transactions
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof WalletTransactionsResponse
|
|
29
|
+
*/
|
|
30
|
+
nextOffset?: string;
|
|
31
|
+
}
|
|
32
|
+
export declare function WalletTransactionsResponseFromJSON(json: any): WalletTransactionsResponse;
|
|
33
|
+
export declare function WalletTransactionsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): WalletTransactionsResponse;
|
|
34
|
+
export declare function WalletTransactionsResponseToJSON(value?: WalletTransactionsResponse | null): any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { WalletTransactionFromJSON, WalletTransactionToJSON } from './WalletTransaction.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function WalletTransactionsResponseFromJSON(json) {
|
|
6
|
+
return WalletTransactionsResponseFromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function WalletTransactionsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'transactions': (json['transactions'].map(WalletTransactionFromJSON)),
|
|
14
|
+
'nextOffset': !exists(json, 'nextOffset') ? undefined : json['nextOffset'],
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
function WalletTransactionsResponseToJSON(value) {
|
|
18
|
+
if (value === undefined) {
|
|
19
|
+
return undefined;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'transactions': (value.transactions.map(WalletTransactionToJSON)),
|
|
26
|
+
'nextOffset': value.nextOffset,
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { WalletTransactionsResponseFromJSON, WalletTransactionsResponseFromJSONTyped, WalletTransactionsResponseToJSON };
|
package/src/models/index.d.ts
CHANGED
|
@@ -31,8 +31,11 @@ export * from './BlockaidValidation';
|
|
|
31
31
|
export * from './ChainConfiguration';
|
|
32
32
|
export * from './ChainEnum';
|
|
33
33
|
export * from './CoinbaseMpcWalletProperties';
|
|
34
|
+
export * from './CoinbaseOnrampBuyUrlExperience';
|
|
34
35
|
export * from './CoinbaseOnrampFee';
|
|
35
36
|
export * from './CoinbaseOnrampFeeType';
|
|
37
|
+
export * from './CoinbaseOnrampGetBuyUrlRequest';
|
|
38
|
+
export * from './CoinbaseOnrampGetBuyUrlResponse';
|
|
36
39
|
export * from './CoinbaseOnrampOrder';
|
|
37
40
|
export * from './CoinbaseOnrampOrderCreateRequest';
|
|
38
41
|
export * from './CoinbaseOnrampOrderPaymentLinkType';
|
|
@@ -58,6 +61,8 @@ export * from './CreateUserEmbeddedWalletsRequest';
|
|
|
58
61
|
export * from './CreateUserWaasWalletsRequest';
|
|
59
62
|
export * from './CreateWaasAccountRequest';
|
|
60
63
|
export * from './CreateWalletAccountRequest';
|
|
64
|
+
export * from './CryptoDotComPaymentCreateRequest';
|
|
65
|
+
export * from './CryptoDotComPaymentResponse';
|
|
61
66
|
export * from './Currency';
|
|
62
67
|
export * from './CurrencyType';
|
|
63
68
|
export * from './CustomFieldType';
|
|
@@ -116,6 +121,7 @@ export * from './Funding';
|
|
|
116
121
|
export * from './FundingExternalWallets';
|
|
117
122
|
export * from './FundingExternalWalletsDefaultSettings';
|
|
118
123
|
export * from './FundingExternalWalletsMinAmount';
|
|
124
|
+
export * from './GeneratedTokenResponse';
|
|
119
125
|
export * from './GetPasskeyAuthenticationOptionsResponse';
|
|
120
126
|
export * from './GetPasskeyRegistrationOptionsResponse';
|
|
121
127
|
export * from './GetUserPasskeysResponse';
|
|
@@ -362,4 +368,9 @@ export * from './WalletKeyShareInfoWithEncryptedAccountCredential';
|
|
|
362
368
|
export * from './WalletKeyShareInfoWithEncryptedAccountCredentialAllOf';
|
|
363
369
|
export * from './WalletProperties';
|
|
364
370
|
export * from './WalletProviderEnum';
|
|
371
|
+
export * from './WalletTransaction';
|
|
372
|
+
export * from './WalletTransactionAssetTransfer';
|
|
373
|
+
export * from './WalletTransactionAssetTransferMetadata';
|
|
374
|
+
export * from './WalletTransactionType';
|
|
375
|
+
export * from './WalletTransactionsResponse';
|
|
365
376
|
export * from './ZerodevBundlerProvider';
|