@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
package/.openapi-generator/FILES
CHANGED
|
@@ -229,7 +229,13 @@ models/UtilitiesBlobPublicInfo.ts
|
|
|
229
229
|
models/UtilitiesBlobPublicInfoResponse.ts
|
|
230
230
|
models/UtilitiesBlobUploadUrlRequest.ts
|
|
231
231
|
models/UtilitiesComponent.ts
|
|
232
|
+
models/UtilitiesDeployment.ts
|
|
233
|
+
models/UtilitiesDeploymentWithoutLog.ts
|
|
232
234
|
models/UtilitiesError.ts
|
|
235
|
+
models/UtilitiesOwDeploymentRequest.ts
|
|
236
|
+
models/UtilitiesOwDeploymentRequestOw.ts
|
|
237
|
+
models/UtilitiesPaginatedDeployments.ts
|
|
238
|
+
models/UtilitiesPaginationMeta.ts
|
|
233
239
|
models/VCCnfDto.ts
|
|
234
240
|
models/VCComponent.ts
|
|
235
241
|
models/VCConstraintsDto.ts
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { UtilitiesBlobInfoResponseFromJSON, UtilitiesBlobPublicInfoResponseFromJSON, UtilitiesBlobUploadUrlRequestToJSON, } from '../models';
|
|
24
|
+
import { UtilitiesBlobInfoResponseFromJSON, UtilitiesBlobPublicInfoResponseFromJSON, UtilitiesBlobUploadUrlRequestToJSON, UtilitiesDeploymentWithoutLogFromJSON, UtilitiesOwDeploymentRequestToJSON, UtilitiesPaginatedDeploymentsFromJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -204,6 +204,160 @@ export class HelpersApi extends runtime.BaseAPI {
|
|
|
204
204
|
return yield response.value();
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* Returns a paginated list of all OW deployments
|
|
209
|
+
* List all OW deployments
|
|
210
|
+
*/
|
|
211
|
+
deploymentsOwGetRaw(requestParameters, initOverrides) {
|
|
212
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
213
|
+
const queryParameters = {};
|
|
214
|
+
if (requestParameters.perPage !== undefined) {
|
|
215
|
+
queryParameters['per_page'] = requestParameters.perPage;
|
|
216
|
+
}
|
|
217
|
+
if (requestParameters.page !== undefined) {
|
|
218
|
+
queryParameters['page'] = requestParameters.page;
|
|
219
|
+
}
|
|
220
|
+
if (requestParameters.order !== undefined) {
|
|
221
|
+
queryParameters['order'] = requestParameters.order;
|
|
222
|
+
}
|
|
223
|
+
const headerParameters = {};
|
|
224
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
225
|
+
const token = this.configuration.accessToken;
|
|
226
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
227
|
+
if (tokenString) {
|
|
228
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
const response = yield this.request({
|
|
232
|
+
path: `/deployments/ow`,
|
|
233
|
+
method: 'GET',
|
|
234
|
+
headers: headerParameters,
|
|
235
|
+
query: queryParameters,
|
|
236
|
+
}, initOverrides);
|
|
237
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UtilitiesPaginatedDeploymentsFromJSON(jsonValue));
|
|
238
|
+
});
|
|
239
|
+
}
|
|
240
|
+
/**
|
|
241
|
+
* Returns a paginated list of all OW deployments
|
|
242
|
+
* List all OW deployments
|
|
243
|
+
*/
|
|
244
|
+
deploymentsOwGet(perPage, page, order, initOverrides) {
|
|
245
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
246
|
+
const response = yield this.deploymentsOwGetRaw({ perPage: perPage, page: page, order: order }, initOverrides);
|
|
247
|
+
return yield response.value();
|
|
248
|
+
});
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Deletes a specific deployment by organization ID
|
|
252
|
+
* Delete deployment by organization ID
|
|
253
|
+
*/
|
|
254
|
+
deploymentsOwIdDeleteRaw(requestParameters, initOverrides) {
|
|
255
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
256
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
257
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling deploymentsOwIdDelete.');
|
|
258
|
+
}
|
|
259
|
+
const queryParameters = {};
|
|
260
|
+
const headerParameters = {};
|
|
261
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
262
|
+
const token = this.configuration.accessToken;
|
|
263
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
264
|
+
if (tokenString) {
|
|
265
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
const response = yield this.request({
|
|
269
|
+
path: `/deployments/ow/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
270
|
+
method: 'DELETE',
|
|
271
|
+
headers: headerParameters,
|
|
272
|
+
query: queryParameters,
|
|
273
|
+
}, initOverrides);
|
|
274
|
+
return new runtime.VoidApiResponse(response);
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* Deletes a specific deployment by organization ID
|
|
279
|
+
* Delete deployment by organization ID
|
|
280
|
+
*/
|
|
281
|
+
deploymentsOwIdDelete(id, initOverrides) {
|
|
282
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
283
|
+
yield this.deploymentsOwIdDeleteRaw({ id: id }, initOverrides);
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
/**
|
|
287
|
+
* Returns a specific deployment by organization ID
|
|
288
|
+
* Get deployment by organization ID
|
|
289
|
+
*/
|
|
290
|
+
deploymentsOwIdGetRaw(requestParameters, initOverrides) {
|
|
291
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
292
|
+
if (requestParameters.id === null || requestParameters.id === undefined) {
|
|
293
|
+
throw new runtime.RequiredError('id', 'Required parameter requestParameters.id was null or undefined when calling deploymentsOwIdGet.');
|
|
294
|
+
}
|
|
295
|
+
const queryParameters = {};
|
|
296
|
+
const headerParameters = {};
|
|
297
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
298
|
+
const token = this.configuration.accessToken;
|
|
299
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
300
|
+
if (tokenString) {
|
|
301
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
const response = yield this.request({
|
|
305
|
+
path: `/deployments/ow/{id}`.replace(`{${"id"}}`, encodeURIComponent(String(requestParameters.id))),
|
|
306
|
+
method: 'GET',
|
|
307
|
+
headers: headerParameters,
|
|
308
|
+
query: queryParameters,
|
|
309
|
+
}, initOverrides);
|
|
310
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => UtilitiesDeploymentWithoutLogFromJSON(jsonValue));
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* Returns a specific deployment by organization ID
|
|
315
|
+
* Get deployment by organization ID
|
|
316
|
+
*/
|
|
317
|
+
deploymentsOwIdGet(id, initOverrides) {
|
|
318
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
319
|
+
const response = yield this.deploymentsOwIdGetRaw({ id: id }, initOverrides);
|
|
320
|
+
return yield response.value();
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* Create an OW deployment
|
|
325
|
+
* Create an OW deployment
|
|
326
|
+
*/
|
|
327
|
+
deploymentsOwPostRaw(requestParameters, initOverrides) {
|
|
328
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
329
|
+
if (requestParameters.utilitiesOwDeploymentRequest === null || requestParameters.utilitiesOwDeploymentRequest === undefined) {
|
|
330
|
+
throw new runtime.RequiredError('utilitiesOwDeploymentRequest', 'Required parameter requestParameters.utilitiesOwDeploymentRequest was null or undefined when calling deploymentsOwPost.');
|
|
331
|
+
}
|
|
332
|
+
const queryParameters = {};
|
|
333
|
+
const headerParameters = {};
|
|
334
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
335
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
336
|
+
const token = this.configuration.accessToken;
|
|
337
|
+
const tokenString = yield token("SVX-JWT", []);
|
|
338
|
+
if (tokenString) {
|
|
339
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
const response = yield this.request({
|
|
343
|
+
path: `/deployments/ow`,
|
|
344
|
+
method: 'POST',
|
|
345
|
+
headers: headerParameters,
|
|
346
|
+
query: queryParameters,
|
|
347
|
+
body: UtilitiesOwDeploymentRequestToJSON(requestParameters.utilitiesOwDeploymentRequest),
|
|
348
|
+
}, initOverrides);
|
|
349
|
+
return new runtime.VoidApiResponse(response);
|
|
350
|
+
});
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* Create an OW deployment
|
|
354
|
+
* Create an OW deployment
|
|
355
|
+
*/
|
|
356
|
+
deploymentsOwPost(utilitiesOwDeploymentRequest, initOverrides) {
|
|
357
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
358
|
+
yield this.deploymentsOwPostRaw({ utilitiesOwDeploymentRequest: utilitiesOwDeploymentRequest }, initOverrides);
|
|
359
|
+
});
|
|
360
|
+
}
|
|
207
361
|
/**
|
|
208
362
|
* Redirect to the logo of an organisation. This endpoint is public and it only requires the organisation ID in the URL.
|
|
209
363
|
* Redirect to the logo of an organisation
|
|
@@ -263,3 +417,10 @@ export class HelpersApi extends runtime.BaseAPI {
|
|
|
263
417
|
});
|
|
264
418
|
}
|
|
265
419
|
}
|
|
420
|
+
/**
|
|
421
|
+
* @export
|
|
422
|
+
*/
|
|
423
|
+
export const DeploymentsOwGetOrderEnum = {
|
|
424
|
+
Asc: 'asc',
|
|
425
|
+
Desc: 'desc'
|
|
426
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.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
|
+
import { exists } from '../runtime';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the UtilitiesDeployment interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfUtilitiesDeployment(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "id" in value;
|
|
21
|
+
isInstance = isInstance && "inserted_at" in value;
|
|
22
|
+
isInstance = isInstance && "log" in value;
|
|
23
|
+
isInstance = isInstance && "org_id" in value;
|
|
24
|
+
isInstance = isInstance && "org_name" in value;
|
|
25
|
+
isInstance = isInstance && "redis_db" in value;
|
|
26
|
+
isInstance = isInstance && "status" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
export function UtilitiesDeploymentFromJSON(json) {
|
|
30
|
+
return UtilitiesDeploymentFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function UtilitiesDeploymentFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'id': json['id'],
|
|
38
|
+
'inserted_at': (new Date(json['inserted_at'])),
|
|
39
|
+
'log': json['log'],
|
|
40
|
+
'org_id': json['org_id'],
|
|
41
|
+
'org_name': json['org_name'],
|
|
42
|
+
'public_host': !exists(json, 'public_host') ? undefined : json['public_host'],
|
|
43
|
+
'redis_db': json['redis_db'],
|
|
44
|
+
'status': json['status'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function UtilitiesDeploymentToJSON(value) {
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'id': value.id,
|
|
56
|
+
'inserted_at': (value.inserted_at.toISOString()),
|
|
57
|
+
'log': value.log,
|
|
58
|
+
'org_id': value.org_id,
|
|
59
|
+
'org_name': value.org_name,
|
|
60
|
+
'public_host': value.public_host,
|
|
61
|
+
'redis_db': value.redis_db,
|
|
62
|
+
'status': value.status,
|
|
63
|
+
};
|
|
64
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.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
|
+
import { exists } from '../runtime';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the UtilitiesDeploymentWithoutLog interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfUtilitiesDeploymentWithoutLog(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "id" in value;
|
|
21
|
+
isInstance = isInstance && "inserted_at" in value;
|
|
22
|
+
isInstance = isInstance && "org_id" in value;
|
|
23
|
+
isInstance = isInstance && "org_name" in value;
|
|
24
|
+
isInstance = isInstance && "redis_db" in value;
|
|
25
|
+
isInstance = isInstance && "status" in value;
|
|
26
|
+
return isInstance;
|
|
27
|
+
}
|
|
28
|
+
export function UtilitiesDeploymentWithoutLogFromJSON(json) {
|
|
29
|
+
return UtilitiesDeploymentWithoutLogFromJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function UtilitiesDeploymentWithoutLogFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
+
if ((json === undefined) || (json === null)) {
|
|
33
|
+
return json;
|
|
34
|
+
}
|
|
35
|
+
return {
|
|
36
|
+
'id': json['id'],
|
|
37
|
+
'inserted_at': (new Date(json['inserted_at'])),
|
|
38
|
+
'org_id': json['org_id'],
|
|
39
|
+
'org_name': json['org_name'],
|
|
40
|
+
'public_host': !exists(json, 'public_host') ? undefined : json['public_host'],
|
|
41
|
+
'redis_db': json['redis_db'],
|
|
42
|
+
'status': json['status'],
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
export function UtilitiesDeploymentWithoutLogToJSON(value) {
|
|
46
|
+
if (value === undefined) {
|
|
47
|
+
return undefined;
|
|
48
|
+
}
|
|
49
|
+
if (value === null) {
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
'id': value.id,
|
|
54
|
+
'inserted_at': (value.inserted_at.toISOString()),
|
|
55
|
+
'org_id': value.org_id,
|
|
56
|
+
'org_name': value.org_name,
|
|
57
|
+
'public_host': value.public_host,
|
|
58
|
+
'redis_db': value.redis_db,
|
|
59
|
+
'status': value.status,
|
|
60
|
+
};
|
|
61
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.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
|
+
import { UtilitiesOwDeploymentRequestOwFromJSON, UtilitiesOwDeploymentRequestOwToJSON, } from './UtilitiesOwDeploymentRequestOw';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the UtilitiesOwDeploymentRequest interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfUtilitiesOwDeploymentRequest(value) {
|
|
19
|
+
let isInstance = true;
|
|
20
|
+
isInstance = isInstance && "ow" in value;
|
|
21
|
+
return isInstance;
|
|
22
|
+
}
|
|
23
|
+
export function UtilitiesOwDeploymentRequestFromJSON(json) {
|
|
24
|
+
return UtilitiesOwDeploymentRequestFromJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function UtilitiesOwDeploymentRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
27
|
+
if ((json === undefined) || (json === null)) {
|
|
28
|
+
return json;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
'ow': UtilitiesOwDeploymentRequestOwFromJSON(json['ow']),
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function UtilitiesOwDeploymentRequestToJSON(value) {
|
|
35
|
+
if (value === undefined) {
|
|
36
|
+
return undefined;
|
|
37
|
+
}
|
|
38
|
+
if (value === null) {
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'ow': UtilitiesOwDeploymentRequestOwToJSON(value.ow),
|
|
43
|
+
};
|
|
44
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.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
|
+
* Check if a given object implements the UtilitiesOwDeploymentRequestOw interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUtilitiesOwDeploymentRequestOw(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "app_client_id" in value;
|
|
20
|
+
isInstance = isInstance && "app_client_secret" in value;
|
|
21
|
+
isInstance = isInstance && "org_id" in value;
|
|
22
|
+
isInstance = isInstance && "org_passphrase" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function UtilitiesOwDeploymentRequestOwFromJSON(json) {
|
|
26
|
+
return UtilitiesOwDeploymentRequestOwFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function UtilitiesOwDeploymentRequestOwFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'app_client_id': json['app_client_id'],
|
|
34
|
+
'app_client_secret': json['app_client_secret'],
|
|
35
|
+
'org_id': json['org_id'],
|
|
36
|
+
'org_passphrase': json['org_passphrase'],
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export function UtilitiesOwDeploymentRequestOwToJSON(value) {
|
|
40
|
+
if (value === undefined) {
|
|
41
|
+
return undefined;
|
|
42
|
+
}
|
|
43
|
+
if (value === null) {
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
'app_client_id': value.app_client_id,
|
|
48
|
+
'app_client_secret': value.app_client_secret,
|
|
49
|
+
'org_id': value.org_id,
|
|
50
|
+
'org_passphrase': value.org_passphrase,
|
|
51
|
+
};
|
|
52
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.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
|
+
import { UtilitiesDeploymentFromJSON, UtilitiesDeploymentToJSON, } from './UtilitiesDeployment';
|
|
15
|
+
import { UtilitiesPaginationMetaFromJSON, UtilitiesPaginationMetaToJSON, } from './UtilitiesPaginationMeta';
|
|
16
|
+
/**
|
|
17
|
+
* Check if a given object implements the UtilitiesPaginatedDeployments interface.
|
|
18
|
+
*/
|
|
19
|
+
export function instanceOfUtilitiesPaginatedDeployments(value) {
|
|
20
|
+
let isInstance = true;
|
|
21
|
+
isInstance = isInstance && "deployments" in value;
|
|
22
|
+
isInstance = isInstance && "meta" in value;
|
|
23
|
+
return isInstance;
|
|
24
|
+
}
|
|
25
|
+
export function UtilitiesPaginatedDeploymentsFromJSON(json) {
|
|
26
|
+
return UtilitiesPaginatedDeploymentsFromJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function UtilitiesPaginatedDeploymentsFromJSONTyped(json, ignoreDiscriminator) {
|
|
29
|
+
if ((json === undefined) || (json === null)) {
|
|
30
|
+
return json;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
'deployments': (json['deployments'].map(UtilitiesDeploymentFromJSON)),
|
|
34
|
+
'meta': UtilitiesPaginationMetaFromJSON(json['meta']),
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
export function UtilitiesPaginatedDeploymentsToJSON(value) {
|
|
38
|
+
if (value === undefined) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
41
|
+
if (value === null) {
|
|
42
|
+
return null;
|
|
43
|
+
}
|
|
44
|
+
return {
|
|
45
|
+
'deployments': (value.deployments.map(UtilitiesDeploymentToJSON)),
|
|
46
|
+
'meta': UtilitiesPaginationMetaToJSON(value.meta),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* SVX API
|
|
5
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 3.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
|
+
* Check if a given object implements the UtilitiesPaginationMeta interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfUtilitiesPaginationMeta(value) {
|
|
18
|
+
let isInstance = true;
|
|
19
|
+
isInstance = isInstance && "order" in value;
|
|
20
|
+
isInstance = isInstance && "order_by" in value;
|
|
21
|
+
isInstance = isInstance && "order_from_params" in value;
|
|
22
|
+
isInstance = isInstance && "page" in value;
|
|
23
|
+
isInstance = isInstance && "page_count" in value;
|
|
24
|
+
isInstance = isInstance && "per_page" in value;
|
|
25
|
+
isInstance = isInstance && "per_page_from_params" in value;
|
|
26
|
+
isInstance = isInstance && "records_count" in value;
|
|
27
|
+
return isInstance;
|
|
28
|
+
}
|
|
29
|
+
export function UtilitiesPaginationMetaFromJSON(json) {
|
|
30
|
+
return UtilitiesPaginationMetaFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function UtilitiesPaginationMetaFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if ((json === undefined) || (json === null)) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'order': json['order'],
|
|
38
|
+
'order_by': json['order_by'],
|
|
39
|
+
'order_from_params': json['order_from_params'],
|
|
40
|
+
'page': json['page'],
|
|
41
|
+
'page_count': json['page_count'],
|
|
42
|
+
'per_page': json['per_page'],
|
|
43
|
+
'per_page_from_params': json['per_page_from_params'],
|
|
44
|
+
'records_count': json['records_count'],
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export function UtilitiesPaginationMetaToJSON(value) {
|
|
48
|
+
if (value === undefined) {
|
|
49
|
+
return undefined;
|
|
50
|
+
}
|
|
51
|
+
if (value === null) {
|
|
52
|
+
return null;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'order': value.order,
|
|
56
|
+
'order_by': value.order_by,
|
|
57
|
+
'order_from_params': value.order_from_params,
|
|
58
|
+
'page': value.page,
|
|
59
|
+
'page_count': value.page_count,
|
|
60
|
+
'per_page': value.per_page,
|
|
61
|
+
'per_page_from_params': value.per_page_from_params,
|
|
62
|
+
'records_count': value.records_count,
|
|
63
|
+
};
|
|
64
|
+
}
|
package/lib/esm/models/index.js
CHANGED
|
@@ -211,7 +211,13 @@ export * from './UtilitiesBlobPublicInfo';
|
|
|
211
211
|
export * from './UtilitiesBlobPublicInfoResponse';
|
|
212
212
|
export * from './UtilitiesBlobUploadUrlRequest';
|
|
213
213
|
export * from './UtilitiesComponent';
|
|
214
|
+
export * from './UtilitiesDeployment';
|
|
215
|
+
export * from './UtilitiesDeploymentWithoutLog';
|
|
214
216
|
export * from './UtilitiesError';
|
|
217
|
+
export * from './UtilitiesOwDeploymentRequest';
|
|
218
|
+
export * from './UtilitiesOwDeploymentRequestOw';
|
|
219
|
+
export * from './UtilitiesPaginatedDeployments';
|
|
220
|
+
export * from './UtilitiesPaginationMeta';
|
|
215
221
|
export * from './VCCnfDto';
|
|
216
222
|
export * from './VCComponent';
|
|
217
223
|
export * from './VCConstraintsDto';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import type { UtilitiesBlobInfoResponse, UtilitiesBlobPublicInfoResponse, UtilitiesBlobUploadUrlRequest } from '../models';
|
|
13
|
+
import type { UtilitiesBlobInfoResponse, UtilitiesBlobPublicInfoResponse, UtilitiesBlobUploadUrlRequest, UtilitiesDeploymentWithoutLog, UtilitiesOwDeploymentRequest, UtilitiesPaginatedDeployments } from '../models';
|
|
14
14
|
export interface BlobsIdGetRequest {
|
|
15
15
|
id: string;
|
|
16
16
|
}
|
|
@@ -27,6 +27,20 @@ export interface BlobsPostRequest {
|
|
|
27
27
|
storageName: string;
|
|
28
28
|
utilitiesBlobUploadUrlRequest: UtilitiesBlobUploadUrlRequest;
|
|
29
29
|
}
|
|
30
|
+
export interface DeploymentsOwGetRequest {
|
|
31
|
+
perPage?: number;
|
|
32
|
+
page?: number;
|
|
33
|
+
order?: DeploymentsOwGetOrderEnum;
|
|
34
|
+
}
|
|
35
|
+
export interface DeploymentsOwIdDeleteRequest {
|
|
36
|
+
id: string;
|
|
37
|
+
}
|
|
38
|
+
export interface DeploymentsOwIdGetRequest {
|
|
39
|
+
id: string;
|
|
40
|
+
}
|
|
41
|
+
export interface DeploymentsOwPostRequest {
|
|
42
|
+
utilitiesOwDeploymentRequest: UtilitiesOwDeploymentRequest;
|
|
43
|
+
}
|
|
30
44
|
export interface OrgsOrgIdLogoGetRequest {
|
|
31
45
|
orgId: string;
|
|
32
46
|
}
|
|
@@ -87,6 +101,46 @@ export declare class HelpersApi extends runtime.BaseAPI {
|
|
|
87
101
|
* Obtain a signed upload URL
|
|
88
102
|
*/
|
|
89
103
|
blobsPost(storageName: string, utilitiesBlobUploadUrlRequest: UtilitiesBlobUploadUrlRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UtilitiesBlobInfoResponse>;
|
|
104
|
+
/**
|
|
105
|
+
* Returns a paginated list of all OW deployments
|
|
106
|
+
* List all OW deployments
|
|
107
|
+
*/
|
|
108
|
+
deploymentsOwGetRaw(requestParameters: DeploymentsOwGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UtilitiesPaginatedDeployments>>;
|
|
109
|
+
/**
|
|
110
|
+
* Returns a paginated list of all OW deployments
|
|
111
|
+
* List all OW deployments
|
|
112
|
+
*/
|
|
113
|
+
deploymentsOwGet(perPage?: number, page?: number, order?: DeploymentsOwGetOrderEnum, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UtilitiesPaginatedDeployments>;
|
|
114
|
+
/**
|
|
115
|
+
* Deletes a specific deployment by organization ID
|
|
116
|
+
* Delete deployment by organization ID
|
|
117
|
+
*/
|
|
118
|
+
deploymentsOwIdDeleteRaw(requestParameters: DeploymentsOwIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
119
|
+
/**
|
|
120
|
+
* Deletes a specific deployment by organization ID
|
|
121
|
+
* Delete deployment by organization ID
|
|
122
|
+
*/
|
|
123
|
+
deploymentsOwIdDelete(id: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
124
|
+
/**
|
|
125
|
+
* Returns a specific deployment by organization ID
|
|
126
|
+
* Get deployment by organization ID
|
|
127
|
+
*/
|
|
128
|
+
deploymentsOwIdGetRaw(requestParameters: DeploymentsOwIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UtilitiesDeploymentWithoutLog>>;
|
|
129
|
+
/**
|
|
130
|
+
* Returns a specific deployment by organization ID
|
|
131
|
+
* Get deployment by organization ID
|
|
132
|
+
*/
|
|
133
|
+
deploymentsOwIdGet(id: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UtilitiesDeploymentWithoutLog>;
|
|
134
|
+
/**
|
|
135
|
+
* Create an OW deployment
|
|
136
|
+
* Create an OW deployment
|
|
137
|
+
*/
|
|
138
|
+
deploymentsOwPostRaw(requestParameters: DeploymentsOwPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
139
|
+
/**
|
|
140
|
+
* Create an OW deployment
|
|
141
|
+
* Create an OW deployment
|
|
142
|
+
*/
|
|
143
|
+
deploymentsOwPost(utilitiesOwDeploymentRequest: UtilitiesOwDeploymentRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
90
144
|
/**
|
|
91
145
|
* Redirect to the logo of an organisation. This endpoint is public and it only requires the organisation ID in the URL.
|
|
92
146
|
* Redirect to the logo of an organisation
|
|
@@ -108,3 +162,11 @@ export declare class HelpersApi extends runtime.BaseAPI {
|
|
|
108
162
|
*/
|
|
109
163
|
tenantsTenantIdLogoGet(tenantId: string, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
110
164
|
}
|
|
165
|
+
/**
|
|
166
|
+
* @export
|
|
167
|
+
*/
|
|
168
|
+
export declare const DeploymentsOwGetOrderEnum: {
|
|
169
|
+
readonly Asc: "asc";
|
|
170
|
+
readonly Desc: "desc";
|
|
171
|
+
};
|
|
172
|
+
export type DeploymentsOwGetOrderEnum = typeof DeploymentsOwGetOrderEnum[keyof typeof DeploymentsOwGetOrderEnum];
|