@epilot/blueprint-manifest-client 4.6.2 → 4.6.3
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/client.d.ts +1 -1
- package/dist/definition.js +1 -1
- package/dist/openapi-runtime.json +0 -19
- package/dist/openapi.d.ts +9 -165
- package/dist/openapi.json +7 -213
- package/package.json +5 -8
package/dist/client.d.ts
CHANGED
package/dist/definition.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{"use strict";var e={
|
|
1
|
+
(()=>{"use strict";var e={330(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(466));t.default=i.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","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/marketplace/slugs":{"get":{"operationId":"listMarketplaceSlugs","responses":{}}},"/v2/blueprint-manifest/blueprints:publish":{"post":{"operationId":"publishBlueprint","requestBody":{"required":true,"content":{"application/json":{}}},"responses":{}}},"/v2/blueprint-manifest/blueprints/{blueprint_id}:format-description":{"post":{"operationId":"formatBlueprintDescription","parameters":[{"in":"path","required":true,"name":"blueprint_id"}],"requestBody":{"required":true,"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 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}(330),n=exports;for(var i in r)n[i]=r[i];r.__esModule&&Object.defineProperty(n,"__esModule",{value:!0})})();
|
|
@@ -258,25 +258,6 @@
|
|
|
258
258
|
"responses": {}
|
|
259
259
|
}
|
|
260
260
|
},
|
|
261
|
-
"/v2/blueprint-manifest/blueprints/{blueprint_id}:verify": {
|
|
262
|
-
"post": {
|
|
263
|
-
"operationId": "verifyBlueprint",
|
|
264
|
-
"parameters": [
|
|
265
|
-
{
|
|
266
|
-
"in": "path",
|
|
267
|
-
"required": true,
|
|
268
|
-
"name": "blueprint_id"
|
|
269
|
-
}
|
|
270
|
-
],
|
|
271
|
-
"requestBody": {
|
|
272
|
-
"required": true,
|
|
273
|
-
"content": {
|
|
274
|
-
"application/json": {}
|
|
275
|
-
}
|
|
276
|
-
},
|
|
277
|
-
"responses": {}
|
|
278
|
-
}
|
|
279
|
-
},
|
|
280
261
|
"/v2/blueprint-manifest/blueprints/{blueprint_id}:export": {
|
|
281
262
|
"post": {
|
|
282
263
|
"operationId": "exportBlueprint",
|
package/dist/openapi.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
|
|
3
1
|
import type {
|
|
4
2
|
OpenAPIClient,
|
|
5
3
|
Parameters,
|
|
@@ -53,10 +51,6 @@ declare namespace Components {
|
|
|
53
51
|
destination_org_id?: string;
|
|
54
52
|
destination_blueprint_id?: string;
|
|
55
53
|
triggered_at?: string; // date-time
|
|
56
|
-
/**
|
|
57
|
-
* User-provided note about this synchronization
|
|
58
|
-
*/
|
|
59
|
-
note?: string;
|
|
60
54
|
}[];
|
|
61
55
|
/**
|
|
62
56
|
* Whether the blueprint is verified by epilot
|
|
@@ -194,7 +188,7 @@ declare namespace Components {
|
|
|
194
188
|
*/
|
|
195
189
|
resources_to_ignore?: string[];
|
|
196
190
|
}
|
|
197
|
-
export type BlueprintJob = BlueprintExportJob | BlueprintInstallationJob | BlueprintDependenciesSyncJob | BlueprintValidateJob
|
|
191
|
+
export type BlueprintJob = BlueprintExportJob | BlueprintInstallationJob | BlueprintDependenciesSyncJob | BlueprintValidateJob;
|
|
198
192
|
export interface BlueprintJobEvent {
|
|
199
193
|
timestamp?: string; // date-time
|
|
200
194
|
message?: string;
|
|
@@ -334,38 +328,6 @@ declare namespace Components {
|
|
|
334
328
|
*/
|
|
335
329
|
errors?: FormattedError[];
|
|
336
330
|
}
|
|
337
|
-
export interface BlueprintVerificationJob {
|
|
338
|
-
id?: /**
|
|
339
|
-
* ID of a job
|
|
340
|
-
* example:
|
|
341
|
-
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
342
|
-
*/
|
|
343
|
-
BlueprintJobID;
|
|
344
|
-
events?: BlueprintJobEvent[];
|
|
345
|
-
triggered_at?: string; // date-time
|
|
346
|
-
created_by?: CallerIdentity;
|
|
347
|
-
source_org_id?: string;
|
|
348
|
-
source_blueprint_id?: /**
|
|
349
|
-
* ID of a blueprint
|
|
350
|
-
* example:
|
|
351
|
-
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
352
|
-
*/
|
|
353
|
-
BlueprintID;
|
|
354
|
-
destination_org_id?: string;
|
|
355
|
-
destination_blueprint_id?: /**
|
|
356
|
-
* ID of a blueprint
|
|
357
|
-
* example:
|
|
358
|
-
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
359
|
-
*/
|
|
360
|
-
BlueprintID;
|
|
361
|
-
status?: "IN_PROGRESS" | "SUCCESS" | "FAILED";
|
|
362
|
-
summary?: VerificationSummary;
|
|
363
|
-
resource_results?: ResourceVerificationResult[];
|
|
364
|
-
/**
|
|
365
|
-
* S3 key for detailed results when too large for inline storage.
|
|
366
|
-
*/
|
|
367
|
-
resource_results_s3_key?: string;
|
|
368
|
-
}
|
|
369
331
|
export interface CallerIdentity {
|
|
370
332
|
/**
|
|
371
333
|
* a human readable name of the caller (e.g. user name, token name or email address)
|
|
@@ -424,10 +386,6 @@ declare namespace Components {
|
|
|
424
386
|
destination_org_id?: string;
|
|
425
387
|
destination_blueprint_id?: string;
|
|
426
388
|
triggered_at?: string; // date-time
|
|
427
|
-
/**
|
|
428
|
-
* User-provided note about this synchronization
|
|
429
|
-
*/
|
|
430
|
-
note?: string;
|
|
431
389
|
}[];
|
|
432
390
|
/**
|
|
433
391
|
* Whether the blueprint is verified by epilot
|
|
@@ -701,10 +659,6 @@ declare namespace Components {
|
|
|
701
659
|
destination_org_id?: string;
|
|
702
660
|
destination_blueprint_id?: string;
|
|
703
661
|
triggered_at?: string; // date-time
|
|
704
|
-
/**
|
|
705
|
-
* User-provided note about this synchronization
|
|
706
|
-
*/
|
|
707
|
-
note?: string;
|
|
708
662
|
}[];
|
|
709
663
|
/**
|
|
710
664
|
* Whether the blueprint is verified by epilot
|
|
@@ -791,10 +745,6 @@ declare namespace Components {
|
|
|
791
745
|
destination_org_id?: string;
|
|
792
746
|
destination_blueprint_id?: string;
|
|
793
747
|
triggered_at?: string; // date-time
|
|
794
|
-
/**
|
|
795
|
-
* User-provided note about this synchronization
|
|
796
|
-
*/
|
|
797
|
-
note?: string;
|
|
798
748
|
}[];
|
|
799
749
|
/**
|
|
800
750
|
* Whether the blueprint is verified by epilot
|
|
@@ -849,15 +799,6 @@ declare namespace Components {
|
|
|
849
799
|
source_type: "deploy";
|
|
850
800
|
resources?: BlueprintResource[];
|
|
851
801
|
}
|
|
852
|
-
export interface FieldDiff {
|
|
853
|
-
/**
|
|
854
|
-
* JSON path to the differing field (e.g. "steps[2].name")
|
|
855
|
-
*/
|
|
856
|
-
path?: string;
|
|
857
|
-
source_value?: any;
|
|
858
|
-
destination_value?: any;
|
|
859
|
-
diff_type?: "value_changed" | "field_missing_in_destination" | "field_missing_in_source" | "type_mismatch";
|
|
860
|
-
}
|
|
861
802
|
export interface FileBlueprint {
|
|
862
803
|
id?: /**
|
|
863
804
|
* ID of a blueprint
|
|
@@ -890,10 +831,6 @@ declare namespace Components {
|
|
|
890
831
|
destination_org_id?: string;
|
|
891
832
|
destination_blueprint_id?: string;
|
|
892
833
|
triggered_at?: string; // date-time
|
|
893
|
-
/**
|
|
894
|
-
* User-provided note about this synchronization
|
|
895
|
-
*/
|
|
896
|
-
note?: string;
|
|
897
834
|
}[];
|
|
898
835
|
/**
|
|
899
836
|
* Whether the blueprint is verified by epilot
|
|
@@ -1549,10 +1486,6 @@ declare namespace Components {
|
|
|
1549
1486
|
destination_org_id?: string;
|
|
1550
1487
|
destination_blueprint_id?: string;
|
|
1551
1488
|
triggered_at?: string; // date-time
|
|
1552
|
-
/**
|
|
1553
|
-
* User-provided note about this synchronization
|
|
1554
|
-
*/
|
|
1555
|
-
note?: string;
|
|
1556
1489
|
}[];
|
|
1557
1490
|
/**
|
|
1558
1491
|
* Whether the blueprint is verified by epilot
|
|
@@ -1697,7 +1630,7 @@ declare namespace Components {
|
|
|
1697
1630
|
/**
|
|
1698
1631
|
* Type of the resource
|
|
1699
1632
|
*/
|
|
1700
|
-
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" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template"
|
|
1633
|
+
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" | "integration" | "dashboard" | "custom_variable" | "usergroup" | "saved_view" | "app" | "role" | "portal_config" | "target" | "kanban" | "validation_rule" | "flow_template" | "taxonomy" | "notification_template";
|
|
1701
1634
|
export interface ResourceReplacement {
|
|
1702
1635
|
/**
|
|
1703
1636
|
* Original resource ID to be replaced
|
|
@@ -1712,15 +1645,6 @@ declare namespace Components {
|
|
|
1712
1645
|
*/
|
|
1713
1646
|
replacementName?: string;
|
|
1714
1647
|
}
|
|
1715
|
-
export interface ResourceVerificationResult {
|
|
1716
|
-
resource_type?: /* Type of the resource */ ResourceNodeType;
|
|
1717
|
-
resource_name?: string;
|
|
1718
|
-
source_resource_id?: string;
|
|
1719
|
-
destination_resource_id?: string;
|
|
1720
|
-
status?: "matched" | "mismatched" | "missing_in_destination" | "missing_in_source" | "fetch_error";
|
|
1721
|
-
field_diffs?: FieldDiff[];
|
|
1722
|
-
error?: string;
|
|
1723
|
-
}
|
|
1724
1648
|
export interface RootResourceNode {
|
|
1725
1649
|
/**
|
|
1726
1650
|
* ID of the resource
|
|
@@ -1787,14 +1711,6 @@ declare namespace Components {
|
|
|
1787
1711
|
*/
|
|
1788
1712
|
filename: string;
|
|
1789
1713
|
}
|
|
1790
|
-
export interface VerificationSummary {
|
|
1791
|
-
total_resources?: number;
|
|
1792
|
-
matched?: number;
|
|
1793
|
-
mismatched?: number;
|
|
1794
|
-
missing_in_destination?: number;
|
|
1795
|
-
missing_in_source?: number;
|
|
1796
|
-
fetch_errors?: number;
|
|
1797
|
-
}
|
|
1798
1714
|
export interface VirtualResourceNodeGroup {
|
|
1799
1715
|
/**
|
|
1800
1716
|
* ID of the resource
|
|
@@ -2468,10 +2384,17 @@ declare namespace Paths {
|
|
|
2468
2384
|
export interface $200 {
|
|
2469
2385
|
results?: {
|
|
2470
2386
|
/**
|
|
2387
|
+
* The installation slug identifier for the blueprint (used for publishing).
|
|
2471
2388
|
* example:
|
|
2472
2389
|
* wallbox_b2c
|
|
2473
2390
|
*/
|
|
2474
2391
|
slug?: string;
|
|
2392
|
+
/**
|
|
2393
|
+
* The marketplace page slug for the Webflow CMS item (used for display).
|
|
2394
|
+
* example:
|
|
2395
|
+
* wallbox-b2c
|
|
2396
|
+
*/
|
|
2397
|
+
marketplace_slug?: string;
|
|
2475
2398
|
/**
|
|
2476
2399
|
* example:
|
|
2477
2400
|
* v1.0.0
|
|
@@ -2660,53 +2583,6 @@ declare namespace Paths {
|
|
|
2660
2583
|
}
|
|
2661
2584
|
}
|
|
2662
2585
|
}
|
|
2663
|
-
namespace VerifyBlueprint {
|
|
2664
|
-
namespace Parameters {
|
|
2665
|
-
export type BlueprintId = /**
|
|
2666
|
-
* ID of a blueprint
|
|
2667
|
-
* example:
|
|
2668
|
-
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2669
|
-
*/
|
|
2670
|
-
Components.Schemas.BlueprintID;
|
|
2671
|
-
}
|
|
2672
|
-
export interface PathParameters {
|
|
2673
|
-
blueprint_id: Parameters.BlueprintId;
|
|
2674
|
-
}
|
|
2675
|
-
export interface RequestBody {
|
|
2676
|
-
/**
|
|
2677
|
-
* Organization ID of the source org
|
|
2678
|
-
*/
|
|
2679
|
-
source_org_id: string;
|
|
2680
|
-
source_blueprint_id: /**
|
|
2681
|
-
* ID of a blueprint
|
|
2682
|
-
* example:
|
|
2683
|
-
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2684
|
-
*/
|
|
2685
|
-
Components.Schemas.BlueprintID;
|
|
2686
|
-
/**
|
|
2687
|
-
* Organization ID of the destination org
|
|
2688
|
-
*/
|
|
2689
|
-
destination_org_id: string;
|
|
2690
|
-
destination_blueprint_id: /**
|
|
2691
|
-
* ID of a blueprint
|
|
2692
|
-
* example:
|
|
2693
|
-
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2694
|
-
*/
|
|
2695
|
-
Components.Schemas.BlueprintID;
|
|
2696
|
-
}
|
|
2697
|
-
namespace Responses {
|
|
2698
|
-
export interface $202 {
|
|
2699
|
-
job_id?: /**
|
|
2700
|
-
* ID of a job
|
|
2701
|
-
* example:
|
|
2702
|
-
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2703
|
-
*/
|
|
2704
|
-
Components.Schemas.BlueprintJobID;
|
|
2705
|
-
}
|
|
2706
|
-
export interface $404 {
|
|
2707
|
-
}
|
|
2708
|
-
}
|
|
2709
|
-
}
|
|
2710
2586
|
}
|
|
2711
2587
|
|
|
2712
2588
|
|
|
@@ -2927,19 +2803,6 @@ export interface OperationMethods {
|
|
|
2927
2803
|
data?: any,
|
|
2928
2804
|
config?: AxiosRequestConfig
|
|
2929
2805
|
): OperationResponse<Paths.ValidateBlueprint.Responses.$202>
|
|
2930
|
-
/**
|
|
2931
|
-
* verifyBlueprint - verifyBlueprint
|
|
2932
|
-
*
|
|
2933
|
-
* Start a blueprint verification job. Compares resource configurations between a source org
|
|
2934
|
-
* and a destination org to verify that a sync/install was successful.
|
|
2935
|
-
* Returns 202 Accepted with job_id. Poll GET /jobs/{job_id} for status, summary, and resource_results.
|
|
2936
|
-
*
|
|
2937
|
-
*/
|
|
2938
|
-
'verifyBlueprint'(
|
|
2939
|
-
parameters?: Parameters<Paths.VerifyBlueprint.PathParameters> | null,
|
|
2940
|
-
data?: Paths.VerifyBlueprint.RequestBody,
|
|
2941
|
-
config?: AxiosRequestConfig
|
|
2942
|
-
): OperationResponse<Paths.VerifyBlueprint.Responses.$202>
|
|
2943
2806
|
/**
|
|
2944
2807
|
* exportBlueprint - exportBlueprint
|
|
2945
2808
|
*
|
|
@@ -3344,21 +3207,6 @@ export interface PathsDictionary {
|
|
|
3344
3207
|
config?: AxiosRequestConfig
|
|
3345
3208
|
): OperationResponse<Paths.ValidateBlueprint.Responses.$202>
|
|
3346
3209
|
}
|
|
3347
|
-
['/v2/blueprint-manifest/blueprints/{blueprint_id}:verify']: {
|
|
3348
|
-
/**
|
|
3349
|
-
* verifyBlueprint - verifyBlueprint
|
|
3350
|
-
*
|
|
3351
|
-
* Start a blueprint verification job. Compares resource configurations between a source org
|
|
3352
|
-
* and a destination org to verify that a sync/install was successful.
|
|
3353
|
-
* Returns 202 Accepted with job_id. Poll GET /jobs/{job_id} for status, summary, and resource_results.
|
|
3354
|
-
*
|
|
3355
|
-
*/
|
|
3356
|
-
'post'(
|
|
3357
|
-
parameters?: Parameters<Paths.VerifyBlueprint.PathParameters> | null,
|
|
3358
|
-
data?: Paths.VerifyBlueprint.RequestBody,
|
|
3359
|
-
config?: AxiosRequestConfig
|
|
3360
|
-
): OperationResponse<Paths.VerifyBlueprint.Responses.$202>
|
|
3361
|
-
}
|
|
3362
3210
|
['/v2/blueprint-manifest/blueprints/{blueprint_id}:export']: {
|
|
3363
3211
|
/**
|
|
3364
3212
|
* exportBlueprint - exportBlueprint
|
|
@@ -3558,7 +3406,6 @@ export type BlueprintPreview = Components.Schemas.BlueprintPreview;
|
|
|
3558
3406
|
export type BlueprintResource = Components.Schemas.BlueprintResource;
|
|
3559
3407
|
export type BlueprintResourceID = Components.Schemas.BlueprintResourceID;
|
|
3560
3408
|
export type BlueprintValidateJob = Components.Schemas.BlueprintValidateJob;
|
|
3561
|
-
export type BlueprintVerificationJob = Components.Schemas.BlueprintVerificationJob;
|
|
3562
3409
|
export type CallerIdentity = Components.Schemas.CallerIdentity;
|
|
3563
3410
|
export type CommonBlueprintFields = Components.Schemas.CommonBlueprintFields;
|
|
3564
3411
|
export type CommonBlueprintJobFields = Components.Schemas.CommonBlueprintJobFields;
|
|
@@ -3568,7 +3415,6 @@ export type CommonMarkdownFields = Components.Schemas.CommonMarkdownFields;
|
|
|
3568
3415
|
export type CommonResourceNode = Components.Schemas.CommonResourceNode;
|
|
3569
3416
|
export type CustomBlueprint = Components.Schemas.CustomBlueprint;
|
|
3570
3417
|
export type DeployedBlueprint = Components.Schemas.DeployedBlueprint;
|
|
3571
|
-
export type FieldDiff = Components.Schemas.FieldDiff;
|
|
3572
3418
|
export type FileBlueprint = Components.Schemas.FileBlueprint;
|
|
3573
3419
|
export type FormattedError = Components.Schemas.FormattedError;
|
|
3574
3420
|
export type FormattedErrorCodes = Components.Schemas.FormattedErrorCodes;
|
|
@@ -3589,10 +3435,8 @@ export type PutManifestPayload = Components.Schemas.PutManifestPayload;
|
|
|
3589
3435
|
export type ResourceNode = Components.Schemas.ResourceNode;
|
|
3590
3436
|
export type ResourceNodeType = Components.Schemas.ResourceNodeType;
|
|
3591
3437
|
export type ResourceReplacement = Components.Schemas.ResourceReplacement;
|
|
3592
|
-
export type ResourceVerificationResult = Components.Schemas.ResourceVerificationResult;
|
|
3593
3438
|
export type RootResourceNode = Components.Schemas.RootResourceNode;
|
|
3594
3439
|
export type S3Reference = Components.Schemas.S3Reference;
|
|
3595
3440
|
export type SelectedResources = Components.Schemas.SelectedResources;
|
|
3596
3441
|
export type UploadFilePayload = Components.Schemas.UploadFilePayload;
|
|
3597
|
-
export type VerificationSummary = Components.Schemas.VerificationSummary;
|
|
3598
3442
|
export type VirtualResourceNodeGroup = Components.Schemas.VirtualResourceNodeGroup;
|
package/dist/openapi.json
CHANGED
|
@@ -1124,86 +1124,6 @@
|
|
|
1124
1124
|
}
|
|
1125
1125
|
}
|
|
1126
1126
|
},
|
|
1127
|
-
"/v2/blueprint-manifest/blueprints/{blueprint_id}:verify": {
|
|
1128
|
-
"post": {
|
|
1129
|
-
"operationId": "verifyBlueprint",
|
|
1130
|
-
"summary": "verifyBlueprint",
|
|
1131
|
-
"description": "Start a blueprint verification job. Compares resource configurations between a source org\nand a destination org to verify that a sync/install was successful.\nReturns 202 Accepted with job_id. Poll GET /jobs/{job_id} for status, summary, and resource_results.\n",
|
|
1132
|
-
"tags": [
|
|
1133
|
-
"Blueprints"
|
|
1134
|
-
],
|
|
1135
|
-
"parameters": [
|
|
1136
|
-
{
|
|
1137
|
-
"in": "path",
|
|
1138
|
-
"required": true,
|
|
1139
|
-
"name": "blueprint_id",
|
|
1140
|
-
"schema": {
|
|
1141
|
-
"$ref": "#/components/schemas/BlueprintID"
|
|
1142
|
-
}
|
|
1143
|
-
}
|
|
1144
|
-
],
|
|
1145
|
-
"requestBody": {
|
|
1146
|
-
"required": true,
|
|
1147
|
-
"content": {
|
|
1148
|
-
"application/json": {
|
|
1149
|
-
"schema": {
|
|
1150
|
-
"type": "object",
|
|
1151
|
-
"required": [
|
|
1152
|
-
"source_org_id",
|
|
1153
|
-
"source_blueprint_id",
|
|
1154
|
-
"destination_org_id",
|
|
1155
|
-
"destination_blueprint_id"
|
|
1156
|
-
],
|
|
1157
|
-
"properties": {
|
|
1158
|
-
"source_org_id": {
|
|
1159
|
-
"type": "string",
|
|
1160
|
-
"description": "Organization ID of the source org"
|
|
1161
|
-
},
|
|
1162
|
-
"source_blueprint_id": {
|
|
1163
|
-
"$ref": "#/components/schemas/BlueprintID"
|
|
1164
|
-
},
|
|
1165
|
-
"destination_org_id": {
|
|
1166
|
-
"type": "string",
|
|
1167
|
-
"description": "Organization ID of the destination org"
|
|
1168
|
-
},
|
|
1169
|
-
"destination_blueprint_id": {
|
|
1170
|
-
"$ref": "#/components/schemas/BlueprintID"
|
|
1171
|
-
}
|
|
1172
|
-
}
|
|
1173
|
-
}
|
|
1174
|
-
}
|
|
1175
|
-
}
|
|
1176
|
-
},
|
|
1177
|
-
"responses": {
|
|
1178
|
-
"202": {
|
|
1179
|
-
"description": "Verification job started",
|
|
1180
|
-
"headers": {
|
|
1181
|
-
"Location": {
|
|
1182
|
-
"description": "URL to poll the job",
|
|
1183
|
-
"schema": {
|
|
1184
|
-
"type": "string"
|
|
1185
|
-
}
|
|
1186
|
-
}
|
|
1187
|
-
},
|
|
1188
|
-
"content": {
|
|
1189
|
-
"application/json": {
|
|
1190
|
-
"schema": {
|
|
1191
|
-
"type": "object",
|
|
1192
|
-
"properties": {
|
|
1193
|
-
"job_id": {
|
|
1194
|
-
"$ref": "#/components/schemas/BlueprintJobID"
|
|
1195
|
-
}
|
|
1196
|
-
}
|
|
1197
|
-
}
|
|
1198
|
-
}
|
|
1199
|
-
}
|
|
1200
|
-
},
|
|
1201
|
-
"404": {
|
|
1202
|
-
"description": "Blueprint not found"
|
|
1203
|
-
}
|
|
1204
|
-
}
|
|
1205
|
-
}
|
|
1206
|
-
},
|
|
1207
1127
|
"/v2/blueprint-manifest/blueprints/{blueprint_id}:export": {
|
|
1208
1128
|
"post": {
|
|
1209
1129
|
"operationId": "exportBlueprint",
|
|
@@ -1294,8 +1214,14 @@
|
|
|
1294
1214
|
"properties": {
|
|
1295
1215
|
"slug": {
|
|
1296
1216
|
"type": "string",
|
|
1217
|
+
"description": "The installation slug identifier for the blueprint (used for publishing).",
|
|
1297
1218
|
"example": "wallbox_b2c"
|
|
1298
1219
|
},
|
|
1220
|
+
"marketplace_slug": {
|
|
1221
|
+
"type": "string",
|
|
1222
|
+
"description": "The marketplace page slug for the Webflow CMS item (used for display).",
|
|
1223
|
+
"example": "wallbox-b2c"
|
|
1224
|
+
},
|
|
1299
1225
|
"version": {
|
|
1300
1226
|
"type": "string",
|
|
1301
1227
|
"example": "v1.0.0"
|
|
@@ -2012,10 +1938,6 @@
|
|
|
2012
1938
|
"triggered_at": {
|
|
2013
1939
|
"type": "string",
|
|
2014
1940
|
"format": "date-time"
|
|
2015
|
-
},
|
|
2016
|
-
"note": {
|
|
2017
|
-
"type": "string",
|
|
2018
|
-
"description": "User-provided note about this synchronization"
|
|
2019
1941
|
}
|
|
2020
1942
|
}
|
|
2021
1943
|
}
|
|
@@ -2601,9 +2523,6 @@
|
|
|
2601
2523
|
},
|
|
2602
2524
|
{
|
|
2603
2525
|
"$ref": "#/components/schemas/BlueprintValidateJob"
|
|
2604
|
-
},
|
|
2605
|
-
{
|
|
2606
|
-
"$ref": "#/components/schemas/BlueprintVerificationJob"
|
|
2607
2526
|
}
|
|
2608
2527
|
]
|
|
2609
2528
|
},
|
|
@@ -2665,130 +2584,6 @@
|
|
|
2665
2584
|
}
|
|
2666
2585
|
]
|
|
2667
2586
|
},
|
|
2668
|
-
"BlueprintVerificationJob": {
|
|
2669
|
-
"allOf": [
|
|
2670
|
-
{
|
|
2671
|
-
"$ref": "#/components/schemas/CommonBlueprintJobFields"
|
|
2672
|
-
},
|
|
2673
|
-
{
|
|
2674
|
-
"type": "object",
|
|
2675
|
-
"properties": {
|
|
2676
|
-
"source_org_id": {
|
|
2677
|
-
"type": "string"
|
|
2678
|
-
},
|
|
2679
|
-
"source_blueprint_id": {
|
|
2680
|
-
"$ref": "#/components/schemas/BlueprintID"
|
|
2681
|
-
},
|
|
2682
|
-
"destination_org_id": {
|
|
2683
|
-
"type": "string"
|
|
2684
|
-
},
|
|
2685
|
-
"destination_blueprint_id": {
|
|
2686
|
-
"$ref": "#/components/schemas/BlueprintID"
|
|
2687
|
-
},
|
|
2688
|
-
"status": {
|
|
2689
|
-
"type": "string",
|
|
2690
|
-
"enum": [
|
|
2691
|
-
"IN_PROGRESS",
|
|
2692
|
-
"SUCCESS",
|
|
2693
|
-
"FAILED"
|
|
2694
|
-
]
|
|
2695
|
-
},
|
|
2696
|
-
"summary": {
|
|
2697
|
-
"$ref": "#/components/schemas/VerificationSummary"
|
|
2698
|
-
},
|
|
2699
|
-
"resource_results": {
|
|
2700
|
-
"type": "array",
|
|
2701
|
-
"items": {
|
|
2702
|
-
"$ref": "#/components/schemas/ResourceVerificationResult"
|
|
2703
|
-
}
|
|
2704
|
-
},
|
|
2705
|
-
"resource_results_s3_key": {
|
|
2706
|
-
"type": "string",
|
|
2707
|
-
"description": "S3 key for detailed results when too large for inline storage."
|
|
2708
|
-
}
|
|
2709
|
-
}
|
|
2710
|
-
}
|
|
2711
|
-
]
|
|
2712
|
-
},
|
|
2713
|
-
"VerificationSummary": {
|
|
2714
|
-
"type": "object",
|
|
2715
|
-
"properties": {
|
|
2716
|
-
"total_resources": {
|
|
2717
|
-
"type": "integer"
|
|
2718
|
-
},
|
|
2719
|
-
"matched": {
|
|
2720
|
-
"type": "integer"
|
|
2721
|
-
},
|
|
2722
|
-
"mismatched": {
|
|
2723
|
-
"type": "integer"
|
|
2724
|
-
},
|
|
2725
|
-
"missing_in_destination": {
|
|
2726
|
-
"type": "integer"
|
|
2727
|
-
},
|
|
2728
|
-
"missing_in_source": {
|
|
2729
|
-
"type": "integer"
|
|
2730
|
-
},
|
|
2731
|
-
"fetch_errors": {
|
|
2732
|
-
"type": "integer"
|
|
2733
|
-
}
|
|
2734
|
-
}
|
|
2735
|
-
},
|
|
2736
|
-
"ResourceVerificationResult": {
|
|
2737
|
-
"type": "object",
|
|
2738
|
-
"properties": {
|
|
2739
|
-
"resource_type": {
|
|
2740
|
-
"$ref": "#/components/schemas/ResourceNodeType"
|
|
2741
|
-
},
|
|
2742
|
-
"resource_name": {
|
|
2743
|
-
"type": "string"
|
|
2744
|
-
},
|
|
2745
|
-
"source_resource_id": {
|
|
2746
|
-
"type": "string"
|
|
2747
|
-
},
|
|
2748
|
-
"destination_resource_id": {
|
|
2749
|
-
"type": "string"
|
|
2750
|
-
},
|
|
2751
|
-
"status": {
|
|
2752
|
-
"type": "string",
|
|
2753
|
-
"enum": [
|
|
2754
|
-
"matched",
|
|
2755
|
-
"mismatched",
|
|
2756
|
-
"missing_in_destination",
|
|
2757
|
-
"missing_in_source",
|
|
2758
|
-
"fetch_error"
|
|
2759
|
-
]
|
|
2760
|
-
},
|
|
2761
|
-
"field_diffs": {
|
|
2762
|
-
"type": "array",
|
|
2763
|
-
"items": {
|
|
2764
|
-
"$ref": "#/components/schemas/FieldDiff"
|
|
2765
|
-
}
|
|
2766
|
-
},
|
|
2767
|
-
"error": {
|
|
2768
|
-
"type": "string"
|
|
2769
|
-
}
|
|
2770
|
-
}
|
|
2771
|
-
},
|
|
2772
|
-
"FieldDiff": {
|
|
2773
|
-
"type": "object",
|
|
2774
|
-
"properties": {
|
|
2775
|
-
"path": {
|
|
2776
|
-
"type": "string",
|
|
2777
|
-
"description": "JSON path to the differing field (e.g. \"steps[2].name\")"
|
|
2778
|
-
},
|
|
2779
|
-
"source_value": {},
|
|
2780
|
-
"destination_value": {},
|
|
2781
|
-
"diff_type": {
|
|
2782
|
-
"type": "string",
|
|
2783
|
-
"enum": [
|
|
2784
|
-
"value_changed",
|
|
2785
|
-
"field_missing_in_destination",
|
|
2786
|
-
"field_missing_in_source",
|
|
2787
|
-
"type_mismatch"
|
|
2788
|
-
]
|
|
2789
|
-
}
|
|
2790
|
-
}
|
|
2791
|
-
},
|
|
2792
2587
|
"BlueprintJobEvent": {
|
|
2793
2588
|
"type": "object",
|
|
2794
2589
|
"properties": {
|
|
@@ -2956,8 +2751,7 @@
|
|
|
2956
2751
|
"validation_rule",
|
|
2957
2752
|
"flow_template",
|
|
2958
2753
|
"taxonomy",
|
|
2959
|
-
"notification_template"
|
|
2960
|
-
"environment_variable"
|
|
2754
|
+
"notification_template"
|
|
2961
2755
|
]
|
|
2962
2756
|
},
|
|
2963
2757
|
"PlanChanges": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/blueprint-manifest-client",
|
|
3
|
-
"version": "4.6.
|
|
3
|
+
"version": "4.6.3",
|
|
4
4
|
"description": "Client for epilot Terraform Blueprint Manifest API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -22,16 +22,16 @@
|
|
|
22
22
|
"terraform"
|
|
23
23
|
],
|
|
24
24
|
"scripts": {
|
|
25
|
-
"test": "
|
|
25
|
+
"test": "vitest",
|
|
26
26
|
"bundle-definition": "webpack",
|
|
27
27
|
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/blueprint-manifest.yaml",
|
|
28
28
|
"openapi:local": "node ../../scripts/update-openapi.js ../../../blueprint-manifest-api/lambda/TerraformHandlerFunction/openapi.yml",
|
|
29
|
-
"typegen": "openapi typegen src/openapi.json --client
|
|
29
|
+
"typegen": "openapi typegen src/openapi.json --client > src/openapi.d.ts",
|
|
30
30
|
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
31
31
|
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|
|
32
32
|
"build:watch": "npm run build && tsc -w",
|
|
33
33
|
"prepublishOnly": "npm run typegen && npm run build",
|
|
34
|
-
"lint": "
|
|
34
|
+
"lint": "biome check src"
|
|
35
35
|
},
|
|
36
36
|
"files": [
|
|
37
37
|
"*.js",
|
|
@@ -59,18 +59,15 @@
|
|
|
59
59
|
"util": "^0.12.3"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@types/jest": "^26.0.20",
|
|
63
62
|
"axios": "^1.11.0",
|
|
64
63
|
"copy-webpack-plugin": "^7.0.0",
|
|
65
|
-
"jest": "^29.6.2",
|
|
66
64
|
"json-loader": "^0.5.7",
|
|
67
65
|
"openapicmd": "^2.7.0",
|
|
68
|
-
"ts-jest": "^29.4.1",
|
|
69
66
|
"ts-loader": "^8.0.14",
|
|
70
67
|
"ts-node": "^10.9.1",
|
|
71
68
|
"typescript": "^4.1.3",
|
|
72
69
|
"webpack": "^5.18.0",
|
|
73
|
-
"webpack-cli": "^4.
|
|
70
|
+
"webpack-cli": "^4.10.0"
|
|
74
71
|
},
|
|
75
72
|
"gitHead": "39426e86cfb320fa3227dc03f60ee6a10848e7c7"
|
|
76
73
|
}
|