@epilot/blueprint-manifest-client 2.6.10 → 2.7.0
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 +16 -0
- package/dist/openapi.d.ts +43 -0
- package/dist/openapi.json +43 -0
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={914:function(e,t,s){var
|
|
1
|
+
(()=>{"use strict";var e={914:function(e,t,s){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(s(240));t.default=o.default},240:e=>{e.exports=JSON.parse('{"openapi":"3.0.3","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":{}}}},"components":{"parameters":{"JobID":{"name":"job_id","in":"path","required":true}}}}')}},t={},s=function s(n){var o=t[n];if(void 0!==o)return o.exports;var r=t[n]={exports:{}};return e[n].call(r.exports,r,r.exports,s),r.exports}(914),n=exports;for(var o in s)n[o]=s[o];s.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
|
|
@@ -104,6 +104,22 @@
|
|
|
104
104
|
],
|
|
105
105
|
"responses": {}
|
|
106
106
|
},
|
|
107
|
+
"put": {
|
|
108
|
+
"operationId": "updateManifest",
|
|
109
|
+
"parameters": [
|
|
110
|
+
{
|
|
111
|
+
"in": "path",
|
|
112
|
+
"required": true,
|
|
113
|
+
"name": "manifest_id"
|
|
114
|
+
}
|
|
115
|
+
],
|
|
116
|
+
"requestBody": {
|
|
117
|
+
"content": {
|
|
118
|
+
"application/json": {}
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
"responses": {}
|
|
122
|
+
},
|
|
107
123
|
"delete": {
|
|
108
124
|
"operationId": "deleteManifest",
|
|
109
125
|
"parameters": [
|
package/dist/openapi.d.ts
CHANGED
|
@@ -577,6 +577,10 @@ declare namespace Components {
|
|
|
577
577
|
* ID of the resource that will replace the original
|
|
578
578
|
*/
|
|
579
579
|
replacementId: string;
|
|
580
|
+
/**
|
|
581
|
+
* Name of the resource that will replace the original
|
|
582
|
+
*/
|
|
583
|
+
replacementName?: string;
|
|
580
584
|
}
|
|
581
585
|
export interface RootResourceNode {
|
|
582
586
|
/**
|
|
@@ -948,6 +952,23 @@ declare namespace Paths {
|
|
|
948
952
|
}
|
|
949
953
|
}
|
|
950
954
|
}
|
|
955
|
+
namespace UpdateManifest {
|
|
956
|
+
namespace Parameters {
|
|
957
|
+
export type ManifestId = /**
|
|
958
|
+
* ID of an imported / installed manifest
|
|
959
|
+
* example:
|
|
960
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
961
|
+
*/
|
|
962
|
+
Components.Schemas.ManifestID;
|
|
963
|
+
}
|
|
964
|
+
export interface PathParameters {
|
|
965
|
+
manifest_id: Parameters.ManifestId;
|
|
966
|
+
}
|
|
967
|
+
export type RequestBody = Components.Schemas.Manifest;
|
|
968
|
+
namespace Responses {
|
|
969
|
+
export type $200 = Components.Schemas.Manifest;
|
|
970
|
+
}
|
|
971
|
+
}
|
|
951
972
|
namespace UploadManifest {
|
|
952
973
|
export type RequestBody = Components.Schemas.UploadFilePayload;
|
|
953
974
|
namespace Responses {
|
|
@@ -1051,6 +1072,17 @@ export interface OperationMethods {
|
|
|
1051
1072
|
data?: any,
|
|
1052
1073
|
config?: AxiosRequestConfig
|
|
1053
1074
|
): OperationResponse<Paths.GetManifest.Responses.$200>
|
|
1075
|
+
/**
|
|
1076
|
+
* updateManifest - updateManifest
|
|
1077
|
+
*
|
|
1078
|
+
* Update an installed manifest
|
|
1079
|
+
*
|
|
1080
|
+
*/
|
|
1081
|
+
'updateManifest'(
|
|
1082
|
+
parameters?: Parameters<Paths.UpdateManifest.PathParameters> | null,
|
|
1083
|
+
data?: Paths.UpdateManifest.RequestBody,
|
|
1084
|
+
config?: AxiosRequestConfig
|
|
1085
|
+
): OperationResponse<Paths.UpdateManifest.Responses.$200>
|
|
1054
1086
|
/**
|
|
1055
1087
|
* deleteManifest - deleteManifest
|
|
1056
1088
|
*
|
|
@@ -1169,6 +1201,17 @@ export interface PathsDictionary {
|
|
|
1169
1201
|
data?: any,
|
|
1170
1202
|
config?: AxiosRequestConfig
|
|
1171
1203
|
): OperationResponse<Paths.GetManifest.Responses.$200>
|
|
1204
|
+
/**
|
|
1205
|
+
* updateManifest - updateManifest
|
|
1206
|
+
*
|
|
1207
|
+
* Update an installed manifest
|
|
1208
|
+
*
|
|
1209
|
+
*/
|
|
1210
|
+
'put'(
|
|
1211
|
+
parameters?: Parameters<Paths.UpdateManifest.PathParameters> | null,
|
|
1212
|
+
data?: Paths.UpdateManifest.RequestBody,
|
|
1213
|
+
config?: AxiosRequestConfig
|
|
1214
|
+
): OperationResponse<Paths.UpdateManifest.Responses.$200>
|
|
1172
1215
|
/**
|
|
1173
1216
|
* deleteManifest - deleteManifest
|
|
1174
1217
|
*
|
package/dist/openapi.json
CHANGED
|
@@ -551,6 +551,45 @@
|
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
},
|
|
554
|
+
"put": {
|
|
555
|
+
"operationId": "updateManifest",
|
|
556
|
+
"summary": "updateManifest",
|
|
557
|
+
"description": "Update an installed manifest\n",
|
|
558
|
+
"tags": [
|
|
559
|
+
"Manifests"
|
|
560
|
+
],
|
|
561
|
+
"parameters": [
|
|
562
|
+
{
|
|
563
|
+
"in": "path",
|
|
564
|
+
"required": true,
|
|
565
|
+
"name": "manifest_id",
|
|
566
|
+
"schema": {
|
|
567
|
+
"$ref": "#/components/schemas/ManifestID"
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
],
|
|
571
|
+
"requestBody": {
|
|
572
|
+
"content": {
|
|
573
|
+
"application/json": {
|
|
574
|
+
"schema": {
|
|
575
|
+
"$ref": "#/components/schemas/Manifest"
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
},
|
|
580
|
+
"responses": {
|
|
581
|
+
"200": {
|
|
582
|
+
"description": "The updated Manifest",
|
|
583
|
+
"content": {
|
|
584
|
+
"application/json": {
|
|
585
|
+
"schema": {
|
|
586
|
+
"$ref": "#/components/schemas/Manifest"
|
|
587
|
+
}
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
},
|
|
554
593
|
"delete": {
|
|
555
594
|
"operationId": "deleteManifest",
|
|
556
595
|
"summary": "deleteManifest",
|
|
@@ -1208,6 +1247,10 @@
|
|
|
1208
1247
|
"replacementId": {
|
|
1209
1248
|
"type": "string",
|
|
1210
1249
|
"description": "ID of the resource that will replace the original"
|
|
1250
|
+
},
|
|
1251
|
+
"replacementName": {
|
|
1252
|
+
"type": "string",
|
|
1253
|
+
"description": "Name of the resource that will replace the original"
|
|
1211
1254
|
}
|
|
1212
1255
|
},
|
|
1213
1256
|
"required": [
|