@epilot/blueprint-manifest-client 2.7.0 → 2.7.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 CHANGED
@@ -535,6 +535,16 @@ declare namespace Components {
535
535
  updated_at?: string; // date-time
536
536
  }
537
537
  export type PlanChanges = ("create" | "update" | "no-op" | "delete")[];
538
+ export interface PutManifestPayload {
539
+ /**
540
+ * Name of the source blueprint
541
+ */
542
+ source_blueprint_name: string;
543
+ /**
544
+ * Markdown content of the manifest
545
+ */
546
+ markdown?: string;
547
+ }
538
548
  export interface ResourceNode {
539
549
  /**
540
550
  * ID of the resource
@@ -964,7 +974,7 @@ declare namespace Paths {
964
974
  export interface PathParameters {
965
975
  manifest_id: Parameters.ManifestId;
966
976
  }
967
- export type RequestBody = Components.Schemas.Manifest;
977
+ export type RequestBody = Components.Schemas.PutManifestPayload;
968
978
  namespace Responses {
969
979
  export type $200 = Components.Schemas.Manifest;
970
980
  }
@@ -1248,6 +1258,7 @@ export type ManifestItem = Components.Schemas.ManifestItem;
1248
1258
  export type ManifestSource = Components.Schemas.ManifestSource;
1249
1259
  export type ManifestTimestampFields = Components.Schemas.ManifestTimestampFields;
1250
1260
  export type PlanChanges = Components.Schemas.PlanChanges;
1261
+ export type PutManifestPayload = Components.Schemas.PutManifestPayload;
1251
1262
  export type ResourceNode = Components.Schemas.ResourceNode;
1252
1263
  export type ResourceNodeType = Components.Schemas.ResourceNodeType;
1253
1264
  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
  }
@@ -1257,6 +1257,22 @@
1257
1257
  "originalAddress",
1258
1258
  "replacementId"
1259
1259
  ]
1260
+ },
1261
+ "PutManifestPayload": {
1262
+ "type": "object",
1263
+ "properties": {
1264
+ "source_blueprint_name": {
1265
+ "type": "string",
1266
+ "description": "Name of the source blueprint"
1267
+ },
1268
+ "markdown": {
1269
+ "type": "string",
1270
+ "description": "Markdown content of the manifest"
1271
+ }
1272
+ },
1273
+ "required": [
1274
+ "source_blueprint_name"
1275
+ ]
1260
1276
  }
1261
1277
  },
1262
1278
  "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.7.1",
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 ../../../blueprint-manifest-api/lambda/TerraformHandlerFunction/openapi.yml",
27
+ "openapi:local": "node ../../scripts/update-openapi.js ../../../blueprints-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",