@epilot/sdk 2.7.5 → 2.7.7
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/LICENSE +21 -0
- package/definitions/blueprint-manifest-runtime.json +1 -1
- package/definitions/blueprint-manifest.json +744 -20
- package/definitions/targeting-runtime.json +1 -1
- package/definitions/targeting.json +201 -7
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +8 -8
- package/dist/apis/blueprint-manifest.d.cts +2 -2
- package/dist/apis/blueprint-manifest.d.ts +2 -2
- package/dist/apis/blueprint-manifest.js +2 -2
- package/dist/apis/calendar.cjs +6 -6
- package/dist/apis/calendar.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +6 -6
- package/dist/apis/entity.js +1 -1
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +6 -6
- package/dist/apis/message.js +1 -1
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +8 -8
- package/dist/apis/targeting.d.cts +2 -2
- package/dist/apis/targeting.d.ts +2 -2
- package/dist/apis/targeting.js +2 -2
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/blueprint-manifest-6DEYW5MW.js +7 -0
- package/dist/blueprint-manifest-GCV7H74X.cjs +7 -0
- package/dist/{blueprint-manifest-runtime-QN2IECSA.cjs → blueprint-manifest-runtime-EIDOROIQ.cjs} +2 -2
- package/dist/{blueprint-manifest-runtime-5UN52LW5.js → blueprint-manifest-runtime-FRLU3ZSF.js} +1 -1
- package/dist/{blueprint-manifest.d-BPyzoR0X.d.cts → blueprint-manifest.d-B8yDxagC.d.cts} +572 -6
- package/dist/{blueprint-manifest.d-BPyzoR0X.d.ts → blueprint-manifest.d-B8yDxagC.d.ts} +572 -6
- package/dist/chunk-4YBWMDFP.js +14 -0
- package/dist/{chunk-QZON5VFY.cjs → chunk-FYKMGKP4.cjs} +4 -4
- package/dist/{chunk-JFMD3PPY.js → chunk-J45A6XX5.js} +4 -4
- package/dist/chunk-LSPXLT3A.js +14 -0
- package/dist/chunk-MCK2QUSD.cjs +14 -0
- package/dist/chunk-NGHCQ2FA.cjs +14 -0
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/js-yaml-DLCVPJ7G.js +0 -0
- package/dist/targeting-67M7H7T7.cjs +7 -0
- package/dist/targeting-XHHZ2TK4.js +7 -0
- package/dist/{targeting-runtime-M2VSTKFT.js → targeting-runtime-D5YUPZQM.js} +1 -1
- package/dist/{targeting-runtime-6JFMP262.cjs → targeting-runtime-MLMOM7CK.cjs} +2 -2
- package/dist/{targeting.d-BNmcVsNS.d.cts → targeting.d-DkyEBdtZ.d.cts} +138 -3
- package/dist/{targeting.d-BNmcVsNS.d.ts → targeting.d-DkyEBdtZ.d.ts} +138 -3
- package/docs/blueprint-manifest.md +728 -68
- package/docs/targeting.md +114 -0
- package/package.json +11 -12
- package/dist/blueprint-manifest-DBEY5PPI.js +0 -7
- package/dist/blueprint-manifest-IEQ6YBY7.cjs +0 -7
- package/dist/chunk-5WNEYQII.cjs +0 -14
- package/dist/chunk-BTTPWE2P.js +0 -14
- package/dist/chunk-L544VG3B.cjs +0 -14
- package/dist/chunk-O2YVXGPZ.js +0 -14
- package/dist/targeting-EYGYZD6M.cjs +0 -7
- package/dist/targeting-GEJTJN5Z.js +0 -7
|
@@ -47,11 +47,19 @@ declare namespace Components {
|
|
|
47
47
|
source_blueprint_id?: string;
|
|
48
48
|
destination_org_id?: string;
|
|
49
49
|
destination_blueprint_id?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Blueprint installation job that created or updated this deployment record
|
|
52
|
+
*/
|
|
53
|
+
job_id?: string;
|
|
50
54
|
triggered_at?: string; // date-time
|
|
51
55
|
/**
|
|
52
56
|
* User-provided note about this synchronization
|
|
53
57
|
*/
|
|
54
58
|
note?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Outcome of this deployment
|
|
61
|
+
*/
|
|
62
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
|
|
55
63
|
}[];
|
|
56
64
|
/**
|
|
57
65
|
* Whether the blueprint is verified by epilot
|
|
@@ -186,6 +194,14 @@ declare namespace Components {
|
|
|
186
194
|
* Blueprint slug for marketplace blueprints
|
|
187
195
|
*/
|
|
188
196
|
slug?: string;
|
|
197
|
+
/**
|
|
198
|
+
* Engine used for this install job
|
|
199
|
+
*/
|
|
200
|
+
sync_engine?: "terraform" | "v3";
|
|
201
|
+
/**
|
|
202
|
+
* Per-resource live status. Populated only for V3 installs.
|
|
203
|
+
*/
|
|
204
|
+
resource_progress?: V3ResourceProgressEntry[];
|
|
189
205
|
status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
|
|
190
206
|
}
|
|
191
207
|
export interface BlueprintInstallationJobOptions {
|
|
@@ -222,6 +238,47 @@ declare namespace Components {
|
|
|
222
238
|
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
223
239
|
*/
|
|
224
240
|
export type BlueprintJobID = string;
|
|
241
|
+
export interface BlueprintPatch {
|
|
242
|
+
patch_id?: string;
|
|
243
|
+
version?: number;
|
|
244
|
+
blueprint_id?: /**
|
|
245
|
+
* ID of a blueprint
|
|
246
|
+
* example:
|
|
247
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
248
|
+
*/
|
|
249
|
+
BlueprintID;
|
|
250
|
+
rollout_id?: string;
|
|
251
|
+
source_org_id?: string;
|
|
252
|
+
name?: string;
|
|
253
|
+
description?: string;
|
|
254
|
+
status?: "draft" | "ready" | "applying" | "applied" | "partial";
|
|
255
|
+
resources?: PatchResourceDiff[];
|
|
256
|
+
changelog?: string;
|
|
257
|
+
created_by?: string;
|
|
258
|
+
created_at?: string; // date-time
|
|
259
|
+
applied_at?: string; // date-time
|
|
260
|
+
}
|
|
261
|
+
export interface BlueprintPatchWithResults {
|
|
262
|
+
patch_id?: string;
|
|
263
|
+
version?: number;
|
|
264
|
+
blueprint_id?: /**
|
|
265
|
+
* ID of a blueprint
|
|
266
|
+
* example:
|
|
267
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
268
|
+
*/
|
|
269
|
+
BlueprintID;
|
|
270
|
+
rollout_id?: string;
|
|
271
|
+
source_org_id?: string;
|
|
272
|
+
name?: string;
|
|
273
|
+
description?: string;
|
|
274
|
+
status?: "draft" | "ready" | "applying" | "applied" | "partial";
|
|
275
|
+
resources?: PatchResourceDiff[];
|
|
276
|
+
changelog?: string;
|
|
277
|
+
created_by?: string;
|
|
278
|
+
created_at?: string; // date-time
|
|
279
|
+
applied_at?: string; // date-time
|
|
280
|
+
org_results?: OrgPatchExecution[];
|
|
281
|
+
}
|
|
225
282
|
/**
|
|
226
283
|
* Preview data for a blueprint before installation. Stored temporarily with TTL.
|
|
227
284
|
*/
|
|
@@ -427,11 +484,19 @@ declare namespace Components {
|
|
|
427
484
|
source_blueprint_id?: string;
|
|
428
485
|
destination_org_id?: string;
|
|
429
486
|
destination_blueprint_id?: string;
|
|
487
|
+
/**
|
|
488
|
+
* Blueprint installation job that created or updated this deployment record
|
|
489
|
+
*/
|
|
490
|
+
job_id?: string;
|
|
430
491
|
triggered_at?: string; // date-time
|
|
431
492
|
/**
|
|
432
493
|
* User-provided note about this synchronization
|
|
433
494
|
*/
|
|
434
495
|
note?: string;
|
|
496
|
+
/**
|
|
497
|
+
* Outcome of this deployment
|
|
498
|
+
*/
|
|
499
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
|
|
435
500
|
}[];
|
|
436
501
|
/**
|
|
437
502
|
* Whether the blueprint is verified by epilot
|
|
@@ -706,11 +771,19 @@ declare namespace Components {
|
|
|
706
771
|
source_blueprint_id?: string;
|
|
707
772
|
destination_org_id?: string;
|
|
708
773
|
destination_blueprint_id?: string;
|
|
774
|
+
/**
|
|
775
|
+
* Blueprint installation job that created or updated this deployment record
|
|
776
|
+
*/
|
|
777
|
+
job_id?: string;
|
|
709
778
|
triggered_at?: string; // date-time
|
|
710
779
|
/**
|
|
711
780
|
* User-provided note about this synchronization
|
|
712
781
|
*/
|
|
713
782
|
note?: string;
|
|
783
|
+
/**
|
|
784
|
+
* Outcome of this deployment
|
|
785
|
+
*/
|
|
786
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
|
|
714
787
|
}[];
|
|
715
788
|
/**
|
|
716
789
|
* Whether the blueprint is verified by epilot
|
|
@@ -801,11 +874,19 @@ declare namespace Components {
|
|
|
801
874
|
source_blueprint_id?: string;
|
|
802
875
|
destination_org_id?: string;
|
|
803
876
|
destination_blueprint_id?: string;
|
|
877
|
+
/**
|
|
878
|
+
* Blueprint installation job that created or updated this deployment record
|
|
879
|
+
*/
|
|
880
|
+
job_id?: string;
|
|
804
881
|
triggered_at?: string; // date-time
|
|
805
882
|
/**
|
|
806
883
|
* User-provided note about this synchronization
|
|
807
884
|
*/
|
|
808
885
|
note?: string;
|
|
886
|
+
/**
|
|
887
|
+
* Outcome of this deployment
|
|
888
|
+
*/
|
|
889
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
|
|
809
890
|
}[];
|
|
810
891
|
/**
|
|
811
892
|
* Whether the blueprint is verified by epilot
|
|
@@ -865,6 +946,9 @@ declare namespace Components {
|
|
|
865
946
|
source_type: "deploy";
|
|
866
947
|
resources?: BlueprintResource[];
|
|
867
948
|
}
|
|
949
|
+
export interface DetectChangesResult {
|
|
950
|
+
resources?: PatchResourceDiff[];
|
|
951
|
+
}
|
|
868
952
|
export interface FieldDiff {
|
|
869
953
|
/**
|
|
870
954
|
* JSON path to the differing field (e.g. "steps[2].name")
|
|
@@ -905,11 +989,19 @@ declare namespace Components {
|
|
|
905
989
|
source_blueprint_id?: string;
|
|
906
990
|
destination_org_id?: string;
|
|
907
991
|
destination_blueprint_id?: string;
|
|
992
|
+
/**
|
|
993
|
+
* Blueprint installation job that created or updated this deployment record
|
|
994
|
+
*/
|
|
995
|
+
job_id?: string;
|
|
908
996
|
triggered_at?: string; // date-time
|
|
909
997
|
/**
|
|
910
998
|
* User-provided note about this synchronization
|
|
911
999
|
*/
|
|
912
1000
|
note?: string;
|
|
1001
|
+
/**
|
|
1002
|
+
* Outcome of this deployment
|
|
1003
|
+
*/
|
|
1004
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
|
|
913
1005
|
}[];
|
|
914
1006
|
/**
|
|
915
1007
|
* Whether the blueprint is verified by epilot
|
|
@@ -1608,11 +1700,19 @@ declare namespace Components {
|
|
|
1608
1700
|
source_blueprint_id?: string;
|
|
1609
1701
|
destination_org_id?: string;
|
|
1610
1702
|
destination_blueprint_id?: string;
|
|
1703
|
+
/**
|
|
1704
|
+
* Blueprint installation job that created or updated this deployment record
|
|
1705
|
+
*/
|
|
1706
|
+
job_id?: string;
|
|
1611
1707
|
triggered_at?: string; // date-time
|
|
1612
1708
|
/**
|
|
1613
1709
|
* User-provided note about this synchronization
|
|
1614
1710
|
*/
|
|
1615
1711
|
note?: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* Outcome of this deployment
|
|
1714
|
+
*/
|
|
1715
|
+
status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
|
|
1616
1716
|
}[];
|
|
1617
1717
|
/**
|
|
1618
1718
|
* Whether the blueprint is verified by epilot
|
|
@@ -1778,6 +1878,31 @@ declare namespace Components {
|
|
|
1778
1878
|
created_at: string; // date-time
|
|
1779
1879
|
published_at?: string | null; // date-time
|
|
1780
1880
|
}
|
|
1881
|
+
export interface OrgPatchExecution {
|
|
1882
|
+
patch_id?: string;
|
|
1883
|
+
version?: number;
|
|
1884
|
+
org_id?: string;
|
|
1885
|
+
org_name?: string;
|
|
1886
|
+
dest_blueprint_id?: string;
|
|
1887
|
+
status?: "pending" | "in_progress" | "success" | "failed";
|
|
1888
|
+
error?: string;
|
|
1889
|
+
applied_at?: string; // date-time
|
|
1890
|
+
retries?: number;
|
|
1891
|
+
changes_applied?: PatchFieldDiff[];
|
|
1892
|
+
}
|
|
1893
|
+
export interface PatchFieldDiff {
|
|
1894
|
+
path?: string;
|
|
1895
|
+
op?: "changed" | "added" | "removed";
|
|
1896
|
+
baseline_value?: any;
|
|
1897
|
+
current_value?: any;
|
|
1898
|
+
}
|
|
1899
|
+
export interface PatchResourceDiff {
|
|
1900
|
+
type?: string;
|
|
1901
|
+
source_id?: string;
|
|
1902
|
+
address?: string;
|
|
1903
|
+
name?: string;
|
|
1904
|
+
changes?: PatchFieldDiff[];
|
|
1905
|
+
}
|
|
1781
1906
|
export type PlanChanges = ("create" | "update" | "internal-update" | "no-op" | "delete" | "ignored")[];
|
|
1782
1907
|
/**
|
|
1783
1908
|
* List of feature settings that must be enabled before installing the blueprint
|
|
@@ -1854,7 +1979,7 @@ declare namespace Components {
|
|
|
1854
1979
|
/**
|
|
1855
1980
|
* Type of the resource
|
|
1856
1981
|
*/
|
|
1857
|
-
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" | "environment_variable";
|
|
1982
|
+
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" | "environment_variable" | "datasource" | "family" | "permission";
|
|
1858
1983
|
export interface ResourceReplacement {
|
|
1859
1984
|
/**
|
|
1860
1985
|
* Original resource ID to be replaced
|
|
@@ -1937,6 +2062,48 @@ declare namespace Components {
|
|
|
1937
2062
|
*/
|
|
1938
2063
|
pipeline_id?: string;
|
|
1939
2064
|
}
|
|
2065
|
+
export interface SuggestBlueprintResourcesRequest {
|
|
2066
|
+
/**
|
|
2067
|
+
* Natural-language description of what to include.
|
|
2068
|
+
* example:
|
|
2069
|
+
* everything for the hausanschluss use case
|
|
2070
|
+
*/
|
|
2071
|
+
prompt: string;
|
|
2072
|
+
/**
|
|
2073
|
+
* When provided, suggestions are scoped as additions to this existing
|
|
2074
|
+
* blueprint — resources already in it are excluded from the response.
|
|
2075
|
+
*
|
|
2076
|
+
* example:
|
|
2077
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2078
|
+
*/
|
|
2079
|
+
blueprint_id?: string;
|
|
2080
|
+
}
|
|
2081
|
+
export interface SuggestBlueprintResourcesResponse {
|
|
2082
|
+
/**
|
|
2083
|
+
* Suggested resources to add. All marked is_root so the caller can request transitive dependency resolution.
|
|
2084
|
+
*/
|
|
2085
|
+
resources: BlueprintResource[];
|
|
2086
|
+
/**
|
|
2087
|
+
* Short title derived from the prompt. Useful when the caller is
|
|
2088
|
+
* creating a new blueprint as a result of the suggestion — saves the
|
|
2089
|
+
* user from naming it themselves.
|
|
2090
|
+
*
|
|
2091
|
+
* example:
|
|
2092
|
+
* Hausanschluss
|
|
2093
|
+
*/
|
|
2094
|
+
suggested_blueprint_name?: string;
|
|
2095
|
+
/**
|
|
2096
|
+
* Short human-readable summary of what was matched and why.
|
|
2097
|
+
*/
|
|
2098
|
+
explanation?: string;
|
|
2099
|
+
/**
|
|
2100
|
+
* Hint to the caller: persist via bulkAddBlueprintResources with
|
|
2101
|
+
* ?add_dependencies=true so anchor resources (journeys, workflows)
|
|
2102
|
+
* pull their transitive dependencies.
|
|
2103
|
+
*
|
|
2104
|
+
*/
|
|
2105
|
+
add_dependencies_recommended?: boolean;
|
|
2106
|
+
}
|
|
1940
2107
|
export interface UploadFilePayload {
|
|
1941
2108
|
/**
|
|
1942
2109
|
* example:
|
|
@@ -1944,6 +2111,15 @@ declare namespace Components {
|
|
|
1944
2111
|
*/
|
|
1945
2112
|
filename: string;
|
|
1946
2113
|
}
|
|
2114
|
+
export interface V3ResourceProgressEntry {
|
|
2115
|
+
lineage_id: string;
|
|
2116
|
+
type: string;
|
|
2117
|
+
address: string;
|
|
2118
|
+
name?: string;
|
|
2119
|
+
status: "pending" | "in_progress" | "done" | "failed" | "skipped";
|
|
2120
|
+
target_id?: string;
|
|
2121
|
+
error_message?: string;
|
|
2122
|
+
}
|
|
1947
2123
|
export interface VerificationSummary {
|
|
1948
2124
|
total_resources?: number;
|
|
1949
2125
|
matched?: number;
|
|
@@ -2000,6 +2176,34 @@ declare namespace Paths {
|
|
|
2000
2176
|
}
|
|
2001
2177
|
}
|
|
2002
2178
|
}
|
|
2179
|
+
namespace ApplyPatch {
|
|
2180
|
+
namespace Parameters {
|
|
2181
|
+
export type BlueprintId = /**
|
|
2182
|
+
* ID of a blueprint
|
|
2183
|
+
* example:
|
|
2184
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2185
|
+
*/
|
|
2186
|
+
Components.Schemas.BlueprintID;
|
|
2187
|
+
export type PatchId = string;
|
|
2188
|
+
}
|
|
2189
|
+
export interface PathParameters {
|
|
2190
|
+
blueprint_id: Parameters.BlueprintId;
|
|
2191
|
+
patch_id: Parameters.PatchId;
|
|
2192
|
+
}
|
|
2193
|
+
export interface RequestBody {
|
|
2194
|
+
org_id: string;
|
|
2195
|
+
org_name: string;
|
|
2196
|
+
dest_blueprint_id: string;
|
|
2197
|
+
dest_org_id?: string;
|
|
2198
|
+
/**
|
|
2199
|
+
* Auth token with access to the destination org (e.g. pipeline token)
|
|
2200
|
+
*/
|
|
2201
|
+
destination_auth_token?: string;
|
|
2202
|
+
}
|
|
2203
|
+
namespace Responses {
|
|
2204
|
+
export type $200 = Components.Schemas.OrgPatchExecution;
|
|
2205
|
+
}
|
|
2206
|
+
}
|
|
2003
2207
|
namespace ApplyPlan {
|
|
2004
2208
|
namespace Parameters {
|
|
2005
2209
|
export type JobId = /**
|
|
@@ -2213,6 +2417,36 @@ declare namespace Paths {
|
|
|
2213
2417
|
}
|
|
2214
2418
|
}
|
|
2215
2419
|
}
|
|
2420
|
+
namespace CreatePatch {
|
|
2421
|
+
namespace Parameters {
|
|
2422
|
+
export type BlueprintId = /**
|
|
2423
|
+
* ID of a blueprint
|
|
2424
|
+
* example:
|
|
2425
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2426
|
+
*/
|
|
2427
|
+
Components.Schemas.BlueprintID;
|
|
2428
|
+
}
|
|
2429
|
+
export interface PathParameters {
|
|
2430
|
+
blueprint_id: Parameters.BlueprintId;
|
|
2431
|
+
}
|
|
2432
|
+
export interface RequestBody {
|
|
2433
|
+
blueprint_id: /**
|
|
2434
|
+
* ID of a blueprint
|
|
2435
|
+
* example:
|
|
2436
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2437
|
+
*/
|
|
2438
|
+
Components.Schemas.BlueprintID;
|
|
2439
|
+
rollout_id: string;
|
|
2440
|
+
source_org_id: string;
|
|
2441
|
+
name: string;
|
|
2442
|
+
description?: string;
|
|
2443
|
+
resources: Components.Schemas.PatchResourceDiff[];
|
|
2444
|
+
changelog?: string;
|
|
2445
|
+
}
|
|
2446
|
+
namespace Responses {
|
|
2447
|
+
export type $201 = Components.Schemas.BlueprintPatch;
|
|
2448
|
+
}
|
|
2449
|
+
}
|
|
2216
2450
|
namespace CreatePlan {
|
|
2217
2451
|
export type RequestBody = {
|
|
2218
2452
|
/**
|
|
@@ -2375,6 +2609,40 @@ declare namespace Paths {
|
|
|
2375
2609
|
}
|
|
2376
2610
|
}
|
|
2377
2611
|
}
|
|
2612
|
+
namespace DetectPatchChanges {
|
|
2613
|
+
namespace Parameters {
|
|
2614
|
+
export type BlueprintId = /**
|
|
2615
|
+
* ID of a blueprint
|
|
2616
|
+
* example:
|
|
2617
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2618
|
+
*/
|
|
2619
|
+
Components.Schemas.BlueprintID;
|
|
2620
|
+
}
|
|
2621
|
+
export interface PathParameters {
|
|
2622
|
+
blueprint_id: Parameters.BlueprintId;
|
|
2623
|
+
}
|
|
2624
|
+
export interface RequestBody {
|
|
2625
|
+
/**
|
|
2626
|
+
* Organization ID of the source org where changes were made
|
|
2627
|
+
*/
|
|
2628
|
+
source_org_id?: string;
|
|
2629
|
+
/**
|
|
2630
|
+
* Organization ID of a destination org (used to load tfstate baseline)
|
|
2631
|
+
*/
|
|
2632
|
+
dest_org_id?: string;
|
|
2633
|
+
/**
|
|
2634
|
+
* Blueprint ID in the destination org (used to locate tfstate in S3)
|
|
2635
|
+
*/
|
|
2636
|
+
dest_blueprint_id?: string;
|
|
2637
|
+
/**
|
|
2638
|
+
* ID of the mass rollout
|
|
2639
|
+
*/
|
|
2640
|
+
rollout_id?: string;
|
|
2641
|
+
}
|
|
2642
|
+
namespace Responses {
|
|
2643
|
+
export type $200 = Components.Schemas.DetectChangesResult;
|
|
2644
|
+
}
|
|
2645
|
+
}
|
|
2378
2646
|
namespace ExportBlueprint {
|
|
2379
2647
|
namespace Parameters {
|
|
2380
2648
|
export type BlueprintId = /**
|
|
@@ -2690,6 +2958,26 @@ declare namespace Paths {
|
|
|
2690
2958
|
}
|
|
2691
2959
|
}
|
|
2692
2960
|
}
|
|
2961
|
+
namespace GetPatch {
|
|
2962
|
+
namespace Parameters {
|
|
2963
|
+
export type BlueprintId = /**
|
|
2964
|
+
* ID of a blueprint
|
|
2965
|
+
* example:
|
|
2966
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2967
|
+
*/
|
|
2968
|
+
Components.Schemas.BlueprintID;
|
|
2969
|
+
export type PatchId = string;
|
|
2970
|
+
}
|
|
2971
|
+
export interface PathParameters {
|
|
2972
|
+
blueprint_id: Parameters.BlueprintId;
|
|
2973
|
+
patch_id: Parameters.PatchId;
|
|
2974
|
+
}
|
|
2975
|
+
namespace Responses {
|
|
2976
|
+
export type $200 = Components.Schemas.BlueprintPatchWithResults;
|
|
2977
|
+
export interface $404 {
|
|
2978
|
+
}
|
|
2979
|
+
}
|
|
2980
|
+
}
|
|
2693
2981
|
namespace InstallBlueprint {
|
|
2694
2982
|
export interface RequestBody {
|
|
2695
2983
|
source_org_id?: string;
|
|
@@ -2710,6 +2998,14 @@ declare namespace Paths {
|
|
|
2710
2998
|
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
2711
2999
|
*/
|
|
2712
3000
|
Components.Schemas.BlueprintID;
|
|
3001
|
+
/**
|
|
3002
|
+
* Auth token with access to the source org. Required for cross-org auto-verification when the caller's bearer token belongs to the destination org.
|
|
3003
|
+
*/
|
|
3004
|
+
source_auth_token?: string;
|
|
3005
|
+
/**
|
|
3006
|
+
* Auth token with access to the destination org. Defaults to the caller's bearer token.
|
|
3007
|
+
*/
|
|
3008
|
+
destination_auth_token?: string;
|
|
2713
3009
|
options?: Components.Schemas.BlueprintInstallationJobOptions;
|
|
2714
3010
|
/**
|
|
2715
3011
|
* Installation mode
|
|
@@ -2743,7 +3039,35 @@ declare namespace Paths {
|
|
|
2743
3039
|
}
|
|
2744
3040
|
}
|
|
2745
3041
|
namespace InstallBlueprintV3 {
|
|
2746
|
-
export
|
|
3042
|
+
export type RequestBody = {
|
|
3043
|
+
source_org_id: string;
|
|
3044
|
+
source_blueprint_id: /**
|
|
3045
|
+
* ID of a blueprint
|
|
3046
|
+
* example:
|
|
3047
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
3048
|
+
*/
|
|
3049
|
+
Components.Schemas.BlueprintID;
|
|
3050
|
+
/**
|
|
3051
|
+
* S3 key to the blueprint zip file
|
|
3052
|
+
*/
|
|
3053
|
+
source_blueprint_file?: string;
|
|
3054
|
+
destination_org_id: string;
|
|
3055
|
+
destination_blueprint_id?: /**
|
|
3056
|
+
* ID of a blueprint
|
|
3057
|
+
* example:
|
|
3058
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
3059
|
+
*/
|
|
3060
|
+
Components.Schemas.BlueprintID;
|
|
3061
|
+
/**
|
|
3062
|
+
* Auth token for the destination org. Required for cross-org installs where the caller's token belongs to the source org. Defaults to the caller's bearer token.
|
|
3063
|
+
*/
|
|
3064
|
+
destination_auth_token?: string;
|
|
3065
|
+
options?: Components.Schemas.BlueprintInstallationJobOptions;
|
|
3066
|
+
/**
|
|
3067
|
+
* Slug for marketplace blueprint consistency
|
|
3068
|
+
*/
|
|
3069
|
+
slug?: string;
|
|
3070
|
+
} | {
|
|
2747
3071
|
source_org_id?: string;
|
|
2748
3072
|
source_blueprint_id?: /**
|
|
2749
3073
|
* ID of a blueprint
|
|
@@ -2754,8 +3078,8 @@ declare namespace Paths {
|
|
|
2754
3078
|
/**
|
|
2755
3079
|
* S3 key to the blueprint zip file
|
|
2756
3080
|
*/
|
|
2757
|
-
source_blueprint_file
|
|
2758
|
-
destination_org_id
|
|
3081
|
+
source_blueprint_file: string;
|
|
3082
|
+
destination_org_id: string;
|
|
2759
3083
|
destination_blueprint_id?: /**
|
|
2760
3084
|
* ID of a blueprint
|
|
2761
3085
|
* example:
|
|
@@ -2771,7 +3095,7 @@ declare namespace Paths {
|
|
|
2771
3095
|
* Slug for marketplace blueprint consistency
|
|
2772
3096
|
*/
|
|
2773
3097
|
slug?: string;
|
|
2774
|
-
}
|
|
3098
|
+
};
|
|
2775
3099
|
namespace Responses {
|
|
2776
3100
|
export interface $202 {
|
|
2777
3101
|
job_id?: /**
|
|
@@ -2787,6 +3111,9 @@ declare namespace Paths {
|
|
|
2787
3111
|
*/
|
|
2788
3112
|
Components.Schemas.BlueprintID;
|
|
2789
3113
|
}
|
|
3114
|
+
export interface $400 {
|
|
3115
|
+
message?: string;
|
|
3116
|
+
}
|
|
2790
3117
|
}
|
|
2791
3118
|
}
|
|
2792
3119
|
namespace ListBlueprintJobs {
|
|
@@ -2898,6 +3225,25 @@ declare namespace Paths {
|
|
|
2898
3225
|
}
|
|
2899
3226
|
}
|
|
2900
3227
|
}
|
|
3228
|
+
namespace ListPatches {
|
|
3229
|
+
namespace Parameters {
|
|
3230
|
+
export type BlueprintId = /**
|
|
3231
|
+
* ID of a blueprint
|
|
3232
|
+
* example:
|
|
3233
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
3234
|
+
*/
|
|
3235
|
+
Components.Schemas.BlueprintID;
|
|
3236
|
+
}
|
|
3237
|
+
export interface PathParameters {
|
|
3238
|
+
blueprint_id: Parameters.BlueprintId;
|
|
3239
|
+
}
|
|
3240
|
+
namespace Responses {
|
|
3241
|
+
export interface $200 {
|
|
3242
|
+
total?: number;
|
|
3243
|
+
results?: Components.Schemas.BlueprintPatch[];
|
|
3244
|
+
}
|
|
3245
|
+
}
|
|
3246
|
+
}
|
|
2901
3247
|
namespace PreInstallBlueprint {
|
|
2902
3248
|
export interface RequestBody {
|
|
2903
3249
|
/**
|
|
@@ -2967,6 +3313,37 @@ declare namespace Paths {
|
|
|
2967
3313
|
}
|
|
2968
3314
|
}
|
|
2969
3315
|
}
|
|
3316
|
+
namespace RetryPatchOrg {
|
|
3317
|
+
namespace Parameters {
|
|
3318
|
+
export type BlueprintId = /**
|
|
3319
|
+
* ID of a blueprint
|
|
3320
|
+
* example:
|
|
3321
|
+
* c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
|
|
3322
|
+
*/
|
|
3323
|
+
Components.Schemas.BlueprintID;
|
|
3324
|
+
export type OrgId = string;
|
|
3325
|
+
export type PatchId = string;
|
|
3326
|
+
}
|
|
3327
|
+
export interface PathParameters {
|
|
3328
|
+
blueprint_id: Parameters.BlueprintId;
|
|
3329
|
+
patch_id: Parameters.PatchId;
|
|
3330
|
+
org_id: Parameters.OrgId;
|
|
3331
|
+
}
|
|
3332
|
+
export interface RequestBody {
|
|
3333
|
+
org_name?: string;
|
|
3334
|
+
dest_blueprint_id?: string;
|
|
3335
|
+
destination_auth_token?: string;
|
|
3336
|
+
}
|
|
3337
|
+
namespace Responses {
|
|
3338
|
+
export type $200 = Components.Schemas.OrgPatchExecution;
|
|
3339
|
+
}
|
|
3340
|
+
}
|
|
3341
|
+
namespace SuggestBlueprintResources {
|
|
3342
|
+
export type RequestBody = Components.Schemas.SuggestBlueprintResourcesRequest;
|
|
3343
|
+
namespace Responses {
|
|
3344
|
+
export type $200 = Components.Schemas.SuggestBlueprintResourcesResponse;
|
|
3345
|
+
}
|
|
3346
|
+
}
|
|
2970
3347
|
namespace SyncDependencies {
|
|
2971
3348
|
namespace Parameters {
|
|
2972
3349
|
export type BlueprintId = /**
|
|
@@ -3412,6 +3789,68 @@ interface OperationMethods {
|
|
|
3412
3789
|
data?: Paths.VerifyBlueprint.RequestBody,
|
|
3413
3790
|
config?: AxiosRequestConfig
|
|
3414
3791
|
): OperationResponse<Paths.VerifyBlueprint.Responses.$202>
|
|
3792
|
+
/**
|
|
3793
|
+
* detectPatchChanges - detectPatchChanges
|
|
3794
|
+
*
|
|
3795
|
+
* Detect changes between the current state of a blueprint's resources and its tfstate baseline.
|
|
3796
|
+
* Returns field-level diffs for resources that have been modified since the blueprint was last installed/exported.
|
|
3797
|
+
*
|
|
3798
|
+
*/
|
|
3799
|
+
'detectPatchChanges'(
|
|
3800
|
+
parameters?: Parameters<Paths.DetectPatchChanges.PathParameters> | null,
|
|
3801
|
+
data?: Paths.DetectPatchChanges.RequestBody,
|
|
3802
|
+
config?: AxiosRequestConfig
|
|
3803
|
+
): OperationResponse<Paths.DetectPatchChanges.Responses.$200>
|
|
3804
|
+
/**
|
|
3805
|
+
* listPatches - listPatches
|
|
3806
|
+
*
|
|
3807
|
+
* List all patches for a blueprint.
|
|
3808
|
+
*/
|
|
3809
|
+
'listPatches'(
|
|
3810
|
+
parameters?: Parameters<Paths.ListPatches.PathParameters> | null,
|
|
3811
|
+
data?: any,
|
|
3812
|
+
config?: AxiosRequestConfig
|
|
3813
|
+
): OperationResponse<Paths.ListPatches.Responses.$200>
|
|
3814
|
+
/**
|
|
3815
|
+
* createPatch - createPatch
|
|
3816
|
+
*
|
|
3817
|
+
* Create a new patch for a blueprint.
|
|
3818
|
+
*/
|
|
3819
|
+
'createPatch'(
|
|
3820
|
+
parameters?: Parameters<Paths.CreatePatch.PathParameters> | null,
|
|
3821
|
+
data?: Paths.CreatePatch.RequestBody,
|
|
3822
|
+
config?: AxiosRequestConfig
|
|
3823
|
+
): OperationResponse<Paths.CreatePatch.Responses.$201>
|
|
3824
|
+
/**
|
|
3825
|
+
* getPatch - getPatch
|
|
3826
|
+
*
|
|
3827
|
+
* Get a patch by ID, including per-org execution results.
|
|
3828
|
+
*/
|
|
3829
|
+
'getPatch'(
|
|
3830
|
+
parameters?: Parameters<Paths.GetPatch.PathParameters> | null,
|
|
3831
|
+
data?: any,
|
|
3832
|
+
config?: AxiosRequestConfig
|
|
3833
|
+
): OperationResponse<Paths.GetPatch.Responses.$200>
|
|
3834
|
+
/**
|
|
3835
|
+
* applyPatch - applyPatch
|
|
3836
|
+
*
|
|
3837
|
+
* Apply a patch to a single destination org.
|
|
3838
|
+
*/
|
|
3839
|
+
'applyPatch'(
|
|
3840
|
+
parameters?: Parameters<Paths.ApplyPatch.PathParameters> | null,
|
|
3841
|
+
data?: Paths.ApplyPatch.RequestBody,
|
|
3842
|
+
config?: AxiosRequestConfig
|
|
3843
|
+
): OperationResponse<Paths.ApplyPatch.Responses.$200>
|
|
3844
|
+
/**
|
|
3845
|
+
* retryPatchOrg - retryPatchOrg
|
|
3846
|
+
*
|
|
3847
|
+
* Retry a failed patch execution for a specific org.
|
|
3848
|
+
*/
|
|
3849
|
+
'retryPatchOrg'(
|
|
3850
|
+
parameters?: Parameters<Paths.RetryPatchOrg.PathParameters> | null,
|
|
3851
|
+
data?: Paths.RetryPatchOrg.RequestBody,
|
|
3852
|
+
config?: AxiosRequestConfig
|
|
3853
|
+
): OperationResponse<Paths.RetryPatchOrg.Responses.$200>
|
|
3415
3854
|
/**
|
|
3416
3855
|
* exportBlueprint - exportBlueprint
|
|
3417
3856
|
*
|
|
@@ -3457,6 +3896,28 @@ interface OperationMethods {
|
|
|
3457
3896
|
data?: Paths.FormatBlueprintDescription.RequestBody,
|
|
3458
3897
|
config?: AxiosRequestConfig
|
|
3459
3898
|
): OperationResponse<Paths.FormatBlueprintDescription.Responses.$200>
|
|
3899
|
+
/**
|
|
3900
|
+
* suggestBlueprintResources - suggestBlueprintResources
|
|
3901
|
+
*
|
|
3902
|
+
* Suggest resources to add to a blueprint based on a natural-language prompt.
|
|
3903
|
+
*
|
|
3904
|
+
* Walks anchor resource types in priority order (journey > workflow_definition >
|
|
3905
|
+
* automation_flow > schema > entity-backed types) and returns matches per
|
|
3906
|
+
* anchor using each upstream API's text search. Suggestions are marked
|
|
3907
|
+
* `is_root: true` so callers can pass `add_dependencies=true` to
|
|
3908
|
+
* bulkAddBlueprintResources and have transitive dependencies resolved
|
|
3909
|
+
* server-side — which means a single matched journey can stand in for its
|
|
3910
|
+
* full product/schema/template bundle.
|
|
3911
|
+
*
|
|
3912
|
+
* No side effects on the blueprint — the caller persists the chosen resources
|
|
3913
|
+
* via the existing create/bulk-add endpoints.
|
|
3914
|
+
*
|
|
3915
|
+
*/
|
|
3916
|
+
'suggestBlueprintResources'(
|
|
3917
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
3918
|
+
data?: Paths.SuggestBlueprintResources.RequestBody,
|
|
3919
|
+
config?: AxiosRequestConfig
|
|
3920
|
+
): OperationResponse<Paths.SuggestBlueprintResources.Responses.$200>
|
|
3460
3921
|
/**
|
|
3461
3922
|
* addBlueprintResource - addBlueprintResource
|
|
3462
3923
|
*
|
|
@@ -3956,6 +4417,78 @@ interface PathsDictionary {
|
|
|
3956
4417
|
config?: AxiosRequestConfig
|
|
3957
4418
|
): OperationResponse<Paths.VerifyBlueprint.Responses.$202>
|
|
3958
4419
|
}
|
|
4420
|
+
['/v2/blueprint-manifest/blueprints/{blueprint_id}/patches:detect']: {
|
|
4421
|
+
/**
|
|
4422
|
+
* detectPatchChanges - detectPatchChanges
|
|
4423
|
+
*
|
|
4424
|
+
* Detect changes between the current state of a blueprint's resources and its tfstate baseline.
|
|
4425
|
+
* Returns field-level diffs for resources that have been modified since the blueprint was last installed/exported.
|
|
4426
|
+
*
|
|
4427
|
+
*/
|
|
4428
|
+
'post'(
|
|
4429
|
+
parameters?: Parameters<Paths.DetectPatchChanges.PathParameters> | null,
|
|
4430
|
+
data?: Paths.DetectPatchChanges.RequestBody,
|
|
4431
|
+
config?: AxiosRequestConfig
|
|
4432
|
+
): OperationResponse<Paths.DetectPatchChanges.Responses.$200>
|
|
4433
|
+
}
|
|
4434
|
+
['/v2/blueprint-manifest/blueprints/{blueprint_id}/patches']: {
|
|
4435
|
+
/**
|
|
4436
|
+
* createPatch - createPatch
|
|
4437
|
+
*
|
|
4438
|
+
* Create a new patch for a blueprint.
|
|
4439
|
+
*/
|
|
4440
|
+
'post'(
|
|
4441
|
+
parameters?: Parameters<Paths.CreatePatch.PathParameters> | null,
|
|
4442
|
+
data?: Paths.CreatePatch.RequestBody,
|
|
4443
|
+
config?: AxiosRequestConfig
|
|
4444
|
+
): OperationResponse<Paths.CreatePatch.Responses.$201>
|
|
4445
|
+
/**
|
|
4446
|
+
* listPatches - listPatches
|
|
4447
|
+
*
|
|
4448
|
+
* List all patches for a blueprint.
|
|
4449
|
+
*/
|
|
4450
|
+
'get'(
|
|
4451
|
+
parameters?: Parameters<Paths.ListPatches.PathParameters> | null,
|
|
4452
|
+
data?: any,
|
|
4453
|
+
config?: AxiosRequestConfig
|
|
4454
|
+
): OperationResponse<Paths.ListPatches.Responses.$200>
|
|
4455
|
+
}
|
|
4456
|
+
['/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}']: {
|
|
4457
|
+
/**
|
|
4458
|
+
* getPatch - getPatch
|
|
4459
|
+
*
|
|
4460
|
+
* Get a patch by ID, including per-org execution results.
|
|
4461
|
+
*/
|
|
4462
|
+
'get'(
|
|
4463
|
+
parameters?: Parameters<Paths.GetPatch.PathParameters> | null,
|
|
4464
|
+
data?: any,
|
|
4465
|
+
config?: AxiosRequestConfig
|
|
4466
|
+
): OperationResponse<Paths.GetPatch.Responses.$200>
|
|
4467
|
+
}
|
|
4468
|
+
['/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}:apply']: {
|
|
4469
|
+
/**
|
|
4470
|
+
* applyPatch - applyPatch
|
|
4471
|
+
*
|
|
4472
|
+
* Apply a patch to a single destination org.
|
|
4473
|
+
*/
|
|
4474
|
+
'post'(
|
|
4475
|
+
parameters?: Parameters<Paths.ApplyPatch.PathParameters> | null,
|
|
4476
|
+
data?: Paths.ApplyPatch.RequestBody,
|
|
4477
|
+
config?: AxiosRequestConfig
|
|
4478
|
+
): OperationResponse<Paths.ApplyPatch.Responses.$200>
|
|
4479
|
+
}
|
|
4480
|
+
['/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}/orgs/{org_id}:retry']: {
|
|
4481
|
+
/**
|
|
4482
|
+
* retryPatchOrg - retryPatchOrg
|
|
4483
|
+
*
|
|
4484
|
+
* Retry a failed patch execution for a specific org.
|
|
4485
|
+
*/
|
|
4486
|
+
'post'(
|
|
4487
|
+
parameters?: Parameters<Paths.RetryPatchOrg.PathParameters> | null,
|
|
4488
|
+
data?: Paths.RetryPatchOrg.RequestBody,
|
|
4489
|
+
config?: AxiosRequestConfig
|
|
4490
|
+
): OperationResponse<Paths.RetryPatchOrg.Responses.$200>
|
|
4491
|
+
}
|
|
3959
4492
|
['/v2/blueprint-manifest/blueprints/{blueprint_id}:export']: {
|
|
3960
4493
|
/**
|
|
3961
4494
|
* exportBlueprint - exportBlueprint
|
|
@@ -4009,6 +4542,30 @@ interface PathsDictionary {
|
|
|
4009
4542
|
config?: AxiosRequestConfig
|
|
4010
4543
|
): OperationResponse<Paths.FormatBlueprintDescription.Responses.$200>
|
|
4011
4544
|
}
|
|
4545
|
+
['/v2/blueprint-manifest/blueprints:suggest-resources']: {
|
|
4546
|
+
/**
|
|
4547
|
+
* suggestBlueprintResources - suggestBlueprintResources
|
|
4548
|
+
*
|
|
4549
|
+
* Suggest resources to add to a blueprint based on a natural-language prompt.
|
|
4550
|
+
*
|
|
4551
|
+
* Walks anchor resource types in priority order (journey > workflow_definition >
|
|
4552
|
+
* automation_flow > schema > entity-backed types) and returns matches per
|
|
4553
|
+
* anchor using each upstream API's text search. Suggestions are marked
|
|
4554
|
+
* `is_root: true` so callers can pass `add_dependencies=true` to
|
|
4555
|
+
* bulkAddBlueprintResources and have transitive dependencies resolved
|
|
4556
|
+
* server-side — which means a single matched journey can stand in for its
|
|
4557
|
+
* full product/schema/template bundle.
|
|
4558
|
+
*
|
|
4559
|
+
* No side effects on the blueprint — the caller persists the chosen resources
|
|
4560
|
+
* via the existing create/bulk-add endpoints.
|
|
4561
|
+
*
|
|
4562
|
+
*/
|
|
4563
|
+
'post'(
|
|
4564
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
4565
|
+
data?: Paths.SuggestBlueprintResources.RequestBody,
|
|
4566
|
+
config?: AxiosRequestConfig
|
|
4567
|
+
): OperationResponse<Paths.SuggestBlueprintResources.Responses.$200>
|
|
4568
|
+
}
|
|
4012
4569
|
['/v2/blueprint-manifest/blueprints/{blueprint_id}/resources']: {
|
|
4013
4570
|
/**
|
|
4014
4571
|
* addBlueprintResource - addBlueprintResource
|
|
@@ -4292,6 +4849,8 @@ type BlueprintInstallationJobOptions = Components.Schemas.BlueprintInstallationJ
|
|
|
4292
4849
|
type BlueprintJob = Components.Schemas.BlueprintJob;
|
|
4293
4850
|
type BlueprintJobEvent = Components.Schemas.BlueprintJobEvent;
|
|
4294
4851
|
type BlueprintJobID = Components.Schemas.BlueprintJobID;
|
|
4852
|
+
type BlueprintPatch = Components.Schemas.BlueprintPatch;
|
|
4853
|
+
type BlueprintPatchWithResults = Components.Schemas.BlueprintPatchWithResults;
|
|
4295
4854
|
type BlueprintPreview = Components.Schemas.BlueprintPreview;
|
|
4296
4855
|
type BlueprintResource = Components.Schemas.BlueprintResource;
|
|
4297
4856
|
type BlueprintResourceID = Components.Schemas.BlueprintResourceID;
|
|
@@ -4306,6 +4865,7 @@ type CommonMarkdownFields = Components.Schemas.CommonMarkdownFields;
|
|
|
4306
4865
|
type CommonResourceNode = Components.Schemas.CommonResourceNode;
|
|
4307
4866
|
type CustomBlueprint = Components.Schemas.CustomBlueprint;
|
|
4308
4867
|
type DeployedBlueprint = Components.Schemas.DeployedBlueprint;
|
|
4868
|
+
type DetectChangesResult = Components.Schemas.DetectChangesResult;
|
|
4309
4869
|
type FieldDiff = Components.Schemas.FieldDiff;
|
|
4310
4870
|
type FileBlueprint = Components.Schemas.FileBlueprint;
|
|
4311
4871
|
type FormattedError = Components.Schemas.FormattedError;
|
|
@@ -4326,6 +4886,9 @@ type MarketplaceBlueprint = Components.Schemas.MarketplaceBlueprint;
|
|
|
4326
4886
|
type MarketplaceListing = Components.Schemas.MarketplaceListing;
|
|
4327
4887
|
type MarketplaceListingUpdate = Components.Schemas.MarketplaceListingUpdate;
|
|
4328
4888
|
type MarketplaceListingVersion = Components.Schemas.MarketplaceListingVersion;
|
|
4889
|
+
type OrgPatchExecution = Components.Schemas.OrgPatchExecution;
|
|
4890
|
+
type PatchFieldDiff = Components.Schemas.PatchFieldDiff;
|
|
4891
|
+
type PatchResourceDiff = Components.Schemas.PatchResourceDiff;
|
|
4329
4892
|
type PlanChanges = Components.Schemas.PlanChanges;
|
|
4330
4893
|
type PreInstallRequirements = Components.Schemas.PreInstallRequirements;
|
|
4331
4894
|
type PutManifestPayload = Components.Schemas.PutManifestPayload;
|
|
@@ -4336,8 +4899,11 @@ type ResourceVerificationResult = Components.Schemas.ResourceVerificationResult;
|
|
|
4336
4899
|
type RootResourceNode = Components.Schemas.RootResourceNode;
|
|
4337
4900
|
type S3Reference = Components.Schemas.S3Reference;
|
|
4338
4901
|
type SelectedResources = Components.Schemas.SelectedResources;
|
|
4902
|
+
type SuggestBlueprintResourcesRequest = Components.Schemas.SuggestBlueprintResourcesRequest;
|
|
4903
|
+
type SuggestBlueprintResourcesResponse = Components.Schemas.SuggestBlueprintResourcesResponse;
|
|
4339
4904
|
type UploadFilePayload = Components.Schemas.UploadFilePayload;
|
|
4905
|
+
type V3ResourceProgressEntry = Components.Schemas.V3ResourceProgressEntry;
|
|
4340
4906
|
type VerificationSummary = Components.Schemas.VerificationSummary;
|
|
4341
4907
|
type VirtualResourceNodeGroup = Components.Schemas.VirtualResourceNodeGroup;
|
|
4342
4908
|
|
|
4343
|
-
export { type
|
|
4909
|
+
export { type OrgPatchExecution as $, type AppBlueprint as A, type Blueprint as B, type Client as C, type DeployedBlueprint as D, type DetectChangesResult as E, type FieldDiff as F, type FileBlueprint as G, type FormattedError as H, type FormattedErrorCodes as I, type FormattedErrorData as J, type InstalledMarketplaceBlueprintItem as K, type Job as L, type JobID as M, type JobStatus as N, type OperationMethods as O, Paths as P, type LatestBlueprintVerification as Q, type LineageEntry as R, type Manifest as S, type ManifestID as T, type ManifestItem as U, type ManifestSource as V, type ManifestTimestampFields as W, type MarketplaceBlueprint as X, type MarketplaceListing as Y, type MarketplaceListingUpdate as Z, type MarketplaceListingVersion as _, Components as a, type PatchFieldDiff as a0, type PatchResourceDiff as a1, type PlanChanges as a2, type PreInstallRequirements as a3, type PutManifestPayload as a4, type ResourceNode as a5, type ResourceNodeType as a6, type ResourceReplacement as a7, type ResourceVerificationResult as a8, type RootResourceNode as a9, type S3Reference as aa, type SelectedResources as ab, type SuggestBlueprintResourcesRequest as ac, type SuggestBlueprintResourcesResponse as ad, type UploadFilePayload as ae, type V3ResourceProgressEntry as af, type VerificationSummary as ag, type VirtualResourceNodeGroup as ah, type PathsDictionary as b, type BlueprintDependenciesSyncJob as c, type BlueprintExportJob as d, type BlueprintID as e, type BlueprintInstallStatus as f, type BlueprintInstallationJob as g, type BlueprintInstallationJobOptions as h, type BlueprintJob as i, type BlueprintJobEvent as j, type BlueprintJobID as k, type BlueprintPatch as l, type BlueprintPatchWithResults as m, type BlueprintPreview as n, type BlueprintResource as o, type BlueprintResourceID as p, type BlueprintValidateJob as q, type BlueprintVerificationJob as r, type CallerIdentity as s, type CommonBlueprintFields as t, type CommonBlueprintJobFields as u, type CommonImportFields as v, type CommonManifestFields as w, type CommonMarkdownFields as x, type CommonResourceNode as y, type CustomBlueprint as z };
|