@epilot/blueprint-manifest-client 2.6.5 → 2.6.7

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
@@ -668,6 +668,10 @@ declare namespace Paths {
668
668
  * example.tf
669
669
  */
670
670
  manifestFilePath?: string | null;
671
+ /**
672
+ * List of resources to ignore changes for
673
+ */
674
+ resourcesToIgnore?: string[];
671
675
  }
672
676
  namespace Responses {
673
677
  export interface $200 {
@@ -681,7 +685,7 @@ declare namespace Paths {
681
685
  }
682
686
  }
683
687
  namespace CreateExport {
684
- export interface RequestBody {
688
+ export type RequestBody = {
685
689
  resourceType: Components.Schemas.ResourceNodeType;
686
690
  resourceIds: [
687
691
  string,
@@ -724,7 +728,32 @@ declare namespace Paths {
724
728
  * Pipeline ID selected when doing the sandbox sync
725
729
  */
726
730
  pipelineId?: string;
727
- }
731
+ } | {
732
+ resources: [
733
+ {
734
+ type: Components.Schemas.ResourceNodeType;
735
+ id: string;
736
+ },
737
+ ...{
738
+ type: Components.Schemas.ResourceNodeType;
739
+ id: string;
740
+ }[]
741
+ ];
742
+ jobId?: /**
743
+ * ID of an import or export job (state machine)
744
+ * example:
745
+ * 4854bb2a-94f9-424d-a968-3fb17fb0bf89
746
+ */
747
+ Components.Schemas.JobID;
748
+ /**
749
+ * Temporary flag to indicate if multiple resources are being exported
750
+ */
751
+ isExportingMultipleResources?: boolean;
752
+ /**
753
+ * Pipeline ID selected when doing the sandbox sync
754
+ */
755
+ pipelineId?: string;
756
+ };
728
757
  namespace Responses {
729
758
  export interface $200 {
730
759
  jobId?: /**
@@ -763,6 +792,10 @@ declare namespace Paths {
763
792
  * Source of the manifest
764
793
  */
765
794
  source?: "file" | "marketplace" | "sandbox";
795
+ /**
796
+ * List of resources to ignore changes for
797
+ */
798
+ resourcesToIgnore?: string[];
766
799
  } | {
767
800
  /**
768
801
  * Manifest s3 key uploaded via `uploadManifest`
@@ -778,6 +811,10 @@ declare namespace Paths {
778
811
  * Source of the manifest
779
812
  */
780
813
  source?: "file" | "marketplace" | "sandbox";
814
+ /**
815
+ * List of resources to ignore changes for
816
+ */
817
+ resourcesToIgnore?: string[];
781
818
  };
782
819
  namespace Responses {
783
820
  export interface $200 {
package/dist/openapi.json CHANGED
@@ -76,34 +76,76 @@
76
76
  "content": {
77
77
  "application/json": {
78
78
  "schema": {
79
- "type": "object",
80
- "properties": {
81
- "resourceType": {
82
- "$ref": "#/components/schemas/ResourceNodeType"
83
- },
84
- "resourceIds": {
85
- "type": "array",
86
- "items": {
87
- "type": "string"
79
+ "oneOf": [
80
+ {
81
+ "type": "object",
82
+ "properties": {
83
+ "resourceType": {
84
+ "$ref": "#/components/schemas/ResourceNodeType"
85
+ },
86
+ "resourceIds": {
87
+ "type": "array",
88
+ "items": {
89
+ "type": "string"
90
+ },
91
+ "minItems": 1,
92
+ "maxItems": 25
93
+ },
94
+ "jobId": {
95
+ "$ref": "#/components/schemas/JobID"
96
+ },
97
+ "isExportingMultipleResources": {
98
+ "type": "boolean",
99
+ "description": "Temporary flag to indicate if multiple resources are being exported"
100
+ },
101
+ "pipelineId": {
102
+ "type": "string",
103
+ "description": "Pipeline ID selected when doing the sandbox sync"
104
+ }
88
105
  },
89
- "minItems": 1,
90
- "maxItems": 25
91
- },
92
- "jobId": {
93
- "$ref": "#/components/schemas/JobID"
94
- },
95
- "isExportingMultipleResources": {
96
- "type": "boolean",
97
- "description": "Temporary flag to indicate if multiple resources are being exported"
106
+ "required": [
107
+ "resourceType",
108
+ "resourceIds"
109
+ ]
98
110
  },
99
- "pipelineId": {
100
- "type": "string",
101
- "description": "Pipeline ID selected when doing the sandbox sync"
111
+ {
112
+ "type": "object",
113
+ "properties": {
114
+ "resources": {
115
+ "type": "array",
116
+ "items": {
117
+ "type": "object",
118
+ "properties": {
119
+ "type": {
120
+ "$ref": "#/components/schemas/ResourceNodeType"
121
+ },
122
+ "id": {
123
+ "type": "string"
124
+ }
125
+ },
126
+ "required": [
127
+ "type",
128
+ "id"
129
+ ]
130
+ },
131
+ "minItems": 1
132
+ },
133
+ "jobId": {
134
+ "$ref": "#/components/schemas/JobID"
135
+ },
136
+ "isExportingMultipleResources": {
137
+ "type": "boolean",
138
+ "description": "Temporary flag to indicate if multiple resources are being exported"
139
+ },
140
+ "pipelineId": {
141
+ "type": "string",
142
+ "description": "Pipeline ID selected when doing the sandbox sync"
143
+ }
144
+ },
145
+ "required": [
146
+ "resources"
147
+ ]
102
148
  }
103
- },
104
- "required": [
105
- "resourceType",
106
- "resourceIds"
107
149
  ]
108
150
  }
109
151
  }
@@ -280,6 +322,13 @@
280
322
  "$ref": "#/components/schemas/ManifestSource"
281
323
  }
282
324
  ]
325
+ },
326
+ "resourcesToIgnore": {
327
+ "type": "array",
328
+ "items": {
329
+ "type": "string"
330
+ },
331
+ "description": "List of resources to ignore changes for"
283
332
  }
284
333
  },
285
334
  "required": [
@@ -314,6 +363,13 @@
314
363
  "$ref": "#/components/schemas/ManifestSource"
315
364
  }
316
365
  ]
366
+ },
367
+ "resourcesToIgnore": {
368
+ "type": "array",
369
+ "items": {
370
+ "type": "string"
371
+ },
372
+ "description": "List of resources to ignore changes for"
317
373
  }
318
374
  },
319
375
  "required": [
@@ -370,6 +426,13 @@
370
426
  "example": "example.tf",
371
427
  "deprecated": true,
372
428
  "nullable": true
429
+ },
430
+ "resourcesToIgnore": {
431
+ "type": "array",
432
+ "items": {
433
+ "type": "string"
434
+ },
435
+ "description": "List of resources to ignore changes for"
373
436
  }
374
437
  }
375
438
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/blueprint-manifest-client",
3
- "version": "2.6.5",
3
+ "version": "2.6.7",
4
4
  "description": "Client for epilot Terraform Blueprint Manifest API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",