basyx-typescript-sdk 0.9.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -11
- package/bundle/index.cjs +15675 -0
- package/bundle/index.cjs.map +1 -0
- package/bundle/{index.js → index.mjs} +981 -3080
- package/bundle/index.mjs.map +1 -0
- package/dist/clients/AasDiscoveryClient.d.ts +5 -4
- package/dist/clients/AasRegistryClient.d.ts +11 -10
- package/dist/clients/AasRepositoryClient.d.ts +51 -50
- package/dist/clients/AasxFileClient.d.ts +6 -5
- package/dist/clients/ConceptDescriptionRepositoryClient.d.ts +6 -5
- package/dist/clients/SubmodelRegistryClient.d.ts +6 -5
- package/dist/clients/SubmodelRepositoryClient.d.ts +21 -20
- package/dist/generated/AasDiscoveryService/apis/AssetAdministrationShellBasicDiscoveryAPIApi.d.ts +1 -1
- package/dist/generated/AasDiscoveryService/apis/AssetAdministrationShellBasicDiscoveryAPIApi.js +1 -1
- package/dist/generated/AasDiscoveryService/apis/DescriptionAPIApi.d.ts +1 -1
- package/dist/generated/AasDiscoveryService/apis/DescriptionAPIApi.js +1 -1
- package/dist/generated/AasDiscoveryService/index.d.ts +0 -1
- package/dist/generated/AasDiscoveryService/index.js +0 -1
- package/dist/generated/AasRegistryService/apis/AssetAdministrationShellRegistryAPIApi.d.ts +1 -1
- package/dist/generated/AasRegistryService/apis/AssetAdministrationShellRegistryAPIApi.js +1 -1
- package/dist/generated/AasRegistryService/apis/DescriptionAPIApi.d.ts +1 -1
- package/dist/generated/AasRegistryService/apis/DescriptionAPIApi.js +1 -1
- package/dist/generated/AasRegistryService/index.d.ts +0 -1
- package/dist/generated/AasRegistryService/index.js +0 -1
- package/dist/generated/AasRepositoryService/apis/AssetAdministrationShellRepositoryAPIApi.d.ts +1 -1
- package/dist/generated/AasRepositoryService/apis/AssetAdministrationShellRepositoryAPIApi.js +1 -1
- package/dist/generated/AasRepositoryService/apis/DescriptionAPIApi.d.ts +1 -1
- package/dist/generated/AasRepositoryService/apis/DescriptionAPIApi.js +1 -1
- package/dist/generated/AasRepositoryService/apis/SerializationAPIApi.d.ts +1 -1
- package/dist/generated/AasRepositoryService/apis/SerializationAPIApi.js +1 -1
- package/dist/generated/AasRepositoryService/index.d.ts +0 -1
- package/dist/generated/AasRepositoryService/index.js +0 -1
- package/dist/generated/AasxFileService/apis/AASXFileServerAPIApi.d.ts +1 -1
- package/dist/generated/AasxFileService/apis/AASXFileServerAPIApi.js +1 -1
- package/dist/generated/AasxFileService/index.d.ts +0 -1
- package/dist/generated/AasxFileService/index.js +0 -1
- package/dist/generated/ConceptDescriptionRepositoryService/apis/ConceptDescriptionRepositoryAPIApi.d.ts +1 -1
- package/dist/generated/ConceptDescriptionRepositoryService/apis/ConceptDescriptionRepositoryAPIApi.js +1 -1
- package/dist/generated/ConceptDescriptionRepositoryService/apis/DescriptionAPIApi.d.ts +1 -1
- package/dist/generated/ConceptDescriptionRepositoryService/apis/DescriptionAPIApi.js +1 -1
- package/dist/generated/ConceptDescriptionRepositoryService/apis/SerializationAPIApi.d.ts +1 -1
- package/dist/generated/ConceptDescriptionRepositoryService/apis/SerializationAPIApi.js +1 -1
- package/dist/generated/ConceptDescriptionRepositoryService/index.d.ts +0 -1
- package/dist/generated/ConceptDescriptionRepositoryService/index.js +0 -2
- package/dist/generated/SubmodelRegistryService/apis/DescriptionAPIApi.d.ts +1 -1
- package/dist/generated/SubmodelRegistryService/apis/DescriptionAPIApi.js +1 -1
- package/dist/generated/SubmodelRegistryService/apis/SubmodelRegistryAPIApi.d.ts +1 -1
- package/dist/generated/SubmodelRegistryService/apis/SubmodelRegistryAPIApi.js +1 -1
- package/dist/generated/SubmodelRegistryService/index.d.ts +0 -1
- package/dist/generated/SubmodelRegistryService/index.js +0 -1
- package/dist/generated/SubmodelRepositoryService/apis/DescriptionAPIApi.d.ts +1 -1
- package/dist/generated/SubmodelRepositoryService/apis/DescriptionAPIApi.js +1 -1
- package/dist/generated/SubmodelRepositoryService/apis/SerializationAPIApi.d.ts +1 -1
- package/dist/generated/SubmodelRepositoryService/apis/SerializationAPIApi.js +1 -1
- package/dist/generated/SubmodelRepositoryService/apis/SubmodelRepositoryAPIApi.d.ts +1 -1
- package/dist/generated/SubmodelRepositoryService/apis/SubmodelRepositoryAPIApi.js +1 -1
- package/dist/generated/SubmodelRepositoryService/index.d.ts +0 -1
- package/dist/generated/SubmodelRepositoryService/index.js +0 -1
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +1 -0
- package/dist/generated/{SubmodelRepositoryService/runtime.d.ts → runtime.d.ts} +2 -2
- package/dist/generated/{SubmodelRepositoryService/runtime.js → runtime.js} +2 -2
- package/dist/lib/apiConfig.d.ts +2 -2
- package/dist/lib/apiConfig.js +3 -21
- package/dist/lib/errorHandler.js +4 -23
- package/package.json +6 -11
- package/bundle/index.js.map +0 -1
- package/dist/generated/AasDiscoveryService/runtime.d.ts +0 -181
- package/dist/generated/AasDiscoveryService/runtime.js +0 -326
- package/dist/generated/AasRegistryService/runtime.d.ts +0 -181
- package/dist/generated/AasRegistryService/runtime.js +0 -326
- package/dist/generated/AasRepositoryService/runtime.d.ts +0 -181
- package/dist/generated/AasRepositoryService/runtime.js +0 -326
- package/dist/generated/AasxFileService/runtime.d.ts +0 -181
- package/dist/generated/AasxFileService/runtime.js +0 -326
- package/dist/generated/ConceptDescriptionRepositoryService/runtime.d.ts +0 -181
- package/dist/generated/ConceptDescriptionRepositoryService/runtime.js +0 -326
- package/dist/generated/SubmodelRegistryService/runtime.d.ts +0 -181
- package/dist/generated/SubmodelRegistryService/runtime.js +0 -326
|
@@ -2,6 +2,7 @@ import type { SpecificAssetId } from '@aas-core-works/aas-core3.0-typescript/typ
|
|
|
2
2
|
import type { ApiResult } from '../models/api';
|
|
3
3
|
import type { AssetId } from '../models/AssetId';
|
|
4
4
|
import { AasDiscoveryService } from '../generated';
|
|
5
|
+
import { Configuration } from '../generated/runtime';
|
|
5
6
|
export declare class AasDiscoveryClient {
|
|
6
7
|
/**
|
|
7
8
|
* Returns a list of Asset Administration Shell IDs linked to specific asset identifiers or the global asset ID
|
|
@@ -15,7 +16,7 @@ export declare class AasDiscoveryClient {
|
|
|
15
16
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
16
17
|
*/
|
|
17
18
|
getAllAssetAdministrationShellIdsByAssetLink(options: {
|
|
18
|
-
configuration:
|
|
19
|
+
configuration: Configuration;
|
|
19
20
|
assetIds?: AssetId[];
|
|
20
21
|
limit?: number;
|
|
21
22
|
cursor?: string;
|
|
@@ -34,7 +35,7 @@ export declare class AasDiscoveryClient {
|
|
|
34
35
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
35
36
|
*/
|
|
36
37
|
postAllAssetLinksById(options: {
|
|
37
|
-
configuration:
|
|
38
|
+
configuration: Configuration;
|
|
38
39
|
aasIdentifier: string;
|
|
39
40
|
specificAssetId: Array<SpecificAssetId>;
|
|
40
41
|
}): Promise<ApiResult<Array<SpecificAssetId>, AasDiscoveryService.Result>>;
|
|
@@ -48,7 +49,7 @@ export declare class AasDiscoveryClient {
|
|
|
48
49
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
49
50
|
*/
|
|
50
51
|
deleteAllAssetLinksById(options: {
|
|
51
|
-
configuration:
|
|
52
|
+
configuration: Configuration;
|
|
52
53
|
aasIdentifier: string;
|
|
53
54
|
}): Promise<ApiResult<void, AasDiscoveryService.Result>>;
|
|
54
55
|
/**
|
|
@@ -61,7 +62,7 @@ export declare class AasDiscoveryClient {
|
|
|
61
62
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
62
63
|
*/
|
|
63
64
|
getAllAssetLinksById(options: {
|
|
64
|
-
configuration:
|
|
65
|
+
configuration: Configuration;
|
|
65
66
|
aasIdentifier: string;
|
|
66
67
|
}): Promise<ApiResult<Array<SpecificAssetId>, AasDiscoveryService.Result>>;
|
|
67
68
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ApiResult } from '../models/api';
|
|
2
2
|
import { AasRegistryService } from '../generated';
|
|
3
|
+
import { Configuration } from '../generated/runtime';
|
|
3
4
|
import { AssetAdministrationShellDescriptor, SubmodelDescriptor } from '../models/Descriptors';
|
|
4
5
|
export declare class AasRegistryClient {
|
|
5
6
|
/**
|
|
@@ -15,7 +16,7 @@ export declare class AasRegistryClient {
|
|
|
15
16
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
16
17
|
*/
|
|
17
18
|
getAllAssetAdministrationShellDescriptors(options: {
|
|
18
|
-
configuration:
|
|
19
|
+
configuration: Configuration;
|
|
19
20
|
limit?: number;
|
|
20
21
|
cursor?: string;
|
|
21
22
|
assetKind?: AasRegistryService.AssetKind;
|
|
@@ -34,7 +35,7 @@ export declare class AasRegistryClient {
|
|
|
34
35
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
35
36
|
*/
|
|
36
37
|
postAssetAdministrationShellDescriptor(options: {
|
|
37
|
-
configuration:
|
|
38
|
+
configuration: Configuration;
|
|
38
39
|
assetAdministrationShellDescriptor: AssetAdministrationShellDescriptor;
|
|
39
40
|
}): Promise<ApiResult<AssetAdministrationShellDescriptor, AasRegistryService.Result>>;
|
|
40
41
|
/**
|
|
@@ -47,7 +48,7 @@ export declare class AasRegistryClient {
|
|
|
47
48
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
48
49
|
*/
|
|
49
50
|
deleteAssetAdministrationShellDescriptorById(options: {
|
|
50
|
-
configuration:
|
|
51
|
+
configuration: Configuration;
|
|
51
52
|
aasIdentifier: string;
|
|
52
53
|
}): Promise<ApiResult<void, AasRegistryService.Result>>;
|
|
53
54
|
/**
|
|
@@ -60,7 +61,7 @@ export declare class AasRegistryClient {
|
|
|
60
61
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
61
62
|
*/
|
|
62
63
|
getAssetAdministrationShellDescriptorById(options: {
|
|
63
|
-
configuration:
|
|
64
|
+
configuration: Configuration;
|
|
64
65
|
aasIdentifier: string;
|
|
65
66
|
}): Promise<ApiResult<AssetAdministrationShellDescriptor, AasRegistryService.Result>>;
|
|
66
67
|
/**
|
|
@@ -74,7 +75,7 @@ export declare class AasRegistryClient {
|
|
|
74
75
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
75
76
|
*/
|
|
76
77
|
putAssetAdministrationShellDescriptorById(options: {
|
|
77
|
-
configuration:
|
|
78
|
+
configuration: Configuration;
|
|
78
79
|
aasIdentifier: string;
|
|
79
80
|
assetAdministrationShellDescriptor: AssetAdministrationShellDescriptor;
|
|
80
81
|
}): Promise<ApiResult<AssetAdministrationShellDescriptor | void, AasRegistryService.Result>>;
|
|
@@ -90,7 +91,7 @@ export declare class AasRegistryClient {
|
|
|
90
91
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
91
92
|
*/
|
|
92
93
|
getAllSubmodelDescriptorsThroughSuperpath(options: {
|
|
93
|
-
configuration:
|
|
94
|
+
configuration: Configuration;
|
|
94
95
|
aasIdentifier: string;
|
|
95
96
|
limit?: number;
|
|
96
97
|
cursor?: string;
|
|
@@ -109,7 +110,7 @@ export declare class AasRegistryClient {
|
|
|
109
110
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
110
111
|
*/
|
|
111
112
|
postSubmodelDescriptorThroughSuperpath(options: {
|
|
112
|
-
configuration:
|
|
113
|
+
configuration: Configuration;
|
|
113
114
|
aasIdentifier: string;
|
|
114
115
|
submodelDescriptor: SubmodelDescriptor;
|
|
115
116
|
}): Promise<ApiResult<SubmodelDescriptor, AasRegistryService.Result>>;
|
|
@@ -124,7 +125,7 @@ export declare class AasRegistryClient {
|
|
|
124
125
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
125
126
|
*/
|
|
126
127
|
getSubmodelDescriptorByIdThroughSuperpath(options: {
|
|
127
|
-
configuration:
|
|
128
|
+
configuration: Configuration;
|
|
128
129
|
aasIdentifier: string;
|
|
129
130
|
submodelIdentifier: string;
|
|
130
131
|
}): Promise<ApiResult<SubmodelDescriptor, AasRegistryService.Result>>;
|
|
@@ -139,7 +140,7 @@ export declare class AasRegistryClient {
|
|
|
139
140
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
140
141
|
*/
|
|
141
142
|
deleteSubmodelDescriptorByIdThroughSuperpath(options: {
|
|
142
|
-
configuration:
|
|
143
|
+
configuration: Configuration;
|
|
143
144
|
aasIdentifier: string;
|
|
144
145
|
submodelIdentifier: string;
|
|
145
146
|
}): Promise<ApiResult<void, AasRegistryService.Result>>;
|
|
@@ -155,7 +156,7 @@ export declare class AasRegistryClient {
|
|
|
155
156
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
156
157
|
*/
|
|
157
158
|
putSubmodelDescriptorByIdThroughSuperpath(options: {
|
|
158
|
-
configuration:
|
|
159
|
+
configuration: Configuration;
|
|
159
160
|
aasIdentifier: string;
|
|
160
161
|
submodelIdentifier: string;
|
|
161
162
|
submodelDescriptor: SubmodelDescriptor;
|
|
@@ -2,6 +2,7 @@ import type { AssetAdministrationShell, AssetInformation, ISubmodelElement, Refe
|
|
|
2
2
|
import type { ApiResult } from '../models/api';
|
|
3
3
|
import type { AssetId } from '../models/AssetId';
|
|
4
4
|
import { AasRepositoryService } from '../generated';
|
|
5
|
+
import { Configuration } from '../generated/runtime';
|
|
5
6
|
export declare class AasRepositoryClient {
|
|
6
7
|
/**
|
|
7
8
|
* Returns all Asset Administration Shells
|
|
@@ -16,7 +17,7 @@ export declare class AasRepositoryClient {
|
|
|
16
17
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
17
18
|
*/
|
|
18
19
|
getAllAssetAdministrationShells(options: {
|
|
19
|
-
configuration:
|
|
20
|
+
configuration: Configuration;
|
|
20
21
|
assetIds?: AssetId[];
|
|
21
22
|
idShort?: string;
|
|
22
23
|
limit?: number;
|
|
@@ -35,7 +36,7 @@ export declare class AasRepositoryClient {
|
|
|
35
36
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
36
37
|
*/
|
|
37
38
|
postAssetAdministrationShell(options: {
|
|
38
|
-
configuration:
|
|
39
|
+
configuration: Configuration;
|
|
39
40
|
assetAdministrationShell: AssetAdministrationShell;
|
|
40
41
|
}): Promise<ApiResult<AssetAdministrationShell, AasRepositoryService.Result>>;
|
|
41
42
|
/**
|
|
@@ -48,7 +49,7 @@ export declare class AasRepositoryClient {
|
|
|
48
49
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
49
50
|
*/
|
|
50
51
|
deleteAssetAdministrationShellById(options: {
|
|
51
|
-
configuration:
|
|
52
|
+
configuration: Configuration;
|
|
52
53
|
aasIdentifier: string;
|
|
53
54
|
}): Promise<ApiResult<void, AasRepositoryService.Result>>;
|
|
54
55
|
/**
|
|
@@ -61,7 +62,7 @@ export declare class AasRepositoryClient {
|
|
|
61
62
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
62
63
|
*/
|
|
63
64
|
getAssetAdministrationShellById(options: {
|
|
64
|
-
configuration:
|
|
65
|
+
configuration: Configuration;
|
|
65
66
|
aasIdentifier: string;
|
|
66
67
|
}): Promise<ApiResult<AssetAdministrationShell, AasRepositoryService.Result>>;
|
|
67
68
|
/**
|
|
@@ -75,7 +76,7 @@ export declare class AasRepositoryClient {
|
|
|
75
76
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
76
77
|
*/
|
|
77
78
|
putAssetAdministrationShellById(options: {
|
|
78
|
-
configuration:
|
|
79
|
+
configuration: Configuration;
|
|
79
80
|
aasIdentifier: string;
|
|
80
81
|
assetAdministrationShell: AssetAdministrationShell;
|
|
81
82
|
}): Promise<ApiResult<AssetAdministrationShell | void, AasRepositoryService.Result>>;
|
|
@@ -89,7 +90,7 @@ export declare class AasRepositoryClient {
|
|
|
89
90
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
90
91
|
*/
|
|
91
92
|
getAssetInformation(options: {
|
|
92
|
-
configuration:
|
|
93
|
+
configuration: Configuration;
|
|
93
94
|
aasIdentifier: string;
|
|
94
95
|
}): Promise<ApiResult<AssetInformation, AasRepositoryService.Result>>;
|
|
95
96
|
/**
|
|
@@ -103,7 +104,7 @@ export declare class AasRepositoryClient {
|
|
|
103
104
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
104
105
|
*/
|
|
105
106
|
putAssetInformation(options: {
|
|
106
|
-
configuration:
|
|
107
|
+
configuration: Configuration;
|
|
107
108
|
aasIdentifier: string;
|
|
108
109
|
assetInformation: AssetInformation;
|
|
109
110
|
}): Promise<ApiResult<void, AasRepositoryService.Result>>;
|
|
@@ -117,7 +118,7 @@ export declare class AasRepositoryClient {
|
|
|
117
118
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
118
119
|
*/
|
|
119
120
|
deleteThumbnail(options: {
|
|
120
|
-
configuration:
|
|
121
|
+
configuration: Configuration;
|
|
121
122
|
aasIdentifier: string;
|
|
122
123
|
}): Promise<ApiResult<void, AasRepositoryService.Result>>;
|
|
123
124
|
/**
|
|
@@ -130,7 +131,7 @@ export declare class AasRepositoryClient {
|
|
|
130
131
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
131
132
|
*/
|
|
132
133
|
getThumbnail(options: {
|
|
133
|
-
configuration:
|
|
134
|
+
configuration: Configuration;
|
|
134
135
|
aasIdentifier: string;
|
|
135
136
|
}): Promise<ApiResult<Blob, AasRepositoryService.Result>>;
|
|
136
137
|
/**
|
|
@@ -145,7 +146,7 @@ export declare class AasRepositoryClient {
|
|
|
145
146
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
146
147
|
*/
|
|
147
148
|
putThumbnail(options: {
|
|
148
|
-
configuration:
|
|
149
|
+
configuration: Configuration;
|
|
149
150
|
aasIdentifier: string;
|
|
150
151
|
fileName: string;
|
|
151
152
|
file: Blob;
|
|
@@ -162,7 +163,7 @@ export declare class AasRepositoryClient {
|
|
|
162
163
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
163
164
|
*/
|
|
164
165
|
getAllSubmodelReferences(options: {
|
|
165
|
-
configuration:
|
|
166
|
+
configuration: Configuration;
|
|
166
167
|
aasIdentifier: string;
|
|
167
168
|
limit?: number;
|
|
168
169
|
cursor?: string;
|
|
@@ -181,7 +182,7 @@ export declare class AasRepositoryClient {
|
|
|
181
182
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
182
183
|
*/
|
|
183
184
|
postSubmodelReference(options: {
|
|
184
|
-
configuration:
|
|
185
|
+
configuration: Configuration;
|
|
185
186
|
aasIdentifier: string;
|
|
186
187
|
submodelReference: Reference;
|
|
187
188
|
}): Promise<ApiResult<Reference, AasRepositoryService.Result>>;
|
|
@@ -196,7 +197,7 @@ export declare class AasRepositoryClient {
|
|
|
196
197
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
197
198
|
*/
|
|
198
199
|
deleteSubmodelReferenceById(options: {
|
|
199
|
-
configuration:
|
|
200
|
+
configuration: Configuration;
|
|
200
201
|
aasIdentifier: string;
|
|
201
202
|
submodelIdentifier: string;
|
|
202
203
|
}): Promise<ApiResult<void, AasRepositoryService.Result>>;
|
|
@@ -213,7 +214,7 @@ export declare class AasRepositoryClient {
|
|
|
213
214
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
214
215
|
*/
|
|
215
216
|
getSubmodelByIdAasRepository(options: {
|
|
216
|
-
configuration:
|
|
217
|
+
configuration: Configuration;
|
|
217
218
|
aasIdentifier: string;
|
|
218
219
|
submodelIdentifier: string;
|
|
219
220
|
level?: AasRepositoryService.GetSubmodelByIdAasRepositoryLevelEnum;
|
|
@@ -231,7 +232,7 @@ export declare class AasRepositoryClient {
|
|
|
231
232
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
232
233
|
*/
|
|
233
234
|
putSubmodelByIdAasRepository(options: {
|
|
234
|
-
configuration:
|
|
235
|
+
configuration: Configuration;
|
|
235
236
|
aasIdentifier: string;
|
|
236
237
|
submodelIdentifier: string;
|
|
237
238
|
submodel: Submodel;
|
|
@@ -247,7 +248,7 @@ export declare class AasRepositoryClient {
|
|
|
247
248
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
248
249
|
*/
|
|
249
250
|
deleteSubmodelByIdAasRepository(options: {
|
|
250
|
-
configuration:
|
|
251
|
+
configuration: Configuration;
|
|
251
252
|
aasIdentifier: string;
|
|
252
253
|
submodelIdentifier: string;
|
|
253
254
|
}): Promise<ApiResult<void, AasRepositoryService.Result>>;
|
|
@@ -264,7 +265,7 @@ export declare class AasRepositoryClient {
|
|
|
264
265
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
265
266
|
*/
|
|
266
267
|
patchSubmodelAasRepository(options: {
|
|
267
|
-
configuration:
|
|
268
|
+
configuration: Configuration;
|
|
268
269
|
aasIdentifier: string;
|
|
269
270
|
submodelIdentifier: string;
|
|
270
271
|
submodel: Submodel;
|
|
@@ -281,7 +282,7 @@ export declare class AasRepositoryClient {
|
|
|
281
282
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
282
283
|
*/
|
|
283
284
|
getSubmodelByIdMetadataAasRepository(options: {
|
|
284
|
-
configuration:
|
|
285
|
+
configuration: Configuration;
|
|
285
286
|
aasIdentifier: string;
|
|
286
287
|
submodelIdentifier: string;
|
|
287
288
|
}): Promise<ApiResult<AasRepositoryService.SubmodelMetadata, AasRepositoryService.Result>>;
|
|
@@ -297,7 +298,7 @@ export declare class AasRepositoryClient {
|
|
|
297
298
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
298
299
|
*/
|
|
299
300
|
patchSubmodelByIdMetadataAasRepository(options: {
|
|
300
|
-
configuration:
|
|
301
|
+
configuration: Configuration;
|
|
301
302
|
aasIdentifier: string;
|
|
302
303
|
submodelIdentifier: string;
|
|
303
304
|
submodelMetadata: AasRepositoryService.SubmodelMetadata;
|
|
@@ -315,7 +316,7 @@ export declare class AasRepositoryClient {
|
|
|
315
316
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
316
317
|
*/
|
|
317
318
|
getSubmodelByIdValueOnlyAasRepository(options: {
|
|
318
|
-
configuration:
|
|
319
|
+
configuration: Configuration;
|
|
319
320
|
aasIdentifier: string;
|
|
320
321
|
submodelIdentifier: string;
|
|
321
322
|
level?: AasRepositoryService.GetSubmodelByIdValueOnlyAasRepositoryLevelEnum;
|
|
@@ -333,7 +334,7 @@ export declare class AasRepositoryClient {
|
|
|
333
334
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
334
335
|
*/
|
|
335
336
|
patchSubmodelByIdValueOnlyAasRepository(options: {
|
|
336
|
-
configuration:
|
|
337
|
+
configuration: Configuration;
|
|
337
338
|
aasIdentifier: string;
|
|
338
339
|
submodelIdentifier: string;
|
|
339
340
|
body: object;
|
|
@@ -350,7 +351,7 @@ export declare class AasRepositoryClient {
|
|
|
350
351
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
351
352
|
*/
|
|
352
353
|
getSubmodelByIdReferenceAasRepository(options: {
|
|
353
|
-
configuration:
|
|
354
|
+
configuration: Configuration;
|
|
354
355
|
aasIdentifier: string;
|
|
355
356
|
submodelIdentifier: string;
|
|
356
357
|
}): Promise<ApiResult<Reference, AasRepositoryService.Result>>;
|
|
@@ -366,7 +367,7 @@ export declare class AasRepositoryClient {
|
|
|
366
367
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
367
368
|
*/
|
|
368
369
|
getSubmodelByIdPathAasRepository(options: {
|
|
369
|
-
configuration:
|
|
370
|
+
configuration: Configuration;
|
|
370
371
|
aasIdentifier: string;
|
|
371
372
|
submodelIdentifier: string;
|
|
372
373
|
level?: AasRepositoryService.GetSubmodelByIdPathAasRepositoryLevelEnum;
|
|
@@ -386,7 +387,7 @@ export declare class AasRepositoryClient {
|
|
|
386
387
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
387
388
|
*/
|
|
388
389
|
getAllSubmodelElementsAasRepository(options: {
|
|
389
|
-
configuration:
|
|
390
|
+
configuration: Configuration;
|
|
390
391
|
aasIdentifier: string;
|
|
391
392
|
submodelIdentifier: string;
|
|
392
393
|
limit?: number;
|
|
@@ -409,7 +410,7 @@ export declare class AasRepositoryClient {
|
|
|
409
410
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
410
411
|
*/
|
|
411
412
|
postSubmodelElementAasRepository(options: {
|
|
412
|
-
configuration:
|
|
413
|
+
configuration: Configuration;
|
|
413
414
|
aasIdentifier: string;
|
|
414
415
|
submodelIdentifier: string;
|
|
415
416
|
submodelElement: ISubmodelElement;
|
|
@@ -427,7 +428,7 @@ export declare class AasRepositoryClient {
|
|
|
427
428
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
428
429
|
*/
|
|
429
430
|
getAllSubmodelElementsMetadataAasRepository(options: {
|
|
430
|
-
configuration:
|
|
431
|
+
configuration: Configuration;
|
|
431
432
|
aasIdentifier: string;
|
|
432
433
|
submodelIdentifier: string;
|
|
433
434
|
limit?: number;
|
|
@@ -450,7 +451,7 @@ export declare class AasRepositoryClient {
|
|
|
450
451
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
451
452
|
*/
|
|
452
453
|
getAllSubmodelElementsValueOnlyAasRepository(options: {
|
|
453
|
-
configuration:
|
|
454
|
+
configuration: Configuration;
|
|
454
455
|
aasIdentifier: string;
|
|
455
456
|
submodelIdentifier: string;
|
|
456
457
|
limit?: number;
|
|
@@ -474,7 +475,7 @@ export declare class AasRepositoryClient {
|
|
|
474
475
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
475
476
|
*/
|
|
476
477
|
getAllSubmodelElementsReferenceAasRepository(options: {
|
|
477
|
-
configuration:
|
|
478
|
+
configuration: Configuration;
|
|
478
479
|
aasIdentifier: string;
|
|
479
480
|
submodelIdentifier: string;
|
|
480
481
|
limit?: number;
|
|
@@ -499,7 +500,7 @@ export declare class AasRepositoryClient {
|
|
|
499
500
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
500
501
|
*/
|
|
501
502
|
getAllSubmodelElementsPathAasRepository(options: {
|
|
502
|
-
configuration:
|
|
503
|
+
configuration: Configuration;
|
|
503
504
|
aasIdentifier: string;
|
|
504
505
|
submodelIdentifier: string;
|
|
505
506
|
limit?: number;
|
|
@@ -524,7 +525,7 @@ export declare class AasRepositoryClient {
|
|
|
524
525
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
525
526
|
*/
|
|
526
527
|
getSubmodelElementByPathAasRepository(options: {
|
|
527
|
-
configuration:
|
|
528
|
+
configuration: Configuration;
|
|
528
529
|
aasIdentifier: string;
|
|
529
530
|
submodelIdentifier: string;
|
|
530
531
|
idShortPath: string;
|
|
@@ -544,7 +545,7 @@ export declare class AasRepositoryClient {
|
|
|
544
545
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
545
546
|
*/
|
|
546
547
|
postSubmodelElementByPathAasRepository(options: {
|
|
547
|
-
configuration:
|
|
548
|
+
configuration: Configuration;
|
|
548
549
|
aasIdentifier: string;
|
|
549
550
|
submodelIdentifier: string;
|
|
550
551
|
idShortPath: string;
|
|
@@ -562,7 +563,7 @@ export declare class AasRepositoryClient {
|
|
|
562
563
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
563
564
|
*/
|
|
564
565
|
deleteSubmodelElementByPathAasRepository(options: {
|
|
565
|
-
configuration:
|
|
566
|
+
configuration: Configuration;
|
|
566
567
|
aasIdentifier: string;
|
|
567
568
|
submodelIdentifier: string;
|
|
568
569
|
idShortPath: string;
|
|
@@ -580,7 +581,7 @@ export declare class AasRepositoryClient {
|
|
|
580
581
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
581
582
|
*/
|
|
582
583
|
putSubmodelElementByPathAasRepository(options: {
|
|
583
|
-
configuration:
|
|
584
|
+
configuration: Configuration;
|
|
584
585
|
aasIdentifier: string;
|
|
585
586
|
submodelIdentifier: string;
|
|
586
587
|
idShortPath: string;
|
|
@@ -600,7 +601,7 @@ export declare class AasRepositoryClient {
|
|
|
600
601
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
601
602
|
*/
|
|
602
603
|
patchSubmodelElementValueByPathAasRepository(options: {
|
|
603
|
-
configuration:
|
|
604
|
+
configuration: Configuration;
|
|
604
605
|
aasIdentifier: string;
|
|
605
606
|
submodelIdentifier: string;
|
|
606
607
|
idShortPath: string;
|
|
@@ -619,7 +620,7 @@ export declare class AasRepositoryClient {
|
|
|
619
620
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
620
621
|
*/
|
|
621
622
|
getSubmodelElementByPathMetadataAasRepository(options: {
|
|
622
|
-
configuration:
|
|
623
|
+
configuration: Configuration;
|
|
623
624
|
aasIdentifier: string;
|
|
624
625
|
submodelIdentifier: string;
|
|
625
626
|
idShortPath: string;
|
|
@@ -637,7 +638,7 @@ export declare class AasRepositoryClient {
|
|
|
637
638
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
638
639
|
*/
|
|
639
640
|
patchSubmodelElementValueByPathMetadata(options: {
|
|
640
|
-
configuration:
|
|
641
|
+
configuration: Configuration;
|
|
641
642
|
aasIdentifier: string;
|
|
642
643
|
submodelIdentifier: string;
|
|
643
644
|
idShortPath: string;
|
|
@@ -657,7 +658,7 @@ export declare class AasRepositoryClient {
|
|
|
657
658
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
658
659
|
*/
|
|
659
660
|
getSubmodelElementByPathValueOnlyAasRepository(options: {
|
|
660
|
-
configuration:
|
|
661
|
+
configuration: Configuration;
|
|
661
662
|
aasIdentifier: string;
|
|
662
663
|
submodelIdentifier: string;
|
|
663
664
|
idShortPath: string;
|
|
@@ -678,7 +679,7 @@ export declare class AasRepositoryClient {
|
|
|
678
679
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
679
680
|
*/
|
|
680
681
|
patchSubmodelElementValueByPathValueOnly(options: {
|
|
681
|
-
configuration:
|
|
682
|
+
configuration: Configuration;
|
|
682
683
|
aasIdentifier: string;
|
|
683
684
|
submodelIdentifier: string;
|
|
684
685
|
idShortPath: string;
|
|
@@ -698,7 +699,7 @@ export declare class AasRepositoryClient {
|
|
|
698
699
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
699
700
|
*/
|
|
700
701
|
getSubmodelElementByPathReferenceAasRepository(options: {
|
|
701
|
-
configuration:
|
|
702
|
+
configuration: Configuration;
|
|
702
703
|
aasIdentifier: string;
|
|
703
704
|
submodelIdentifier: string;
|
|
704
705
|
idShortPath: string;
|
|
@@ -717,7 +718,7 @@ export declare class AasRepositoryClient {
|
|
|
717
718
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
718
719
|
*/
|
|
719
720
|
getSubmodelElementByPathPathAasRepository(options: {
|
|
720
|
-
configuration:
|
|
721
|
+
configuration: Configuration;
|
|
721
722
|
aasIdentifier: string;
|
|
722
723
|
submodelIdentifier: string;
|
|
723
724
|
idShortPath: string;
|
|
@@ -735,7 +736,7 @@ export declare class AasRepositoryClient {
|
|
|
735
736
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
736
737
|
*/
|
|
737
738
|
getFileByPathAasRepository(options: {
|
|
738
|
-
configuration:
|
|
739
|
+
configuration: Configuration;
|
|
739
740
|
aasIdentifier: string;
|
|
740
741
|
submodelIdentifier: string;
|
|
741
742
|
idShortPath: string;
|
|
@@ -754,7 +755,7 @@ export declare class AasRepositoryClient {
|
|
|
754
755
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
755
756
|
*/
|
|
756
757
|
putFileByPathAasRepository(options: {
|
|
757
|
-
configuration:
|
|
758
|
+
configuration: Configuration;
|
|
758
759
|
aasIdentifier: string;
|
|
759
760
|
submodelIdentifier: string;
|
|
760
761
|
idShortPath: string;
|
|
@@ -773,7 +774,7 @@ export declare class AasRepositoryClient {
|
|
|
773
774
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
774
775
|
*/
|
|
775
776
|
deleteFileByPathAasRepository(options: {
|
|
776
|
-
configuration:
|
|
777
|
+
configuration: Configuration;
|
|
777
778
|
aasIdentifier: string;
|
|
778
779
|
submodelIdentifier: string;
|
|
779
780
|
idShortPath: string;
|
|
@@ -791,7 +792,7 @@ export declare class AasRepositoryClient {
|
|
|
791
792
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
792
793
|
*/
|
|
793
794
|
invokeOperationAasRepository(options: {
|
|
794
|
-
configuration:
|
|
795
|
+
configuration: Configuration;
|
|
795
796
|
aasIdentifier: string;
|
|
796
797
|
submodelIdentifier: string;
|
|
797
798
|
idShortPath: string;
|
|
@@ -810,7 +811,7 @@ export declare class AasRepositoryClient {
|
|
|
810
811
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
811
812
|
*/
|
|
812
813
|
invokeOperationValueOnlyAasRepository(options: {
|
|
813
|
-
configuration:
|
|
814
|
+
configuration: Configuration;
|
|
814
815
|
aasIdentifier: string;
|
|
815
816
|
submodelIdentifier: string;
|
|
816
817
|
idShortPath: string;
|
|
@@ -829,7 +830,7 @@ export declare class AasRepositoryClient {
|
|
|
829
830
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
830
831
|
*/
|
|
831
832
|
invokeOperationAsyncAasRepository(options: {
|
|
832
|
-
configuration:
|
|
833
|
+
configuration: Configuration;
|
|
833
834
|
aasIdentifier: string;
|
|
834
835
|
submodelIdentifier: string;
|
|
835
836
|
idShortPath: string;
|
|
@@ -848,7 +849,7 @@ export declare class AasRepositoryClient {
|
|
|
848
849
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
849
850
|
*/
|
|
850
851
|
invokeOperationAsyncValueOnlyAasRepository(options: {
|
|
851
|
-
configuration:
|
|
852
|
+
configuration: Configuration;
|
|
852
853
|
aasIdentifier: string;
|
|
853
854
|
submodelIdentifier: string;
|
|
854
855
|
idShortPath: string;
|
|
@@ -867,7 +868,7 @@ export declare class AasRepositoryClient {
|
|
|
867
868
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
868
869
|
*/
|
|
869
870
|
getOperationAsyncStatusAasRepository(options: {
|
|
870
|
-
configuration:
|
|
871
|
+
configuration: Configuration;
|
|
871
872
|
aasIdentifier: string;
|
|
872
873
|
submodelIdentifier: string;
|
|
873
874
|
idShortPath: string;
|
|
@@ -886,7 +887,7 @@ export declare class AasRepositoryClient {
|
|
|
886
887
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
887
888
|
*/
|
|
888
889
|
getOperationAsyncResultAasRepository(options: {
|
|
889
|
-
configuration:
|
|
890
|
+
configuration: Configuration;
|
|
890
891
|
aasIdentifier: string;
|
|
891
892
|
submodelIdentifier: string;
|
|
892
893
|
idShortPath: string;
|
|
@@ -905,7 +906,7 @@ export declare class AasRepositoryClient {
|
|
|
905
906
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
906
907
|
*/
|
|
907
908
|
getOperationAsyncResultValueOnlyAasRepository(options: {
|
|
908
|
-
configuration:
|
|
909
|
+
configuration: Configuration;
|
|
909
910
|
aasIdentifier: string;
|
|
910
911
|
submodelIdentifier: string;
|
|
911
912
|
idShortPath: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { ApiResult } from '../models/api';
|
|
2
2
|
import { AasxFileService } from '../generated';
|
|
3
|
+
import { Configuration } from '../generated/runtime';
|
|
3
4
|
export declare class AasxFileClient {
|
|
4
5
|
/**
|
|
5
6
|
* Returns a list of available AASX packages at the server
|
|
@@ -11,7 +12,7 @@ export declare class AasxFileClient {
|
|
|
11
12
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
12
13
|
*/
|
|
13
14
|
getAllAASXPackageIds(options: {
|
|
14
|
-
configuration:
|
|
15
|
+
configuration: Configuration;
|
|
15
16
|
aasId?: string;
|
|
16
17
|
}): Promise<ApiResult<{
|
|
17
18
|
result: AasxFileService.PackageDescription[];
|
|
@@ -28,7 +29,7 @@ export declare class AasxFileClient {
|
|
|
28
29
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
29
30
|
*/
|
|
30
31
|
postAASXPackage(options: {
|
|
31
|
-
configuration:
|
|
32
|
+
configuration: Configuration;
|
|
32
33
|
aasIds?: string[];
|
|
33
34
|
file: Blob;
|
|
34
35
|
fileName: string;
|
|
@@ -43,7 +44,7 @@ export declare class AasxFileClient {
|
|
|
43
44
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
44
45
|
*/
|
|
45
46
|
getAASXByPackageId(options: {
|
|
46
|
-
configuration:
|
|
47
|
+
configuration: Configuration;
|
|
47
48
|
packageId: string;
|
|
48
49
|
}): Promise<ApiResult<Blob, AasxFileService.Result>>;
|
|
49
50
|
/**
|
|
@@ -59,7 +60,7 @@ export declare class AasxFileClient {
|
|
|
59
60
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
60
61
|
*/
|
|
61
62
|
putAASXByPackageId(options: {
|
|
62
|
-
configuration:
|
|
63
|
+
configuration: Configuration;
|
|
63
64
|
packageId: string;
|
|
64
65
|
aasIds?: string[];
|
|
65
66
|
file: Blob;
|
|
@@ -75,7 +76,7 @@ export declare class AasxFileClient {
|
|
|
75
76
|
* @returns Either `{ success: true; data: ... }` or `{ success: false; error: ... }`.
|
|
76
77
|
*/
|
|
77
78
|
deleteAASXByPackageId(options: {
|
|
78
|
-
configuration:
|
|
79
|
+
configuration: Configuration;
|
|
79
80
|
packageId: string;
|
|
80
81
|
}): Promise<ApiResult<void, AasxFileService.Result>>;
|
|
81
82
|
}
|