@epilot/blueprint-manifest-client 2.7.0 → 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 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
  */
@@ -535,6 +536,16 @@ declare namespace Components {
535
536
  updated_at?: string; // date-time
536
537
  }
537
538
  export type PlanChanges = ("create" | "update" | "no-op" | "delete")[];
539
+ export interface PutManifestPayload {
540
+ /**
541
+ * Name of the source blueprint
542
+ */
543
+ source_blueprint_name: string;
544
+ /**
545
+ * Markdown content of the manifest
546
+ */
547
+ markdown?: string;
548
+ }
538
549
  export interface ResourceNode {
539
550
  /**
540
551
  * ID of the resource
@@ -567,7 +578,7 @@ declare namespace Components {
567
578
  }[];
568
579
  changes?: PlanChanges;
569
580
  }
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";
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";
571
582
  export interface ResourceReplacement {
572
583
  /**
573
584
  * Original resource ID to be replaced
@@ -964,7 +975,7 @@ declare namespace Paths {
964
975
  export interface PathParameters {
965
976
  manifest_id: Parameters.ManifestId;
966
977
  }
967
- export type RequestBody = Components.Schemas.Manifest;
978
+ export type RequestBody = Components.Schemas.PutManifestPayload;
968
979
  namespace Responses {
969
980
  export type $200 = Components.Schemas.Manifest;
970
981
  }
@@ -1248,6 +1259,7 @@ export type ManifestItem = Components.Schemas.ManifestItem;
1248
1259
  export type ManifestSource = Components.Schemas.ManifestSource;
1249
1260
  export type ManifestTimestampFields = Components.Schemas.ManifestTimestampFields;
1250
1261
  export type PlanChanges = Components.Schemas.PlanChanges;
1262
+ export type PutManifestPayload = Components.Schemas.PutManifestPayload;
1251
1263
  export type ResourceNode = Components.Schemas.ResourceNode;
1252
1264
  export type ResourceNodeType = Components.Schemas.ResourceNodeType;
1253
1265
  export type ResourceReplacement = Components.Schemas.ResourceReplacement;
package/dist/openapi.json CHANGED
@@ -572,7 +572,7 @@
572
572
  "content": {
573
573
  "application/json": {
574
574
  "schema": {
575
- "$ref": "#/components/schemas/Manifest"
575
+ "$ref": "#/components/schemas/PutManifestPayload"
576
576
  }
577
577
  }
578
578
  }
@@ -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"
@@ -1257,6 +1264,22 @@
1257
1264
  "originalAddress",
1258
1265
  "replacementId"
1259
1266
  ]
1267
+ },
1268
+ "PutManifestPayload": {
1269
+ "type": "object",
1270
+ "properties": {
1271
+ "source_blueprint_name": {
1272
+ "type": "string",
1273
+ "description": "Name of the source blueprint"
1274
+ },
1275
+ "markdown": {
1276
+ "type": "string",
1277
+ "description": "Markdown content of the manifest"
1278
+ }
1279
+ },
1280
+ "required": [
1281
+ "source_blueprint_name"
1282
+ ]
1260
1283
  }
1261
1284
  },
1262
1285
  "parameters": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "2.7.0",
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",