@sovity.de/edc-client 3.1.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/README.md +2 -2
  2. package/dist/generated/apis/BrokerServerApi.d.ts +40 -0
  3. package/dist/generated/apis/EnterpriseEditionApi.d.ts +40 -1
  4. package/dist/generated/apis/index.d.ts +1 -0
  5. package/dist/generated/models/CatalogPageQuery.d.ts +49 -0
  6. package/dist/generated/models/CatalogPageResult.d.ts +42 -0
  7. package/dist/generated/models/CatalogPageSortingItem.d.ts +36 -0
  8. package/dist/generated/models/CnfFilter.d.ts +21 -0
  9. package/dist/generated/models/CnfFilterAttribute.d.ts +33 -0
  10. package/dist/generated/models/CnfFilterItem.d.ts +26 -0
  11. package/dist/generated/models/CnfFilterValue.d.ts +21 -0
  12. package/dist/generated/models/CnfFilterValueAttribute.d.ts +26 -0
  13. package/dist/generated/models/ConnectorListEntry.d.ts +82 -0
  14. package/dist/generated/models/ConnectorPageQuery.d.ts +40 -0
  15. package/dist/generated/models/ConnectorPageResult.d.ts +35 -0
  16. package/dist/generated/models/ConnectorPageSortingItem.d.ts +34 -0
  17. package/dist/generated/models/ContractAgreementCard.d.ts +6 -0
  18. package/dist/generated/models/ContractOfferConnectorInfo.d.ts +52 -0
  19. package/dist/generated/models/ContractOfferDto.d.ts +35 -0
  20. package/dist/generated/models/PaginationMetadata.d.ts +38 -0
  21. package/dist/generated/models/PolicyDto.d.ts +1 -1
  22. package/dist/generated/models/StoredFile.d.ts +64 -0
  23. package/dist/generated/models/index.d.ts +16 -0
  24. package/dist/sovity-edc-client.js +915 -249
  25. package/dist/sovity-edc-client.js.map +1 -1
  26. package/dist/sovity-edc-client.umd.cjs +1 -1
  27. package/dist/sovity-edc-client.umd.cjs.map +1 -1
  28. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
- var w = Object.defineProperty;
2
- var A = (t, e, r) => e in t ? w(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
- var s = (t, e, r) => (A(t, typeof e != "symbol" ? e + "" : e, r), r);
4
- const C = "http://localhost".replace(/\/+$/, "");
5
- class g {
1
+ var N = Object.defineProperty;
2
+ var D = (t, e, n) => e in t ? N(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
+ var d = (t, e, n) => (D(t, typeof e != "symbol" ? e + "" : e, n), n);
4
+ const J = "http://localhost".replace(/\/+$/, "");
5
+ class O {
6
6
  constructor(e = {}) {
7
7
  this.configuration = e;
8
8
  }
@@ -10,7 +10,7 @@ class g {
10
10
  this.configuration = e;
11
11
  }
12
12
  get basePath() {
13
- return this.configuration.basePath != null ? this.configuration.basePath : C;
13
+ return this.configuration.basePath != null ? this.configuration.basePath : J;
14
14
  }
15
15
  get fetchApi() {
16
16
  return this.configuration.fetchApi;
@@ -19,7 +19,7 @@ class g {
19
19
  return this.configuration.middleware || [];
20
20
  }
21
21
  get queryParamsStringify() {
22
- return this.configuration.queryParamsStringify || l;
22
+ return this.configuration.queryParamsStringify || y;
23
23
  }
24
24
  get username() {
25
25
  return this.configuration.username;
@@ -44,33 +44,33 @@ class g {
44
44
  return this.configuration.credentials;
45
45
  }
46
46
  }
47
- const P = new g(), f = class {
48
- constructor(e = P) {
49
- s(this, "middleware");
50
- s(this, "fetchApi", async (e, r) => {
51
- let n = { url: e, init: r };
47
+ const R = new O(), p = class {
48
+ constructor(e = R) {
49
+ d(this, "middleware");
50
+ d(this, "fetchApi", async (e, n) => {
51
+ let r = { url: e, init: n };
52
52
  for (const o of this.middleware)
53
- o.pre && (n = await o.pre({
53
+ o.pre && (r = await o.pre({
54
54
  fetch: this.fetchApi,
55
- ...n
56
- }) || n);
55
+ ...r
56
+ }) || r);
57
57
  let i;
58
58
  try {
59
59
  i = await (this.configuration.fetchApi || fetch)(
60
- n.url,
61
- n.init
60
+ r.url,
61
+ r.init
62
62
  );
63
63
  } catch (o) {
64
- for (const u of this.middleware)
65
- u.onError && (i = await u.onError({
64
+ for (const s of this.middleware)
65
+ s.onError && (i = await s.onError({
66
66
  fetch: this.fetchApi,
67
- url: n.url,
68
- init: n.init,
67
+ url: r.url,
68
+ init: r.init,
69
69
  error: o,
70
70
  response: i ? i.clone() : void 0
71
71
  }) || i);
72
72
  if (i === void 0)
73
- throw o instanceof Error ? new T(
73
+ throw o instanceof Error ? new q(
74
74
  o,
75
75
  "The request failed and the interceptors did not return an alternative response"
76
76
  ) : o;
@@ -78,8 +78,8 @@ const P = new g(), f = class {
78
78
  for (const o of this.middleware)
79
79
  o.post && (i = await o.post({
80
80
  fetch: this.fetchApi,
81
- url: n.url,
82
- init: n.init,
81
+ url: r.url,
82
+ init: r.init,
83
83
  response: i.clone()
84
84
  }) || i);
85
85
  return i;
@@ -87,16 +87,16 @@ const P = new g(), f = class {
87
87
  this.configuration = e, this.middleware = e.middleware;
88
88
  }
89
89
  withMiddleware(...e) {
90
- const r = this.clone();
91
- return r.middleware = r.middleware.concat(...e), r;
90
+ const n = this.clone();
91
+ return n.middleware = n.middleware.concat(...e), n;
92
92
  }
93
93
  withPreMiddleware(...e) {
94
- const r = e.map((n) => ({ pre: n }));
95
- return this.withMiddleware(...r);
94
+ const n = e.map((r) => ({ pre: r }));
95
+ return this.withMiddleware(...n);
96
96
  }
97
97
  withPostMiddleware(...e) {
98
- const r = e.map((n) => ({ post: n }));
99
- return this.withMiddleware(...r);
98
+ const n = e.map((r) => ({ post: r }));
99
+ return this.withMiddleware(...n);
100
100
  }
101
101
  /**
102
102
  * Check if the given MIME is a JSON MIME.
@@ -109,143 +109,143 @@ const P = new g(), f = class {
109
109
  * @return True if the given MIME is JSON, false otherwise.
110
110
  */
111
111
  isJsonMime(e) {
112
- return e ? f.jsonRegex.test(e) : !1;
112
+ return e ? p.jsonRegex.test(e) : !1;
113
113
  }
114
- async request(e, r) {
115
- const { url: n, init: i } = await this.createFetchParams(
114
+ async request(e, n) {
115
+ const { url: r, init: i } = await this.createFetchParams(
116
116
  e,
117
- r
118
- ), o = await this.fetchApi(n, i);
117
+ n
118
+ ), o = await this.fetchApi(r, i);
119
119
  if (o && o.status >= 200 && o.status < 300)
120
120
  return o;
121
- throw new O(o, "Response returned an error code");
121
+ throw new M(o, "Response returned an error code");
122
122
  }
123
- async createFetchParams(e, r) {
124
- let n = this.configuration.basePath + e.path;
125
- e.query !== void 0 && Object.keys(e.query).length !== 0 && (n += "?" + this.configuration.queryParamsStringify(e.query));
123
+ async createFetchParams(e, n) {
124
+ let r = this.configuration.basePath + e.path;
125
+ e.query !== void 0 && Object.keys(e.query).length !== 0 && (r += "?" + this.configuration.queryParamsStringify(e.query));
126
126
  const i = Object.assign(
127
127
  {},
128
128
  this.configuration.headers,
129
129
  e.headers
130
130
  );
131
131
  Object.keys(i).forEach(
132
- (m) => i[m] === void 0 ? delete i[m] : {}
132
+ (g) => i[g] === void 0 ? delete i[g] : {}
133
133
  );
134
- const o = typeof r == "function" ? r : async () => r, u = {
134
+ const o = typeof n == "function" ? n : async () => n, s = {
135
135
  method: e.method,
136
136
  headers: i,
137
137
  body: e.body,
138
138
  credentials: this.configuration.credentials
139
139
  }, c = {
140
- ...u,
140
+ ...s,
141
141
  ...await o({
142
- init: u,
142
+ init: s,
143
143
  context: e
144
144
  })
145
- }, y = {
145
+ }, l = {
146
146
  ...c,
147
- body: D(c.body) || c.body instanceof URLSearchParams || S(c.body) ? c.body : JSON.stringify(c.body)
147
+ body: b(c.body) || c.body instanceof URLSearchParams || E(c.body) ? c.body : JSON.stringify(c.body)
148
148
  };
149
- return { url: n, init: y };
149
+ return { url: r, init: l };
150
150
  }
151
151
  /**
152
152
  * Create a shallow clone of `this` by constructing a new instance
153
153
  * and then shallow cloning data members.
154
154
  */
155
155
  clone() {
156
- const e = this.constructor, r = new e(this.configuration);
157
- return r.middleware = this.middleware.slice(), r;
156
+ const e = this.constructor, n = new e(this.configuration);
157
+ return n.middleware = this.middleware.slice(), n;
158
158
  }
159
159
  };
160
- let a = f;
161
- s(a, "jsonRegex", new RegExp(
160
+ let f = p;
161
+ d(f, "jsonRegex", new RegExp(
162
162
  "^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$",
163
163
  "i"
164
164
  ));
165
- function S(t) {
165
+ function E(t) {
166
166
  return typeof Blob < "u" && t instanceof Blob;
167
167
  }
168
- function D(t) {
168
+ function b(t) {
169
169
  return typeof FormData < "u" && t instanceof FormData;
170
170
  }
171
- class O extends Error {
172
- constructor(r, n) {
173
- super(n);
174
- s(this, "name", "ResponseError");
175
- this.response = r;
171
+ class M extends Error {
172
+ constructor(n, r) {
173
+ super(r);
174
+ d(this, "name", "ResponseError");
175
+ this.response = n;
176
176
  }
177
177
  }
178
- class T extends Error {
179
- constructor(r, n) {
180
- super(n);
181
- s(this, "name", "FetchError");
182
- this.cause = r;
178
+ class q extends Error {
179
+ constructor(n, r) {
180
+ super(r);
181
+ d(this, "name", "FetchError");
182
+ this.cause = n;
183
183
  }
184
184
  }
185
- class tt extends Error {
186
- constructor(r, n) {
187
- super(n);
188
- s(this, "name", "RequiredError");
189
- this.field = r;
185
+ class S extends Error {
186
+ constructor(n, r) {
187
+ super(r);
188
+ d(this, "name", "RequiredError");
189
+ this.field = n;
190
190
  }
191
191
  }
192
- const et = {
192
+ const _t = {
193
193
  csv: ",",
194
194
  ssv: " ",
195
195
  tsv: " ",
196
196
  pipes: "|"
197
197
  };
198
- function p(t, e) {
199
- const r = t[e];
200
- return r != null;
198
+ function a(t, e) {
199
+ const n = t[e];
200
+ return n != null;
201
201
  }
202
- function l(t, e = "") {
203
- return Object.keys(t).map((r) => h(r, t[r], e)).filter((r) => r.length > 0).join("&");
202
+ function y(t, e = "") {
203
+ return Object.keys(t).map((n) => h(n, t[n], e)).filter((n) => n.length > 0).join("&");
204
204
  }
205
- function h(t, e, r = "") {
206
- const n = r + (r.length ? `[${t}]` : t);
205
+ function h(t, e, n = "") {
206
+ const r = n + (n.length ? `[${t}]` : t);
207
207
  if (e instanceof Array) {
208
- const i = e.map((o) => encodeURIComponent(String(o))).join(`&${encodeURIComponent(n)}=`);
209
- return `${encodeURIComponent(n)}=${i}`;
208
+ const i = e.map((o) => encodeURIComponent(String(o))).join(`&${encodeURIComponent(r)}=`);
209
+ return `${encodeURIComponent(r)}=${i}`;
210
210
  }
211
211
  if (e instanceof Set) {
212
212
  const i = Array.from(e);
213
- return h(t, i, r);
213
+ return h(t, i, n);
214
214
  }
215
- return e instanceof Date ? `${encodeURIComponent(n)}=${encodeURIComponent(
215
+ return e instanceof Date ? `${encodeURIComponent(r)}=${encodeURIComponent(
216
216
  e.toISOString()
217
- )}` : e instanceof Object ? l(e, n) : `${encodeURIComponent(n)}=${encodeURIComponent(
217
+ )}` : e instanceof Object ? y(e, r) : `${encodeURIComponent(r)}=${encodeURIComponent(
218
218
  String(e)
219
219
  )}`;
220
220
  }
221
- function rt(t, e) {
221
+ function Ht(t, e) {
222
222
  return Object.keys(t).reduce(
223
- (r, n) => ({ ...r, [n]: e(t[n]) }),
223
+ (n, r) => ({ ...n, [r]: e(t[r]) }),
224
224
  {}
225
225
  );
226
226
  }
227
- function nt(t) {
227
+ function L(t) {
228
228
  for (const e of t)
229
229
  if (e.contentType === "multipart/form-data")
230
230
  return !0;
231
231
  return !1;
232
232
  }
233
- class d {
234
- constructor(e, r = (n) => n) {
235
- this.raw = e, this.transformer = r;
233
+ class u {
234
+ constructor(e, n = (r) => r) {
235
+ this.raw = e, this.transformer = n;
236
236
  }
237
237
  async value() {
238
238
  return this.transformer(await this.raw.json());
239
239
  }
240
240
  }
241
- class it {
241
+ class Wt {
242
242
  constructor(e) {
243
243
  this.raw = e;
244
244
  }
245
245
  async value() {
246
246
  }
247
247
  }
248
- class ot {
248
+ class Xt {
249
249
  constructor(e) {
250
250
  this.raw = e;
251
251
  }
@@ -253,7 +253,7 @@ class ot {
253
253
  return await this.raw.blob();
254
254
  }
255
255
  }
256
- class st {
256
+ class Yt {
257
257
  constructor(e) {
258
258
  this.raw = e;
259
259
  }
@@ -261,21 +261,21 @@ class st {
261
261
  return await this.raw.text();
262
262
  }
263
263
  }
264
- function ct(t) {
264
+ function Zt(t) {
265
265
  let e = !0;
266
266
  return e = e && "assetId" in t, e = e && "createdAt" in t, e = e && "properties" in t, e;
267
267
  }
268
- function I(t) {
269
- return E(t);
268
+ function C(t) {
269
+ return U(t);
270
270
  }
271
- function E(t, e) {
271
+ function U(t, e) {
272
272
  return t == null ? t : {
273
273
  assetId: t.assetId,
274
274
  createdAt: new Date(t.createdAt),
275
275
  properties: t.properties
276
276
  };
277
277
  }
278
- function R(t) {
278
+ function P(t) {
279
279
  if (t !== void 0)
280
280
  return t === null ? null : {
281
281
  assetId: t.assetId,
@@ -283,49 +283,456 @@ function R(t) {
283
283
  properties: t.properties
284
284
  };
285
285
  }
286
- function at(t) {
286
+ function vt(t) {
287
+ let e = !0;
288
+ return e = e && "id" in t, e = e && "selectedIds" in t, e;
289
+ }
290
+ function B(t) {
291
+ return V(t);
292
+ }
293
+ function V(t, e) {
294
+ return t == null ? t : {
295
+ id: t.id,
296
+ selectedIds: t.selectedIds
297
+ };
298
+ }
299
+ function Q(t) {
300
+ if (t !== void 0)
301
+ return t === null ? null : {
302
+ id: t.id,
303
+ selectedIds: t.selectedIds
304
+ };
305
+ }
306
+ function jt(t) {
307
+ let e = !0;
308
+ return e = e && "selectedAttributeValues" in t, e;
309
+ }
310
+ function x(t) {
311
+ return K(t);
312
+ }
313
+ function K(t, e) {
314
+ return t == null ? t : {
315
+ selectedAttributeValues: t.selectedAttributeValues.map(B)
316
+ };
317
+ }
318
+ function $(t) {
319
+ if (t !== void 0)
320
+ return t === null ? null : {
321
+ selectedAttributeValues: t.selectedAttributeValues.map(Q)
322
+ };
323
+ }
324
+ const te = {
325
+ Match: "MATCH",
326
+ Title: "TITLE",
327
+ MostRecent: "MOST_RECENT",
328
+ Originator: "ORIGINATOR"
329
+ };
330
+ function ee(t) {
331
+ return !0;
332
+ }
333
+ function ne(t) {
334
+ return z(t);
335
+ }
336
+ function z(t, e) {
337
+ return t == null ? t : {
338
+ filter: a(t, "filter") ? x(t.filter) : void 0,
339
+ searchQuery: a(t, "searchQuery") ? t.searchQuery : void 0,
340
+ sorting: a(t, "sorting") ? t.sorting : void 0,
341
+ pageOneBased: a(t, "pageOneBased") ? t.pageOneBased : void 0
342
+ };
343
+ }
344
+ function G(t) {
345
+ if (t !== void 0)
346
+ return t === null ? null : {
347
+ filter: $(t.filter),
348
+ searchQuery: t.searchQuery,
349
+ sorting: t.sorting,
350
+ pageOneBased: t.pageOneBased
351
+ };
352
+ }
353
+ const re = {
354
+ Match: "MATCH",
355
+ Title: "TITLE",
356
+ MostRecent: "MOST_RECENT",
357
+ Originator: "ORIGINATOR"
358
+ };
359
+ function ie(t) {
360
+ let e = !0;
361
+ return e = e && "sorting" in t, e = e && "title" in t, e;
362
+ }
363
+ function k(t) {
364
+ return _(t);
365
+ }
366
+ function _(t, e) {
367
+ return t == null ? t : {
368
+ sorting: t.sorting,
369
+ title: t.title
370
+ };
371
+ }
372
+ function H(t) {
373
+ if (t !== void 0)
374
+ return t === null ? null : {
375
+ sorting: t.sorting,
376
+ title: t.title
377
+ };
378
+ }
379
+ function oe(t) {
380
+ let e = !0;
381
+ return e = e && "id" in t, e = e && "title" in t, e;
382
+ }
383
+ function W(t) {
384
+ return X(t);
385
+ }
386
+ function X(t, e) {
387
+ return t == null ? t : {
388
+ id: t.id,
389
+ title: t.title
390
+ };
391
+ }
392
+ function Y(t) {
393
+ if (t !== void 0)
394
+ return t === null ? null : {
395
+ id: t.id,
396
+ title: t.title
397
+ };
398
+ }
399
+ function ae(t) {
400
+ let e = !0;
401
+ return e = e && "id" in t, e = e && "title" in t, e = e && "values" in t, e;
402
+ }
403
+ function Z(t) {
404
+ return v(t);
405
+ }
406
+ function v(t, e) {
407
+ return t == null ? t : {
408
+ id: t.id,
409
+ title: t.title,
410
+ values: t.values.map(W)
411
+ };
412
+ }
413
+ function j(t) {
414
+ if (t !== void 0)
415
+ return t === null ? null : {
416
+ id: t.id,
417
+ title: t.title,
418
+ values: t.values.map(Y)
419
+ };
420
+ }
421
+ function se(t) {
422
+ let e = !0;
423
+ return e = e && "fields" in t, e;
424
+ }
425
+ function tt(t) {
426
+ return et(t);
427
+ }
428
+ function et(t, e) {
429
+ return t == null ? t : {
430
+ fields: t.fields.map(Z)
431
+ };
432
+ }
433
+ function nt(t) {
434
+ if (t !== void 0)
435
+ return t === null ? null : {
436
+ fields: t.fields.map(j)
437
+ };
438
+ }
439
+ const ce = {
440
+ Online: "ONLINE",
441
+ Offline: "OFFLINE"
442
+ };
443
+ function ue(t) {
444
+ let e = !0;
445
+ return e = e && "endpoint" in t, e = e && "title" in t, e = e && "description" in t, e = e && "onlineStatus" in t, e;
446
+ }
447
+ function rt(t) {
448
+ return it(t);
449
+ }
450
+ function it(t, e) {
451
+ return t == null ? t : {
452
+ endpoint: t.endpoint,
453
+ title: t.title,
454
+ description: t.description,
455
+ onlineStatus: t.onlineStatus,
456
+ offlineSinceOrLastUpdatedAt: a(
457
+ t,
458
+ "offlineSinceOrLastUpdatedAt"
459
+ ) ? new Date(t.offlineSinceOrLastUpdatedAt) : void 0
460
+ };
461
+ }
462
+ function ot(t) {
463
+ if (t !== void 0)
464
+ return t === null ? null : {
465
+ endpoint: t.endpoint,
466
+ title: t.title,
467
+ description: t.description,
468
+ onlineStatus: t.onlineStatus,
469
+ offlineSinceOrLastUpdatedAt: t.offlineSinceOrLastUpdatedAt === void 0 ? void 0 : t.offlineSinceOrLastUpdatedAt.toISOString()
470
+ };
471
+ }
472
+ function de(t) {
473
+ let e = !0;
474
+ return e = e && "legacyPolicy" in t, e;
475
+ }
476
+ function w(t) {
477
+ return at(t);
478
+ }
479
+ function at(t, e) {
480
+ return t == null ? t : {
481
+ legacyPolicy: t.legacyPolicy
482
+ };
483
+ }
484
+ function I(t) {
485
+ if (t !== void 0)
486
+ return t === null ? null : {
487
+ legacyPolicy: t.legacyPolicy
488
+ };
489
+ }
490
+ function fe(t) {
491
+ let e = !0;
492
+ return e = e && "connectorInfo" in t, e = e && "asset" in t, e = e && "policy" in t, e;
493
+ }
494
+ function st(t) {
495
+ return ct(t);
496
+ }
497
+ function ct(t, e) {
498
+ return t == null ? t : {
499
+ connectorInfo: rt(
500
+ t.connectorInfo
501
+ ),
502
+ asset: C(t.asset),
503
+ policy: w(t.policy)
504
+ };
505
+ }
506
+ function ut(t) {
507
+ if (t !== void 0)
508
+ return t === null ? null : {
509
+ connectorInfo: ot(t.connectorInfo),
510
+ asset: P(t.asset),
511
+ policy: I(t.policy)
512
+ };
513
+ }
514
+ function le(t) {
515
+ let e = !0;
516
+ return e = e && "numTotal" in t, e = e && "numVisible" in t, e = e && "pageOneBased" in t, e = e && "pageSize" in t, e;
517
+ }
518
+ function A(t) {
519
+ return dt(t);
520
+ }
521
+ function dt(t, e) {
522
+ return t == null ? t : {
523
+ numTotal: t.numTotal,
524
+ numVisible: t.numVisible,
525
+ pageOneBased: t.pageOneBased,
526
+ pageSize: t.pageSize
527
+ };
528
+ }
529
+ function T(t) {
530
+ if (t !== void 0)
531
+ return t === null ? null : {
532
+ numTotal: t.numTotal,
533
+ numVisible: t.numVisible,
534
+ pageOneBased: t.pageOneBased,
535
+ pageSize: t.pageSize
536
+ };
537
+ }
538
+ function ge(t) {
539
+ let e = !0;
540
+ return e = e && "availableFilters" in t, e = e && "availableSortings" in t, e = e && "paginationMetadata" in t, e = e && "contractOffers" in t, e;
541
+ }
542
+ function ft(t) {
543
+ return lt(t);
544
+ }
545
+ function lt(t, e) {
546
+ return t == null ? t : {
547
+ availableFilters: tt(t.availableFilters),
548
+ availableSortings: t.availableSortings.map(
549
+ k
550
+ ),
551
+ paginationMetadata: A(
552
+ t.paginationMetadata
553
+ ),
554
+ contractOffers: t.contractOffers.map(
555
+ st
556
+ )
557
+ };
558
+ }
559
+ function me(t) {
560
+ if (t !== void 0)
561
+ return t === null ? null : {
562
+ availableFilters: nt(t.availableFilters),
563
+ availableSortings: t.availableSortings.map(
564
+ H
565
+ ),
566
+ paginationMetadata: T(t.paginationMetadata),
567
+ contractOffers: t.contractOffers.map(
568
+ ut
569
+ )
570
+ };
571
+ }
572
+ function pe(t) {
287
573
  let e = !0;
288
574
  return e = e && "numActiveConsumingContractAgreements" in t, e;
289
575
  }
290
- function N(t) {
291
- return F(t);
576
+ function gt(t) {
577
+ return mt(t);
292
578
  }
293
- function F(t, e) {
579
+ function mt(t, e) {
294
580
  return t == null ? t : {
295
581
  numActiveConsumingContractAgreements: t.numActiveConsumingContractAgreements,
296
- maxActiveConsumingContractAgreements: p(
582
+ maxActiveConsumingContractAgreements: a(
297
583
  t,
298
584
  "maxActiveConsumingContractAgreements"
299
585
  ) ? t.maxActiveConsumingContractAgreements : void 0
300
586
  };
301
587
  }
302
- function ut(t) {
588
+ function Se(t) {
303
589
  if (t !== void 0)
304
590
  return t === null ? null : {
305
591
  numActiveConsumingContractAgreements: t.numActiveConsumingContractAgreements,
306
592
  maxActiveConsumingContractAgreements: t.maxActiveConsumingContractAgreements
307
593
  };
308
594
  }
309
- const dt = {
595
+ const Oe = {
596
+ Online: "ONLINE",
597
+ Offline: "OFFLINE"
598
+ };
599
+ function ye(t) {
600
+ let e = !0;
601
+ return e = e && "id" in t, e = e && "idsId" in t, e = e && "endpoint" in t, e = e && "title" in t, e = e && "description" in t, e = e && "onlineStatus" in t, e;
602
+ }
603
+ function pt(t) {
604
+ return St(t);
605
+ }
606
+ function St(t, e) {
607
+ return t == null ? t : {
608
+ id: t.id,
609
+ idsId: t.idsId,
610
+ endpoint: t.endpoint,
611
+ title: t.title,
612
+ description: t.description,
613
+ createdAt: a(t, "createdAt") ? new Date(t.createdAt) : void 0,
614
+ lastFetchAt: a(t, "lastFetchAt") ? new Date(t.lastFetchAt) : void 0,
615
+ onlineStatus: t.onlineStatus,
616
+ offlineSince: a(t, "offlineSince") ? new Date(t.offlineSince) : void 0,
617
+ numContractOffers: a(t, "numContractOffers") ? t.numContractOffers : void 0
618
+ };
619
+ }
620
+ function Ot(t) {
621
+ if (t !== void 0)
622
+ return t === null ? null : {
623
+ id: t.id,
624
+ idsId: t.idsId,
625
+ endpoint: t.endpoint,
626
+ title: t.title,
627
+ description: t.description,
628
+ createdAt: t.createdAt === void 0 ? void 0 : t.createdAt.toISOString(),
629
+ lastFetchAt: t.lastFetchAt === void 0 ? void 0 : t.lastFetchAt.toISOString(),
630
+ onlineStatus: t.onlineStatus,
631
+ offlineSince: t.offlineSince === void 0 ? void 0 : t.offlineSince.toISOString(),
632
+ numContractOffers: t.numContractOffers
633
+ };
634
+ }
635
+ const he = {
636
+ Title: "TITLE",
637
+ MostRecent: "MOST_RECENT"
638
+ };
639
+ function Ce(t) {
640
+ return !0;
641
+ }
642
+ function Pe(t) {
643
+ return yt(t);
644
+ }
645
+ function yt(t, e) {
646
+ return t == null ? t : {
647
+ searchQuery: a(t, "searchQuery") ? t.searchQuery : void 0,
648
+ sorting: a(t, "sorting") ? t.sorting : void 0,
649
+ pageOneBased: a(t, "pageOneBased") ? t.pageOneBased : void 0
650
+ };
651
+ }
652
+ function ht(t) {
653
+ if (t !== void 0)
654
+ return t === null ? null : {
655
+ searchQuery: t.searchQuery,
656
+ sorting: t.sorting,
657
+ pageOneBased: t.pageOneBased
658
+ };
659
+ }
660
+ const we = {
661
+ Title: "TITLE",
662
+ MostRecent: "MOST_RECENT"
663
+ };
664
+ function Ie(t) {
665
+ let e = !0;
666
+ return e = e && "sorting" in t, e = e && "title" in t, e;
667
+ }
668
+ function Ct(t) {
669
+ return Pt(t);
670
+ }
671
+ function Pt(t, e) {
672
+ return t == null ? t : {
673
+ sorting: t.sorting,
674
+ title: t.title
675
+ };
676
+ }
677
+ function wt(t) {
678
+ if (t !== void 0)
679
+ return t === null ? null : {
680
+ sorting: t.sorting,
681
+ title: t.title
682
+ };
683
+ }
684
+ function Ae(t) {
685
+ let e = !0;
686
+ return e = e && "availableSortings" in t, e = e && "paginationMetadata" in t, e = e && "connectors" in t, e;
687
+ }
688
+ function It(t) {
689
+ return At(t);
690
+ }
691
+ function At(t, e) {
692
+ return t == null ? t : {
693
+ availableSortings: t.availableSortings.map(
694
+ Ct
695
+ ),
696
+ paginationMetadata: A(
697
+ t.paginationMetadata
698
+ ),
699
+ connectors: t.connectors.map(
700
+ pt
701
+ )
702
+ };
703
+ }
704
+ function Te(t) {
705
+ if (t !== void 0)
706
+ return t === null ? null : {
707
+ availableSortings: t.availableSortings.map(
708
+ wt
709
+ ),
710
+ paginationMetadata: T(t.paginationMetadata),
711
+ connectors: t.connectors.map(
712
+ Ot
713
+ )
714
+ };
715
+ }
716
+ const Fe = {
310
717
  Running: "RUNNING",
311
718
  Ok: "OK",
312
719
  Error: "ERROR"
313
720
  };
314
- function ft(t) {
721
+ function Ne(t) {
315
722
  let e = !0;
316
723
  return e = e && "name" in t, e = e && "code" in t, e = e && "simplifiedState" in t, e;
317
724
  }
318
- function J(t) {
319
- return b(t);
725
+ function Tt(t) {
726
+ return Ft(t);
320
727
  }
321
- function b(t, e) {
728
+ function Ft(t, e) {
322
729
  return t == null ? t : {
323
730
  name: t.name,
324
731
  code: t.code,
325
732
  simplifiedState: t.simplifiedState
326
733
  };
327
734
  }
328
- function q(t) {
735
+ function Nt(t) {
329
736
  if (t !== void 0)
330
737
  return t === null ? null : {
331
738
  name: t.name,
@@ -333,181 +740,263 @@ function q(t) {
333
740
  simplifiedState: t.simplifiedState
334
741
  };
335
742
  }
336
- function mt(t) {
743
+ function De(t) {
337
744
  let e = !0;
338
745
  return e = e && "transferProcessId" in t, e = e && "lastUpdatedDate" in t, e = e && "state" in t, e;
339
746
  }
340
- function U(t) {
341
- return M(t);
747
+ function Dt(t) {
748
+ return Jt(t);
342
749
  }
343
- function M(t, e) {
750
+ function Jt(t, e) {
344
751
  return t == null ? t : {
345
752
  transferProcessId: t.transferProcessId,
346
753
  lastUpdatedDate: new Date(t.lastUpdatedDate),
347
- state: J(t.state),
348
- errorMessage: p(t, "errorMessage") ? t.errorMessage : void 0
754
+ state: Tt(t.state),
755
+ errorMessage: a(t, "errorMessage") ? t.errorMessage : void 0
349
756
  };
350
757
  }
351
- function x(t) {
758
+ function Rt(t) {
352
759
  if (t !== void 0)
353
760
  return t === null ? null : {
354
761
  transferProcessId: t.transferProcessId,
355
762
  lastUpdatedDate: t.lastUpdatedDate.toISOString(),
356
- state: q(t.state),
763
+ state: Nt(t.state),
357
764
  errorMessage: t.errorMessage
358
765
  };
359
766
  }
360
- function gt(t) {
361
- let e = !0;
362
- return e = e && "legacyPolicy" in t, e;
363
- }
364
- function K(t) {
365
- return L(t);
366
- }
367
- function L(t, e) {
368
- return t == null ? t : {
369
- legacyPolicy: t.legacyPolicy
370
- };
371
- }
372
- function $(t) {
373
- if (t !== void 0)
374
- return t === null ? null : {
375
- legacyPolicy: t.legacyPolicy
376
- };
377
- }
378
- const pt = {
767
+ const Je = {
379
768
  Consuming: "CONSUMING",
380
769
  Providing: "PROVIDING"
381
770
  };
382
- function lt(t) {
771
+ function Re(t) {
383
772
  let e = !0;
384
- return e = e && "contractAgreementId" in t, e = e && "direction" in t, e = e && "counterPartyAddress" in t, e = e && "counterPartyId" in t, e = e && "contractSigningDate" in t, e = e && "contractStartDate" in t, e = e && "contractEndDate" in t, e = e && "asset" in t, e = e && "contractPolicy" in t, e = e && "transferProcesses" in t, e;
773
+ return e = e && "contractAgreementId" in t, e = e && "contractNegotiationId" in t, e = e && "direction" in t, e = e && "counterPartyAddress" in t, e = e && "counterPartyId" in t, e = e && "contractSigningDate" in t, e = e && "contractStartDate" in t, e = e && "contractEndDate" in t, e = e && "asset" in t, e = e && "contractPolicy" in t, e = e && "transferProcesses" in t, e;
385
774
  }
386
- function G(t) {
387
- return k(t);
775
+ function Et(t) {
776
+ return bt(t);
388
777
  }
389
- function k(t, e) {
778
+ function bt(t, e) {
390
779
  return t == null ? t : {
391
780
  contractAgreementId: t.contractAgreementId,
781
+ contractNegotiationId: t.contractNegotiationId,
392
782
  direction: t.direction,
393
783
  counterPartyAddress: t.counterPartyAddress,
394
784
  counterPartyId: t.counterPartyId,
395
785
  contractSigningDate: new Date(t.contractSigningDate),
396
786
  contractStartDate: new Date(t.contractStartDate),
397
787
  contractEndDate: new Date(t.contractEndDate),
398
- asset: I(t.asset),
399
- contractPolicy: K(t.contractPolicy),
788
+ asset: C(t.asset),
789
+ contractPolicy: w(t.contractPolicy),
400
790
  transferProcesses: t.transferProcesses.map(
401
- U
791
+ Dt
402
792
  )
403
793
  };
404
794
  }
405
- function V(t) {
795
+ function Mt(t) {
406
796
  if (t !== void 0)
407
797
  return t === null ? null : {
408
798
  contractAgreementId: t.contractAgreementId,
799
+ contractNegotiationId: t.contractNegotiationId,
409
800
  direction: t.direction,
410
801
  counterPartyAddress: t.counterPartyAddress,
411
802
  counterPartyId: t.counterPartyId,
412
803
  contractSigningDate: t.contractSigningDate.toISOString(),
413
804
  contractStartDate: t.contractStartDate.toISOString(),
414
805
  contractEndDate: t.contractEndDate.toISOString(),
415
- asset: R(t.asset),
416
- contractPolicy: $(t.contractPolicy),
806
+ asset: P(t.asset),
807
+ contractPolicy: I(t.contractPolicy),
417
808
  transferProcesses: t.transferProcesses.map(
418
- x
809
+ Rt
419
810
  )
420
811
  };
421
812
  }
422
- function ht(t) {
813
+ function Ee(t) {
423
814
  let e = !0;
424
815
  return e = e && "contractAgreements" in t, e;
425
816
  }
426
- function B(t) {
427
- return H(t);
817
+ function qt(t) {
818
+ return Lt(t);
428
819
  }
429
- function H(t, e) {
820
+ function Lt(t, e) {
430
821
  return t == null ? t : {
431
822
  contractAgreements: t.contractAgreements.map(
432
- G
823
+ Et
433
824
  )
434
825
  };
435
826
  }
436
- function yt(t) {
827
+ function be(t) {
437
828
  if (t !== void 0)
438
829
  return t === null ? null : {
439
830
  contractAgreements: t.contractAgreements.map(
440
- V
831
+ Mt
441
832
  )
442
833
  };
443
834
  }
444
- function wt(t) {
835
+ function Me(t) {
445
836
  let e = !0;
446
837
  return e = e && "incomingTransferProcessCounts" in t, e = e && "outgoingTransferProcessCounts" in t, e;
447
838
  }
448
- function _(t) {
449
- return z(t);
839
+ function Ut(t) {
840
+ return Bt(t);
450
841
  }
451
- function z(t, e) {
842
+ function Bt(t, e) {
452
843
  return t == null ? t : {
453
844
  incomingTransferProcessCounts: t.incomingTransferProcessCounts,
454
845
  outgoingTransferProcessCounts: t.outgoingTransferProcessCounts
455
846
  };
456
847
  }
457
- function Q(t) {
848
+ function Vt(t) {
458
849
  if (t !== void 0)
459
850
  return t === null ? null : {
460
851
  incomingTransferProcessCounts: t.incomingTransferProcessCounts,
461
852
  outgoingTransferProcessCounts: t.outgoingTransferProcessCounts
462
853
  };
463
854
  }
464
- function At(t) {
855
+ function qe(t) {
465
856
  let e = !0;
466
857
  return e = e && "assetsCount" in t, e = e && "policiesCount" in t, e = e && "contractDefinitionsCount" in t, e = e && "contractAgreementsCount" in t, e = e && "transferProcessDto" in t, e;
467
858
  }
468
- function W(t) {
469
- return X(t);
859
+ function Qt(t) {
860
+ return xt(t);
470
861
  }
471
- function X(t, e) {
862
+ function xt(t, e) {
472
863
  return t == null ? t : {
473
864
  assetsCount: t.assetsCount,
474
865
  policiesCount: t.policiesCount,
475
866
  contractDefinitionsCount: t.contractDefinitionsCount,
476
867
  contractAgreementsCount: t.contractAgreementsCount,
477
- transferProcessDto: _(
868
+ transferProcessDto: Ut(
478
869
  t.transferProcessDto
479
870
  )
480
871
  };
481
872
  }
482
- function Ct(t) {
873
+ function Le(t) {
483
874
  if (t !== void 0)
484
875
  return t === null ? null : {
485
876
  assetsCount: t.assetsCount,
486
877
  policiesCount: t.policiesCount,
487
878
  contractDefinitionsCount: t.contractDefinitionsCount,
488
879
  contractAgreementsCount: t.contractAgreementsCount,
489
- transferProcessDto: Q(
880
+ transferProcessDto: Vt(
490
881
  t.transferProcessDto
491
882
  )
492
883
  };
493
884
  }
494
- class Y extends a {
885
+ function Ue(t) {
886
+ let e = !0;
887
+ return e = e && "storedFileId" in t, e = e && "fileName" in t, e = e && "fileExtension" in t, e = e && "mediaType" in t, e = e && "byteSize" in t, e = e && "assetProperties" in t, e = e && "creationDate" in t, e = e && "lastModifiedDate" in t, e;
888
+ }
889
+ function m(t) {
890
+ return Kt(t);
891
+ }
892
+ function Kt(t, e) {
893
+ return t == null ? t : {
894
+ storedFileId: t.storedFileId,
895
+ fileName: t.fileName,
896
+ fileExtension: t.fileExtension,
897
+ mediaType: t.mediaType,
898
+ byteSize: t.byteSize,
899
+ assetProperties: t.assetProperties,
900
+ creationDate: new Date(t.creationDate),
901
+ lastModifiedDate: new Date(t.lastModifiedDate)
902
+ };
903
+ }
904
+ function Be(t) {
905
+ if (t !== void 0)
906
+ return t === null ? null : {
907
+ storedFileId: t.storedFileId,
908
+ fileName: t.fileName,
909
+ fileExtension: t.fileExtension,
910
+ mediaType: t.mediaType,
911
+ byteSize: t.byteSize,
912
+ assetProperties: t.assetProperties,
913
+ creationDate: t.creationDate.toISOString(),
914
+ lastModifiedDate: t.lastModifiedDate.toISOString()
915
+ };
916
+ }
917
+ class Ve extends f {
918
+ /**
919
+ * Query indexed Contract Offers
920
+ */
921
+ async catalogPageRaw(e, n) {
922
+ const r = {}, i = {};
923
+ i["Content-Type"] = "application/json";
924
+ const o = await this.request(
925
+ {
926
+ path: "/wrapper/broker/catalog-page",
927
+ method: "POST",
928
+ headers: i,
929
+ query: r,
930
+ body: G(
931
+ e.catalogPageQuery
932
+ )
933
+ },
934
+ n
935
+ );
936
+ return new u(
937
+ o,
938
+ (s) => ft(s)
939
+ );
940
+ }
941
+ /**
942
+ * Query indexed Contract Offers
943
+ */
944
+ async catalogPage(e = {}, n) {
945
+ return await (await this.catalogPageRaw(
946
+ e,
947
+ n
948
+ )).value();
949
+ }
950
+ /**
951
+ * Query known Connectors
952
+ */
953
+ async connectorPageRaw(e, n) {
954
+ const r = {}, i = {};
955
+ i["Content-Type"] = "application/json";
956
+ const o = await this.request(
957
+ {
958
+ path: "/wrapper/broker/connector-page",
959
+ method: "POST",
960
+ headers: i,
961
+ query: r,
962
+ body: ht(
963
+ e.connectorPageQuery
964
+ )
965
+ },
966
+ n
967
+ );
968
+ return new u(
969
+ o,
970
+ (s) => It(s)
971
+ );
972
+ }
973
+ /**
974
+ * Query known Connectors
975
+ */
976
+ async connectorPage(e = {}, n) {
977
+ return await (await this.connectorPageRaw(
978
+ e,
979
+ n
980
+ )).value();
981
+ }
982
+ }
983
+ class $t extends f {
495
984
  /**
496
985
  * Available and used resources of a connector.
497
986
  */
498
987
  async connectorLimitsRaw(e) {
499
- const r = {}, n = {}, i = await this.request(
988
+ const n = {}, r = {}, i = await this.request(
500
989
  {
501
990
  path: "/wrapper/ee/connector-limits",
502
991
  method: "GET",
503
- headers: n,
504
- query: r
992
+ headers: r,
993
+ query: n
505
994
  },
506
995
  e
507
996
  );
508
- return new d(
997
+ return new u(
509
998
  i,
510
- (o) => N(o)
999
+ (o) => gt(o)
511
1000
  );
512
1001
  }
513
1002
  /**
@@ -516,24 +1005,130 @@ class Y extends a {
516
1005
  async connectorLimits(e) {
517
1006
  return await (await this.connectorLimitsRaw(e)).value();
518
1007
  }
1008
+ /**
1009
+ * Create an asset using the stored file as data source.
1010
+ * Create a file storage asset.
1011
+ */
1012
+ async createStoredFileAssetRaw(e, n) {
1013
+ if (e.storedFileId === null || e.storedFileId === void 0)
1014
+ throw new S(
1015
+ "storedFileId",
1016
+ "Required parameter requestParameters.storedFileId was null or undefined when calling createStoredFileAsset."
1017
+ );
1018
+ if (e.requestBody === null || e.requestBody === void 0)
1019
+ throw new S(
1020
+ "requestBody",
1021
+ "Required parameter requestParameters.requestBody was null or undefined when calling createStoredFileAsset."
1022
+ );
1023
+ const r = {}, i = {};
1024
+ i["Content-Type"] = "application/json";
1025
+ const o = await this.request(
1026
+ {
1027
+ path: "/wrapper/ee/file-storage/{storedFileId}/assets".replace(
1028
+ "{storedFileId}",
1029
+ encodeURIComponent(String(e.storedFileId))
1030
+ ),
1031
+ method: "POST",
1032
+ headers: i,
1033
+ query: r,
1034
+ body: e.requestBody
1035
+ },
1036
+ n
1037
+ );
1038
+ return new u(
1039
+ o,
1040
+ (s) => m(s)
1041
+ );
1042
+ }
1043
+ /**
1044
+ * Create an asset using the stored file as data source.
1045
+ * Create a file storage asset.
1046
+ */
1047
+ async createStoredFileAsset(e, n) {
1048
+ return await (await this.createStoredFileAssetRaw(
1049
+ e,
1050
+ n
1051
+ )).value();
1052
+ }
1053
+ /**
1054
+ * Get all files stored in file storage
1055
+ * Get all stored files.
1056
+ */
1057
+ async listStoredFilesRaw(e) {
1058
+ const n = {}, r = {}, i = await this.request(
1059
+ {
1060
+ path: "/wrapper/ee/file-storage/stored-files",
1061
+ method: "GET",
1062
+ headers: r,
1063
+ query: n
1064
+ },
1065
+ e
1066
+ );
1067
+ return new u(
1068
+ i,
1069
+ (o) => o.map(m)
1070
+ );
1071
+ }
1072
+ /**
1073
+ * Get all files stored in file storage
1074
+ * Get all stored files.
1075
+ */
1076
+ async listStoredFiles(e) {
1077
+ return await (await this.listStoredFilesRaw(e)).value();
1078
+ }
1079
+ /**
1080
+ * Upload a file to the file storage. <br> On a successful upload to the file storage a StoredFile object is returned. <br> The assetProperties remain empty and are only added upon a asset create request.
1081
+ * Upload a file.
1082
+ */
1083
+ async uploadStoredFileRaw(e, n) {
1084
+ const r = {}, i = {}, s = L([
1085
+ { contentType: "multipart/form-data" }
1086
+ ]);
1087
+ let c, l = !1;
1088
+ l = s, l ? c = new FormData() : c = new URLSearchParams(), e.file !== void 0 && c.append("file", e.file);
1089
+ const g = await this.request(
1090
+ {
1091
+ path: "/wrapper/ee/file-storage/stored-files",
1092
+ method: "POST",
1093
+ headers: i,
1094
+ query: r,
1095
+ body: c
1096
+ },
1097
+ n
1098
+ );
1099
+ return new u(
1100
+ g,
1101
+ (F) => m(F)
1102
+ );
1103
+ }
1104
+ /**
1105
+ * Upload a file to the file storage. <br> On a successful upload to the file storage a StoredFile object is returned. <br> The assetProperties remain empty and are only added upon a asset create request.
1106
+ * Upload a file.
1107
+ */
1108
+ async uploadStoredFile(e = {}, n) {
1109
+ return await (await this.uploadStoredFileRaw(
1110
+ e,
1111
+ n
1112
+ )).value();
1113
+ }
519
1114
  }
520
- class Z extends a {
1115
+ class zt extends f {
521
1116
  /**
522
1117
  * Collect all data for Contract Agreement Page
523
1118
  */
524
1119
  async contractAgreementEndpointRaw(e) {
525
- const r = {}, n = {}, i = await this.request(
1120
+ const n = {}, r = {}, i = await this.request(
526
1121
  {
527
1122
  path: "/wrapper/ui/pages/contract-agreement-page",
528
1123
  method: "GET",
529
- headers: n,
530
- query: r
1124
+ headers: r,
1125
+ query: n
531
1126
  },
532
1127
  e
533
1128
  );
534
- return new d(
1129
+ return new u(
535
1130
  i,
536
- (o) => B(o)
1131
+ (o) => qt(o)
537
1132
  );
538
1133
  }
539
1134
  /**
@@ -543,21 +1138,21 @@ class Z extends a {
543
1138
  return await (await this.contractAgreementEndpointRaw(e)).value();
544
1139
  }
545
1140
  }
546
- class v extends a {
1141
+ class Gt extends f {
547
1142
  /**
548
1143
  * List available functions in policies, prohibitions and obligations.
549
1144
  */
550
1145
  async getSupportedFunctionsRaw(e) {
551
- const r = {}, n = {}, i = await this.request(
1146
+ const n = {}, r = {}, i = await this.request(
552
1147
  {
553
1148
  path: "/wrapper/use-case-api/supported-policy-functions",
554
1149
  method: "GET",
555
- headers: n,
556
- query: r
1150
+ headers: r,
1151
+ query: n
557
1152
  },
558
1153
  e
559
1154
  );
560
- return new d(i);
1155
+ return new u(i);
561
1156
  }
562
1157
  /**
563
1158
  * List available functions in policies, prohibitions and obligations.
@@ -569,18 +1164,18 @@ class v extends a {
569
1164
  * Basic KPIs about the running EDC Connector.
570
1165
  */
571
1166
  async kpiEndpointRaw(e) {
572
- const r = {}, n = {}, i = await this.request(
1167
+ const n = {}, r = {}, i = await this.request(
573
1168
  {
574
1169
  path: "/wrapper/use-case-api/kpis",
575
1170
  method: "GET",
576
- headers: n,
577
- query: r
1171
+ headers: r,
1172
+ query: n
578
1173
  },
579
1174
  e
580
1175
  );
581
- return new d(
1176
+ return new u(
582
1177
  i,
583
- (o) => W(o)
1178
+ (o) => Qt(o)
584
1179
  );
585
1180
  }
586
1181
  /**
@@ -590,8 +1185,8 @@ class v extends a {
590
1185
  return await (await this.kpiEndpointRaw(e)).value();
591
1186
  }
592
1187
  }
593
- function Pt(t) {
594
- const e = new g({
1188
+ function Qe(t) {
1189
+ const e = new O({
595
1190
  basePath: t.managementApiUrl,
596
1191
  headers: {
597
1192
  "x-api-key": t.managementApiKey ?? "ApiKeyDefaultValue"
@@ -600,69 +1195,140 @@ function Pt(t) {
600
1195
  ...t.configOverrides
601
1196
  });
602
1197
  return {
603
- uiApi: new Z(e),
604
- useCaseApi: new v(e),
605
- enterpriseEditionApi: new Y(e)
1198
+ uiApi: new zt(e),
1199
+ useCaseApi: new Gt(e),
1200
+ enterpriseEditionApi: new $t(e)
606
1201
  };
607
1202
  }
608
1203
  export {
609
- I as AssetDtoFromJSON,
610
- E as AssetDtoFromJSONTyped,
611
- R as AssetDtoToJSON,
612
- C as BASE_PATH,
613
- a as BaseAPI,
614
- ot as BlobApiResponse,
615
- et as COLLECTION_FORMATS,
616
- g as Configuration,
617
- N as ConnectorLimitsFromJSON,
618
- F as ConnectorLimitsFromJSONTyped,
619
- ut as ConnectorLimitsToJSON,
620
- pt as ContractAgreementCardDirectionEnum,
621
- G as ContractAgreementCardFromJSON,
622
- k as ContractAgreementCardFromJSONTyped,
623
- V as ContractAgreementCardToJSON,
624
- B as ContractAgreementPageFromJSON,
625
- H as ContractAgreementPageFromJSONTyped,
626
- yt as ContractAgreementPageToJSON,
627
- U as ContractAgreementTransferProcessFromJSON,
628
- M as ContractAgreementTransferProcessFromJSONTyped,
629
- x as ContractAgreementTransferProcessToJSON,
630
- P as DefaultConfig,
631
- Y as EnterpriseEditionApi,
632
- T as FetchError,
633
- d as JSONApiResponse,
634
- W as KpiResultFromJSON,
635
- X as KpiResultFromJSONTyped,
636
- Ct as KpiResultToJSON,
637
- K as PolicyDtoFromJSON,
638
- L as PolicyDtoFromJSONTyped,
639
- $ as PolicyDtoToJSON,
640
- tt as RequiredError,
641
- O as ResponseError,
642
- st as TextApiResponse,
643
- J as TransferProcessStateFromJSON,
644
- b as TransferProcessStateFromJSONTyped,
645
- dt as TransferProcessStateSimplifiedStateEnum,
646
- q as TransferProcessStateToJSON,
647
- _ as TransferProcessStatesDtoFromJSON,
648
- z as TransferProcessStatesDtoFromJSONTyped,
649
- Q as TransferProcessStatesDtoToJSON,
650
- Z as UIApi,
651
- v as UseCaseApi,
652
- it as VoidApiResponse,
653
- Pt as buildEdcClient,
654
- nt as canConsumeForm,
655
- p as exists,
656
- ct as instanceOfAssetDto,
657
- at as instanceOfConnectorLimits,
658
- lt as instanceOfContractAgreementCard,
659
- ht as instanceOfContractAgreementPage,
660
- mt as instanceOfContractAgreementTransferProcess,
661
- At as instanceOfKpiResult,
662
- gt as instanceOfPolicyDto,
663
- ft as instanceOfTransferProcessState,
664
- wt as instanceOfTransferProcessStatesDto,
665
- rt as mapValues,
666
- l as querystring
1204
+ C as AssetDtoFromJSON,
1205
+ U as AssetDtoFromJSONTyped,
1206
+ P as AssetDtoToJSON,
1207
+ J as BASE_PATH,
1208
+ f as BaseAPI,
1209
+ Xt as BlobApiResponse,
1210
+ Ve as BrokerServerApi,
1211
+ _t as COLLECTION_FORMATS,
1212
+ ne as CatalogPageQueryFromJSON,
1213
+ z as CatalogPageQueryFromJSONTyped,
1214
+ te as CatalogPageQuerySortingEnum,
1215
+ G as CatalogPageQueryToJSON,
1216
+ ft as CatalogPageResultFromJSON,
1217
+ lt as CatalogPageResultFromJSONTyped,
1218
+ me as CatalogPageResultToJSON,
1219
+ k as CatalogPageSortingItemFromJSON,
1220
+ _ as CatalogPageSortingItemFromJSONTyped,
1221
+ re as CatalogPageSortingItemSortingEnum,
1222
+ H as CatalogPageSortingItemToJSON,
1223
+ Z as CnfFilterAttributeFromJSON,
1224
+ v as CnfFilterAttributeFromJSONTyped,
1225
+ j as CnfFilterAttributeToJSON,
1226
+ tt as CnfFilterFromJSON,
1227
+ et as CnfFilterFromJSONTyped,
1228
+ W as CnfFilterItemFromJSON,
1229
+ X as CnfFilterItemFromJSONTyped,
1230
+ Y as CnfFilterItemToJSON,
1231
+ nt as CnfFilterToJSON,
1232
+ B as CnfFilterValueAttributeFromJSON,
1233
+ V as CnfFilterValueAttributeFromJSONTyped,
1234
+ Q as CnfFilterValueAttributeToJSON,
1235
+ x as CnfFilterValueFromJSON,
1236
+ K as CnfFilterValueFromJSONTyped,
1237
+ $ as CnfFilterValueToJSON,
1238
+ O as Configuration,
1239
+ gt as ConnectorLimitsFromJSON,
1240
+ mt as ConnectorLimitsFromJSONTyped,
1241
+ Se as ConnectorLimitsToJSON,
1242
+ pt as ConnectorListEntryFromJSON,
1243
+ St as ConnectorListEntryFromJSONTyped,
1244
+ Oe as ConnectorListEntryOnlineStatusEnum,
1245
+ Ot as ConnectorListEntryToJSON,
1246
+ Pe as ConnectorPageQueryFromJSON,
1247
+ yt as ConnectorPageQueryFromJSONTyped,
1248
+ he as ConnectorPageQuerySortingEnum,
1249
+ ht as ConnectorPageQueryToJSON,
1250
+ It as ConnectorPageResultFromJSON,
1251
+ At as ConnectorPageResultFromJSONTyped,
1252
+ Te as ConnectorPageResultToJSON,
1253
+ Ct as ConnectorPageSortingItemFromJSON,
1254
+ Pt as ConnectorPageSortingItemFromJSONTyped,
1255
+ we as ConnectorPageSortingItemSortingEnum,
1256
+ wt as ConnectorPageSortingItemToJSON,
1257
+ Je as ContractAgreementCardDirectionEnum,
1258
+ Et as ContractAgreementCardFromJSON,
1259
+ bt as ContractAgreementCardFromJSONTyped,
1260
+ Mt as ContractAgreementCardToJSON,
1261
+ qt as ContractAgreementPageFromJSON,
1262
+ Lt as ContractAgreementPageFromJSONTyped,
1263
+ be as ContractAgreementPageToJSON,
1264
+ Dt as ContractAgreementTransferProcessFromJSON,
1265
+ Jt as ContractAgreementTransferProcessFromJSONTyped,
1266
+ Rt as ContractAgreementTransferProcessToJSON,
1267
+ rt as ContractOfferConnectorInfoFromJSON,
1268
+ it as ContractOfferConnectorInfoFromJSONTyped,
1269
+ ce as ContractOfferConnectorInfoOnlineStatusEnum,
1270
+ ot as ContractOfferConnectorInfoToJSON,
1271
+ st as ContractOfferDtoFromJSON,
1272
+ ct as ContractOfferDtoFromJSONTyped,
1273
+ ut as ContractOfferDtoToJSON,
1274
+ R as DefaultConfig,
1275
+ $t as EnterpriseEditionApi,
1276
+ q as FetchError,
1277
+ u as JSONApiResponse,
1278
+ Qt as KpiResultFromJSON,
1279
+ xt as KpiResultFromJSONTyped,
1280
+ Le as KpiResultToJSON,
1281
+ A as PaginationMetadataFromJSON,
1282
+ dt as PaginationMetadataFromJSONTyped,
1283
+ T as PaginationMetadataToJSON,
1284
+ w as PolicyDtoFromJSON,
1285
+ at as PolicyDtoFromJSONTyped,
1286
+ I as PolicyDtoToJSON,
1287
+ S as RequiredError,
1288
+ M as ResponseError,
1289
+ m as StoredFileFromJSON,
1290
+ Kt as StoredFileFromJSONTyped,
1291
+ Be as StoredFileToJSON,
1292
+ Yt as TextApiResponse,
1293
+ Tt as TransferProcessStateFromJSON,
1294
+ Ft as TransferProcessStateFromJSONTyped,
1295
+ Fe as TransferProcessStateSimplifiedStateEnum,
1296
+ Nt as TransferProcessStateToJSON,
1297
+ Ut as TransferProcessStatesDtoFromJSON,
1298
+ Bt as TransferProcessStatesDtoFromJSONTyped,
1299
+ Vt as TransferProcessStatesDtoToJSON,
1300
+ zt as UIApi,
1301
+ Gt as UseCaseApi,
1302
+ Wt as VoidApiResponse,
1303
+ Qe as buildEdcClient,
1304
+ L as canConsumeForm,
1305
+ a as exists,
1306
+ Zt as instanceOfAssetDto,
1307
+ ee as instanceOfCatalogPageQuery,
1308
+ ge as instanceOfCatalogPageResult,
1309
+ ie as instanceOfCatalogPageSortingItem,
1310
+ se as instanceOfCnfFilter,
1311
+ ae as instanceOfCnfFilterAttribute,
1312
+ oe as instanceOfCnfFilterItem,
1313
+ jt as instanceOfCnfFilterValue,
1314
+ vt as instanceOfCnfFilterValueAttribute,
1315
+ pe as instanceOfConnectorLimits,
1316
+ ye as instanceOfConnectorListEntry,
1317
+ Ce as instanceOfConnectorPageQuery,
1318
+ Ae as instanceOfConnectorPageResult,
1319
+ Ie as instanceOfConnectorPageSortingItem,
1320
+ Re as instanceOfContractAgreementCard,
1321
+ Ee as instanceOfContractAgreementPage,
1322
+ De as instanceOfContractAgreementTransferProcess,
1323
+ ue as instanceOfContractOfferConnectorInfo,
1324
+ fe as instanceOfContractOfferDto,
1325
+ qe as instanceOfKpiResult,
1326
+ le as instanceOfPaginationMetadata,
1327
+ de as instanceOfPolicyDto,
1328
+ Ue as instanceOfStoredFile,
1329
+ Ne as instanceOfTransferProcessState,
1330
+ Me as instanceOfTransferProcessStatesDto,
1331
+ Ht as mapValues,
1332
+ y as querystring
667
1333
  };
668
1334
  //# sourceMappingURL=sovity-edc-client.js.map