@epilot/blueprint-manifest-client 3.0.6 → 3.0.7
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 +59 -2
- package/dist/openapi.json +29 -0
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
1
|
+
(()=>{"use strict";var e={914: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(240));t.default=s.default},240: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"}],"requestBody":{"required":false,"content":{"application/json":{}}},"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}}}}')}},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}(914),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
|
@@ -317,6 +317,16 @@ declare namespace Components {
|
|
|
317
317
|
* 1.0.0
|
|
318
318
|
*/
|
|
319
319
|
source_blueprint_version?: string;
|
|
320
|
+
pre_install_requirements?: /**
|
|
321
|
+
* List of feature settings that must be enabled before installing the blueprint
|
|
322
|
+
* example:
|
|
323
|
+
* [
|
|
324
|
+
* "journey_automation",
|
|
325
|
+
* "ticket-entities",
|
|
326
|
+
* "advanced_permissions"
|
|
327
|
+
* ]
|
|
328
|
+
*/
|
|
329
|
+
PreInstallRequirements;
|
|
320
330
|
/**
|
|
321
331
|
* A URL to download the source blueprint file used to import the blueprint
|
|
322
332
|
* example:
|
|
@@ -694,6 +704,16 @@ declare namespace Components {
|
|
|
694
704
|
* 1.0.0
|
|
695
705
|
*/
|
|
696
706
|
source_blueprint_version?: string;
|
|
707
|
+
pre_install_requirements?: /**
|
|
708
|
+
* List of feature settings that must be enabled before installing the blueprint
|
|
709
|
+
* example:
|
|
710
|
+
* [
|
|
711
|
+
* "journey_automation",
|
|
712
|
+
* "ticket-entities",
|
|
713
|
+
* "advanced_permissions"
|
|
714
|
+
* ]
|
|
715
|
+
*/
|
|
716
|
+
PreInstallRequirements;
|
|
697
717
|
/**
|
|
698
718
|
* A URL to download the source blueprint file used to import the blueprint
|
|
699
719
|
* example:
|
|
@@ -816,6 +836,16 @@ declare namespace Components {
|
|
|
816
836
|
* 1.0.0
|
|
817
837
|
*/
|
|
818
838
|
source_blueprint_version?: string;
|
|
839
|
+
pre_install_requirements?: /**
|
|
840
|
+
* List of feature settings that must be enabled before installing the blueprint
|
|
841
|
+
* example:
|
|
842
|
+
* [
|
|
843
|
+
* "journey_automation",
|
|
844
|
+
* "ticket-entities",
|
|
845
|
+
* "advanced_permissions"
|
|
846
|
+
* ]
|
|
847
|
+
*/
|
|
848
|
+
PreInstallRequirements;
|
|
819
849
|
/**
|
|
820
850
|
* A URL to download the source blueprint file used to import the blueprint
|
|
821
851
|
* example:
|
|
@@ -971,6 +1001,16 @@ declare namespace Components {
|
|
|
971
1001
|
* 1.0.0
|
|
972
1002
|
*/
|
|
973
1003
|
source_blueprint_version?: string;
|
|
1004
|
+
pre_install_requirements?: /**
|
|
1005
|
+
* List of feature settings that must be enabled before installing the blueprint
|
|
1006
|
+
* example:
|
|
1007
|
+
* [
|
|
1008
|
+
* "journey_automation",
|
|
1009
|
+
* "ticket-entities",
|
|
1010
|
+
* "advanced_permissions"
|
|
1011
|
+
* ]
|
|
1012
|
+
*/
|
|
1013
|
+
PreInstallRequirements;
|
|
974
1014
|
/**
|
|
975
1015
|
* A URL to download the source blueprint file used to import the blueprint
|
|
976
1016
|
* example:
|
|
@@ -1120,6 +1160,16 @@ declare namespace Components {
|
|
|
1120
1160
|
resources?: BlueprintResource[];
|
|
1121
1161
|
}
|
|
1122
1162
|
export type PlanChanges = ("create" | "update" | "internal-update" | "no-op" | "delete")[];
|
|
1163
|
+
/**
|
|
1164
|
+
* List of feature settings that must be enabled before installing the blueprint
|
|
1165
|
+
* example:
|
|
1166
|
+
* [
|
|
1167
|
+
* "journey_automation",
|
|
1168
|
+
* "ticket-entities",
|
|
1169
|
+
* "advanced_permissions"
|
|
1170
|
+
* ]
|
|
1171
|
+
*/
|
|
1172
|
+
export type PreInstallRequirements = string[];
|
|
1123
1173
|
export interface PutManifestPayload {
|
|
1124
1174
|
/**
|
|
1125
1175
|
* Name of the source blueprint
|
|
@@ -1177,6 +1227,10 @@ declare namespace Components {
|
|
|
1177
1227
|
type?: /* Type of the resource */ ResourceNodeType;
|
|
1178
1228
|
}[];
|
|
1179
1229
|
changes?: PlanChanges;
|
|
1230
|
+
/**
|
|
1231
|
+
* Fields causing the updates / internal updates on a resource install
|
|
1232
|
+
*/
|
|
1233
|
+
changes_reason?: string[];
|
|
1180
1234
|
}
|
|
1181
1235
|
/**
|
|
1182
1236
|
* Type of the resource
|
|
@@ -1223,6 +1277,10 @@ declare namespace Components {
|
|
|
1223
1277
|
*/
|
|
1224
1278
|
dependencies?: VirtualResourceNodeGroup[] | null;
|
|
1225
1279
|
changes?: PlanChanges;
|
|
1280
|
+
/**
|
|
1281
|
+
* Fields causing the updates / internal updates on a resource install
|
|
1282
|
+
*/
|
|
1283
|
+
changes_reason?: string[];
|
|
1226
1284
|
}
|
|
1227
1285
|
export interface S3Reference {
|
|
1228
1286
|
/**
|
|
@@ -1952,7 +2010,6 @@ declare namespace Paths {
|
|
|
1952
2010
|
}
|
|
1953
2011
|
}
|
|
1954
2012
|
|
|
1955
|
-
|
|
1956
2013
|
export interface OperationMethods {
|
|
1957
2014
|
/**
|
|
1958
2015
|
* getJob - getJob
|
|
@@ -2587,7 +2644,6 @@ export interface PathsDictionary {
|
|
|
2587
2644
|
|
|
2588
2645
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
2589
2646
|
|
|
2590
|
-
|
|
2591
2647
|
export type AppBlueprint = Components.Schemas.AppBlueprint;
|
|
2592
2648
|
export type Blueprint = Components.Schemas.Blueprint;
|
|
2593
2649
|
export type BlueprintExportJob = Components.Schemas.BlueprintExportJob;
|
|
@@ -2623,6 +2679,7 @@ export type ManifestSource = Components.Schemas.ManifestSource;
|
|
|
2623
2679
|
export type ManifestTimestampFields = Components.Schemas.ManifestTimestampFields;
|
|
2624
2680
|
export type MarketplaceBlueprint = Components.Schemas.MarketplaceBlueprint;
|
|
2625
2681
|
export type PlanChanges = Components.Schemas.PlanChanges;
|
|
2682
|
+
export type PreInstallRequirements = Components.Schemas.PreInstallRequirements;
|
|
2626
2683
|
export type PutManifestPayload = Components.Schemas.PutManifestPayload;
|
|
2627
2684
|
export type ResourceNode = Components.Schemas.ResourceNode;
|
|
2628
2685
|
export type ResourceNodeType = Components.Schemas.ResourceNodeType;
|
package/dist/openapi.json
CHANGED
|
@@ -2139,6 +2139,13 @@
|
|
|
2139
2139
|
},
|
|
2140
2140
|
"changes": {
|
|
2141
2141
|
"$ref": "#/components/schemas/PlanChanges"
|
|
2142
|
+
},
|
|
2143
|
+
"changes_reason": {
|
|
2144
|
+
"type": "array",
|
|
2145
|
+
"description": "Fields causing the updates / internal updates on a resource install",
|
|
2146
|
+
"items": {
|
|
2147
|
+
"type": "string"
|
|
2148
|
+
}
|
|
2142
2149
|
}
|
|
2143
2150
|
}
|
|
2144
2151
|
}
|
|
@@ -2208,6 +2215,13 @@
|
|
|
2208
2215
|
},
|
|
2209
2216
|
"changes": {
|
|
2210
2217
|
"$ref": "#/components/schemas/PlanChanges"
|
|
2218
|
+
},
|
|
2219
|
+
"changes_reason": {
|
|
2220
|
+
"type": "array",
|
|
2221
|
+
"description": "Fields causing the updates / internal updates on a resource install",
|
|
2222
|
+
"items": {
|
|
2223
|
+
"type": "string"
|
|
2224
|
+
}
|
|
2211
2225
|
}
|
|
2212
2226
|
}
|
|
2213
2227
|
}
|
|
@@ -2356,6 +2370,9 @@
|
|
|
2356
2370
|
"description": "Version of the blueprint (semver)",
|
|
2357
2371
|
"example": "1.0.0"
|
|
2358
2372
|
},
|
|
2373
|
+
"pre_install_requirements": {
|
|
2374
|
+
"$ref": "#/components/schemas/PreInstallRequirements"
|
|
2375
|
+
},
|
|
2359
2376
|
"source_blueprint_file": {
|
|
2360
2377
|
"type": "string",
|
|
2361
2378
|
"deprecated": true,
|
|
@@ -2529,6 +2546,18 @@
|
|
|
2529
2546
|
}
|
|
2530
2547
|
}
|
|
2531
2548
|
},
|
|
2549
|
+
"PreInstallRequirements": {
|
|
2550
|
+
"type": "array",
|
|
2551
|
+
"items": {
|
|
2552
|
+
"type": "string"
|
|
2553
|
+
},
|
|
2554
|
+
"description": "List of feature settings that must be enabled before installing the blueprint",
|
|
2555
|
+
"example": [
|
|
2556
|
+
"journey_automation",
|
|
2557
|
+
"ticket-entities",
|
|
2558
|
+
"advanced_permissions"
|
|
2559
|
+
]
|
|
2560
|
+
},
|
|
2532
2561
|
"BlueprintInstallStatus": {
|
|
2533
2562
|
"type": "string",
|
|
2534
2563
|
"enum": [
|