@epilot/blueprint-manifest-client 3.5.1 → 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 +13 -12
- package/dist/openapi.json +37 -24
- 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?: /**
|
|
@@ -1251,10 +1254,6 @@ declare namespace Components {
|
|
|
1251
1254
|
docs_url?: string;
|
|
1252
1255
|
source_type: "marketplace";
|
|
1253
1256
|
resources?: BlueprintResource[];
|
|
1254
|
-
/**
|
|
1255
|
-
* List of compatible app IDs for the blueprint
|
|
1256
|
-
*/
|
|
1257
|
-
compatible_apps?: string[];
|
|
1258
1257
|
}
|
|
1259
1258
|
export type PlanChanges = ("create" | "update" | "internal-update" | "no-op" | "delete")[];
|
|
1260
1259
|
/**
|
|
@@ -1332,7 +1331,7 @@ declare namespace Components {
|
|
|
1332
1331
|
/**
|
|
1333
1332
|
* Type of the resource
|
|
1334
1333
|
*/
|
|
1335
|
-
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"
|
|
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";
|
|
1336
1335
|
export interface ResourceReplacement {
|
|
1337
1336
|
/**
|
|
1338
1337
|
* Original resource ID to be replaced
|
|
@@ -2125,6 +2124,7 @@ declare namespace Paths {
|
|
|
2125
2124
|
}
|
|
2126
2125
|
}
|
|
2127
2126
|
|
|
2127
|
+
|
|
2128
2128
|
export interface OperationMethods {
|
|
2129
2129
|
/**
|
|
2130
2130
|
* getJob - getJob
|
|
@@ -2781,6 +2781,7 @@ export interface PathsDictionary {
|
|
|
2781
2781
|
|
|
2782
2782
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
2783
2783
|
|
|
2784
|
+
|
|
2784
2785
|
export type AppBlueprint = Components.Schemas.AppBlueprint;
|
|
2785
2786
|
export type Blueprint = Components.Schemas.Blueprint;
|
|
2786
2787
|
export type BlueprintDependenciesSyncJob = Components.Schemas.BlueprintDependenciesSyncJob;
|
package/dist/openapi.json
CHANGED
|
@@ -1807,13 +1807,6 @@
|
|
|
1807
1807
|
"items": {
|
|
1808
1808
|
"$ref": "#/components/schemas/BlueprintResource"
|
|
1809
1809
|
}
|
|
1810
|
-
},
|
|
1811
|
-
"compatible_apps": {
|
|
1812
|
-
"type": "array",
|
|
1813
|
-
"items": {
|
|
1814
|
-
"type": "string"
|
|
1815
|
-
},
|
|
1816
|
-
"description": "List of compatible app IDs for the blueprint"
|
|
1817
1810
|
}
|
|
1818
1811
|
}
|
|
1819
1812
|
}
|
|
@@ -2193,8 +2186,7 @@
|
|
|
2193
2186
|
"portal_config",
|
|
2194
2187
|
"target",
|
|
2195
2188
|
"kanban",
|
|
2196
|
-
"validation_rule"
|
|
2197
|
-
"flow_template"
|
|
2189
|
+
"validation_rule"
|
|
2198
2190
|
]
|
|
2199
2191
|
},
|
|
2200
2192
|
"PlanChanges": {
|
|
@@ -2700,25 +2692,29 @@
|
|
|
2700
2692
|
"terraform_plan_error",
|
|
2701
2693
|
"terraform_apply_error",
|
|
2702
2694
|
"terraform_show_error",
|
|
2703
|
-
"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"
|
|
2704
2705
|
]
|
|
2705
2706
|
},
|
|
2706
2707
|
"FormattedErrorData": {
|
|
2707
2708
|
"type": "object",
|
|
2708
2709
|
"properties": {
|
|
2709
|
-
"
|
|
2710
|
-
"type": "
|
|
2711
|
-
|
|
2712
|
-
|
|
2713
|
-
|
|
2714
|
-
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
},
|
|
2718
|
-
"type": {
|
|
2719
|
-
"type": "string"
|
|
2720
|
-
}
|
|
2721
|
-
}
|
|
2710
|
+
"id": {
|
|
2711
|
+
"type": "string"
|
|
2712
|
+
},
|
|
2713
|
+
"name": {
|
|
2714
|
+
"type": "string"
|
|
2715
|
+
},
|
|
2716
|
+
"type": {
|
|
2717
|
+
"type": "string"
|
|
2722
2718
|
}
|
|
2723
2719
|
}
|
|
2724
2720
|
},
|
|
@@ -2739,7 +2735,24 @@
|
|
|
2739
2735
|
"$ref": "#/components/schemas/FormattedErrorCodes"
|
|
2740
2736
|
},
|
|
2741
2737
|
"data": {
|
|
2742
|
-
"
|
|
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
|
+
}
|
|
2743
2756
|
}
|
|
2744
2757
|
}
|
|
2745
2758
|
},
|