@epilot/blueprint-manifest-client 3.0.0-beta.2 → 3.0.0-beta.3
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/dist/definition.js +1 -1
- package/dist/openapi-runtime.json +9 -14
- package/dist/openapi.d.ts +54 -15
- package/dist/openapi.json +57 -28
- package/package.json +15 -14
- package/LICENSE +0 -21
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={466:e=>{e.exports=JSON.parse('{"openapi":"3.1.0","info":{"title":"","version":""},"servers":[{"url":"https://blueprint-manifest.sls.epilot.io"}],"paths":{"/v1/blueprint-manifest/jobs/{job_id}":{"get":{"operationId":"getJob","parameters":[{"$ref":"#/components/parameters/JobID"}],"responses":{}}},"/v1/blueprint-manifest/jobs:createExport":{"post":{"operationId":"createExport","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs/{job_id}:exportManifest":{"post":{"operationId":"exportManifest","parameters":[{"$ref":"#/components/parameters/JobID"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest:uploadManifest":{"post":{"operationId":"uploadManifest","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs:createPlan":{"post":{"operationId":"createPlan","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs/{job_id}:applyPlan":{"post":{"operationId":"applyPlan","parameters":[{"$ref":"#/components/parameters/JobID"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/manifests":{"get":{"operationId":"listInstalledManifests","responses":{}}},"/v1/blueprint-manifest/manifests/{manifest_id}":{"get":{"operationId":"getManifest","parameters":[{"in":"path","required":true,"name":"manifest_id"}],"responses":{}},"put":{"operationId":"updateManifest","parameters":[{"in":"path","required":true,"name":"manifest_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteManifest","parameters":[{"in":"path","required":true,"name":"manifest_id"}],"responses":{}}},"/v2/blueprint-manifest/blueprints":{"get":{"operationId":"listBlueprints","responses":{}},"post":{"operationId":"createBlueprint","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprint:install":{"post":{"operationId":"installBlueprint","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}":{"get":{"operationId":"getBlueprint","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"responses":{}},"put":{"operationId":"updateBlueprint","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteBlueprint","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}:export":{"post":{"operationId":"exportBlueprint","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}/resources":{"post":{"operationId":"addBlueprintResource","parameters":[{"in":"path","required":true,"name":"blueprint_id"},{"in":"query","name":"add_dependencies"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}/resources:syncDependencies":{"post":{"operationId":"syncDependencies","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk":{"post":{"operationId":"bulkAddBlueprintResources","parameters":[{"in":"path","required":true,"name":"blueprint_id"},{"in":"query","name":"add_dependencies"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"put":{"operationId":"bulkUpdateBlueprintResources","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"bulkDeleteBlueprintResources","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}":{"put":{"operationId":"updateBlueprintResource","parameters":[{"in":"path","required":true,"name":"blueprint_id"},{"in":"path","required":true,"name":"resource_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteBlueprintResource","parameters":[{"in":"path","required":true,"name":"blueprint_id"},{"in":"path","required":true,"name":"resource_id"}],"responses":{}}},"/v2/blueprint-manifest/jobs":{"get":{"operationId":"listBlueprintJobs","responses":{}}},"/v2/blueprint-manifest/jobs/{job_id}":{"get":{"operationId":"getBlueprintJob","parameters":[{"in":"path","required":true,"name":"job_id"}],"responses":{}}},"/v2/blueprint-manifest/jobs/{job_id}:continue":{"post":{"operationId":"continueInstallationJob","parameters":[{"in":"path","required":true,"name":"job_id"}],"responses":{}}},"/v2/blueprint-manifest/jobs/{job_id}:cancel":{"operationId":"cancelBlueprintJob","parameters":[{"in":"path","required":true,"name":"job_id"}],"responses":{
|
|
1
|
+
(()=>{"use strict";var e={466:e=>{e.exports=JSON.parse('{"openapi":"3.1.0","info":{"title":"","version":""},"servers":[{"url":"https://blueprint-manifest.sls.epilot.io"}],"paths":{"/v1/blueprint-manifest/jobs/{job_id}":{"get":{"operationId":"getJob","parameters":[{"$ref":"#/components/parameters/JobID"}],"responses":{}}},"/v1/blueprint-manifest/jobs:createExport":{"post":{"operationId":"createExport","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs/{job_id}:exportManifest":{"post":{"operationId":"exportManifest","parameters":[{"$ref":"#/components/parameters/JobID"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest:uploadManifest":{"post":{"operationId":"uploadManifest","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs:createPlan":{"post":{"operationId":"createPlan","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs/{job_id}:applyPlan":{"post":{"operationId":"applyPlan","parameters":[{"$ref":"#/components/parameters/JobID"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/manifests":{"get":{"operationId":"listInstalledManifests","responses":{}}},"/v1/blueprint-manifest/manifests/{manifest_id}":{"get":{"operationId":"getManifest","parameters":[{"in":"path","required":true,"name":"manifest_id"}],"responses":{}},"put":{"operationId":"updateManifest","parameters":[{"in":"path","required":true,"name":"manifest_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteManifest","parameters":[{"in":"path","required":true,"name":"manifest_id"}],"responses":{}}},"/v2/blueprint-manifest/blueprints":{"get":{"operationId":"listBlueprints","responses":{}},"post":{"operationId":"createBlueprint","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprint:install":{"post":{"operationId":"installBlueprint","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}":{"get":{"operationId":"getBlueprint","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"responses":{}},"put":{"operationId":"updateBlueprint","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteBlueprint","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}:export":{"post":{"operationId":"exportBlueprint","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}/resources":{"post":{"operationId":"addBlueprintResource","parameters":[{"in":"path","required":true,"name":"blueprint_id"},{"in":"query","name":"add_dependencies"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}/resources:syncDependencies":{"post":{"operationId":"syncDependencies","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/bulk":{"post":{"operationId":"bulkAddBlueprintResources","parameters":[{"in":"path","required":true,"name":"blueprint_id"},{"in":"query","name":"add_dependencies"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"put":{"operationId":"bulkUpdateBlueprintResources","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"bulkDeleteBlueprintResources","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}/resources/{resource_id}":{"put":{"operationId":"updateBlueprintResource","parameters":[{"in":"path","required":true,"name":"blueprint_id"},{"in":"path","required":true,"name":"resource_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteBlueprintResource","parameters":[{"in":"path","required":true,"name":"blueprint_id"},{"in":"path","required":true,"name":"resource_id"}],"responses":{}}},"/v2/blueprint-manifest/jobs":{"get":{"operationId":"listBlueprintJobs","responses":{}}},"/v2/blueprint-manifest/jobs/{job_id}":{"get":{"operationId":"getBlueprintJob","parameters":[{"in":"path","required":true,"name":"job_id"}],"responses":{}}},"/v2/blueprint-manifest/jobs/{job_id}:continue":{"post":{"operationId":"continueInstallationJob","parameters":[{"in":"path","required":true,"name":"job_id"}],"responses":{}}},"/v2/blueprint-manifest/jobs/{job_id}:cancel":{"post":{"operationId":"cancelBlueprintJob","parameters":[{"in":"path","required":true,"name":"job_id"}],"responses":{}}}},"components":{"parameters":{"JobID":{"name":"job_id","in":"path","required":true}}}}')},757:function(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var s=n(r(466));t.default=s.default}},t={},r=function r(n){var s=t[n];if(void 0!==s)return s.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}(757),n=exports;for(var s in r)n[s]=r[s];r.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
|
|
@@ -373,21 +373,16 @@
|
|
|
373
373
|
}
|
|
374
374
|
},
|
|
375
375
|
"/v2/blueprint-manifest/jobs/{job_id}:cancel": {
|
|
376
|
-
"
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
],
|
|
384
|
-
"responses": {
|
|
385
|
-
"200": {
|
|
386
|
-
"description": "Blueprint job cancelled",
|
|
387
|
-
"content": {
|
|
388
|
-
"application/json": {}
|
|
376
|
+
"post": {
|
|
377
|
+
"operationId": "cancelBlueprintJob",
|
|
378
|
+
"parameters": [
|
|
379
|
+
{
|
|
380
|
+
"in": "path",
|
|
381
|
+
"required": true,
|
|
382
|
+
"name": "job_id"
|
|
389
383
|
}
|
|
390
|
-
|
|
384
|
+
],
|
|
385
|
+
"responses": {}
|
|
391
386
|
}
|
|
392
387
|
}
|
|
393
388
|
},
|
package/dist/openapi.d.ts
CHANGED
|
@@ -104,6 +104,7 @@ declare namespace Components {
|
|
|
104
104
|
BlueprintID;
|
|
105
105
|
source_blueprint_type?: "custom" | "file" | "marketplace" | "deploy" | "app";
|
|
106
106
|
source_org_id?: string;
|
|
107
|
+
source_blueprint_file?: string;
|
|
107
108
|
destination_blueprint_id?: /**
|
|
108
109
|
* ID of a blueprint
|
|
109
110
|
* example:
|
|
@@ -1360,6 +1361,22 @@ declare namespace Paths {
|
|
|
1360
1361
|
}
|
|
1361
1362
|
}
|
|
1362
1363
|
}
|
|
1364
|
+
namespace CancelBlueprintJob {
|
|
1365
|
+
namespace Parameters {
|
|
1366
|
+
export type JobId = /**
|
|
1367
|
+
* ID of a job
|
|
1368
|
+
* example:
|
|
1369
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
1370
|
+
*/
|
|
1371
|
+
Components.Schemas.BlueprintJobID;
|
|
1372
|
+
}
|
|
1373
|
+
export interface PathParameters {
|
|
1374
|
+
job_id: Parameters.JobId;
|
|
1375
|
+
}
|
|
1376
|
+
namespace Responses {
|
|
1377
|
+
export type $200 = Components.Schemas.BlueprintJob;
|
|
1378
|
+
}
|
|
1379
|
+
}
|
|
1363
1380
|
namespace ContinueInstallationJob {
|
|
1364
1381
|
namespace Parameters {
|
|
1365
1382
|
export type JobId = /**
|
|
@@ -1712,6 +1729,7 @@ declare namespace Paths {
|
|
|
1712
1729
|
}
|
|
1713
1730
|
namespace InstallBlueprint {
|
|
1714
1731
|
export interface RequestBody {
|
|
1732
|
+
source_org_id?: string;
|
|
1715
1733
|
source_blueprint_id?: /**
|
|
1716
1734
|
* ID of a blueprint
|
|
1717
1735
|
* example:
|
|
@@ -1721,7 +1739,14 @@ declare namespace Paths {
|
|
|
1721
1739
|
/**
|
|
1722
1740
|
* URL to the blueprint zip file
|
|
1723
1741
|
*/
|
|
1724
|
-
|
|
1742
|
+
source_blueprint_file?: string;
|
|
1743
|
+
destination_org_id?: string;
|
|
1744
|
+
destination_blueprint_id?: /**
|
|
1745
|
+
* ID of a blueprint
|
|
1746
|
+
* example:
|
|
1747
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
1748
|
+
*/
|
|
1749
|
+
Components.Schemas.BlueprintID;
|
|
1725
1750
|
/**
|
|
1726
1751
|
* Installation mode
|
|
1727
1752
|
*/
|
|
@@ -1740,7 +1765,14 @@ declare namespace Paths {
|
|
|
1740
1765
|
}
|
|
1741
1766
|
namespace ListBlueprintJobs {
|
|
1742
1767
|
namespace Responses {
|
|
1743
|
-
export
|
|
1768
|
+
export interface $200 {
|
|
1769
|
+
/**
|
|
1770
|
+
* example:
|
|
1771
|
+
* 1
|
|
1772
|
+
*/
|
|
1773
|
+
total?: number;
|
|
1774
|
+
results?: Components.Schemas.BlueprintJob[];
|
|
1775
|
+
}
|
|
1744
1776
|
}
|
|
1745
1777
|
}
|
|
1746
1778
|
namespace ListBlueprints {
|
|
@@ -1858,19 +1890,6 @@ declare namespace Paths {
|
|
|
1858
1890
|
}
|
|
1859
1891
|
}
|
|
1860
1892
|
}
|
|
1861
|
-
namespace V2BlueprintManifestJobs$JobIdCancel {
|
|
1862
|
-
namespace Parameters {
|
|
1863
|
-
export type JobId = /**
|
|
1864
|
-
* ID of a job
|
|
1865
|
-
* example:
|
|
1866
|
-
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
1867
|
-
*/
|
|
1868
|
-
Components.Schemas.BlueprintJobID;
|
|
1869
|
-
}
|
|
1870
|
-
export interface PathParameters {
|
|
1871
|
-
job_id: Parameters.JobId;
|
|
1872
|
-
}
|
|
1873
|
-
}
|
|
1874
1893
|
}
|
|
1875
1894
|
|
|
1876
1895
|
|
|
@@ -2158,6 +2177,16 @@ export interface OperationMethods {
|
|
|
2158
2177
|
data?: any,
|
|
2159
2178
|
config?: AxiosRequestConfig
|
|
2160
2179
|
): OperationResponse<Paths.ContinueInstallationJob.Responses.$200>
|
|
2180
|
+
/**
|
|
2181
|
+
* cancelBlueprintJob - Cancel Blueprint Job
|
|
2182
|
+
*
|
|
2183
|
+
* Cancel a blueprint job if it is still running.
|
|
2184
|
+
*/
|
|
2185
|
+
'cancelBlueprintJob'(
|
|
2186
|
+
parameters?: Parameters<Paths.CancelBlueprintJob.PathParameters> | null,
|
|
2187
|
+
data?: any,
|
|
2188
|
+
config?: AxiosRequestConfig
|
|
2189
|
+
): OperationResponse<Paths.CancelBlueprintJob.Responses.$200>
|
|
2161
2190
|
}
|
|
2162
2191
|
|
|
2163
2192
|
export interface PathsDictionary {
|
|
@@ -2483,6 +2512,16 @@ export interface PathsDictionary {
|
|
|
2483
2512
|
): OperationResponse<Paths.ContinueInstallationJob.Responses.$200>
|
|
2484
2513
|
}
|
|
2485
2514
|
['/v2/blueprint-manifest/jobs/{job_id}:cancel']: {
|
|
2515
|
+
/**
|
|
2516
|
+
* cancelBlueprintJob - Cancel Blueprint Job
|
|
2517
|
+
*
|
|
2518
|
+
* Cancel a blueprint job if it is still running.
|
|
2519
|
+
*/
|
|
2520
|
+
'post'(
|
|
2521
|
+
parameters?: Parameters<Paths.CancelBlueprintJob.PathParameters> | null,
|
|
2522
|
+
data?: any,
|
|
2523
|
+
config?: AxiosRequestConfig
|
|
2524
|
+
): OperationResponse<Paths.CancelBlueprintJob.Responses.$200>
|
|
2486
2525
|
}
|
|
2487
2526
|
}
|
|
2488
2527
|
|
package/dist/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.1.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Blueprint Manifest API",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "1.0.0",
|
|
6
6
|
"description": "Service to create and install Blueprint Manifest files"
|
|
7
7
|
},
|
|
8
8
|
"tags": [
|
|
@@ -756,6 +756,9 @@
|
|
|
756
756
|
"operationId": "installBlueprint",
|
|
757
757
|
"summary": "installBlueprint",
|
|
758
758
|
"description": "Kick off a new blueprint installation job. Returns 202 Accepted with Location header pointing to the job resource\n",
|
|
759
|
+
"tags": [
|
|
760
|
+
"Blueprints"
|
|
761
|
+
],
|
|
759
762
|
"requestBody": {
|
|
760
763
|
"required": true,
|
|
761
764
|
"content": {
|
|
@@ -763,13 +766,22 @@
|
|
|
763
766
|
"schema": {
|
|
764
767
|
"type": "object",
|
|
765
768
|
"properties": {
|
|
769
|
+
"source_org_id": {
|
|
770
|
+
"type": "string"
|
|
771
|
+
},
|
|
766
772
|
"source_blueprint_id": {
|
|
767
773
|
"$ref": "#/components/schemas/BlueprintID"
|
|
768
774
|
},
|
|
769
|
-
"
|
|
775
|
+
"source_blueprint_file": {
|
|
770
776
|
"type": "string",
|
|
771
777
|
"description": "URL to the blueprint zip file"
|
|
772
778
|
},
|
|
779
|
+
"destination_org_id": {
|
|
780
|
+
"type": "string"
|
|
781
|
+
},
|
|
782
|
+
"destination_blueprint_id": {
|
|
783
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
784
|
+
},
|
|
773
785
|
"mode": {
|
|
774
786
|
"type": "string",
|
|
775
787
|
"enum": [
|
|
@@ -1412,9 +1424,18 @@
|
|
|
1412
1424
|
"content": {
|
|
1413
1425
|
"application/json": {
|
|
1414
1426
|
"schema": {
|
|
1415
|
-
"type": "
|
|
1416
|
-
"
|
|
1417
|
-
"
|
|
1427
|
+
"type": "object",
|
|
1428
|
+
"properties": {
|
|
1429
|
+
"total": {
|
|
1430
|
+
"type": "integer",
|
|
1431
|
+
"example": 1
|
|
1432
|
+
},
|
|
1433
|
+
"results": {
|
|
1434
|
+
"type": "array",
|
|
1435
|
+
"items": {
|
|
1436
|
+
"$ref": "#/components/schemas/BlueprintJob"
|
|
1437
|
+
}
|
|
1438
|
+
}
|
|
1418
1439
|
}
|
|
1419
1440
|
}
|
|
1420
1441
|
}
|
|
@@ -1428,6 +1449,9 @@
|
|
|
1428
1449
|
"operationId": "getBlueprintJob",
|
|
1429
1450
|
"summary": "Get Job",
|
|
1430
1451
|
"description": "Poll current state of a job.",
|
|
1452
|
+
"tags": [
|
|
1453
|
+
"Jobs"
|
|
1454
|
+
],
|
|
1431
1455
|
"parameters": [
|
|
1432
1456
|
{
|
|
1433
1457
|
"in": "path",
|
|
@@ -1458,7 +1482,7 @@
|
|
|
1458
1482
|
"summary": "Continue Installation Job",
|
|
1459
1483
|
"description": "Continue an installation job if it is waiting for user action.",
|
|
1460
1484
|
"tags": [
|
|
1461
|
-
"
|
|
1485
|
+
"Jobs"
|
|
1462
1486
|
],
|
|
1463
1487
|
"parameters": [
|
|
1464
1488
|
{
|
|
@@ -1485,29 +1509,31 @@
|
|
|
1485
1509
|
}
|
|
1486
1510
|
},
|
|
1487
1511
|
"/v2/blueprint-manifest/jobs/{job_id}:cancel": {
|
|
1488
|
-
"
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
"
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
"
|
|
1512
|
+
"post": {
|
|
1513
|
+
"operationId": "cancelBlueprintJob",
|
|
1514
|
+
"summary": "Cancel Blueprint Job",
|
|
1515
|
+
"description": "Cancel a blueprint job if it is still running.",
|
|
1516
|
+
"tags": [
|
|
1517
|
+
"Jobs"
|
|
1518
|
+
],
|
|
1519
|
+
"parameters": [
|
|
1520
|
+
{
|
|
1521
|
+
"in": "path",
|
|
1522
|
+
"required": true,
|
|
1523
|
+
"name": "job_id",
|
|
1524
|
+
"schema": {
|
|
1525
|
+
"$ref": "#/components/schemas/BlueprintJobID"
|
|
1526
|
+
}
|
|
1501
1527
|
}
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1528
|
+
],
|
|
1529
|
+
"responses": {
|
|
1530
|
+
"200": {
|
|
1531
|
+
"description": "Blueprint job cancelled",
|
|
1532
|
+
"content": {
|
|
1533
|
+
"application/json": {
|
|
1534
|
+
"schema": {
|
|
1535
|
+
"$ref": "#/components/schemas/BlueprintJob"
|
|
1536
|
+
}
|
|
1511
1537
|
}
|
|
1512
1538
|
}
|
|
1513
1539
|
}
|
|
@@ -1882,6 +1908,9 @@
|
|
|
1882
1908
|
"source_org_id": {
|
|
1883
1909
|
"type": "string"
|
|
1884
1910
|
},
|
|
1911
|
+
"source_blueprint_file": {
|
|
1912
|
+
"type": "string"
|
|
1913
|
+
},
|
|
1885
1914
|
"destination_blueprint_id": {
|
|
1886
1915
|
"$ref": "#/components/schemas/BlueprintID"
|
|
1887
1916
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/blueprint-manifest-client",
|
|
3
|
-
"version": "3.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.3",
|
|
4
4
|
"description": "Client for epilot Terraform Blueprint Manifest API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -21,6 +21,18 @@
|
|
|
21
21
|
"manifest",
|
|
22
22
|
"terraform"
|
|
23
23
|
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"test": "jest",
|
|
26
|
+
"bundle-definition": "webpack",
|
|
27
|
+
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/blueprint-manifest.yaml",
|
|
28
|
+
"openapi:local": "node ../../scripts/update-openapi.js ../../../blueprint-manifest-api/lambda/TerraformHandlerFunction/openapi.yml",
|
|
29
|
+
"typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
|
|
30
|
+
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
31
|
+
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
32
|
+
"build:watch": "npm run build && tsc -w",
|
|
33
|
+
"prepublishOnly": "npm run typegen && npm run build",
|
|
34
|
+
"lint": "pnpm exec eslint src"
|
|
35
|
+
},
|
|
24
36
|
"files": [
|
|
25
37
|
"*.js",
|
|
26
38
|
"*.d.ts",
|
|
@@ -60,16 +72,5 @@
|
|
|
60
72
|
"webpack": "^5.18.0",
|
|
61
73
|
"webpack-cli": "^4.4.0"
|
|
62
74
|
},
|
|
63
|
-
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
64
|
-
|
|
65
|
-
"test": "jest",
|
|
66
|
-
"bundle-definition": "webpack",
|
|
67
|
-
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/blueprint-manifest.yaml",
|
|
68
|
-
"openapi:local": "node ../../scripts/update-openapi.js ../../../blueprint-manifest-api/lambda/TerraformHandlerFunction/openapi.yml",
|
|
69
|
-
"typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
|
|
70
|
-
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
71
|
-
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
72
|
-
"build:watch": "npm run build && tsc -w",
|
|
73
|
-
"lint": "pnpm exec eslint src"
|
|
74
|
-
}
|
|
75
|
-
}
|
|
75
|
+
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
76
|
+
}
|
package/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
The MIT License (MIT)
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025 epilot GmbH
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
|
13
|
-
all copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
-
THE SOFTWARE.
|