@epilot/blueprint-manifest-client 2.8.6 → 2.8.8

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
@@ -123,6 +123,12 @@ declare namespace Components {
123
123
  * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/selected_resources.json
124
124
  */
125
125
  selected_resources_url?: string;
126
+ /**
127
+ * All the resources that were marked as ready by the user
128
+ * example:
129
+ * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/ready_imported_resources.json
130
+ */
131
+ ready_imported_resources_url?: string;
126
132
  }
127
133
  export interface CommonMarkdownFields {
128
134
  /**
@@ -315,6 +321,12 @@ declare namespace Components {
315
321
  * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/selected_resources.json
316
322
  */
317
323
  selected_resources_url?: string;
324
+ /**
325
+ * All the resources that were marked as ready by the user
326
+ * example:
327
+ * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/ready_imported_resources.json
328
+ */
329
+ ready_imported_resources_url?: string;
318
330
  }
319
331
  /**
320
332
  * ID of an import or export job (state machine)
@@ -399,6 +411,12 @@ declare namespace Components {
399
411
  * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/selected_resources.json
400
412
  */
401
413
  selected_resources_url?: string;
414
+ /**
415
+ * All the resources that were marked as ready by the user
416
+ * example:
417
+ * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/ready_imported_resources.json
418
+ */
419
+ ready_imported_resources_url?: string;
402
420
  /**
403
421
  * Markdown content part of a manifest file
404
422
  */
@@ -512,6 +530,12 @@ declare namespace Components {
512
530
  * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/selected_resources.json
513
531
  */
514
532
  selected_resources_url?: string;
533
+ /**
534
+ * All the resources that were marked as ready by the user
535
+ * example:
536
+ * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/ready_imported_resources.json
537
+ */
538
+ ready_imported_resources_url?: string;
515
539
  /**
516
540
  * When the manifest was first installed (applied)
517
541
  */
@@ -542,6 +566,10 @@ declare namespace Components {
542
566
  * Markdown content of the manifest
543
567
  */
544
568
  markdown?: string;
569
+ /**
570
+ * Array of ids of resources selected to be ready by the user
571
+ */
572
+ ready_resources?: string[];
545
573
  }
546
574
  export interface ResourceNode {
547
575
  /**
@@ -926,6 +954,7 @@ declare namespace Paths {
926
954
  * journey_HouseConnectionJourney
927
955
  */
928
956
  resourceName: string;
957
+ metadata?: any;
929
958
  /**
930
959
  * Temporary flag to indicate if multiple resources are being exported
931
960
  */
package/dist/openapi.json CHANGED
@@ -200,6 +200,34 @@
200
200
  "type": "string",
201
201
  "example": "journey_HouseConnectionJourney"
202
202
  },
203
+ "metadata": {
204
+ "markdown": {
205
+ "type": "object",
206
+ "properties": {
207
+ "manifest": {
208
+ "type": "string"
209
+ },
210
+ "preinstall": {
211
+ "type": "string"
212
+ },
213
+ "postinstall": {
214
+ "type": "string"
215
+ }
216
+ }
217
+ },
218
+ "docs_link": {
219
+ "type": "string"
220
+ },
221
+ "source_blueprint_name": {
222
+ "type": "string"
223
+ },
224
+ "source_blueprint_slug": {
225
+ "type": "string"
226
+ },
227
+ "source_blueprint_version": {
228
+ "type": "string"
229
+ }
230
+ },
203
231
  "isExportingMultipleResources": {
204
232
  "type": "boolean",
205
233
  "description": "Temporary flag to indicate if multiple resources are being exported"
@@ -1045,6 +1073,11 @@
1045
1073
  "type": "string",
1046
1074
  "description": "All the resources that were selected to be exported, used to pre-select the resources when updating a sandbox manifest",
1047
1075
  "example": "https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/selected_resources.json"
1076
+ },
1077
+ "ready_imported_resources_url": {
1078
+ "type": "string",
1079
+ "description": "All the resources that were marked as ready by the user",
1080
+ "example": "https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/ready_imported_resources.json"
1048
1081
  }
1049
1082
  }
1050
1083
  },
@@ -1277,6 +1310,13 @@
1277
1310
  "markdown": {
1278
1311
  "type": "string",
1279
1312
  "description": "Markdown content of the manifest"
1313
+ },
1314
+ "ready_resources": {
1315
+ "type": "array",
1316
+ "items": {
1317
+ "type": "string"
1318
+ },
1319
+ "description": "Array of ids of resources selected to be ready by the user"
1280
1320
  }
1281
1321
  },
1282
1322
  "required": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "2.8.6",
3
+ "version": "2.8.8",
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",