@epilot/blueprint-manifest-client 3.5.0 → 3.6.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.
- package/dist/definition.js +1 -1
- package/dist/openapi.d.ts +11 -8
- package/dist/openapi.json +40 -16
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
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: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}(330),n=exports;for(var s in r)n[s]=r[s];r.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
|
package/dist/openapi.d.ts
CHANGED
|
@@ -675,15 +675,18 @@ declare namespace Components {
|
|
|
675
675
|
[key: string]: any;
|
|
676
676
|
};
|
|
677
677
|
code?: FormattedErrorCodes;
|
|
678
|
-
data?:
|
|
678
|
+
data?: {
|
|
679
|
+
formattedResource?: FormattedErrorData;
|
|
680
|
+
resource?: string;
|
|
681
|
+
resourceDependency?: string;
|
|
682
|
+
resources?: string[];
|
|
683
|
+
};
|
|
679
684
|
}
|
|
680
|
-
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";
|
|
685
|
+
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" | "forbidden" | "not_found" | "undeclared_resource" | "invalid_readonly_attribute" | "invalid_attribute_value" | "unsupported_attribute" | "self_referential_block" | "circular_dependency" | "state_mismatch";
|
|
681
686
|
export interface FormattedErrorData {
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
type?: string;
|
|
686
|
-
};
|
|
687
|
+
id?: string;
|
|
688
|
+
name?: string;
|
|
689
|
+
type?: string;
|
|
687
690
|
}
|
|
688
691
|
export interface Job {
|
|
689
692
|
job_id?: /**
|
|
@@ -1328,7 +1331,7 @@ declare namespace Components {
|
|
|
1328
1331
|
/**
|
|
1329
1332
|
* Type of the resource
|
|
1330
1333
|
*/
|
|
1331
|
-
export type ResourceNodeType = "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "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" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban";
|
|
1334
|
+
export type ResourceNodeType = "designbuilder" | "journey" | "product" | "price" | "product_recommendation" | "coupon" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "erp_integration" | "erp_integration_use_case" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule";
|
|
1332
1335
|
export interface ResourceReplacement {
|
|
1333
1336
|
/**
|
|
1334
1337
|
* Original resource ID to be replaced
|
package/dist/openapi.json
CHANGED
|
@@ -2175,6 +2175,8 @@
|
|
|
2175
2175
|
"closing_reason",
|
|
2176
2176
|
"taxonomy_classification",
|
|
2177
2177
|
"webhook",
|
|
2178
|
+
"erp_integration",
|
|
2179
|
+
"erp_integration_use_case",
|
|
2178
2180
|
"dashboard",
|
|
2179
2181
|
"custom_variable",
|
|
2180
2182
|
"usergroup",
|
|
@@ -2183,7 +2185,8 @@
|
|
|
2183
2185
|
"role",
|
|
2184
2186
|
"portal_config",
|
|
2185
2187
|
"target",
|
|
2186
|
-
"kanban"
|
|
2188
|
+
"kanban",
|
|
2189
|
+
"validation_rule"
|
|
2187
2190
|
]
|
|
2188
2191
|
},
|
|
2189
2192
|
"PlanChanges": {
|
|
@@ -2689,25 +2692,29 @@
|
|
|
2689
2692
|
"terraform_plan_error",
|
|
2690
2693
|
"terraform_apply_error",
|
|
2691
2694
|
"terraform_show_error",
|
|
2692
|
-
"generic_error"
|
|
2695
|
+
"generic_error",
|
|
2696
|
+
"forbidden",
|
|
2697
|
+
"not_found",
|
|
2698
|
+
"undeclared_resource",
|
|
2699
|
+
"invalid_readonly_attribute",
|
|
2700
|
+
"invalid_attribute_value",
|
|
2701
|
+
"unsupported_attribute",
|
|
2702
|
+
"self_referential_block",
|
|
2703
|
+
"circular_dependency",
|
|
2704
|
+
"state_mismatch"
|
|
2693
2705
|
]
|
|
2694
2706
|
},
|
|
2695
2707
|
"FormattedErrorData": {
|
|
2696
2708
|
"type": "object",
|
|
2697
2709
|
"properties": {
|
|
2698
|
-
"
|
|
2699
|
-
"type": "
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
},
|
|
2707
|
-
"type": {
|
|
2708
|
-
"type": "string"
|
|
2709
|
-
}
|
|
2710
|
-
}
|
|
2710
|
+
"id": {
|
|
2711
|
+
"type": "string"
|
|
2712
|
+
},
|
|
2713
|
+
"name": {
|
|
2714
|
+
"type": "string"
|
|
2715
|
+
},
|
|
2716
|
+
"type": {
|
|
2717
|
+
"type": "string"
|
|
2711
2718
|
}
|
|
2712
2719
|
}
|
|
2713
2720
|
},
|
|
@@ -2728,7 +2735,24 @@
|
|
|
2728
2735
|
"$ref": "#/components/schemas/FormattedErrorCodes"
|
|
2729
2736
|
},
|
|
2730
2737
|
"data": {
|
|
2731
|
-
"
|
|
2738
|
+
"type": "object",
|
|
2739
|
+
"properties": {
|
|
2740
|
+
"formattedResource": {
|
|
2741
|
+
"$ref": "#/components/schemas/FormattedErrorData"
|
|
2742
|
+
},
|
|
2743
|
+
"resource": {
|
|
2744
|
+
"type": "string"
|
|
2745
|
+
},
|
|
2746
|
+
"resourceDependency": {
|
|
2747
|
+
"type": "string"
|
|
2748
|
+
},
|
|
2749
|
+
"resources": {
|
|
2750
|
+
"type": "array",
|
|
2751
|
+
"items": {
|
|
2752
|
+
"type": "string"
|
|
2753
|
+
}
|
|
2754
|
+
}
|
|
2755
|
+
}
|
|
2732
2756
|
}
|
|
2733
2757
|
}
|
|
2734
2758
|
},
|