@epilot/blueprint-manifest-client 2.6.3 → 2.6.5

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
@@ -117,6 +117,12 @@ declare namespace Components {
117
117
  * 1.0.0
118
118
  */
119
119
  manifest_version?: string;
120
+ /**
121
+ * All the resources that were selected to be exported, used to pre-select the resources when updating a sandbox manifest
122
+ * example:
123
+ * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/selected_resources.json
124
+ */
125
+ selected_resources_url?: string;
120
126
  }
121
127
  export interface CommonMarkdownFields {
122
128
  /**
@@ -305,6 +311,12 @@ declare namespace Components {
305
311
  * 1.0.0
306
312
  */
307
313
  manifest_version?: string;
314
+ /**
315
+ * All the resources that were selected to be exported, used to pre-select the resources when updating a sandbox manifest
316
+ * example:
317
+ * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/selected_resources.json
318
+ */
319
+ selected_resources_url?: string;
308
320
  }
309
321
  /**
310
322
  * ID of an import or export job (state machine)
@@ -383,6 +395,12 @@ declare namespace Components {
383
395
  * 1.0.0
384
396
  */
385
397
  manifest_version?: string;
398
+ /**
399
+ * All the resources that were selected to be exported, used to pre-select the resources when updating a sandbox manifest
400
+ * example:
401
+ * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/selected_resources.json
402
+ */
403
+ selected_resources_url?: string;
386
404
  /**
387
405
  * Markdown content part of a manifest file
388
406
  */
@@ -490,6 +508,12 @@ declare namespace Components {
490
508
  * 1.0.0
491
509
  */
492
510
  manifest_version?: string;
511
+ /**
512
+ * All the resources that were selected to be exported, used to pre-select the resources when updating a sandbox manifest
513
+ * example:
514
+ * https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/selected_resources.json
515
+ */
516
+ selected_resources_url?: string;
493
517
  /**
494
518
  * When the manifest was first installed (applied)
495
519
  */
@@ -584,6 +608,17 @@ declare namespace Components {
584
608
  */
585
609
  key: string;
586
610
  }
611
+ export interface SelectedResources {
612
+ exported_root_resources: {
613
+ id: string;
614
+ type: ResourceNodeType;
615
+ }[];
616
+ selected_resources: string[];
617
+ /**
618
+ * Pipeline ID selected when doing the sandbox sync
619
+ */
620
+ pipeline_id?: string;
621
+ }
587
622
  export interface UploadFilePayload {
588
623
  /**
589
624
  * example:
@@ -685,6 +720,10 @@ declare namespace Paths {
685
720
  * Temporary flag to indicate if multiple resources are being exported
686
721
  */
687
722
  isExportingMultipleResources?: boolean;
723
+ /**
724
+ * Pipeline ID selected when doing the sandbox sync
725
+ */
726
+ pipelineId?: string;
688
727
  }
689
728
  namespace Responses {
690
729
  export interface $200 {
@@ -792,6 +831,7 @@ declare namespace Paths {
792
831
  * Temporary flag to indicate if multiple resources are being exported
793
832
  */
794
833
  isExportingMultipleResources?: boolean;
834
+ generateAISummary?: boolean;
795
835
  }
796
836
  namespace Responses {
797
837
  export interface $200 {
@@ -1109,5 +1149,6 @@ export type ResourceNode = Components.Schemas.ResourceNode;
1109
1149
  export type ResourceNodeType = Components.Schemas.ResourceNodeType;
1110
1150
  export type RootResourceNode = Components.Schemas.RootResourceNode;
1111
1151
  export type S3Reference = Components.Schemas.S3Reference;
1152
+ export type SelectedResources = Components.Schemas.SelectedResources;
1112
1153
  export type UploadFilePayload = Components.Schemas.UploadFilePayload;
1113
1154
  export type VirtualResourceNodeGroup = Components.Schemas.VirtualResourceNodeGroup;
package/dist/openapi.json CHANGED
@@ -95,6 +95,10 @@
95
95
  "isExportingMultipleResources": {
96
96
  "type": "boolean",
97
97
  "description": "Temporary flag to indicate if multiple resources are being exported"
98
+ },
99
+ "pipelineId": {
100
+ "type": "string",
101
+ "description": "Pipeline ID selected when doing the sandbox sync"
98
102
  }
99
103
  },
100
104
  "required": [
@@ -157,6 +161,10 @@
157
161
  "isExportingMultipleResources": {
158
162
  "type": "boolean",
159
163
  "description": "Temporary flag to indicate if multiple resources are being exported"
164
+ },
165
+ "generateAISummary": {
166
+ "type": "boolean",
167
+ "default": false
160
168
  }
161
169
  },
162
170
  "required": [
@@ -893,6 +901,11 @@
893
901
  "type": "string",
894
902
  "description": "Version of the manifest (semver)",
895
903
  "example": "1.0.0"
904
+ },
905
+ "selected_resources_url": {
906
+ "type": "string",
907
+ "description": "All the resources that were selected to be exported, used to pre-select the resources when updating a sandbox manifest",
908
+ "example": "https://blueprint-manifest-prod.s3.eu-central-1.amazonaws.com/selected_resources.json"
896
909
  }
897
910
  }
898
911
  },
@@ -1055,6 +1068,43 @@
1055
1068
  "required": [
1056
1069
  "org_id"
1057
1070
  ]
1071
+ },
1072
+ "SelectedResources": {
1073
+ "type": "object",
1074
+ "properties": {
1075
+ "exported_root_resources": {
1076
+ "type": "array",
1077
+ "items": {
1078
+ "type": "object",
1079
+ "properties": {
1080
+ "id": {
1081
+ "type": "string"
1082
+ },
1083
+ "type": {
1084
+ "$ref": "#/components/schemas/ResourceNodeType"
1085
+ }
1086
+ },
1087
+ "required": [
1088
+ "id",
1089
+ "type"
1090
+ ]
1091
+ }
1092
+ },
1093
+ "selected_resources": {
1094
+ "type": "array",
1095
+ "items": {
1096
+ "type": "string"
1097
+ }
1098
+ },
1099
+ "pipeline_id": {
1100
+ "type": "string",
1101
+ "description": "Pipeline ID selected when doing the sandbox sync"
1102
+ }
1103
+ },
1104
+ "required": [
1105
+ "exported_root_resources",
1106
+ "selected_resources"
1107
+ ]
1058
1108
  }
1059
1109
  },
1060
1110
  "parameters": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "2.6.3",
3
+ "version": "2.6.5",
4
4
  "description": "Client for epilot Terraform Blueprint Manifest API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",