@epilot/blueprint-manifest-client 2.6.5 → 2.6.6
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 +27 -2
- package/dist/openapi.json +67 -25
- package/package.json +2 -2
package/dist/openapi.d.ts
CHANGED
|
@@ -681,7 +681,7 @@ declare namespace Paths {
|
|
|
681
681
|
}
|
|
682
682
|
}
|
|
683
683
|
namespace CreateExport {
|
|
684
|
-
export
|
|
684
|
+
export type RequestBody = {
|
|
685
685
|
resourceType: Components.Schemas.ResourceNodeType;
|
|
686
686
|
resourceIds: [
|
|
687
687
|
string,
|
|
@@ -724,7 +724,32 @@ declare namespace Paths {
|
|
|
724
724
|
* Pipeline ID selected when doing the sandbox sync
|
|
725
725
|
*/
|
|
726
726
|
pipelineId?: string;
|
|
727
|
-
}
|
|
727
|
+
} | {
|
|
728
|
+
resources: [
|
|
729
|
+
{
|
|
730
|
+
type: Components.Schemas.ResourceNodeType;
|
|
731
|
+
id: string;
|
|
732
|
+
},
|
|
733
|
+
...{
|
|
734
|
+
type: Components.Schemas.ResourceNodeType;
|
|
735
|
+
id: string;
|
|
736
|
+
}[]
|
|
737
|
+
];
|
|
738
|
+
jobId?: /**
|
|
739
|
+
* ID of an import or export job (state machine)
|
|
740
|
+
* example:
|
|
741
|
+
* 4854bb2a-94f9-424d-a968-3fb17fb0bf89
|
|
742
|
+
*/
|
|
743
|
+
Components.Schemas.JobID;
|
|
744
|
+
/**
|
|
745
|
+
* Temporary flag to indicate if multiple resources are being exported
|
|
746
|
+
*/
|
|
747
|
+
isExportingMultipleResources?: boolean;
|
|
748
|
+
/**
|
|
749
|
+
* Pipeline ID selected when doing the sandbox sync
|
|
750
|
+
*/
|
|
751
|
+
pipelineId?: string;
|
|
752
|
+
};
|
|
728
753
|
namespace Responses {
|
|
729
754
|
export interface $200 {
|
|
730
755
|
jobId?: /**
|
package/dist/openapi.json
CHANGED
|
@@ -76,34 +76,76 @@
|
|
|
76
76
|
"content": {
|
|
77
77
|
"application/json": {
|
|
78
78
|
"schema": {
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
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
|
-
"
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
100
|
-
"type": "
|
|
101
|
-
"
|
|
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
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epilot/blueprint-manifest-client",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.6",
|
|
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 ../../../
|
|
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",
|