@epilot/blueprint-manifest-client 3.6.0 → 3.6.2
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 +9 -3
- package/dist/openapi.json +14 -1
- package/package.json +1 -1
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 s=n(r(240));t.default=s.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","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}(914),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
|
@@ -207,6 +207,10 @@ declare namespace Components {
|
|
|
207
207
|
* When a resource is marked as hidden, it's used to hide it from the UI
|
|
208
208
|
*/
|
|
209
209
|
is_hidden?: boolean;
|
|
210
|
+
/**
|
|
211
|
+
* When a resource is marked as disabled, it will be skipped during export
|
|
212
|
+
*/
|
|
213
|
+
is_disabled?: boolean;
|
|
210
214
|
hard_dependencies?: /* Type of the resource */ ResourceNodeType[];
|
|
211
215
|
/**
|
|
212
216
|
* Used to automatically remove resources with hard dependencies and to block deletion of resources with hard dependencies
|
|
@@ -1254,6 +1258,10 @@ declare namespace Components {
|
|
|
1254
1258
|
docs_url?: string;
|
|
1255
1259
|
source_type: "marketplace";
|
|
1256
1260
|
resources?: BlueprintResource[];
|
|
1261
|
+
/**
|
|
1262
|
+
* List of compatible app IDs for the blueprint
|
|
1263
|
+
*/
|
|
1264
|
+
compatible_apps?: string[];
|
|
1257
1265
|
}
|
|
1258
1266
|
export type PlanChanges = ("create" | "update" | "internal-update" | "no-op" | "delete")[];
|
|
1259
1267
|
/**
|
|
@@ -1331,7 +1339,7 @@ declare namespace Components {
|
|
|
1331
1339
|
/**
|
|
1332
1340
|
* Type of the resource
|
|
1333
1341
|
*/
|
|
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";
|
|
1342
|
+
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" | "flow_template";
|
|
1335
1343
|
export interface ResourceReplacement {
|
|
1336
1344
|
/**
|
|
1337
1345
|
* Original resource ID to be replaced
|
|
@@ -2124,7 +2132,6 @@ declare namespace Paths {
|
|
|
2124
2132
|
}
|
|
2125
2133
|
}
|
|
2126
2134
|
|
|
2127
|
-
|
|
2128
2135
|
export interface OperationMethods {
|
|
2129
2136
|
/**
|
|
2130
2137
|
* getJob - getJob
|
|
@@ -2781,7 +2788,6 @@ export interface PathsDictionary {
|
|
|
2781
2788
|
|
|
2782
2789
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|
|
2783
2790
|
|
|
2784
|
-
|
|
2785
2791
|
export type AppBlueprint = Components.Schemas.AppBlueprint;
|
|
2786
2792
|
export type Blueprint = Components.Schemas.Blueprint;
|
|
2787
2793
|
export type BlueprintDependenciesSyncJob = Components.Schemas.BlueprintDependenciesSyncJob;
|
package/dist/openapi.json
CHANGED
|
@@ -1697,6 +1697,11 @@
|
|
|
1697
1697
|
"type": "boolean",
|
|
1698
1698
|
"description": "When a resource is marked as hidden, it's used to hide it from the UI"
|
|
1699
1699
|
},
|
|
1700
|
+
"is_disabled": {
|
|
1701
|
+
"type": "boolean",
|
|
1702
|
+
"default": false,
|
|
1703
|
+
"description": "When a resource is marked as disabled, it will be skipped during export"
|
|
1704
|
+
},
|
|
1700
1705
|
"hard_dependencies": {
|
|
1701
1706
|
"type": "array",
|
|
1702
1707
|
"items": {
|
|
@@ -1807,6 +1812,13 @@
|
|
|
1807
1812
|
"items": {
|
|
1808
1813
|
"$ref": "#/components/schemas/BlueprintResource"
|
|
1809
1814
|
}
|
|
1815
|
+
},
|
|
1816
|
+
"compatible_apps": {
|
|
1817
|
+
"type": "array",
|
|
1818
|
+
"items": {
|
|
1819
|
+
"type": "string"
|
|
1820
|
+
},
|
|
1821
|
+
"description": "List of compatible app IDs for the blueprint"
|
|
1810
1822
|
}
|
|
1811
1823
|
}
|
|
1812
1824
|
}
|
|
@@ -2186,7 +2198,8 @@
|
|
|
2186
2198
|
"portal_config",
|
|
2187
2199
|
"target",
|
|
2188
2200
|
"kanban",
|
|
2189
|
-
"validation_rule"
|
|
2201
|
+
"validation_rule",
|
|
2202
|
+
"flow_template"
|
|
2190
2203
|
]
|
|
2191
2204
|
},
|
|
2192
2205
|
"PlanChanges": {
|