@epilot/blueprint-manifest-client 3.6.3 → 3.7.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-runtime.json +6 -0
- package/dist/openapi.d.ts +75 -1
- package/dist/openapi.json +81 -1
- package/package.json +1 -1
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
1
|
+
(()=>{"use strict";var e={390: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:marketplace":{"get":{"operationId":"listInstalledMarketplaceBlueprints","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}(390),n=exports;for(var s in r)n[s]=r[s];r.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
|
|
@@ -156,6 +156,12 @@
|
|
|
156
156
|
"responses": {}
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
|
+
"/v2/blueprint-manifest/blueprints:marketplace": {
|
|
160
|
+
"get": {
|
|
161
|
+
"operationId": "listInstalledMarketplaceBlueprints",
|
|
162
|
+
"responses": {}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
159
165
|
"/v2/blueprint-manifest/blueprints:pre-install": {
|
|
160
166
|
"post": {
|
|
161
167
|
"operationId": "preInstallBlueprint",
|
package/dist/openapi.d.ts
CHANGED
|
@@ -692,6 +692,33 @@ declare namespace Components {
|
|
|
692
692
|
name?: string;
|
|
693
693
|
type?: string;
|
|
694
694
|
}
|
|
695
|
+
/**
|
|
696
|
+
* Summary of an installed marketplace blueprint for version tracking
|
|
697
|
+
*/
|
|
698
|
+
export interface InstalledMarketplaceBlueprintItem {
|
|
699
|
+
id: /**
|
|
700
|
+
* ID of a blueprint
|
|
701
|
+
* example:
|
|
702
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
703
|
+
*/
|
|
704
|
+
BlueprintID;
|
|
705
|
+
/**
|
|
706
|
+
* URL slug of the blueprint from the epilot marketplace
|
|
707
|
+
* example:
|
|
708
|
+
* solar-b2b
|
|
709
|
+
*/
|
|
710
|
+
slug: string;
|
|
711
|
+
/**
|
|
712
|
+
* Version of the installed blueprint
|
|
713
|
+
* example:
|
|
714
|
+
* v1.0.0
|
|
715
|
+
*/
|
|
716
|
+
version?: string;
|
|
717
|
+
created_at?: string; // date-time
|
|
718
|
+
created_by?: CallerIdentity;
|
|
719
|
+
updated_at?: string; // date-time
|
|
720
|
+
updated_by?: CallerIdentity;
|
|
721
|
+
}
|
|
695
722
|
export interface Job {
|
|
696
723
|
job_id?: /**
|
|
697
724
|
* ID of an import or export job (state machine)
|
|
@@ -1339,7 +1366,7 @@ declare namespace Components {
|
|
|
1339
1366
|
/**
|
|
1340
1367
|
* Type of the resource
|
|
1341
1368
|
*/
|
|
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";
|
|
1369
|
+
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";
|
|
1343
1370
|
export interface ResourceReplacement {
|
|
1344
1371
|
/**
|
|
1345
1372
|
* Original resource ID to be replaced
|
|
@@ -1968,6 +1995,10 @@ declare namespace Paths {
|
|
|
1968
1995
|
*/
|
|
1969
1996
|
mode: "simple" | "advanced";
|
|
1970
1997
|
source_blueprint_type?: "marketplace";
|
|
1998
|
+
/**
|
|
1999
|
+
* Slug to enforce in this blueprint. Used in marketplace blueprints to keep it consistent with webflow.
|
|
2000
|
+
*/
|
|
2001
|
+
slug?: string;
|
|
1971
2002
|
}
|
|
1972
2003
|
namespace Responses {
|
|
1973
2004
|
export interface $202 {
|
|
@@ -2022,6 +2053,18 @@ declare namespace Paths {
|
|
|
2022
2053
|
}
|
|
2023
2054
|
}
|
|
2024
2055
|
}
|
|
2056
|
+
namespace ListInstalledMarketplaceBlueprints {
|
|
2057
|
+
namespace Responses {
|
|
2058
|
+
export interface $200 {
|
|
2059
|
+
/**
|
|
2060
|
+
* example:
|
|
2061
|
+
* 1
|
|
2062
|
+
*/
|
|
2063
|
+
total?: number;
|
|
2064
|
+
results?: /* Summary of an installed marketplace blueprint for version tracking */ Components.Schemas.InstalledMarketplaceBlueprintItem[];
|
|
2065
|
+
}
|
|
2066
|
+
}
|
|
2067
|
+
}
|
|
2025
2068
|
namespace PreInstallBlueprint {
|
|
2026
2069
|
export interface RequestBody {
|
|
2027
2070
|
/**
|
|
@@ -2029,6 +2072,10 @@ declare namespace Paths {
|
|
|
2029
2072
|
*/
|
|
2030
2073
|
blueprint_file?: string;
|
|
2031
2074
|
source_blueprint_type?: "marketplace";
|
|
2075
|
+
/**
|
|
2076
|
+
* Slug to enforce in this blueprint. Used in marketplace blueprints to keep it consistent with webflow.
|
|
2077
|
+
*/
|
|
2078
|
+
slug?: string;
|
|
2032
2079
|
}
|
|
2033
2080
|
namespace Responses {
|
|
2034
2081
|
export type $200 = Components.Schemas.Blueprint;
|
|
@@ -2265,6 +2312,18 @@ export interface OperationMethods {
|
|
|
2265
2312
|
data?: Paths.CreateBlueprint.RequestBody,
|
|
2266
2313
|
config?: AxiosRequestConfig
|
|
2267
2314
|
): OperationResponse<Paths.CreateBlueprint.Responses.$200>
|
|
2315
|
+
/**
|
|
2316
|
+
* listInstalledMarketplaceBlueprints - listInstalledMarketplaceBlueprints
|
|
2317
|
+
*
|
|
2318
|
+
* List installed Marketplace Blueprints for the organization.
|
|
2319
|
+
* When multiple blueprints have the same slug, returns only the most recently created one.
|
|
2320
|
+
*
|
|
2321
|
+
*/
|
|
2322
|
+
'listInstalledMarketplaceBlueprints'(
|
|
2323
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2324
|
+
data?: any,
|
|
2325
|
+
config?: AxiosRequestConfig
|
|
2326
|
+
): OperationResponse<Paths.ListInstalledMarketplaceBlueprints.Responses.$200>
|
|
2268
2327
|
/**
|
|
2269
2328
|
* preInstallBlueprint - preInstallBlueprint
|
|
2270
2329
|
*
|
|
@@ -2589,6 +2648,20 @@ export interface PathsDictionary {
|
|
|
2589
2648
|
config?: AxiosRequestConfig
|
|
2590
2649
|
): OperationResponse<Paths.CreateBlueprint.Responses.$200>
|
|
2591
2650
|
}
|
|
2651
|
+
['/v2/blueprint-manifest/blueprints:marketplace']: {
|
|
2652
|
+
/**
|
|
2653
|
+
* listInstalledMarketplaceBlueprints - listInstalledMarketplaceBlueprints
|
|
2654
|
+
*
|
|
2655
|
+
* List installed Marketplace Blueprints for the organization.
|
|
2656
|
+
* When multiple blueprints have the same slug, returns only the most recently created one.
|
|
2657
|
+
*
|
|
2658
|
+
*/
|
|
2659
|
+
'get'(
|
|
2660
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
2661
|
+
data?: any,
|
|
2662
|
+
config?: AxiosRequestConfig
|
|
2663
|
+
): OperationResponse<Paths.ListInstalledMarketplaceBlueprints.Responses.$200>
|
|
2664
|
+
}
|
|
2592
2665
|
['/v2/blueprint-manifest/blueprints:pre-install']: {
|
|
2593
2666
|
/**
|
|
2594
2667
|
* preInstallBlueprint - preInstallBlueprint
|
|
@@ -2816,6 +2889,7 @@ export type FileBlueprint = Components.Schemas.FileBlueprint;
|
|
|
2816
2889
|
export type FormattedError = Components.Schemas.FormattedError;
|
|
2817
2890
|
export type FormattedErrorCodes = Components.Schemas.FormattedErrorCodes;
|
|
2818
2891
|
export type FormattedErrorData = Components.Schemas.FormattedErrorData;
|
|
2892
|
+
export type InstalledMarketplaceBlueprintItem = Components.Schemas.InstalledMarketplaceBlueprintItem;
|
|
2819
2893
|
export type Job = Components.Schemas.Job;
|
|
2820
2894
|
export type JobID = Components.Schemas.JobID;
|
|
2821
2895
|
export type JobStatus = Components.Schemas.JobStatus;
|
package/dist/openapi.json
CHANGED
|
@@ -760,6 +760,40 @@
|
|
|
760
760
|
}
|
|
761
761
|
}
|
|
762
762
|
},
|
|
763
|
+
"/v2/blueprint-manifest/blueprints:marketplace": {
|
|
764
|
+
"get": {
|
|
765
|
+
"operationId": "listInstalledMarketplaceBlueprints",
|
|
766
|
+
"summary": "listInstalledMarketplaceBlueprints",
|
|
767
|
+
"description": "List installed Marketplace Blueprints for the organization.\nWhen multiple blueprints have the same slug, returns only the most recently created one.\n",
|
|
768
|
+
"tags": [
|
|
769
|
+
"Blueprints"
|
|
770
|
+
],
|
|
771
|
+
"responses": {
|
|
772
|
+
"200": {
|
|
773
|
+
"description": "Installed Marketplace Blueprints",
|
|
774
|
+
"content": {
|
|
775
|
+
"application/json": {
|
|
776
|
+
"schema": {
|
|
777
|
+
"type": "object",
|
|
778
|
+
"properties": {
|
|
779
|
+
"total": {
|
|
780
|
+
"type": "integer",
|
|
781
|
+
"example": 1
|
|
782
|
+
},
|
|
783
|
+
"results": {
|
|
784
|
+
"type": "array",
|
|
785
|
+
"items": {
|
|
786
|
+
"$ref": "#/components/schemas/InstalledMarketplaceBlueprintItem"
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
}
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
},
|
|
763
797
|
"/v2/blueprint-manifest/blueprints:pre-install": {
|
|
764
798
|
"post": {
|
|
765
799
|
"operationId": "preInstallBlueprint",
|
|
@@ -783,6 +817,10 @@
|
|
|
783
817
|
"enum": [
|
|
784
818
|
"marketplace"
|
|
785
819
|
]
|
|
820
|
+
},
|
|
821
|
+
"slug": {
|
|
822
|
+
"type": "string",
|
|
823
|
+
"description": "Slug to enforce in this blueprint. Used in marketplace blueprints to keep it consistent with webflow."
|
|
786
824
|
}
|
|
787
825
|
}
|
|
788
826
|
}
|
|
@@ -850,6 +888,10 @@
|
|
|
850
888
|
"enum": [
|
|
851
889
|
"marketplace"
|
|
852
890
|
]
|
|
891
|
+
},
|
|
892
|
+
"slug": {
|
|
893
|
+
"type": "string",
|
|
894
|
+
"description": "Slug to enforce in this blueprint. Used in marketplace blueprints to keep it consistent with webflow."
|
|
853
895
|
}
|
|
854
896
|
},
|
|
855
897
|
"required": [
|
|
@@ -1827,6 +1869,43 @@
|
|
|
1827
1869
|
"source_type"
|
|
1828
1870
|
]
|
|
1829
1871
|
},
|
|
1872
|
+
"InstalledMarketplaceBlueprintItem": {
|
|
1873
|
+
"type": "object",
|
|
1874
|
+
"description": "Summary of an installed marketplace blueprint for version tracking",
|
|
1875
|
+
"properties": {
|
|
1876
|
+
"id": {
|
|
1877
|
+
"$ref": "#/components/schemas/BlueprintID"
|
|
1878
|
+
},
|
|
1879
|
+
"slug": {
|
|
1880
|
+
"type": "string",
|
|
1881
|
+
"description": "URL slug of the blueprint from the epilot marketplace",
|
|
1882
|
+
"example": "solar-b2b"
|
|
1883
|
+
},
|
|
1884
|
+
"version": {
|
|
1885
|
+
"type": "string",
|
|
1886
|
+
"description": "Version of the installed blueprint",
|
|
1887
|
+
"example": "v1.0.0"
|
|
1888
|
+
},
|
|
1889
|
+
"created_at": {
|
|
1890
|
+
"type": "string",
|
|
1891
|
+
"format": "date-time"
|
|
1892
|
+
},
|
|
1893
|
+
"created_by": {
|
|
1894
|
+
"$ref": "#/components/schemas/CallerIdentity"
|
|
1895
|
+
},
|
|
1896
|
+
"updated_at": {
|
|
1897
|
+
"type": "string",
|
|
1898
|
+
"format": "date-time"
|
|
1899
|
+
},
|
|
1900
|
+
"updated_by": {
|
|
1901
|
+
"$ref": "#/components/schemas/CallerIdentity"
|
|
1902
|
+
}
|
|
1903
|
+
},
|
|
1904
|
+
"required": [
|
|
1905
|
+
"id",
|
|
1906
|
+
"slug"
|
|
1907
|
+
]
|
|
1908
|
+
},
|
|
1830
1909
|
"DeployedBlueprint": {
|
|
1831
1910
|
"allOf": [
|
|
1832
1911
|
{
|
|
@@ -2198,7 +2277,8 @@
|
|
|
2198
2277
|
"portal_config",
|
|
2199
2278
|
"target",
|
|
2200
2279
|
"kanban",
|
|
2201
|
-
"validation_rule"
|
|
2280
|
+
"validation_rule",
|
|
2281
|
+
"flow_template"
|
|
2202
2282
|
]
|
|
2203
2283
|
},
|
|
2204
2284
|
"PlanChanges": {
|