@epilot/blueprint-manifest-client 3.0.5 → 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-runtime.json +6 -0
- package/dist/openapi.d.ts +65 -4
- package/dist/openapi.json +47 -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
|
/**
|
|
@@ -1650,6 +1708,10 @@ declare namespace Paths {
|
|
|
1650
1708
|
export interface PathParameters {
|
|
1651
1709
|
blueprint_id: Parameters.BlueprintId;
|
|
1652
1710
|
}
|
|
1711
|
+
export interface RequestBody {
|
|
1712
|
+
destination_org_id?: string;
|
|
1713
|
+
destination_blueprint_id?: string;
|
|
1714
|
+
}
|
|
1653
1715
|
namespace Responses {
|
|
1654
1716
|
export interface $202 {
|
|
1655
1717
|
job_id?: /**
|
|
@@ -1948,7 +2010,6 @@ declare namespace Paths {
|
|
|
1948
2010
|
}
|
|
1949
2011
|
}
|
|
1950
2012
|
|
|
1951
|
-
|
|
1952
2013
|
export interface OperationMethods {
|
|
1953
2014
|
/**
|
|
1954
2015
|
* getJob - getJob
|
|
@@ -2130,7 +2191,7 @@ export interface OperationMethods {
|
|
|
2130
2191
|
*/
|
|
2131
2192
|
'exportBlueprint'(
|
|
2132
2193
|
parameters?: Parameters<Paths.ExportBlueprint.PathParameters> | null,
|
|
2133
|
-
data?:
|
|
2194
|
+
data?: Paths.ExportBlueprint.RequestBody,
|
|
2134
2195
|
config?: AxiosRequestConfig
|
|
2135
2196
|
): OperationResponse<Paths.ExportBlueprint.Responses.$202>
|
|
2136
2197
|
/**
|
|
@@ -2449,7 +2510,7 @@ export interface PathsDictionary {
|
|
|
2449
2510
|
*/
|
|
2450
2511
|
'post'(
|
|
2451
2512
|
parameters?: Parameters<Paths.ExportBlueprint.PathParameters> | null,
|
|
2452
|
-
data?:
|
|
2513
|
+
data?: Paths.ExportBlueprint.RequestBody,
|
|
2453
2514
|
config?: AxiosRequestConfig
|
|
2454
2515
|
): OperationResponse<Paths.ExportBlueprint.Responses.$202>
|
|
2455
2516
|
}
|
|
@@ -2583,7 +2644,6 @@ export interface PathsDictionary {
|
|
|
2583
2644
|
|
|
2584
2645
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
2585
2646
|
|
|
2586
|
-
|
|
2587
2647
|
export type AppBlueprint = Components.Schemas.AppBlueprint;
|
|
2588
2648
|
export type Blueprint = Components.Schemas.Blueprint;
|
|
2589
2649
|
export type BlueprintExportJob = Components.Schemas.BlueprintExportJob;
|
|
@@ -2619,6 +2679,7 @@ export type ManifestSource = Components.Schemas.ManifestSource;
|
|
|
2619
2679
|
export type ManifestTimestampFields = Components.Schemas.ManifestTimestampFields;
|
|
2620
2680
|
export type MarketplaceBlueprint = Components.Schemas.MarketplaceBlueprint;
|
|
2621
2681
|
export type PlanChanges = Components.Schemas.PlanChanges;
|
|
2682
|
+
export type PreInstallRequirements = Components.Schemas.PreInstallRequirements;
|
|
2622
2683
|
export type PutManifestPayload = Components.Schemas.PutManifestPayload;
|
|
2623
2684
|
export type ResourceNode = Components.Schemas.ResourceNode;
|
|
2624
2685
|
export type ResourceNodeType = Components.Schemas.ResourceNodeType;
|
package/dist/openapi.json
CHANGED
|
@@ -950,6 +950,24 @@
|
|
|
950
950
|
}
|
|
951
951
|
}
|
|
952
952
|
],
|
|
953
|
+
"requestBody": {
|
|
954
|
+
"required": false,
|
|
955
|
+
"content": {
|
|
956
|
+
"application/json": {
|
|
957
|
+
"schema": {
|
|
958
|
+
"type": "object",
|
|
959
|
+
"properties": {
|
|
960
|
+
"destination_org_id": {
|
|
961
|
+
"type": "string"
|
|
962
|
+
},
|
|
963
|
+
"destination_blueprint_id": {
|
|
964
|
+
"type": "string"
|
|
965
|
+
}
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
},
|
|
953
971
|
"responses": {
|
|
954
972
|
"202": {
|
|
955
973
|
"description": "Blueprint export job started",
|
|
@@ -2121,6 +2139,13 @@
|
|
|
2121
2139
|
},
|
|
2122
2140
|
"changes": {
|
|
2123
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
|
+
}
|
|
2124
2149
|
}
|
|
2125
2150
|
}
|
|
2126
2151
|
}
|
|
@@ -2190,6 +2215,13 @@
|
|
|
2190
2215
|
},
|
|
2191
2216
|
"changes": {
|
|
2192
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
|
+
}
|
|
2193
2225
|
}
|
|
2194
2226
|
}
|
|
2195
2227
|
}
|
|
@@ -2338,6 +2370,9 @@
|
|
|
2338
2370
|
"description": "Version of the blueprint (semver)",
|
|
2339
2371
|
"example": "1.0.0"
|
|
2340
2372
|
},
|
|
2373
|
+
"pre_install_requirements": {
|
|
2374
|
+
"$ref": "#/components/schemas/PreInstallRequirements"
|
|
2375
|
+
},
|
|
2341
2376
|
"source_blueprint_file": {
|
|
2342
2377
|
"type": "string",
|
|
2343
2378
|
"deprecated": true,
|
|
@@ -2511,6 +2546,18 @@
|
|
|
2511
2546
|
}
|
|
2512
2547
|
}
|
|
2513
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
|
+
},
|
|
2514
2561
|
"BlueprintInstallStatus": {
|
|
2515
2562
|
"type": "string",
|
|
2516
2563
|
"enum": [
|