@dynamic-labs/sdk-api-core 0.0.961 → 0.0.964
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 +613 -0
- package/src/apis/SDKApi.d.ts +258 -1
- package/src/apis/SDKApi.js +614 -1
- package/src/apis/WaasApi.cjs +4 -0
- package/src/apis/WaasApi.js +4 -0
- package/src/index.cjs +80 -0
- package/src/index.js +14 -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/ExportAleoViewKeyRequest.cjs +43 -0
- package/src/models/ExportAleoViewKeyRequest.d.ts +27 -0
- package/src/models/ExportAleoViewKeyRequest.js +37 -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/SignAleoRequestWithWaasRequest.cjs +43 -0
- package/src/models/SignAleoRequestWithWaasRequest.d.ts +29 -0
- package/src/models/SignAleoRequestWithWaasRequest.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 +13 -0
|
@@ -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;
|
|
@@ -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 { InlineResponse2001AllowedPrograms } from './InlineResponse2001AllowedPrograms';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface InlineResponse2001
|
|
17
|
+
*/
|
|
18
|
+
export interface InlineResponse2001 {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<InlineResponse2001AllowedPrograms>}
|
|
22
|
+
* @memberof InlineResponse2001
|
|
23
|
+
*/
|
|
24
|
+
allowedPrograms?: Array<InlineResponse2001AllowedPrograms> | null;
|
|
25
|
+
}
|
|
26
|
+
export declare function InlineResponse2001FromJSON(json: any): InlineResponse2001;
|
|
27
|
+
export declare function InlineResponse2001FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineResponse2001;
|
|
28
|
+
export declare function InlineResponse2001ToJSON(value?: InlineResponse2001 | null): any;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
import { InlineResponse2001AllowedProgramsFromJSON, InlineResponse2001AllowedProgramsToJSON } from './InlineResponse2001AllowedPrograms.js';
|
|
3
|
+
|
|
4
|
+
/* tslint:disable */
|
|
5
|
+
function InlineResponse2001FromJSON(json) {
|
|
6
|
+
return InlineResponse2001FromJSONTyped(json);
|
|
7
|
+
}
|
|
8
|
+
function InlineResponse2001FromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if ((json === undefined) || (json === null)) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
'allowedPrograms': !exists(json, 'allowed_programs') ? undefined : (json['allowed_programs'] === null ? null : json['allowed_programs'].map(InlineResponse2001AllowedProgramsFromJSON)),
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function InlineResponse2001ToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'allowed_programs': value.allowedPrograms === undefined ? undefined : (value.allowedPrograms === null ? null : value.allowedPrograms.map(InlineResponse2001AllowedProgramsToJSON)),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { InlineResponse2001FromJSON, InlineResponse2001FromJSONTyped, InlineResponse2001ToJSON };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var runtime = require('../runtime.cjs');
|
|
6
|
+
|
|
7
|
+
/* tslint:disable */
|
|
8
|
+
function InlineResponse2001AllowedProgramsFromJSON(json) {
|
|
9
|
+
return InlineResponse2001AllowedProgramsFromJSONTyped(json);
|
|
10
|
+
}
|
|
11
|
+
function InlineResponse2001AllowedProgramsFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if ((json === undefined) || (json === null)) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
'programId': !runtime.exists(json, 'program_id') ? undefined : json['program_id'],
|
|
17
|
+
'allowedFunctions': !runtime.exists(json, 'allowed_functions') ? undefined : json['allowed_functions'],
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
function InlineResponse2001AllowedProgramsToJSON(value) {
|
|
21
|
+
if (value === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (value === null) {
|
|
25
|
+
return null;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'program_id': value.programId,
|
|
29
|
+
'allowed_functions': value.allowedFunctions,
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
exports.InlineResponse2001AllowedProgramsFromJSON = InlineResponse2001AllowedProgramsFromJSON;
|
|
34
|
+
exports.InlineResponse2001AllowedProgramsFromJSONTyped = InlineResponse2001AllowedProgramsFromJSONTyped;
|
|
35
|
+
exports.InlineResponse2001AllowedProgramsToJSON = InlineResponse2001AllowedProgramsToJSON;
|
|
@@ -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 InlineResponse2001AllowedPrograms
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineResponse2001AllowedPrograms {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineResponse2001AllowedPrograms
|
|
22
|
+
*/
|
|
23
|
+
programId?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof InlineResponse2001AllowedPrograms
|
|
28
|
+
*/
|
|
29
|
+
allowedFunctions?: Array<string> | null;
|
|
30
|
+
}
|
|
31
|
+
export declare function InlineResponse2001AllowedProgramsFromJSON(json: any): InlineResponse2001AllowedPrograms;
|
|
32
|
+
export declare function InlineResponse2001AllowedProgramsFromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineResponse2001AllowedPrograms;
|
|
33
|
+
export declare function InlineResponse2001AllowedProgramsToJSON(value?: InlineResponse2001AllowedPrograms | null): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from '../runtime.js';
|
|
2
|
+
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
function InlineResponse2001AllowedProgramsFromJSON(json) {
|
|
5
|
+
return InlineResponse2001AllowedProgramsFromJSONTyped(json);
|
|
6
|
+
}
|
|
7
|
+
function InlineResponse2001AllowedProgramsFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if ((json === undefined) || (json === null)) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
'programId': !exists(json, 'program_id') ? undefined : json['program_id'],
|
|
13
|
+
'allowedFunctions': !exists(json, 'allowed_functions') ? undefined : json['allowed_functions'],
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function InlineResponse2001AllowedProgramsToJSON(value) {
|
|
17
|
+
if (value === undefined) {
|
|
18
|
+
return undefined;
|
|
19
|
+
}
|
|
20
|
+
if (value === null) {
|
|
21
|
+
return null;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
'program_id': value.programId,
|
|
25
|
+
'allowed_functions': value.allowedFunctions,
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export { InlineResponse2001AllowedProgramsFromJSON, InlineResponse2001AllowedProgramsFromJSONTyped, InlineResponse2001AllowedProgramsToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
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 InlineResponse2002FromJSON(json) {
|
|
19
|
+
return InlineResponse2002FromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function InlineResponse2002FromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'covered': json['covered'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function InlineResponse2002ToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'covered': value.covered,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.InlineResponse2002FromJSON = InlineResponse2002FromJSON;
|
|
42
|
+
exports.InlineResponse2002FromJSONTyped = InlineResponse2002FromJSONTyped;
|
|
43
|
+
exports.InlineResponse2002ToJSON = InlineResponse2002ToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
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 InlineResponse2002
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineResponse2002 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof InlineResponse2002
|
|
22
|
+
*/
|
|
23
|
+
covered: boolean;
|
|
24
|
+
}
|
|
25
|
+
export declare function InlineResponse2002FromJSON(json: any): InlineResponse2002;
|
|
26
|
+
export declare function InlineResponse2002FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineResponse2002;
|
|
27
|
+
export declare function InlineResponse2002ToJSON(value?: InlineResponse2002 | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
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 InlineResponse2002FromJSON(json) {
|
|
15
|
+
return InlineResponse2002FromJSONTyped(json);
|
|
16
|
+
}
|
|
17
|
+
function InlineResponse2002FromJSONTyped(json, ignoreDiscriminator) {
|
|
18
|
+
if ((json === undefined) || (json === null)) {
|
|
19
|
+
return json;
|
|
20
|
+
}
|
|
21
|
+
return {
|
|
22
|
+
'covered': json['covered'],
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function InlineResponse2002ToJSON(value) {
|
|
26
|
+
if (value === undefined) {
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'covered': value.covered,
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { InlineResponse2002FromJSON, InlineResponse2002FromJSONTyped, InlineResponse2002ToJSON };
|
|
@@ -0,0 +1,43 @@
|
|
|
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 InlineResponse2003FromJSON(json) {
|
|
19
|
+
return InlineResponse2003FromJSONTyped(json);
|
|
20
|
+
}
|
|
21
|
+
function InlineResponse2003FromJSONTyped(json, ignoreDiscriminator) {
|
|
22
|
+
if ((json === undefined) || (json === null)) {
|
|
23
|
+
return json;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
'feeAuthorization': json['feeAuthorization'],
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
function InlineResponse2003ToJSON(value) {
|
|
30
|
+
if (value === undefined) {
|
|
31
|
+
return undefined;
|
|
32
|
+
}
|
|
33
|
+
if (value === null) {
|
|
34
|
+
return null;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'feeAuthorization': value.feeAuthorization,
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
exports.InlineResponse2003FromJSON = InlineResponse2003FromJSON;
|
|
42
|
+
exports.InlineResponse2003FromJSONTyped = InlineResponse2003FromJSONTyped;
|
|
43
|
+
exports.InlineResponse2003ToJSON = InlineResponse2003ToJSON;
|
|
@@ -0,0 +1,27 @@
|
|
|
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 InlineResponse2003
|
|
16
|
+
*/
|
|
17
|
+
export interface InlineResponse2003 {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof InlineResponse2003
|
|
22
|
+
*/
|
|
23
|
+
feeAuthorization: string;
|
|
24
|
+
}
|
|
25
|
+
export declare function InlineResponse2003FromJSON(json: any): InlineResponse2003;
|
|
26
|
+
export declare function InlineResponse2003FromJSONTyped(json: any, ignoreDiscriminator: boolean): InlineResponse2003;
|
|
27
|
+
export declare function InlineResponse2003ToJSON(value?: InlineResponse2003 | null): any;
|