@epilot/blueprint-manifest-client 4.7.1 → 5.0.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/openapi.d.ts CHANGED
@@ -50,11 +50,19 @@ declare namespace Components {
50
50
  source_blueprint_id?: string;
51
51
  destination_org_id?: string;
52
52
  destination_blueprint_id?: string;
53
+ /**
54
+ * Blueprint installation job that created or updated this deployment record
55
+ */
56
+ job_id?: string;
53
57
  triggered_at?: string; // date-time
54
58
  /**
55
59
  * User-provided note about this synchronization
56
60
  */
57
61
  note?: string;
62
+ /**
63
+ * Outcome of this deployment
64
+ */
65
+ status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
58
66
  }[];
59
67
  /**
60
68
  * Whether the blueprint is verified by epilot
@@ -189,6 +197,14 @@ declare namespace Components {
189
197
  * Blueprint slug for marketplace blueprints
190
198
  */
191
199
  slug?: string;
200
+ /**
201
+ * Engine used for this install job
202
+ */
203
+ sync_engine?: "terraform" | "v3";
204
+ /**
205
+ * Per-resource live status. Populated only for V3 installs.
206
+ */
207
+ resource_progress?: V3ResourceProgressEntry[];
192
208
  status?: "IN_PROGRESS" | "WAITING_USER_ACTION" | "CANCELED" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
193
209
  }
194
210
  export interface BlueprintInstallationJobOptions {
@@ -225,6 +241,47 @@ declare namespace Components {
225
241
  * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
226
242
  */
227
243
  export type BlueprintJobID = string;
244
+ export interface BlueprintPatch {
245
+ patch_id?: string;
246
+ version?: number;
247
+ blueprint_id?: /**
248
+ * ID of a blueprint
249
+ * example:
250
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
251
+ */
252
+ BlueprintID;
253
+ rollout_id?: string;
254
+ source_org_id?: string;
255
+ name?: string;
256
+ description?: string;
257
+ status?: "draft" | "ready" | "applying" | "applied" | "partial";
258
+ resources?: PatchResourceDiff[];
259
+ changelog?: string;
260
+ created_by?: string;
261
+ created_at?: string; // date-time
262
+ applied_at?: string; // date-time
263
+ }
264
+ export interface BlueprintPatchWithResults {
265
+ patch_id?: string;
266
+ version?: number;
267
+ blueprint_id?: /**
268
+ * ID of a blueprint
269
+ * example:
270
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
271
+ */
272
+ BlueprintID;
273
+ rollout_id?: string;
274
+ source_org_id?: string;
275
+ name?: string;
276
+ description?: string;
277
+ status?: "draft" | "ready" | "applying" | "applied" | "partial";
278
+ resources?: PatchResourceDiff[];
279
+ changelog?: string;
280
+ created_by?: string;
281
+ created_at?: string; // date-time
282
+ applied_at?: string; // date-time
283
+ org_results?: OrgPatchExecution[];
284
+ }
228
285
  /**
229
286
  * Preview data for a blueprint before installation. Stored temporarily with TTL.
230
287
  */
@@ -430,11 +487,19 @@ declare namespace Components {
430
487
  source_blueprint_id?: string;
431
488
  destination_org_id?: string;
432
489
  destination_blueprint_id?: string;
490
+ /**
491
+ * Blueprint installation job that created or updated this deployment record
492
+ */
493
+ job_id?: string;
433
494
  triggered_at?: string; // date-time
434
495
  /**
435
496
  * User-provided note about this synchronization
436
497
  */
437
498
  note?: string;
499
+ /**
500
+ * Outcome of this deployment
501
+ */
502
+ status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
438
503
  }[];
439
504
  /**
440
505
  * Whether the blueprint is verified by epilot
@@ -709,11 +774,19 @@ declare namespace Components {
709
774
  source_blueprint_id?: string;
710
775
  destination_org_id?: string;
711
776
  destination_blueprint_id?: string;
777
+ /**
778
+ * Blueprint installation job that created or updated this deployment record
779
+ */
780
+ job_id?: string;
712
781
  triggered_at?: string; // date-time
713
782
  /**
714
783
  * User-provided note about this synchronization
715
784
  */
716
785
  note?: string;
786
+ /**
787
+ * Outcome of this deployment
788
+ */
789
+ status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
717
790
  }[];
718
791
  /**
719
792
  * Whether the blueprint is verified by epilot
@@ -804,11 +877,19 @@ declare namespace Components {
804
877
  source_blueprint_id?: string;
805
878
  destination_org_id?: string;
806
879
  destination_blueprint_id?: string;
880
+ /**
881
+ * Blueprint installation job that created or updated this deployment record
882
+ */
883
+ job_id?: string;
807
884
  triggered_at?: string; // date-time
808
885
  /**
809
886
  * User-provided note about this synchronization
810
887
  */
811
888
  note?: string;
889
+ /**
890
+ * Outcome of this deployment
891
+ */
892
+ status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
812
893
  }[];
813
894
  /**
814
895
  * Whether the blueprint is verified by epilot
@@ -868,6 +949,9 @@ declare namespace Components {
868
949
  source_type: "deploy";
869
950
  resources?: BlueprintResource[];
870
951
  }
952
+ export interface DetectChangesResult {
953
+ resources?: PatchResourceDiff[];
954
+ }
871
955
  export interface FieldDiff {
872
956
  /**
873
957
  * JSON path to the differing field (e.g. "steps[2].name")
@@ -908,11 +992,19 @@ declare namespace Components {
908
992
  source_blueprint_id?: string;
909
993
  destination_org_id?: string;
910
994
  destination_blueprint_id?: string;
995
+ /**
996
+ * Blueprint installation job that created or updated this deployment record
997
+ */
998
+ job_id?: string;
911
999
  triggered_at?: string; // date-time
912
1000
  /**
913
1001
  * User-provided note about this synchronization
914
1002
  */
915
1003
  note?: string;
1004
+ /**
1005
+ * Outcome of this deployment
1006
+ */
1007
+ status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
916
1008
  }[];
917
1009
  /**
918
1010
  * Whether the blueprint is verified by epilot
@@ -1611,11 +1703,19 @@ declare namespace Components {
1611
1703
  source_blueprint_id?: string;
1612
1704
  destination_org_id?: string;
1613
1705
  destination_blueprint_id?: string;
1706
+ /**
1707
+ * Blueprint installation job that created or updated this deployment record
1708
+ */
1709
+ job_id?: string;
1614
1710
  triggered_at?: string; // date-time
1615
1711
  /**
1616
1712
  * User-provided note about this synchronization
1617
1713
  */
1618
1714
  note?: string;
1715
+ /**
1716
+ * Outcome of this deployment
1717
+ */
1718
+ status?: "IN_PROGRESS" | "SUCCESS" | "PARTIAL_SUCCESS" | "FAILED";
1619
1719
  }[];
1620
1720
  /**
1621
1721
  * Whether the blueprint is verified by epilot
@@ -1781,6 +1881,31 @@ declare namespace Components {
1781
1881
  created_at: string; // date-time
1782
1882
  published_at?: string | null; // date-time
1783
1883
  }
1884
+ export interface OrgPatchExecution {
1885
+ patch_id?: string;
1886
+ version?: number;
1887
+ org_id?: string;
1888
+ org_name?: string;
1889
+ dest_blueprint_id?: string;
1890
+ status?: "pending" | "in_progress" | "success" | "failed";
1891
+ error?: string;
1892
+ applied_at?: string; // date-time
1893
+ retries?: number;
1894
+ changes_applied?: PatchFieldDiff[];
1895
+ }
1896
+ export interface PatchFieldDiff {
1897
+ path?: string;
1898
+ op?: "changed" | "added" | "removed";
1899
+ baseline_value?: any;
1900
+ current_value?: any;
1901
+ }
1902
+ export interface PatchResourceDiff {
1903
+ type?: string;
1904
+ source_id?: string;
1905
+ address?: string;
1906
+ name?: string;
1907
+ changes?: PatchFieldDiff[];
1908
+ }
1784
1909
  export type PlanChanges = ("create" | "update" | "internal-update" | "no-op" | "delete" | "ignored")[];
1785
1910
  /**
1786
1911
  * List of feature settings that must be enabled before installing the blueprint
@@ -1857,7 +1982,7 @@ declare namespace Components {
1857
1982
  /**
1858
1983
  * Type of the resource
1859
1984
  */
1860
- 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";
1985
+ 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";
1861
1986
  export interface ResourceReplacement {
1862
1987
  /**
1863
1988
  * Original resource ID to be replaced
@@ -1940,6 +2065,48 @@ declare namespace Components {
1940
2065
  */
1941
2066
  pipeline_id?: string;
1942
2067
  }
2068
+ export interface SuggestBlueprintResourcesRequest {
2069
+ /**
2070
+ * Natural-language description of what to include.
2071
+ * example:
2072
+ * everything for the hausanschluss use case
2073
+ */
2074
+ prompt: string;
2075
+ /**
2076
+ * When provided, suggestions are scoped as additions to this existing
2077
+ * blueprint — resources already in it are excluded from the response.
2078
+ *
2079
+ * example:
2080
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
2081
+ */
2082
+ blueprint_id?: string;
2083
+ }
2084
+ export interface SuggestBlueprintResourcesResponse {
2085
+ /**
2086
+ * Suggested resources to add. All marked is_root so the caller can request transitive dependency resolution.
2087
+ */
2088
+ resources: BlueprintResource[];
2089
+ /**
2090
+ * Short title derived from the prompt. Useful when the caller is
2091
+ * creating a new blueprint as a result of the suggestion — saves the
2092
+ * user from naming it themselves.
2093
+ *
2094
+ * example:
2095
+ * Hausanschluss
2096
+ */
2097
+ suggested_blueprint_name?: string;
2098
+ /**
2099
+ * Short human-readable summary of what was matched and why.
2100
+ */
2101
+ explanation?: string;
2102
+ /**
2103
+ * Hint to the caller: persist via bulkAddBlueprintResources with
2104
+ * ?add_dependencies=true so anchor resources (journeys, workflows)
2105
+ * pull their transitive dependencies.
2106
+ *
2107
+ */
2108
+ add_dependencies_recommended?: boolean;
2109
+ }
1943
2110
  export interface UploadFilePayload {
1944
2111
  /**
1945
2112
  * example:
@@ -1947,6 +2114,15 @@ declare namespace Components {
1947
2114
  */
1948
2115
  filename: string;
1949
2116
  }
2117
+ export interface V3ResourceProgressEntry {
2118
+ lineage_id: string;
2119
+ type: string;
2120
+ address: string;
2121
+ name?: string;
2122
+ status: "pending" | "in_progress" | "done" | "failed" | "skipped";
2123
+ target_id?: string;
2124
+ error_message?: string;
2125
+ }
1950
2126
  export interface VerificationSummary {
1951
2127
  total_resources?: number;
1952
2128
  matched?: number;
@@ -2003,6 +2179,34 @@ declare namespace Paths {
2003
2179
  }
2004
2180
  }
2005
2181
  }
2182
+ namespace ApplyPatch {
2183
+ namespace Parameters {
2184
+ export type BlueprintId = /**
2185
+ * ID of a blueprint
2186
+ * example:
2187
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
2188
+ */
2189
+ Components.Schemas.BlueprintID;
2190
+ export type PatchId = string;
2191
+ }
2192
+ export interface PathParameters {
2193
+ blueprint_id: Parameters.BlueprintId;
2194
+ patch_id: Parameters.PatchId;
2195
+ }
2196
+ export interface RequestBody {
2197
+ org_id: string;
2198
+ org_name: string;
2199
+ dest_blueprint_id: string;
2200
+ dest_org_id?: string;
2201
+ /**
2202
+ * Auth token with access to the destination org (e.g. pipeline token)
2203
+ */
2204
+ destination_auth_token?: string;
2205
+ }
2206
+ namespace Responses {
2207
+ export type $200 = Components.Schemas.OrgPatchExecution;
2208
+ }
2209
+ }
2006
2210
  namespace ApplyPlan {
2007
2211
  namespace Parameters {
2008
2212
  export type JobId = /**
@@ -2216,6 +2420,36 @@ declare namespace Paths {
2216
2420
  }
2217
2421
  }
2218
2422
  }
2423
+ namespace CreatePatch {
2424
+ namespace Parameters {
2425
+ export type BlueprintId = /**
2426
+ * ID of a blueprint
2427
+ * example:
2428
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
2429
+ */
2430
+ Components.Schemas.BlueprintID;
2431
+ }
2432
+ export interface PathParameters {
2433
+ blueprint_id: Parameters.BlueprintId;
2434
+ }
2435
+ export interface RequestBody {
2436
+ blueprint_id: /**
2437
+ * ID of a blueprint
2438
+ * example:
2439
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
2440
+ */
2441
+ Components.Schemas.BlueprintID;
2442
+ rollout_id: string;
2443
+ source_org_id: string;
2444
+ name: string;
2445
+ description?: string;
2446
+ resources: Components.Schemas.PatchResourceDiff[];
2447
+ changelog?: string;
2448
+ }
2449
+ namespace Responses {
2450
+ export type $201 = Components.Schemas.BlueprintPatch;
2451
+ }
2452
+ }
2219
2453
  namespace CreatePlan {
2220
2454
  export type RequestBody = {
2221
2455
  /**
@@ -2378,6 +2612,40 @@ declare namespace Paths {
2378
2612
  }
2379
2613
  }
2380
2614
  }
2615
+ namespace DetectPatchChanges {
2616
+ namespace Parameters {
2617
+ export type BlueprintId = /**
2618
+ * ID of a blueprint
2619
+ * example:
2620
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
2621
+ */
2622
+ Components.Schemas.BlueprintID;
2623
+ }
2624
+ export interface PathParameters {
2625
+ blueprint_id: Parameters.BlueprintId;
2626
+ }
2627
+ export interface RequestBody {
2628
+ /**
2629
+ * Organization ID of the source org where changes were made
2630
+ */
2631
+ source_org_id?: string;
2632
+ /**
2633
+ * Organization ID of a destination org (used to load tfstate baseline)
2634
+ */
2635
+ dest_org_id?: string;
2636
+ /**
2637
+ * Blueprint ID in the destination org (used to locate tfstate in S3)
2638
+ */
2639
+ dest_blueprint_id?: string;
2640
+ /**
2641
+ * ID of the mass rollout
2642
+ */
2643
+ rollout_id?: string;
2644
+ }
2645
+ namespace Responses {
2646
+ export type $200 = Components.Schemas.DetectChangesResult;
2647
+ }
2648
+ }
2381
2649
  namespace ExportBlueprint {
2382
2650
  namespace Parameters {
2383
2651
  export type BlueprintId = /**
@@ -2693,6 +2961,26 @@ declare namespace Paths {
2693
2961
  }
2694
2962
  }
2695
2963
  }
2964
+ namespace GetPatch {
2965
+ namespace Parameters {
2966
+ export type BlueprintId = /**
2967
+ * ID of a blueprint
2968
+ * example:
2969
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
2970
+ */
2971
+ Components.Schemas.BlueprintID;
2972
+ export type PatchId = string;
2973
+ }
2974
+ export interface PathParameters {
2975
+ blueprint_id: Parameters.BlueprintId;
2976
+ patch_id: Parameters.PatchId;
2977
+ }
2978
+ namespace Responses {
2979
+ export type $200 = Components.Schemas.BlueprintPatchWithResults;
2980
+ export interface $404 {
2981
+ }
2982
+ }
2983
+ }
2696
2984
  namespace InstallBlueprint {
2697
2985
  export interface RequestBody {
2698
2986
  source_org_id?: string;
@@ -2713,6 +3001,14 @@ declare namespace Paths {
2713
3001
  * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
2714
3002
  */
2715
3003
  Components.Schemas.BlueprintID;
3004
+ /**
3005
+ * 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.
3006
+ */
3007
+ source_auth_token?: string;
3008
+ /**
3009
+ * Auth token with access to the destination org. Defaults to the caller's bearer token.
3010
+ */
3011
+ destination_auth_token?: string;
2716
3012
  options?: Components.Schemas.BlueprintInstallationJobOptions;
2717
3013
  /**
2718
3014
  * Installation mode
@@ -2746,7 +3042,35 @@ declare namespace Paths {
2746
3042
  }
2747
3043
  }
2748
3044
  namespace InstallBlueprintV3 {
2749
- export interface RequestBody {
3045
+ export type RequestBody = {
3046
+ source_org_id: string;
3047
+ source_blueprint_id: /**
3048
+ * ID of a blueprint
3049
+ * example:
3050
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
3051
+ */
3052
+ Components.Schemas.BlueprintID;
3053
+ /**
3054
+ * S3 key to the blueprint zip file
3055
+ */
3056
+ source_blueprint_file?: string;
3057
+ destination_org_id: string;
3058
+ destination_blueprint_id?: /**
3059
+ * ID of a blueprint
3060
+ * example:
3061
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
3062
+ */
3063
+ Components.Schemas.BlueprintID;
3064
+ /**
3065
+ * 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.
3066
+ */
3067
+ destination_auth_token?: string;
3068
+ options?: Components.Schemas.BlueprintInstallationJobOptions;
3069
+ /**
3070
+ * Slug for marketplace blueprint consistency
3071
+ */
3072
+ slug?: string;
3073
+ } | {
2750
3074
  source_org_id?: string;
2751
3075
  source_blueprint_id?: /**
2752
3076
  * ID of a blueprint
@@ -2757,8 +3081,8 @@ declare namespace Paths {
2757
3081
  /**
2758
3082
  * S3 key to the blueprint zip file
2759
3083
  */
2760
- source_blueprint_file?: string;
2761
- destination_org_id?: string;
3084
+ source_blueprint_file: string;
3085
+ destination_org_id: string;
2762
3086
  destination_blueprint_id?: /**
2763
3087
  * ID of a blueprint
2764
3088
  * example:
@@ -2774,7 +3098,7 @@ declare namespace Paths {
2774
3098
  * Slug for marketplace blueprint consistency
2775
3099
  */
2776
3100
  slug?: string;
2777
- }
3101
+ };
2778
3102
  namespace Responses {
2779
3103
  export interface $202 {
2780
3104
  job_id?: /**
@@ -2790,6 +3114,9 @@ declare namespace Paths {
2790
3114
  */
2791
3115
  Components.Schemas.BlueprintID;
2792
3116
  }
3117
+ export interface $400 {
3118
+ message?: string;
3119
+ }
2793
3120
  }
2794
3121
  }
2795
3122
  namespace ListBlueprintJobs {
@@ -2901,6 +3228,25 @@ declare namespace Paths {
2901
3228
  }
2902
3229
  }
2903
3230
  }
3231
+ namespace ListPatches {
3232
+ namespace Parameters {
3233
+ export type BlueprintId = /**
3234
+ * ID of a blueprint
3235
+ * example:
3236
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
3237
+ */
3238
+ Components.Schemas.BlueprintID;
3239
+ }
3240
+ export interface PathParameters {
3241
+ blueprint_id: Parameters.BlueprintId;
3242
+ }
3243
+ namespace Responses {
3244
+ export interface $200 {
3245
+ total?: number;
3246
+ results?: Components.Schemas.BlueprintPatch[];
3247
+ }
3248
+ }
3249
+ }
2904
3250
  namespace PreInstallBlueprint {
2905
3251
  export interface RequestBody {
2906
3252
  /**
@@ -2970,6 +3316,37 @@ declare namespace Paths {
2970
3316
  }
2971
3317
  }
2972
3318
  }
3319
+ namespace RetryPatchOrg {
3320
+ namespace Parameters {
3321
+ export type BlueprintId = /**
3322
+ * ID of a blueprint
3323
+ * example:
3324
+ * c2d6cac8-bdd5-4ea2-8a6c-1cbdbe77b341
3325
+ */
3326
+ Components.Schemas.BlueprintID;
3327
+ export type OrgId = string;
3328
+ export type PatchId = string;
3329
+ }
3330
+ export interface PathParameters {
3331
+ blueprint_id: Parameters.BlueprintId;
3332
+ patch_id: Parameters.PatchId;
3333
+ org_id: Parameters.OrgId;
3334
+ }
3335
+ export interface RequestBody {
3336
+ org_name?: string;
3337
+ dest_blueprint_id?: string;
3338
+ destination_auth_token?: string;
3339
+ }
3340
+ namespace Responses {
3341
+ export type $200 = Components.Schemas.OrgPatchExecution;
3342
+ }
3343
+ }
3344
+ namespace SuggestBlueprintResources {
3345
+ export type RequestBody = Components.Schemas.SuggestBlueprintResourcesRequest;
3346
+ namespace Responses {
3347
+ export type $200 = Components.Schemas.SuggestBlueprintResourcesResponse;
3348
+ }
3349
+ }
2973
3350
  namespace SyncDependencies {
2974
3351
  namespace Parameters {
2975
3352
  export type BlueprintId = /**
@@ -3415,6 +3792,68 @@ export interface OperationMethods {
3415
3792
  data?: Paths.VerifyBlueprint.RequestBody,
3416
3793
  config?: AxiosRequestConfig
3417
3794
  ): OperationResponse<Paths.VerifyBlueprint.Responses.$202>
3795
+ /**
3796
+ * detectPatchChanges - detectPatchChanges
3797
+ *
3798
+ * Detect changes between the current state of a blueprint's resources and its tfstate baseline.
3799
+ * Returns field-level diffs for resources that have been modified since the blueprint was last installed/exported.
3800
+ *
3801
+ */
3802
+ 'detectPatchChanges'(
3803
+ parameters?: Parameters<Paths.DetectPatchChanges.PathParameters> | null,
3804
+ data?: Paths.DetectPatchChanges.RequestBody,
3805
+ config?: AxiosRequestConfig
3806
+ ): OperationResponse<Paths.DetectPatchChanges.Responses.$200>
3807
+ /**
3808
+ * listPatches - listPatches
3809
+ *
3810
+ * List all patches for a blueprint.
3811
+ */
3812
+ 'listPatches'(
3813
+ parameters?: Parameters<Paths.ListPatches.PathParameters> | null,
3814
+ data?: any,
3815
+ config?: AxiosRequestConfig
3816
+ ): OperationResponse<Paths.ListPatches.Responses.$200>
3817
+ /**
3818
+ * createPatch - createPatch
3819
+ *
3820
+ * Create a new patch for a blueprint.
3821
+ */
3822
+ 'createPatch'(
3823
+ parameters?: Parameters<Paths.CreatePatch.PathParameters> | null,
3824
+ data?: Paths.CreatePatch.RequestBody,
3825
+ config?: AxiosRequestConfig
3826
+ ): OperationResponse<Paths.CreatePatch.Responses.$201>
3827
+ /**
3828
+ * getPatch - getPatch
3829
+ *
3830
+ * Get a patch by ID, including per-org execution results.
3831
+ */
3832
+ 'getPatch'(
3833
+ parameters?: Parameters<Paths.GetPatch.PathParameters> | null,
3834
+ data?: any,
3835
+ config?: AxiosRequestConfig
3836
+ ): OperationResponse<Paths.GetPatch.Responses.$200>
3837
+ /**
3838
+ * applyPatch - applyPatch
3839
+ *
3840
+ * Apply a patch to a single destination org.
3841
+ */
3842
+ 'applyPatch'(
3843
+ parameters?: Parameters<Paths.ApplyPatch.PathParameters> | null,
3844
+ data?: Paths.ApplyPatch.RequestBody,
3845
+ config?: AxiosRequestConfig
3846
+ ): OperationResponse<Paths.ApplyPatch.Responses.$200>
3847
+ /**
3848
+ * retryPatchOrg - retryPatchOrg
3849
+ *
3850
+ * Retry a failed patch execution for a specific org.
3851
+ */
3852
+ 'retryPatchOrg'(
3853
+ parameters?: Parameters<Paths.RetryPatchOrg.PathParameters> | null,
3854
+ data?: Paths.RetryPatchOrg.RequestBody,
3855
+ config?: AxiosRequestConfig
3856
+ ): OperationResponse<Paths.RetryPatchOrg.Responses.$200>
3418
3857
  /**
3419
3858
  * exportBlueprint - exportBlueprint
3420
3859
  *
@@ -3460,6 +3899,28 @@ export interface OperationMethods {
3460
3899
  data?: Paths.FormatBlueprintDescription.RequestBody,
3461
3900
  config?: AxiosRequestConfig
3462
3901
  ): OperationResponse<Paths.FormatBlueprintDescription.Responses.$200>
3902
+ /**
3903
+ * suggestBlueprintResources - suggestBlueprintResources
3904
+ *
3905
+ * Suggest resources to add to a blueprint based on a natural-language prompt.
3906
+ *
3907
+ * Walks anchor resource types in priority order (journey > workflow_definition >
3908
+ * automation_flow > schema > entity-backed types) and returns matches per
3909
+ * anchor using each upstream API's text search. Suggestions are marked
3910
+ * `is_root: true` so callers can pass `add_dependencies=true` to
3911
+ * bulkAddBlueprintResources and have transitive dependencies resolved
3912
+ * server-side — which means a single matched journey can stand in for its
3913
+ * full product/schema/template bundle.
3914
+ *
3915
+ * No side effects on the blueprint — the caller persists the chosen resources
3916
+ * via the existing create/bulk-add endpoints.
3917
+ *
3918
+ */
3919
+ 'suggestBlueprintResources'(
3920
+ parameters?: Parameters<UnknownParamsObject> | null,
3921
+ data?: Paths.SuggestBlueprintResources.RequestBody,
3922
+ config?: AxiosRequestConfig
3923
+ ): OperationResponse<Paths.SuggestBlueprintResources.Responses.$200>
3463
3924
  /**
3464
3925
  * addBlueprintResource - addBlueprintResource
3465
3926
  *
@@ -3959,6 +4420,78 @@ export interface PathsDictionary {
3959
4420
  config?: AxiosRequestConfig
3960
4421
  ): OperationResponse<Paths.VerifyBlueprint.Responses.$202>
3961
4422
  }
4423
+ ['/v2/blueprint-manifest/blueprints/{blueprint_id}/patches:detect']: {
4424
+ /**
4425
+ * detectPatchChanges - detectPatchChanges
4426
+ *
4427
+ * Detect changes between the current state of a blueprint's resources and its tfstate baseline.
4428
+ * Returns field-level diffs for resources that have been modified since the blueprint was last installed/exported.
4429
+ *
4430
+ */
4431
+ 'post'(
4432
+ parameters?: Parameters<Paths.DetectPatchChanges.PathParameters> | null,
4433
+ data?: Paths.DetectPatchChanges.RequestBody,
4434
+ config?: AxiosRequestConfig
4435
+ ): OperationResponse<Paths.DetectPatchChanges.Responses.$200>
4436
+ }
4437
+ ['/v2/blueprint-manifest/blueprints/{blueprint_id}/patches']: {
4438
+ /**
4439
+ * createPatch - createPatch
4440
+ *
4441
+ * Create a new patch for a blueprint.
4442
+ */
4443
+ 'post'(
4444
+ parameters?: Parameters<Paths.CreatePatch.PathParameters> | null,
4445
+ data?: Paths.CreatePatch.RequestBody,
4446
+ config?: AxiosRequestConfig
4447
+ ): OperationResponse<Paths.CreatePatch.Responses.$201>
4448
+ /**
4449
+ * listPatches - listPatches
4450
+ *
4451
+ * List all patches for a blueprint.
4452
+ */
4453
+ 'get'(
4454
+ parameters?: Parameters<Paths.ListPatches.PathParameters> | null,
4455
+ data?: any,
4456
+ config?: AxiosRequestConfig
4457
+ ): OperationResponse<Paths.ListPatches.Responses.$200>
4458
+ }
4459
+ ['/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}']: {
4460
+ /**
4461
+ * getPatch - getPatch
4462
+ *
4463
+ * Get a patch by ID, including per-org execution results.
4464
+ */
4465
+ 'get'(
4466
+ parameters?: Parameters<Paths.GetPatch.PathParameters> | null,
4467
+ data?: any,
4468
+ config?: AxiosRequestConfig
4469
+ ): OperationResponse<Paths.GetPatch.Responses.$200>
4470
+ }
4471
+ ['/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}:apply']: {
4472
+ /**
4473
+ * applyPatch - applyPatch
4474
+ *
4475
+ * Apply a patch to a single destination org.
4476
+ */
4477
+ 'post'(
4478
+ parameters?: Parameters<Paths.ApplyPatch.PathParameters> | null,
4479
+ data?: Paths.ApplyPatch.RequestBody,
4480
+ config?: AxiosRequestConfig
4481
+ ): OperationResponse<Paths.ApplyPatch.Responses.$200>
4482
+ }
4483
+ ['/v2/blueprint-manifest/blueprints/{blueprint_id}/patches/{patch_id}/orgs/{org_id}:retry']: {
4484
+ /**
4485
+ * retryPatchOrg - retryPatchOrg
4486
+ *
4487
+ * Retry a failed patch execution for a specific org.
4488
+ */
4489
+ 'post'(
4490
+ parameters?: Parameters<Paths.RetryPatchOrg.PathParameters> | null,
4491
+ data?: Paths.RetryPatchOrg.RequestBody,
4492
+ config?: AxiosRequestConfig
4493
+ ): OperationResponse<Paths.RetryPatchOrg.Responses.$200>
4494
+ }
3962
4495
  ['/v2/blueprint-manifest/blueprints/{blueprint_id}:export']: {
3963
4496
  /**
3964
4497
  * exportBlueprint - exportBlueprint
@@ -4012,6 +4545,30 @@ export interface PathsDictionary {
4012
4545
  config?: AxiosRequestConfig
4013
4546
  ): OperationResponse<Paths.FormatBlueprintDescription.Responses.$200>
4014
4547
  }
4548
+ ['/v2/blueprint-manifest/blueprints:suggest-resources']: {
4549
+ /**
4550
+ * suggestBlueprintResources - suggestBlueprintResources
4551
+ *
4552
+ * Suggest resources to add to a blueprint based on a natural-language prompt.
4553
+ *
4554
+ * Walks anchor resource types in priority order (journey > workflow_definition >
4555
+ * automation_flow > schema > entity-backed types) and returns matches per
4556
+ * anchor using each upstream API's text search. Suggestions are marked
4557
+ * `is_root: true` so callers can pass `add_dependencies=true` to
4558
+ * bulkAddBlueprintResources and have transitive dependencies resolved
4559
+ * server-side — which means a single matched journey can stand in for its
4560
+ * full product/schema/template bundle.
4561
+ *
4562
+ * No side effects on the blueprint — the caller persists the chosen resources
4563
+ * via the existing create/bulk-add endpoints.
4564
+ *
4565
+ */
4566
+ 'post'(
4567
+ parameters?: Parameters<UnknownParamsObject> | null,
4568
+ data?: Paths.SuggestBlueprintResources.RequestBody,
4569
+ config?: AxiosRequestConfig
4570
+ ): OperationResponse<Paths.SuggestBlueprintResources.Responses.$200>
4571
+ }
4015
4572
  ['/v2/blueprint-manifest/blueprints/{blueprint_id}/resources']: {
4016
4573
  /**
4017
4574
  * addBlueprintResource - addBlueprintResource
@@ -4295,6 +4852,8 @@ export type BlueprintInstallationJobOptions = Components.Schemas.BlueprintInstal
4295
4852
  export type BlueprintJob = Components.Schemas.BlueprintJob;
4296
4853
  export type BlueprintJobEvent = Components.Schemas.BlueprintJobEvent;
4297
4854
  export type BlueprintJobID = Components.Schemas.BlueprintJobID;
4855
+ export type BlueprintPatch = Components.Schemas.BlueprintPatch;
4856
+ export type BlueprintPatchWithResults = Components.Schemas.BlueprintPatchWithResults;
4298
4857
  export type BlueprintPreview = Components.Schemas.BlueprintPreview;
4299
4858
  export type BlueprintResource = Components.Schemas.BlueprintResource;
4300
4859
  export type BlueprintResourceID = Components.Schemas.BlueprintResourceID;
@@ -4309,6 +4868,7 @@ export type CommonMarkdownFields = Components.Schemas.CommonMarkdownFields;
4309
4868
  export type CommonResourceNode = Components.Schemas.CommonResourceNode;
4310
4869
  export type CustomBlueprint = Components.Schemas.CustomBlueprint;
4311
4870
  export type DeployedBlueprint = Components.Schemas.DeployedBlueprint;
4871
+ export type DetectChangesResult = Components.Schemas.DetectChangesResult;
4312
4872
  export type FieldDiff = Components.Schemas.FieldDiff;
4313
4873
  export type FileBlueprint = Components.Schemas.FileBlueprint;
4314
4874
  export type FormattedError = Components.Schemas.FormattedError;
@@ -4329,6 +4889,9 @@ export type MarketplaceBlueprint = Components.Schemas.MarketplaceBlueprint;
4329
4889
  export type MarketplaceListing = Components.Schemas.MarketplaceListing;
4330
4890
  export type MarketplaceListingUpdate = Components.Schemas.MarketplaceListingUpdate;
4331
4891
  export type MarketplaceListingVersion = Components.Schemas.MarketplaceListingVersion;
4892
+ export type OrgPatchExecution = Components.Schemas.OrgPatchExecution;
4893
+ export type PatchFieldDiff = Components.Schemas.PatchFieldDiff;
4894
+ export type PatchResourceDiff = Components.Schemas.PatchResourceDiff;
4332
4895
  export type PlanChanges = Components.Schemas.PlanChanges;
4333
4896
  export type PreInstallRequirements = Components.Schemas.PreInstallRequirements;
4334
4897
  export type PutManifestPayload = Components.Schemas.PutManifestPayload;
@@ -4339,6 +4902,9 @@ export type ResourceVerificationResult = Components.Schemas.ResourceVerification
4339
4902
  export type RootResourceNode = Components.Schemas.RootResourceNode;
4340
4903
  export type S3Reference = Components.Schemas.S3Reference;
4341
4904
  export type SelectedResources = Components.Schemas.SelectedResources;
4905
+ export type SuggestBlueprintResourcesRequest = Components.Schemas.SuggestBlueprintResourcesRequest;
4906
+ export type SuggestBlueprintResourcesResponse = Components.Schemas.SuggestBlueprintResourcesResponse;
4342
4907
  export type UploadFilePayload = Components.Schemas.UploadFilePayload;
4908
+ export type V3ResourceProgressEntry = Components.Schemas.V3ResourceProgressEntry;
4343
4909
  export type VerificationSummary = Components.Schemas.VerificationSummary;
4344
4910
  export type VirtualResourceNodeGroup = Components.Schemas.VirtualResourceNodeGroup;