basyx-typescript-sdk 0.1.1 → 0.1.3

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.
@@ -1,430 +0,0 @@
1
- "use strict";
2
- // This file is auto-generated by @hey-api/openapi-ts
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.invokeOperationAsyncValueOnlyAasRepository = exports.invokeOperationAsyncAasRepository = exports.invokeOperationValueOnlyAasRepository = exports.invokeOperationAasRepository = exports.putFileByPathAasRepository = exports.getFileByPathAasRepository = exports.deleteFileByPathAasRepository = exports.getSubmodelElementByPathPathAasRepository = exports.getSubmodelElementByPathReferenceAasRepository = exports.patchSubmodelElementValueByPathValueOnly = 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 = 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.client = void 0;
5
- exports.getDescription = exports.generateSerializationByIds = exports.getOperationAsyncResultValueOnlyAasRepository = exports.getOperationAsyncResultAasRepository = exports.getOperationAsyncStatusAasRepository = void 0;
6
- const client_fetch_1 = require("@hey-api/client-fetch");
7
- exports.client = (0, client_fetch_1.createClient)((0, client_fetch_1.createConfig)());
8
- /**
9
- * Returns all Asset Administration Shells
10
- */
11
- const getAllAssetAdministrationShells = (options) => {
12
- var _a;
13
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/shells' }, options));
14
- };
15
- exports.getAllAssetAdministrationShells = getAllAssetAdministrationShells;
16
- /**
17
- * Creates a new Asset Administration Shell
18
- */
19
- const postAssetAdministrationShell = (options) => {
20
- var _a;
21
- 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) }));
22
- };
23
- exports.postAssetAdministrationShell = postAssetAdministrationShell;
24
- /**
25
- * Returns References to all Asset Administration Shells
26
- */
27
- const getAllAssetAdministrationShellsReference = (options) => {
28
- var _a;
29
- 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));
30
- };
31
- exports.getAllAssetAdministrationShellsReference = getAllAssetAdministrationShellsReference;
32
- /**
33
- * Deletes an Asset Administration Shell
34
- */
35
- const deleteAssetAdministrationShellById = (options) => {
36
- var _a;
37
- 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));
38
- };
39
- exports.deleteAssetAdministrationShellById = deleteAssetAdministrationShellById;
40
- /**
41
- * Returns a specific Asset Administration Shell
42
- */
43
- const getAssetAdministrationShellById = (options) => {
44
- var _a;
45
- 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));
46
- };
47
- exports.getAssetAdministrationShellById = getAssetAdministrationShellById;
48
- /**
49
- * Updates an existing Asset Administration Shell
50
- */
51
- const putAssetAdministrationShellById = (options) => {
52
- var _a;
53
- 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) }));
54
- };
55
- exports.putAssetAdministrationShellById = putAssetAdministrationShellById;
56
- /**
57
- * Returns a specific Asset Administration Shell as a Reference
58
- */
59
- const getAssetAdministrationShellByIdReferenceAasRepository = (options) => {
60
- var _a;
61
- 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));
62
- };
63
- exports.getAssetAdministrationShellByIdReferenceAasRepository = getAssetAdministrationShellByIdReferenceAasRepository;
64
- /**
65
- * Returns the Asset Information
66
- */
67
- const getAssetInformationAasRepository = (options) => {
68
- var _a;
69
- 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));
70
- };
71
- exports.getAssetInformationAasRepository = getAssetInformationAasRepository;
72
- /**
73
- * Updates the Asset Information
74
- */
75
- const putAssetInformationAasRepository = (options) => {
76
- var _a;
77
- 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) }));
78
- };
79
- exports.putAssetInformationAasRepository = putAssetInformationAasRepository;
80
- const deleteThumbnailAasRepository = (options) => {
81
- var _a;
82
- 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));
83
- };
84
- exports.deleteThumbnailAasRepository = deleteThumbnailAasRepository;
85
- const getThumbnailAasRepository = (options) => {
86
- var _a;
87
- 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));
88
- };
89
- exports.getThumbnailAasRepository = getThumbnailAasRepository;
90
- const putThumbnailAasRepository = (options) => {
91
- var _a;
92
- 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) }));
93
- };
94
- exports.putThumbnailAasRepository = putThumbnailAasRepository;
95
- /**
96
- * Returns all submodel references
97
- */
98
- const getAllSubmodelReferencesAasRepository = (options) => {
99
- var _a;
100
- 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));
101
- };
102
- exports.getAllSubmodelReferencesAasRepository = getAllSubmodelReferencesAasRepository;
103
- /**
104
- * Creates a submodel reference at the Asset Administration Shell
105
- */
106
- const postSubmodelReferenceAasRepository = (options) => {
107
- var _a;
108
- 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) }));
109
- };
110
- exports.postSubmodelReferenceAasRepository = postSubmodelReferenceAasRepository;
111
- /**
112
- * Deletes the submodel reference from the Asset Administration Shell. Does not delete the submodel itself!
113
- */
114
- const deleteSubmodelReferenceByIdAasRepository = (options) => {
115
- var _a;
116
- 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));
117
- };
118
- exports.deleteSubmodelReferenceByIdAasRepository = deleteSubmodelReferenceByIdAasRepository;
119
- /**
120
- * Deletes the submodel from the Asset Administration Shell and the Repository.
121
- */
122
- const deleteSubmodelByIdAasRepository = (options) => {
123
- var _a;
124
- 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));
125
- };
126
- exports.deleteSubmodelByIdAasRepository = deleteSubmodelByIdAasRepository;
127
- /**
128
- * Returns the Submodel
129
- */
130
- const getSubmodelByIdAasRepository = (options) => {
131
- var _a;
132
- 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));
133
- };
134
- exports.getSubmodelByIdAasRepository = getSubmodelByIdAasRepository;
135
- /**
136
- * Updates the Submodel
137
- */
138
- const patchSubmodelAasRepository = (options) => {
139
- var _a;
140
- 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) }));
141
- };
142
- exports.patchSubmodelAasRepository = patchSubmodelAasRepository;
143
- /**
144
- * Updates the Submodel
145
- */
146
- const putSubmodelByIdAasRepository = (options) => {
147
- var _a;
148
- 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) }));
149
- };
150
- exports.putSubmodelByIdAasRepository = putSubmodelByIdAasRepository;
151
- /**
152
- * Returns the Submodel's metadata elements
153
- */
154
- const getSubmodelByIdMetadataAasRepository = (options) => {
155
- var _a;
156
- 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));
157
- };
158
- exports.getSubmodelByIdMetadataAasRepository = getSubmodelByIdMetadataAasRepository;
159
- /**
160
- * Updates the metadata attributes of the Submodel
161
- */
162
- const patchSubmodelByIdMetadataAasRepository = (options) => {
163
- var _a;
164
- 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) }));
165
- };
166
- exports.patchSubmodelByIdMetadataAasRepository = patchSubmodelByIdMetadataAasRepository;
167
- /**
168
- * Returns the Submodel's ValueOnly representation
169
- */
170
- const getSubmodelByIdValueOnlyAasRepository = (options) => {
171
- var _a;
172
- 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));
173
- };
174
- exports.getSubmodelByIdValueOnlyAasRepository = getSubmodelByIdValueOnlyAasRepository;
175
- /**
176
- * Updates the values of the Submodel
177
- */
178
- const patchSubmodelByIdValueOnlyAasRepository = (options) => {
179
- var _a;
180
- 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) }));
181
- };
182
- exports.patchSubmodelByIdValueOnlyAasRepository = patchSubmodelByIdValueOnlyAasRepository;
183
- /**
184
- * Returns the Submodel as a Reference
185
- */
186
- const getSubmodelByIdReferenceAasRepository = (options) => {
187
- var _a;
188
- 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));
189
- };
190
- exports.getSubmodelByIdReferenceAasRepository = getSubmodelByIdReferenceAasRepository;
191
- /**
192
- * Returns the Submodel's metadata elements
193
- */
194
- const getSubmodelByIdPathAasRepository = (options) => {
195
- var _a;
196
- 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));
197
- };
198
- exports.getSubmodelByIdPathAasRepository = getSubmodelByIdPathAasRepository;
199
- /**
200
- * Returns all submodel elements including their hierarchy
201
- */
202
- const getAllSubmodelElementsAasRepository = (options) => {
203
- var _a;
204
- 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));
205
- };
206
- exports.getAllSubmodelElementsAasRepository = getAllSubmodelElementsAasRepository;
207
- /**
208
- * Creates a new submodel element
209
- */
210
- const postSubmodelElementAasRepository = (options) => {
211
- var _a;
212
- 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) }));
213
- };
214
- exports.postSubmodelElementAasRepository = postSubmodelElementAasRepository;
215
- /**
216
- * Returns all submodel elements including their hierarchy
217
- */
218
- const getAllSubmodelElementsMetadataAasRepository = (options) => {
219
- var _a;
220
- 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));
221
- };
222
- exports.getAllSubmodelElementsMetadataAasRepository = getAllSubmodelElementsMetadataAasRepository;
223
- /**
224
- * Returns all submodel elements including their hierarchy in the ValueOnly representation
225
- */
226
- const getAllSubmodelElementsValueOnlyAasRepository = (options) => {
227
- var _a;
228
- 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));
229
- };
230
- exports.getAllSubmodelElementsValueOnlyAasRepository = getAllSubmodelElementsValueOnlyAasRepository;
231
- /**
232
- * Returns all submodel elements as a list of References
233
- */
234
- const getAllSubmodelElementsReferenceAasRepository = (options) => {
235
- var _a;
236
- 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));
237
- };
238
- exports.getAllSubmodelElementsReferenceAasRepository = getAllSubmodelElementsReferenceAasRepository;
239
- /**
240
- * Returns all submodel elements including their hierarchy
241
- */
242
- const getAllSubmodelElementsPathAasRepository = (options) => {
243
- var _a;
244
- 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));
245
- };
246
- exports.getAllSubmodelElementsPathAasRepository = getAllSubmodelElementsPathAasRepository;
247
- /**
248
- * Deletes a submodel element at a specified path within the submodel elements hierarchy
249
- */
250
- const deleteSubmodelElementByPathAasRepository = (options) => {
251
- var _a;
252
- 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));
253
- };
254
- exports.deleteSubmodelElementByPathAasRepository = deleteSubmodelElementByPathAasRepository;
255
- /**
256
- * Returns a specific submodel element from the Submodel at a specified path
257
- */
258
- const getSubmodelElementByPathAasRepository = (options) => {
259
- var _a;
260
- 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));
261
- };
262
- exports.getSubmodelElementByPathAasRepository = getSubmodelElementByPathAasRepository;
263
- /**
264
- * Updates an existing submodel element value at a specified path within submodel elements hierarchy
265
- */
266
- const patchSubmodelElementValueByPathAasRepository = (options) => {
267
- var _a;
268
- 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) }));
269
- };
270
- exports.patchSubmodelElementValueByPathAasRepository = patchSubmodelElementValueByPathAasRepository;
271
- /**
272
- * Creates a new submodel element at a specified path within submodel elements hierarchy
273
- */
274
- const postSubmodelElementByPathAasRepository = (options) => {
275
- var _a;
276
- 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) }));
277
- };
278
- exports.postSubmodelElementByPathAasRepository = postSubmodelElementByPathAasRepository;
279
- /**
280
- * Updates an existing submodel element at a specified path within submodel elements hierarchy
281
- */
282
- const putSubmodelElementByPathAasRepository = (options) => {
283
- var _a;
284
- 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) }));
285
- };
286
- exports.putSubmodelElementByPathAasRepository = putSubmodelElementByPathAasRepository;
287
- /**
288
- * Returns the metadata attributes if a specific submodel element from the Submodel at a specified path
289
- */
290
- const getSubmodelElementByPathMetadataAasRepository = (options) => {
291
- var _a;
292
- 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));
293
- };
294
- exports.getSubmodelElementByPathMetadataAasRepository = getSubmodelElementByPathMetadataAasRepository;
295
- /**
296
- * Updates the metadata attributes of an existing submodel element value at a specified path within submodel elements hierarchy
297
- */
298
- const patchSubmodelElementValueByPathMetadata = (options) => {
299
- var _a;
300
- 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) }));
301
- };
302
- exports.patchSubmodelElementValueByPathMetadata = patchSubmodelElementValueByPathMetadata;
303
- /**
304
- * Returns a specific submodel element from the Submodel at a specified path in the ValueOnly representation
305
- */
306
- const getSubmodelElementByPathValueOnlyAasRepository = (options) => {
307
- var _a;
308
- 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));
309
- };
310
- exports.getSubmodelElementByPathValueOnlyAasRepository = getSubmodelElementByPathValueOnlyAasRepository;
311
- /**
312
- * Updates the value of an existing submodel element value at a specified path within submodel elements hierarchy
313
- */
314
- const patchSubmodelElementValueByPathValueOnly = (options) => {
315
- var _a;
316
- 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}/$value' }, options), { headers: Object.assign({ 'Content-Type': 'application/json' }, options === null || options === void 0 ? void 0 : options.headers), body: options === null || options === void 0 ? void 0 : options.body }));
317
- };
318
- exports.patchSubmodelElementValueByPathValueOnly = patchSubmodelElementValueByPathValueOnly;
319
- /**
320
- * Returns the Reference of a specific submodel element from the Submodel at a specified path
321
- */
322
- const getSubmodelElementByPathReferenceAasRepository = (options) => {
323
- var _a;
324
- 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));
325
- };
326
- exports.getSubmodelElementByPathReferenceAasRepository = getSubmodelElementByPathReferenceAasRepository;
327
- /**
328
- * Returns a specific submodel element from the Submodel at a specified path in the Path notation
329
- */
330
- const getSubmodelElementByPathPathAasRepository = (options) => {
331
- var _a;
332
- 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));
333
- };
334
- exports.getSubmodelElementByPathPathAasRepository = getSubmodelElementByPathPathAasRepository;
335
- /**
336
- * Deletes file content of an existing submodel element at a specified path within submodel elements hierarchy
337
- */
338
- const deleteFileByPathAasRepository = (options) => {
339
- var _a;
340
- 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));
341
- };
342
- exports.deleteFileByPathAasRepository = deleteFileByPathAasRepository;
343
- /**
344
- * Downloads file content from a specific submodel element from the Submodel at a specified path
345
- */
346
- const getFileByPathAasRepository = (options) => {
347
- var _a;
348
- 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));
349
- };
350
- exports.getFileByPathAasRepository = getFileByPathAasRepository;
351
- /**
352
- * Uploads file content to an existing submodel element at a specified path within submodel elements hierarchy
353
- */
354
- const putFileByPathAasRepository = (options) => {
355
- var _a;
356
- 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) }));
357
- };
358
- exports.putFileByPathAasRepository = putFileByPathAasRepository;
359
- /**
360
- * Synchronously invokes an Operation at a specified path
361
- */
362
- const invokeOperationAasRepository = (options) => {
363
- var _a;
364
- 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) }));
365
- };
366
- exports.invokeOperationAasRepository = invokeOperationAasRepository;
367
- /**
368
- * Synchronously invokes an Operation at a specified path
369
- */
370
- const invokeOperationValueOnlyAasRepository = (options) => {
371
- var _a;
372
- 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) }));
373
- };
374
- exports.invokeOperationValueOnlyAasRepository = invokeOperationValueOnlyAasRepository;
375
- /**
376
- * Asynchronously invokes an Operation at a specified path
377
- */
378
- const invokeOperationAsyncAasRepository = (options) => {
379
- var _a;
380
- 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) }));
381
- };
382
- exports.invokeOperationAsyncAasRepository = invokeOperationAsyncAasRepository;
383
- /**
384
- * Asynchronously invokes an Operation at a specified path
385
- */
386
- const invokeOperationAsyncValueOnlyAasRepository = (options) => {
387
- var _a;
388
- 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) }));
389
- };
390
- exports.invokeOperationAsyncValueOnlyAasRepository = invokeOperationAsyncValueOnlyAasRepository;
391
- /**
392
- * Returns the Operation status of an asynchronous invoked Operation
393
- */
394
- const getOperationAsyncStatusAasRepository = (options) => {
395
- var _a;
396
- 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));
397
- };
398
- exports.getOperationAsyncStatusAasRepository = getOperationAsyncStatusAasRepository;
399
- /**
400
- * Returns the Operation result of an asynchronous invoked Operation
401
- */
402
- const getOperationAsyncResultAasRepository = (options) => {
403
- var _a;
404
- 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));
405
- };
406
- exports.getOperationAsyncResultAasRepository = getOperationAsyncResultAasRepository;
407
- /**
408
- * Returns the ValueOnly notation of the Operation result of an asynchronous invoked Operation
409
- */
410
- const getOperationAsyncResultValueOnlyAasRepository = (options) => {
411
- var _a;
412
- 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));
413
- };
414
- exports.getOperationAsyncResultValueOnlyAasRepository = getOperationAsyncResultValueOnlyAasRepository;
415
- /**
416
- * Returns an appropriate serialization based on the specified format (see SerializationFormat)
417
- */
418
- const generateSerializationByIds = (options) => {
419
- var _a;
420
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/serialization' }, options));
421
- };
422
- exports.generateSerializationByIds = generateSerializationByIds;
423
- /**
424
- * Returns the self-describing information of a network resource (ServiceDescription)
425
- */
426
- const getDescription = (options) => {
427
- var _a;
428
- return ((_a = options === null || options === void 0 ? void 0 : options.client) !== null && _a !== void 0 ? _a : exports.client).get(Object.assign({ url: '/description' }, options));
429
- };
430
- exports.getDescription = getDescription;