@c-rex/services 0.1.15 → 0.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,795 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/generated/client-requests.ts
21
+ var client_requests_exports = {};
22
+ __export(client_requests_exports, {
23
+ administrativeMetadataGetAllClient: () => administrativeMetadataGetAllClient,
24
+ administrativeMetadataGetByIdClient: () => administrativeMetadataGetByIdClient,
25
+ afterUsesGetAllClient: () => afterUsesGetAllClient,
26
+ afterUsesGetByIdClient: () => afterUsesGetByIdClient,
27
+ collectionsGetAllClient: () => collectionsGetAllClient,
28
+ collectionsGetByIdClient: () => collectionsGetByIdClient,
29
+ componentsGetAllClient: () => componentsGetAllClient,
30
+ componentsGetByIdClient: () => componentsGetByIdClient,
31
+ conceptsGetAllClient: () => conceptsGetAllClient,
32
+ conceptsGetByIdClient: () => conceptsGetByIdClient,
33
+ conformitiesGetAllClient: () => conformitiesGetAllClient,
34
+ conformitiesGetByIdClient: () => conformitiesGetByIdClient,
35
+ consumablesGetAllClient: () => consumablesGetAllClient,
36
+ consumablesGetByIdClient: () => consumablesGetByIdClient,
37
+ contentLifeCycleStatusGetAllClient: () => contentLifeCycleStatusGetAllClient,
38
+ contentLifeCycleStatusGetByIdClient: () => contentLifeCycleStatusGetByIdClient,
39
+ designAndRealizationsGetAllClient: () => designAndRealizationsGetAllClient,
40
+ designAndRealizationsGetByIdClient: () => designAndRealizationsGetByIdClient,
41
+ directoryNodeTypesGetAllClient: () => directoryNodeTypesGetAllClient,
42
+ directoryNodeTypesGetByIdClient: () => directoryNodeTypesGetByIdClient,
43
+ directoryNodesGetAllClient: () => directoryNodesGetAllClient,
44
+ directoryNodesGetByIdClient: () => directoryNodesGetByIdClient,
45
+ documentTypesGetAllClient: () => documentTypesGetAllClient,
46
+ documentTypesGetByIdClient: () => documentTypesGetByIdClient,
47
+ documentationMetadataGetAllClient: () => documentationMetadataGetAllClient,
48
+ documentationMetadataGetByIdClient: () => documentationMetadataGetByIdClient,
49
+ documentsGetAllClient: () => documentsGetAllClient,
50
+ documentsGetByIdClient: () => documentsGetByIdClient,
51
+ documentsLanguagesClient: () => documentsLanguagesClient,
52
+ domainEntitiesGetAllClient: () => domainEntitiesGetAllClient,
53
+ domainEntitiesGetByIdClient: () => domainEntitiesGetByIdClient,
54
+ downTimesGetAllClient: () => downTimesGetAllClient,
55
+ downTimesGetByIdClient: () => downTimesGetByIdClient,
56
+ eventsGetAllClient: () => eventsGetAllClient,
57
+ eventsGetByIdClient: () => eventsGetByIdClient,
58
+ formalitiesGetAllClient: () => formalitiesGetAllClient,
59
+ formalitiesGetByIdClient: () => formalitiesGetByIdClient,
60
+ formsGetAllClient: () => formsGetAllClient,
61
+ formsGetByIdClient: () => formsGetByIdClient,
62
+ fragmentsGetAllClient: () => fragmentsGetAllClient,
63
+ fragmentsGetByIdClient: () => fragmentsGetByIdClient,
64
+ fragmentsLanguagesClient: () => fragmentsLanguagesClient,
65
+ functionalMetadatasGetAllClient: () => functionalMetadatasGetAllClient,
66
+ functionalMetadatasGetByIdClient: () => functionalMetadatasGetByIdClient,
67
+ functionalitiesGetAllClient: () => functionalitiesGetAllClient,
68
+ functionalitiesGetByIdClient: () => functionalitiesGetByIdClient,
69
+ groupsGetAllClient: () => groupsGetAllClient,
70
+ groupsGetByIdClient: () => groupsGetByIdClient,
71
+ hardwareToolsGetAllClient: () => hardwareToolsGetAllClient,
72
+ hardwareToolsGetByIdClient: () => hardwareToolsGetByIdClient,
73
+ identitiesGetAllClient: () => identitiesGetAllClient,
74
+ identitiesGetByIdClient: () => identitiesGetByIdClient,
75
+ identityDomainsGetAllClient: () => identityDomainsGetAllClient,
76
+ identityDomainsGetByIdClient: () => identityDomainsGetByIdClient,
77
+ individualsGetAllClient: () => individualsGetAllClient,
78
+ individualsGetByIdClient: () => individualsGetByIdClient,
79
+ informationObjectsGetAllClient: () => informationObjectsGetAllClient,
80
+ informationObjectsGetByIdClient: () => informationObjectsGetByIdClient,
81
+ informationSubjectsGetAllClient: () => informationSubjectsGetAllClient,
82
+ informationSubjectsGetByIdClient: () => informationSubjectsGetByIdClient,
83
+ informationTypesGetAllClient: () => informationTypesGetAllClient,
84
+ informationTypesGetByIdClient: () => informationTypesGetByIdClient,
85
+ informationUnitsGetAllClient: () => informationUnitsGetAllClient,
86
+ informationUnitsGetByIdClient: () => informationUnitsGetByIdClient,
87
+ informationUnitsLanguagesClient: () => informationUnitsLanguagesClient,
88
+ learningsGetAllClient: () => learningsGetAllClient,
89
+ learningsGetByIdClient: () => learningsGetByIdClient,
90
+ locationsGetAllClient: () => locationsGetAllClient,
91
+ locationsGetByIdClient: () => locationsGetByIdClient,
92
+ lubricantsGetAllClient: () => lubricantsGetAllClient,
93
+ lubricantsGetByIdClient: () => lubricantsGetByIdClient,
94
+ maintenanceIntervalsGetAllClient: () => maintenanceIntervalsGetAllClient,
95
+ maintenanceIntervalsGetByIdClient: () => maintenanceIntervalsGetByIdClient,
96
+ operatingSuppliesGetAllClient: () => operatingSuppliesGetAllClient,
97
+ operatingSuppliesGetByIdClient: () => operatingSuppliesGetByIdClient,
98
+ organizationsGetAllClient: () => organizationsGetAllClient,
99
+ organizationsGetByIdClient: () => organizationsGetByIdClient,
100
+ packagesCreateClientAppClient: () => packagesCreateClientAppClient,
101
+ packagesGetAllClient: () => packagesGetAllClient,
102
+ packagesGetByIdClient: () => packagesGetByIdClient,
103
+ packagesLanguagesClient: () => packagesLanguagesClient,
104
+ partiesGetAllClient: () => partiesGetAllClient,
105
+ partiesGetByIdClient: () => partiesGetByIdClient,
106
+ planningTimesGetAllClient: () => planningTimesGetAllClient,
107
+ planningTimesGetByIdClient: () => planningTimesGetByIdClient,
108
+ processesGetAllClient: () => processesGetAllClient,
109
+ processesGetByIdClient: () => processesGetByIdClient,
110
+ productFeaturesGetAllClient: () => productFeaturesGetAllClient,
111
+ productFeaturesGetByIdClient: () => productFeaturesGetByIdClient,
112
+ productFunctionsGetAllClient: () => productFunctionsGetAllClient,
113
+ productFunctionsGetByIdClient: () => productFunctionsGetByIdClient,
114
+ productLifeCyclePhasesGetAllClient: () => productLifeCyclePhasesGetAllClient,
115
+ productLifeCyclePhasesGetByIdClient: () => productLifeCyclePhasesGetByIdClient,
116
+ productMetadataGetAllClient: () => productMetadataGetAllClient,
117
+ productMetadataGetByIdClient: () => productMetadataGetByIdClient,
118
+ productPropertiesGetAllClient: () => productPropertiesGetAllClient,
119
+ productPropertiesGetByIdClient: () => productPropertiesGetByIdClient,
120
+ productVariantsGetAllClient: () => productVariantsGetAllClient,
121
+ productVariantsGetByIdClient: () => productVariantsGetByIdClient,
122
+ puttingToUsesGetAllClient: () => puttingToUsesGetAllClient,
123
+ puttingToUsesGetByIdClient: () => puttingToUsesGetByIdClient,
124
+ qualificationsGetAllClient: () => qualificationsGetAllClient,
125
+ qualificationsGetByIdClient: () => qualificationsGetByIdClient,
126
+ referencesGetAllClient: () => referencesGetAllClient,
127
+ referencesGetByIdClient: () => referencesGetByIdClient,
128
+ renditionsGetAllClient: () => renditionsGetAllClient,
129
+ renditionsGetByIdClient: () => renditionsGetByIdClient,
130
+ renditionsGetWithBinaryWithBinaryPathClient: () => renditionsGetWithBinaryWithBinaryPathClient,
131
+ resourcesDownloadResourceClient: () => resourcesDownloadResourceClient,
132
+ resourcesDownloadResourceWithBinaryPathClient: () => resourcesDownloadResourceWithBinaryPathClient,
133
+ resourcesGetPackageClient: () => resourcesGetPackageClient,
134
+ resourcesGetSubjectFromPackageClient: () => resourcesGetSubjectFromPackageClient,
135
+ resourcesViewResourceClient: () => resourcesViewResourceClient,
136
+ resourcesViewResourceWithBinaryPathClient: () => resourcesViewResourceWithBinaryPathClient,
137
+ rolesGetAllClient: () => rolesGetAllClient,
138
+ rolesGetByIdClient: () => rolesGetByIdClient,
139
+ safetiesGetAllClient: () => safetiesGetAllClient,
140
+ safetiesGetByIdClient: () => safetiesGetByIdClient,
141
+ searchGetAllClient: () => searchGetAllClient,
142
+ setupTimesGetAllClient: () => setupTimesGetAllClient,
143
+ setupTimesGetByIdClient: () => setupTimesGetByIdClient,
144
+ skillLevelsGetAllClient: () => skillLevelsGetAllClient,
145
+ skillLevelsGetByIdClient: () => skillLevelsGetByIdClient,
146
+ sparQLExecuteSparQlClient: () => sparQLExecuteSparQlClient,
147
+ sparePartsGetAllClient: () => sparePartsGetAllClient,
148
+ sparePartsGetByIdClient: () => sparePartsGetByIdClient,
149
+ suppliesGetAllClient: () => suppliesGetAllClient,
150
+ suppliesGetByIdClient: () => suppliesGetByIdClient,
151
+ tasksGetAllClient: () => tasksGetAllClient,
152
+ tasksGetByIdClient: () => tasksGetByIdClient,
153
+ technicalDataGetAllClient: () => technicalDataGetAllClient,
154
+ technicalDataGetByIdClient: () => technicalDataGetByIdClient,
155
+ technicalOverviewsGetAllClient: () => technicalOverviewsGetAllClient,
156
+ technicalOverviewsGetByIdClient: () => technicalOverviewsGetByIdClient,
157
+ topicTypesGetAllClient: () => topicTypesGetAllClient,
158
+ topicTypesGetByIdClient: () => topicTypesGetByIdClient,
159
+ topicsGetAllClient: () => topicsGetAllClient,
160
+ topicsGetByIdClient: () => topicsGetByIdClient,
161
+ topicsLanguagesClient: () => topicsLanguagesClient,
162
+ troubleShootingsGetAllClient: () => troubleShootingsGetAllClient,
163
+ troubleShootingsGetByIdClient: () => troubleShootingsGetByIdClient,
164
+ usesGetAllClient: () => usesGetAllClient,
165
+ usesGetByIdClient: () => usesGetByIdClient,
166
+ vCardsGetAllClient: () => vCardsGetAllClient,
167
+ vCardsGetByIdClient: () => vCardsGetByIdClient,
168
+ warningMessagesGetAllClient: () => warningMessagesGetAllClient,
169
+ warningMessagesGetByIdClient: () => warningMessagesGetByIdClient,
170
+ workingTimesGetAllClient: () => workingTimesGetAllClient,
171
+ workingTimesGetByIdClient: () => workingTimesGetByIdClient
172
+ });
173
+ module.exports = __toCommonJS(client_requests_exports);
174
+
175
+ // src/base-client-request.ts
176
+ var baseClientRequest = async (endpoint, queryParams) => {
177
+ const res = await fetch(`/api/rpc`, {
178
+ method: "POST",
179
+ headers: { "Content-Type": "application/json" },
180
+ body: JSON.stringify({
181
+ method: "CrexApi.execute",
182
+ params: {
183
+ url: endpoint,
184
+ method: "GET",
185
+ params: queryParams
186
+ }
187
+ }),
188
+ credentials: "include"
189
+ });
190
+ const json = await res.json();
191
+ if (!res.ok) throw new Error(json.error || "Unknown error");
192
+ return json.data;
193
+ };
194
+
195
+ // src/generated/client-requests.ts
196
+ var administrativeMetadataGetAllClient = async (query) => {
197
+ return baseClientRequest("AdministrativeMetadata", query);
198
+ };
199
+ var administrativeMetadataGetByIdClient = async (params, query) => {
200
+ return baseClientRequest(`AdministrativeMetadata/${params.id}`, query);
201
+ };
202
+ var afterUsesGetAllClient = async (query) => {
203
+ return baseClientRequest("AfterUses", query);
204
+ };
205
+ var afterUsesGetByIdClient = async (params, query) => {
206
+ return baseClientRequest(`AfterUses/${params.id}`, query);
207
+ };
208
+ var collectionsGetAllClient = async (query) => {
209
+ return baseClientRequest("Collections", query);
210
+ };
211
+ var collectionsGetByIdClient = async (params, query) => {
212
+ return baseClientRequest(`Collections/${params.id}`, query);
213
+ };
214
+ var componentsGetAllClient = async (query) => {
215
+ return baseClientRequest("Components", query);
216
+ };
217
+ var componentsGetByIdClient = async (params, query) => {
218
+ return baseClientRequest(`Components/${params.id}`, query);
219
+ };
220
+ var conceptsGetAllClient = async (query) => {
221
+ return baseClientRequest("Concepts", query);
222
+ };
223
+ var conceptsGetByIdClient = async (params, query) => {
224
+ return baseClientRequest(`Concepts/${params.id}`, query);
225
+ };
226
+ var conformitiesGetAllClient = async (query) => {
227
+ return baseClientRequest("Conformities", query);
228
+ };
229
+ var conformitiesGetByIdClient = async (params, query) => {
230
+ return baseClientRequest(`Conformities/${params.id}`, query);
231
+ };
232
+ var consumablesGetAllClient = async (query) => {
233
+ return baseClientRequest("Consumables", query);
234
+ };
235
+ var consumablesGetByIdClient = async (params, query) => {
236
+ return baseClientRequest(`Consumables/${params.id}`, query);
237
+ };
238
+ var contentLifeCycleStatusGetAllClient = async (query) => {
239
+ return baseClientRequest("ContentLifeCycleStatus", query);
240
+ };
241
+ var contentLifeCycleStatusGetByIdClient = async (params, query) => {
242
+ return baseClientRequest(`ContentLifeCycleStatus/${params.id}`, query);
243
+ };
244
+ var designAndRealizationsGetAllClient = async (query) => {
245
+ return baseClientRequest("DesignAndRealizations", query);
246
+ };
247
+ var designAndRealizationsGetByIdClient = async (params, query) => {
248
+ return baseClientRequest(`DesignAndRealizations/${params.id}`, query);
249
+ };
250
+ var directoryNodesGetAllClient = async (query) => {
251
+ return baseClientRequest("DirectoryNodes", query);
252
+ };
253
+ var directoryNodesGetByIdClient = async (params, query) => {
254
+ return baseClientRequest(`DirectoryNodes/${params.id}`, query);
255
+ };
256
+ var directoryNodeTypesGetAllClient = async (query) => {
257
+ return baseClientRequest("DirectoryNodeTypes", query);
258
+ };
259
+ var directoryNodeTypesGetByIdClient = async (params, query) => {
260
+ return baseClientRequest(`DirectoryNodeTypes/${params.id}`, query);
261
+ };
262
+ var documentationMetadataGetAllClient = async (query) => {
263
+ return baseClientRequest("DocumentationMetadata", query);
264
+ };
265
+ var documentationMetadataGetByIdClient = async (params, query) => {
266
+ return baseClientRequest(`DocumentationMetadata/${params.id}`, query);
267
+ };
268
+ var documentsGetAllClient = async (query) => {
269
+ return baseClientRequest("Documents", query);
270
+ };
271
+ var documentsGetByIdClient = async (params, query) => {
272
+ return baseClientRequest(`Documents/${params.id}`, query);
273
+ };
274
+ var documentsLanguagesClient = async (query) => {
275
+ return baseClientRequest("Documents/Languages", query);
276
+ };
277
+ var documentTypesGetAllClient = async (query) => {
278
+ return baseClientRequest("DocumentTypes", query);
279
+ };
280
+ var documentTypesGetByIdClient = async (params, query) => {
281
+ return baseClientRequest(`DocumentTypes/${params.id}`, query);
282
+ };
283
+ var domainEntitiesGetAllClient = async (query) => {
284
+ return baseClientRequest("DomainEntities", query);
285
+ };
286
+ var domainEntitiesGetByIdClient = async (params, query) => {
287
+ return baseClientRequest(`DomainEntities/${params.id}`, query);
288
+ };
289
+ var downTimesGetAllClient = async (query) => {
290
+ return baseClientRequest("DownTimes", query);
291
+ };
292
+ var downTimesGetByIdClient = async (params, query) => {
293
+ return baseClientRequest(`DownTimes/${params.id}`, query);
294
+ };
295
+ var eventsGetAllClient = async (query) => {
296
+ return baseClientRequest("Events", query);
297
+ };
298
+ var eventsGetByIdClient = async (params, query) => {
299
+ return baseClientRequest(`Events/${params.id}`, query);
300
+ };
301
+ var formalitiesGetAllClient = async (query) => {
302
+ return baseClientRequest("Formalities", query);
303
+ };
304
+ var formalitiesGetByIdClient = async (params, query) => {
305
+ return baseClientRequest(`Formalities/${params.id}`, query);
306
+ };
307
+ var formsGetAllClient = async (query) => {
308
+ return baseClientRequest("Forms", query);
309
+ };
310
+ var formsGetByIdClient = async (params, query) => {
311
+ return baseClientRequest(`Forms/${params.id}`, query);
312
+ };
313
+ var fragmentsGetAllClient = async (query) => {
314
+ return baseClientRequest("Fragments", query);
315
+ };
316
+ var fragmentsGetByIdClient = async (params, query) => {
317
+ return baseClientRequest(`Fragments/${params.id}`, query);
318
+ };
319
+ var fragmentsLanguagesClient = async (query) => {
320
+ return baseClientRequest("Fragments/Languages", query);
321
+ };
322
+ var functionalitiesGetAllClient = async (query) => {
323
+ return baseClientRequest("Functionalities", query);
324
+ };
325
+ var functionalitiesGetByIdClient = async (params, query) => {
326
+ return baseClientRequest(`Functionalities/${params.id}`, query);
327
+ };
328
+ var functionalMetadatasGetAllClient = async (query) => {
329
+ return baseClientRequest("FunctionalMetadatas", query);
330
+ };
331
+ var functionalMetadatasGetByIdClient = async (params, query) => {
332
+ return baseClientRequest(`FunctionalMetadatas/${params.id}`, query);
333
+ };
334
+ var groupsGetAllClient = async (query) => {
335
+ return baseClientRequest("Groups", query);
336
+ };
337
+ var groupsGetByIdClient = async (params, query) => {
338
+ return baseClientRequest(`Groups/${params.id}`, query);
339
+ };
340
+ var hardwareToolsGetAllClient = async (query) => {
341
+ return baseClientRequest("HardwareTools", query);
342
+ };
343
+ var hardwareToolsGetByIdClient = async (params, query) => {
344
+ return baseClientRequest(`HardwareTools/${params.id}`, query);
345
+ };
346
+ var identitiesGetAllClient = async (query) => {
347
+ return baseClientRequest("Identities", query);
348
+ };
349
+ var identitiesGetByIdClient = async (params, query) => {
350
+ return baseClientRequest(`Identities/${params.id}`, query);
351
+ };
352
+ var identityDomainsGetAllClient = async (query) => {
353
+ return baseClientRequest("IdentityDomains", query);
354
+ };
355
+ var identityDomainsGetByIdClient = async (params, query) => {
356
+ return baseClientRequest(`IdentityDomains/${params.id}`, query);
357
+ };
358
+ var individualsGetAllClient = async (query) => {
359
+ return baseClientRequest("Individuals", query);
360
+ };
361
+ var individualsGetByIdClient = async (params, query) => {
362
+ return baseClientRequest(`Individuals/${params.id}`, query);
363
+ };
364
+ var informationObjectsGetAllClient = async (query) => {
365
+ return baseClientRequest("InformationObjects", query);
366
+ };
367
+ var informationObjectsGetByIdClient = async (params, query) => {
368
+ return baseClientRequest(`InformationObjects/${params.id}`, query);
369
+ };
370
+ var informationSubjectsGetAllClient = async (query) => {
371
+ return baseClientRequest("InformationSubjects", query);
372
+ };
373
+ var informationSubjectsGetByIdClient = async (params, query) => {
374
+ return baseClientRequest(`InformationSubjects/${params.id}`, query);
375
+ };
376
+ var informationTypesGetAllClient = async (query) => {
377
+ return baseClientRequest("InformationTypes", query);
378
+ };
379
+ var informationTypesGetByIdClient = async (params, query) => {
380
+ return baseClientRequest(`InformationTypes/${params.id}`, query);
381
+ };
382
+ var informationUnitsGetAllClient = async (query) => {
383
+ return baseClientRequest("InformationUnits", query);
384
+ };
385
+ var informationUnitsGetByIdClient = async (params, query) => {
386
+ return baseClientRequest(`InformationUnits/${params.id}`, query);
387
+ };
388
+ var informationUnitsLanguagesClient = async (query) => {
389
+ return baseClientRequest("InformationUnits/Languages", query);
390
+ };
391
+ var learningsGetAllClient = async (query) => {
392
+ return baseClientRequest("Learnings", query);
393
+ };
394
+ var learningsGetByIdClient = async (params, query) => {
395
+ return baseClientRequest(`Learnings/${params.id}`, query);
396
+ };
397
+ var locationsGetAllClient = async (query) => {
398
+ return baseClientRequest("Locations", query);
399
+ };
400
+ var locationsGetByIdClient = async (params, query) => {
401
+ return baseClientRequest(`Locations/${params.id}`, query);
402
+ };
403
+ var lubricantsGetAllClient = async (query) => {
404
+ return baseClientRequest("Lubricants", query);
405
+ };
406
+ var lubricantsGetByIdClient = async (params, query) => {
407
+ return baseClientRequest(`Lubricants/${params.id}`, query);
408
+ };
409
+ var maintenanceIntervalsGetAllClient = async (query) => {
410
+ return baseClientRequest("MaintenanceIntervals", query);
411
+ };
412
+ var maintenanceIntervalsGetByIdClient = async (params, query) => {
413
+ return baseClientRequest(`MaintenanceIntervals/${params.id}`, query);
414
+ };
415
+ var operatingSuppliesGetAllClient = async (query) => {
416
+ return baseClientRequest("OperatingSupplies", query);
417
+ };
418
+ var operatingSuppliesGetByIdClient = async (params, query) => {
419
+ return baseClientRequest(`OperatingSupplies/${params.id}`, query);
420
+ };
421
+ var organizationsGetAllClient = async (query) => {
422
+ return baseClientRequest("Organizations", query);
423
+ };
424
+ var organizationsGetByIdClient = async (params, query) => {
425
+ return baseClientRequest(`Organizations/${params.id}`, query);
426
+ };
427
+ var packagesCreateClientAppClient = async (query) => {
428
+ return baseClientRequest("ids/v1/Packages/CreateClientApp", query);
429
+ };
430
+ var packagesGetAllClient = async (query) => {
431
+ return baseClientRequest("Packages", query);
432
+ };
433
+ var packagesGetByIdClient = async (params, query) => {
434
+ return baseClientRequest(`Packages/${params.id}`, query);
435
+ };
436
+ var packagesLanguagesClient = async (query) => {
437
+ return baseClientRequest("Packages/Languages", query);
438
+ };
439
+ var partiesGetAllClient = async (query) => {
440
+ return baseClientRequest("Parties", query);
441
+ };
442
+ var partiesGetByIdClient = async (params, query) => {
443
+ return baseClientRequest(`Parties/${params.id}`, query);
444
+ };
445
+ var planningTimesGetAllClient = async (query) => {
446
+ return baseClientRequest("PlanningTimes", query);
447
+ };
448
+ var planningTimesGetByIdClient = async (params, query) => {
449
+ return baseClientRequest(`PlanningTimes/${params.id}`, query);
450
+ };
451
+ var processesGetAllClient = async (query) => {
452
+ return baseClientRequest("Processes", query);
453
+ };
454
+ var processesGetByIdClient = async (params, query) => {
455
+ return baseClientRequest(`Processes/${params.id}`, query);
456
+ };
457
+ var productFeaturesGetAllClient = async (query) => {
458
+ return baseClientRequest("ProductFeatures", query);
459
+ };
460
+ var productFeaturesGetByIdClient = async (params, query) => {
461
+ return baseClientRequest(`ProductFeatures/${params.id}`, query);
462
+ };
463
+ var productFunctionsGetAllClient = async (query) => {
464
+ return baseClientRequest("ProductFunctions", query);
465
+ };
466
+ var productFunctionsGetByIdClient = async (params, query) => {
467
+ return baseClientRequest(`ProductFunctions/${params.id}`, query);
468
+ };
469
+ var productLifeCyclePhasesGetAllClient = async (query) => {
470
+ return baseClientRequest("ProductLifeCyclePhases", query);
471
+ };
472
+ var productLifeCyclePhasesGetByIdClient = async (params, query) => {
473
+ return baseClientRequest(`ProductLifeCyclePhases/${params.id}`, query);
474
+ };
475
+ var productMetadataGetAllClient = async (query) => {
476
+ return baseClientRequest("ProductMetadata", query);
477
+ };
478
+ var productMetadataGetByIdClient = async (params, query) => {
479
+ return baseClientRequest(`ProductMetadata/${params.id}`, query);
480
+ };
481
+ var productPropertiesGetAllClient = async (query) => {
482
+ return baseClientRequest("ProductProperties", query);
483
+ };
484
+ var productPropertiesGetByIdClient = async (params, query) => {
485
+ return baseClientRequest(`ProductProperties/${params.id}`, query);
486
+ };
487
+ var productVariantsGetAllClient = async (query) => {
488
+ return baseClientRequest("ProductVariants", query);
489
+ };
490
+ var productVariantsGetByIdClient = async (params, query) => {
491
+ return baseClientRequest(`ProductVariants/${params.id}`, query);
492
+ };
493
+ var puttingToUsesGetAllClient = async (query) => {
494
+ return baseClientRequest("PuttingToUses", query);
495
+ };
496
+ var puttingToUsesGetByIdClient = async (params, query) => {
497
+ return baseClientRequest(`PuttingToUses/${params.id}`, query);
498
+ };
499
+ var qualificationsGetAllClient = async (query) => {
500
+ return baseClientRequest("Qualifications", query);
501
+ };
502
+ var qualificationsGetByIdClient = async (params, query) => {
503
+ return baseClientRequest(`Qualifications/${params.id}`, query);
504
+ };
505
+ var referencesGetAllClient = async (query) => {
506
+ return baseClientRequest("References", query);
507
+ };
508
+ var referencesGetByIdClient = async (params, query) => {
509
+ return baseClientRequest(`References/${params.id}`, query);
510
+ };
511
+ var renditionsGetAllClient = async (query) => {
512
+ return baseClientRequest("Renditions", query);
513
+ };
514
+ var renditionsGetByIdClient = async (params, query) => {
515
+ return baseClientRequest(`Renditions/${params.id}`, query);
516
+ };
517
+ var renditionsGetWithBinaryWithBinaryPathClient = async (params) => {
518
+ return baseClientRequest(`Renditions/${params.id}/${params.binaryPath}`);
519
+ };
520
+ var resourcesDownloadResourceClient = async (params) => {
521
+ return baseClientRequest(`ids/v1/Resources/${params.renditionId}`);
522
+ };
523
+ var resourcesDownloadResourceWithBinaryPathClient = async (params) => {
524
+ return baseClientRequest(`ids/v1/Resources/${params.renditionId}/${params.binaryPath}`);
525
+ };
526
+ var resourcesGetPackageClient = async (params, query) => {
527
+ return baseClientRequest(`Resources/packages/${params.id}`, query);
528
+ };
529
+ var resourcesGetSubjectFromPackageClient = async (params, query) => {
530
+ return baseClientRequest(`Resources/subjects/${params.id}`, query);
531
+ };
532
+ var resourcesViewResourceClient = async (params) => {
533
+ return baseClientRequest(`ids/v1/Resources/view/${params.renditionId}`);
534
+ };
535
+ var resourcesViewResourceWithBinaryPathClient = async (params) => {
536
+ return baseClientRequest(`ids/v1/Resources/view/${params.renditionId}/${params.binaryPath}`);
537
+ };
538
+ var rolesGetAllClient = async (query) => {
539
+ return baseClientRequest("Roles", query);
540
+ };
541
+ var rolesGetByIdClient = async (params, query) => {
542
+ return baseClientRequest(`Roles/${params.id}`, query);
543
+ };
544
+ var safetiesGetAllClient = async (query) => {
545
+ return baseClientRequest("Safeties", query);
546
+ };
547
+ var safetiesGetByIdClient = async (params, query) => {
548
+ return baseClientRequest(`Safeties/${params.id}`, query);
549
+ };
550
+ var searchGetAllClient = async (query) => {
551
+ return baseClientRequest("ids/v1/Search/Facets", query);
552
+ };
553
+ var setupTimesGetAllClient = async (query) => {
554
+ return baseClientRequest("SetupTimes", query);
555
+ };
556
+ var setupTimesGetByIdClient = async (params, query) => {
557
+ return baseClientRequest(`SetupTimes/${params.id}`, query);
558
+ };
559
+ var skillLevelsGetAllClient = async (query) => {
560
+ return baseClientRequest("SkillLevels", query);
561
+ };
562
+ var skillLevelsGetByIdClient = async (params, query) => {
563
+ return baseClientRequest(`SkillLevels/${params.id}`, query);
564
+ };
565
+ var sparePartsGetAllClient = async (query) => {
566
+ return baseClientRequest("SpareParts", query);
567
+ };
568
+ var sparePartsGetByIdClient = async (params, query) => {
569
+ return baseClientRequest(`SpareParts/${params.id}`, query);
570
+ };
571
+ var sparQLExecuteSparQlClient = async (params) => {
572
+ return baseClientRequest(`SparQL/${params.query}`);
573
+ };
574
+ var suppliesGetAllClient = async (query) => {
575
+ return baseClientRequest("Supplies", query);
576
+ };
577
+ var suppliesGetByIdClient = async (params, query) => {
578
+ return baseClientRequest(`Supplies/${params.id}`, query);
579
+ };
580
+ var tasksGetAllClient = async (query) => {
581
+ return baseClientRequest("Tasks", query);
582
+ };
583
+ var tasksGetByIdClient = async (params, query) => {
584
+ return baseClientRequest(`Tasks/${params.id}`, query);
585
+ };
586
+ var technicalDataGetAllClient = async (query) => {
587
+ return baseClientRequest("TechnicalData", query);
588
+ };
589
+ var technicalDataGetByIdClient = async (params, query) => {
590
+ return baseClientRequest(`TechnicalData/${params.id}`, query);
591
+ };
592
+ var technicalOverviewsGetAllClient = async (query) => {
593
+ return baseClientRequest("TechnicalOverviews", query);
594
+ };
595
+ var technicalOverviewsGetByIdClient = async (params, query) => {
596
+ return baseClientRequest(`TechnicalOverviews/${params.id}`, query);
597
+ };
598
+ var topicsGetAllClient = async (query) => {
599
+ return baseClientRequest("Topics", query);
600
+ };
601
+ var topicsGetByIdClient = async (params, query) => {
602
+ return baseClientRequest(`Topics/${params.id}`, query);
603
+ };
604
+ var topicsLanguagesClient = async (query) => {
605
+ return baseClientRequest("Topics/Languages", query);
606
+ };
607
+ var topicTypesGetAllClient = async (query) => {
608
+ return baseClientRequest("TopicTypes", query);
609
+ };
610
+ var topicTypesGetByIdClient = async (params, query) => {
611
+ return baseClientRequest(`TopicTypes/${params.id}`, query);
612
+ };
613
+ var troubleShootingsGetAllClient = async (query) => {
614
+ return baseClientRequest("TroubleShootings", query);
615
+ };
616
+ var troubleShootingsGetByIdClient = async (params, query) => {
617
+ return baseClientRequest(`TroubleShootings/${params.id}`, query);
618
+ };
619
+ var usesGetAllClient = async (query) => {
620
+ return baseClientRequest("Uses", query);
621
+ };
622
+ var usesGetByIdClient = async (params, query) => {
623
+ return baseClientRequest(`Uses/${params.id}`, query);
624
+ };
625
+ var vCardsGetAllClient = async (query) => {
626
+ return baseClientRequest("VCards", query);
627
+ };
628
+ var vCardsGetByIdClient = async (params, query) => {
629
+ return baseClientRequest(`VCards/${params.id}`, query);
630
+ };
631
+ var warningMessagesGetAllClient = async (query) => {
632
+ return baseClientRequest("WarningMessages", query);
633
+ };
634
+ var warningMessagesGetByIdClient = async (params, query) => {
635
+ return baseClientRequest(`WarningMessages/${params.id}`, query);
636
+ };
637
+ var workingTimesGetAllClient = async (query) => {
638
+ return baseClientRequest("WorkingTimes", query);
639
+ };
640
+ var workingTimesGetByIdClient = async (params, query) => {
641
+ return baseClientRequest(`WorkingTimes/${params.id}`, query);
642
+ };
643
+ // Annotate the CommonJS export names for ESM import in node:
644
+ 0 && (module.exports = {
645
+ administrativeMetadataGetAllClient,
646
+ administrativeMetadataGetByIdClient,
647
+ afterUsesGetAllClient,
648
+ afterUsesGetByIdClient,
649
+ collectionsGetAllClient,
650
+ collectionsGetByIdClient,
651
+ componentsGetAllClient,
652
+ componentsGetByIdClient,
653
+ conceptsGetAllClient,
654
+ conceptsGetByIdClient,
655
+ conformitiesGetAllClient,
656
+ conformitiesGetByIdClient,
657
+ consumablesGetAllClient,
658
+ consumablesGetByIdClient,
659
+ contentLifeCycleStatusGetAllClient,
660
+ contentLifeCycleStatusGetByIdClient,
661
+ designAndRealizationsGetAllClient,
662
+ designAndRealizationsGetByIdClient,
663
+ directoryNodeTypesGetAllClient,
664
+ directoryNodeTypesGetByIdClient,
665
+ directoryNodesGetAllClient,
666
+ directoryNodesGetByIdClient,
667
+ documentTypesGetAllClient,
668
+ documentTypesGetByIdClient,
669
+ documentationMetadataGetAllClient,
670
+ documentationMetadataGetByIdClient,
671
+ documentsGetAllClient,
672
+ documentsGetByIdClient,
673
+ documentsLanguagesClient,
674
+ domainEntitiesGetAllClient,
675
+ domainEntitiesGetByIdClient,
676
+ downTimesGetAllClient,
677
+ downTimesGetByIdClient,
678
+ eventsGetAllClient,
679
+ eventsGetByIdClient,
680
+ formalitiesGetAllClient,
681
+ formalitiesGetByIdClient,
682
+ formsGetAllClient,
683
+ formsGetByIdClient,
684
+ fragmentsGetAllClient,
685
+ fragmentsGetByIdClient,
686
+ fragmentsLanguagesClient,
687
+ functionalMetadatasGetAllClient,
688
+ functionalMetadatasGetByIdClient,
689
+ functionalitiesGetAllClient,
690
+ functionalitiesGetByIdClient,
691
+ groupsGetAllClient,
692
+ groupsGetByIdClient,
693
+ hardwareToolsGetAllClient,
694
+ hardwareToolsGetByIdClient,
695
+ identitiesGetAllClient,
696
+ identitiesGetByIdClient,
697
+ identityDomainsGetAllClient,
698
+ identityDomainsGetByIdClient,
699
+ individualsGetAllClient,
700
+ individualsGetByIdClient,
701
+ informationObjectsGetAllClient,
702
+ informationObjectsGetByIdClient,
703
+ informationSubjectsGetAllClient,
704
+ informationSubjectsGetByIdClient,
705
+ informationTypesGetAllClient,
706
+ informationTypesGetByIdClient,
707
+ informationUnitsGetAllClient,
708
+ informationUnitsGetByIdClient,
709
+ informationUnitsLanguagesClient,
710
+ learningsGetAllClient,
711
+ learningsGetByIdClient,
712
+ locationsGetAllClient,
713
+ locationsGetByIdClient,
714
+ lubricantsGetAllClient,
715
+ lubricantsGetByIdClient,
716
+ maintenanceIntervalsGetAllClient,
717
+ maintenanceIntervalsGetByIdClient,
718
+ operatingSuppliesGetAllClient,
719
+ operatingSuppliesGetByIdClient,
720
+ organizationsGetAllClient,
721
+ organizationsGetByIdClient,
722
+ packagesCreateClientAppClient,
723
+ packagesGetAllClient,
724
+ packagesGetByIdClient,
725
+ packagesLanguagesClient,
726
+ partiesGetAllClient,
727
+ partiesGetByIdClient,
728
+ planningTimesGetAllClient,
729
+ planningTimesGetByIdClient,
730
+ processesGetAllClient,
731
+ processesGetByIdClient,
732
+ productFeaturesGetAllClient,
733
+ productFeaturesGetByIdClient,
734
+ productFunctionsGetAllClient,
735
+ productFunctionsGetByIdClient,
736
+ productLifeCyclePhasesGetAllClient,
737
+ productLifeCyclePhasesGetByIdClient,
738
+ productMetadataGetAllClient,
739
+ productMetadataGetByIdClient,
740
+ productPropertiesGetAllClient,
741
+ productPropertiesGetByIdClient,
742
+ productVariantsGetAllClient,
743
+ productVariantsGetByIdClient,
744
+ puttingToUsesGetAllClient,
745
+ puttingToUsesGetByIdClient,
746
+ qualificationsGetAllClient,
747
+ qualificationsGetByIdClient,
748
+ referencesGetAllClient,
749
+ referencesGetByIdClient,
750
+ renditionsGetAllClient,
751
+ renditionsGetByIdClient,
752
+ renditionsGetWithBinaryWithBinaryPathClient,
753
+ resourcesDownloadResourceClient,
754
+ resourcesDownloadResourceWithBinaryPathClient,
755
+ resourcesGetPackageClient,
756
+ resourcesGetSubjectFromPackageClient,
757
+ resourcesViewResourceClient,
758
+ resourcesViewResourceWithBinaryPathClient,
759
+ rolesGetAllClient,
760
+ rolesGetByIdClient,
761
+ safetiesGetAllClient,
762
+ safetiesGetByIdClient,
763
+ searchGetAllClient,
764
+ setupTimesGetAllClient,
765
+ setupTimesGetByIdClient,
766
+ skillLevelsGetAllClient,
767
+ skillLevelsGetByIdClient,
768
+ sparQLExecuteSparQlClient,
769
+ sparePartsGetAllClient,
770
+ sparePartsGetByIdClient,
771
+ suppliesGetAllClient,
772
+ suppliesGetByIdClient,
773
+ tasksGetAllClient,
774
+ tasksGetByIdClient,
775
+ technicalDataGetAllClient,
776
+ technicalDataGetByIdClient,
777
+ technicalOverviewsGetAllClient,
778
+ technicalOverviewsGetByIdClient,
779
+ topicTypesGetAllClient,
780
+ topicTypesGetByIdClient,
781
+ topicsGetAllClient,
782
+ topicsGetByIdClient,
783
+ topicsLanguagesClient,
784
+ troubleShootingsGetAllClient,
785
+ troubleShootingsGetByIdClient,
786
+ usesGetAllClient,
787
+ usesGetByIdClient,
788
+ vCardsGetAllClient,
789
+ vCardsGetByIdClient,
790
+ warningMessagesGetAllClient,
791
+ warningMessagesGetByIdClient,
792
+ workingTimesGetAllClient,
793
+ workingTimesGetByIdClient
794
+ });
795
+ //# sourceMappingURL=client-requests.js.map