@epilot/blueprint-manifest-client 4.3.3 → 4.3.5

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={330: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","deprecated":true,"parameters":[{"$ref":"#/components/parameters/JobID"}],"responses":{}}},"/v1/blueprint-manifest/jobs:createExport":{"post":{"operationId":"createExport","deprecated":true,"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs/{job_id}:exportManifest":{"post":{"operationId":"exportManifest","deprecated":true,"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","deprecated":true,"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs/{job_id}:applyPlan":{"post":{"operationId":"applyPlan","deprecated":true,"parameters":[{"$ref":"#/components/parameters/JobID"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/manifests":{"get":{"operationId":"listInstalledManifests","deprecated":true,"responses":{}}},"/v1/blueprint-manifest/manifests/{manifest_id}":{"get":{"operationId":"getManifest","deprecated":true,"parameters":[{"in":"path","required":true,"name":"manifest_id"}],"responses":{}},"put":{"operationId":"updateManifest","deprecated":true,"parameters":[{"in":"path","required":true,"name":"manifest_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteManifest","deprecated":true,"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:marketplace":{"get":{"operationId":"listInstalledMarketplaceBlueprints","responses":{}}},"/v2/blueprint-manifest/blueprints:pre-install":{"post":{"operationId":"preInstallBlueprint","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprints:preview/{preview_id}":{"get":{"operationId":"getBlueprintPreview","parameters":[{"in":"path","required":true,"name":"preview_id"}],"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}(330),n=exports;for(var s in r)n[s]=r[s];r.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
1
+ (()=>{"use strict";var e={330: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","deprecated":true,"parameters":[{"$ref":"#/components/parameters/JobID"}],"responses":{}}},"/v1/blueprint-manifest/jobs:createExport":{"post":{"operationId":"createExport","deprecated":true,"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs/{job_id}:exportManifest":{"post":{"operationId":"exportManifest","deprecated":true,"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","deprecated":true,"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/jobs/{job_id}:applyPlan":{"post":{"operationId":"applyPlan","deprecated":true,"parameters":[{"$ref":"#/components/parameters/JobID"}],"requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v1/blueprint-manifest/manifests":{"get":{"operationId":"listInstalledManifests","deprecated":true,"responses":{}}},"/v1/blueprint-manifest/manifests/{manifest_id}":{"get":{"operationId":"getManifest","deprecated":true,"parameters":[{"in":"path","required":true,"name":"manifest_id"}],"responses":{}},"put":{"operationId":"updateManifest","deprecated":true,"parameters":[{"in":"path","required":true,"name":"manifest_id"}],"requestBody":{"content":{"application/json":{}}},"responses":{}},"delete":{"operationId":"deleteManifest","deprecated":true,"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:marketplace":{"get":{"operationId":"listInstalledMarketplaceBlueprints","responses":{}}},"/v2/blueprint-manifest/blueprints:pre-install":{"post":{"operationId":"preInstallBlueprint","requestBody":{"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprints:preview/{preview_id}":{"get":{"operationId":"getBlueprintPreview","parameters":[{"in":"path","required":true,"name":"preview_id"}],"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}/validate":{"post":{"operationId":"validateBlueprint","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 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}(330),n=exports;for(var i in r)n[i]=r[i];r.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
@@ -238,6 +238,19 @@
238
238
  "responses": {}
239
239
  }
240
240
  },
241
+ "/v2/blueprint-manifest/blueprints/{blueprint_id}/validate": {
242
+ "post": {
243
+ "operationId": "validateBlueprint",
244
+ "parameters": [
245
+ {
246
+ "in": "path",
247
+ "required": true,
248
+ "name": "blueprint_id"
249
+ }
250
+ ],
251
+ "responses": {}
252
+ }
253
+ },
241
254
  "/v2/blueprint-manifest/blueprints/{blueprint_id}:export": {
242
255
  "post": {
243
256
  "operationId": "exportBlueprint",
package/dist/openapi.d.ts CHANGED
@@ -161,7 +161,7 @@ declare namespace Components {
161
161
  */
162
162
  resources_to_ignore?: string[];
163
163
  }
164
- export type BlueprintJob = BlueprintExportJob | BlueprintInstallationJob | BlueprintDependenciesSyncJob;
164
+ export type BlueprintJob = BlueprintExportJob | BlueprintInstallationJob | BlueprintDependenciesSyncJob | BlueprintValidateJob;
165
165
  export interface BlueprintJobEvent {
166
166
  timestamp?: string; // date-time
167
167
  message?: string;
@@ -275,6 +275,32 @@ declare namespace Components {
275
275
  * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
276
276
  */
277
277
  export type BlueprintResourceID = string;
278
+ export interface BlueprintValidateJob {
279
+ id?: /**
280
+ * ID of a job
281
+ * example:
282
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
283
+ */
284
+ BlueprintJobID;
285
+ events?: BlueprintJobEvent[];
286
+ triggered_at?: string; // date-time
287
+ created_by?: CallerIdentity;
288
+ blueprint_id?: /**
289
+ * ID of a blueprint
290
+ * example:
291
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
292
+ */
293
+ BlueprintID;
294
+ status?: "IN_PROGRESS" | "SUCCESS" | "FAILED";
295
+ /**
296
+ * Present when status is SUCCESS or FAILED.
297
+ */
298
+ valid?: boolean;
299
+ /**
300
+ * Present when valid is false.
301
+ */
302
+ errors?: FormattedError[];
303
+ }
278
304
  export interface CallerIdentity {
279
305
  /**
280
306
  * a human readable name of the caller (e.g. user name, token name or email address)
@@ -728,7 +754,7 @@ declare namespace Components {
728
754
  resources?: string[];
729
755
  };
730
756
  }
731
- export type FormattedErrorCodes = "dependency_extraction" | "resource_not_found" | "resource_fetch_api_error" | "resource_fetch_unknown_error" | "terraform_cli_process_error" | "terraform_import_block_process_error" | "terraform_init_error" | "terraform_plan_error" | "terraform_apply_error" | "terraform_show_error" | "generic_error" | "bad_request" | "forbidden" | "conflict" | "not_found" | "undeclared_resource" | "invalid_readonly_attribute" | "invalid_attribute_value" | "unsupported_attribute" | "self_referential_block" | "circular_dependency" | "state_mismatch" | "import_nonexistent_object";
757
+ export type FormattedErrorCodes = "dependency_extraction" | "resource_not_found" | "resource_fetch_api_error" | "resource_fetch_unknown_error" | "terraform_cli_process_error" | "terraform_import_block_process_error" | "terraform_init_error" | "terraform_validate_error" | "terraform_plan_error" | "terraform_apply_error" | "terraform_show_error" | "generic_error" | "bad_request" | "forbidden" | "conflict" | "not_found" | "undeclared_resource" | "invalid_readonly_attribute" | "invalid_attribute_value" | "unsupported_attribute" | "self_referential_block" | "circular_dependency" | "state_mismatch" | "import_nonexistent_object" | "provider_install_error" | "stale_blueprint";
732
758
  export interface FormattedErrorData {
733
759
  id?: string;
734
760
  name?: string;
@@ -2262,6 +2288,31 @@ declare namespace Paths {
2262
2288
  }
2263
2289
  }
2264
2290
  }
2291
+ namespace ValidateBlueprint {
2292
+ namespace Parameters {
2293
+ export type BlueprintId = /**
2294
+ * ID of a blueprint
2295
+ * example:
2296
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
2297
+ */
2298
+ Components.Schemas.BlueprintID;
2299
+ }
2300
+ export interface PathParameters {
2301
+ blueprint_id: Parameters.BlueprintId;
2302
+ }
2303
+ namespace Responses {
2304
+ export interface $202 {
2305
+ job_id?: /**
2306
+ * ID of a job
2307
+ * example:
2308
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
2309
+ */
2310
+ Components.Schemas.BlueprintJobID;
2311
+ }
2312
+ export interface $404 {
2313
+ }
2314
+ }
2315
+ }
2265
2316
  }
2266
2317
 
2267
2318
 
@@ -2470,6 +2521,18 @@ export interface OperationMethods {
2470
2521
  data?: any,
2471
2522
  config?: AxiosRequestConfig
2472
2523
  ): OperationResponse<Paths.DeleteBlueprint.Responses.$200>
2524
+ /**
2525
+ * validateBlueprint - validateBlueprint
2526
+ *
2527
+ * Start a blueprint validation job. Validates Terraform for the blueprint (all types).
2528
+ * Returns 202 Accepted with job_id. Poll GET /jobs/{job_id} for status, valid, and errors.
2529
+ *
2530
+ */
2531
+ 'validateBlueprint'(
2532
+ parameters?: Parameters<Paths.ValidateBlueprint.PathParameters> | null,
2533
+ data?: any,
2534
+ config?: AxiosRequestConfig
2535
+ ): OperationResponse<Paths.ValidateBlueprint.Responses.$202>
2473
2536
  /**
2474
2537
  * exportBlueprint - exportBlueprint
2475
2538
  *
@@ -2826,6 +2889,20 @@ export interface PathsDictionary {
2826
2889
  config?: AxiosRequestConfig
2827
2890
  ): OperationResponse<Paths.DeleteBlueprint.Responses.$200>
2828
2891
  }
2892
+ ['/v2/blueprint-manifest/blueprints/{blueprint_id}/validate']: {
2893
+ /**
2894
+ * validateBlueprint - validateBlueprint
2895
+ *
2896
+ * Start a blueprint validation job. Validates Terraform for the blueprint (all types).
2897
+ * Returns 202 Accepted with job_id. Poll GET /jobs/{job_id} for status, valid, and errors.
2898
+ *
2899
+ */
2900
+ 'post'(
2901
+ parameters?: Parameters<Paths.ValidateBlueprint.PathParameters> | null,
2902
+ data?: any,
2903
+ config?: AxiosRequestConfig
2904
+ ): OperationResponse<Paths.ValidateBlueprint.Responses.$202>
2905
+ }
2829
2906
  ['/v2/blueprint-manifest/blueprints/{blueprint_id}:export']: {
2830
2907
  /**
2831
2908
  * exportBlueprint - exportBlueprint
@@ -2984,6 +3061,7 @@ export type BlueprintJobID = Components.Schemas.BlueprintJobID;
2984
3061
  export type BlueprintPreview = Components.Schemas.BlueprintPreview;
2985
3062
  export type BlueprintResource = Components.Schemas.BlueprintResource;
2986
3063
  export type BlueprintResourceID = Components.Schemas.BlueprintResourceID;
3064
+ export type BlueprintValidateJob = Components.Schemas.BlueprintValidateJob;
2987
3065
  export type CallerIdentity = Components.Schemas.CallerIdentity;
2988
3066
  export type CommonBlueprintFields = Components.Schemas.CommonBlueprintFields;
2989
3067
  export type CommonBlueprintJobFields = Components.Schemas.CommonBlueprintJobFields;
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.4.1",
5
+ "version": "4.3.5",
6
6
  "description": "Service to create and install Blueprint Manifest files"
7
7
  },
8
8
  "tags": [
@@ -1064,6 +1064,54 @@
1064
1064
  }
1065
1065
  }
1066
1066
  },
1067
+ "/v2/blueprint-manifest/blueprints/{blueprint_id}/validate": {
1068
+ "post": {
1069
+ "operationId": "validateBlueprint",
1070
+ "summary": "validateBlueprint",
1071
+ "description": "Start a blueprint validation job. Validates Terraform for the blueprint (all types).\nReturns 202 Accepted with job_id. Poll GET /jobs/{job_id} for status, valid, and errors.\n",
1072
+ "tags": [
1073
+ "Blueprints"
1074
+ ],
1075
+ "parameters": [
1076
+ {
1077
+ "in": "path",
1078
+ "required": true,
1079
+ "name": "blueprint_id",
1080
+ "schema": {
1081
+ "$ref": "#/components/schemas/BlueprintID"
1082
+ }
1083
+ }
1084
+ ],
1085
+ "responses": {
1086
+ "202": {
1087
+ "description": "Validation job started",
1088
+ "headers": {
1089
+ "Location": {
1090
+ "description": "URL to poll the job",
1091
+ "schema": {
1092
+ "type": "string"
1093
+ }
1094
+ }
1095
+ },
1096
+ "content": {
1097
+ "application/json": {
1098
+ "schema": {
1099
+ "type": "object",
1100
+ "properties": {
1101
+ "job_id": {
1102
+ "$ref": "#/components/schemas/BlueprintJobID"
1103
+ }
1104
+ }
1105
+ }
1106
+ }
1107
+ }
1108
+ },
1109
+ "404": {
1110
+ "description": "Blueprint not found"
1111
+ }
1112
+ }
1113
+ }
1114
+ },
1067
1115
  "/v2/blueprint-manifest/blueprints/{blueprint_id}:export": {
1068
1116
  "post": {
1069
1117
  "operationId": "exportBlueprint",
@@ -2239,6 +2287,9 @@
2239
2287
  },
2240
2288
  {
2241
2289
  "$ref": "#/components/schemas/BlueprintDependenciesSyncJob"
2290
+ },
2291
+ {
2292
+ "$ref": "#/components/schemas/BlueprintValidateJob"
2242
2293
  }
2243
2294
  ]
2244
2295
  },
@@ -2266,6 +2317,40 @@
2266
2317
  }
2267
2318
  ]
2268
2319
  },
2320
+ "BlueprintValidateJob": {
2321
+ "allOf": [
2322
+ {
2323
+ "$ref": "#/components/schemas/CommonBlueprintJobFields"
2324
+ },
2325
+ {
2326
+ "type": "object",
2327
+ "properties": {
2328
+ "blueprint_id": {
2329
+ "$ref": "#/components/schemas/BlueprintID"
2330
+ },
2331
+ "status": {
2332
+ "type": "string",
2333
+ "enum": [
2334
+ "IN_PROGRESS",
2335
+ "SUCCESS",
2336
+ "FAILED"
2337
+ ]
2338
+ },
2339
+ "valid": {
2340
+ "type": "boolean",
2341
+ "description": "Present when status is SUCCESS or FAILED."
2342
+ },
2343
+ "errors": {
2344
+ "type": "array",
2345
+ "items": {
2346
+ "$ref": "#/components/schemas/FormattedError"
2347
+ },
2348
+ "description": "Present when valid is false."
2349
+ }
2350
+ }
2351
+ }
2352
+ ]
2353
+ },
2269
2354
  "BlueprintJobEvent": {
2270
2355
  "type": "object",
2271
2356
  "properties": {
@@ -2937,6 +3022,7 @@
2937
3022
  "terraform_cli_process_error",
2938
3023
  "terraform_import_block_process_error",
2939
3024
  "terraform_init_error",
3025
+ "terraform_validate_error",
2940
3026
  "terraform_plan_error",
2941
3027
  "terraform_apply_error",
2942
3028
  "terraform_show_error",
@@ -2952,7 +3038,9 @@
2952
3038
  "self_referential_block",
2953
3039
  "circular_dependency",
2954
3040
  "state_mismatch",
2955
- "import_nonexistent_object"
3041
+ "import_nonexistent_object",
3042
+ "provider_install_error",
3043
+ "stale_blueprint"
2956
3044
  ]
2957
3045
  },
2958
3046
  "FormattedErrorData": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "4.3.3",
3
+ "version": "4.3.5",
4
4
  "description": "Client for epilot Terraform Blueprint Manifest API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -70,7 +70,7 @@
70
70
  "ts-node": "^10.9.1",
71
71
  "typescript": "^4.1.3",
72
72
  "webpack": "^5.18.0",
73
- "webpack-cli": "^4.4.0"
73
+ "webpack-cli": "^4.10.0"
74
74
  },
75
75
  "gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
76
76
  }