@epilot/blueprint-manifest-client 2.6.8 → 2.6.10

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
@@ -567,7 +567,17 @@ declare namespace Components {
567
567
  }[];
568
568
  changes?: PlanChanges;
569
569
  }
570
- export type ResourceNodeType = "designbuilder" | "journey" | "product" | "price" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "custom_variable";
570
+ export type ResourceNodeType = "designbuilder" | "journey" | "product" | "price" | "tax" | "automation_flow" | "entity_mapping" | "file" | "emailtemplate" | "schema" | "schema_attribute" | "schema_capability" | "schema_group" | "schema_group_headline" | "workflow_definition" | "closing_reason" | "taxonomy_classification" | "webhook" | "custom_variable" | "coupon";
571
+ export interface ResourceReplacement {
572
+ /**
573
+ * Original resource ID to be replaced
574
+ */
575
+ originalAddress: string;
576
+ /**
577
+ * ID of the resource that will replace the original
578
+ */
579
+ replacementId: string;
580
+ }
571
581
  export interface RootResourceNode {
572
582
  /**
573
583
  * ID of the resource
@@ -672,6 +682,10 @@ declare namespace Paths {
672
682
  * List of resources to ignore changes for
673
683
  */
674
684
  resourcesToIgnore?: string[];
685
+ /**
686
+ * List of resource replacements to apply during import
687
+ */
688
+ resourceReplacements?: Components.Schemas.ResourceReplacement[];
675
689
  }
676
690
  namespace Responses {
677
691
  export interface $200 {
@@ -796,6 +810,10 @@ declare namespace Paths {
796
810
  * List of resources to ignore changes for
797
811
  */
798
812
  resourcesToIgnore?: string[];
813
+ /**
814
+ * List of resource replacements to apply during import
815
+ */
816
+ resourceReplacements?: Components.Schemas.ResourceReplacement[];
799
817
  } | {
800
818
  /**
801
819
  * Manifest s3 key uploaded via `uploadManifest`
@@ -815,6 +833,10 @@ declare namespace Paths {
815
833
  * List of resources to ignore changes for
816
834
  */
817
835
  resourcesToIgnore?: string[];
836
+ /**
837
+ * List of resource replacements to apply during import
838
+ */
839
+ resourceReplacements?: Components.Schemas.ResourceReplacement[];
818
840
  };
819
841
  namespace Responses {
820
842
  export interface $200 {
@@ -1185,6 +1207,7 @@ export type ManifestTimestampFields = Components.Schemas.ManifestTimestampFields
1185
1207
  export type PlanChanges = Components.Schemas.PlanChanges;
1186
1208
  export type ResourceNode = Components.Schemas.ResourceNode;
1187
1209
  export type ResourceNodeType = Components.Schemas.ResourceNodeType;
1210
+ export type ResourceReplacement = Components.Schemas.ResourceReplacement;
1188
1211
  export type RootResourceNode = Components.Schemas.RootResourceNode;
1189
1212
  export type S3Reference = Components.Schemas.S3Reference;
1190
1213
  export type SelectedResources = Components.Schemas.SelectedResources;
package/dist/openapi.json CHANGED
@@ -336,6 +336,13 @@
336
336
  "type": "string"
337
337
  },
338
338
  "description": "List of resources to ignore changes for"
339
+ },
340
+ "resourceReplacements": {
341
+ "type": "array",
342
+ "items": {
343
+ "$ref": "#/components/schemas/ResourceReplacement"
344
+ },
345
+ "description": "List of resource replacements to apply during import"
339
346
  }
340
347
  },
341
348
  "required": [
@@ -377,6 +384,13 @@
377
384
  "type": "string"
378
385
  },
379
386
  "description": "List of resources to ignore changes for"
387
+ },
388
+ "resourceReplacements": {
389
+ "type": "array",
390
+ "items": {
391
+ "$ref": "#/components/schemas/ResourceReplacement"
392
+ },
393
+ "description": "List of resource replacements to apply during import"
380
394
  }
381
395
  },
382
396
  "required": [
@@ -440,6 +454,13 @@
440
454
  "type": "string"
441
455
  },
442
456
  "description": "List of resources to ignore changes for"
457
+ },
458
+ "resourceReplacements": {
459
+ "type": "array",
460
+ "items": {
461
+ "$ref": "#/components/schemas/ResourceReplacement"
462
+ },
463
+ "description": "List of resource replacements to apply during import"
443
464
  }
444
465
  }
445
466
  }
@@ -663,7 +684,8 @@
663
684
  "closing_reason",
664
685
  "taxonomy_classification",
665
686
  "webhook",
666
- "custom_variable"
687
+ "custom_variable",
688
+ "coupon"
667
689
  ]
668
690
  },
669
691
  "PlanChanges": {
@@ -1175,6 +1197,23 @@
1175
1197
  "exported_root_resources",
1176
1198
  "selected_resources"
1177
1199
  ]
1200
+ },
1201
+ "ResourceReplacement": {
1202
+ "type": "object",
1203
+ "properties": {
1204
+ "originalAddress": {
1205
+ "type": "string",
1206
+ "description": "Original resource ID to be replaced"
1207
+ },
1208
+ "replacementId": {
1209
+ "type": "string",
1210
+ "description": "ID of the resource that will replace the original"
1211
+ }
1212
+ },
1213
+ "required": [
1214
+ "originalAddress",
1215
+ "replacementId"
1216
+ ]
1178
1217
  }
1179
1218
  },
1180
1219
  "parameters": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "2.6.8",
3
+ "version": "2.6.10",
4
4
  "description": "Client for epilot Terraform Blueprint Manifest API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",