basyx-typescript-sdk 0.2.2 → 1.0.0

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.
Files changed (143) hide show
  1. package/README.md +19 -12
  2. package/bundle/index.js +15444 -866
  3. package/bundle/index.js.map +1 -1
  4. package/dist/clients/AasDiscoveryClient.d.ts +68 -0
  5. package/dist/clients/AasDiscoveryClient.js +115 -0
  6. package/dist/clients/AasRegistryClient.d.ts +164 -0
  7. package/dist/clients/AasRegistryClient.js +287 -0
  8. package/dist/clients/AasRepositoryClient.d.ts +791 -103
  9. package/dist/clients/AasRepositoryClient.js +1323 -215
  10. package/dist/clients/AasxFileClient.d.ts +82 -0
  11. package/dist/clients/AasxFileClient.js +148 -0
  12. package/dist/clients/ConceptDescriptionRepositoryClient.d.ts +84 -0
  13. package/dist/clients/ConceptDescriptionRepositoryClient.js +143 -0
  14. package/dist/clients/SubmodelRegistryClient.d.ts +78 -0
  15. package/dist/clients/SubmodelRegistryClient.js +138 -0
  16. package/dist/clients/SubmodelRepositoryClient.d.ts +355 -0
  17. package/dist/clients/SubmodelRepositoryClient.js +585 -0
  18. package/dist/clients/index.d.ts +6 -0
  19. package/dist/clients/index.js +6 -0
  20. package/dist/generated/AasDiscoveryService/apis/AssetAdministrationShellBasicDiscoveryAPIApi.d.ts +80 -0
  21. package/dist/generated/AasDiscoveryService/apis/AssetAdministrationShellBasicDiscoveryAPIApi.js +156 -0
  22. package/dist/generated/AasDiscoveryService/apis/DescriptionAPIApi.d.ts +26 -0
  23. package/dist/generated/AasDiscoveryService/apis/DescriptionAPIApi.js +40 -0
  24. package/dist/generated/AasDiscoveryService/apis/index.d.ts +2 -0
  25. package/dist/generated/AasDiscoveryService/apis/index.js +4 -0
  26. package/dist/generated/AasDiscoveryService/index.d.ts +2 -0
  27. package/dist/generated/AasDiscoveryService/index.js +4 -0
  28. package/dist/generated/AasDiscoveryService/models/index.d.ts +297 -0
  29. package/dist/generated/AasDiscoveryService/models/index.js +48 -0
  30. package/dist/generated/AasRegistryService/apis/AssetAdministrationShellRegistryAPIApi.d.ts +139 -0
  31. package/dist/generated/AasRegistryService/apis/AssetAdministrationShellRegistryAPIApi.js +312 -0
  32. package/dist/generated/AasRegistryService/apis/DescriptionAPIApi.d.ts +26 -0
  33. package/dist/generated/AasRegistryService/apis/DescriptionAPIApi.js +40 -0
  34. package/dist/generated/AasRegistryService/apis/index.d.ts +2 -0
  35. package/dist/generated/AasRegistryService/apis/index.js +4 -0
  36. package/dist/generated/AasRegistryService/index.d.ts +2 -0
  37. package/dist/generated/AasRegistryService/index.js +4 -0
  38. package/dist/generated/AasRegistryService/models/index.d.ts +1070 -0
  39. package/dist/generated/AasRegistryService/models/index.js +151 -0
  40. package/dist/generated/AasRepositoryService/apis/AssetAdministrationShellRepositoryAPIApi.d.ts +870 -0
  41. package/dist/generated/AasRepositoryService/apis/AssetAdministrationShellRepositoryAPIApi.js +1842 -0
  42. package/dist/generated/AasRepositoryService/apis/DescriptionAPIApi.d.ts +26 -0
  43. package/dist/generated/AasRepositoryService/apis/DescriptionAPIApi.js +40 -0
  44. package/dist/generated/AasRepositoryService/apis/SerializationAPIApi.d.ts +30 -0
  45. package/dist/generated/AasRepositoryService/apis/SerializationAPIApi.js +49 -0
  46. package/dist/generated/AasRepositoryService/apis/index.d.ts +3 -0
  47. package/dist/generated/AasRepositoryService/apis/index.js +5 -0
  48. package/dist/generated/AasRepositoryService/index.d.ts +2 -0
  49. package/dist/generated/AasRepositoryService/index.js +4 -0
  50. package/dist/generated/AasRepositoryService/models/index.d.ts +4585 -0
  51. package/dist/generated/AasRepositoryService/models/index.js +221 -0
  52. package/dist/generated/AasxFileService/apis/AASXFileServerAPIApi.d.ts +78 -0
  53. package/dist/generated/AasxFileService/apis/AASXFileServerAPIApi.js +184 -0
  54. package/dist/generated/AasxFileService/apis/index.d.ts +1 -0
  55. package/dist/generated/AasxFileService/apis/index.js +3 -0
  56. package/dist/generated/AasxFileService/index.d.ts +2 -0
  57. package/dist/generated/AasxFileService/index.js +4 -0
  58. package/dist/generated/AasxFileService/models/index.d.ts +80 -0
  59. package/dist/generated/AasxFileService/models/index.js +10 -0
  60. package/dist/generated/ConceptDescriptionRepositoryService/apis/ConceptDescriptionRepositoryAPIApi.d.ts +78 -0
  61. package/dist/generated/ConceptDescriptionRepositoryService/apis/ConceptDescriptionRepositoryAPIApi.js +164 -0
  62. package/dist/generated/ConceptDescriptionRepositoryService/apis/DescriptionAPIApi.d.ts +26 -0
  63. package/dist/generated/ConceptDescriptionRepositoryService/apis/DescriptionAPIApi.js +40 -0
  64. package/dist/generated/ConceptDescriptionRepositoryService/apis/SerializationAPIApi.d.ts +30 -0
  65. package/dist/generated/ConceptDescriptionRepositoryService/apis/SerializationAPIApi.js +49 -0
  66. package/dist/generated/ConceptDescriptionRepositoryService/apis/index.d.ts +3 -0
  67. package/dist/generated/ConceptDescriptionRepositoryService/apis/index.js +5 -0
  68. package/dist/generated/ConceptDescriptionRepositoryService/index.d.ts +2 -0
  69. package/dist/generated/ConceptDescriptionRepositoryService/index.js +3 -0
  70. package/dist/generated/ConceptDescriptionRepositoryService/models/index.d.ts +2869 -0
  71. package/dist/generated/ConceptDescriptionRepositoryService/models/index.js +209 -0
  72. package/dist/generated/SubmodelRegistryService/apis/DescriptionAPIApi.d.ts +26 -0
  73. package/dist/generated/SubmodelRegistryService/apis/DescriptionAPIApi.js +40 -0
  74. package/dist/generated/SubmodelRegistryService/apis/SubmodelRegistryAPIApi.d.ts +75 -0
  75. package/dist/generated/SubmodelRegistryService/apis/SubmodelRegistryAPIApi.js +155 -0
  76. package/dist/generated/SubmodelRegistryService/apis/index.d.ts +2 -0
  77. package/dist/generated/SubmodelRegistryService/apis/index.js +4 -0
  78. package/dist/generated/SubmodelRegistryService/index.d.ts +2 -0
  79. package/dist/generated/SubmodelRegistryService/index.js +4 -0
  80. package/dist/generated/SubmodelRegistryService/models/index.d.ts +924 -0
  81. package/dist/generated/SubmodelRegistryService/models/index.js +141 -0
  82. package/dist/generated/SubmodelRepositoryService/apis/DescriptionAPIApi.d.ts +26 -0
  83. package/dist/generated/SubmodelRepositoryService/apis/DescriptionAPIApi.js +40 -0
  84. package/dist/generated/SubmodelRepositoryService/apis/SerializationAPIApi.d.ts +30 -0
  85. package/dist/generated/SubmodelRepositoryService/apis/SerializationAPIApi.js +49 -0
  86. package/dist/generated/SubmodelRepositoryService/apis/SubmodelRepositoryAPIApi.d.ts +802 -0
  87. package/dist/generated/SubmodelRepositoryService/apis/SubmodelRepositoryAPIApi.js +1572 -0
  88. package/dist/generated/SubmodelRepositoryService/apis/index.d.ts +3 -0
  89. package/dist/generated/SubmodelRepositoryService/apis/index.js +5 -0
  90. package/dist/generated/SubmodelRepositoryService/index.d.ts +2 -0
  91. package/dist/generated/SubmodelRepositoryService/index.js +4 -0
  92. package/dist/generated/SubmodelRepositoryService/models/index.d.ts +4623 -0
  93. package/dist/generated/SubmodelRepositoryService/models/index.js +221 -0
  94. package/dist/generated/index.d.ts +9 -2
  95. package/dist/generated/index.js +9 -3
  96. package/dist/generated/runtime.d.ts +181 -0
  97. package/dist/generated/runtime.js +326 -0
  98. package/dist/index.d.ts +1 -1
  99. package/dist/index.js +1 -1
  100. package/dist/lib/apiConfig.d.ts +2 -0
  101. package/dist/lib/apiConfig.js +23 -0
  102. package/dist/lib/base64Url.js +4 -0
  103. package/dist/lib/convertAasDescriptorTypes.d.ts +34 -0
  104. package/dist/lib/convertAasDescriptorTypes.js +76 -0
  105. package/dist/lib/convertAasDiscoveryTypes.d.ts +18 -0
  106. package/dist/lib/convertAasDiscoveryTypes.js +39 -0
  107. package/dist/lib/convertAasTypes.d.ts +7 -7
  108. package/dist/lib/convertAasTypes.js +5 -0
  109. package/dist/lib/convertConceptDescriptionTypes.d.ts +18 -0
  110. package/dist/lib/convertConceptDescriptionTypes.js +39 -0
  111. package/dist/lib/convertSubmodelTypes.d.ts +34 -0
  112. package/dist/lib/convertSubmodelTypes.js +69 -0
  113. package/dist/lib/descriptorJsonization.d.ts +12 -0
  114. package/dist/lib/descriptorJsonization.js +172 -0
  115. package/dist/lib/errorHandler.d.ts +9 -0
  116. package/dist/lib/errorHandler.js +94 -0
  117. package/dist/models/Descriptors.d.ts +51 -0
  118. package/dist/models/Descriptors.js +56 -0
  119. package/dist/models/index.d.ts +0 -1
  120. package/dist/models/index.js +0 -1
  121. package/dist/utils/DescriptorUtils.d.ts +9 -0
  122. package/dist/utils/DescriptorUtils.js +37 -0
  123. package/dist/utils/KeyTypesUtil.d.ts +24 -0
  124. package/dist/utils/KeyTypesUtil.js +55 -0
  125. package/dist/utils/MultiLanguagePropertyUtils.d.ts +24 -0
  126. package/dist/utils/MultiLanguagePropertyUtils.js +46 -0
  127. package/dist/utils/ReferableUtils.d.ts +69 -0
  128. package/dist/utils/ReferableUtils.js +220 -0
  129. package/dist/utils/ReferenceUtil.d.ts +9 -0
  130. package/dist/utils/ReferenceUtil.js +22 -0
  131. package/dist/utils/SemanticIdUtils.d.ts +119 -0
  132. package/dist/utils/SemanticIdUtils.js +363 -0
  133. package/package.json +14 -11
  134. package/dist/generated/schemas.gen.d.ts +0 -2357
  135. package/dist/generated/schemas.gen.js +0 -2789
  136. package/dist/generated/sdk.gen.d.ts +0 -822
  137. package/dist/generated/sdk.gen.js +0 -2225
  138. package/dist/generated/types.gen.d.ts +0 -10829
  139. package/dist/generated/types.gen.js +0 -2
  140. package/dist/lib/createAasRepoClient.d.ts +0 -9
  141. package/dist/lib/createAasRepoClient.js +0 -15
  142. package/dist/models/aas-repository.d.ts +0 -65
  143. package/dist/models/aas-repository.js +0 -1
@@ -0,0 +1,355 @@
1
+ import type { ISubmodelElement, Submodel } from '@aas-core-works/aas-core3.0-typescript/types';
2
+ import type { ApiResult } from '../models/api';
3
+ import { SubmodelRepositoryService } from '../generated';
4
+ import { Configuration } from '../generated/runtime';
5
+ export declare class SubmodelRepositoryClient {
6
+ /**
7
+ * Returns all Submodels
8
+ *
9
+ * @param options Object containing:
10
+ * - configuration: The http request options
11
+ * - semanticId?: The value of the semantic id reference
12
+ * - idShort?: The Asset Administration Shell's IdShort
13
+ * - limit?: The maximum number of elements in the response array
14
+ * - cursor?: A server-generated identifier retrieved from pagingMetadata that specifies from which position the result listing should continue
15
+ * - level?: Determines the structural depth of the respective resource content
16
+ * - extent?: Determines to which extent the resource is being serialized
17
+ *
18
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
19
+ */
20
+ getAllSubmodels(options: {
21
+ configuration: Configuration;
22
+ semanticId?: string;
23
+ idShort?: string;
24
+ limit?: number;
25
+ cursor?: string;
26
+ level?: SubmodelRepositoryService.GetAllSubmodelsLevelEnum;
27
+ extent?: SubmodelRepositoryService.GetAllSubmodelsExtentEnum;
28
+ }): Promise<ApiResult<{
29
+ pagedResult: SubmodelRepositoryService.PagedResultPagingMetadata | undefined;
30
+ result: Submodel[];
31
+ }, SubmodelRepositoryService.Result>>;
32
+ /**
33
+ * Creates a new Submodel
34
+ *
35
+ * @param options Object containing:
36
+ * - configuration: The http request options.
37
+ * - submodel: Submodel object
38
+ *
39
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
40
+ */
41
+ postSubmodel(options: {
42
+ configuration: Configuration;
43
+ submodel: Submodel;
44
+ }): Promise<ApiResult<Submodel, SubmodelRepositoryService.Result>>;
45
+ /**
46
+ * Deletes a Submodel
47
+ *
48
+ * @param options Object containing:
49
+ * - configuration: The http request options
50
+ * - submodelIdentifier: The Submodel’s unique id
51
+ *
52
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
53
+ */
54
+ deleteSubmodelById(options: {
55
+ configuration: Configuration;
56
+ submodelIdentifier: string;
57
+ }): Promise<ApiResult<void, SubmodelRepositoryService.Result>>;
58
+ /**
59
+ * Returns a specific Submodel
60
+ *
61
+ * @param options Object containing:
62
+ * - configuration: The http request options
63
+ * - submodelIdentifier: The Submodel’s unique id
64
+ * - level?: Determines the structural depth of the respective resource content
65
+ * - extent?: Determines to which extent the resource is being serialized
66
+ *
67
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
68
+ */
69
+ getSubmodelById(options: {
70
+ configuration: Configuration;
71
+ submodelIdentifier: string;
72
+ level?: SubmodelRepositoryService.GetSubmodelByIdLevelEnum;
73
+ extent?: SubmodelRepositoryService.GetSubmodelByIdExtentEnum;
74
+ }): Promise<ApiResult<Submodel, SubmodelRepositoryService.Result>>;
75
+ /**
76
+ * Updates an existing Submodel
77
+ *
78
+ * @param options Object containing:
79
+ * - configuration: The http request options
80
+ * - submodelIdentifier: The Submodel’s unique id
81
+ * - submodel: Submodel object
82
+ *
83
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
84
+ */
85
+ putSubmodelById(options: {
86
+ configuration: Configuration;
87
+ submodelIdentifier: string;
88
+ submodel: Submodel;
89
+ }): Promise<ApiResult<Submodel | void, SubmodelRepositoryService.Result>>;
90
+ /**
91
+ * Returns all submodel elements including their hierarchy
92
+ *
93
+ * @param options Object containing:
94
+ * - configuration: The http request options
95
+ * - submodelIdentifier: The Submodel’s unique id
96
+ * - limit?: The maximum number of elements in the response array
97
+ * - cursor?: A server-generated identifier retrieved from pagingMetadata that specifies from which position the result listing should continue
98
+ * - level?: Determines the structural depth of the respective resource content
99
+ * - extent?: Determines to which extent the resource is being serialized
100
+ *
101
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
102
+ */
103
+ getAllSubmodelElements(options: {
104
+ configuration: Configuration;
105
+ submodelIdentifier: string;
106
+ limit?: number;
107
+ cursor?: string;
108
+ level?: SubmodelRepositoryService.GetAllSubmodelElementsLevelEnum;
109
+ extent?: SubmodelRepositoryService.GetAllSubmodelElementsExtentEnum;
110
+ }): Promise<ApiResult<{
111
+ pagedResult: SubmodelRepositoryService.PagedResultPagingMetadata | undefined;
112
+ result: ISubmodelElement[];
113
+ }, SubmodelRepositoryService.Result>>;
114
+ /**
115
+ * Creates a new submodel element
116
+ *
117
+ * @param options Object containing:
118
+ * - configuration: The http request options
119
+ * - submodelIdentifier: The Submodel’s unique id
120
+ *
121
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
122
+ */
123
+ postSubmodelElement(options: {
124
+ configuration: Configuration;
125
+ submodelIdentifier: string;
126
+ submodelElement: ISubmodelElement;
127
+ }): Promise<ApiResult<ISubmodelElement, SubmodelRepositoryService.Result>>;
128
+ /**
129
+ * Returns a specific submodel element from the Submodel at a specified path
130
+ *
131
+ * @param options Object containing:
132
+ * - configuration: The http request options
133
+ * - submodelIdentifier: The Submodel’s unique id
134
+ * - idShortPath: IdShort path to the submodel element (dot-separated)
135
+ * - level?: Determines the structural depth of the respective resource content
136
+ * - extent?: Determines to which extent the resource is being serialized
137
+ *
138
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
139
+ */
140
+ getSubmodelElementByPath(options: {
141
+ configuration: Configuration;
142
+ submodelIdentifier: string;
143
+ idShortPath: string;
144
+ level?: SubmodelRepositoryService.GetSubmodelElementByPathSubmodelRepoLevelEnum;
145
+ extent?: SubmodelRepositoryService.GetSubmodelElementByPathSubmodelRepoExtentEnum;
146
+ }): Promise<ApiResult<ISubmodelElement, SubmodelRepositoryService.Result>>;
147
+ /**
148
+ * Creates a new submodel element at a specified path within submodel elements hierarchy
149
+ *
150
+ * @param options Object containing:
151
+ * - configuration: The http request options.
152
+ * - submodelIdentifier: The Submodel’s unique id
153
+ * - idShortPath: IdShort path to the submodel element (dot-separated)
154
+ * - submodelElement: SubmodelElement object
155
+ *
156
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
157
+ */
158
+ postSubmodelElementByPath(options: {
159
+ configuration: Configuration;
160
+ submodelIdentifier: string;
161
+ idShortPath: string;
162
+ submodelElement: ISubmodelElement;
163
+ }): Promise<ApiResult<ISubmodelElement, SubmodelRepositoryService.Result>>;
164
+ /**
165
+ * Deletes a submodel element at a specified path within the submodel elements hierarchy
166
+ *
167
+ * @param options Object containing:
168
+ * - configuration: The http request options.
169
+ * - submodelIdentifier: The Submodel’s unique id
170
+ * - idShortPath: IdShort path to the submodel element (dot-separated)
171
+ *
172
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
173
+ */
174
+ deleteSubmodelElementByPath(options: {
175
+ configuration: Configuration;
176
+ submodelIdentifier: string;
177
+ idShortPath: string;
178
+ }): Promise<ApiResult<void, SubmodelRepositoryService.Result>>;
179
+ /**
180
+ * Updates an existing submodel element at a specified path within submodel elements hierarchy
181
+ *
182
+ * @param options Object containing:
183
+ * - configuration: The http request options
184
+ * - submodelIdentifier: The Submodel’s unique id
185
+ * - idShortPath: IdShort path to the submodel element (dot-separated)
186
+ * - submodelElement: SubmodelElement object
187
+ * - level?: Determines the structural depth of the respective resource content
188
+ *
189
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
190
+ */
191
+ putSubmodelElementByPath(options: {
192
+ configuration: Configuration;
193
+ submodelIdentifier: string;
194
+ idShortPath: string;
195
+ submodelElement: ISubmodelElement;
196
+ level?: SubmodelRepositoryService.PutSubmodelElementByPathSubmodelRepoLevelEnum;
197
+ }): Promise<ApiResult<ISubmodelElement | void, SubmodelRepositoryService.Result>>;
198
+ /**
199
+ * Returns the metadata attributes of a specific Submodel
200
+ *
201
+ * @param options Object containing:
202
+ * - configuration: The http request options
203
+ * - submodelIdentifier: The Submodel’s unique id
204
+ *
205
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
206
+ */
207
+ getSubmodelByIdMetadata(options: {
208
+ configuration: Configuration;
209
+ submodelIdentifier: string;
210
+ }): Promise<ApiResult<SubmodelRepositoryService.SubmodelMetadata, SubmodelRepositoryService.Result>>;
211
+ /**
212
+ * Returns a specific Submodel in the ValueOnly representation
213
+ *
214
+ * @param options Object containing:
215
+ * - configuration: The http request options
216
+ * - submodelIdentifier: The Submodel’s unique id
217
+ * - level?: Determines the structural depth of the respective resource content
218
+ * - extent?: Determines to which extent the resource is being serialized
219
+ *
220
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
221
+ */
222
+ getSubmodelByIdValueOnly(options: {
223
+ configuration: Configuration;
224
+ submodelIdentifier: string;
225
+ level?: SubmodelRepositoryService.GetSubmodelByIdValueOnlyLevelEnum;
226
+ extent?: SubmodelRepositoryService.GetSubmodelByIdValueOnlyExtentEnum;
227
+ }): Promise<ApiResult<object, SubmodelRepositoryService.Result>>;
228
+ /**
229
+ // * Updates the values of an existing Submodel
230
+ // *
231
+ // * @param options Object containing:
232
+ // * - configuration: The http request options
233
+ // * - submodelIdentifier: The Submodel’s unique id
234
+ // * - level?: Determines the structural depth of the respective resource content
235
+ // *
236
+ // * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
237
+ // */
238
+ patchSubmodelByIdValueOnly(options: {
239
+ configuration: Configuration;
240
+ submodelIdentifier: string;
241
+ body: object;
242
+ level?: SubmodelRepositoryService.PatchSubmodelByIdValueOnlyLevelEnum;
243
+ }): Promise<ApiResult<void, SubmodelRepositoryService.Result>>;
244
+ /**
245
+ * Returns a specific submodel element from the Submodel at a specified path in the ValueOnly representation
246
+ *
247
+ * @param options Object containing:
248
+ * - configuration: The http request options
249
+ * - submodelIdentifier: The Submodel’s unique id
250
+ * - idShortPath: IdShort path to the submodel element (dot-separated)
251
+ * - level?: Determines the structural depth of the respective resource content
252
+ * - extent?: Determines to which extent the resource is being serialized
253
+ *
254
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
255
+ */
256
+ getSubmodelElementByPathValueOnly(options: {
257
+ configuration: Configuration;
258
+ submodelIdentifier: string;
259
+ idShortPath: string;
260
+ level?: SubmodelRepositoryService.GetSubmodelElementByPathValueOnlySubmodelRepoLevelEnum;
261
+ extent?: SubmodelRepositoryService.GetSubmodelElementByPathValueOnlySubmodelRepoExtentEnum;
262
+ }): Promise<ApiResult<SubmodelRepositoryService.SubmodelElementValue, SubmodelRepositoryService.Result>>;
263
+ /**
264
+ // * Updates the value of an existing SubmodelElement
265
+ // *
266
+ // * @param options Object containing:
267
+ // * - configuration: The http request options
268
+ // * - submodelIdentifier: The Submodel’s unique id
269
+ // * - idShortPath: IdShort path to the submodel element (dot-separated)
270
+ // * - submodelElementValue: SubmodelElementValue object
271
+ // * - level?: Determines the structural depth of the respective resource content
272
+ // *
273
+ // * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
274
+ // */
275
+ patchSubmodelElementByPathValueOnly(options: {
276
+ configuration: Configuration;
277
+ submodelIdentifier: string;
278
+ idShortPath: string;
279
+ submodelElementValue: SubmodelRepositoryService.SubmodelElementValue;
280
+ level?: SubmodelRepositoryService.PatchSubmodelElementByPathValueOnlySubmodelRepoLevelEnum;
281
+ }): Promise<ApiResult<void, SubmodelRepositoryService.Result>>;
282
+ /**
283
+ * Synchronously invokes an Operation at a specified path
284
+ *
285
+ * @param options Object containing:
286
+ * - configuration: The http request options.
287
+ * - submodelIdentifier: The Submodel’s unique id
288
+ * - idShortPath: IdShort path to the submodel element (dot-separated)
289
+ * - operationRequest: Operation request object
290
+ * - async?: Determines whether an operation invocation is performed asynchronously or synchronously
291
+ *
292
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
293
+ */
294
+ postInvokeOperationSubmodelRepo(options: {
295
+ configuration: Configuration;
296
+ submodelIdentifier: string;
297
+ idShortPath: string;
298
+ operationRequest: SubmodelRepositoryService.OperationRequest;
299
+ }): Promise<ApiResult<SubmodelRepositoryService.OperationResult, SubmodelRepositoryService.Result>>;
300
+ /**
301
+ * Synchronously invokes an Operation at a specified path
302
+ *
303
+ * @param options Object containing:
304
+ * - configuration: The http request options.
305
+ * - aasIdentifier: The Asset Administration Shell’s unique id (UTF8-BASE64-URL-encoded)
306
+ * - submodelIdentifier: The Submodel’s unique id
307
+ * - idShortPath: IdShort path to the submodel element (dot-separated)
308
+ * - operationRequestValueOnly: Operation request object
309
+ *
310
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
311
+ */
312
+ postInvokeOperationValueOnly(options: {
313
+ configuration: Configuration;
314
+ aasIdentifier: string;
315
+ submodelIdentifier: string;
316
+ idShortPath: string;
317
+ operationRequestValueOnly: SubmodelRepositoryService.OperationRequestValueOnly;
318
+ }): Promise<ApiResult<SubmodelRepositoryService.OperationResultValueOnly, SubmodelRepositoryService.Result>>;
319
+ /**
320
+ * Asynchronously invokes an Operation at a specified path
321
+ *
322
+ * @param options Object containing:
323
+ * - configuration: The http request options.
324
+ * - submodelIdentifier: The Submodel’s unique id
325
+ * - idShortPath: IdShort path to the submodel element (dot-separated)
326
+ * - operationRequest: Operation request object
327
+ *
328
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
329
+ */
330
+ postInvokeOperationAsync(options: {
331
+ configuration: Configuration;
332
+ submodelIdentifier: string;
333
+ idShortPath: string;
334
+ operationRequest: SubmodelRepositoryService.OperationRequest;
335
+ }): Promise<ApiResult<void, SubmodelRepositoryService.Result>>;
336
+ /**
337
+ * Asynchronously invokes an Operation at a specified path
338
+ *
339
+ * @param options Object containing:
340
+ * - configuration: The http request options.
341
+ * - aasIdentifier: The Asset Administration Shell’s unique id (UTF8-BASE64-URL-encoded)
342
+ * - submodelIdentifier: The Submodel’s unique id
343
+ * - idShortPath: IdShort path to the submodel element (dot-separated)
344
+ * - operationRequestValueOnly: Operation request object
345
+ *
346
+ * @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
347
+ */
348
+ postInvokeOperationAsyncValueOnly(options: {
349
+ configuration: Configuration;
350
+ aasIdentifier: string;
351
+ submodelIdentifier: string;
352
+ idShortPath: string;
353
+ operationRequestValueOnly: SubmodelRepositoryService.OperationRequestValueOnly;
354
+ }): Promise<ApiResult<void, SubmodelRepositoryService.Result>>;
355
+ }