@epilot/blueprint-manifest-client 4.3.4 → 4.4.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.
@@ -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 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})})();
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","parameters":[{"name":"archived","in":"query","required":false}],"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}:format-description":{"post":{"operationId":"formatBlueprintDescription","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"requestBody":{"required":true,"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})})();
@@ -144,6 +144,13 @@
144
144
  "/v2/blueprint-manifest/blueprints": {
145
145
  "get": {
146
146
  "operationId": "listBlueprints",
147
+ "parameters": [
148
+ {
149
+ "name": "archived",
150
+ "in": "query",
151
+ "required": false
152
+ }
153
+ ],
147
154
  "responses": {}
148
155
  },
149
156
  "post": {
@@ -270,6 +277,25 @@
270
277
  "responses": {}
271
278
  }
272
279
  },
280
+ "/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description": {
281
+ "post": {
282
+ "operationId": "formatBlueprintDescription",
283
+ "parameters": [
284
+ {
285
+ "in": "path",
286
+ "required": true,
287
+ "name": "blueprint_id"
288
+ }
289
+ ],
290
+ "requestBody": {
291
+ "required": true,
292
+ "content": {
293
+ "application/json": {}
294
+ }
295
+ },
296
+ "responses": {}
297
+ }
298
+ },
273
299
  "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources": {
274
300
  "post": {
275
301
  "operationId": "addBlueprintResource",
package/dist/openapi.d.ts CHANGED
@@ -75,6 +75,35 @@ declare namespace Components {
75
75
  * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
76
76
  */
77
77
  BlueprintID;
78
+ /**
79
+ * Whether the blueprint is archived (soft-deleted). Archived blueprints are hidden from the main list.
80
+ */
81
+ archived?: boolean;
82
+ /**
83
+ * URL to the blueprint documentation
84
+ */
85
+ docs_url?: string;
86
+ /**
87
+ * List of compatible app IDs for the blueprint
88
+ */
89
+ compatible_apps?: string[];
90
+ /**
91
+ * Feature constraints for blueprint installation
92
+ */
93
+ required_features?: {
94
+ /**
95
+ * Features that must be enabled in the target org
96
+ */
97
+ enabled?: string[];
98
+ /**
99
+ * Features that must be disabled in the target org
100
+ */
101
+ disabled?: string[];
102
+ };
103
+ /**
104
+ * Custom name for the exported zip file
105
+ */
106
+ zip_file_name?: string;
78
107
  source_type: "app";
79
108
  resources?: BlueprintResource[];
80
109
  }
@@ -384,6 +413,35 @@ declare namespace Components {
384
413
  * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
385
414
  */
386
415
  BlueprintID;
416
+ /**
417
+ * Whether the blueprint is archived (soft-deleted). Archived blueprints are hidden from the main list.
418
+ */
419
+ archived?: boolean;
420
+ /**
421
+ * URL to the blueprint documentation
422
+ */
423
+ docs_url?: string;
424
+ /**
425
+ * List of compatible app IDs for the blueprint
426
+ */
427
+ compatible_apps?: string[];
428
+ /**
429
+ * Feature constraints for blueprint installation
430
+ */
431
+ required_features?: {
432
+ /**
433
+ * Features that must be enabled in the target org
434
+ */
435
+ enabled?: string[];
436
+ /**
437
+ * Features that must be disabled in the target org
438
+ */
439
+ disabled?: string[];
440
+ };
441
+ /**
442
+ * Custom name for the exported zip file
443
+ */
444
+ zip_file_name?: string;
387
445
  }
388
446
  export interface CommonBlueprintJobFields {
389
447
  id?: /**
@@ -625,6 +683,35 @@ declare namespace Components {
625
683
  * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
626
684
  */
627
685
  BlueprintID;
686
+ /**
687
+ * Whether the blueprint is archived (soft-deleted). Archived blueprints are hidden from the main list.
688
+ */
689
+ archived?: boolean;
690
+ /**
691
+ * URL to the blueprint documentation
692
+ */
693
+ docs_url?: string;
694
+ /**
695
+ * List of compatible app IDs for the blueprint
696
+ */
697
+ compatible_apps?: string[];
698
+ /**
699
+ * Feature constraints for blueprint installation
700
+ */
701
+ required_features?: {
702
+ /**
703
+ * Features that must be enabled in the target org
704
+ */
705
+ enabled?: string[];
706
+ /**
707
+ * Features that must be disabled in the target org
708
+ */
709
+ disabled?: string[];
710
+ };
711
+ /**
712
+ * Custom name for the exported zip file
713
+ */
714
+ zip_file_name?: string;
628
715
  resources?: BlueprintResource[];
629
716
  source_type: "custom";
630
717
  }
@@ -682,6 +769,35 @@ declare namespace Components {
682
769
  * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
683
770
  */
684
771
  BlueprintID;
772
+ /**
773
+ * Whether the blueprint is archived (soft-deleted). Archived blueprints are hidden from the main list.
774
+ */
775
+ archived?: boolean;
776
+ /**
777
+ * URL to the blueprint documentation
778
+ */
779
+ docs_url?: string;
780
+ /**
781
+ * List of compatible app IDs for the blueprint
782
+ */
783
+ compatible_apps?: string[];
784
+ /**
785
+ * Feature constraints for blueprint installation
786
+ */
787
+ required_features?: {
788
+ /**
789
+ * Features that must be enabled in the target org
790
+ */
791
+ enabled?: string[];
792
+ /**
793
+ * Features that must be disabled in the target org
794
+ */
795
+ disabled?: string[];
796
+ };
797
+ /**
798
+ * Custom name for the exported zip file
799
+ */
800
+ zip_file_name?: string;
685
801
  source_type: "deploy";
686
802
  resources?: BlueprintResource[];
687
803
  }
@@ -739,6 +855,35 @@ declare namespace Components {
739
855
  * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
740
856
  */
741
857
  BlueprintID;
858
+ /**
859
+ * Whether the blueprint is archived (soft-deleted). Archived blueprints are hidden from the main list.
860
+ */
861
+ archived?: boolean;
862
+ /**
863
+ * URL to the blueprint documentation
864
+ */
865
+ docs_url?: string;
866
+ /**
867
+ * List of compatible app IDs for the blueprint
868
+ */
869
+ compatible_apps?: string[];
870
+ /**
871
+ * Feature constraints for blueprint installation
872
+ */
873
+ required_features?: {
874
+ /**
875
+ * Features that must be enabled in the target org
876
+ */
877
+ enabled?: string[];
878
+ /**
879
+ * Features that must be disabled in the target org
880
+ */
881
+ disabled?: string[];
882
+ };
883
+ /**
884
+ * Custom name for the exported zip file
885
+ */
886
+ zip_file_name?: string;
742
887
  source_type: "file";
743
888
  resources?: BlueprintResource[];
744
889
  }
@@ -752,9 +897,11 @@ declare namespace Components {
752
897
  resource?: string;
753
898
  resourceDependency?: string;
754
899
  resources?: string[];
900
+ addresses?: string[];
901
+ originalError?: string;
755
902
  };
756
903
  }
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";
904
+ 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";
758
905
  export interface FormattedErrorData {
759
906
  id?: string;
760
907
  name?: string;
@@ -1363,16 +1510,37 @@ declare namespace Components {
1363
1510
  * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
1364
1511
  */
1365
1512
  BlueprintID;
1513
+ /**
1514
+ * Whether the blueprint is archived (soft-deleted). Archived blueprints are hidden from the main list.
1515
+ */
1516
+ archived?: boolean;
1366
1517
  /**
1367
1518
  * URL to the blueprint documentation
1368
1519
  */
1369
1520
  docs_url?: string;
1370
- source_type: "marketplace";
1371
- resources?: BlueprintResource[];
1372
1521
  /**
1373
1522
  * List of compatible app IDs for the blueprint
1374
1523
  */
1375
1524
  compatible_apps?: string[];
1525
+ /**
1526
+ * Feature constraints for blueprint installation
1527
+ */
1528
+ required_features?: {
1529
+ /**
1530
+ * Features that must be enabled in the target org
1531
+ */
1532
+ enabled?: string[];
1533
+ /**
1534
+ * Features that must be disabled in the target org
1535
+ */
1536
+ disabled?: string[];
1537
+ };
1538
+ /**
1539
+ * Custom name for the exported zip file
1540
+ */
1541
+ zip_file_name?: string;
1542
+ source_type: "marketplace";
1543
+ resources?: BlueprintResource[];
1376
1544
  /**
1377
1545
  * Whether a newer version is available in the marketplace.
1378
1546
  */
@@ -2003,6 +2171,33 @@ declare namespace Paths {
2003
2171
  }
2004
2172
  }
2005
2173
  }
2174
+ namespace FormatBlueprintDescription {
2175
+ namespace Parameters {
2176
+ export type BlueprintId = /**
2177
+ * ID of a blueprint
2178
+ * example:
2179
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
2180
+ */
2181
+ Components.Schemas.BlueprintID;
2182
+ }
2183
+ export interface PathParameters {
2184
+ blueprint_id: Parameters.BlueprintId;
2185
+ }
2186
+ export interface RequestBody {
2187
+ /**
2188
+ * Plain text to format as markdown
2189
+ */
2190
+ text: string;
2191
+ }
2192
+ namespace Responses {
2193
+ export interface $200 {
2194
+ /**
2195
+ * AI-formatted markdown content
2196
+ */
2197
+ markdown?: string;
2198
+ }
2199
+ }
2200
+ }
2006
2201
  namespace GetBlueprint {
2007
2202
  namespace Parameters {
2008
2203
  export type BlueprintId = /**
@@ -2141,6 +2336,12 @@ declare namespace Paths {
2141
2336
  }
2142
2337
  }
2143
2338
  namespace ListBlueprints {
2339
+ namespace Parameters {
2340
+ export type Archived = boolean;
2341
+ }
2342
+ export interface QueryParameters {
2343
+ archived?: Parameters.Archived;
2344
+ }
2144
2345
  namespace Responses {
2145
2346
  export interface $200 {
2146
2347
  /**
@@ -2434,7 +2635,7 @@ export interface OperationMethods {
2434
2635
  * List Custom and Installed Blueprints
2435
2636
  */
2436
2637
  'listBlueprints'(
2437
- parameters?: Parameters<UnknownParamsObject> | null,
2638
+ parameters?: Parameters<Paths.ListBlueprints.QueryParameters> | null,
2438
2639
  data?: any,
2439
2640
  config?: AxiosRequestConfig
2440
2641
  ): OperationResponse<Paths.ListBlueprints.Responses.$200>
@@ -2544,6 +2745,17 @@ export interface OperationMethods {
2544
2745
  data?: Paths.ExportBlueprint.RequestBody,
2545
2746
  config?: AxiosRequestConfig
2546
2747
  ): OperationResponse<Paths.ExportBlueprint.Responses.$202>
2748
+ /**
2749
+ * formatBlueprintDescription - formatBlueprintDescription
2750
+ *
2751
+ * Format a blueprint description as markdown using AI.
2752
+ *
2753
+ */
2754
+ 'formatBlueprintDescription'(
2755
+ parameters?: Parameters<Paths.FormatBlueprintDescription.PathParameters> | null,
2756
+ data?: Paths.FormatBlueprintDescription.RequestBody,
2757
+ config?: AxiosRequestConfig
2758
+ ): OperationResponse<Paths.FormatBlueprintDescription.Responses.$200>
2547
2759
  /**
2548
2760
  * addBlueprintResource - addBlueprintResource
2549
2761
  *
@@ -2791,7 +3003,7 @@ export interface PathsDictionary {
2791
3003
  * List Custom and Installed Blueprints
2792
3004
  */
2793
3005
  'get'(
2794
- parameters?: Parameters<UnknownParamsObject> | null,
3006
+ parameters?: Parameters<Paths.ListBlueprints.QueryParameters> | null,
2795
3007
  data?: any,
2796
3008
  config?: AxiosRequestConfig
2797
3009
  ): OperationResponse<Paths.ListBlueprints.Responses.$200>
@@ -2916,6 +3128,19 @@ export interface PathsDictionary {
2916
3128
  config?: AxiosRequestConfig
2917
3129
  ): OperationResponse<Paths.ExportBlueprint.Responses.$202>
2918
3130
  }
3131
+ ['/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description']: {
3132
+ /**
3133
+ * formatBlueprintDescription - formatBlueprintDescription
3134
+ *
3135
+ * Format a blueprint description as markdown using AI.
3136
+ *
3137
+ */
3138
+ 'post'(
3139
+ parameters?: Parameters<Paths.FormatBlueprintDescription.PathParameters> | null,
3140
+ data?: Paths.FormatBlueprintDescription.RequestBody,
3141
+ config?: AxiosRequestConfig
3142
+ ): OperationResponse<Paths.FormatBlueprintDescription.Responses.$200>
3143
+ }
2919
3144
  ['/v2/blueprint-manifest/blueprints/{blueprint_id}/resources']: {
2920
3145
  /**
2921
3146
  * addBlueprintResource - addBlueprintResource
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.4.0",
6
6
  "description": "Service to create and install Blueprint Manifest files"
7
7
  },
8
8
  "tags": [
@@ -702,6 +702,18 @@
702
702
  "tags": [
703
703
  "Blueprints"
704
704
  ],
705
+ "parameters": [
706
+ {
707
+ "name": "archived",
708
+ "in": "query",
709
+ "description": "Filter blueprints by archived status. If true, returns only archived blueprints. If false or not provided, returns only non-archived blueprints.",
710
+ "required": false,
711
+ "schema": {
712
+ "type": "boolean",
713
+ "default": false
714
+ }
715
+ }
716
+ ],
705
717
  "responses": {
706
718
  "200": {
707
719
  "description": "Blueprints",
@@ -1175,6 +1187,63 @@
1175
1187
  }
1176
1188
  }
1177
1189
  },
1190
+ "/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description": {
1191
+ "post": {
1192
+ "operationId": "formatBlueprintDescription",
1193
+ "summary": "formatBlueprintDescription",
1194
+ "description": "Format a blueprint description as markdown using AI.\n",
1195
+ "tags": [
1196
+ "Blueprints"
1197
+ ],
1198
+ "parameters": [
1199
+ {
1200
+ "in": "path",
1201
+ "required": true,
1202
+ "name": "blueprint_id",
1203
+ "schema": {
1204
+ "$ref": "#/components/schemas/BlueprintID"
1205
+ }
1206
+ }
1207
+ ],
1208
+ "requestBody": {
1209
+ "required": true,
1210
+ "content": {
1211
+ "application/json": {
1212
+ "schema": {
1213
+ "type": "object",
1214
+ "required": [
1215
+ "text"
1216
+ ],
1217
+ "properties": {
1218
+ "text": {
1219
+ "type": "string",
1220
+ "description": "Plain text to format as markdown"
1221
+ }
1222
+ }
1223
+ }
1224
+ }
1225
+ }
1226
+ },
1227
+ "responses": {
1228
+ "200": {
1229
+ "description": "Successfully formatted description",
1230
+ "content": {
1231
+ "application/json": {
1232
+ "schema": {
1233
+ "type": "object",
1234
+ "properties": {
1235
+ "markdown": {
1236
+ "type": "string",
1237
+ "description": "AI-formatted markdown content"
1238
+ }
1239
+ }
1240
+ }
1241
+ }
1242
+ }
1243
+ }
1244
+ }
1245
+ }
1246
+ },
1178
1247
  "/v2/blueprint-manifest/blueprints/{blueprint_id}/resources": {
1179
1248
  "post": {
1180
1249
  "operationId": "addBlueprintResource",
@@ -1786,6 +1855,46 @@
1786
1855
  "source_blueprint_id": {
1787
1856
  "description": "ID of the blueprint that brought this blueprint to the destination org (deployed or installed)",
1788
1857
  "$ref": "#/components/schemas/BlueprintID"
1858
+ },
1859
+ "archived": {
1860
+ "type": "boolean",
1861
+ "description": "Whether the blueprint is archived (soft-deleted). Archived blueprints are hidden from the main list.",
1862
+ "default": false
1863
+ },
1864
+ "docs_url": {
1865
+ "type": "string",
1866
+ "description": "URL to the blueprint documentation"
1867
+ },
1868
+ "compatible_apps": {
1869
+ "type": "array",
1870
+ "items": {
1871
+ "type": "string"
1872
+ },
1873
+ "description": "List of compatible app IDs for the blueprint"
1874
+ },
1875
+ "required_features": {
1876
+ "type": "object",
1877
+ "description": "Feature constraints for blueprint installation",
1878
+ "properties": {
1879
+ "enabled": {
1880
+ "type": "array",
1881
+ "items": {
1882
+ "type": "string"
1883
+ },
1884
+ "description": "Features that must be enabled in the target org"
1885
+ },
1886
+ "disabled": {
1887
+ "type": "array",
1888
+ "items": {
1889
+ "type": "string"
1890
+ },
1891
+ "description": "Features that must be disabled in the target org"
1892
+ }
1893
+ }
1894
+ },
1895
+ "zip_file_name": {
1896
+ "type": "string",
1897
+ "description": "Custom name for the exported zip file"
1789
1898
  }
1790
1899
  },
1791
1900
  "required": [
@@ -3038,7 +3147,9 @@
3038
3147
  "self_referential_block",
3039
3148
  "circular_dependency",
3040
3149
  "state_mismatch",
3041
- "import_nonexistent_object"
3150
+ "import_nonexistent_object",
3151
+ "provider_install_error",
3152
+ "stale_blueprint"
3042
3153
  ]
3043
3154
  },
3044
3155
  "FormattedErrorData": {
@@ -3088,6 +3199,15 @@
3088
3199
  "items": {
3089
3200
  "type": "string"
3090
3201
  }
3202
+ },
3203
+ "addresses": {
3204
+ "type": "array",
3205
+ "items": {
3206
+ "type": "string"
3207
+ }
3208
+ },
3209
+ "originalError": {
3210
+ "type": "string"
3091
3211
  }
3092
3212
  }
3093
3213
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "4.3.4",
3
+ "version": "4.4.0",
4
4
  "description": "Client for epilot Terraform Blueprint Manifest API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",