@dynamic-labs/sdk-api-core 0.0.1000 → 0.0.1002
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 +59 -0
- package/src/apis/SDKApi.cjs.map +1 -1
- package/src/apis/SDKApi.d.ts +27 -1
- package/src/apis/SDKApi.js +59 -0
- package/src/apis/SDKApi.js.map +1 -1
- package/src/index.cjs +8 -0
- package/src/index.cjs.map +1 -1
- package/src/index.js +2 -0
- package/src/index.js.map +1 -1
- package/src/models/MoonPayCurrenciesResponse.cjs +33 -0
- package/src/models/MoonPayCurrenciesResponse.cjs.map +1 -0
- package/src/models/MoonPayCurrenciesResponse.d.ts +28 -0
- package/src/models/MoonPayCurrenciesResponse.js +27 -0
- package/src/models/MoonPayCurrenciesResponse.js.map +1 -0
- package/src/models/MoonPayCurrency.cjs +47 -0
- package/src/models/MoonPayCurrency.cjs.map +1 -0
- package/src/models/MoonPayCurrency.d.ts +39 -0
- package/src/models/MoonPayCurrency.js +41 -0
- package/src/models/MoonPayCurrency.js.map +1 -0
- package/src/models/index.d.ts +2 -0
package/src/index.cjs
CHANGED
|
@@ -242,6 +242,8 @@ var MfaBackupCodeAcknowledgement = require('./models/MfaBackupCodeAcknowledgemen
|
|
|
242
242
|
var MinApiVersionEnum = require('./models/MinApiVersionEnum.cjs');
|
|
243
243
|
var MinifiedDynamicJwt = require('./models/MinifiedDynamicJwt.cjs');
|
|
244
244
|
var MobileSettings = require('./models/MobileSettings.cjs');
|
|
245
|
+
var MoonPayCurrenciesResponse = require('./models/MoonPayCurrenciesResponse.cjs');
|
|
246
|
+
var MoonPayCurrency = require('./models/MoonPayCurrency.cjs');
|
|
245
247
|
var MultichainAccountBalanceResponse = require('./models/MultichainAccountBalanceResponse.cjs');
|
|
246
248
|
var MultichainAccountBalanceResponseChainBalances = require('./models/MultichainAccountBalanceResponseChainBalances.cjs');
|
|
247
249
|
var MultichainAccountBalanceResponseNetworks = require('./models/MultichainAccountBalanceResponseNetworks.cjs');
|
|
@@ -1447,6 +1449,12 @@ exports.MinifiedDynamicJwtToJSON = MinifiedDynamicJwt.MinifiedDynamicJwtToJSON;
|
|
|
1447
1449
|
exports.MobileSettingsFromJSON = MobileSettings.MobileSettingsFromJSON;
|
|
1448
1450
|
exports.MobileSettingsFromJSONTyped = MobileSettings.MobileSettingsFromJSONTyped;
|
|
1449
1451
|
exports.MobileSettingsToJSON = MobileSettings.MobileSettingsToJSON;
|
|
1452
|
+
exports.MoonPayCurrenciesResponseFromJSON = MoonPayCurrenciesResponse.MoonPayCurrenciesResponseFromJSON;
|
|
1453
|
+
exports.MoonPayCurrenciesResponseFromJSONTyped = MoonPayCurrenciesResponse.MoonPayCurrenciesResponseFromJSONTyped;
|
|
1454
|
+
exports.MoonPayCurrenciesResponseToJSON = MoonPayCurrenciesResponse.MoonPayCurrenciesResponseToJSON;
|
|
1455
|
+
exports.MoonPayCurrencyFromJSON = MoonPayCurrency.MoonPayCurrencyFromJSON;
|
|
1456
|
+
exports.MoonPayCurrencyFromJSONTyped = MoonPayCurrency.MoonPayCurrencyFromJSONTyped;
|
|
1457
|
+
exports.MoonPayCurrencyToJSON = MoonPayCurrency.MoonPayCurrencyToJSON;
|
|
1450
1458
|
exports.MultichainAccountBalanceResponseFromJSON = MultichainAccountBalanceResponse.MultichainAccountBalanceResponseFromJSON;
|
|
1451
1459
|
exports.MultichainAccountBalanceResponseFromJSONTyped = MultichainAccountBalanceResponse.MultichainAccountBalanceResponseFromJSONTyped;
|
|
1452
1460
|
exports.MultichainAccountBalanceResponseToJSON = MultichainAccountBalanceResponse.MultichainAccountBalanceResponseToJSON;
|
package/src/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/src/index.js
CHANGED
|
@@ -238,6 +238,8 @@ export { MfaBackupCodeAcknowledgement, MfaBackupCodeAcknowledgementFromJSON, Mfa
|
|
|
238
238
|
export { MinApiVersionEnum, MinApiVersionEnumFromJSON, MinApiVersionEnumFromJSONTyped, MinApiVersionEnumToJSON } from './models/MinApiVersionEnum.js';
|
|
239
239
|
export { MinifiedDynamicJwtFromJSON, MinifiedDynamicJwtFromJSONTyped, MinifiedDynamicJwtToJSON } from './models/MinifiedDynamicJwt.js';
|
|
240
240
|
export { MobileSettingsFromJSON, MobileSettingsFromJSONTyped, MobileSettingsToJSON } from './models/MobileSettings.js';
|
|
241
|
+
export { MoonPayCurrenciesResponseFromJSON, MoonPayCurrenciesResponseFromJSONTyped, MoonPayCurrenciesResponseToJSON } from './models/MoonPayCurrenciesResponse.js';
|
|
242
|
+
export { MoonPayCurrencyFromJSON, MoonPayCurrencyFromJSONTyped, MoonPayCurrencyToJSON } from './models/MoonPayCurrency.js';
|
|
241
243
|
export { MultichainAccountBalanceResponseFromJSON, MultichainAccountBalanceResponseFromJSONTyped, MultichainAccountBalanceResponseToJSON } from './models/MultichainAccountBalanceResponse.js';
|
|
242
244
|
export { MultichainAccountBalanceResponseChainBalancesFromJSON, MultichainAccountBalanceResponseChainBalancesFromJSONTyped, MultichainAccountBalanceResponseChainBalancesToJSON } from './models/MultichainAccountBalanceResponseChainBalances.js';
|
|
243
245
|
export { MultichainAccountBalanceResponseNetworksFromJSON, MultichainAccountBalanceResponseNetworksFromJSONTyped, MultichainAccountBalanceResponseNetworksToJSON } from './models/MultichainAccountBalanceResponseNetworks.js';
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":null,"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":null,"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var MoonPayCurrency = require('./MoonPayCurrency.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function MoonPayCurrenciesResponseFromJSON(json) {
|
|
9
|
+
return MoonPayCurrenciesResponseFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function MoonPayCurrenciesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'currencies': (json['currencies'].map(MoonPayCurrency.MoonPayCurrencyFromJSON)),
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
function MoonPayCurrenciesResponseToJSON(value) {
|
|
20
|
+
if (value === undefined) {
|
|
21
|
+
return undefined;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
'currencies': (value.currencies.map(MoonPayCurrency.MoonPayCurrencyToJSON)),
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
exports.MoonPayCurrenciesResponseFromJSON = MoonPayCurrenciesResponseFromJSON;
|
|
32
|
+
exports.MoonPayCurrenciesResponseFromJSONTyped = MoonPayCurrenciesResponseFromJSONTyped;
|
|
33
|
+
exports.MoonPayCurrenciesResponseToJSON = MoonPayCurrenciesResponseToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MoonPayCurrenciesResponse.cjs","sources":["../../../../../libs/sdk-api-core/src/models/MoonPayCurrenciesResponse.ts"],"sourcesContent":null,"names":["MoonPayCurrencyFromJSON","MoonPayCurrencyToJSON"],"mappings":";;;;;;AAAA;AAoCM,SAAU,iCAAiC,CAAC,IAAS,EAAA;AACvD,IAAA,OAAO,sCAAsC,CAAC,IAAW,CAAC,CAAC;AAC/D,CAAC;AAEe,SAAA,sCAAsC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC1F,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,YAAY,GAAI,IAAI,CAAC,YAAY,CAAgB,CAAC,GAAG,CAACA,uCAAuB,CAAC,CAAC;KAClF,CAAC;AACN,CAAC;AAEK,SAAU,+BAA+B,CAAC,KAAwC,EAAA;AACpF,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,YAAY,GAAI,KAAK,CAAC,UAAyB,CAAC,GAAG,CAACC,qCAAqB,CAAC,CAAC;KAC9E,CAAC;AACN;;;;;;"}
|
|
@@ -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 { MoonPayCurrency } from './MoonPayCurrency';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MoonPayCurrenciesResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface MoonPayCurrenciesResponse {
|
|
19
|
+
/**
|
|
20
|
+
* List of supported MoonPay currencies for the requested chain/network
|
|
21
|
+
* @type {Array<MoonPayCurrency>}
|
|
22
|
+
* @memberof MoonPayCurrenciesResponse
|
|
23
|
+
*/
|
|
24
|
+
currencies: Array<MoonPayCurrency>;
|
|
25
|
+
}
|
|
26
|
+
export declare function MoonPayCurrenciesResponseFromJSON(json: any): MoonPayCurrenciesResponse;
|
|
27
|
+
export declare function MoonPayCurrenciesResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoonPayCurrenciesResponse;
|
|
28
|
+
export declare function MoonPayCurrenciesResponseToJSON(value?: MoonPayCurrenciesResponse | null): any;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { MoonPayCurrencyFromJSON, MoonPayCurrencyToJSON } from './MoonPayCurrency.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function MoonPayCurrenciesResponseFromJSON(json) {
|
|
5
|
+
return MoonPayCurrenciesResponseFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function MoonPayCurrenciesResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'currencies': (json['currencies'].map(MoonPayCurrencyFromJSON)),
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
function MoonPayCurrenciesResponseToJSON(value) {
|
|
16
|
+
if (value === undefined) {
|
|
17
|
+
return undefined;
|
|
18
|
+
}
|
|
19
|
+
if (value === null) {
|
|
20
|
+
return null;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'currencies': (value.currencies.map(MoonPayCurrencyToJSON)),
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { MoonPayCurrenciesResponseFromJSON, MoonPayCurrenciesResponseFromJSONTyped, MoonPayCurrenciesResponseToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MoonPayCurrenciesResponse.js","sources":["../../../../../libs/sdk-api-core/src/models/MoonPayCurrenciesResponse.ts"],"sourcesContent":null,"names":[],"mappings":";;AAAA;AAoCM,SAAU,iCAAiC,CAAC,IAAS,EAAA;AACvD,IAAA,OAAO,sCAAsC,CAAC,IAAW,CAAC,CAAC;AAC/D,CAAC;AAEe,SAAA,sCAAsC,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAC1F,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,YAAY,GAAI,IAAI,CAAC,YAAY,CAAgB,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAC;KAClF,CAAC;AACN,CAAC;AAEK,SAAU,+BAA+B,CAAC,KAAwC,EAAA;AACpF,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,YAAY,GAAI,KAAK,CAAC,UAAyB,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;KAC9E,CAAC;AACN;;;;"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 MoonPayCurrencyFromJSON(json) {
|
|
19
|
+
return MoonPayCurrencyFromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function MoonPayCurrencyFromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'code': json['code'],
|
|
27
|
+
'name': json['name'],
|
|
28
|
+
'icon': json['icon'],
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
function MoonPayCurrencyToJSON(value) {
|
|
32
|
+
if (value === undefined) {
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
if (value === null) {
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'code': value.code,
|
|
40
|
+
'name': value.name,
|
|
41
|
+
'icon': value.icon,
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
exports.MoonPayCurrencyFromJSON = MoonPayCurrencyFromJSON;
|
|
46
|
+
exports.MoonPayCurrencyFromJSONTyped = MoonPayCurrencyFromJSONTyped;
|
|
47
|
+
exports.MoonPayCurrencyToJSON = MoonPayCurrencyToJSON;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MoonPayCurrency.cjs","sources":["../../../../../libs/sdk-api-core/src/models/MoonPayCurrency.ts"],"sourcesContent":null,"names":[],"mappings":";;;;AAAA;AACA;AACA;;;;;;;;;;AAUG;AA6BG,SAAU,uBAAuB,CAAC,IAAS,EAAA;AAC7C,IAAA,OAAO,4BAA4B,CAAC,IAAW,CAAC,CAAC;AACrD,CAAC;AAEe,SAAA,4BAA4B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAChF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;AACpB,QAAA,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;AACpB,QAAA,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AAEK,SAAU,qBAAqB,CAAC,KAA8B,EAAA;AAChE,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;KACrB,CAAC;AACN;;;;;;"}
|
|
@@ -0,0 +1,39 @@
|
|
|
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 MoonPayCurrency
|
|
16
|
+
*/
|
|
17
|
+
export interface MoonPayCurrency {
|
|
18
|
+
/**
|
|
19
|
+
* MoonPay currency code (e.g. 'eth', 'usdc_sol')
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MoonPayCurrency
|
|
22
|
+
*/
|
|
23
|
+
code: string;
|
|
24
|
+
/**
|
|
25
|
+
* Human-readable currency name
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MoonPayCurrency
|
|
28
|
+
*/
|
|
29
|
+
name: string;
|
|
30
|
+
/**
|
|
31
|
+
* URL of the currency icon image
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MoonPayCurrency
|
|
34
|
+
*/
|
|
35
|
+
icon: string;
|
|
36
|
+
}
|
|
37
|
+
export declare function MoonPayCurrencyFromJSON(json: any): MoonPayCurrency;
|
|
38
|
+
export declare function MoonPayCurrencyFromJSONTyped(json: any, ignoreDiscriminator: boolean): MoonPayCurrency;
|
|
39
|
+
export declare function MoonPayCurrencyToJSON(value?: MoonPayCurrency | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 MoonPayCurrencyFromJSON(json) {
|
|
15
|
+
return MoonPayCurrencyFromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function MoonPayCurrencyFromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'code': json['code'],
|
|
23
|
+
'name': json['name'],
|
|
24
|
+
'icon': json['icon'],
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function MoonPayCurrencyToJSON(value) {
|
|
28
|
+
if (value === undefined) {
|
|
29
|
+
return undefined;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'code': value.code,
|
|
36
|
+
'name': value.name,
|
|
37
|
+
'icon': value.icon,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { MoonPayCurrencyFromJSON, MoonPayCurrencyFromJSONTyped, MoonPayCurrencyToJSON };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MoonPayCurrency.js","sources":["../../../../../libs/sdk-api-core/src/models/MoonPayCurrency.ts"],"sourcesContent":null,"names":[],"mappings":"AAAA;AACA;AACA;;;;;;;;;;AAUG;AA6BG,SAAU,uBAAuB,CAAC,IAAS,EAAA;AAC7C,IAAA,OAAO,4BAA4B,CAAC,IAAW,CAAC,CAAC;AACrD,CAAC;AAEe,SAAA,4BAA4B,CAAC,IAAS,EAAE,mBAA4B,EAAA;AAChF,IAAA,IAAI,CAAC,IAAI,KAAK,SAAS,MAAM,IAAI,KAAK,IAAI,CAAC,EAAE;AACzC,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;AAEH,QAAA,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;AACpB,QAAA,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;AACpB,QAAA,MAAM,EAAE,IAAI,CAAC,MAAM,CAAC;KACvB,CAAC;AACN,CAAC;AAEK,SAAU,qBAAqB,CAAC,KAA8B,EAAA;AAChE,IAAA,IAAI,KAAK,KAAK,SAAS,EAAE;AACrB,QAAA,OAAO,SAAS,CAAC;KACpB;AACD,IAAA,IAAI,KAAK,KAAK,IAAI,EAAE;AAChB,QAAA,OAAO,IAAI,CAAC;KACf;IACD,OAAO;QAEH,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;QAClB,MAAM,EAAE,KAAK,CAAC,IAAI;KACrB,CAAC;AACN;;;;"}
|
package/src/models/index.d.ts
CHANGED
|
@@ -235,6 +235,8 @@ export * from './MfaBackupCodeAcknowledgement';
|
|
|
235
235
|
export * from './MinApiVersionEnum';
|
|
236
236
|
export * from './MinifiedDynamicJwt';
|
|
237
237
|
export * from './MobileSettings';
|
|
238
|
+
export * from './MoonPayCurrenciesResponse';
|
|
239
|
+
export * from './MoonPayCurrency';
|
|
238
240
|
export * from './MultichainAccountBalanceResponse';
|
|
239
241
|
export * from './MultichainAccountBalanceResponseChainBalances';
|
|
240
242
|
export * from './MultichainAccountBalanceResponseNetworks';
|