@epilot/blueprint-manifest-client 3.2.0 → 3.2.1-beta

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.
@@ -1 +1 @@
1
- (()=>{"use strict";var e={390: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},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/blueprints:pre-install":{"post":{"operationId":"preInstallBlueprint","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}(390),n=exports;for(var s in r)n[s]=r[s];r.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
1
+ (()=>{"use strict";var e={390: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 i=n(r(466));t.default=i.default},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/blueprints:pre-install":{"post":{"operationId":"preInstallBlueprint","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprint/{blueprint_id}/diff":{"get":{"operationId":"getBlueprintDiff","parameters":[{"in":"path","required":true,"name":"blueprint_id"}]},"responses":{"200":{"description":"The diff for the given blueprint","content":{"application/json":{}}}}},"/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}:create-plan":{"post":{"operationId":"createBlueprintPlan","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}}}}')}},t={},r=function r(n){var i=t[n];if(void 0!==i)return i.exports;var s=t[n]={exports:{}};return e[n].call(s.exports,s,s.exports,r),s.exports}(390),n=exports;for(var i in r)n[i]=r[i];r.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
@@ -158,6 +158,26 @@
158
158
  "responses": {}
159
159
  }
160
160
  },
161
+ "/v2/blueprint-manifest/blueprint/{blueprint_id}/diff": {
162
+ "get": {
163
+ "operationId": "getBlueprintDiff",
164
+ "parameters": [
165
+ {
166
+ "in": "path",
167
+ "required": true,
168
+ "name": "blueprint_id"
169
+ }
170
+ ]
171
+ },
172
+ "responses": {
173
+ "200": {
174
+ "description": "The diff for the given blueprint",
175
+ "content": {
176
+ "application/json": {}
177
+ }
178
+ }
179
+ }
180
+ },
161
181
  "/v2/blueprint-manifest/blueprint:install": {
162
182
  "post": {
163
183
  "operationId": "installBlueprint",
@@ -229,6 +249,19 @@
229
249
  "responses": {}
230
250
  }
231
251
  },
252
+ "/v2/blueprint-manifest/blueprints/{blueprint_id}:create-plan": {
253
+ "post": {
254
+ "operationId": "createBlueprintPlan",
255
+ "parameters": [
256
+ {
257
+ "in": "path",
258
+ "required": true,
259
+ "name": "blueprint_id"
260
+ }
261
+ ],
262
+ "responses": {}
263
+ }
264
+ },
232
265
  "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources": {
233
266
  "post": {
234
267
  "operationId": "addBlueprintResource",
package/dist/openapi.d.ts CHANGED
@@ -544,6 +544,14 @@ declare namespace Components {
544
544
  source_type: "deploy";
545
545
  resources?: BlueprintResource[];
546
546
  }
547
+ export interface DiffRow {
548
+ type: "added" | "removed" | "changed" | "no-op";
549
+ key: string;
550
+ before: string | null;
551
+ after: string | null;
552
+ resource: string;
553
+ }
554
+ export type DiffRowArray = DiffRow[];
547
555
  export interface FileBlueprint {
548
556
  id?: /**
549
557
  * ID of a blueprint
@@ -1506,6 +1514,29 @@ declare namespace Paths {
1506
1514
  export type $200 = Components.Schemas.Blueprint;
1507
1515
  }
1508
1516
  }
1517
+ namespace CreateBlueprintPlan {
1518
+ namespace Parameters {
1519
+ export type BlueprintId = /**
1520
+ * ID of a blueprint
1521
+ * example:
1522
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
1523
+ */
1524
+ Components.Schemas.BlueprintID;
1525
+ }
1526
+ export interface PathParameters {
1527
+ blueprint_id: Parameters.BlueprintId;
1528
+ }
1529
+ namespace Responses {
1530
+ export interface $202 {
1531
+ job_id?: /**
1532
+ * ID of a job
1533
+ * example:
1534
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
1535
+ */
1536
+ Components.Schemas.BlueprintJobID;
1537
+ }
1538
+ }
1539
+ }
1509
1540
  namespace CreateExport {
1510
1541
  export interface RequestBody {
1511
1542
  resources: [
@@ -1790,6 +1821,19 @@ declare namespace Paths {
1790
1821
  export type $200 = Components.Schemas.Blueprint;
1791
1822
  }
1792
1823
  }
1824
+ namespace GetBlueprintDiff {
1825
+ namespace Parameters {
1826
+ export type BlueprintId = /**
1827
+ * ID of a blueprint
1828
+ * example:
1829
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
1830
+ */
1831
+ Components.Schemas.BlueprintID;
1832
+ }
1833
+ export interface PathParameters {
1834
+ blueprint_id: Parameters.BlueprintId;
1835
+ }
1836
+ }
1793
1837
  namespace GetBlueprintJob {
1794
1838
  namespace Parameters {
1795
1839
  export type JobId = /**
@@ -2166,6 +2210,17 @@ export interface OperationMethods {
2166
2210
  data?: Paths.PreInstallBlueprint.RequestBody,
2167
2211
  config?: AxiosRequestConfig
2168
2212
  ): OperationResponse<Paths.PreInstallBlueprint.Responses.$200>
2213
+ /**
2214
+ * getBlueprintDiff - getBlueprintDiff
2215
+ *
2216
+ * Makes the diff of a blueprint vs the current state of its resources
2217
+ *
2218
+ */
2219
+ 'getBlueprintDiff'(
2220
+ parameters?: Parameters<Paths.GetBlueprintDiff.PathParameters> | null,
2221
+ data?: any,
2222
+ config?: AxiosRequestConfig
2223
+ ): OperationResponse<any>
2169
2224
  /**
2170
2225
  * installBlueprint - installBlueprint
2171
2226
  *
@@ -2218,6 +2273,17 @@ export interface OperationMethods {
2218
2273
  data?: Paths.ExportBlueprint.RequestBody,
2219
2274
  config?: AxiosRequestConfig
2220
2275
  ): OperationResponse<Paths.ExportBlueprint.Responses.$202>
2276
+ /**
2277
+ * createBlueprintPlan - createBlueprintPlan
2278
+ *
2279
+ * Kick off a new blueprint plan creation job. Returns 202 Accepted with Location header pointing to the job resource.
2280
+ *
2281
+ */
2282
+ 'createBlueprintPlan'(
2283
+ parameters?: Parameters<Paths.CreateBlueprintPlan.PathParameters> | null,
2284
+ data?: any,
2285
+ config?: AxiosRequestConfig
2286
+ ): OperationResponse<Paths.CreateBlueprintPlan.Responses.$202>
2221
2287
  /**
2222
2288
  * addBlueprintResource - addBlueprintResource
2223
2289
  *
@@ -2492,6 +2558,19 @@ export interface PathsDictionary {
2492
2558
  config?: AxiosRequestConfig
2493
2559
  ): OperationResponse<Paths.PreInstallBlueprint.Responses.$200>
2494
2560
  }
2561
+ ['/v2/blueprint-manifest/blueprint/{blueprint_id}/diff']: {
2562
+ /**
2563
+ * getBlueprintDiff - getBlueprintDiff
2564
+ *
2565
+ * Makes the diff of a blueprint vs the current state of its resources
2566
+ *
2567
+ */
2568
+ 'get'(
2569
+ parameters?: Parameters<Paths.GetBlueprintDiff.PathParameters> | null,
2570
+ data?: any,
2571
+ config?: AxiosRequestConfig
2572
+ ): OperationResponse<any>
2573
+ }
2495
2574
  ['/v2/blueprint-manifest/blueprint:install']: {
2496
2575
  /**
2497
2576
  * installBlueprint - installBlueprint
@@ -2550,6 +2629,19 @@ export interface PathsDictionary {
2550
2629
  config?: AxiosRequestConfig
2551
2630
  ): OperationResponse<Paths.ExportBlueprint.Responses.$202>
2552
2631
  }
2632
+ ['/v2/blueprint-manifest/blueprints/{blueprint_id}:create-plan']: {
2633
+ /**
2634
+ * createBlueprintPlan - createBlueprintPlan
2635
+ *
2636
+ * Kick off a new blueprint plan creation job. Returns 202 Accepted with Location header pointing to the job resource.
2637
+ *
2638
+ */
2639
+ 'post'(
2640
+ parameters?: Parameters<Paths.CreateBlueprintPlan.PathParameters> | null,
2641
+ data?: any,
2642
+ config?: AxiosRequestConfig
2643
+ ): OperationResponse<Paths.CreateBlueprintPlan.Responses.$202>
2644
+ }
2553
2645
  ['/v2/blueprint-manifest/blueprints/{blueprint_id}/resources']: {
2554
2646
  /**
2555
2647
  * addBlueprintResource - addBlueprintResource
@@ -2702,6 +2794,8 @@ export type CommonMarkdownFields = Components.Schemas.CommonMarkdownFields;
2702
2794
  export type CommonResourceNode = Components.Schemas.CommonResourceNode;
2703
2795
  export type CustomBlueprint = Components.Schemas.CustomBlueprint;
2704
2796
  export type DeployedBlueprint = Components.Schemas.DeployedBlueprint;
2797
+ export type DiffRow = Components.Schemas.DiffRow;
2798
+ export type DiffRowArray = Components.Schemas.DiffRowArray;
2705
2799
  export type FileBlueprint = Components.Schemas.FileBlueprint;
2706
2800
  export type FormattedError = Components.Schemas.FormattedError;
2707
2801
  export type FormattedErrorCodes = Components.Schemas.FormattedErrorCodes;
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": "3.2.0",
5
+ "version": "3.3.0",
6
6
  "description": "Service to create and install Blueprint Manifest files"
7
7
  },
8
8
  "tags": [
@@ -794,6 +794,46 @@
794
794
  }
795
795
  }
796
796
  },
797
+ "/v2/blueprint-manifest/blueprint/{blueprint_id}/diff": {
798
+ "get": {
799
+ "operationId": "getBlueprintDiff",
800
+ "summary": "getBlueprintDiff",
801
+ "description": "Makes the diff of a blueprint vs the current state of its resources\n",
802
+ "tags": [
803
+ "Blueprints"
804
+ ],
805
+ "parameters": [
806
+ {
807
+ "in": "path",
808
+ "required": true,
809
+ "name": "blueprint_id",
810
+ "schema": {
811
+ "$ref": "#/components/schemas/BlueprintID"
812
+ }
813
+ }
814
+ ]
815
+ },
816
+ "responses": {
817
+ "200": {
818
+ "description": "The diff for the given blueprint",
819
+ "content": {
820
+ "application/json": {
821
+ "schema": {
822
+ "type": "object",
823
+ "properties": {
824
+ "diffRows": {
825
+ "$ref": "#/components/schemas/DiffRowArray"
826
+ }
827
+ },
828
+ "required": [
829
+ "diffRows"
830
+ ]
831
+ }
832
+ }
833
+ }
834
+ }
835
+ }
836
+ },
797
837
  "/v2/blueprint-manifest/blueprint:install": {
798
838
  "post": {
799
839
  "operationId": "installBlueprint",
@@ -1044,6 +1084,51 @@
1044
1084
  }
1045
1085
  }
1046
1086
  },
1087
+ "/v2/blueprint-manifest/blueprints/{blueprint_id}:create-plan": {
1088
+ "post": {
1089
+ "operationId": "createBlueprintPlan",
1090
+ "summary": "createBlueprintPlan",
1091
+ "description": "Kick off a new blueprint plan creation job. Returns 202 Accepted with Location header pointing to the job resource.\n",
1092
+ "tags": [
1093
+ "Blueprints"
1094
+ ],
1095
+ "parameters": [
1096
+ {
1097
+ "in": "path",
1098
+ "required": true,
1099
+ "name": "blueprint_id",
1100
+ "schema": {
1101
+ "$ref": "#/components/schemas/BlueprintID"
1102
+ }
1103
+ }
1104
+ ],
1105
+ "responses": {
1106
+ "202": {
1107
+ "description": "Blueprint export plan job started",
1108
+ "headers": {
1109
+ "Location": {
1110
+ "description": "URL to poll the job",
1111
+ "schema": {
1112
+ "type": "string"
1113
+ }
1114
+ }
1115
+ },
1116
+ "content": {
1117
+ "application/json": {
1118
+ "schema": {
1119
+ "type": "object",
1120
+ "properties": {
1121
+ "job_id": {
1122
+ "$ref": "#/components/schemas/BlueprintJobID"
1123
+ }
1124
+ }
1125
+ }
1126
+ }
1127
+ }
1128
+ }
1129
+ }
1130
+ }
1131
+ },
1047
1132
  "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources": {
1048
1133
  "post": {
1049
1134
  "operationId": "addBlueprintResource",
@@ -1549,6 +1634,59 @@
1549
1634
  },
1550
1635
  "components": {
1551
1636
  "schemas": {
1637
+ "DiffRow": {
1638
+ "type": "object",
1639
+ "required": [
1640
+ "type",
1641
+ "key",
1642
+ "before",
1643
+ "after",
1644
+ "resource"
1645
+ ],
1646
+ "properties": {
1647
+ "type": {
1648
+ "type": "string",
1649
+ "enum": [
1650
+ "added",
1651
+ "removed",
1652
+ "changed",
1653
+ "no-op"
1654
+ ]
1655
+ },
1656
+ "key": {
1657
+ "type": "string"
1658
+ },
1659
+ "before": {
1660
+ "oneOf": [
1661
+ {
1662
+ "type": "string"
1663
+ },
1664
+ {
1665
+ "type": "null"
1666
+ }
1667
+ ]
1668
+ },
1669
+ "after": {
1670
+ "oneOf": [
1671
+ {
1672
+ "type": "string"
1673
+ },
1674
+ {
1675
+ "type": "null"
1676
+ }
1677
+ ]
1678
+ },
1679
+ "resource": {
1680
+ "type": "string"
1681
+ }
1682
+ }
1683
+ },
1684
+ "DiffRowArray": {
1685
+ "type": "array",
1686
+ "items": {
1687
+ "$ref": "#/components/schemas/DiffRow"
1688
+ }
1689
+ },
1552
1690
  "BlueprintID": {
1553
1691
  "type": "string",
1554
1692
  "description": "ID of a blueprint",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "3.2.0",
3
+ "version": "3.2.1-beta",
4
4
  "description": "Client for epilot Terraform Blueprint Manifest API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",