@epilot/blueprint-manifest-client 3.0.4 → 3.0.5
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.d.ts +44 -26
- package/dist/openapi.json +25 -28
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
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"}],"requestBody":{"required":false,"content":{"application/json":{}}},"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})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -48,6 +48,13 @@ declare namespace Components {
|
|
|
48
48
|
};
|
|
49
49
|
version?: string;
|
|
50
50
|
latest_download_file?: S3Reference;
|
|
51
|
+
deployments?: {
|
|
52
|
+
source_org_id?: string;
|
|
53
|
+
source_blueprint_id?: string;
|
|
54
|
+
destination_org_id?: string;
|
|
55
|
+
destination_blueprint_id?: string;
|
|
56
|
+
triggered_at?: string; // date-time
|
|
57
|
+
}[];
|
|
51
58
|
/**
|
|
52
59
|
* Whether the blueprint is verified by epilot
|
|
53
60
|
*/
|
|
@@ -245,6 +252,13 @@ declare namespace Components {
|
|
|
245
252
|
};
|
|
246
253
|
version?: string;
|
|
247
254
|
latest_download_file?: S3Reference;
|
|
255
|
+
deployments?: {
|
|
256
|
+
source_org_id?: string;
|
|
257
|
+
source_blueprint_id?: string;
|
|
258
|
+
destination_org_id?: string;
|
|
259
|
+
destination_blueprint_id?: string;
|
|
260
|
+
triggered_at?: string; // date-time
|
|
261
|
+
}[];
|
|
248
262
|
/**
|
|
249
263
|
* Whether the blueprint is verified by epilot
|
|
250
264
|
*/
|
|
@@ -303,7 +317,6 @@ declare namespace Components {
|
|
|
303
317
|
* 1.0.0
|
|
304
318
|
*/
|
|
305
319
|
source_blueprint_version?: string;
|
|
306
|
-
pre_install_requirements?: /* List of pre-installation requirements for the blueprint */ PreInstallRequirements;
|
|
307
320
|
/**
|
|
308
321
|
* A URL to download the source blueprint file used to import the blueprint
|
|
309
322
|
* example:
|
|
@@ -458,6 +471,13 @@ declare namespace Components {
|
|
|
458
471
|
};
|
|
459
472
|
version?: string;
|
|
460
473
|
latest_download_file?: S3Reference;
|
|
474
|
+
deployments?: {
|
|
475
|
+
source_org_id?: string;
|
|
476
|
+
source_blueprint_id?: string;
|
|
477
|
+
destination_org_id?: string;
|
|
478
|
+
destination_blueprint_id?: string;
|
|
479
|
+
triggered_at?: string; // date-time
|
|
480
|
+
}[];
|
|
461
481
|
/**
|
|
462
482
|
* Whether the blueprint is verified by epilot
|
|
463
483
|
*/
|
|
@@ -496,6 +516,13 @@ declare namespace Components {
|
|
|
496
516
|
};
|
|
497
517
|
version?: string;
|
|
498
518
|
latest_download_file?: S3Reference;
|
|
519
|
+
deployments?: {
|
|
520
|
+
source_org_id?: string;
|
|
521
|
+
source_blueprint_id?: string;
|
|
522
|
+
destination_org_id?: string;
|
|
523
|
+
destination_blueprint_id?: string;
|
|
524
|
+
triggered_at?: string; // date-time
|
|
525
|
+
}[];
|
|
499
526
|
/**
|
|
500
527
|
* Whether the blueprint is verified by epilot
|
|
501
528
|
*/
|
|
@@ -534,6 +561,13 @@ declare namespace Components {
|
|
|
534
561
|
};
|
|
535
562
|
version?: string;
|
|
536
563
|
latest_download_file?: S3Reference;
|
|
564
|
+
deployments?: {
|
|
565
|
+
source_org_id?: string;
|
|
566
|
+
source_blueprint_id?: string;
|
|
567
|
+
destination_org_id?: string;
|
|
568
|
+
destination_blueprint_id?: string;
|
|
569
|
+
triggered_at?: string; // date-time
|
|
570
|
+
}[];
|
|
537
571
|
/**
|
|
538
572
|
* Whether the blueprint is verified by epilot
|
|
539
573
|
*/
|
|
@@ -660,7 +694,6 @@ declare namespace Components {
|
|
|
660
694
|
* 1.0.0
|
|
661
695
|
*/
|
|
662
696
|
source_blueprint_version?: string;
|
|
663
|
-
pre_install_requirements?: /* List of pre-installation requirements for the blueprint */ PreInstallRequirements;
|
|
664
697
|
/**
|
|
665
698
|
* A URL to download the source blueprint file used to import the blueprint
|
|
666
699
|
* example:
|
|
@@ -783,7 +816,6 @@ declare namespace Components {
|
|
|
783
816
|
* 1.0.0
|
|
784
817
|
*/
|
|
785
818
|
source_blueprint_version?: string;
|
|
786
|
-
pre_install_requirements?: /* List of pre-installation requirements for the blueprint */ PreInstallRequirements;
|
|
787
819
|
/**
|
|
788
820
|
* A URL to download the source blueprint file used to import the blueprint
|
|
789
821
|
* example:
|
|
@@ -939,7 +971,6 @@ declare namespace Components {
|
|
|
939
971
|
* 1.0.0
|
|
940
972
|
*/
|
|
941
973
|
source_blueprint_version?: string;
|
|
942
|
-
pre_install_requirements?: /* List of pre-installation requirements for the blueprint */ PreInstallRequirements;
|
|
943
974
|
/**
|
|
944
975
|
* A URL to download the source blueprint file used to import the blueprint
|
|
945
976
|
* example:
|
|
@@ -1066,6 +1097,13 @@ declare namespace Components {
|
|
|
1066
1097
|
};
|
|
1067
1098
|
version?: string;
|
|
1068
1099
|
latest_download_file?: S3Reference;
|
|
1100
|
+
deployments?: {
|
|
1101
|
+
source_org_id?: string;
|
|
1102
|
+
source_blueprint_id?: string;
|
|
1103
|
+
destination_org_id?: string;
|
|
1104
|
+
destination_blueprint_id?: string;
|
|
1105
|
+
triggered_at?: string; // date-time
|
|
1106
|
+
}[];
|
|
1069
1107
|
/**
|
|
1070
1108
|
* Whether the blueprint is verified by epilot
|
|
1071
1109
|
*/
|
|
@@ -1082,27 +1120,6 @@ declare namespace Components {
|
|
|
1082
1120
|
resources?: BlueprintResource[];
|
|
1083
1121
|
}
|
|
1084
1122
|
export type PlanChanges = ("create" | "update" | "internal-update" | "no-op" | "delete")[];
|
|
1085
|
-
/**
|
|
1086
|
-
* List of pre-installation requirements for the blueprint
|
|
1087
|
-
*/
|
|
1088
|
-
export type PreInstallRequirements = {
|
|
1089
|
-
/**
|
|
1090
|
-
* Requirement Name
|
|
1091
|
-
* example:
|
|
1092
|
-
* billing_enabled
|
|
1093
|
-
*/
|
|
1094
|
-
name?: string;
|
|
1095
|
-
/**
|
|
1096
|
-
* Human-readable description of the requirement
|
|
1097
|
-
* example:
|
|
1098
|
-
* Billing must be enabled in your epilot organization
|
|
1099
|
-
*/
|
|
1100
|
-
description?: string;
|
|
1101
|
-
/**
|
|
1102
|
-
* Whether this requirement has been completed
|
|
1103
|
-
*/
|
|
1104
|
-
completed?: boolean;
|
|
1105
|
-
}[];
|
|
1106
1123
|
export interface PutManifestPayload {
|
|
1107
1124
|
/**
|
|
1108
1125
|
* Name of the source blueprint
|
|
@@ -1931,6 +1948,7 @@ declare namespace Paths {
|
|
|
1931
1948
|
}
|
|
1932
1949
|
}
|
|
1933
1950
|
|
|
1951
|
+
|
|
1934
1952
|
export interface OperationMethods {
|
|
1935
1953
|
/**
|
|
1936
1954
|
* getJob - getJob
|
|
@@ -2565,6 +2583,7 @@ export interface PathsDictionary {
|
|
|
2565
2583
|
|
|
2566
2584
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
2567
2585
|
|
|
2586
|
+
|
|
2568
2587
|
export type AppBlueprint = Components.Schemas.AppBlueprint;
|
|
2569
2588
|
export type Blueprint = Components.Schemas.Blueprint;
|
|
2570
2589
|
export type BlueprintExportJob = Components.Schemas.BlueprintExportJob;
|
|
@@ -2600,7 +2619,6 @@ export type ManifestSource = Components.Schemas.ManifestSource;
|
|
|
2600
2619
|
export type ManifestTimestampFields = Components.Schemas.ManifestTimestampFields;
|
|
2601
2620
|
export type MarketplaceBlueprint = Components.Schemas.MarketplaceBlueprint;
|
|
2602
2621
|
export type PlanChanges = Components.Schemas.PlanChanges;
|
|
2603
|
-
export type PreInstallRequirements = Components.Schemas.PreInstallRequirements;
|
|
2604
2622
|
export type PutManifestPayload = Components.Schemas.PutManifestPayload;
|
|
2605
2623
|
export type ResourceNode = Components.Schemas.ResourceNode;
|
|
2606
2624
|
export type ResourceNodeType = Components.Schemas.ResourceNodeType;
|
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": "2.
|
|
5
|
+
"version": "2.1.1",
|
|
6
6
|
"description": "Service to create and install Blueprint Manifest files"
|
|
7
7
|
},
|
|
8
8
|
"tags": [
|
|
@@ -1525,6 +1525,30 @@
|
|
|
1525
1525
|
"latest_download_file": {
|
|
1526
1526
|
"$ref": "#/components/schemas/S3Reference"
|
|
1527
1527
|
},
|
|
1528
|
+
"deployments": {
|
|
1529
|
+
"type": "array",
|
|
1530
|
+
"items": {
|
|
1531
|
+
"type": "object",
|
|
1532
|
+
"properties": {
|
|
1533
|
+
"source_org_id": {
|
|
1534
|
+
"type": "string"
|
|
1535
|
+
},
|
|
1536
|
+
"source_blueprint_id": {
|
|
1537
|
+
"type": "string"
|
|
1538
|
+
},
|
|
1539
|
+
"destination_org_id": {
|
|
1540
|
+
"type": "string"
|
|
1541
|
+
},
|
|
1542
|
+
"destination_blueprint_id": {
|
|
1543
|
+
"type": "string"
|
|
1544
|
+
},
|
|
1545
|
+
"triggered_at": {
|
|
1546
|
+
"type": "string",
|
|
1547
|
+
"format": "date-time"
|
|
1548
|
+
}
|
|
1549
|
+
}
|
|
1550
|
+
}
|
|
1551
|
+
},
|
|
1528
1552
|
"is_verified": {
|
|
1529
1553
|
"type": "boolean",
|
|
1530
1554
|
"description": "Whether the blueprint is verified by epilot"
|
|
@@ -2314,9 +2338,6 @@
|
|
|
2314
2338
|
"description": "Version of the blueprint (semver)",
|
|
2315
2339
|
"example": "1.0.0"
|
|
2316
2340
|
},
|
|
2317
|
-
"pre_install_requirements": {
|
|
2318
|
-
"$ref": "#/components/schemas/PreInstallRequirements"
|
|
2319
|
-
},
|
|
2320
2341
|
"source_blueprint_file": {
|
|
2321
2342
|
"type": "string",
|
|
2322
2343
|
"deprecated": true,
|
|
@@ -2490,30 +2511,6 @@
|
|
|
2490
2511
|
}
|
|
2491
2512
|
}
|
|
2492
2513
|
},
|
|
2493
|
-
"PreInstallRequirements": {
|
|
2494
|
-
"type": "array",
|
|
2495
|
-
"description": "List of pre-installation requirements for the blueprint",
|
|
2496
|
-
"items": {
|
|
2497
|
-
"type": "object",
|
|
2498
|
-
"properties": {
|
|
2499
|
-
"name": {
|
|
2500
|
-
"type": "string",
|
|
2501
|
-
"description": "Requirement Name",
|
|
2502
|
-
"example": "billing_enabled"
|
|
2503
|
-
},
|
|
2504
|
-
"description": {
|
|
2505
|
-
"type": "string",
|
|
2506
|
-
"description": "Human-readable description of the requirement",
|
|
2507
|
-
"example": "Billing must be enabled in your epilot organization"
|
|
2508
|
-
},
|
|
2509
|
-
"completed": {
|
|
2510
|
-
"type": "boolean",
|
|
2511
|
-
"description": "Whether this requirement has been completed",
|
|
2512
|
-
"default": false
|
|
2513
|
-
}
|
|
2514
|
-
}
|
|
2515
|
-
}
|
|
2516
|
-
},
|
|
2517
2514
|
"BlueprintInstallStatus": {
|
|
2518
2515
|
"type": "string",
|
|
2519
2516
|
"enum": [
|