@meeco/svx-api-sdk 1.0.0-develop.20250908173109.36b8444 → 1.0.0-develop.20251009115620.9b58090
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/.openapi-generator/FILES +6 -0
- package/lib/esm/apis/HelpersApi.js +162 -1
- package/lib/esm/models/UtilitiesDeployment.js +64 -0
- package/lib/esm/models/UtilitiesDeploymentWithoutLog.js +61 -0
- package/lib/esm/models/UtilitiesOwDeploymentRequest.js +44 -0
- package/lib/esm/models/UtilitiesOwDeploymentRequestOw.js +52 -0
- package/lib/esm/models/UtilitiesPaginatedDeployments.js +48 -0
- package/lib/esm/models/UtilitiesPaginationMeta.js +64 -0
- package/lib/esm/models/index.js +6 -0
- package/lib/types/apis/HelpersApi.d.ts +63 -1
- package/lib/types/models/UtilitiesDeployment.d.ts +73 -0
- package/lib/types/models/UtilitiesDeploymentWithoutLog.d.ts +67 -0
- package/lib/types/models/UtilitiesOwDeploymentRequest.d.ts +32 -0
- package/lib/types/models/UtilitiesOwDeploymentRequestOw.d.ts +49 -0
- package/lib/types/models/UtilitiesPaginatedDeployments.d.ts +39 -0
- package/lib/types/models/UtilitiesPaginationMeta.d.ts +73 -0
- package/lib/types/models/index.d.ts +6 -0
- package/lib/umd/apis/HelpersApi.js +162 -1
- package/lib/umd/models/UtilitiesDeployment.js +71 -0
- package/lib/umd/models/UtilitiesDeploymentWithoutLog.js +68 -0
- package/lib/umd/models/UtilitiesOwDeploymentRequest.js +51 -0
- package/lib/umd/models/UtilitiesOwDeploymentRequestOw.js +59 -0
- package/lib/umd/models/UtilitiesPaginatedDeployments.js +55 -0
- package/lib/umd/models/UtilitiesPaginationMeta.js +71 -0
- package/lib/umd/models/index.js +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.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 UtilitiesDeployment
|
|
16
|
+
*/
|
|
17
|
+
export interface UtilitiesDeployment {
|
|
18
|
+
/**
|
|
19
|
+
* Deployment ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UtilitiesDeployment
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Creation timestamp
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof UtilitiesDeployment
|
|
28
|
+
*/
|
|
29
|
+
inserted_at: Date;
|
|
30
|
+
/**
|
|
31
|
+
* Deployment log data
|
|
32
|
+
* @type {object}
|
|
33
|
+
* @memberof UtilitiesDeployment
|
|
34
|
+
*/
|
|
35
|
+
log: object;
|
|
36
|
+
/**
|
|
37
|
+
* Organization ID
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UtilitiesDeployment
|
|
40
|
+
*/
|
|
41
|
+
org_id: string;
|
|
42
|
+
/**
|
|
43
|
+
* Organization name
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UtilitiesDeployment
|
|
46
|
+
*/
|
|
47
|
+
org_name: string;
|
|
48
|
+
/**
|
|
49
|
+
* Public host URL for the deployment
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof UtilitiesDeployment
|
|
52
|
+
*/
|
|
53
|
+
public_host?: string | null;
|
|
54
|
+
/**
|
|
55
|
+
* Redis database number
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof UtilitiesDeployment
|
|
58
|
+
*/
|
|
59
|
+
redis_db: number;
|
|
60
|
+
/**
|
|
61
|
+
* Current deployment status
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof UtilitiesDeployment
|
|
64
|
+
*/
|
|
65
|
+
status: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the UtilitiesDeployment interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfUtilitiesDeployment(value: object): boolean;
|
|
71
|
+
export declare function UtilitiesDeploymentFromJSON(json: any): UtilitiesDeployment;
|
|
72
|
+
export declare function UtilitiesDeploymentFromJSONTyped(json: any, ignoreDiscriminator: boolean): UtilitiesDeployment;
|
|
73
|
+
export declare function UtilitiesDeploymentToJSON(value?: UtilitiesDeployment | null): any;
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.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 UtilitiesDeploymentWithoutLog
|
|
16
|
+
*/
|
|
17
|
+
export interface UtilitiesDeploymentWithoutLog {
|
|
18
|
+
/**
|
|
19
|
+
* Deployment ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UtilitiesDeploymentWithoutLog
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Creation timestamp
|
|
26
|
+
* @type {Date}
|
|
27
|
+
* @memberof UtilitiesDeploymentWithoutLog
|
|
28
|
+
*/
|
|
29
|
+
inserted_at: Date;
|
|
30
|
+
/**
|
|
31
|
+
* Organization ID
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UtilitiesDeploymentWithoutLog
|
|
34
|
+
*/
|
|
35
|
+
org_id: string;
|
|
36
|
+
/**
|
|
37
|
+
* Organization name
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UtilitiesDeploymentWithoutLog
|
|
40
|
+
*/
|
|
41
|
+
org_name: string;
|
|
42
|
+
/**
|
|
43
|
+
* Public host URL for the deployment
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UtilitiesDeploymentWithoutLog
|
|
46
|
+
*/
|
|
47
|
+
public_host?: string | null;
|
|
48
|
+
/**
|
|
49
|
+
* Redis database number
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof UtilitiesDeploymentWithoutLog
|
|
52
|
+
*/
|
|
53
|
+
redis_db: number;
|
|
54
|
+
/**
|
|
55
|
+
* Current deployment status
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof UtilitiesDeploymentWithoutLog
|
|
58
|
+
*/
|
|
59
|
+
status: string;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Check if a given object implements the UtilitiesDeploymentWithoutLog interface.
|
|
63
|
+
*/
|
|
64
|
+
export declare function instanceOfUtilitiesDeploymentWithoutLog(value: object): boolean;
|
|
65
|
+
export declare function UtilitiesDeploymentWithoutLogFromJSON(json: any): UtilitiesDeploymentWithoutLog;
|
|
66
|
+
export declare function UtilitiesDeploymentWithoutLogFromJSONTyped(json: any, ignoreDiscriminator: boolean): UtilitiesDeploymentWithoutLog;
|
|
67
|
+
export declare function UtilitiesDeploymentWithoutLogToJSON(value?: UtilitiesDeploymentWithoutLog | null): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.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 type { UtilitiesOwDeploymentRequestOw } from './UtilitiesOwDeploymentRequestOw';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UtilitiesOwDeploymentRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface UtilitiesOwDeploymentRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {UtilitiesOwDeploymentRequestOw}
|
|
22
|
+
* @memberof UtilitiesOwDeploymentRequest
|
|
23
|
+
*/
|
|
24
|
+
ow: UtilitiesOwDeploymentRequestOw;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the UtilitiesOwDeploymentRequest interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfUtilitiesOwDeploymentRequest(value: object): boolean;
|
|
30
|
+
export declare function UtilitiesOwDeploymentRequestFromJSON(json: any): UtilitiesOwDeploymentRequest;
|
|
31
|
+
export declare function UtilitiesOwDeploymentRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UtilitiesOwDeploymentRequest;
|
|
32
|
+
export declare function UtilitiesOwDeploymentRequestToJSON(value?: UtilitiesOwDeploymentRequest | null): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.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 UtilitiesOwDeploymentRequestOw
|
|
16
|
+
*/
|
|
17
|
+
export interface UtilitiesOwDeploymentRequestOw {
|
|
18
|
+
/**
|
|
19
|
+
* Application client ID
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UtilitiesOwDeploymentRequestOw
|
|
22
|
+
*/
|
|
23
|
+
app_client_id: string;
|
|
24
|
+
/**
|
|
25
|
+
* Application client secret
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UtilitiesOwDeploymentRequestOw
|
|
28
|
+
*/
|
|
29
|
+
app_client_secret: string;
|
|
30
|
+
/**
|
|
31
|
+
* Organization ID
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UtilitiesOwDeploymentRequestOw
|
|
34
|
+
*/
|
|
35
|
+
org_id: string;
|
|
36
|
+
/**
|
|
37
|
+
* Organization passphrase
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UtilitiesOwDeploymentRequestOw
|
|
40
|
+
*/
|
|
41
|
+
org_passphrase: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the UtilitiesOwDeploymentRequestOw interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfUtilitiesOwDeploymentRequestOw(value: object): boolean;
|
|
47
|
+
export declare function UtilitiesOwDeploymentRequestOwFromJSON(json: any): UtilitiesOwDeploymentRequestOw;
|
|
48
|
+
export declare function UtilitiesOwDeploymentRequestOwFromJSONTyped(json: any, ignoreDiscriminator: boolean): UtilitiesOwDeploymentRequestOw;
|
|
49
|
+
export declare function UtilitiesOwDeploymentRequestOwToJSON(value?: UtilitiesOwDeploymentRequestOw | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.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 type { UtilitiesDeployment } from './UtilitiesDeployment';
|
|
13
|
+
import type { UtilitiesPaginationMeta } from './UtilitiesPaginationMeta';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface UtilitiesPaginatedDeployments
|
|
18
|
+
*/
|
|
19
|
+
export interface UtilitiesPaginatedDeployments {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<UtilitiesDeployment>}
|
|
23
|
+
* @memberof UtilitiesPaginatedDeployments
|
|
24
|
+
*/
|
|
25
|
+
deployments: Array<UtilitiesDeployment>;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {UtilitiesPaginationMeta}
|
|
29
|
+
* @memberof UtilitiesPaginatedDeployments
|
|
30
|
+
*/
|
|
31
|
+
meta: UtilitiesPaginationMeta;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the UtilitiesPaginatedDeployments interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfUtilitiesPaginatedDeployments(value: object): boolean;
|
|
37
|
+
export declare function UtilitiesPaginatedDeploymentsFromJSON(json: any): UtilitiesPaginatedDeployments;
|
|
38
|
+
export declare function UtilitiesPaginatedDeploymentsFromJSONTyped(json: any, ignoreDiscriminator: boolean): UtilitiesPaginatedDeployments;
|
|
39
|
+
export declare function UtilitiesPaginatedDeploymentsToJSON(value?: UtilitiesPaginatedDeployments | null): any;
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* SVX API
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 3.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 UtilitiesPaginationMeta
|
|
16
|
+
*/
|
|
17
|
+
export interface UtilitiesPaginationMeta {
|
|
18
|
+
/**
|
|
19
|
+
* Order direcction: desc or asc
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UtilitiesPaginationMeta
|
|
22
|
+
*/
|
|
23
|
+
order: string;
|
|
24
|
+
/**
|
|
25
|
+
* Field by which ordering is done
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UtilitiesPaginationMeta
|
|
28
|
+
*/
|
|
29
|
+
order_by: string;
|
|
30
|
+
/**
|
|
31
|
+
* Defines whether the ordering direction is taken from request parameters or is the default value
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof UtilitiesPaginationMeta
|
|
34
|
+
*/
|
|
35
|
+
order_from_params: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Page number
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof UtilitiesPaginationMeta
|
|
40
|
+
*/
|
|
41
|
+
page: number;
|
|
42
|
+
/**
|
|
43
|
+
* Total number of pages
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof UtilitiesPaginationMeta
|
|
46
|
+
*/
|
|
47
|
+
page_count: number;
|
|
48
|
+
/**
|
|
49
|
+
* Records per page
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof UtilitiesPaginationMeta
|
|
52
|
+
*/
|
|
53
|
+
per_page: number;
|
|
54
|
+
/**
|
|
55
|
+
* Defines whether the the number of recors is taken from request parameters or is the default value
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof UtilitiesPaginationMeta
|
|
58
|
+
*/
|
|
59
|
+
per_page_from_params: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* Total number of metrics
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof UtilitiesPaginationMeta
|
|
64
|
+
*/
|
|
65
|
+
records_count: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Check if a given object implements the UtilitiesPaginationMeta interface.
|
|
69
|
+
*/
|
|
70
|
+
export declare function instanceOfUtilitiesPaginationMeta(value: object): boolean;
|
|
71
|
+
export declare function UtilitiesPaginationMetaFromJSON(json: any): UtilitiesPaginationMeta;
|
|
72
|
+
export declare function UtilitiesPaginationMetaFromJSONTyped(json: any, ignoreDiscriminator: boolean): UtilitiesPaginationMeta;
|
|
73
|
+
export declare function UtilitiesPaginationMetaToJSON(value?: UtilitiesPaginationMeta | null): any;
|
|
@@ -209,7 +209,13 @@ export * from './UtilitiesBlobPublicInfo';
|
|
|
209
209
|
export * from './UtilitiesBlobPublicInfoResponse';
|
|
210
210
|
export * from './UtilitiesBlobUploadUrlRequest';
|
|
211
211
|
export * from './UtilitiesComponent';
|
|
212
|
+
export * from './UtilitiesDeployment';
|
|
213
|
+
export * from './UtilitiesDeploymentWithoutLog';
|
|
212
214
|
export * from './UtilitiesError';
|
|
215
|
+
export * from './UtilitiesOwDeploymentRequest';
|
|
216
|
+
export * from './UtilitiesOwDeploymentRequestOw';
|
|
217
|
+
export * from './UtilitiesPaginatedDeployments';
|
|
218
|
+
export * from './UtilitiesPaginationMeta';
|
|
213
219
|
export * from './VCCnfDto';
|
|
214
220
|
export * from './VCComponent';
|
|
215
221
|
export * from './VCConstraintsDto';
|
|
@@ -45,7 +45,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
45
45
|
});
|
|
46
46
|
};
|
|
47
47
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
48
|
-
exports.HelpersApi = void 0;
|
|
48
|
+
exports.DeploymentsOwGetOrderEnum = exports.HelpersApi = void 0;
|
|
49
49
|
const runtime = __importStar(require("../runtime"));
|
|
50
50
|
const models_1 = require("../models");
|
|
51
51
|
/**
|
|
@@ -230,6 +230,160 @@ class HelpersApi extends runtime.BaseAPI {
|
|
|
230
230
|
return yield response.value();
|
|
231
231
|
});
|
|
232
232
|
}
|
|
233
|
+
/**
|
|
234
|
+
* Returns a paginated list of all OW deployments
|
|
235
|
+
* List all OW deployments
|
|
236
|
+
*/
|
|
237
|
+
deploymentsOwGetRaw(requestParameters, initOverrides) {
|
|
238
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
239
|
+
const queryParameters = {};
|
|
240
|
+
if (requestParameters.perPage !== undefined) {
|
|
241
|
+
queryParameters['per_page'] = requestParameters.perPage;
|
|
242
|
+
}
|
|
243
|
+
if (requestParameters.page !== undefined) {
|
|
244
|
+
queryParameters['page'] = requestParameters.page;
|
|
245
|
+
}
|
|
246
|
+
if (requestParameters.order !== undefined) {
|
|
247
|
+
queryParameters['order'] = requestParameters.order;
|
|
248
|
+
}
|
|
249
|
+
const headerParameters = {};
|
|
250
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
251
|
+
const token = this.configuration.accessToken;
|
|
252
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
253
|
+
if (tokenString) {
|
|
254
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
const response = yield this.request({
|
|
258
|
+
path: `/deployments/ow`,
|
|
259
|
+
method: 'GET',
|
|
260
|
+
headers: headerParameters,
|
|
261
|
+
query: queryParameters,
|
|
262
|
+
}, initOverrides);
|
|
263
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.UtilitiesPaginatedDeploymentsFromJSON)(jsonValue));
|
|
264
|
+
});
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Returns a paginated list of all OW deployments
|
|
268
|
+
* List all OW deployments
|
|
269
|
+
*/
|
|
270
|
+
deploymentsOwGet(perPage, page, order, initOverrides) {
|
|
271
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
272
|
+
const response = yield this.deploymentsOwGetRaw({ perPage: perPage, page: page, order: order }, initOverrides);
|
|
273
|
+
return yield response.value();
|
|
274
|
+
});
|
|
275
|
+
}
|
|
276
|
+
/**
|
|
277
|
+
* Deletes a specific deployment by organization ID
|
|
278
|
+
* Delete deployment by organization ID
|
|
279
|
+
*/
|
|
280
|
+
deploymentsOwIdDeleteRaw(requestParameters, initOverrides) {
|
|
281
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
282
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
283
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling deploymentsOwIdDelete.');
|
|
284
|
+
}
|
|
285
|
+
const queryParameters = {};
|
|
286
|
+
const headerParameters = {};
|
|
287
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
288
|
+
const token = this.configuration.accessToken;
|
|
289
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
290
|
+
if (tokenString) {
|
|
291
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
const response = yield this.request({
|
|
295
|
+
path: `/deployments/ow/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
296
|
+
method: 'DELETE',
|
|
297
|
+
headers: headerParameters,
|
|
298
|
+
query: queryParameters,
|
|
299
|
+
}, initOverrides);
|
|
300
|
+
return new runtime.VoidApiResponse(response);
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
/**
|
|
304
|
+
* Deletes a specific deployment by organization ID
|
|
305
|
+
* Delete deployment by organization ID
|
|
306
|
+
*/
|
|
307
|
+
deploymentsOwIdDelete(id, initOverrides) {
|
|
308
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
309
|
+
yield this.deploymentsOwIdDeleteRaw({ id: id }, initOverrides);
|
|
310
|
+
});
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* Returns a specific deployment by organization ID
|
|
314
|
+
* Get deployment by organization ID
|
|
315
|
+
*/
|
|
316
|
+
deploymentsOwIdGetRaw(requestParameters, initOverrides) {
|
|
317
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
318
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
319
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling deploymentsOwIdGet.');
|
|
320
|
+
}
|
|
321
|
+
const queryParameters = {};
|
|
322
|
+
const headerParameters = {};
|
|
323
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
324
|
+
const token = this.configuration.accessToken;
|
|
325
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
326
|
+
if (tokenString) {
|
|
327
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
const response = yield this.request({
|
|
331
|
+
path: `/deployments/ow/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
332
|
+
method: 'GET',
|
|
333
|
+
headers: headerParameters,
|
|
334
|
+
query: queryParameters,
|
|
335
|
+
}, initOverrides);
|
|
336
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => (0, models_1.UtilitiesDeploymentWithoutLogFromJSON)(jsonValue));
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
/**
|
|
340
|
+
* Returns a specific deployment by organization ID
|
|
341
|
+
* Get deployment by organization ID
|
|
342
|
+
*/
|
|
343
|
+
deploymentsOwIdGet(id, initOverrides) {
|
|
344
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
345
|
+
const response = yield this.deploymentsOwIdGetRaw({ id: id }, initOverrides);
|
|
346
|
+
return yield response.value();
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
/**
|
|
350
|
+
* Create an OW deployment
|
|
351
|
+
* Create an OW deployment
|
|
352
|
+
*/
|
|
353
|
+
deploymentsOwPostRaw(requestParameters, initOverrides) {
|
|
354
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
355
|
+
if (requestParameters.utilitiesOwDeploymentRequest === null || requestParameters.utilitiesOwDeploymentRequest === undefined) {
|
|
356
|
+
throw new runtime.RequiredError('utilitiesOwDeploymentRequest', 'Required parameter requestParameters.utilitiesOwDeploymentRequest was null or undefined when calling deploymentsOwPost.');
|
|
357
|
+
}
|
|
358
|
+
const queryParameters = {};
|
|
359
|
+
const headerParameters = {};
|
|
360
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
361
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
362
|
+
const token = this.configuration.accessToken;
|
|
363
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
364
|
+
if (tokenString) {
|
|
365
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
const response = yield this.request({
|
|
369
|
+
path: `/deployments/ow`,
|
|
370
|
+
method: 'POST',
|
|
371
|
+
headers: headerParameters,
|
|
372
|
+
query: queryParameters,
|
|
373
|
+
body: (0, models_1.UtilitiesOwDeploymentRequestToJSON)(requestParameters.utilitiesOwDeploymentRequest),
|
|
374
|
+
}, initOverrides);
|
|
375
|
+
return new runtime.VoidApiResponse(response);
|
|
376
|
+
});
|
|
377
|
+
}
|
|
378
|
+
/**
|
|
379
|
+
* Create an OW deployment
|
|
380
|
+
* Create an OW deployment
|
|
381
|
+
*/
|
|
382
|
+
deploymentsOwPost(utilitiesOwDeploymentRequest, initOverrides) {
|
|
383
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
384
|
+
yield this.deploymentsOwPostRaw({ utilitiesOwDeploymentRequest: utilitiesOwDeploymentRequest }, initOverrides);
|
|
385
|
+
});
|
|
386
|
+
}
|
|
233
387
|
/**
|
|
234
388
|
* Redirect to the logo of an organisation. This endpoint is public and it only requires the organisation ID in the URL.
|
|
235
389
|
* Redirect to the logo of an organisation
|
|
@@ -290,3 +444,10 @@ class HelpersApi extends runtime.BaseAPI {
|
|
|
290
444
|
}
|
|
291
445
|
}
|
|
292
446
|
exports.HelpersApi = HelpersApi;
|
|
447
|
+
/**
|
|
448
|
+
* @export
|
|
449
|
+
*/
|
|
450
|
+
exports.DeploymentsOwGetOrderEnum = {
|
|
451
|
+
Asc: 'asc',
|
|
452
|
+
Desc: 'desc'
|
|
453
|
+
};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 3.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UtilitiesDeploymentToJSON = exports.UtilitiesDeploymentFromJSONTyped = exports.UtilitiesDeploymentFromJSON = exports.instanceOfUtilitiesDeployment = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the UtilitiesDeployment interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfUtilitiesDeployment(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "id" in value;
|
|
24
|
+
isInstance = isInstance && "inserted_at" in value;
|
|
25
|
+
isInstance = isInstance && "log" in value;
|
|
26
|
+
isInstance = isInstance && "org_id" in value;
|
|
27
|
+
isInstance = isInstance && "org_name" in value;
|
|
28
|
+
isInstance = isInstance && "redis_db" in value;
|
|
29
|
+
isInstance = isInstance && "status" in value;
|
|
30
|
+
return isInstance;
|
|
31
|
+
}
|
|
32
|
+
exports.instanceOfUtilitiesDeployment = instanceOfUtilitiesDeployment;
|
|
33
|
+
function UtilitiesDeploymentFromJSON(json) {
|
|
34
|
+
return UtilitiesDeploymentFromJSONTyped(json, false);
|
|
35
|
+
}
|
|
36
|
+
exports.UtilitiesDeploymentFromJSON = UtilitiesDeploymentFromJSON;
|
|
37
|
+
function UtilitiesDeploymentFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if ((json === undefined) || (json === null)) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'id': json['id'],
|
|
43
|
+
'inserted_at': (new Date(json['inserted_at'])),
|
|
44
|
+
'log': json['log'],
|
|
45
|
+
'org_id': json['org_id'],
|
|
46
|
+
'org_name': json['org_name'],
|
|
47
|
+
'public_host': !(0, runtime_1.exists)(json, 'public_host') ? undefined : json['public_host'],
|
|
48
|
+
'redis_db': json['redis_db'],
|
|
49
|
+
'status': json['status'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
exports.UtilitiesDeploymentFromJSONTyped = UtilitiesDeploymentFromJSONTyped;
|
|
53
|
+
function UtilitiesDeploymentToJSON(value) {
|
|
54
|
+
if (value === undefined) {
|
|
55
|
+
return undefined;
|
|
56
|
+
}
|
|
57
|
+
if (value === null) {
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
return {
|
|
61
|
+
'id': value.id,
|
|
62
|
+
'inserted_at': (value.inserted_at.toISOString()),
|
|
63
|
+
'log': value.log,
|
|
64
|
+
'org_id': value.org_id,
|
|
65
|
+
'org_name': value.org_name,
|
|
66
|
+
'public_host': value.public_host,
|
|
67
|
+
'redis_db': value.redis_db,
|
|
68
|
+
'status': value.status,
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
exports.UtilitiesDeploymentToJSON = UtilitiesDeploymentToJSON;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* SVX API
|
|
6
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 3.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UtilitiesDeploymentWithoutLogToJSON = exports.UtilitiesDeploymentWithoutLogFromJSONTyped = exports.UtilitiesDeploymentWithoutLogFromJSON = exports.instanceOfUtilitiesDeploymentWithoutLog = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
18
|
+
/**
|
|
19
|
+
* Check if a given object implements the UtilitiesDeploymentWithoutLog interface.
|
|
20
|
+
*/
|
|
21
|
+
function instanceOfUtilitiesDeploymentWithoutLog(value) {
|
|
22
|
+
let isInstance = true;
|
|
23
|
+
isInstance = isInstance && "id" in value;
|
|
24
|
+
isInstance = isInstance && "inserted_at" in value;
|
|
25
|
+
isInstance = isInstance && "org_id" in value;
|
|
26
|
+
isInstance = isInstance && "org_name" in value;
|
|
27
|
+
isInstance = isInstance && "redis_db" in value;
|
|
28
|
+
isInstance = isInstance && "status" in value;
|
|
29
|
+
return isInstance;
|
|
30
|
+
}
|
|
31
|
+
exports.instanceOfUtilitiesDeploymentWithoutLog = instanceOfUtilitiesDeploymentWithoutLog;
|
|
32
|
+
function UtilitiesDeploymentWithoutLogFromJSON(json) {
|
|
33
|
+
return UtilitiesDeploymentWithoutLogFromJSONTyped(json, false);
|
|
34
|
+
}
|
|
35
|
+
exports.UtilitiesDeploymentWithoutLogFromJSON = UtilitiesDeploymentWithoutLogFromJSON;
|
|
36
|
+
function UtilitiesDeploymentWithoutLogFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
+
if ((json === undefined) || (json === null)) {
|
|
38
|
+
return json;
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
'id': json['id'],
|
|
42
|
+
'inserted_at': (new Date(json['inserted_at'])),
|
|
43
|
+
'org_id': json['org_id'],
|
|
44
|
+
'org_name': json['org_name'],
|
|
45
|
+
'public_host': !(0, runtime_1.exists)(json, 'public_host') ? undefined : json['public_host'],
|
|
46
|
+
'redis_db': json['redis_db'],
|
|
47
|
+
'status': json['status'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
exports.UtilitiesDeploymentWithoutLogFromJSONTyped = UtilitiesDeploymentWithoutLogFromJSONTyped;
|
|
51
|
+
function UtilitiesDeploymentWithoutLogToJSON(value) {
|
|
52
|
+
if (value === undefined) {
|
|
53
|
+
return undefined;
|
|
54
|
+
}
|
|
55
|
+
if (value === null) {
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
'id': value.id,
|
|
60
|
+
'inserted_at': (value.inserted_at.toISOString()),
|
|
61
|
+
'org_id': value.org_id,
|
|
62
|
+
'org_name': value.org_name,
|
|
63
|
+
'public_host': value.public_host,
|
|
64
|
+
'redis_db': value.redis_db,
|
|
65
|
+
'status': value.status,
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
exports.UtilitiesDeploymentWithoutLogToJSON = UtilitiesDeploymentWithoutLogToJSON;
|