basyx-typescript-sdk 0.1.1 → 0.1.2

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.
@@ -0,0 +1,1705 @@
1
+ "use strict";
2
+ // This file is auto-generated by @hey-api/openapi-ts
3
+ Object.defineProperty(exports, "__esModule", { value: true });
4
+ exports.patchSubmodel = exports.getSubmodel = exports.getOperationAsyncResultValueOnlyAas = exports.getOperationAsyncResultAas = exports.getOperationAsyncStatusAas = exports.invokeOperationAsyncValueOnlyAas = exports.invokeOperationAsyncAas = exports.invokeOperationSyncValueOnlyAas = exports.invokeOperationSyncAas = exports.putFileByPathAas = exports.getFileByPathAas = exports.deleteFileByPathAas = exports.getSubmodelElementByPathPathAas = exports.getSubmodelElementByPathReferenceAas = exports.getSubmodelElementByPathValueOnlyAas = exports.patchSubmodelElementValueByPathMetadataAas = exports.getSubmodelElementByPathMetadataAas = exports.putSubmodelElementByPathAas = exports.postSubmodelElementByPathAas = exports.patchSubmodelElementValueByPathAas = exports.getSubmodelElementByPathAas = exports.deleteSubmodelElementByPathAas = exports.getAllSubmodelElementsPathAas = exports.getAllSubmodelElementsReferenceAas = exports.getAllSubmodelElementsValueOnlyAas = exports.getAllSubmodelElementsMetadataAas = exports.postSubmodelElementAas = exports.getAllSubmodelElementsAas = exports.getSubmodelPathAas = exports.getSubmodelMetadataReferenceAas = exports.patchSubmodelValueOnlyAas = exports.getSubmodelValueOnlyAas = exports.patchSubmodelMetadataAas = exports.getSubmodelMetadataAas = exports.putSubmodelAas = exports.patchSubmodelAas = exports.getSubmodelAas = exports.deleteSubmodelByIdAas = exports.deleteSubmodelReferenceById = exports.postSubmodelReference = exports.getAllSubmodelReferences = exports.putThumbnail = exports.getThumbnail = exports.deleteThumbnail = exports.putAssetInformation = exports.getAssetInformation = exports.getAssetAdministrationShellReference = exports.putAssetAdministrationShell = exports.getAssetAdministrationShell = exports.client = void 0;
5
+ exports.deleteSubmodelByIdAasRepository = exports.deleteSubmodelReferenceByIdAasRepository = exports.postSubmodelReferenceAasRepository = exports.getAllSubmodelReferencesAasRepository = exports.putThumbnailAasRepository = exports.getThumbnailAasRepository = exports.deleteThumbnailAasRepository = exports.putAssetInformationAasRepository = exports.getAssetInformationAasRepository = exports.getAssetAdministrationShellByIdReferenceAasRepository = exports.putAssetAdministrationShellById = exports.getAssetAdministrationShellById = exports.deleteAssetAdministrationShellById = exports.getAllAssetAdministrationShellsReference = exports.postAssetAdministrationShell = exports.getAllAssetAdministrationShells = exports.getOperationAsyncResultValueOnly = exports.getOperationAsyncResult = exports.getOperationAsyncStatus = exports.invokeOperationAsyncValueOnly = exports.invokeOperationSyncValueOnly = exports.invokeOperationAsync = exports.invokeOperation = exports.putFileByPath = exports.getFileByPath = exports.deleteFileByPath = exports.getSubmodelElementByPathPath = exports.getSubmodelElementByPathReference = exports.patchSubmodelElementByPathValueOnly = exports.getSubmodelElementByPathValueOnly = exports.patchSubmodelElementByPathMetadata = exports.getSubmodelElementByPathMetadata = exports.putSubmodelElementByPath = exports.postSubmodelElementByPath = exports.patchSubmodelElementByPath = exports.getSubmodelElementByPath = exports.deleteSubmodelElementByPath = exports.getAllSubmodelElementsPath = exports.getAllSubmodelElementsReference = exports.getAllSubmodelElementsValueOnly = exports.getAllSubmodelElementsMetadata = exports.postSubmodelElement = exports.getAllSubmodelElements = exports.getSubmodelPath = exports.getSubmodelReference = exports.patchSubmodelValueOnly = exports.getSubmodelValueOnly = exports.patchSubmodelMetadata = exports.getSubmodelMetadata = exports.putSubmodel = void 0;
6
+ exports.getSubmodelByIdReference = exports.patchSubmodelByIdValueOnly = exports.getSubmodelByIdValueOnly = exports.patchSubmodelByIdMetadata = exports.getSubmodelByIdMetadata = exports.putSubmodelById = exports.patchSubmodelById = exports.getSubmodelById = exports.deleteSubmodelById = exports.getAllSubmodelsPath = exports.getAllSubmodelsReference = exports.getAllSubmodelsValueOnly = exports.getAllSubmodelsMetadata = exports.postSubmodel = exports.getAllSubmodels = exports.getOperationAsyncResultValueOnlyAasRepository = exports.getOperationAsyncResultAasRepository = exports.getOperationAsyncStatusAasRepository = exports.invokeOperationAsyncValueOnlyAasRepository = exports.invokeOperationAsyncAasRepository = exports.invokeOperationValueOnlyAasRepository = exports.invokeOperationAasRepository = exports.putFileByPathAasRepository = exports.getFileByPathAasRepository = exports.deleteFileByPathAasRepository = exports.getSubmodelElementByPathPathAasRepository = exports.getSubmodelElementByPathReferenceAasRepository = exports.getSubmodelElementByPathValueOnlyAasRepository = exports.patchSubmodelElementValueByPathMetadata = exports.getSubmodelElementByPathMetadataAasRepository = exports.putSubmodelElementByPathAasRepository = exports.postSubmodelElementByPathAasRepository = exports.patchSubmodelElementValueByPathAasRepository = exports.getSubmodelElementByPathAasRepository = exports.deleteSubmodelElementByPathAasRepository = exports.getAllSubmodelElementsPathAasRepository = exports.getAllSubmodelElementsReferenceAasRepository = exports.getAllSubmodelElementsValueOnlyAasRepository = exports.getAllSubmodelElementsMetadataAasRepository = exports.postSubmodelElementAasRepository = exports.getAllSubmodelElementsAasRepository = exports.getSubmodelByIdPathAasRepository = exports.getSubmodelByIdReferenceAasRepository = exports.patchSubmodelByIdValueOnlyAasRepository = exports.getSubmodelByIdValueOnlyAasRepository = exports.patchSubmodelByIdMetadataAasRepository = exports.getSubmodelByIdMetadataAasRepository = exports.putSubmodelByIdAasRepository = exports.patchSubmodelAasRepository = exports.getSubmodelByIdAasRepository = void 0;
7
+ exports.getAllAssetLinksById = exports.deleteAllAssetLinksById = exports.getAllAssetAdministrationShellIdsByAssetLink = exports.putSubmodelDescriptorById = exports.getSubmodelDescriptorById = exports.deleteSubmodelDescriptorById = exports.postSubmodelDescriptor = exports.getAllSubmodelDescriptors = exports.putSubmodelDescriptorByIdThroughSuperpath = exports.getSubmodelDescriptorByIdThroughSuperpath = exports.deleteSubmodelDescriptorByIdThroughSuperpath = exports.postSubmodelDescriptorThroughSuperpath = exports.getAllSubmodelDescriptorsThroughSuperpath = exports.putAssetAdministrationShellDescriptorById = exports.getAssetAdministrationShellDescriptorById = exports.deleteAssetAdministrationShellDescriptorById = exports.postAssetAdministrationShellDescriptor = exports.getAllAssetAdministrationShellDescriptors = exports.putConceptDescriptionById = exports.getConceptDescriptionById = exports.deleteConceptDescriptionById = exports.postConceptDescription = exports.getAllConceptDescriptions = exports.getOperationAsyncResultValueOnlySubmodelRepo = exports.getOperationAsyncResultSubmodelRepo = exports.getOperationAsyncStatusSubmodelRepo = exports.invokeOperationAsyncValueOnlySubmodelRepo = exports.invokeOperationAsyncSubmodelRepo = exports.invokeOperationValueOnlySubmodelRepo = exports.invokeOperationSubmodelRepo = exports.putFileByPathSubmodelRepo = exports.getFileByPathSubmodelRepo = exports.deleteFileByPathSubmodelRepo = exports.getSubmodelElementByPathPathSubmodelRepo = exports.getSubmodelElementByPathReferenceSubmodelRepo = exports.getSubmodelElementByPathValueOnlySubmodelRepo = exports.patchSubmodelElementByPathMetadataSubmodelRepo = exports.getSubmodelElementByPathMetadataSubmodelRepo = exports.putSubmodelElementByPathSubmodelRepo = exports.postSubmodelElementByPathSubmodelRepo = exports.patchSubmodelElementByPathSubmodelRepo = exports.getSubmodelElementByPathSubmodelRepo = exports.deleteSubmodelElementByPathSubmodelRepo = exports.getAllSubmodelElementsPathSubmodelRepo = exports.getAllSubmodelElementsReferenceSubmodelRepo = exports.getAllSubmodelElementsValueOnlySubmodelRepo = exports.getAllSubmodelElementsMetadataSubmodelRepository = exports.postSubmodelElementSubmodelRepository = exports.getAllSubmodelElementsSubmodelRepository = exports.getSubmodelByIdPath = void 0;
8
+ exports.getDescription = exports.generateSerializationByIds = exports.putAasxByPackageId = exports.getAasxByPackageId = exports.deleteAasxByPackageId = exports.postAasxPackage = exports.getAllAasxPackageIds = exports.postAllAssetLinksById = void 0;
9
+ const client_fetch_1 = require("@hey-api/client-fetch");
10
+ exports.client = (0, client_fetch_1.createClient)((0, client_fetch_1.createConfig)());
11
+ /**
12
+ * Returns a specific Asset Administration Shell
13
+ */
14
+ const getAssetAdministrationShell = (options) => {
15
+ var _a;
16
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas' }, options));
17
+ };
18
+ exports.getAssetAdministrationShell = getAssetAdministrationShell;
19
+ /**
20
+ * Updates an existing Asset Administration Shell
21
+ */
22
+ const putAssetAdministrationShell = (options) => {
23
+ var _a;
24
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/aas' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
25
+ };
26
+ exports.putAssetAdministrationShell = putAssetAdministrationShell;
27
+ /**
28
+ * Returns a specific Asset Administration Shell as a Reference
29
+ */
30
+ const getAssetAdministrationShellReference = (options) => {
31
+ var _a;
32
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/$reference' }, options));
33
+ };
34
+ exports.getAssetAdministrationShellReference = getAssetAdministrationShellReference;
35
+ /**
36
+ * Returns the Asset Information
37
+ */
38
+ const getAssetInformation = (options) => {
39
+ var _a;
40
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/asset-information' }, options));
41
+ };
42
+ exports.getAssetInformation = getAssetInformation;
43
+ /**
44
+ * Updates the Asset Information
45
+ */
46
+ const putAssetInformation = (options) => {
47
+ var _a;
48
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/aas/asset-information' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
49
+ };
50
+ exports.putAssetInformation = putAssetInformation;
51
+ const deleteThumbnail = (options) => {
52
+ var _a;
53
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/aas/asset-information/thumbnail' }, options));
54
+ };
55
+ exports.deleteThumbnail = deleteThumbnail;
56
+ const getThumbnail = (options) => {
57
+ var _a;
58
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/asset-information/thumbnail' }, options));
59
+ };
60
+ exports.getThumbnail = getThumbnail;
61
+ const putThumbnail = (options) => {
62
+ var _a;
63
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign(Object.assign(Object.assign({}, client_fetch_1.formDataBodySerializer), { url: '/aas/asset-information/thumbnail' }), options), { headers: Object.assign({ 'Content-Type': null }, options === null || options === void 0 ? void 0 : options.headers) }));
64
+ };
65
+ exports.putThumbnail = putThumbnail;
66
+ /**
67
+ * Returns all submodel references
68
+ */
69
+ const getAllSubmodelReferences = (options) => {
70
+ var _a;
71
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodel-refs' }, options));
72
+ };
73
+ exports.getAllSubmodelReferences = getAllSubmodelReferences;
74
+ /**
75
+ * Creates a submodel reference at the Asset Administration Shell
76
+ */
77
+ const postSubmodelReference = (options) => {
78
+ var _a;
79
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/aas/submodel-refs' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
80
+ };
81
+ exports.postSubmodelReference = postSubmodelReference;
82
+ /**
83
+ * Deletes the submodel reference from the Asset Administration Shell. Does not delete the submodel itself!
84
+ */
85
+ const deleteSubmodelReferenceById = (options) => {
86
+ var _a;
87
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/aas/submodel-refs/{submodelIdentifier}' }, options));
88
+ };
89
+ exports.deleteSubmodelReferenceById = deleteSubmodelReferenceById;
90
+ /**
91
+ * Deletes the submodel from the Asset Administration Shell.
92
+ */
93
+ const deleteSubmodelByIdAas = (options) => {
94
+ var _a;
95
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/aas/submodels/{submodelIdentifier}' }, options));
96
+ };
97
+ exports.deleteSubmodelByIdAas = deleteSubmodelByIdAas;
98
+ /**
99
+ * Returns the Submodel
100
+ */
101
+ const getSubmodelAas = (options) => {
102
+ var _a;
103
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}' }, options));
104
+ };
105
+ exports.getSubmodelAas = getSubmodelAas;
106
+ /**
107
+ * Updates the Submodel
108
+ */
109
+ const patchSubmodelAas = (options) => {
110
+ var _a;
111
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/aas/submodels/{submodelIdentifier}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
112
+ };
113
+ exports.patchSubmodelAas = patchSubmodelAas;
114
+ /**
115
+ * Updates the Submodel
116
+ */
117
+ const putSubmodelAas = (options) => {
118
+ var _a;
119
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/aas/submodels/{submodelIdentifier}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
120
+ };
121
+ exports.putSubmodelAas = putSubmodelAas;
122
+ /**
123
+ * Returns the Submodel's metadata elements
124
+ */
125
+ const getSubmodelMetadataAas = (options) => {
126
+ var _a;
127
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/$metadata' }, options));
128
+ };
129
+ exports.getSubmodelMetadataAas = getSubmodelMetadataAas;
130
+ /**
131
+ * Updates the metadata attributes of the Submodel
132
+ */
133
+ const patchSubmodelMetadataAas = (options) => {
134
+ var _a;
135
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/$metadata' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
136
+ };
137
+ exports.patchSubmodelMetadataAas = patchSubmodelMetadataAas;
138
+ /**
139
+ * Returns the Submodel's ValueOnly representation
140
+ */
141
+ const getSubmodelValueOnlyAas = (options) => {
142
+ var _a;
143
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/$value' }, options));
144
+ };
145
+ exports.getSubmodelValueOnlyAas = getSubmodelValueOnlyAas;
146
+ /**
147
+ * Updates the values of the Submodel
148
+ */
149
+ const patchSubmodelValueOnlyAas = (options) => {
150
+ var _a;
151
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/$value' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
152
+ };
153
+ exports.patchSubmodelValueOnlyAas = patchSubmodelValueOnlyAas;
154
+ /**
155
+ * Returns the Submodel as a Reference
156
+ */
157
+ const getSubmodelMetadataReferenceAas = (options) => {
158
+ var _a;
159
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/$reference' }, options));
160
+ };
161
+ exports.getSubmodelMetadataReferenceAas = getSubmodelMetadataReferenceAas;
162
+ /**
163
+ * Returns the Submodel's metadata elements
164
+ */
165
+ const getSubmodelPathAas = (options) => {
166
+ var _a;
167
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/$path' }, options));
168
+ };
169
+ exports.getSubmodelPathAas = getSubmodelPathAas;
170
+ /**
171
+ * Returns all submodel elements including their hierarchy
172
+ */
173
+ const getAllSubmodelElementsAas = (options) => {
174
+ var _a;
175
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements' }, options));
176
+ };
177
+ exports.getAllSubmodelElementsAas = getAllSubmodelElementsAas;
178
+ /**
179
+ * Creates a new submodel element
180
+ */
181
+ const postSubmodelElementAas = (options) => {
182
+ var _a;
183
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
184
+ };
185
+ exports.postSubmodelElementAas = postSubmodelElementAas;
186
+ /**
187
+ * Returns all submodel elements including their hierarchy
188
+ */
189
+ const getAllSubmodelElementsMetadataAas = (options) => {
190
+ var _a;
191
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/$metadata' }, options));
192
+ };
193
+ exports.getAllSubmodelElementsMetadataAas = getAllSubmodelElementsMetadataAas;
194
+ /**
195
+ * Returns all submodel elements including their hierarchy in the ValueOnly representation
196
+ */
197
+ const getAllSubmodelElementsValueOnlyAas = (options) => {
198
+ var _a;
199
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/$value' }, options));
200
+ };
201
+ exports.getAllSubmodelElementsValueOnlyAas = getAllSubmodelElementsValueOnlyAas;
202
+ /**
203
+ * Returns all submodel elements as a list of References
204
+ */
205
+ const getAllSubmodelElementsReferenceAas = (options) => {
206
+ var _a;
207
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/$reference' }, options));
208
+ };
209
+ exports.getAllSubmodelElementsReferenceAas = getAllSubmodelElementsReferenceAas;
210
+ /**
211
+ * Returns all submodel elements including their hierarchy
212
+ */
213
+ const getAllSubmodelElementsPathAas = (options) => {
214
+ var _a;
215
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/$path' }, options));
216
+ };
217
+ exports.getAllSubmodelElementsPathAas = getAllSubmodelElementsPathAas;
218
+ /**
219
+ * Deletes a submodel element at a specified path within the submodel elements hierarchy
220
+ */
221
+ const deleteSubmodelElementByPathAas = (options) => {
222
+ var _a;
223
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options));
224
+ };
225
+ exports.deleteSubmodelElementByPathAas = deleteSubmodelElementByPathAas;
226
+ /**
227
+ * Returns a specific submodel element from the Submodel at a specified path
228
+ */
229
+ const getSubmodelElementByPathAas = (options) => {
230
+ var _a;
231
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options));
232
+ };
233
+ exports.getSubmodelElementByPathAas = getSubmodelElementByPathAas;
234
+ /**
235
+ * Updates an existing submodel element value at a specified path within submodel elements hierarchy
236
+ */
237
+ const patchSubmodelElementValueByPathAas = (options) => {
238
+ var _a;
239
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
240
+ };
241
+ exports.patchSubmodelElementValueByPathAas = patchSubmodelElementValueByPathAas;
242
+ /**
243
+ * Creates a new submodel element at a specified path within submodel elements hierarchy
244
+ */
245
+ const postSubmodelElementByPathAas = (options) => {
246
+ var _a;
247
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
248
+ };
249
+ exports.postSubmodelElementByPathAas = postSubmodelElementByPathAas;
250
+ /**
251
+ * Updates an existing submodel element at a specified path within submodel elements hierarchy
252
+ */
253
+ const putSubmodelElementByPathAas = (options) => {
254
+ var _a;
255
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
256
+ };
257
+ exports.putSubmodelElementByPathAas = putSubmodelElementByPathAas;
258
+ /**
259
+ * Returns the metadata attributes if a specific submodel element from the Submodel at a specified path
260
+ */
261
+ const getSubmodelElementByPathMetadataAas = (options) => {
262
+ var _a;
263
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$metadata' }, options));
264
+ };
265
+ exports.getSubmodelElementByPathMetadataAas = getSubmodelElementByPathMetadataAas;
266
+ /**
267
+ * Updates the metadata attributes of an existing submodel element value at a specified path within submodel elements hierarchy
268
+ */
269
+ const patchSubmodelElementValueByPathMetadataAas = (options) => {
270
+ var _a;
271
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$metadata' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
272
+ };
273
+ exports.patchSubmodelElementValueByPathMetadataAas = patchSubmodelElementValueByPathMetadataAas;
274
+ /**
275
+ * Returns a specific submodel element from the Submodel at a specified path in the ValueOnly representation
276
+ */
277
+ const getSubmodelElementByPathValueOnlyAas = (options) => {
278
+ var _a;
279
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$value' }, options));
280
+ };
281
+ exports.getSubmodelElementByPathValueOnlyAas = getSubmodelElementByPathValueOnlyAas;
282
+ /**
283
+ * Updates the value of an existing submodel element value at a specified path within submodel elements hierarchy
284
+ */
285
+ // export const patchSubmodelElementValueByPathValueOnlyAas = <ThrowOnError extends boolean = false>(
286
+ // options: Options<PatchSubmodelElementValueByPathValueOnlyAasData, ThrowOnError>
287
+ // ) => {
288
+ // return (options?.client ?? client).patch<
289
+ // PatchSubmodelElementValueByPathValueOnlyAasResponse,
290
+ // PatchSubmodelElementValueByPathValueOnlyAasError,
291
+ // ThrowOnError
292
+ // >({
293
+ // url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$value',
294
+ // ...options,
295
+ // headers: {
296
+ // 'Content-Type': 'application/json',
297
+ // ...options?.headers,
298
+ // },
299
+ // });
300
+ // };
301
+ /**
302
+ * Returns the Reference of a specific submodel element from the Submodel at a specified path in the ValueOnly representation
303
+ */
304
+ const getSubmodelElementByPathReferenceAas = (options) => {
305
+ var _a;
306
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$reference' }, options));
307
+ };
308
+ exports.getSubmodelElementByPathReferenceAas = getSubmodelElementByPathReferenceAas;
309
+ /**
310
+ * Returns a specific submodel element from the Submodel at a specified path in the Path notation
311
+ */
312
+ const getSubmodelElementByPathPathAas = (options) => {
313
+ var _a;
314
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$path' }, options));
315
+ };
316
+ exports.getSubmodelElementByPathPathAas = getSubmodelElementByPathPathAas;
317
+ /**
318
+ * Deletes file content of an existing submodel element at a specified path within submodel elements hierarchy
319
+ */
320
+ const deleteFileByPathAas = (options) => {
321
+ var _a;
322
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/attachment' }, options));
323
+ };
324
+ exports.deleteFileByPathAas = deleteFileByPathAas;
325
+ /**
326
+ * Downloads file content from a specific submodel element from the Submodel at a specified path
327
+ */
328
+ const getFileByPathAas = (options) => {
329
+ var _a;
330
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/attachment' }, options));
331
+ };
332
+ exports.getFileByPathAas = getFileByPathAas;
333
+ /**
334
+ * Uploads file content to an existing submodel element at a specified path within submodel elements hierarchy
335
+ */
336
+ const putFileByPathAas = (options) => {
337
+ var _a;
338
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign(Object.assign(Object.assign({}, client_fetch_1.formDataBodySerializer), { url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/attachment' }), options), { headers: Object.assign({ 'Content-Type': null }, options === null || options === void 0 ? void 0 : options.headers) }));
339
+ };
340
+ exports.putFileByPathAas = putFileByPathAas;
341
+ /**
342
+ * Synchronously invokes an Operation at a specified path
343
+ */
344
+ const invokeOperationSyncAas = (options) => {
345
+ var _a;
346
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/invoke' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
347
+ };
348
+ exports.invokeOperationSyncAas = invokeOperationSyncAas;
349
+ /**
350
+ * Synchronously invokes an Operation at a specified path
351
+ */
352
+ const invokeOperationSyncValueOnlyAas = (options) => {
353
+ var _a;
354
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/invoke/$value' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
355
+ };
356
+ exports.invokeOperationSyncValueOnlyAas = invokeOperationSyncValueOnlyAas;
357
+ /**
358
+ * Synchronously invokes an Operation at a specified path
359
+ */
360
+ const invokeOperationAsyncAas = (options) => {
361
+ var _a;
362
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/invoke-async' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
363
+ };
364
+ exports.invokeOperationAsyncAas = invokeOperationAsyncAas;
365
+ /**
366
+ * Asynchronously invokes an Operation at a specified path
367
+ */
368
+ const invokeOperationAsyncValueOnlyAas = (options) => {
369
+ var _a;
370
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/invoke-asnyc/$value' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
371
+ };
372
+ exports.invokeOperationAsyncValueOnlyAas = invokeOperationAsyncValueOnlyAas;
373
+ /**
374
+ * Returns the Operation status of an asynchronous invoked Operation
375
+ */
376
+ const getOperationAsyncStatusAas = (options) => {
377
+ var _a;
378
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/operation-status/{handleId}' }, options));
379
+ };
380
+ exports.getOperationAsyncStatusAas = getOperationAsyncStatusAas;
381
+ /**
382
+ * Returns the Operation result of an asynchronous invoked Operation
383
+ */
384
+ const getOperationAsyncResultAas = (options) => {
385
+ var _a;
386
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/operation-results/{handleId}' }, options));
387
+ };
388
+ exports.getOperationAsyncResultAas = getOperationAsyncResultAas;
389
+ /**
390
+ * Returns the value of the Operation result of an asynchronous invoked Operation
391
+ */
392
+ const getOperationAsyncResultValueOnlyAas = (options) => {
393
+ var _a;
394
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/aas/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/operation-results/{handleId}/$value' }, options));
395
+ };
396
+ exports.getOperationAsyncResultValueOnlyAas = getOperationAsyncResultValueOnlyAas;
397
+ /**
398
+ * Returns the Submodel
399
+ */
400
+ const getSubmodel = (options) => {
401
+ var _a;
402
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel' }, options));
403
+ };
404
+ exports.getSubmodel = getSubmodel;
405
+ /**
406
+ * Updates the Submodel
407
+ */
408
+ const patchSubmodel = (options) => {
409
+ var _a;
410
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/submodel' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
411
+ };
412
+ exports.patchSubmodel = patchSubmodel;
413
+ /**
414
+ * Updates the Submodel
415
+ */
416
+ const putSubmodel = (options) => {
417
+ var _a;
418
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/submodel' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
419
+ };
420
+ exports.putSubmodel = putSubmodel;
421
+ /**
422
+ * Returns the metadata attributes of a specific Submodel
423
+ */
424
+ const getSubmodelMetadata = (options) => {
425
+ var _a;
426
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/$metadata' }, options));
427
+ };
428
+ exports.getSubmodelMetadata = getSubmodelMetadata;
429
+ /**
430
+ * Updates the metadata attributes of the Submodel
431
+ */
432
+ const patchSubmodelMetadata = (options) => {
433
+ var _a;
434
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/submodel/$metadata' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
435
+ };
436
+ exports.patchSubmodelMetadata = patchSubmodelMetadata;
437
+ /**
438
+ * Returns the Submodel in the ValueOnly representation
439
+ */
440
+ const getSubmodelValueOnly = (options) => {
441
+ var _a;
442
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/$value' }, options));
443
+ };
444
+ exports.getSubmodelValueOnly = getSubmodelValueOnly;
445
+ /**
446
+ * Updates the values of the Submodel
447
+ */
448
+ const patchSubmodelValueOnly = (options) => {
449
+ var _a;
450
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/submodel/$value' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
451
+ };
452
+ exports.patchSubmodelValueOnly = patchSubmodelValueOnly;
453
+ /**
454
+ * Returns the Reference of the Submodel
455
+ */
456
+ const getSubmodelReference = (options) => {
457
+ var _a;
458
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/$reference' }, options));
459
+ };
460
+ exports.getSubmodelReference = getSubmodelReference;
461
+ /**
462
+ * Returns the Submodel in the Path notation
463
+ */
464
+ const getSubmodelPath = (options) => {
465
+ var _a;
466
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/$path' }, options));
467
+ };
468
+ exports.getSubmodelPath = getSubmodelPath;
469
+ /**
470
+ * Returns all submodel elements including their hierarchy
471
+ */
472
+ const getAllSubmodelElements = (options) => {
473
+ var _a;
474
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/submodel-elements' }, options));
475
+ };
476
+ exports.getAllSubmodelElements = getAllSubmodelElements;
477
+ /**
478
+ * Creates a new submodel element
479
+ */
480
+ const postSubmodelElement = (options) => {
481
+ var _a;
482
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/submodel/submodel-elements' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
483
+ };
484
+ exports.postSubmodelElement = postSubmodelElement;
485
+ /**
486
+ * Returns the metadata attributes of all submodel elements including their hierarchy
487
+ */
488
+ const getAllSubmodelElementsMetadata = (options) => {
489
+ var _a;
490
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/submodel-elements/$metadata' }, options));
491
+ };
492
+ exports.getAllSubmodelElementsMetadata = getAllSubmodelElementsMetadata;
493
+ /**
494
+ * Returns all submodel elements including their hierarchy in the ValueOnly representation
495
+ */
496
+ const getAllSubmodelElementsValueOnly = (options) => {
497
+ var _a;
498
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/submodel-elements/$value' }, options));
499
+ };
500
+ exports.getAllSubmodelElementsValueOnly = getAllSubmodelElementsValueOnly;
501
+ /**
502
+ * Returns the References of all submodel elements
503
+ */
504
+ const getAllSubmodelElementsReference = (options) => {
505
+ var _a;
506
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/submodel-elements/$reference' }, options));
507
+ };
508
+ exports.getAllSubmodelElementsReference = getAllSubmodelElementsReference;
509
+ /**
510
+ * Returns all submodel elements including their hierarchy in the Path notation
511
+ */
512
+ const getAllSubmodelElementsPath = (options) => {
513
+ var _a;
514
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/submodel-elements/$path' }, options));
515
+ };
516
+ exports.getAllSubmodelElementsPath = getAllSubmodelElementsPath;
517
+ /**
518
+ * Deletes a submodel element at a specified path within the submodel elements hierarchy
519
+ */
520
+ const deleteSubmodelElementByPath = (options) => {
521
+ var _a;
522
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}' }, options));
523
+ };
524
+ exports.deleteSubmodelElementByPath = deleteSubmodelElementByPath;
525
+ /**
526
+ * Returns a specific submodel element from the Submodel at a specified path
527
+ */
528
+ const getSubmodelElementByPath = (options) => {
529
+ var _a;
530
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}' }, options));
531
+ };
532
+ exports.getSubmodelElementByPath = getSubmodelElementByPath;
533
+ /**
534
+ * Updates an existing SubmodelElement
535
+ */
536
+ const patchSubmodelElementByPath = (options) => {
537
+ var _a;
538
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
539
+ };
540
+ exports.patchSubmodelElementByPath = patchSubmodelElementByPath;
541
+ /**
542
+ * Creates a new submodel element at a specified path within submodel elements hierarchy
543
+ */
544
+ const postSubmodelElementByPath = (options) => {
545
+ var _a;
546
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
547
+ };
548
+ exports.postSubmodelElementByPath = postSubmodelElementByPath;
549
+ /**
550
+ * Updates an existing submodel element at a specified path within submodel elements hierarchy
551
+ */
552
+ const putSubmodelElementByPath = (options) => {
553
+ var _a;
554
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
555
+ };
556
+ exports.putSubmodelElementByPath = putSubmodelElementByPath;
557
+ /**
558
+ * Returns the matadata attributes of a specific submodel element from the Submodel at a specified path
559
+ */
560
+ const getSubmodelElementByPathMetadata = (options) => {
561
+ var _a;
562
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/$metadata' }, options));
563
+ };
564
+ exports.getSubmodelElementByPathMetadata = getSubmodelElementByPathMetadata;
565
+ /**
566
+ * Updates the metadata attributes an existing SubmodelElement
567
+ */
568
+ const patchSubmodelElementByPathMetadata = (options) => {
569
+ var _a;
570
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/$metadata' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
571
+ };
572
+ exports.patchSubmodelElementByPathMetadata = patchSubmodelElementByPathMetadata;
573
+ /**
574
+ * Returns a specific submodel element from the Submodel at a specified path in the ValueOnly representation
575
+ */
576
+ const getSubmodelElementByPathValueOnly = (options) => {
577
+ var _a;
578
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/$value' }, options));
579
+ };
580
+ exports.getSubmodelElementByPathValueOnly = getSubmodelElementByPathValueOnly;
581
+ /**
582
+ * Updates the value of an existing SubmodelElement
583
+ */
584
+ const patchSubmodelElementByPathValueOnly = (options) => {
585
+ var _a;
586
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/$value' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
587
+ };
588
+ exports.patchSubmodelElementByPathValueOnly = patchSubmodelElementByPathValueOnly;
589
+ /**
590
+ * Returns the Referene of a specific submodel element from the Submodel at a specified path
591
+ */
592
+ const getSubmodelElementByPathReference = (options) => {
593
+ var _a;
594
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/$reference' }, options));
595
+ };
596
+ exports.getSubmodelElementByPathReference = getSubmodelElementByPathReference;
597
+ /**
598
+ * Returns a specific submodel element from the Submodel at a specified path in the Path notation
599
+ */
600
+ const getSubmodelElementByPathPath = (options) => {
601
+ var _a;
602
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/$path' }, options));
603
+ };
604
+ exports.getSubmodelElementByPathPath = getSubmodelElementByPathPath;
605
+ /**
606
+ * Deletes file content of an existing submodel element at a specified path within submodel elements hierarchy
607
+ */
608
+ const deleteFileByPath = (options) => {
609
+ var _a;
610
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/attachment' }, options));
611
+ };
612
+ exports.deleteFileByPath = deleteFileByPath;
613
+ /**
614
+ * Downloads file content from a specific submodel element from the Submodel at a specified path
615
+ */
616
+ const getFileByPath = (options) => {
617
+ var _a;
618
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/attachment' }, options));
619
+ };
620
+ exports.getFileByPath = getFileByPath;
621
+ /**
622
+ * Uploads file content to an existing submodel element at a specified path within submodel elements hierarchy
623
+ */
624
+ const putFileByPath = (options) => {
625
+ var _a;
626
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign(Object.assign(Object.assign({}, client_fetch_1.formDataBodySerializer), { url: '/submodel/submodel-elements/{idShortPath}/attachment' }), options), { headers: Object.assign({ 'Content-Type': null }, options === null || options === void 0 ? void 0 : options.headers) }));
627
+ };
628
+ exports.putFileByPath = putFileByPath;
629
+ /**
630
+ * Synchronously invokes an Operation at a specified path
631
+ */
632
+ const invokeOperation = (options) => {
633
+ var _a;
634
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/invoke' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
635
+ };
636
+ exports.invokeOperation = invokeOperation;
637
+ /**
638
+ * Asynchronously invokes an Operation at a specified path
639
+ */
640
+ const invokeOperationAsync = (options) => {
641
+ var _a;
642
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/invoke-async' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
643
+ };
644
+ exports.invokeOperationAsync = invokeOperationAsync;
645
+ /**
646
+ * Synchronously invokes an Operation at a specified path
647
+ */
648
+ const invokeOperationSyncValueOnly = (options) => {
649
+ var _a;
650
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/invoke/$value' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
651
+ };
652
+ exports.invokeOperationSyncValueOnly = invokeOperationSyncValueOnly;
653
+ /**
654
+ * Asynchronously invokes an Operation at a specified path
655
+ */
656
+ const invokeOperationAsyncValueOnly = (options) => {
657
+ var _a;
658
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/invoke-async/$value' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
659
+ };
660
+ exports.invokeOperationAsyncValueOnly = invokeOperationAsyncValueOnly;
661
+ /**
662
+ * Returns the Operation status of an asynchronous invoked Operation
663
+ */
664
+ const getOperationAsyncStatus = (options) => {
665
+ var _a;
666
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/operation-status/{handleId}' }, options));
667
+ };
668
+ exports.getOperationAsyncStatus = getOperationAsyncStatus;
669
+ /**
670
+ * Returns the Operation result of an asynchronous invoked Operation
671
+ */
672
+ const getOperationAsyncResult = (options) => {
673
+ var _a;
674
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/operation-results/{handleId}' }, options));
675
+ };
676
+ exports.getOperationAsyncResult = getOperationAsyncResult;
677
+ /**
678
+ * Returns the value of the Operation result of an asynchronous invoked Operation
679
+ */
680
+ const getOperationAsyncResultValueOnly = (options) => {
681
+ var _a;
682
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel/submodel-elements/{idShortPath}/operation-results/{handleId}/$value' }, options));
683
+ };
684
+ exports.getOperationAsyncResultValueOnly = getOperationAsyncResultValueOnly;
685
+ /**
686
+ * Returns all Asset Administration Shells
687
+ */
688
+ const getAllAssetAdministrationShells = (options) => {
689
+ var _a;
690
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells' }, options));
691
+ };
692
+ exports.getAllAssetAdministrationShells = getAllAssetAdministrationShells;
693
+ /**
694
+ * Creates a new Asset Administration Shell
695
+ */
696
+ const postAssetAdministrationShell = (options) => {
697
+ var _a;
698
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/shells' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
699
+ };
700
+ exports.postAssetAdministrationShell = postAssetAdministrationShell;
701
+ /**
702
+ * Returns References to all Asset Administration Shells
703
+ */
704
+ const getAllAssetAdministrationShellsReference = (options) => {
705
+ var _a;
706
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/$reference' }, options));
707
+ };
708
+ exports.getAllAssetAdministrationShellsReference = getAllAssetAdministrationShellsReference;
709
+ /**
710
+ * Deletes an Asset Administration Shell
711
+ */
712
+ const deleteAssetAdministrationShellById = (options) => {
713
+ var _a;
714
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/shells/{aasIdentifier}' }, options));
715
+ };
716
+ exports.deleteAssetAdministrationShellById = deleteAssetAdministrationShellById;
717
+ /**
718
+ * Returns a specific Asset Administration Shell
719
+ */
720
+ const getAssetAdministrationShellById = (options) => {
721
+ var _a;
722
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}' }, options));
723
+ };
724
+ exports.getAssetAdministrationShellById = getAssetAdministrationShellById;
725
+ /**
726
+ * Updates an existing Asset Administration Shell
727
+ */
728
+ const putAssetAdministrationShellById = (options) => {
729
+ var _a;
730
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
731
+ };
732
+ exports.putAssetAdministrationShellById = putAssetAdministrationShellById;
733
+ /**
734
+ * Returns a specific Asset Administration Shell as a Reference
735
+ */
736
+ const getAssetAdministrationShellByIdReferenceAasRepository = (options) => {
737
+ var _a;
738
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/$reference' }, options));
739
+ };
740
+ exports.getAssetAdministrationShellByIdReferenceAasRepository = getAssetAdministrationShellByIdReferenceAasRepository;
741
+ /**
742
+ * Returns the Asset Information
743
+ */
744
+ const getAssetInformationAasRepository = (options) => {
745
+ var _a;
746
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/asset-information' }, options));
747
+ };
748
+ exports.getAssetInformationAasRepository = getAssetInformationAasRepository;
749
+ /**
750
+ * Updates the Asset Information
751
+ */
752
+ const putAssetInformationAasRepository = (options) => {
753
+ var _a;
754
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/asset-information' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
755
+ };
756
+ exports.putAssetInformationAasRepository = putAssetInformationAasRepository;
757
+ const deleteThumbnailAasRepository = (options) => {
758
+ var _a;
759
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/shells/{aasIdentifier}/asset-information/thumbnail' }, options));
760
+ };
761
+ exports.deleteThumbnailAasRepository = deleteThumbnailAasRepository;
762
+ const getThumbnailAasRepository = (options) => {
763
+ var _a;
764
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/asset-information/thumbnail' }, options));
765
+ };
766
+ exports.getThumbnailAasRepository = getThumbnailAasRepository;
767
+ const putThumbnailAasRepository = (options) => {
768
+ var _a;
769
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign(Object.assign(Object.assign({}, client_fetch_1.formDataBodySerializer), { url: '/shells/{aasIdentifier}/asset-information/thumbnail' }), options), { headers: Object.assign({ 'Content-Type': null }, options === null || options === void 0 ? void 0 : options.headers) }));
770
+ };
771
+ exports.putThumbnailAasRepository = putThumbnailAasRepository;
772
+ /**
773
+ * Returns all submodel references
774
+ */
775
+ const getAllSubmodelReferencesAasRepository = (options) => {
776
+ var _a;
777
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodel-refs' }, options));
778
+ };
779
+ exports.getAllSubmodelReferencesAasRepository = getAllSubmodelReferencesAasRepository;
780
+ /**
781
+ * Creates a submodel reference at the Asset Administration Shell
782
+ */
783
+ const postSubmodelReferenceAasRepository = (options) => {
784
+ var _a;
785
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/submodel-refs' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
786
+ };
787
+ exports.postSubmodelReferenceAasRepository = postSubmodelReferenceAasRepository;
788
+ /**
789
+ * Deletes the submodel reference from the Asset Administration Shell. Does not delete the submodel itself!
790
+ */
791
+ const deleteSubmodelReferenceByIdAasRepository = (options) => {
792
+ var _a;
793
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/shells/{aasIdentifier}/submodel-refs/{submodelIdentifier}' }, options));
794
+ };
795
+ exports.deleteSubmodelReferenceByIdAasRepository = deleteSubmodelReferenceByIdAasRepository;
796
+ /**
797
+ * Deletes the submodel from the Asset Administration Shell and the Repository.
798
+ */
799
+ const deleteSubmodelByIdAasRepository = (options) => {
800
+ var _a;
801
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}' }, options));
802
+ };
803
+ exports.deleteSubmodelByIdAasRepository = deleteSubmodelByIdAasRepository;
804
+ /**
805
+ * Returns the Submodel
806
+ */
807
+ const getSubmodelByIdAasRepository = (options) => {
808
+ var _a;
809
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}' }, options));
810
+ };
811
+ exports.getSubmodelByIdAasRepository = getSubmodelByIdAasRepository;
812
+ /**
813
+ * Updates the Submodel
814
+ */
815
+ const patchSubmodelAasRepository = (options) => {
816
+ var _a;
817
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
818
+ };
819
+ exports.patchSubmodelAasRepository = patchSubmodelAasRepository;
820
+ /**
821
+ * Updates the Submodel
822
+ */
823
+ const putSubmodelByIdAasRepository = (options) => {
824
+ var _a;
825
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
826
+ };
827
+ exports.putSubmodelByIdAasRepository = putSubmodelByIdAasRepository;
828
+ /**
829
+ * Returns the Submodel's metadata elements
830
+ */
831
+ const getSubmodelByIdMetadataAasRepository = (options) => {
832
+ var _a;
833
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/$metadata' }, options));
834
+ };
835
+ exports.getSubmodelByIdMetadataAasRepository = getSubmodelByIdMetadataAasRepository;
836
+ /**
837
+ * Updates the metadata attributes of the Submodel
838
+ */
839
+ const patchSubmodelByIdMetadataAasRepository = (options) => {
840
+ var _a;
841
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/$metadata' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
842
+ };
843
+ exports.patchSubmodelByIdMetadataAasRepository = patchSubmodelByIdMetadataAasRepository;
844
+ /**
845
+ * Returns the Submodel's ValueOnly representation
846
+ */
847
+ const getSubmodelByIdValueOnlyAasRepository = (options) => {
848
+ var _a;
849
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/$value' }, options));
850
+ };
851
+ exports.getSubmodelByIdValueOnlyAasRepository = getSubmodelByIdValueOnlyAasRepository;
852
+ /**
853
+ * Updates the values of the Submodel
854
+ */
855
+ const patchSubmodelByIdValueOnlyAasRepository = (options) => {
856
+ var _a;
857
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/$value' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
858
+ };
859
+ exports.patchSubmodelByIdValueOnlyAasRepository = patchSubmodelByIdValueOnlyAasRepository;
860
+ /**
861
+ * Returns the Submodel as a Reference
862
+ */
863
+ const getSubmodelByIdReferenceAasRepository = (options) => {
864
+ var _a;
865
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/$reference' }, options));
866
+ };
867
+ exports.getSubmodelByIdReferenceAasRepository = getSubmodelByIdReferenceAasRepository;
868
+ /**
869
+ * Returns the Submodel's metadata elements
870
+ */
871
+ const getSubmodelByIdPathAasRepository = (options) => {
872
+ var _a;
873
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/$path' }, options));
874
+ };
875
+ exports.getSubmodelByIdPathAasRepository = getSubmodelByIdPathAasRepository;
876
+ /**
877
+ * Returns all submodel elements including their hierarchy
878
+ */
879
+ const getAllSubmodelElementsAasRepository = (options) => {
880
+ var _a;
881
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements' }, options));
882
+ };
883
+ exports.getAllSubmodelElementsAasRepository = getAllSubmodelElementsAasRepository;
884
+ /**
885
+ * Creates a new submodel element
886
+ */
887
+ const postSubmodelElementAasRepository = (options) => {
888
+ var _a;
889
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
890
+ };
891
+ exports.postSubmodelElementAasRepository = postSubmodelElementAasRepository;
892
+ /**
893
+ * Returns all submodel elements including their hierarchy
894
+ */
895
+ const getAllSubmodelElementsMetadataAasRepository = (options) => {
896
+ var _a;
897
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/$metadata' }, options));
898
+ };
899
+ exports.getAllSubmodelElementsMetadataAasRepository = getAllSubmodelElementsMetadataAasRepository;
900
+ /**
901
+ * Returns all submodel elements including their hierarchy in the ValueOnly representation
902
+ */
903
+ const getAllSubmodelElementsValueOnlyAasRepository = (options) => {
904
+ var _a;
905
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/$value' }, options));
906
+ };
907
+ exports.getAllSubmodelElementsValueOnlyAasRepository = getAllSubmodelElementsValueOnlyAasRepository;
908
+ /**
909
+ * Returns all submodel elements as a list of References
910
+ */
911
+ const getAllSubmodelElementsReferenceAasRepository = (options) => {
912
+ var _a;
913
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/$reference' }, options));
914
+ };
915
+ exports.getAllSubmodelElementsReferenceAasRepository = getAllSubmodelElementsReferenceAasRepository;
916
+ /**
917
+ * Returns all submodel elements including their hierarchy
918
+ */
919
+ const getAllSubmodelElementsPathAasRepository = (options) => {
920
+ var _a;
921
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/$path' }, options));
922
+ };
923
+ exports.getAllSubmodelElementsPathAasRepository = getAllSubmodelElementsPathAasRepository;
924
+ /**
925
+ * Deletes a submodel element at a specified path within the submodel elements hierarchy
926
+ */
927
+ const deleteSubmodelElementByPathAasRepository = (options) => {
928
+ var _a;
929
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options));
930
+ };
931
+ exports.deleteSubmodelElementByPathAasRepository = deleteSubmodelElementByPathAasRepository;
932
+ /**
933
+ * Returns a specific submodel element from the Submodel at a specified path
934
+ */
935
+ const getSubmodelElementByPathAasRepository = (options) => {
936
+ var _a;
937
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options));
938
+ };
939
+ exports.getSubmodelElementByPathAasRepository = getSubmodelElementByPathAasRepository;
940
+ /**
941
+ * Updates an existing submodel element value at a specified path within submodel elements hierarchy
942
+ */
943
+ const patchSubmodelElementValueByPathAasRepository = (options) => {
944
+ var _a;
945
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
946
+ };
947
+ exports.patchSubmodelElementValueByPathAasRepository = patchSubmodelElementValueByPathAasRepository;
948
+ /**
949
+ * Creates a new submodel element at a specified path within submodel elements hierarchy
950
+ */
951
+ const postSubmodelElementByPathAasRepository = (options) => {
952
+ var _a;
953
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
954
+ };
955
+ exports.postSubmodelElementByPathAasRepository = postSubmodelElementByPathAasRepository;
956
+ /**
957
+ * Updates an existing submodel element at a specified path within submodel elements hierarchy
958
+ */
959
+ const putSubmodelElementByPathAasRepository = (options) => {
960
+ var _a;
961
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
962
+ };
963
+ exports.putSubmodelElementByPathAasRepository = putSubmodelElementByPathAasRepository;
964
+ /**
965
+ * Returns the metadata attributes if a specific submodel element from the Submodel at a specified path
966
+ */
967
+ const getSubmodelElementByPathMetadataAasRepository = (options) => {
968
+ var _a;
969
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$metadata' }, options));
970
+ };
971
+ exports.getSubmodelElementByPathMetadataAasRepository = getSubmodelElementByPathMetadataAasRepository;
972
+ /**
973
+ * Updates the metadata attributes of an existing submodel element value at a specified path within submodel elements hierarchy
974
+ */
975
+ const patchSubmodelElementValueByPathMetadata = (options) => {
976
+ var _a;
977
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$metadata' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
978
+ };
979
+ exports.patchSubmodelElementValueByPathMetadata = patchSubmodelElementValueByPathMetadata;
980
+ /**
981
+ * Returns a specific submodel element from the Submodel at a specified path in the ValueOnly representation
982
+ */
983
+ const getSubmodelElementByPathValueOnlyAasRepository = (options) => {
984
+ var _a;
985
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$value' }, options));
986
+ };
987
+ exports.getSubmodelElementByPathValueOnlyAasRepository = getSubmodelElementByPathValueOnlyAasRepository;
988
+ /**
989
+ * Updates the value of an existing submodel element value at a specified path within submodel elements hierarchy
990
+ */
991
+ // export const patchSubmodelElementValueByPathValueOnly = <ThrowOnError extends boolean = false>(
992
+ // options: Options<PatchSubmodelElementValueByPathValueOnlyData, ThrowOnError>
993
+ // ) => {
994
+ // return (options?.client ?? client).patch<
995
+ // PatchSubmodelElementValueByPathValueOnlyResponse,
996
+ // PatchSubmodelElementValueByPathValueOnlyError,
997
+ // ThrowOnError
998
+ // >({
999
+ // url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$value',
1000
+ // ...options,
1001
+ // headers: {
1002
+ // 'Content-Type': 'application/json',
1003
+ // ...options?.headers,
1004
+ // },
1005
+ // });
1006
+ // };
1007
+ /**
1008
+ * Returns the Reference of a specific submodel element from the Submodel at a specified path
1009
+ */
1010
+ const getSubmodelElementByPathReferenceAasRepository = (options) => {
1011
+ var _a;
1012
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$reference' }, options));
1013
+ };
1014
+ exports.getSubmodelElementByPathReferenceAasRepository = getSubmodelElementByPathReferenceAasRepository;
1015
+ /**
1016
+ * Returns a specific submodel element from the Submodel at a specified path in the Path notation
1017
+ */
1018
+ const getSubmodelElementByPathPathAasRepository = (options) => {
1019
+ var _a;
1020
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$path' }, options));
1021
+ };
1022
+ exports.getSubmodelElementByPathPathAasRepository = getSubmodelElementByPathPathAasRepository;
1023
+ /**
1024
+ * Deletes file content of an existing submodel element at a specified path within submodel elements hierarchy
1025
+ */
1026
+ const deleteFileByPathAasRepository = (options) => {
1027
+ var _a;
1028
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/attachment' }, options));
1029
+ };
1030
+ exports.deleteFileByPathAasRepository = deleteFileByPathAasRepository;
1031
+ /**
1032
+ * Downloads file content from a specific submodel element from the Submodel at a specified path
1033
+ */
1034
+ const getFileByPathAasRepository = (options) => {
1035
+ var _a;
1036
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/attachment' }, options));
1037
+ };
1038
+ exports.getFileByPathAasRepository = getFileByPathAasRepository;
1039
+ /**
1040
+ * Uploads file content to an existing submodel element at a specified path within submodel elements hierarchy
1041
+ */
1042
+ const putFileByPathAasRepository = (options) => {
1043
+ var _a;
1044
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign(Object.assign(Object.assign({}, client_fetch_1.formDataBodySerializer), { url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/attachment' }), options), { headers: Object.assign({ 'Content-Type': null }, options === null || options === void 0 ? void 0 : options.headers) }));
1045
+ };
1046
+ exports.putFileByPathAasRepository = putFileByPathAasRepository;
1047
+ /**
1048
+ * Synchronously invokes an Operation at a specified path
1049
+ */
1050
+ const invokeOperationAasRepository = (options) => {
1051
+ var _a;
1052
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/invoke' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1053
+ };
1054
+ exports.invokeOperationAasRepository = invokeOperationAasRepository;
1055
+ /**
1056
+ * Synchronously invokes an Operation at a specified path
1057
+ */
1058
+ const invokeOperationValueOnlyAasRepository = (options) => {
1059
+ var _a;
1060
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/invoke/$value' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1061
+ };
1062
+ exports.invokeOperationValueOnlyAasRepository = invokeOperationValueOnlyAasRepository;
1063
+ /**
1064
+ * Asynchronously invokes an Operation at a specified path
1065
+ */
1066
+ const invokeOperationAsyncAasRepository = (options) => {
1067
+ var _a;
1068
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/invoke-async' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1069
+ };
1070
+ exports.invokeOperationAsyncAasRepository = invokeOperationAsyncAasRepository;
1071
+ /**
1072
+ * Asynchronously invokes an Operation at a specified path
1073
+ */
1074
+ const invokeOperationAsyncValueOnlyAasRepository = (options) => {
1075
+ var _a;
1076
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/invoke-async/$value' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1077
+ };
1078
+ exports.invokeOperationAsyncValueOnlyAasRepository = invokeOperationAsyncValueOnlyAasRepository;
1079
+ /**
1080
+ * Returns the Operation status of an asynchronous invoked Operation
1081
+ */
1082
+ const getOperationAsyncStatusAasRepository = (options) => {
1083
+ var _a;
1084
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/operation-status/{handleId}' }, options));
1085
+ };
1086
+ exports.getOperationAsyncStatusAasRepository = getOperationAsyncStatusAasRepository;
1087
+ /**
1088
+ * Returns the Operation result of an asynchronous invoked Operation
1089
+ */
1090
+ const getOperationAsyncResultAasRepository = (options) => {
1091
+ var _a;
1092
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/operation-results/{handleId}' }, options));
1093
+ };
1094
+ exports.getOperationAsyncResultAasRepository = getOperationAsyncResultAasRepository;
1095
+ /**
1096
+ * Returns the ValueOnly notation of the Operation result of an asynchronous invoked Operation
1097
+ */
1098
+ const getOperationAsyncResultValueOnlyAasRepository = (options) => {
1099
+ var _a;
1100
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells/{aasIdentifier}/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/operation-results/{handleId}/$value' }, options));
1101
+ };
1102
+ exports.getOperationAsyncResultValueOnlyAasRepository = getOperationAsyncResultValueOnlyAasRepository;
1103
+ /**
1104
+ * Returns all Submodels
1105
+ */
1106
+ const getAllSubmodels = (options) => {
1107
+ var _a;
1108
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels' }, options));
1109
+ };
1110
+ exports.getAllSubmodels = getAllSubmodels;
1111
+ /**
1112
+ * Creates a new Submodel
1113
+ */
1114
+ const postSubmodel = (options) => {
1115
+ var _a;
1116
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/submodels' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1117
+ };
1118
+ exports.postSubmodel = postSubmodel;
1119
+ /**
1120
+ * Returns the metadata attributes of all Submodels
1121
+ */
1122
+ const getAllSubmodelsMetadata = (options) => {
1123
+ var _a;
1124
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/$metadata' }, options));
1125
+ };
1126
+ exports.getAllSubmodelsMetadata = getAllSubmodelsMetadata;
1127
+ /**
1128
+ * Returns all Submodels in their ValueOnly representation
1129
+ */
1130
+ const getAllSubmodelsValueOnly = (options) => {
1131
+ var _a;
1132
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/$value' }, options));
1133
+ };
1134
+ exports.getAllSubmodelsValueOnly = getAllSubmodelsValueOnly;
1135
+ /**
1136
+ * Returns the References for all Submodels
1137
+ */
1138
+ const getAllSubmodelsReference = (options) => {
1139
+ var _a;
1140
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/$reference' }, options));
1141
+ };
1142
+ exports.getAllSubmodelsReference = getAllSubmodelsReference;
1143
+ /**
1144
+ * Returns all Submodels in the Path notation
1145
+ */
1146
+ const getAllSubmodelsPath = (options) => {
1147
+ var _a;
1148
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/$path' }, options));
1149
+ };
1150
+ exports.getAllSubmodelsPath = getAllSubmodelsPath;
1151
+ /**
1152
+ * Deletes a Submodel
1153
+ */
1154
+ const deleteSubmodelById = (options) => {
1155
+ var _a;
1156
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/submodels/{submodelIdentifier}' }, options));
1157
+ };
1158
+ exports.deleteSubmodelById = deleteSubmodelById;
1159
+ /**
1160
+ * Returns a specific Submodel
1161
+ */
1162
+ const getSubmodelById = (options) => {
1163
+ var _a;
1164
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}' }, options));
1165
+ };
1166
+ exports.getSubmodelById = getSubmodelById;
1167
+ /**
1168
+ * Updates an existing Submodel
1169
+ */
1170
+ const patchSubmodelById = (options) => {
1171
+ var _a;
1172
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/submodels/{submodelIdentifier}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1173
+ };
1174
+ exports.patchSubmodelById = patchSubmodelById;
1175
+ /**
1176
+ * Updates an existing Submodel
1177
+ */
1178
+ const putSubmodelById = (options) => {
1179
+ var _a;
1180
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/submodels/{submodelIdentifier}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1181
+ };
1182
+ exports.putSubmodelById = putSubmodelById;
1183
+ /**
1184
+ * Returns the metadata attributes of a specific Submodel
1185
+ */
1186
+ const getSubmodelByIdMetadata = (options) => {
1187
+ var _a;
1188
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/$metadata' }, options));
1189
+ };
1190
+ exports.getSubmodelByIdMetadata = getSubmodelByIdMetadata;
1191
+ /**
1192
+ * Updates the metadata attributes of an existing Submodel
1193
+ */
1194
+ const patchSubmodelByIdMetadata = (options) => {
1195
+ var _a;
1196
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/submodels/{submodelIdentifier}/$metadata' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1197
+ };
1198
+ exports.patchSubmodelByIdMetadata = patchSubmodelByIdMetadata;
1199
+ /**
1200
+ * Returns a specific Submodel in the ValueOnly representation
1201
+ */
1202
+ const getSubmodelByIdValueOnly = (options) => {
1203
+ var _a;
1204
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/$value' }, options));
1205
+ };
1206
+ exports.getSubmodelByIdValueOnly = getSubmodelByIdValueOnly;
1207
+ /**
1208
+ * Updates the values of an existing Submodel
1209
+ */
1210
+ const patchSubmodelByIdValueOnly = (options) => {
1211
+ var _a;
1212
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/submodels/{submodelIdentifier}/$value' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1213
+ };
1214
+ exports.patchSubmodelByIdValueOnly = patchSubmodelByIdValueOnly;
1215
+ /**
1216
+ * Returns the Reference of a specific Submodel
1217
+ */
1218
+ const getSubmodelByIdReference = (options) => {
1219
+ var _a;
1220
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/$reference' }, options));
1221
+ };
1222
+ exports.getSubmodelByIdReference = getSubmodelByIdReference;
1223
+ /**
1224
+ * Returns a specific Submodel in the Path notation
1225
+ */
1226
+ const getSubmodelByIdPath = (options) => {
1227
+ var _a;
1228
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/$path' }, options));
1229
+ };
1230
+ exports.getSubmodelByIdPath = getSubmodelByIdPath;
1231
+ /**
1232
+ * Returns all submodel elements including their hierarchy
1233
+ */
1234
+ const getAllSubmodelElementsSubmodelRepository = (options) => {
1235
+ var _a;
1236
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements' }, options));
1237
+ };
1238
+ exports.getAllSubmodelElementsSubmodelRepository = getAllSubmodelElementsSubmodelRepository;
1239
+ /**
1240
+ * Creates a new submodel element
1241
+ */
1242
+ const postSubmodelElementSubmodelRepository = (options) => {
1243
+ var _a;
1244
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1245
+ };
1246
+ exports.postSubmodelElementSubmodelRepository = postSubmodelElementSubmodelRepository;
1247
+ /**
1248
+ * Returns the metadata attributes of all submodel elements including their hierarchy
1249
+ */
1250
+ const getAllSubmodelElementsMetadataSubmodelRepository = (options) => {
1251
+ var _a;
1252
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/$metadata' }, options));
1253
+ };
1254
+ exports.getAllSubmodelElementsMetadataSubmodelRepository = getAllSubmodelElementsMetadataSubmodelRepository;
1255
+ /**
1256
+ * Returns all submodel elements including their hierarchy in the ValueOnly representation
1257
+ */
1258
+ const getAllSubmodelElementsValueOnlySubmodelRepo = (options) => {
1259
+ var _a;
1260
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/$value' }, options));
1261
+ };
1262
+ exports.getAllSubmodelElementsValueOnlySubmodelRepo = getAllSubmodelElementsValueOnlySubmodelRepo;
1263
+ /**
1264
+ * Returns the References of all submodel elements
1265
+ */
1266
+ const getAllSubmodelElementsReferenceSubmodelRepo = (options) => {
1267
+ var _a;
1268
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/$reference' }, options));
1269
+ };
1270
+ exports.getAllSubmodelElementsReferenceSubmodelRepo = getAllSubmodelElementsReferenceSubmodelRepo;
1271
+ /**
1272
+ * Returns all submodel elements including their hierarchy in the Path notation
1273
+ */
1274
+ const getAllSubmodelElementsPathSubmodelRepo = (options) => {
1275
+ var _a;
1276
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/$path' }, options));
1277
+ };
1278
+ exports.getAllSubmodelElementsPathSubmodelRepo = getAllSubmodelElementsPathSubmodelRepo;
1279
+ /**
1280
+ * Deletes a submodel element at a specified path within the submodel elements hierarchy
1281
+ */
1282
+ const deleteSubmodelElementByPathSubmodelRepo = (options) => {
1283
+ var _a;
1284
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options));
1285
+ };
1286
+ exports.deleteSubmodelElementByPathSubmodelRepo = deleteSubmodelElementByPathSubmodelRepo;
1287
+ /**
1288
+ * Returns a specific submodel element from the Submodel at a specified path
1289
+ */
1290
+ const getSubmodelElementByPathSubmodelRepo = (options) => {
1291
+ var _a;
1292
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options));
1293
+ };
1294
+ exports.getSubmodelElementByPathSubmodelRepo = getSubmodelElementByPathSubmodelRepo;
1295
+ /**
1296
+ * Updates an existing SubmodelElement
1297
+ */
1298
+ const patchSubmodelElementByPathSubmodelRepo = (options) => {
1299
+ var _a;
1300
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1301
+ };
1302
+ exports.patchSubmodelElementByPathSubmodelRepo = patchSubmodelElementByPathSubmodelRepo;
1303
+ /**
1304
+ * Creates a new submodel element at a specified path within submodel elements hierarchy
1305
+ */
1306
+ const postSubmodelElementByPathSubmodelRepo = (options) => {
1307
+ var _a;
1308
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1309
+ };
1310
+ exports.postSubmodelElementByPathSubmodelRepo = postSubmodelElementByPathSubmodelRepo;
1311
+ /**
1312
+ * Updates an existing submodel element at a specified path within submodel elements hierarchy
1313
+ */
1314
+ const putSubmodelElementByPathSubmodelRepo = (options) => {
1315
+ var _a;
1316
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1317
+ };
1318
+ exports.putSubmodelElementByPathSubmodelRepo = putSubmodelElementByPathSubmodelRepo;
1319
+ /**
1320
+ * Returns the matadata attributes of a specific submodel element from the Submodel at a specified path
1321
+ */
1322
+ const getSubmodelElementByPathMetadataSubmodelRepo = (options) => {
1323
+ var _a;
1324
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$metadata' }, options));
1325
+ };
1326
+ exports.getSubmodelElementByPathMetadataSubmodelRepo = getSubmodelElementByPathMetadataSubmodelRepo;
1327
+ /**
1328
+ * Updates the metadata attributes an existing SubmodelElement
1329
+ */
1330
+ const patchSubmodelElementByPathMetadataSubmodelRepo = (options) => {
1331
+ var _a;
1332
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).patch(Object.assign(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$metadata' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1333
+ };
1334
+ exports.patchSubmodelElementByPathMetadataSubmodelRepo = patchSubmodelElementByPathMetadataSubmodelRepo;
1335
+ /**
1336
+ * Returns a specific submodel element from the Submodel at a specified path in the ValueOnly representation
1337
+ */
1338
+ const getSubmodelElementByPathValueOnlySubmodelRepo = (options) => {
1339
+ var _a;
1340
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$value' }, options));
1341
+ };
1342
+ exports.getSubmodelElementByPathValueOnlySubmodelRepo = getSubmodelElementByPathValueOnlySubmodelRepo;
1343
+ /**
1344
+ * Updates the value of an existing SubmodelElement
1345
+ */
1346
+ // export const patchSubmodelElementByPathValueOnlySubmodelRepo = <ThrowOnError extends boolean = false>(
1347
+ // options: Options<PatchSubmodelElementByPathValueOnlySubmodelRepoData, ThrowOnError>
1348
+ // ) => {
1349
+ // return (options?.client ?? client).patch<
1350
+ // PatchSubmodelElementByPathValueOnlySubmodelRepoResponse,
1351
+ // PatchSubmodelElementByPathValueOnlySubmodelRepoError,
1352
+ // ThrowOnError
1353
+ // >({
1354
+ // url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$value',
1355
+ // ...options,
1356
+ // headers: {
1357
+ // 'Content-Type': 'application/json',
1358
+ // ...options?.headers,
1359
+ // },
1360
+ // });
1361
+ // };
1362
+ /**
1363
+ * Returns the Referene of a specific submodel element from the Submodel at a specified path
1364
+ */
1365
+ const getSubmodelElementByPathReferenceSubmodelRepo = (options) => {
1366
+ var _a;
1367
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$reference' }, options));
1368
+ };
1369
+ exports.getSubmodelElementByPathReferenceSubmodelRepo = getSubmodelElementByPathReferenceSubmodelRepo;
1370
+ /**
1371
+ * Returns a specific submodel element from the Submodel at a specified path in the Path notation
1372
+ */
1373
+ const getSubmodelElementByPathPathSubmodelRepo = (options) => {
1374
+ var _a;
1375
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/$path' }, options));
1376
+ };
1377
+ exports.getSubmodelElementByPathPathSubmodelRepo = getSubmodelElementByPathPathSubmodelRepo;
1378
+ /**
1379
+ * Deletes file content of an existing submodel element at a specified path within submodel elements hierarchy
1380
+ */
1381
+ const deleteFileByPathSubmodelRepo = (options) => {
1382
+ var _a;
1383
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/attachment' }, options));
1384
+ };
1385
+ exports.deleteFileByPathSubmodelRepo = deleteFileByPathSubmodelRepo;
1386
+ /**
1387
+ * Downloads file content from a specific submodel element from the Submodel at a specified path
1388
+ */
1389
+ const getFileByPathSubmodelRepo = (options) => {
1390
+ var _a;
1391
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/attachment' }, options));
1392
+ };
1393
+ exports.getFileByPathSubmodelRepo = getFileByPathSubmodelRepo;
1394
+ /**
1395
+ * Uploads file content to an existing submodel element at a specified path within submodel elements hierarchy
1396
+ */
1397
+ const putFileByPathSubmodelRepo = (options) => {
1398
+ var _a;
1399
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign(Object.assign(Object.assign({}, client_fetch_1.formDataBodySerializer), { url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/attachment' }), options), { headers: Object.assign({ 'Content-Type': null }, options === null || options === void 0 ? void 0 : options.headers) }));
1400
+ };
1401
+ exports.putFileByPathSubmodelRepo = putFileByPathSubmodelRepo;
1402
+ /**
1403
+ * Synchronously invokes an Operation at a specified path
1404
+ */
1405
+ const invokeOperationSubmodelRepo = (options) => {
1406
+ var _a;
1407
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/invoke' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1408
+ };
1409
+ exports.invokeOperationSubmodelRepo = invokeOperationSubmodelRepo;
1410
+ /**
1411
+ * Synchronously invokes an Operation at a specified path
1412
+ */
1413
+ const invokeOperationValueOnlySubmodelRepo = (options) => {
1414
+ var _a;
1415
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/invoke/$value' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1416
+ };
1417
+ exports.invokeOperationValueOnlySubmodelRepo = invokeOperationValueOnlySubmodelRepo;
1418
+ /**
1419
+ * Asynchronously invokes an Operation at a specified path
1420
+ */
1421
+ const invokeOperationAsyncSubmodelRepo = (options) => {
1422
+ var _a;
1423
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/invoke-async' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1424
+ };
1425
+ exports.invokeOperationAsyncSubmodelRepo = invokeOperationAsyncSubmodelRepo;
1426
+ /**
1427
+ * Asynchronously invokes an Operation at a specified path
1428
+ */
1429
+ const invokeOperationAsyncValueOnlySubmodelRepo = (options) => {
1430
+ var _a;
1431
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/invoke-async/$value' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1432
+ };
1433
+ exports.invokeOperationAsyncValueOnlySubmodelRepo = invokeOperationAsyncValueOnlySubmodelRepo;
1434
+ /**
1435
+ * Returns the Operation status of an asynchronous invoked Operation
1436
+ */
1437
+ const getOperationAsyncStatusSubmodelRepo = (options) => {
1438
+ var _a;
1439
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/operation-status/{handleId}' }, options));
1440
+ };
1441
+ exports.getOperationAsyncStatusSubmodelRepo = getOperationAsyncStatusSubmodelRepo;
1442
+ /**
1443
+ * Returns the Operation result of an asynchronous invoked Operation
1444
+ */
1445
+ const getOperationAsyncResultSubmodelRepo = (options) => {
1446
+ var _a;
1447
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/operation-results/{handleId}' }, options));
1448
+ };
1449
+ exports.getOperationAsyncResultSubmodelRepo = getOperationAsyncResultSubmodelRepo;
1450
+ /**
1451
+ * Returns the Operation result of an asynchronous invoked Operation
1452
+ */
1453
+ const getOperationAsyncResultValueOnlySubmodelRepo = (options) => {
1454
+ var _a;
1455
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodels/{submodelIdentifier}/submodel-elements/{idShortPath}/operation-results/{handleId}/$value' }, options));
1456
+ };
1457
+ exports.getOperationAsyncResultValueOnlySubmodelRepo = getOperationAsyncResultValueOnlySubmodelRepo;
1458
+ /**
1459
+ * Returns all Concept Descriptions
1460
+ */
1461
+ const getAllConceptDescriptions = (options) => {
1462
+ var _a;
1463
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/concept-descriptions' }, options));
1464
+ };
1465
+ exports.getAllConceptDescriptions = getAllConceptDescriptions;
1466
+ /**
1467
+ * Creates a new Concept Description
1468
+ */
1469
+ const postConceptDescription = (options) => {
1470
+ var _a;
1471
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/concept-descriptions' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1472
+ };
1473
+ exports.postConceptDescription = postConceptDescription;
1474
+ /**
1475
+ * Deletes a Concept Description
1476
+ */
1477
+ const deleteConceptDescriptionById = (options) => {
1478
+ var _a;
1479
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/concept-descriptions/{cdIdentifier}' }, options));
1480
+ };
1481
+ exports.deleteConceptDescriptionById = deleteConceptDescriptionById;
1482
+ /**
1483
+ * Returns a specific Concept Description
1484
+ */
1485
+ const getConceptDescriptionById = (options) => {
1486
+ var _a;
1487
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/concept-descriptions/{cdIdentifier}' }, options));
1488
+ };
1489
+ exports.getConceptDescriptionById = getConceptDescriptionById;
1490
+ /**
1491
+ * Updates an existing Concept Description
1492
+ */
1493
+ const putConceptDescriptionById = (options) => {
1494
+ var _a;
1495
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/concept-descriptions/{cdIdentifier}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1496
+ };
1497
+ exports.putConceptDescriptionById = putConceptDescriptionById;
1498
+ /**
1499
+ * Returns all Asset Administration Shell Descriptors
1500
+ */
1501
+ const getAllAssetAdministrationShellDescriptors = (options) => {
1502
+ var _a;
1503
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shell-descriptors' }, options));
1504
+ };
1505
+ exports.getAllAssetAdministrationShellDescriptors = getAllAssetAdministrationShellDescriptors;
1506
+ /**
1507
+ * Creates a new Asset Administration Shell Descriptor, i.e. registers an AAS
1508
+ */
1509
+ const postAssetAdministrationShellDescriptor = (options) => {
1510
+ var _a;
1511
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/shell-descriptors' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1512
+ };
1513
+ exports.postAssetAdministrationShellDescriptor = postAssetAdministrationShellDescriptor;
1514
+ /**
1515
+ * Deletes an Asset Administration Shell Descriptor, i.e. de-registers an AAS
1516
+ */
1517
+ const deleteAssetAdministrationShellDescriptorById = (options) => {
1518
+ var _a;
1519
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/shell-descriptors/{aasIdentifier}' }, options));
1520
+ };
1521
+ exports.deleteAssetAdministrationShellDescriptorById = deleteAssetAdministrationShellDescriptorById;
1522
+ /**
1523
+ * Returns a specific Asset Administration Shell Descriptor
1524
+ */
1525
+ const getAssetAdministrationShellDescriptorById = (options) => {
1526
+ var _a;
1527
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shell-descriptors/{aasIdentifier}' }, options));
1528
+ };
1529
+ exports.getAssetAdministrationShellDescriptorById = getAssetAdministrationShellDescriptorById;
1530
+ /**
1531
+ * Updates an existing Asset Administration Shell Descriptor
1532
+ */
1533
+ const putAssetAdministrationShellDescriptorById = (options) => {
1534
+ var _a;
1535
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/shell-descriptors/{aasIdentifier}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1536
+ };
1537
+ exports.putAssetAdministrationShellDescriptorById = putAssetAdministrationShellDescriptorById;
1538
+ /**
1539
+ * Returns all Submodel Descriptors
1540
+ */
1541
+ const getAllSubmodelDescriptorsThroughSuperpath = (options) => {
1542
+ var _a;
1543
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shell-descriptors/{aasIdentifier}/submodel-descriptors' }, options));
1544
+ };
1545
+ exports.getAllSubmodelDescriptorsThroughSuperpath = getAllSubmodelDescriptorsThroughSuperpath;
1546
+ /**
1547
+ * Creates a new Submodel Descriptor, i.e. registers a submodel
1548
+ */
1549
+ const postSubmodelDescriptorThroughSuperpath = (options) => {
1550
+ var _a;
1551
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/shell-descriptors/{aasIdentifier}/submodel-descriptors' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1552
+ };
1553
+ exports.postSubmodelDescriptorThroughSuperpath = postSubmodelDescriptorThroughSuperpath;
1554
+ /**
1555
+ * Deletes a Submodel Descriptor, i.e. de-registers a submodel
1556
+ */
1557
+ const deleteSubmodelDescriptorByIdThroughSuperpath = (options) => {
1558
+ var _a;
1559
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/shell-descriptors/{aasIdentifier}/submodel-descriptors/{submodelIdentifier}' }, options));
1560
+ };
1561
+ exports.deleteSubmodelDescriptorByIdThroughSuperpath = deleteSubmodelDescriptorByIdThroughSuperpath;
1562
+ /**
1563
+ * Returns a specific Submodel Descriptor
1564
+ */
1565
+ const getSubmodelDescriptorByIdThroughSuperpath = (options) => {
1566
+ var _a;
1567
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shell-descriptors/{aasIdentifier}/submodel-descriptors/{submodelIdentifier}' }, options));
1568
+ };
1569
+ exports.getSubmodelDescriptorByIdThroughSuperpath = getSubmodelDescriptorByIdThroughSuperpath;
1570
+ /**
1571
+ * Updates an existing Submodel Descriptor
1572
+ */
1573
+ const putSubmodelDescriptorByIdThroughSuperpath = (options) => {
1574
+ var _a;
1575
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/shell-descriptors/{aasIdentifier}/submodel-descriptors/{submodelIdentifier}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1576
+ };
1577
+ exports.putSubmodelDescriptorByIdThroughSuperpath = putSubmodelDescriptorByIdThroughSuperpath;
1578
+ /**
1579
+ * Returns all Submodel Descriptors
1580
+ */
1581
+ const getAllSubmodelDescriptors = (options) => {
1582
+ var _a;
1583
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel-descriptors' }, options));
1584
+ };
1585
+ exports.getAllSubmodelDescriptors = getAllSubmodelDescriptors;
1586
+ /**
1587
+ * Creates a new Submodel Descriptor, i.e. registers a submodel
1588
+ */
1589
+ const postSubmodelDescriptor = (options) => {
1590
+ var _a;
1591
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/submodel-descriptors' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1592
+ };
1593
+ exports.postSubmodelDescriptor = postSubmodelDescriptor;
1594
+ /**
1595
+ * Deletes a Submodel Descriptor, i.e. de-registers a submodel
1596
+ */
1597
+ const deleteSubmodelDescriptorById = (options) => {
1598
+ var _a;
1599
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/submodel-descriptors/{submodelIdentifier}' }, options));
1600
+ };
1601
+ exports.deleteSubmodelDescriptorById = deleteSubmodelDescriptorById;
1602
+ /**
1603
+ * Returns a specific Submodel Descriptor
1604
+ */
1605
+ const getSubmodelDescriptorById = (options) => {
1606
+ var _a;
1607
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/submodel-descriptors/{submodelIdentifier}' }, options));
1608
+ };
1609
+ exports.getSubmodelDescriptorById = getSubmodelDescriptorById;
1610
+ /**
1611
+ * Updates an existing Submodel Descriptor
1612
+ */
1613
+ const putSubmodelDescriptorById = (options) => {
1614
+ var _a;
1615
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign({ url: '/submodel-descriptors/{submodelIdentifier}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1616
+ };
1617
+ exports.putSubmodelDescriptorById = putSubmodelDescriptorById;
1618
+ /**
1619
+ * Returns a list of Asset Administration Shell ids linked to specific Asset identifiers
1620
+ */
1621
+ const getAllAssetAdministrationShellIdsByAssetLink = (options) => {
1622
+ var _a;
1623
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/lookup/shells' }, options));
1624
+ };
1625
+ exports.getAllAssetAdministrationShellIdsByAssetLink = getAllAssetAdministrationShellIdsByAssetLink;
1626
+ /**
1627
+ * Deletes all specific Asset identifiers linked to an Asset Administration Shell to edit discoverable content
1628
+ */
1629
+ const deleteAllAssetLinksById = (options) => {
1630
+ var _a;
1631
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/lookup/shells/{aasIdentifier}' }, options));
1632
+ };
1633
+ exports.deleteAllAssetLinksById = deleteAllAssetLinksById;
1634
+ /**
1635
+ * Returns a list of specific Asset identifiers based on an Asset Administration Shell id to edit discoverable content
1636
+ */
1637
+ const getAllAssetLinksById = (options) => {
1638
+ var _a;
1639
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/lookup/shells/{aasIdentifier}' }, options));
1640
+ };
1641
+ exports.getAllAssetLinksById = getAllAssetLinksById;
1642
+ /**
1643
+ * Creates specific Asset identifiers linked to an Asset Administration Shell to edit discoverable content
1644
+ */
1645
+ const postAllAssetLinksById = (options) => {
1646
+ var _a;
1647
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign({ url: '/lookup/shells/{aasIdentifier}' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers) }));
1648
+ };
1649
+ exports.postAllAssetLinksById = postAllAssetLinksById;
1650
+ /**
1651
+ * Returns a list of available AASX packages at the server
1652
+ */
1653
+ const getAllAasxPackageIds = (options) => {
1654
+ var _a;
1655
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/packages' }, options));
1656
+ };
1657
+ exports.getAllAasxPackageIds = getAllAasxPackageIds;
1658
+ /**
1659
+ * Stores the AASX package at the server
1660
+ */
1661
+ const postAasxPackage = (options) => {
1662
+ var _a;
1663
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).post(Object.assign(Object.assign(Object.assign(Object.assign({}, client_fetch_1.formDataBodySerializer), { url: '/packages' }), options), { headers: Object.assign({ 'Content-Type': null }, options === null || options === void 0 ? void 0 : options.headers) }));
1664
+ };
1665
+ exports.postAasxPackage = postAasxPackage;
1666
+ /**
1667
+ * Deletes a specific AASX package from the server
1668
+ */
1669
+ const deleteAasxByPackageId = (options) => {
1670
+ var _a;
1671
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).delete(Object.assign({ url: '/packages/{packageId}' }, options));
1672
+ };
1673
+ exports.deleteAasxByPackageId = deleteAasxByPackageId;
1674
+ /**
1675
+ * Returns a specific AASX package from the server
1676
+ */
1677
+ const getAasxByPackageId = (options) => {
1678
+ var _a;
1679
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/packages/{packageId}' }, options));
1680
+ };
1681
+ exports.getAasxByPackageId = getAasxByPackageId;
1682
+ /**
1683
+ * Updates the AASX package at the server
1684
+ */
1685
+ const putAasxByPackageId = (options) => {
1686
+ var _a;
1687
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).put(Object.assign(Object.assign(Object.assign(Object.assign({}, client_fetch_1.formDataBodySerializer), { url: '/packages/{packageId}' }), options), { headers: Object.assign({ 'Content-Type': null }, options === null || options === void 0 ? void 0 : options.headers) }));
1688
+ };
1689
+ exports.putAasxByPackageId = putAasxByPackageId;
1690
+ /**
1691
+ * Returns an appropriate serialization based on the specified format (see SerializationFormat)
1692
+ */
1693
+ const generateSerializationByIds = (options) => {
1694
+ var _a;
1695
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/serialization' }, options));
1696
+ };
1697
+ exports.generateSerializationByIds = generateSerializationByIds;
1698
+ /**
1699
+ * Returns the self-describing information of a network resource (ServiceDescription)
1700
+ */
1701
+ const getDescription = (options) => {
1702
+ var _a;
1703
+ return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/description' }, options));
1704
+ };
1705
+ exports.getDescription = getDescription;