@epilot/blueprint-manifest-client 4.3.5 → 4.3.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/definition.js +1 -1
- package/dist/openapi-runtime.json +13 -0
- package/dist/openapi.d.ts +87 -4
- package/dist/openapi.json +83 -0
- package/package.json +2 -2
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
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 i=n(r(240));t.default=i.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","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}/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/dependency-tree":{"get":{"operationId":"getDependencyTree","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}(914),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": {
|
|
@@ -292,6 +299,12 @@
|
|
|
292
299
|
"responses": {}
|
|
293
300
|
}
|
|
294
301
|
},
|
|
302
|
+
"/v2/blueprint-manifest/dependency-tree": {
|
|
303
|
+
"get": {
|
|
304
|
+
"operationId": "getDependencyTree",
|
|
305
|
+
"responses": {}
|
|
306
|
+
}
|
|
307
|
+
},
|
|
295
308
|
"/v2/blueprint-manifest/blueprints/{blueprint_id}/resources:syncDependencies": {
|
|
296
309
|
"post": {
|
|
297
310
|
"operationId": "syncDependencies",
|
package/dist/openapi.d.ts
CHANGED
|
@@ -75,6 +75,11 @@ 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
|
+
dependency_tree?: /* Custom dependency tree override. Keys are resource types, values are arrays of allowed dependency types. */ DependencyTreeOverride;
|
|
78
83
|
source_type: "app";
|
|
79
84
|
resources?: BlueprintResource[];
|
|
80
85
|
}
|
|
@@ -384,6 +389,14 @@ declare namespace Components {
|
|
|
384
389
|
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
385
390
|
*/
|
|
386
391
|
BlueprintID;
|
|
392
|
+
/**
|
|
393
|
+
* Whether the blueprint is archived (soft-deleted). Archived blueprints are hidden from the main list.
|
|
394
|
+
*/
|
|
395
|
+
archived?: boolean;
|
|
396
|
+
/**
|
|
397
|
+
* Custom dependency tree override for this blueprint. Keys are resource types, values are arrays of allowed dependency types. When present, used instead of the default hardcoded dependency tree.
|
|
398
|
+
*/
|
|
399
|
+
dependency_tree?: /* Custom dependency tree override. Keys are resource types, values are arrays of allowed dependency types. */ DependencyTreeOverride;
|
|
387
400
|
}
|
|
388
401
|
export interface CommonBlueprintJobFields {
|
|
389
402
|
id?: /**
|
|
@@ -625,9 +638,29 @@ declare namespace Components {
|
|
|
625
638
|
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
626
639
|
*/
|
|
627
640
|
BlueprintID;
|
|
641
|
+
/**
|
|
642
|
+
* Whether the blueprint is archived (soft-deleted). Archived blueprints are hidden from the main list.
|
|
643
|
+
*/
|
|
644
|
+
archived?: boolean;
|
|
645
|
+
dependency_tree?: /* Custom dependency tree override. Keys are resource types, values are arrays of allowed dependency types. */ DependencyTreeOverride;
|
|
628
646
|
resources?: BlueprintResource[];
|
|
629
647
|
source_type: "custom";
|
|
630
648
|
}
|
|
649
|
+
/**
|
|
650
|
+
* The default resource dependency tree. Keys are resource types, values describe their dependencies.
|
|
651
|
+
*/
|
|
652
|
+
export interface DependencyTree {
|
|
653
|
+
[name: string]: {
|
|
654
|
+
dependencies?: /* Type of the resource */ ResourceNodeType[];
|
|
655
|
+
rootOnlyDependencies?: /* Type of the resource */ ResourceNodeType[];
|
|
656
|
+
};
|
|
657
|
+
}
|
|
658
|
+
/**
|
|
659
|
+
* Custom dependency tree override. Keys are resource types, values are arrays of allowed dependency types.
|
|
660
|
+
*/
|
|
661
|
+
export interface DependencyTreeOverride {
|
|
662
|
+
[name: string]: /* Type of the resource */ ResourceNodeType[];
|
|
663
|
+
}
|
|
631
664
|
export interface DeployedBlueprint {
|
|
632
665
|
id?: /**
|
|
633
666
|
* ID of a blueprint
|
|
@@ -682,6 +715,11 @@ declare namespace Components {
|
|
|
682
715
|
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
683
716
|
*/
|
|
684
717
|
BlueprintID;
|
|
718
|
+
/**
|
|
719
|
+
* Whether the blueprint is archived (soft-deleted). Archived blueprints are hidden from the main list.
|
|
720
|
+
*/
|
|
721
|
+
archived?: boolean;
|
|
722
|
+
dependency_tree?: /* Custom dependency tree override. Keys are resource types, values are arrays of allowed dependency types. */ DependencyTreeOverride;
|
|
685
723
|
source_type: "deploy";
|
|
686
724
|
resources?: BlueprintResource[];
|
|
687
725
|
}
|
|
@@ -739,6 +777,11 @@ declare namespace Components {
|
|
|
739
777
|
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
740
778
|
*/
|
|
741
779
|
BlueprintID;
|
|
780
|
+
/**
|
|
781
|
+
* Whether the blueprint is archived (soft-deleted). Archived blueprints are hidden from the main list.
|
|
782
|
+
*/
|
|
783
|
+
archived?: boolean;
|
|
784
|
+
dependency_tree?: /* Custom dependency tree override. Keys are resource types, values are arrays of allowed dependency types. */ DependencyTreeOverride;
|
|
742
785
|
source_type: "file";
|
|
743
786
|
resources?: BlueprintResource[];
|
|
744
787
|
}
|
|
@@ -752,6 +795,8 @@ declare namespace Components {
|
|
|
752
795
|
resource?: string;
|
|
753
796
|
resourceDependency?: string;
|
|
754
797
|
resources?: string[];
|
|
798
|
+
addresses?: string[];
|
|
799
|
+
originalError?: string;
|
|
755
800
|
};
|
|
756
801
|
}
|
|
757
802
|
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";
|
|
@@ -1363,6 +1408,11 @@ declare namespace Components {
|
|
|
1363
1408
|
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
1364
1409
|
*/
|
|
1365
1410
|
BlueprintID;
|
|
1411
|
+
/**
|
|
1412
|
+
* Whether the blueprint is archived (soft-deleted). Archived blueprints are hidden from the main list.
|
|
1413
|
+
*/
|
|
1414
|
+
archived?: boolean;
|
|
1415
|
+
dependency_tree?: /* Custom dependency tree override. Keys are resource types, values are arrays of allowed dependency types. */ DependencyTreeOverride;
|
|
1366
1416
|
/**
|
|
1367
1417
|
* URL to the blueprint documentation
|
|
1368
1418
|
*/
|
|
@@ -2048,6 +2098,11 @@ declare namespace Paths {
|
|
|
2048
2098
|
}
|
|
2049
2099
|
}
|
|
2050
2100
|
}
|
|
2101
|
+
namespace GetDependencyTree {
|
|
2102
|
+
namespace Responses {
|
|
2103
|
+
export type $200 = /* The default resource dependency tree. Keys are resource types, values describe their dependencies. */ Components.Schemas.DependencyTree;
|
|
2104
|
+
}
|
|
2105
|
+
}
|
|
2051
2106
|
namespace GetJob {
|
|
2052
2107
|
namespace Parameters {
|
|
2053
2108
|
export type JobId = /**
|
|
@@ -2141,6 +2196,12 @@ declare namespace Paths {
|
|
|
2141
2196
|
}
|
|
2142
2197
|
}
|
|
2143
2198
|
namespace ListBlueprints {
|
|
2199
|
+
namespace Parameters {
|
|
2200
|
+
export type Archived = boolean;
|
|
2201
|
+
}
|
|
2202
|
+
export interface QueryParameters {
|
|
2203
|
+
archived?: Parameters.Archived;
|
|
2204
|
+
}
|
|
2144
2205
|
namespace Responses {
|
|
2145
2206
|
export interface $200 {
|
|
2146
2207
|
/**
|
|
@@ -2315,7 +2376,6 @@ declare namespace Paths {
|
|
|
2315
2376
|
}
|
|
2316
2377
|
}
|
|
2317
2378
|
|
|
2318
|
-
|
|
2319
2379
|
export interface OperationMethods {
|
|
2320
2380
|
/**
|
|
2321
2381
|
* getJob - getJob
|
|
@@ -2434,7 +2494,7 @@ export interface OperationMethods {
|
|
|
2434
2494
|
* List Custom and Installed Blueprints
|
|
2435
2495
|
*/
|
|
2436
2496
|
'listBlueprints'(
|
|
2437
|
-
parameters?: Parameters<
|
|
2497
|
+
parameters?: Parameters<Paths.ListBlueprints.QueryParameters> | null,
|
|
2438
2498
|
data?: any,
|
|
2439
2499
|
config?: AxiosRequestConfig
|
|
2440
2500
|
): OperationResponse<Paths.ListBlueprints.Responses.$200>
|
|
@@ -2554,6 +2614,16 @@ export interface OperationMethods {
|
|
|
2554
2614
|
data?: Paths.AddBlueprintResource.RequestBody,
|
|
2555
2615
|
config?: AxiosRequestConfig
|
|
2556
2616
|
): OperationResponse<Paths.AddBlueprintResource.Responses.$200>
|
|
2617
|
+
/**
|
|
2618
|
+
* getDependencyTree - getDependencyTree
|
|
2619
|
+
*
|
|
2620
|
+
* Get the default resource dependency tree
|
|
2621
|
+
*/
|
|
2622
|
+
'getDependencyTree'(
|
|
2623
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2624
|
+
data?: any,
|
|
2625
|
+
config?: AxiosRequestConfig
|
|
2626
|
+
): OperationResponse<Paths.GetDependencyTree.Responses.$200>
|
|
2557
2627
|
/**
|
|
2558
2628
|
* syncDependencies - syncDependencies
|
|
2559
2629
|
*
|
|
@@ -2791,7 +2861,7 @@ export interface PathsDictionary {
|
|
|
2791
2861
|
* List Custom and Installed Blueprints
|
|
2792
2862
|
*/
|
|
2793
2863
|
'get'(
|
|
2794
|
-
parameters?: Parameters<
|
|
2864
|
+
parameters?: Parameters<Paths.ListBlueprints.QueryParameters> | null,
|
|
2795
2865
|
data?: any,
|
|
2796
2866
|
config?: AxiosRequestConfig
|
|
2797
2867
|
): OperationResponse<Paths.ListBlueprints.Responses.$200>
|
|
@@ -2928,6 +2998,18 @@ export interface PathsDictionary {
|
|
|
2928
2998
|
config?: AxiosRequestConfig
|
|
2929
2999
|
): OperationResponse<Paths.AddBlueprintResource.Responses.$200>
|
|
2930
3000
|
}
|
|
3001
|
+
['/v2/blueprint-manifest/dependency-tree']: {
|
|
3002
|
+
/**
|
|
3003
|
+
* getDependencyTree - getDependencyTree
|
|
3004
|
+
*
|
|
3005
|
+
* Get the default resource dependency tree
|
|
3006
|
+
*/
|
|
3007
|
+
'get'(
|
|
3008
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3009
|
+
data?: any,
|
|
3010
|
+
config?: AxiosRequestConfig
|
|
3011
|
+
): OperationResponse<Paths.GetDependencyTree.Responses.$200>
|
|
3012
|
+
}
|
|
2931
3013
|
['/v2/blueprint-manifest/blueprints/{blueprint_id}/resources:syncDependencies']: {
|
|
2932
3014
|
/**
|
|
2933
3015
|
* syncDependencies - syncDependencies
|
|
@@ -3046,7 +3128,6 @@ export interface PathsDictionary {
|
|
|
3046
3128
|
|
|
3047
3129
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
3048
3130
|
|
|
3049
|
-
|
|
3050
3131
|
export type AppBlueprint = Components.Schemas.AppBlueprint;
|
|
3051
3132
|
export type Blueprint = Components.Schemas.Blueprint;
|
|
3052
3133
|
export type BlueprintDependenciesSyncJob = Components.Schemas.BlueprintDependenciesSyncJob;
|
|
@@ -3070,6 +3151,8 @@ export type CommonManifestFields = Components.Schemas.CommonManifestFields;
|
|
|
3070
3151
|
export type CommonMarkdownFields = Components.Schemas.CommonMarkdownFields;
|
|
3071
3152
|
export type CommonResourceNode = Components.Schemas.CommonResourceNode;
|
|
3072
3153
|
export type CustomBlueprint = Components.Schemas.CustomBlueprint;
|
|
3154
|
+
export type DependencyTree = Components.Schemas.DependencyTree;
|
|
3155
|
+
export type DependencyTreeOverride = Components.Schemas.DependencyTreeOverride;
|
|
3073
3156
|
export type DeployedBlueprint = Components.Schemas.DeployedBlueprint;
|
|
3074
3157
|
export type FileBlueprint = Components.Schemas.FileBlueprint;
|
|
3075
3158
|
export type FormattedError = Components.Schemas.FormattedError;
|
package/dist/openapi.json
CHANGED
|
@@ -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",
|
|
@@ -1233,6 +1245,28 @@
|
|
|
1233
1245
|
}
|
|
1234
1246
|
}
|
|
1235
1247
|
},
|
|
1248
|
+
"/v2/blueprint-manifest/dependency-tree": {
|
|
1249
|
+
"get": {
|
|
1250
|
+
"operationId": "getDependencyTree",
|
|
1251
|
+
"summary": "getDependencyTree",
|
|
1252
|
+
"description": "Get the default resource dependency tree",
|
|
1253
|
+
"tags": [
|
|
1254
|
+
"Blueprints"
|
|
1255
|
+
],
|
|
1256
|
+
"responses": {
|
|
1257
|
+
"200": {
|
|
1258
|
+
"description": "Default dependency tree",
|
|
1259
|
+
"content": {
|
|
1260
|
+
"application/json": {
|
|
1261
|
+
"schema": {
|
|
1262
|
+
"$ref": "#/components/schemas/DependencyTree"
|
|
1263
|
+
}
|
|
1264
|
+
}
|
|
1265
|
+
}
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
},
|
|
1236
1270
|
"/v2/blueprint-manifest/blueprints/{blueprint_id}/resources:syncDependencies": {
|
|
1237
1271
|
"post": {
|
|
1238
1272
|
"operationId": "syncDependencies",
|
|
@@ -1786,12 +1820,52 @@
|
|
|
1786
1820
|
"source_blueprint_id": {
|
|
1787
1821
|
"description": "ID of the blueprint that brought this blueprint to the destination org (deployed or installed)",
|
|
1788
1822
|
"$ref": "#/components/schemas/BlueprintID"
|
|
1823
|
+
},
|
|
1824
|
+
"archived": {
|
|
1825
|
+
"type": "boolean",
|
|
1826
|
+
"description": "Whether the blueprint is archived (soft-deleted). Archived blueprints are hidden from the main list.",
|
|
1827
|
+
"default": false
|
|
1828
|
+
},
|
|
1829
|
+
"dependency_tree": {
|
|
1830
|
+
"description": "Custom dependency tree override for this blueprint. Keys are resource types, values are arrays of allowed dependency types. When present, used instead of the default hardcoded dependency tree.",
|
|
1831
|
+
"$ref": "#/components/schemas/DependencyTreeOverride"
|
|
1789
1832
|
}
|
|
1790
1833
|
},
|
|
1791
1834
|
"required": [
|
|
1792
1835
|
"title"
|
|
1793
1836
|
]
|
|
1794
1837
|
},
|
|
1838
|
+
"DependencyTree": {
|
|
1839
|
+
"type": "object",
|
|
1840
|
+
"description": "The default resource dependency tree. Keys are resource types, values describe their dependencies.",
|
|
1841
|
+
"additionalProperties": {
|
|
1842
|
+
"type": "object",
|
|
1843
|
+
"properties": {
|
|
1844
|
+
"dependencies": {
|
|
1845
|
+
"type": "array",
|
|
1846
|
+
"items": {
|
|
1847
|
+
"$ref": "#/components/schemas/ResourceNodeType"
|
|
1848
|
+
}
|
|
1849
|
+
},
|
|
1850
|
+
"rootOnlyDependencies": {
|
|
1851
|
+
"type": "array",
|
|
1852
|
+
"items": {
|
|
1853
|
+
"$ref": "#/components/schemas/ResourceNodeType"
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
1857
|
+
}
|
|
1858
|
+
},
|
|
1859
|
+
"DependencyTreeOverride": {
|
|
1860
|
+
"type": "object",
|
|
1861
|
+
"description": "Custom dependency tree override. Keys are resource types, values are arrays of allowed dependency types.",
|
|
1862
|
+
"additionalProperties": {
|
|
1863
|
+
"type": "array",
|
|
1864
|
+
"items": {
|
|
1865
|
+
"$ref": "#/components/schemas/ResourceNodeType"
|
|
1866
|
+
}
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1795
1869
|
"BlueprintResource": {
|
|
1796
1870
|
"type": "object",
|
|
1797
1871
|
"properties": {
|
|
@@ -3090,6 +3164,15 @@
|
|
|
3090
3164
|
"items": {
|
|
3091
3165
|
"type": "string"
|
|
3092
3166
|
}
|
|
3167
|
+
},
|
|
3168
|
+
"addresses": {
|
|
3169
|
+
"type": "array",
|
|
3170
|
+
"items": {
|
|
3171
|
+
"type": "string"
|
|
3172
|
+
}
|
|
3173
|
+
},
|
|
3174
|
+
"originalError": {
|
|
3175
|
+
"type": "string"
|
|
3093
3176
|
}
|
|
3094
3177
|
}
|
|
3095
3178
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/blueprint-manifest-client",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.6",
|
|
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.
|
|
73
|
+
"webpack-cli": "^4.4.0"
|
|
74
74
|
},
|
|
75
75
|
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
76
76
|
}
|