basyx-typescript-sdk 2.1.2 → 2.2.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.
Files changed (43) hide show
  1. package/bundle/index.cjs +18256 -4707
  2. package/bundle/index.cjs.map +1 -1
  3. package/bundle/index.mjs +18238 -4692
  4. package/bundle/index.mjs.map +1 -1
  5. package/dist/clients/AasDiscoveryClient.d.ts +31 -0
  6. package/dist/clients/AasDiscoveryClient.js +51 -0
  7. package/dist/clients/AasRegistryClient.d.ts +11 -0
  8. package/dist/clients/AasRegistryClient.js +20 -0
  9. package/dist/clients/AasRepositoryClient.d.ts +50 -0
  10. package/dist/clients/AasRepositoryClient.js +81 -0
  11. package/dist/clients/ConceptDescriptionRepositoryClient.d.ts +28 -0
  12. package/dist/clients/ConceptDescriptionRepositoryClient.js +47 -0
  13. package/dist/clients/SubmodelRegistryClient.d.ts +11 -0
  14. package/dist/clients/SubmodelRegistryClient.js +20 -0
  15. package/dist/clients/SubmodelRepositoryClient.d.ts +229 -0
  16. package/dist/clients/SubmodelRepositoryClient.js +501 -0
  17. package/dist/generated/AasRegistryService/apis/AssetAdministrationShellRegistryAPIApi.d.ts +2 -2
  18. package/dist/generated/AasRegistryService/apis/AssetAdministrationShellRegistryAPIApi.js +2 -2
  19. package/dist/generated/AasRegistryService/apis/DescriptionAPIApi.d.ts +2 -2
  20. package/dist/generated/AasRegistryService/apis/DescriptionAPIApi.js +2 -2
  21. package/dist/generated/AasRegistryService/index.d.ts +1 -0
  22. package/dist/generated/AasRegistryService/index.js +1 -0
  23. package/dist/generated/AasRegistryService/models/index.d.ts +10 -10
  24. package/dist/generated/AasRegistryService/models/index.js +1 -1
  25. package/dist/generated/AasRegistryService/runtime.d.ts +181 -0
  26. package/dist/generated/AasRegistryService/runtime.js +326 -0
  27. package/dist/generated/AasRepositoryService/apis/AssetAdministrationShellRepositoryAPIApi.d.ts +2 -2
  28. package/dist/generated/AasRepositoryService/apis/AssetAdministrationShellRepositoryAPIApi.js +2 -2
  29. package/dist/generated/AasRepositoryService/apis/DescriptionAPIApi.d.ts +2 -2
  30. package/dist/generated/AasRepositoryService/apis/DescriptionAPIApi.js +2 -2
  31. package/dist/generated/AasRepositoryService/apis/SerializationAPIApi.d.ts +2 -2
  32. package/dist/generated/AasRepositoryService/apis/SerializationAPIApi.js +2 -2
  33. package/dist/generated/AasRepositoryService/index.d.ts +1 -0
  34. package/dist/generated/AasRepositoryService/index.js +1 -0
  35. package/dist/generated/AasRepositoryService/runtime.d.ts +181 -0
  36. package/dist/generated/AasRepositoryService/runtime.js +326 -0
  37. package/dist/lib/apiConfig.d.ts +1 -2
  38. package/dist/lib/apiConfig.js +2 -3
  39. package/dist/lib/index.d.ts +1 -0
  40. package/dist/lib/index.js +2 -0
  41. package/dist/models/index.d.ts +1 -0
  42. package/dist/models/index.js +1 -0
  43. package/package.json +2 -2
@@ -820,45 +820,45 @@ export interface ProtocolInformation {
820
820
  subprotocolBodyEncoding?: string;
821
821
  /**
822
822
  *
823
- * @type {Array<ProtocolInformationSecurityAttributes>}
823
+ * @type {Array<ProtocolInformationSecurityAttributesInner>}
824
824
  * @memberof ProtocolInformation
825
825
  */
826
- securityAttributes?: Array<ProtocolInformationSecurityAttributes>;
826
+ securityAttributes?: Array<ProtocolInformationSecurityAttributesInner>;
827
827
  }
828
828
  /**
829
829
  *
830
830
  * @export
831
- * @interface ProtocolInformationSecurityAttributes
831
+ * @interface ProtocolInformationSecurityAttributesInner
832
832
  */
833
- export interface ProtocolInformationSecurityAttributes {
833
+ export interface ProtocolInformationSecurityAttributesInner {
834
834
  /**
835
835
  *
836
836
  * @type {string}
837
- * @memberof ProtocolInformationSecurityAttributes
837
+ * @memberof ProtocolInformationSecurityAttributesInner
838
838
  */
839
- type: ProtocolInformationSecurityAttributesTypeEnum;
839
+ type: ProtocolInformationSecurityAttributesInnerTypeEnum;
840
840
  /**
841
841
  *
842
842
  * @type {string}
843
- * @memberof ProtocolInformationSecurityAttributes
843
+ * @memberof ProtocolInformationSecurityAttributesInner
844
844
  */
845
845
  key: string;
846
846
  /**
847
847
  *
848
848
  * @type {string}
849
- * @memberof ProtocolInformationSecurityAttributes
849
+ * @memberof ProtocolInformationSecurityAttributesInner
850
850
  */
851
851
  value: string;
852
852
  }
853
853
  /**
854
854
  * @export
855
855
  */
856
- export declare const ProtocolInformationSecurityAttributesTypeEnum: {
856
+ export declare const ProtocolInformationSecurityAttributesInnerTypeEnum: {
857
857
  readonly None: "NONE";
858
858
  readonly RfcTlsa: "RFC_TLSA";
859
859
  readonly W3CDid: "W3C_DID";
860
860
  };
861
- export type ProtocolInformationSecurityAttributesTypeEnum = typeof ProtocolInformationSecurityAttributesTypeEnum[keyof typeof ProtocolInformationSecurityAttributesTypeEnum];
861
+ export type ProtocolInformationSecurityAttributesInnerTypeEnum = typeof ProtocolInformationSecurityAttributesInnerTypeEnum[keyof typeof ProtocolInformationSecurityAttributesInnerTypeEnum];
862
862
  /**
863
863
  *
864
864
  * @export
@@ -136,7 +136,7 @@ export const ModelType = {
136
136
  /**
137
137
  * @export
138
138
  */
139
- export const ProtocolInformationSecurityAttributesTypeEnum = {
139
+ export const ProtocolInformationSecurityAttributesInnerTypeEnum = {
140
140
  None: 'NONE',
141
141
  RfcTlsa: 'RFC_TLSA',
142
142
  W3CDid: 'W3C_DID'
@@ -0,0 +1,181 @@
1
+ /**
2
+ * DotAAS Part 2 | HTTP/REST | Asset Administration Shell Registry Service Specification
3
+ * The Full Profile of the Asset Administration Shell Registry Service Specification as part of the [Specification of the Asset Administration Shell: Part 2](https://industrialdigitaltwin.org/en/content-hub/aasspecifications). Copyright: Industrial Digital Twin Association (IDTA) 2025
4
+ *
5
+ * The version of the OpenAPI document: V3.1.1_SSP-001
6
+ * Contact: info@idtwin.org
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare const BASE_PATH: string;
13
+ export interface ConfigurationParameters {
14
+ basePath?: string;
15
+ fetchApi?: FetchAPI;
16
+ middleware?: Middleware[];
17
+ queryParamsStringify?: (params: HTTPQuery) => string;
18
+ username?: string;
19
+ password?: string;
20
+ apiKey?: string | Promise<string> | ((name: string) => string | Promise<string>);
21
+ accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string | Promise<string>);
22
+ headers?: HTTPHeaders;
23
+ credentials?: RequestCredentials;
24
+ }
25
+ export declare class Configuration {
26
+ private configuration;
27
+ constructor(configuration?: ConfigurationParameters);
28
+ set config(configuration: Configuration);
29
+ get basePath(): string;
30
+ get fetchApi(): FetchAPI | undefined;
31
+ get middleware(): Middleware[];
32
+ get queryParamsStringify(): (params: HTTPQuery) => string;
33
+ get username(): string | undefined;
34
+ get password(): string | undefined;
35
+ get apiKey(): ((name: string) => string | Promise<string>) | undefined;
36
+ get accessToken(): ((name?: string, scopes?: string[]) => string | Promise<string>) | undefined;
37
+ get headers(): HTTPHeaders | undefined;
38
+ get credentials(): RequestCredentials | undefined;
39
+ }
40
+ export declare const DefaultConfig: Configuration;
41
+ /**
42
+ * This is the base class for all generated API classes.
43
+ */
44
+ export declare class BaseAPI {
45
+ protected configuration: Configuration;
46
+ private static readonly jsonRegex;
47
+ private middleware;
48
+ constructor(configuration?: Configuration);
49
+ withMiddleware<T extends BaseAPI>(this: T, ...middlewares: Middleware[]): T;
50
+ withPreMiddleware<T extends BaseAPI>(this: T, ...preMiddlewares: Array<Middleware['pre']>): T;
51
+ withPostMiddleware<T extends BaseAPI>(this: T, ...postMiddlewares: Array<Middleware['post']>): T;
52
+ /**
53
+ * Check if the given MIME is a JSON MIME.
54
+ * JSON MIME examples:
55
+ * application/json
56
+ * application/json; charset=UTF8
57
+ * APPLICATION/JSON
58
+ * application/vnd.company+json
59
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
60
+ * @return True if the given MIME is JSON, false otherwise.
61
+ */
62
+ protected isJsonMime(mime: string | null | undefined): boolean;
63
+ protected request(context: RequestOpts, initOverrides?: RequestInit | InitOverrideFunction): Promise<Response>;
64
+ private createFetchParams;
65
+ private fetchApi;
66
+ /**
67
+ * Create a shallow clone of `this` by constructing a new instance
68
+ * and then shallow cloning data members.
69
+ */
70
+ private clone;
71
+ }
72
+ export declare class ResponseError extends Error {
73
+ response: Response;
74
+ name: "ResponseError";
75
+ constructor(response: Response, msg?: string);
76
+ }
77
+ export declare class FetchError extends Error {
78
+ cause: Error;
79
+ name: "FetchError";
80
+ constructor(cause: Error, msg?: string);
81
+ }
82
+ export declare class RequiredError extends Error {
83
+ field: string;
84
+ name: "RequiredError";
85
+ constructor(field: string, msg?: string);
86
+ }
87
+ export declare const COLLECTION_FORMATS: {
88
+ csv: string;
89
+ ssv: string;
90
+ tsv: string;
91
+ pipes: string;
92
+ };
93
+ export type FetchAPI = WindowOrWorkerGlobalScope['fetch'];
94
+ export type Json = any;
95
+ export type HTTPMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'OPTIONS' | 'HEAD';
96
+ export type HTTPHeaders = {
97
+ [key: string]: string;
98
+ };
99
+ export type HTTPQuery = {
100
+ [key: string]: string | number | null | boolean | Array<string | number | null | boolean> | Set<string | number | null | boolean> | HTTPQuery;
101
+ };
102
+ export type HTTPBody = Json | FormData | URLSearchParams;
103
+ export type HTTPRequestInit = {
104
+ headers?: HTTPHeaders;
105
+ method: HTTPMethod;
106
+ credentials?: RequestCredentials;
107
+ body?: HTTPBody;
108
+ };
109
+ export type ModelPropertyNaming = 'camelCase' | 'snake_case' | 'PascalCase' | 'original';
110
+ export type InitOverrideFunction = (requestContext: {
111
+ init: HTTPRequestInit;
112
+ context: RequestOpts;
113
+ }) => Promise<RequestInit>;
114
+ export interface FetchParams {
115
+ url: string;
116
+ init: RequestInit;
117
+ }
118
+ export interface RequestOpts {
119
+ path: string;
120
+ method: HTTPMethod;
121
+ headers: HTTPHeaders;
122
+ query?: HTTPQuery;
123
+ body?: HTTPBody;
124
+ }
125
+ export declare function querystring(params: HTTPQuery, prefix?: string): string;
126
+ export declare function exists(json: any, key: string): boolean;
127
+ export declare function canConsumeForm(consumes: Consume[]): boolean;
128
+ export interface Consume {
129
+ contentType: string;
130
+ }
131
+ export interface RequestContext {
132
+ fetch: FetchAPI;
133
+ url: string;
134
+ init: RequestInit;
135
+ }
136
+ export interface ResponseContext {
137
+ fetch: FetchAPI;
138
+ url: string;
139
+ init: RequestInit;
140
+ response: Response;
141
+ }
142
+ export interface ErrorContext {
143
+ fetch: FetchAPI;
144
+ url: string;
145
+ init: RequestInit;
146
+ error: unknown;
147
+ response?: Response;
148
+ }
149
+ export interface Middleware {
150
+ pre?(context: RequestContext): Promise<FetchParams | void>;
151
+ post?(context: ResponseContext): Promise<Response | void>;
152
+ onError?(context: ErrorContext): Promise<Response | void>;
153
+ }
154
+ export interface ApiResponse<T> {
155
+ raw: Response;
156
+ value(): Promise<T>;
157
+ }
158
+ export interface ResponseTransformer<T> {
159
+ (json: any): T;
160
+ }
161
+ export declare class JSONApiResponse<T> {
162
+ raw: Response;
163
+ private transformer;
164
+ constructor(raw: Response, transformer?: ResponseTransformer<T>);
165
+ value(): Promise<T>;
166
+ }
167
+ export declare class VoidApiResponse {
168
+ raw: Response;
169
+ constructor(raw: Response);
170
+ value(): Promise<void>;
171
+ }
172
+ export declare class BlobApiResponse {
173
+ raw: Response;
174
+ constructor(raw: Response);
175
+ value(): Promise<Blob>;
176
+ }
177
+ export declare class TextApiResponse {
178
+ raw: Response;
179
+ constructor(raw: Response);
180
+ value(): Promise<string>;
181
+ }
@@ -0,0 +1,326 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * DotAAS Part 2 | HTTP/REST | Asset Administration Shell Registry Service Specification
5
+ * The Full Profile of the Asset Administration Shell Registry Service Specification as part of the [Specification of the Asset Administration Shell: Part 2](https://industrialdigitaltwin.org/en/content-hub/aasspecifications). Copyright: Industrial Digital Twin Association (IDTA) 2025
6
+ *
7
+ * The version of the OpenAPI document: V3.1.1_SSP-001
8
+ * Contact: info@idtwin.org
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+ export const BASE_PATH = "https://admin-shell.io/api/v3".replace(/\/+$/, "");
15
+ export class Configuration {
16
+ configuration;
17
+ constructor(configuration = {}) {
18
+ this.configuration = configuration;
19
+ }
20
+ set config(configuration) {
21
+ this.configuration = configuration;
22
+ }
23
+ get basePath() {
24
+ return this.configuration.basePath != null ? this.configuration.basePath : BASE_PATH;
25
+ }
26
+ get fetchApi() {
27
+ return this.configuration.fetchApi;
28
+ }
29
+ get middleware() {
30
+ return this.configuration.middleware || [];
31
+ }
32
+ get queryParamsStringify() {
33
+ return this.configuration.queryParamsStringify || querystring;
34
+ }
35
+ get username() {
36
+ return this.configuration.username;
37
+ }
38
+ get password() {
39
+ return this.configuration.password;
40
+ }
41
+ get apiKey() {
42
+ const apiKey = this.configuration.apiKey;
43
+ if (apiKey) {
44
+ return typeof apiKey === 'function' ? apiKey : () => apiKey;
45
+ }
46
+ return undefined;
47
+ }
48
+ get accessToken() {
49
+ const accessToken = this.configuration.accessToken;
50
+ if (accessToken) {
51
+ return typeof accessToken === 'function' ? accessToken : async () => accessToken;
52
+ }
53
+ return undefined;
54
+ }
55
+ get headers() {
56
+ return this.configuration.headers;
57
+ }
58
+ get credentials() {
59
+ return this.configuration.credentials;
60
+ }
61
+ }
62
+ export const DefaultConfig = new Configuration();
63
+ /**
64
+ * This is the base class for all generated API classes.
65
+ */
66
+ export class BaseAPI {
67
+ configuration;
68
+ static jsonRegex = new RegExp('^(:?application\/json|[^;/ \t]+\/[^;/ \t]+[+]json)[ \t]*(:?;.*)?$', 'i');
69
+ middleware;
70
+ constructor(configuration = DefaultConfig) {
71
+ this.configuration = configuration;
72
+ this.middleware = configuration.middleware;
73
+ }
74
+ withMiddleware(...middlewares) {
75
+ const next = this.clone();
76
+ next.middleware = next.middleware.concat(...middlewares);
77
+ return next;
78
+ }
79
+ withPreMiddleware(...preMiddlewares) {
80
+ const middlewares = preMiddlewares.map((pre) => ({ pre }));
81
+ return this.withMiddleware(...middlewares);
82
+ }
83
+ withPostMiddleware(...postMiddlewares) {
84
+ const middlewares = postMiddlewares.map((post) => ({ post }));
85
+ return this.withMiddleware(...middlewares);
86
+ }
87
+ /**
88
+ * Check if the given MIME is a JSON MIME.
89
+ * JSON MIME examples:
90
+ * application/json
91
+ * application/json; charset=UTF8
92
+ * APPLICATION/JSON
93
+ * application/vnd.company+json
94
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
95
+ * @return True if the given MIME is JSON, false otherwise.
96
+ */
97
+ isJsonMime(mime) {
98
+ if (!mime) {
99
+ return false;
100
+ }
101
+ return BaseAPI.jsonRegex.test(mime);
102
+ }
103
+ async request(context, initOverrides) {
104
+ const { url, init } = await this.createFetchParams(context, initOverrides);
105
+ const response = await this.fetchApi(url, init);
106
+ if (response && (response.status >= 200 && response.status < 300)) {
107
+ return response;
108
+ }
109
+ throw new ResponseError(response, 'Response returned an error code');
110
+ }
111
+ async createFetchParams(context, initOverrides) {
112
+ let url = this.configuration.basePath + context.path;
113
+ if (context.query !== undefined && Object.keys(context.query).length !== 0) {
114
+ // only add the querystring to the URL if there are query parameters.
115
+ // this is done to avoid urls ending with a "?" character which buggy webservers
116
+ // do not handle correctly sometimes.
117
+ url += '?' + this.configuration.queryParamsStringify(context.query);
118
+ }
119
+ const headers = Object.assign({}, this.configuration.headers, context.headers);
120
+ Object.keys(headers).forEach(key => headers[key] === undefined ? delete headers[key] : {});
121
+ const initOverrideFn = typeof initOverrides === "function"
122
+ ? initOverrides
123
+ : async () => initOverrides;
124
+ const initParams = {
125
+ method: context.method,
126
+ headers,
127
+ body: context.body,
128
+ credentials: this.configuration.credentials,
129
+ };
130
+ const overriddenInit = {
131
+ ...initParams,
132
+ ...(await initOverrideFn({
133
+ init: initParams,
134
+ context,
135
+ }))
136
+ };
137
+ let body;
138
+ if (isFormData(overriddenInit.body)
139
+ || (overriddenInit.body instanceof URLSearchParams)
140
+ || isBlob(overriddenInit.body)) {
141
+ body = overriddenInit.body;
142
+ }
143
+ else if (this.isJsonMime(headers['Content-Type'])) {
144
+ body = JSON.stringify(overriddenInit.body);
145
+ }
146
+ else {
147
+ body = overriddenInit.body;
148
+ }
149
+ const init = {
150
+ ...overriddenInit,
151
+ body
152
+ };
153
+ return { url, init };
154
+ }
155
+ fetchApi = async (url, init) => {
156
+ let fetchParams = { url, init };
157
+ for (const middleware of this.middleware) {
158
+ if (middleware.pre) {
159
+ fetchParams = await middleware.pre({
160
+ fetch: this.fetchApi,
161
+ ...fetchParams,
162
+ }) || fetchParams;
163
+ }
164
+ }
165
+ let response = undefined;
166
+ try {
167
+ response = await (this.configuration.fetchApi || fetch)(fetchParams.url, fetchParams.init);
168
+ }
169
+ catch (e) {
170
+ for (const middleware of this.middleware) {
171
+ if (middleware.onError) {
172
+ response = await middleware.onError({
173
+ fetch: this.fetchApi,
174
+ url: fetchParams.url,
175
+ init: fetchParams.init,
176
+ error: e,
177
+ response: response ? response.clone() : undefined,
178
+ }) || response;
179
+ }
180
+ }
181
+ if (response === undefined) {
182
+ if (e instanceof Error) {
183
+ throw new FetchError(e, 'The request failed and the interceptors did not return an alternative response');
184
+ }
185
+ else {
186
+ throw e;
187
+ }
188
+ }
189
+ }
190
+ for (const middleware of this.middleware) {
191
+ if (middleware.post) {
192
+ response = await middleware.post({
193
+ fetch: this.fetchApi,
194
+ url: fetchParams.url,
195
+ init: fetchParams.init,
196
+ response: response.clone(),
197
+ }) || response;
198
+ }
199
+ }
200
+ return response;
201
+ };
202
+ /**
203
+ * Create a shallow clone of `this` by constructing a new instance
204
+ * and then shallow cloning data members.
205
+ */
206
+ clone() {
207
+ const constructor = this.constructor;
208
+ const next = new constructor(this.configuration);
209
+ next.middleware = this.middleware.slice();
210
+ return next;
211
+ }
212
+ }
213
+ ;
214
+ function isBlob(value) {
215
+ return typeof Blob !== 'undefined' && value instanceof Blob;
216
+ }
217
+ function isFormData(value) {
218
+ return typeof FormData !== "undefined" && value instanceof FormData;
219
+ }
220
+ export class ResponseError extends Error {
221
+ response;
222
+ name = "ResponseError";
223
+ constructor(response, msg) {
224
+ super(msg);
225
+ this.response = response;
226
+ }
227
+ }
228
+ export class FetchError extends Error {
229
+ cause;
230
+ name = "FetchError";
231
+ constructor(cause, msg) {
232
+ super(msg);
233
+ this.cause = cause;
234
+ }
235
+ }
236
+ export class RequiredError extends Error {
237
+ field;
238
+ name = "RequiredError";
239
+ constructor(field, msg) {
240
+ super(msg);
241
+ this.field = field;
242
+ }
243
+ }
244
+ export const COLLECTION_FORMATS = {
245
+ csv: ",",
246
+ ssv: " ",
247
+ tsv: "\t",
248
+ pipes: "|",
249
+ };
250
+ export function querystring(params, prefix = '') {
251
+ return Object.keys(params)
252
+ .map(key => querystringSingleKey(key, params[key], prefix))
253
+ .filter(part => part.length > 0)
254
+ .join('&');
255
+ }
256
+ function querystringSingleKey(key, value, keyPrefix = '') {
257
+ const fullKey = keyPrefix + (keyPrefix.length ? `[${key}]` : key);
258
+ if (value instanceof Array) {
259
+ const multiValue = value.map(singleValue => encodeURIComponent(String(singleValue)))
260
+ .join(`&${encodeURIComponent(fullKey)}=`);
261
+ return `${encodeURIComponent(fullKey)}=${multiValue}`;
262
+ }
263
+ if (value instanceof Set) {
264
+ const valueAsArray = Array.from(value);
265
+ return querystringSingleKey(key, valueAsArray, keyPrefix);
266
+ }
267
+ if (value instanceof Date) {
268
+ return `${encodeURIComponent(fullKey)}=${encodeURIComponent(value.toISOString())}`;
269
+ }
270
+ if (value instanceof Object) {
271
+ return querystring(value, fullKey);
272
+ }
273
+ return `${encodeURIComponent(fullKey)}=${encodeURIComponent(String(value))}`;
274
+ }
275
+ export function exists(json, key) {
276
+ const value = json[key];
277
+ return value !== null && value !== undefined;
278
+ }
279
+ export function canConsumeForm(consumes) {
280
+ for (const consume of consumes) {
281
+ if ('multipart/form-data' === consume.contentType) {
282
+ return true;
283
+ }
284
+ }
285
+ return false;
286
+ }
287
+ export class JSONApiResponse {
288
+ raw;
289
+ transformer;
290
+ constructor(raw, transformer = (jsonValue) => jsonValue) {
291
+ this.raw = raw;
292
+ this.transformer = transformer;
293
+ }
294
+ async value() {
295
+ return this.transformer(await this.raw.json());
296
+ }
297
+ }
298
+ export class VoidApiResponse {
299
+ raw;
300
+ constructor(raw) {
301
+ this.raw = raw;
302
+ }
303
+ async value() {
304
+ return undefined;
305
+ }
306
+ }
307
+ export class BlobApiResponse {
308
+ raw;
309
+ constructor(raw) {
310
+ this.raw = raw;
311
+ }
312
+ async value() {
313
+ return await this.raw.blob();
314
+ }
315
+ ;
316
+ }
317
+ export class TextApiResponse {
318
+ raw;
319
+ constructor(raw) {
320
+ this.raw = raw;
321
+ }
322
+ async value() {
323
+ return await this.raw.text();
324
+ }
325
+ ;
326
+ }
@@ -2,14 +2,14 @@
2
2
  * DotAAS Part 2 | HTTP/REST | Asset Administration Shell Repository Service Specification
3
3
  * The Full Profile of the Asset Administration Shell Repository Service Specification as part of the [Specification of the Asset Administration Shell: Part 2](https://industrialdigitaltwin.org/en/content-hub/aasspecifications). Copyright: Industrial Digital Twin Association (IDTA) 2025
4
4
  *
5
- * The version of the OpenAPI document: V3.1.0_SSP-001
5
+ * The version of the OpenAPI document: V3.1.1_SSP-001
6
6
  * Contact: info@idtwin.org
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import * as runtime from '../../runtime';
12
+ import * as runtime from '../runtime';
13
13
  import type { AssetAdministrationShell, AssetInformation, BaseOperationResult, GetAssetAdministrationShellsResult, GetPathItemsResult, GetReferencesResult, GetSubmodelElementsMetadataResult, GetSubmodelElementsResult, GetSubmodelElementsValueResult, OperationRequest, OperationRequestValueOnly, OperationResult, OperationResultValueOnly, Reference, Submodel, SubmodelElement, SubmodelElementMetadata, SubmodelElementValue, SubmodelMetadata } from '../models/index';
14
14
  export interface DeleteAssetAdministrationShellByIdRequest {
15
15
  aasIdentifier: string;
@@ -4,14 +4,14 @@
4
4
  * DotAAS Part 2 | HTTP/REST | Asset Administration Shell Repository Service Specification
5
5
  * The Full Profile of the Asset Administration Shell Repository Service Specification as part of the [Specification of the Asset Administration Shell: Part 2](https://industrialdigitaltwin.org/en/content-hub/aasspecifications). Copyright: Industrial Digital Twin Association (IDTA) 2025
6
6
  *
7
- * The version of the OpenAPI document: V3.1.0_SSP-001
7
+ * The version of the OpenAPI document: V3.1.1_SSP-001
8
8
  * Contact: info@idtwin.org
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import * as runtime from '../../runtime';
14
+ import * as runtime from '../runtime';
15
15
  /**
16
16
  *
17
17
  */
@@ -2,14 +2,14 @@
2
2
  * DotAAS Part 2 | HTTP/REST | Asset Administration Shell Repository Service Specification
3
3
  * The Full Profile of the Asset Administration Shell Repository Service Specification as part of the [Specification of the Asset Administration Shell: Part 2](https://industrialdigitaltwin.org/en/content-hub/aasspecifications). Copyright: Industrial Digital Twin Association (IDTA) 2025
4
4
  *
5
- * The version of the OpenAPI document: V3.1.0_SSP-001
5
+ * The version of the OpenAPI document: V3.1.1_SSP-001
6
6
  * Contact: info@idtwin.org
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import * as runtime from '../../runtime';
12
+ import * as runtime from '../runtime';
13
13
  import type { ServiceDescription } from '../models/index';
14
14
  /**
15
15
  *
@@ -4,14 +4,14 @@
4
4
  * DotAAS Part 2 | HTTP/REST | Asset Administration Shell Repository Service Specification
5
5
  * The Full Profile of the Asset Administration Shell Repository Service Specification as part of the [Specification of the Asset Administration Shell: Part 2](https://industrialdigitaltwin.org/en/content-hub/aasspecifications). Copyright: Industrial Digital Twin Association (IDTA) 2025
6
6
  *
7
- * The version of the OpenAPI document: V3.1.0_SSP-001
7
+ * The version of the OpenAPI document: V3.1.1_SSP-001
8
8
  * Contact: info@idtwin.org
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import * as runtime from '../../runtime';
14
+ import * as runtime from '../runtime';
15
15
  /**
16
16
  *
17
17
  */
@@ -2,14 +2,14 @@
2
2
  * DotAAS Part 2 | HTTP/REST | Asset Administration Shell Repository Service Specification
3
3
  * The Full Profile of the Asset Administration Shell Repository Service Specification as part of the [Specification of the Asset Administration Shell: Part 2](https://industrialdigitaltwin.org/en/content-hub/aasspecifications). Copyright: Industrial Digital Twin Association (IDTA) 2025
4
4
  *
5
- * The version of the OpenAPI document: V3.1.0_SSP-001
5
+ * The version of the OpenAPI document: V3.1.1_SSP-001
6
6
  * Contact: info@idtwin.org
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import * as runtime from '../../runtime';
12
+ import * as runtime from '../runtime';
13
13
  export interface GenerateSerializationByIdsRequest {
14
14
  aasIds?: Array<string>;
15
15
  submodelIds?: Array<string>;
@@ -4,14 +4,14 @@
4
4
  * DotAAS Part 2 | HTTP/REST | Asset Administration Shell Repository Service Specification
5
5
  * The Full Profile of the Asset Administration Shell Repository Service Specification as part of the [Specification of the Asset Administration Shell: Part 2](https://industrialdigitaltwin.org/en/content-hub/aasspecifications). Copyright: Industrial Digital Twin Association (IDTA) 2025
6
6
  *
7
- * The version of the OpenAPI document: V3.1.0_SSP-001
7
+ * The version of the OpenAPI document: V3.1.1_SSP-001
8
8
  * Contact: info@idtwin.org
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
12
12
  * Do not edit the class manually.
13
13
  */
14
- import * as runtime from '../../runtime';
14
+ import * as runtime from '../runtime';
15
15
  /**
16
16
  *
17
17
  */
@@ -1,2 +1,3 @@
1
+ export * from './runtime';
1
2
  export * from './apis/index';
2
3
  export * from './models/index';