@epilot/blueprint-manifest-client 2.7.1 → 2.8.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 +2 -1
- package/dist/openapi.json +8 -1
- package/package.json +2 -2
package/dist/openapi.d.ts
CHANGED
|
@@ -219,6 +219,7 @@ declare namespace Components {
|
|
|
219
219
|
* An URL to download the resources to import when the resources are too large to be included in the response
|
|
220
220
|
*/
|
|
221
221
|
large_resources_to_import_url?: string;
|
|
222
|
+
resource_replacements?: ResourceReplacement[];
|
|
222
223
|
/**
|
|
223
224
|
* Whether the manifest comes from a trusted source and is signed by epilot
|
|
224
225
|
*/
|
|
@@ -577,7 +578,7 @@ declare namespace Components {
|
|
|
577
578
|
}[];
|
|
578
579
|
changes?: PlanChanges;
|
|
579
580
|
}
|
|
580
|
-
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";
|
|
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
|
package/dist/openapi.json
CHANGED
|
@@ -724,7 +724,8 @@
|
|
|
724
724
|
"taxonomy_classification",
|
|
725
725
|
"webhook",
|
|
726
726
|
"custom_variable",
|
|
727
|
-
"coupon"
|
|
727
|
+
"coupon",
|
|
728
|
+
"usergroup"
|
|
728
729
|
]
|
|
729
730
|
},
|
|
730
731
|
"PlanChanges": {
|
|
@@ -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"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/blueprint-manifest-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0",
|
|
4
4
|
"description": "Client for epilot Terraform Blueprint Manifest API",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"test": "jest",
|
|
25
25
|
"bundle-definition": "webpack",
|
|
26
26
|
"openapi": "node ../../scripts/update-openapi.js https://docs.api.epilot.io/blueprint-manifest.yaml",
|
|
27
|
-
"openapi:local": "node ../../scripts/update-openapi.js ../../../
|
|
27
|
+
"openapi:local": "node ../../scripts/update-openapi.js ../../../blueprint-manifest-api/lambda/TerraformHandlerFunction/openapi.yml",
|
|
28
28
|
"typegen": "openapi typegen src/openapi.json --client -b '/* eslint-disable */' > src/openapi.d.ts",
|
|
29
29
|
"build": "tsc && npm run build:patch && npm run bundle-definition",
|
|
30
30
|
"build:patch": "sed -i'' -e '/^__exportStar.*openapi.*$/d' dist/index.js",
|