@epilot/blueprint-manifest-client 3.2.1-beta → 3.2.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.
@@ -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 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})})();
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/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}(914),n=exports;for(var s in r)n[s]=r[s];r.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
@@ -158,26 +158,6 @@
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
- },
181
161
  "/v2/blueprint-manifest/blueprint:install": {
182
162
  "post": {
183
163
  "operationId": "installBlueprint",
@@ -249,19 +229,6 @@
249
229
  "responses": {}
250
230
  }
251
231
  },
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
- },
265
232
  "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources": {
266
233
  "post": {
267
234
  "operationId": "addBlueprintResource",
package/dist/openapi.d.ts CHANGED
@@ -544,14 +544,6 @@ 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[];
555
547
  export interface FileBlueprint {
556
548
  id?: /**
557
549
  * ID of a blueprint
@@ -1243,7 +1235,7 @@ declare namespace Components {
1243
1235
  /**
1244
1236
  * Type of the resource
1245
1237
  */
1246
- export type ResourceNodeType = "designbuilder" | "journey" | "product" | "price" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "dashboard" | "custom_variable" | "coupon" | "usergroup" | "saved_view" | "app" | "role" | "portal_config";
1238
+ export type ResourceNodeType = "designbuilder" | "journey" | "product" | "price" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "dashboard" | "custom_variable" | "coupon" | "product_recommendation" | "usergroup" | "saved_view" | "app" | "role" | "portal_config";
1247
1239
  export interface ResourceReplacement {
1248
1240
  /**
1249
1241
  * Original resource ID to be replaced
@@ -1514,29 +1506,6 @@ declare namespace Paths {
1514
1506
  export type $200 = Components.Schemas.Blueprint;
1515
1507
  }
1516
1508
  }
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
- }
1540
1509
  namespace CreateExport {
1541
1510
  export interface RequestBody {
1542
1511
  resources: [
@@ -1821,19 +1790,6 @@ declare namespace Paths {
1821
1790
  export type $200 = Components.Schemas.Blueprint;
1822
1791
  }
1823
1792
  }
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
- }
1837
1793
  namespace GetBlueprintJob {
1838
1794
  namespace Parameters {
1839
1795
  export type JobId = /**
@@ -2067,7 +2023,6 @@ declare namespace Paths {
2067
2023
  }
2068
2024
  }
2069
2025
 
2070
-
2071
2026
  export interface OperationMethods {
2072
2027
  /**
2073
2028
  * getJob - getJob
@@ -2210,17 +2165,6 @@ export interface OperationMethods {
2210
2165
  data?: Paths.PreInstallBlueprint.RequestBody,
2211
2166
  config?: AxiosRequestConfig
2212
2167
  ): 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>
2224
2168
  /**
2225
2169
  * installBlueprint - installBlueprint
2226
2170
  *
@@ -2273,17 +2217,6 @@ export interface OperationMethods {
2273
2217
  data?: Paths.ExportBlueprint.RequestBody,
2274
2218
  config?: AxiosRequestConfig
2275
2219
  ): 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>
2287
2220
  /**
2288
2221
  * addBlueprintResource - addBlueprintResource
2289
2222
  *
@@ -2558,19 +2491,6 @@ export interface PathsDictionary {
2558
2491
  config?: AxiosRequestConfig
2559
2492
  ): OperationResponse<Paths.PreInstallBlueprint.Responses.$200>
2560
2493
  }
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
- }
2574
2494
  ['/v2/blueprint-manifest/blueprint:install']: {
2575
2495
  /**
2576
2496
  * installBlueprint - installBlueprint
@@ -2629,19 +2549,6 @@ export interface PathsDictionary {
2629
2549
  config?: AxiosRequestConfig
2630
2550
  ): OperationResponse<Paths.ExportBlueprint.Responses.$202>
2631
2551
  }
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
- }
2645
2552
  ['/v2/blueprint-manifest/blueprints/{blueprint_id}/resources']: {
2646
2553
  /**
2647
2554
  * addBlueprintResource - addBlueprintResource
@@ -2772,7 +2679,6 @@ export interface PathsDictionary {
2772
2679
 
2773
2680
  export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
2774
2681
 
2775
-
2776
2682
  export type AppBlueprint = Components.Schemas.AppBlueprint;
2777
2683
  export type Blueprint = Components.Schemas.Blueprint;
2778
2684
  export type BlueprintExportJob = Components.Schemas.BlueprintExportJob;
@@ -2794,8 +2700,6 @@ export type CommonMarkdownFields = Components.Schemas.CommonMarkdownFields;
2794
2700
  export type CommonResourceNode = Components.Schemas.CommonResourceNode;
2795
2701
  export type CustomBlueprint = Components.Schemas.CustomBlueprint;
2796
2702
  export type DeployedBlueprint = Components.Schemas.DeployedBlueprint;
2797
- export type DiffRow = Components.Schemas.DiffRow;
2798
- export type DiffRowArray = Components.Schemas.DiffRowArray;
2799
2703
  export type FileBlueprint = Components.Schemas.FileBlueprint;
2800
2704
  export type FormattedError = Components.Schemas.FormattedError;
2801
2705
  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.3.0",
5
+ "version": "3.2.1",
6
6
  "description": "Service to create and install Blueprint Manifest files"
7
7
  },
8
8
  "tags": [
@@ -794,46 +794,6 @@
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
- },
837
797
  "/v2/blueprint-manifest/blueprint:install": {
838
798
  "post": {
839
799
  "operationId": "installBlueprint",
@@ -1084,51 +1044,6 @@
1084
1044
  }
1085
1045
  }
1086
1046
  },
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
- },
1132
1047
  "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources": {
1133
1048
  "post": {
1134
1049
  "operationId": "addBlueprintResource",
@@ -1634,59 +1549,6 @@
1634
1549
  },
1635
1550
  "components": {
1636
1551
  "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
- },
1690
1552
  "BlueprintID": {
1691
1553
  "type": "string",
1692
1554
  "description": "ID of a blueprint",
@@ -2263,6 +2125,7 @@
2263
2125
  "dashboard",
2264
2126
  "custom_variable",
2265
2127
  "coupon",
2128
+ "product_recommendation",
2266
2129
  "usergroup",
2267
2130
  "saved_view",
2268
2131
  "app",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "3.2.1-beta",
3
+ "version": "3.2.1",
4
4
  "description": "Client for epilot Terraform Blueprint Manifest API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",