@epilot/blueprint-manifest-client 2.3.0 → 2.3.1

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/README.md CHANGED
@@ -1,18 +1,18 @@
1
1
  # @epilot/blueprint-manifest-client
2
2
 
3
3
  [![CI](https://github.com/epilot-dev/sdk-js/workflows/CI/badge.svg)](https://github.com/epilot-dev/sdk-js/actions?query=workflow%3ACI)
4
- [![npm version](https://img.shields.io/npm/v/@epilot/tf-blueprints-client.svg)](https://www.npmjs.com/package/@epilot/tf-blueprints-client)
5
- [![bundle size](https://img.shields.io/bundlephobia/minzip/@epilot/tf-blueprints-client?label=gzip%20bundle)](https://bundlephobia.com/package/@epilot/tf-blueprints-client)
4
+ [![npm version](https://img.shields.io/npm/v/@epilot/blueprint-manifest-client.svg)](https://www.npmjs.com/package/@epilot/blueprint-manifest-client)
5
+ [![bundle size](https://img.shields.io/bundlephobia/minzip/@epilot/blueprint-manifest-client?label=gzip%20bundle)](https://bundlephobia.com/package/@epilot/blueprint-manifest-client)
6
6
  [![License](http://img.shields.io/:license-mit-blue.svg)](https://github.com/epilot-dev/sdk-js/blob/main/LICENSE)
7
7
 
8
8
  Client library for epilot [Blueprint Manifest API](https://docs.epilot.io/api/blueprint-manifest)
9
9
 
10
- Uses [`openapi-client-axios`](https://github.com/anttiviljami/openapi-client-axios)
10
+ Uses [`openapi-client-axios`](https://github.com/openapistack/openapi-client-axios)
11
11
 
12
12
  ## Installation
13
13
 
14
14
  ```bash
15
- npm install --save @epilot/tf-blueprints-client
15
+ npm install --save @epilot/blueprint-manifest-client
16
16
  ```
17
17
 
18
18
  ## Usage
@@ -1 +1 @@
1
- (()=>{"use strict";var e={914:function(e,t,o){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=r(o(240));t.default=n.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"}]}},"/v1/blueprint-manifest/jobs:createExport":{"post":{"operationId":"createExport","requestBody":{"content":{"application/json":{}}}}},"/v1/blueprint-manifest/jobs/{job_id}:exportManifest":{"post":{"operationId":"exportManifest","parameters":[{"$ref":"#/components/parameters/JobID"}],"requestBody":{"content":{"application/json":{}}}}},"/v1/blueprint-manifest:uploadManifest":{"post":{"operationId":"uploadManifest","requestBody":{"content":{"application/json":{}}}}},"/v1/blueprint-manifest/jobs:createPlan":{"post":{"operationId":"createPlan","requestBody":{"content":{"application/json":{}}}}},"/v1/blueprint-manifest/jobs/{job_id}:applyPlan":{"post":{"operationId":"applyPlan","parameters":[{"$ref":"#/components/parameters/JobID"}],"requestBody":{"content":{"application/json":{}}}}}},"components":{"parameters":{"JobID":{"name":"job_id","in":"path","required":true}}}}')}},t={},o=function o(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,o),a.exports}(914),r=exports;for(var n in o)r[n]=o[n];o.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})})();
1
+ (()=>{"use strict";var e={914:function(e,t,s){var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var n=o(s(240));t.default=n.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":{}},"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(o){var n=t[o];if(void 0!==n)return n.exports;var r=t[o]={exports:{}};return e[o].call(r.exports,r,r.exports,s),r.exports}(914),o=exports;for(var n in s)o[n]=s[n];s.__esModule&&Object.defineProperty(o,"__esModule",{value:!0})})();
package/dist/index.js CHANGED
@@ -15,5 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client"), exports);
18
- __exportStar(require("./openapi"), exports);
19
18
  //# sourceMappingURL=index.js.map
@@ -17,7 +17,8 @@
17
17
  {
18
18
  "$ref": "#/components/parameters/JobID"
19
19
  }
20
- ]
20
+ ],
21
+ "responses": {}
21
22
  }
22
23
  },
23
24
  "/v1/blueprint-manifest/jobs:createExport": {
@@ -27,7 +28,8 @@
27
28
  "content": {
28
29
  "application/json": {}
29
30
  }
30
- }
31
+ },
32
+ "responses": {}
31
33
  }
32
34
  },
33
35
  "/v1/blueprint-manifest/jobs/{job_id}:exportManifest": {
@@ -42,7 +44,8 @@
42
44
  "content": {
43
45
  "application/json": {}
44
46
  }
45
- }
47
+ },
48
+ "responses": {}
46
49
  }
47
50
  },
48
51
  "/v1/blueprint-manifest:uploadManifest": {
@@ -52,7 +55,8 @@
52
55
  "content": {
53
56
  "application/json": {}
54
57
  }
55
- }
58
+ },
59
+ "responses": {}
56
60
  }
57
61
  },
58
62
  "/v1/blueprint-manifest/jobs:createPlan": {
@@ -62,7 +66,8 @@
62
66
  "content": {
63
67
  "application/json": {}
64
68
  }
65
- }
69
+ },
70
+ "responses": {}
66
71
  }
67
72
  },
68
73
  "/v1/blueprint-manifest/jobs/{job_id}:applyPlan": {
@@ -77,7 +82,38 @@
77
82
  "content": {
78
83
  "application/json": {}
79
84
  }
80
- }
85
+ },
86
+ "responses": {}
87
+ }
88
+ },
89
+ "/v1/blueprint-manifest/manifests": {
90
+ "get": {
91
+ "operationId": "listInstalledManifests",
92
+ "responses": {}
93
+ }
94
+ },
95
+ "/v1/blueprint-manifest/manifests/{manifest_id}": {
96
+ "get": {
97
+ "operationId": "getManifest",
98
+ "parameters": [
99
+ {
100
+ "in": "path",
101
+ "required": true,
102
+ "name": "manifest_id"
103
+ }
104
+ ],
105
+ "responses": {}
106
+ },
107
+ "delete": {
108
+ "operationId": "deleteManifest",
109
+ "parameters": [
110
+ {
111
+ "in": "path",
112
+ "required": true,
113
+ "name": "manifest_id"
114
+ }
115
+ ],
116
+ "responses": {}
81
117
  }
82
118
  }
83
119
  },