@dynamic-labs/sdk-api-core 0.0.961 → 0.0.963
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 +477 -0
- package/src/apis/SDKApi.d.ts +204 -1
- package/src/apis/SDKApi.js +478 -1
- package/src/apis/WaasApi.cjs +4 -0
- package/src/apis/WaasApi.js +4 -0
- package/src/index.cjs +72 -0
- package/src/index.js +12 -1
- package/src/models/EmbeddedWalletChainEnum.cjs +1 -0
- package/src/models/EmbeddedWalletChainEnum.d.ts +2 -1
- package/src/models/EmbeddedWalletChainEnum.js +1 -0
- package/src/models/InlineObject1.cjs +46 -0
- package/src/models/InlineObject1.d.ts +47 -0
- package/src/models/InlineObject1.js +40 -0
- package/src/models/InlineObject2.cjs +56 -0
- package/src/models/InlineObject2.d.ts +47 -0
- package/src/models/InlineObject2.js +50 -0
- package/src/models/InlineObject3.cjs +54 -0
- package/src/models/InlineObject3.d.ts +43 -0
- package/src/models/InlineObject3.js +48 -0
- package/src/models/InlineObject4.cjs +54 -0
- package/src/models/InlineObject4.d.ts +41 -0
- package/src/models/InlineObject4.js +48 -0
- package/src/models/InlineResponse2001.cjs +34 -0
- package/src/models/InlineResponse2001.d.ts +28 -0
- package/src/models/InlineResponse2001.js +28 -0
- package/src/models/InlineResponse2001AllowedPrograms.cjs +35 -0
- package/src/models/InlineResponse2001AllowedPrograms.d.ts +33 -0
- package/src/models/InlineResponse2001AllowedPrograms.js +29 -0
- package/src/models/InlineResponse2002.cjs +43 -0
- package/src/models/InlineResponse2002.d.ts +27 -0
- package/src/models/InlineResponse2002.js +37 -0
- package/src/models/InlineResponse2003.cjs +43 -0
- package/src/models/InlineResponse2003.d.ts +27 -0
- package/src/models/InlineResponse2003.js +37 -0
- package/src/models/InlineResponse2004.cjs +45 -0
- package/src/models/InlineResponse2004.d.ts +33 -0
- package/src/models/InlineResponse2004.js +39 -0
- package/src/models/InlineResponse2005.cjs +43 -0
- package/src/models/InlineResponse2005.d.ts +27 -0
- package/src/models/InlineResponse2005.js +37 -0
- package/src/models/InlineResponse2006.cjs +43 -0
- package/src/models/InlineResponse2006.d.ts +29 -0
- package/src/models/InlineResponse2006.js +37 -0
- package/src/models/WaasChainEnum.cjs +1 -0
- package/src/models/WaasChainEnum.d.ts +2 -1
- package/src/models/WaasChainEnum.js +1 -0
- package/src/models/index.d.ts +11 -0
package/src/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { BASE_PATH, BaseAPI, BlobApiResponse, COLLECTION_FORMATS, Configuration, JSONApiResponse, RequiredError, TextApiResponse, VoidApiResponse, canConsumeForm, exists, mapValues, querystring } from './runtime.js';
|
|
2
|
-
export { SDKApi } from './apis/SDKApi.js';
|
|
2
|
+
export { GetAleoFeemasterPolicyNetworkEnum, GetAleoScannerPubkeyNetworkEnum, IsAleoFeemasterCoveredNetworkEnum, SDKApi } from './apis/SDKApi.js';
|
|
3
3
|
export { WaasApi } from './apis/WaasApi.js';
|
|
4
4
|
export { AccountFromJSON, AccountFromJSONTyped, AccountToJSON } from './models/Account.js';
|
|
5
5
|
export { AccountBalancesFromJSON, AccountBalancesFromJSONTyped, AccountBalancesToJSON } from './models/AccountBalances.js';
|
|
@@ -175,7 +175,18 @@ export { InitEmailAuthResponseFromJSON, InitEmailAuthResponseFromJSONTyped, Init
|
|
|
175
175
|
export { InitPasskeyRecoveryRequestFromJSON, InitPasskeyRecoveryRequestFromJSONTyped, InitPasskeyRecoveryRequestToJSON } from './models/InitPasskeyRecoveryRequest.js';
|
|
176
176
|
export { InitPasskeyRecoveryResponseFromJSON, InitPasskeyRecoveryResponseFromJSONTyped, InitPasskeyRecoveryResponseToJSON } from './models/InitPasskeyRecoveryResponse.js';
|
|
177
177
|
export { InlineObjectFromJSON, InlineObjectFromJSONTyped, InlineObjectToJSON } from './models/InlineObject.js';
|
|
178
|
+
export { InlineObject1FromJSON, InlineObject1FromJSONTyped, InlineObject1NetworkEnum, InlineObject1ToJSON } from './models/InlineObject1.js';
|
|
179
|
+
export { InlineObject2FromJSON, InlineObject2FromJSONTyped, InlineObject2NetworkEnum, InlineObject2ToJSON } from './models/InlineObject2.js';
|
|
180
|
+
export { InlineObject3FromJSON, InlineObject3FromJSONTyped, InlineObject3NetworkEnum, InlineObject3ToJSON } from './models/InlineObject3.js';
|
|
181
|
+
export { InlineObject4FromJSON, InlineObject4FromJSONTyped, InlineObject4NetworkEnum, InlineObject4ToJSON } from './models/InlineObject4.js';
|
|
178
182
|
export { InlineResponse200FromJSON, InlineResponse200FromJSONTyped, InlineResponse200ToJSON } from './models/InlineResponse200.js';
|
|
183
|
+
export { InlineResponse2001FromJSON, InlineResponse2001FromJSONTyped, InlineResponse2001ToJSON } from './models/InlineResponse2001.js';
|
|
184
|
+
export { InlineResponse2001AllowedProgramsFromJSON, InlineResponse2001AllowedProgramsFromJSONTyped, InlineResponse2001AllowedProgramsToJSON } from './models/InlineResponse2001AllowedPrograms.js';
|
|
185
|
+
export { InlineResponse2002FromJSON, InlineResponse2002FromJSONTyped, InlineResponse2002ToJSON } from './models/InlineResponse2002.js';
|
|
186
|
+
export { InlineResponse2003FromJSON, InlineResponse2003FromJSONTyped, InlineResponse2003ToJSON } from './models/InlineResponse2003.js';
|
|
187
|
+
export { InlineResponse2004FromJSON, InlineResponse2004FromJSONTyped, InlineResponse2004ToJSON } from './models/InlineResponse2004.js';
|
|
188
|
+
export { InlineResponse2005FromJSON, InlineResponse2005FromJSONTyped, InlineResponse2005ToJSON } from './models/InlineResponse2005.js';
|
|
189
|
+
export { InlineResponse2006FromJSON, InlineResponse2006FromJSONTyped, InlineResponse2006ToJSON } from './models/InlineResponse2006.js';
|
|
179
190
|
export { IntegrationSettingFromJSON, IntegrationSettingFromJSONTyped, IntegrationSettingToJSON } from './models/IntegrationSetting.js';
|
|
180
191
|
export { InternalServerErrorFromJSON, InternalServerErrorFromJSONTyped, InternalServerErrorToJSON } from './models/InternalServerError.js';
|
|
181
192
|
export { JwksKeyFromJSON, JwksKeyFromJSONTyped, JwksKeyToJSON } from './models/JwksKey.js';
|
|
@@ -30,6 +30,7 @@ exports.EmbeddedWalletChainEnum = void 0;
|
|
|
30
30
|
EmbeddedWalletChainEnum["Ton"] = "TON";
|
|
31
31
|
EmbeddedWalletChainEnum["Stellar"] = "STELLAR";
|
|
32
32
|
EmbeddedWalletChainEnum["Tempo"] = "TEMPO";
|
|
33
|
+
EmbeddedWalletChainEnum["Aleo"] = "ALEO";
|
|
33
34
|
})(exports.EmbeddedWalletChainEnum || (exports.EmbeddedWalletChainEnum = {}));
|
|
34
35
|
function EmbeddedWalletChainEnumFromJSON(json) {
|
|
35
36
|
return EmbeddedWalletChainEnumFromJSONTyped(json);
|
|
@@ -22,7 +22,8 @@ export declare enum EmbeddedWalletChainEnum {
|
|
|
22
22
|
Btc = "BTC",
|
|
23
23
|
Ton = "TON",
|
|
24
24
|
Stellar = "STELLAR",
|
|
25
|
-
Tempo = "TEMPO"
|
|
25
|
+
Tempo = "TEMPO",
|
|
26
|
+
Aleo = "ALEO"
|
|
26
27
|
}
|
|
27
28
|
export declare function EmbeddedWalletChainEnumFromJSON(json: any): EmbeddedWalletChainEnum;
|
|
28
29
|
export declare function EmbeddedWalletChainEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): EmbeddedWalletChainEnum;
|
|
@@ -26,6 +26,7 @@ var EmbeddedWalletChainEnum;
|
|
|
26
26
|
EmbeddedWalletChainEnum["Ton"] = "TON";
|
|
27
27
|
EmbeddedWalletChainEnum["Stellar"] = "STELLAR";
|
|
28
28
|
EmbeddedWalletChainEnum["Tempo"] = "TEMPO";
|
|
29
|
+
EmbeddedWalletChainEnum["Aleo"] = "ALEO";
|
|
29
30
|
})(EmbeddedWalletChainEnum || (EmbeddedWalletChainEnum = {}));
|
|
30
31
|
function EmbeddedWalletChainEnumFromJSON(json) {
|
|
31
32
|
return EmbeddedWalletChainEnumFromJSONTyped(json);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
/**
|
|
9
|
+
* @export
|
|
10
|
+
* @enum {string}
|
|
11
|
+
*/
|
|
12
|
+
exports.InlineObject1NetworkEnum = void 0;
|
|
13
|
+
(function (InlineObject1NetworkEnum) {
|
|
14
|
+
InlineObject1NetworkEnum["Testnet"] = "testnet";
|
|
15
|
+
InlineObject1NetworkEnum["Mainnet"] = "mainnet";
|
|
16
|
+
})(exports.InlineObject1NetworkEnum || (exports.InlineObject1NetworkEnum = {}));
|
|
17
|
+
function InlineObject1FromJSON(json) {
|
|
18
|
+
return InlineObject1FromJSONTyped(json);
|
|
19
|
+
}
|
|
20
|
+
function InlineObject1FromJSONTyped(json, ignoreDiscriminator) {
|
|
21
|
+
if ((json === undefined) || (json === null)) {
|
|
22
|
+
return json;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
'network': json['network'],
|
|
26
|
+
'authorization': json['authorization'],
|
|
27
|
+
'priorityFee': !runtime.exists(json, 'priorityFee') ? undefined : json['priorityFee'],
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
function InlineObject1ToJSON(value) {
|
|
31
|
+
if (value === undefined) {
|
|
32
|
+
return undefined;
|
|
33
|
+
}
|
|
34
|
+
if (value === null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'network': value.network,
|
|
39
|
+
'authorization': value.authorization,
|
|
40
|
+
'priorityFee': value.priorityFee,
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
exports.InlineObject1FromJSON = InlineObject1FromJSON;
|
|
45
|
+
exports.InlineObject1FromJSONTyped = InlineObject1FromJSONTyped;
|
|
46
|
+
exports.InlineObject1ToJSON = InlineObject1ToJSON;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 InlineObject1
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineObject1 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineObject1
|
|
22
|
+
*/
|
|
23
|
+
network: InlineObject1NetworkEnum;
|
|
24
|
+
/**
|
|
25
|
+
* User Authorization serialized via `Authorization.toString()`.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InlineObject1
|
|
28
|
+
*/
|
|
29
|
+
authorization: string;
|
|
30
|
+
/**
|
|
31
|
+
* Optional priority bid (credits, not microcredits).
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof InlineObject1
|
|
34
|
+
*/
|
|
35
|
+
priorityFee?: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
export declare enum InlineObject1NetworkEnum {
|
|
42
|
+
Testnet = "testnet",
|
|
43
|
+
Mainnet = "mainnet"
|
|
44
|
+
}
|
|
45
|
+
export declare function InlineObject1FromJSON(json: any): InlineObject1;
|
|
46
|
+
export declare function InlineObject1FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject1;
|
|
47
|
+
export declare function InlineObject1ToJSON(value?: InlineObject1 | null): any;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/**
|
|
5
|
+
* @export
|
|
6
|
+
* @enum {string}
|
|
7
|
+
*/
|
|
8
|
+
var InlineObject1NetworkEnum;
|
|
9
|
+
(function (InlineObject1NetworkEnum) {
|
|
10
|
+
InlineObject1NetworkEnum["Testnet"] = "testnet";
|
|
11
|
+
InlineObject1NetworkEnum["Mainnet"] = "mainnet";
|
|
12
|
+
})(InlineObject1NetworkEnum || (InlineObject1NetworkEnum = {}));
|
|
13
|
+
function InlineObject1FromJSON(json) {
|
|
14
|
+
return InlineObject1FromJSONTyped(json);
|
|
15
|
+
}
|
|
16
|
+
function InlineObject1FromJSONTyped(json, ignoreDiscriminator) {
|
|
17
|
+
if ((json === undefined) || (json === null)) {
|
|
18
|
+
return json;
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
'network': json['network'],
|
|
22
|
+
'authorization': json['authorization'],
|
|
23
|
+
'priorityFee': !exists(json, 'priorityFee') ? undefined : json['priorityFee'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function InlineObject1ToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'network': value.network,
|
|
35
|
+
'authorization': value.authorization,
|
|
36
|
+
'priorityFee': value.priorityFee,
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export { InlineObject1FromJSON, InlineObject1FromJSONTyped, InlineObject1NetworkEnum, InlineObject1ToJSON };
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.InlineObject2NetworkEnum = void 0;
|
|
23
|
+
(function (InlineObject2NetworkEnum) {
|
|
24
|
+
InlineObject2NetworkEnum["Testnet"] = "testnet";
|
|
25
|
+
InlineObject2NetworkEnum["Mainnet"] = "mainnet";
|
|
26
|
+
})(exports.InlineObject2NetworkEnum || (exports.InlineObject2NetworkEnum = {}));
|
|
27
|
+
function InlineObject2FromJSON(json) {
|
|
28
|
+
return InlineObject2FromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function InlineObject2FromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'network': json['network'],
|
|
36
|
+
'keyId': json['key_id'],
|
|
37
|
+
'ciphertext': json['ciphertext'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function InlineObject2ToJSON(value) {
|
|
41
|
+
if (value === undefined) {
|
|
42
|
+
return undefined;
|
|
43
|
+
}
|
|
44
|
+
if (value === null) {
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'network': value.network,
|
|
49
|
+
'key_id': value.keyId,
|
|
50
|
+
'ciphertext': value.ciphertext,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
exports.InlineObject2FromJSON = InlineObject2FromJSON;
|
|
55
|
+
exports.InlineObject2FromJSONTyped = InlineObject2FromJSONTyped;
|
|
56
|
+
exports.InlineObject2ToJSON = InlineObject2ToJSON;
|
|
@@ -0,0 +1,47 @@
|
|
|
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 InlineObject2
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineObject2 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineObject2
|
|
22
|
+
*/
|
|
23
|
+
network: InlineObject2NetworkEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InlineObject2
|
|
28
|
+
*/
|
|
29
|
+
keyId: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InlineObject2
|
|
34
|
+
*/
|
|
35
|
+
ciphertext: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
export declare enum InlineObject2NetworkEnum {
|
|
42
|
+
Testnet = "testnet",
|
|
43
|
+
Mainnet = "mainnet"
|
|
44
|
+
}
|
|
45
|
+
export declare function InlineObject2FromJSON(json: any): InlineObject2;
|
|
46
|
+
export declare function InlineObject2FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject2;
|
|
47
|
+
export declare function InlineObject2ToJSON(value?: InlineObject2 | null): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
* @enum {string}
|
|
17
|
+
*/
|
|
18
|
+
var InlineObject2NetworkEnum;
|
|
19
|
+
(function (InlineObject2NetworkEnum) {
|
|
20
|
+
InlineObject2NetworkEnum["Testnet"] = "testnet";
|
|
21
|
+
InlineObject2NetworkEnum["Mainnet"] = "mainnet";
|
|
22
|
+
})(InlineObject2NetworkEnum || (InlineObject2NetworkEnum = {}));
|
|
23
|
+
function InlineObject2FromJSON(json) {
|
|
24
|
+
return InlineObject2FromJSONTyped(json);
|
|
25
|
+
}
|
|
26
|
+
function InlineObject2FromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'network': json['network'],
|
|
32
|
+
'keyId': json['key_id'],
|
|
33
|
+
'ciphertext': json['ciphertext'],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
function InlineObject2ToJSON(value) {
|
|
37
|
+
if (value === undefined) {
|
|
38
|
+
return undefined;
|
|
39
|
+
}
|
|
40
|
+
if (value === null) {
|
|
41
|
+
return null;
|
|
42
|
+
}
|
|
43
|
+
return {
|
|
44
|
+
'network': value.network,
|
|
45
|
+
'key_id': value.keyId,
|
|
46
|
+
'ciphertext': value.ciphertext,
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export { InlineObject2FromJSON, InlineObject2FromJSONTyped, InlineObject2NetworkEnum, InlineObject2ToJSON };
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.InlineObject3NetworkEnum = void 0;
|
|
23
|
+
(function (InlineObject3NetworkEnum) {
|
|
24
|
+
InlineObject3NetworkEnum["Testnet"] = "testnet";
|
|
25
|
+
InlineObject3NetworkEnum["Mainnet"] = "mainnet";
|
|
26
|
+
})(exports.InlineObject3NetworkEnum || (exports.InlineObject3NetworkEnum = {}));
|
|
27
|
+
function InlineObject3FromJSON(json) {
|
|
28
|
+
return InlineObject3FromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function InlineObject3FromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'network': json['network'],
|
|
36
|
+
'filter': json['filter'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function InlineObject3ToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'network': value.network,
|
|
48
|
+
'filter': value.filter,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
exports.InlineObject3FromJSON = InlineObject3FromJSON;
|
|
53
|
+
exports.InlineObject3FromJSONTyped = InlineObject3FromJSONTyped;
|
|
54
|
+
exports.InlineObject3ToJSON = InlineObject3ToJSON;
|
|
@@ -0,0 +1,43 @@
|
|
|
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 InlineObject3
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineObject3 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineObject3
|
|
22
|
+
*/
|
|
23
|
+
network: InlineObject3NetworkEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Provable scanner OwnedFilter (`{ uuid, decrypt, unspent, ... }`).
|
|
26
|
+
* @type {{ [key: string]: object; }}
|
|
27
|
+
* @memberof InlineObject3
|
|
28
|
+
*/
|
|
29
|
+
filter: {
|
|
30
|
+
[key: string]: object;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @export
|
|
35
|
+
* @enum {string}
|
|
36
|
+
*/
|
|
37
|
+
export declare enum InlineObject3NetworkEnum {
|
|
38
|
+
Testnet = "testnet",
|
|
39
|
+
Mainnet = "mainnet"
|
|
40
|
+
}
|
|
41
|
+
export declare function InlineObject3FromJSON(json: any): InlineObject3;
|
|
42
|
+
export declare function InlineObject3FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject3;
|
|
43
|
+
export declare function InlineObject3ToJSON(value?: InlineObject3 | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
* @enum {string}
|
|
17
|
+
*/
|
|
18
|
+
var InlineObject3NetworkEnum;
|
|
19
|
+
(function (InlineObject3NetworkEnum) {
|
|
20
|
+
InlineObject3NetworkEnum["Testnet"] = "testnet";
|
|
21
|
+
InlineObject3NetworkEnum["Mainnet"] = "mainnet";
|
|
22
|
+
})(InlineObject3NetworkEnum || (InlineObject3NetworkEnum = {}));
|
|
23
|
+
function InlineObject3FromJSON(json) {
|
|
24
|
+
return InlineObject3FromJSONTyped(json);
|
|
25
|
+
}
|
|
26
|
+
function InlineObject3FromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'network': json['network'],
|
|
32
|
+
'filter': json['filter'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function InlineObject3ToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'network': value.network,
|
|
44
|
+
'filter': value.filter,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { InlineObject3FromJSON, InlineObject3FromJSONTyped, InlineObject3NetworkEnum, InlineObject3ToJSON };
|
|
@@ -0,0 +1,54 @@
|
|
|
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
|
+
* @export
|
|
20
|
+
* @enum {string}
|
|
21
|
+
*/
|
|
22
|
+
exports.InlineObject4NetworkEnum = void 0;
|
|
23
|
+
(function (InlineObject4NetworkEnum) {
|
|
24
|
+
InlineObject4NetworkEnum["Testnet"] = "testnet";
|
|
25
|
+
InlineObject4NetworkEnum["Mainnet"] = "mainnet";
|
|
26
|
+
})(exports.InlineObject4NetworkEnum || (exports.InlineObject4NetworkEnum = {}));
|
|
27
|
+
function InlineObject4FromJSON(json) {
|
|
28
|
+
return InlineObject4FromJSONTyped(json);
|
|
29
|
+
}
|
|
30
|
+
function InlineObject4FromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if ((json === undefined) || (json === null)) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'network': json['network'],
|
|
36
|
+
'uuid': json['uuid'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
function InlineObject4ToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'network': value.network,
|
|
48
|
+
'uuid': value.uuid,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
exports.InlineObject4FromJSON = InlineObject4FromJSON;
|
|
53
|
+
exports.InlineObject4FromJSONTyped = InlineObject4FromJSONTyped;
|
|
54
|
+
exports.InlineObject4ToJSON = InlineObject4ToJSON;
|
|
@@ -0,0 +1,41 @@
|
|
|
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 InlineObject4
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineObject4 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineObject4
|
|
22
|
+
*/
|
|
23
|
+
network: InlineObject4NetworkEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof InlineObject4
|
|
28
|
+
*/
|
|
29
|
+
uuid: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
* @enum {string}
|
|
34
|
+
*/
|
|
35
|
+
export declare enum InlineObject4NetworkEnum {
|
|
36
|
+
Testnet = "testnet",
|
|
37
|
+
Mainnet = "mainnet"
|
|
38
|
+
}
|
|
39
|
+
export declare function InlineObject4FromJSON(json: any): InlineObject4;
|
|
40
|
+
export declare function InlineObject4FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineObject4;
|
|
41
|
+
export declare function InlineObject4ToJSON(value?: InlineObject4 | null): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
* @export
|
|
16
|
+
* @enum {string}
|
|
17
|
+
*/
|
|
18
|
+
var InlineObject4NetworkEnum;
|
|
19
|
+
(function (InlineObject4NetworkEnum) {
|
|
20
|
+
InlineObject4NetworkEnum["Testnet"] = "testnet";
|
|
21
|
+
InlineObject4NetworkEnum["Mainnet"] = "mainnet";
|
|
22
|
+
})(InlineObject4NetworkEnum || (InlineObject4NetworkEnum = {}));
|
|
23
|
+
function InlineObject4FromJSON(json) {
|
|
24
|
+
return InlineObject4FromJSONTyped(json);
|
|
25
|
+
}
|
|
26
|
+
function InlineObject4FromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'network': json['network'],
|
|
32
|
+
'uuid': json['uuid'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
function InlineObject4ToJSON(value) {
|
|
36
|
+
if (value === undefined) {
|
|
37
|
+
return undefined;
|
|
38
|
+
}
|
|
39
|
+
if (value === null) {
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'network': value.network,
|
|
44
|
+
'uuid': value.uuid,
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export { InlineObject4FromJSON, InlineObject4FromJSONTyped, InlineObject4NetworkEnum, InlineObject4ToJSON };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
var InlineResponse2001AllowedPrograms = require('./InlineResponse2001AllowedPrograms.cjs');
|
|
7
|
+
|
|
8
|
+
/* tslint:disable */
|
|
9
|
+
function InlineResponse2001FromJSON(json) {
|
|
10
|
+
return InlineResponse2001FromJSONTyped(json);
|
|
11
|
+
}
|
|
12
|
+
function InlineResponse2001FromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if ((json === undefined) || (json === null)) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
'allowedPrograms': !runtime.exists(json, 'allowed_programs') ? undefined : (json['allowed_programs'] === null ? null : json['allowed_programs'].map(InlineResponse2001AllowedPrograms.InlineResponse2001AllowedProgramsFromJSON)),
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function InlineResponse2001ToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'allowed_programs': value.allowedPrograms === undefined ? undefined : (value.allowedPrograms === null ? null : value.allowedPrograms.map(InlineResponse2001AllowedPrograms.InlineResponse2001AllowedProgramsToJSON)),
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
exports.InlineResponse2001FromJSON = InlineResponse2001FromJSON;
|
|
33
|
+
exports.InlineResponse2001FromJSONTyped = InlineResponse2001FromJSONTyped;
|
|
34
|
+
exports.InlineResponse2001ToJSON = InlineResponse2001ToJSON;
|