@epilot/blueprint-manifest-client 2.7.1 → 2.8.1
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 +40 -14
- package/dist/openapi.json +13 -5
- package/package.json +1 -1
package/dist/openapi.d.ts
CHANGED
|
@@ -157,10 +157,7 @@ declare namespace Components {
|
|
|
157
157
|
* ID of the resource
|
|
158
158
|
*/
|
|
159
159
|
id: string;
|
|
160
|
-
|
|
161
|
-
* Type of the resource
|
|
162
|
-
*/
|
|
163
|
-
type: ResourceNodeType;
|
|
160
|
+
type: /* Type of the resource */ ResourceNodeType;
|
|
164
161
|
/**
|
|
165
162
|
* Name of the resource
|
|
166
163
|
*/
|
|
@@ -181,7 +178,7 @@ declare namespace Components {
|
|
|
181
178
|
code?: FormattedErrorCodes;
|
|
182
179
|
data?: FormattedErrorData;
|
|
183
180
|
}
|
|
184
|
-
export type FormattedErrorCodes = "dependency_extraction" | "resource_not_found" | "resource_fetch_api_error" | "resource_fetch_unknown_error" | "terraform_cli_process_error" | "terraform_import_block_process_error" | "terraform_init_error" | "terraform_plan_error" | "terraform_apply_error" | "terraform_show_error";
|
|
181
|
+
export type FormattedErrorCodes = "dependency_extraction" | "resource_not_found" | "resource_fetch_api_error" | "resource_fetch_unknown_error" | "terraform_cli_process_error" | "terraform_import_block_process_error" | "terraform_init_error" | "terraform_plan_error" | "terraform_apply_error" | "terraform_show_error" | "generic_error";
|
|
185
182
|
export interface FormattedErrorData {
|
|
186
183
|
resource?: {
|
|
187
184
|
id?: string;
|
|
@@ -219,6 +216,7 @@ declare namespace Components {
|
|
|
219
216
|
* An URL to download the resources to import when the resources are too large to be included in the response
|
|
220
217
|
*/
|
|
221
218
|
large_resources_to_import_url?: string;
|
|
219
|
+
resource_replacements?: ResourceReplacement[];
|
|
222
220
|
/**
|
|
223
221
|
* Whether the manifest comes from a trusted source and is signed by epilot
|
|
224
222
|
*/
|
|
@@ -550,7 +548,7 @@ declare namespace Components {
|
|
|
550
548
|
* ID of the resource
|
|
551
549
|
*/
|
|
552
550
|
id: string;
|
|
553
|
-
type: ResourceNodeType;
|
|
551
|
+
type: /* Type of the resource */ ResourceNodeType;
|
|
554
552
|
/**
|
|
555
553
|
* Name of the resource
|
|
556
554
|
*/
|
|
@@ -573,11 +571,14 @@ declare namespace Components {
|
|
|
573
571
|
dependencies?: ResourceNode[] | null;
|
|
574
572
|
parents?: {
|
|
575
573
|
id?: string;
|
|
576
|
-
type?: ResourceNodeType;
|
|
574
|
+
type?: /* Type of the resource */ ResourceNodeType;
|
|
577
575
|
}[];
|
|
578
576
|
changes?: PlanChanges;
|
|
579
577
|
}
|
|
580
|
-
|
|
578
|
+
/**
|
|
579
|
+
* Type of the resource
|
|
580
|
+
*/
|
|
581
|
+
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" | "usergroup";
|
|
581
582
|
export interface ResourceReplacement {
|
|
582
583
|
/**
|
|
583
584
|
* Original resource ID to be replaced
|
|
@@ -597,7 +598,7 @@ declare namespace Components {
|
|
|
597
598
|
* ID of the resource
|
|
598
599
|
*/
|
|
599
600
|
id: string;
|
|
600
|
-
type: ResourceNodeType;
|
|
601
|
+
type: /* Type of the resource */ ResourceNodeType;
|
|
601
602
|
/**
|
|
602
603
|
* Name of the resource
|
|
603
604
|
*/
|
|
@@ -635,7 +636,7 @@ declare namespace Components {
|
|
|
635
636
|
export interface SelectedResources {
|
|
636
637
|
exported_root_resources: {
|
|
637
638
|
id: string;
|
|
638
|
-
type: ResourceNodeType;
|
|
639
|
+
type: /* Type of the resource */ ResourceNodeType;
|
|
639
640
|
}[];
|
|
640
641
|
selected_resources: string[];
|
|
641
642
|
/**
|
|
@@ -655,7 +656,7 @@ declare namespace Components {
|
|
|
655
656
|
* ID of the resource
|
|
656
657
|
*/
|
|
657
658
|
id: string;
|
|
658
|
-
type: ResourceNodeType;
|
|
659
|
+
type: /* Type of the resource */ ResourceNodeType;
|
|
659
660
|
/**
|
|
660
661
|
* Name of the resource
|
|
661
662
|
*/
|
|
@@ -714,7 +715,7 @@ declare namespace Paths {
|
|
|
714
715
|
}
|
|
715
716
|
namespace CreateExport {
|
|
716
717
|
export type RequestBody = {
|
|
717
|
-
resourceType: Components.Schemas.ResourceNodeType;
|
|
718
|
+
resourceType: /* Type of the resource */ Components.Schemas.ResourceNodeType;
|
|
718
719
|
resourceIds: [
|
|
719
720
|
string,
|
|
720
721
|
string?,
|
|
@@ -740,6 +741,31 @@ declare namespace Paths {
|
|
|
740
741
|
string?,
|
|
741
742
|
string?,
|
|
742
743
|
string?,
|
|
744
|
+
string?,
|
|
745
|
+
string?,
|
|
746
|
+
string?,
|
|
747
|
+
string?,
|
|
748
|
+
string?,
|
|
749
|
+
string?,
|
|
750
|
+
string?,
|
|
751
|
+
string?,
|
|
752
|
+
string?,
|
|
753
|
+
string?,
|
|
754
|
+
string?,
|
|
755
|
+
string?,
|
|
756
|
+
string?,
|
|
757
|
+
string?,
|
|
758
|
+
string?,
|
|
759
|
+
string?,
|
|
760
|
+
string?,
|
|
761
|
+
string?,
|
|
762
|
+
string?,
|
|
763
|
+
string?,
|
|
764
|
+
string?,
|
|
765
|
+
string?,
|
|
766
|
+
string?,
|
|
767
|
+
string?,
|
|
768
|
+
string?,
|
|
743
769
|
string?
|
|
744
770
|
];
|
|
745
771
|
jobId?: /**
|
|
@@ -759,11 +785,11 @@ declare namespace Paths {
|
|
|
759
785
|
} | {
|
|
760
786
|
resources: [
|
|
761
787
|
{
|
|
762
|
-
type: Components.Schemas.ResourceNodeType;
|
|
788
|
+
type: /* Type of the resource */ Components.Schemas.ResourceNodeType;
|
|
763
789
|
id: string;
|
|
764
790
|
},
|
|
765
791
|
...{
|
|
766
|
-
type: Components.Schemas.ResourceNodeType;
|
|
792
|
+
type: /* Type of the resource */ Components.Schemas.ResourceNodeType;
|
|
767
793
|
id: string;
|
|
768
794
|
}[]
|
|
769
795
|
];
|
package/dist/openapi.json
CHANGED
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"type": "string"
|
|
90
90
|
},
|
|
91
91
|
"minItems": 1,
|
|
92
|
-
"maxItems":
|
|
92
|
+
"maxItems": 50
|
|
93
93
|
},
|
|
94
94
|
"jobId": {
|
|
95
95
|
"$ref": "#/components/schemas/JobID"
|
|
@@ -704,6 +704,7 @@
|
|
|
704
704
|
},
|
|
705
705
|
"ResourceNodeType": {
|
|
706
706
|
"type": "string",
|
|
707
|
+
"description": "Type of the resource",
|
|
707
708
|
"enum": [
|
|
708
709
|
"designbuilder",
|
|
709
710
|
"journey",
|
|
@@ -724,7 +725,8 @@
|
|
|
724
725
|
"taxonomy_classification",
|
|
725
726
|
"webhook",
|
|
726
727
|
"custom_variable",
|
|
727
|
-
"coupon"
|
|
728
|
+
"coupon",
|
|
729
|
+
"usergroup"
|
|
728
730
|
]
|
|
729
731
|
},
|
|
730
732
|
"PlanChanges": {
|
|
@@ -747,8 +749,7 @@
|
|
|
747
749
|
"description": "ID of the resource"
|
|
748
750
|
},
|
|
749
751
|
"type": {
|
|
750
|
-
"$ref": "#/components/schemas/ResourceNodeType"
|
|
751
|
-
"description": "Type of the resource"
|
|
752
|
+
"$ref": "#/components/schemas/ResourceNodeType"
|
|
752
753
|
},
|
|
753
754
|
"name": {
|
|
754
755
|
"type": "string",
|
|
@@ -922,6 +923,12 @@
|
|
|
922
923
|
"type": "string",
|
|
923
924
|
"description": "An URL to download the resources to import when the resources are too large to be included in the response"
|
|
924
925
|
},
|
|
926
|
+
"resource_replacements": {
|
|
927
|
+
"type": "array",
|
|
928
|
+
"items": {
|
|
929
|
+
"$ref": "#/components/schemas/ResourceReplacement"
|
|
930
|
+
}
|
|
931
|
+
},
|
|
925
932
|
"is_verified": {
|
|
926
933
|
"type": "boolean",
|
|
927
934
|
"description": "Whether the manifest comes from a trusted source and is signed by epilot"
|
|
@@ -1130,7 +1137,8 @@
|
|
|
1130
1137
|
"terraform_init_error",
|
|
1131
1138
|
"terraform_plan_error",
|
|
1132
1139
|
"terraform_apply_error",
|
|
1133
|
-
"terraform_show_error"
|
|
1140
|
+
"terraform_show_error",
|
|
1141
|
+
"generic_error"
|
|
1134
1142
|
]
|
|
1135
1143
|
},
|
|
1136
1144
|
"FormattedErrorData": {
|