@sovity.de/edc-client 9.0.0 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
1
  var ut = Object.defineProperty;
2
2
  var lt = (e, t, r) => t in e ? ut(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var A = (e, t, r) => (lt(e, typeof t != "symbol" ? t + "" : t, r), r);
3
+ var R = (e, t, r) => (lt(e, typeof t != "symbol" ? t + "" : t, r), r);
4
4
  const ft = "https://my-connector/api/management".replace(
5
5
  /\/+$/,
6
6
  ""
7
7
  );
8
- class Le {
8
+ class Ze {
9
9
  constructor(t = {}) {
10
10
  this.configuration = t;
11
11
  }
@@ -22,7 +22,7 @@ class Le {
22
22
  return this.configuration.middleware || [];
23
23
  }
24
24
  get queryParamsStringify() {
25
- return this.configuration.queryParamsStringify || qe;
25
+ return this.configuration.queryParamsStringify || Ve;
26
26
  }
27
27
  get username() {
28
28
  return this.configuration.username;
@@ -47,10 +47,10 @@ class Le {
47
47
  return this.configuration.credentials;
48
48
  }
49
49
  }
50
- const pt = new Le(), Te = class Te {
50
+ const pt = new Ze(), we = class we {
51
51
  constructor(t = pt) {
52
- A(this, "middleware");
53
- A(this, "fetchApi", async (t, r) => {
52
+ R(this, "middleware");
53
+ R(this, "fetchApi", async (t, r) => {
54
54
  let n = { url: t, init: r };
55
55
  for (const a of this.middleware)
56
56
  a.pre && (n = await a.pre({
@@ -112,7 +112,7 @@ const pt = new Le(), Te = class Te {
112
112
  * @return True if the given MIME is JSON, false otherwise.
113
113
  */
114
114
  isJsonMime(t) {
115
- return t ? Te.jsonRegex.test(t) : !1;
115
+ return t ? we.jsonRegex.test(t) : !1;
116
116
  }
117
117
  async request(t, r) {
118
118
  const { url: n, init: i } = await this.createFetchParams(
@@ -139,15 +139,15 @@ const pt = new Le(), Te = class Te {
139
139
  headers: i,
140
140
  body: t.body,
141
141
  credentials: this.configuration.credentials
142
- }, c = {
142
+ }, s = {
143
143
  ...o,
144
144
  ...await a({
145
145
  init: o,
146
146
  context: t
147
147
  })
148
148
  }, p = {
149
- ...c,
150
- body: ht(c.body) || c.body instanceof URLSearchParams || mt(c.body) ? c.body : JSON.stringify(c.body)
149
+ ...s,
150
+ body: ht(s.body) || s.body instanceof URLSearchParams || mt(s.body) ? s.body : JSON.stringify(s.body)
151
151
  };
152
152
  return { url: n, init: p };
153
153
  }
@@ -160,11 +160,11 @@ const pt = new Le(), Te = class Te {
160
160
  return r.middleware = this.middleware.slice(), r;
161
161
  }
162
162
  };
163
- A(Te, "jsonRegex", new RegExp(
163
+ R(we, "jsonRegex", new RegExp(
164
164
  "^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$",
165
165
  "i"
166
166
  ));
167
- let W = Te;
167
+ let W = we;
168
168
  function mt(e) {
169
169
  return typeof Blob < "u" && e instanceof Blob;
170
170
  }
@@ -174,38 +174,38 @@ function ht(e) {
174
174
  class gt extends Error {
175
175
  constructor(r, n) {
176
176
  super(n);
177
- A(this, "name", "ResponseError");
177
+ R(this, "name", "ResponseError");
178
178
  this.response = r;
179
179
  }
180
180
  }
181
181
  class yt extends Error {
182
182
  constructor(r, n) {
183
183
  super(n);
184
- A(this, "name", "FetchError");
184
+ R(this, "name", "FetchError");
185
185
  this.cause = r;
186
186
  }
187
187
  }
188
- class R extends Error {
188
+ class I extends Error {
189
189
  constructor(r, n) {
190
190
  super(n);
191
- A(this, "name", "RequiredError");
191
+ R(this, "name", "RequiredError");
192
192
  this.field = r;
193
193
  }
194
194
  }
195
- const ua = {
195
+ const oa = {
196
196
  csv: ",",
197
197
  ssv: " ",
198
198
  tsv: " ",
199
199
  pipes: "|"
200
200
  };
201
- function s(e, t) {
201
+ function c(e, t) {
202
202
  const r = e[t];
203
203
  return r != null;
204
204
  }
205
- function qe(e, t = "") {
206
- return Object.keys(e).map((r) => Me(r, e[r], t)).filter((r) => r.length > 0).join("&");
205
+ function Ve(e, t = "") {
206
+ return Object.keys(e).map((r) => $e(r, e[r], t)).filter((r) => r.length > 0).join("&");
207
207
  }
208
- function Me(e, t, r = "") {
208
+ function $e(e, t, r = "") {
209
209
  const n = r + (r.length ? `[${e}]` : e);
210
210
  if (t instanceof Array) {
211
211
  const i = t.map((a) => encodeURIComponent(String(a))).join(`&${encodeURIComponent(n)}=`);
@@ -213,27 +213,27 @@ function Me(e, t, r = "") {
213
213
  }
214
214
  if (t instanceof Set) {
215
215
  const i = Array.from(t);
216
- return Me(e, i, r);
216
+ return $e(e, i, r);
217
217
  }
218
218
  return t instanceof Date ? `${encodeURIComponent(n)}=${encodeURIComponent(
219
219
  t.toISOString()
220
- )}` : t instanceof Object ? qe(t, n) : `${encodeURIComponent(n)}=${encodeURIComponent(
220
+ )}` : t instanceof Object ? Ve(t, n) : `${encodeURIComponent(n)}=${encodeURIComponent(
221
221
  String(t)
222
222
  )}`;
223
223
  }
224
- function la(e, t) {
224
+ function sa(e, t) {
225
225
  return Object.keys(e).reduce(
226
226
  (r, n) => ({ ...r, [n]: t(e[n]) }),
227
227
  {}
228
228
  );
229
229
  }
230
- function fa(e) {
230
+ function ca(e) {
231
231
  for (const t of e)
232
232
  if (t.contentType === "multipart/form-data")
233
233
  return !0;
234
234
  return !1;
235
235
  }
236
- class C {
236
+ class T {
237
237
  constructor(t, r = (n) => n) {
238
238
  this.raw = t, this.transformer = r;
239
239
  }
@@ -248,7 +248,7 @@ class vt {
248
248
  async value() {
249
249
  }
250
250
  }
251
- class pa {
251
+ class da {
252
252
  constructor(t) {
253
253
  this.raw = t;
254
254
  }
@@ -264,29 +264,29 @@ class St {
264
264
  return await this.raw.text();
265
265
  }
266
266
  }
267
- const ma = {
267
+ const ua = {
268
268
  Live: "LIVE",
269
269
  OnRequest: "ON_REQUEST"
270
270
  };
271
- function Tt(e) {
272
- return Ct(e);
271
+ function wt(e) {
272
+ return Tt(e);
273
273
  }
274
- function Ct(e, t) {
274
+ function Tt(e, t) {
275
275
  return e;
276
276
  }
277
- function ha(e) {
277
+ function la(e) {
278
278
  return e;
279
279
  }
280
- function ga(e) {
280
+ function fa(e) {
281
281
  let t = !0;
282
282
  return t = t && "dataSourceAvailability" in e, t = t && "assetId" in e, t = t && "connectorEndpoint" in e, t = t && "participantId" in e, t = t && "title" in e, t = t && "creatorOrganizationName" in e, t = t && "isOwnConnector" in e, t;
283
283
  }
284
- function Ce(e) {
285
- return wt(e);
284
+ function Te(e) {
285
+ return Ct(e);
286
286
  }
287
- function wt(e, t) {
287
+ function Ct(e, t) {
288
288
  return e == null ? e : {
289
- dataSourceAvailability: Tt(
289
+ dataSourceAvailability: wt(
290
290
  e.dataSourceAvailability
291
291
  ),
292
292
  assetId: e.assetId,
@@ -294,66 +294,66 @@ function wt(e, t) {
294
294
  participantId: e.participantId,
295
295
  title: e.title,
296
296
  creatorOrganizationName: e.creatorOrganizationName,
297
- onRequestContactEmail: s(e, "onRequestContactEmail") ? e.onRequestContactEmail : void 0,
298
- onRequestContactEmailSubject: s(
297
+ onRequestContactEmail: c(e, "onRequestContactEmail") ? e.onRequestContactEmail : void 0,
298
+ onRequestContactEmailSubject: c(
299
299
  e,
300
300
  "onRequestContactEmailSubject"
301
301
  ) ? e.onRequestContactEmailSubject : void 0,
302
- language: s(e, "language") ? e.language : void 0,
303
- description: s(e, "description") ? e.description : void 0,
304
- descriptionShortText: s(e, "descriptionShortText") ? e.descriptionShortText : void 0,
302
+ language: c(e, "language") ? e.language : void 0,
303
+ description: c(e, "description") ? e.description : void 0,
304
+ descriptionShortText: c(e, "descriptionShortText") ? e.descriptionShortText : void 0,
305
305
  isOwnConnector: e.isOwnConnector,
306
- publisherHomepage: s(e, "publisherHomepage") ? e.publisherHomepage : void 0,
307
- licenseUrl: s(e, "licenseUrl") ? e.licenseUrl : void 0,
308
- version: s(e, "version") ? e.version : void 0,
309
- keywords: s(e, "keywords") ? e.keywords : void 0,
310
- mediaType: s(e, "mediaType") ? e.mediaType : void 0,
311
- landingPageUrl: s(e, "landingPageUrl") ? e.landingPageUrl : void 0,
312
- httpDatasourceHintsProxyMethod: s(
306
+ publisherHomepage: c(e, "publisherHomepage") ? e.publisherHomepage : void 0,
307
+ licenseUrl: c(e, "licenseUrl") ? e.licenseUrl : void 0,
308
+ version: c(e, "version") ? e.version : void 0,
309
+ keywords: c(e, "keywords") ? e.keywords : void 0,
310
+ mediaType: c(e, "mediaType") ? e.mediaType : void 0,
311
+ landingPageUrl: c(e, "landingPageUrl") ? e.landingPageUrl : void 0,
312
+ httpDatasourceHintsProxyMethod: c(
313
313
  e,
314
314
  "httpDatasourceHintsProxyMethod"
315
315
  ) ? e.httpDatasourceHintsProxyMethod : void 0,
316
- httpDatasourceHintsProxyPath: s(
316
+ httpDatasourceHintsProxyPath: c(
317
317
  e,
318
318
  "httpDatasourceHintsProxyPath"
319
319
  ) ? e.httpDatasourceHintsProxyPath : void 0,
320
- httpDatasourceHintsProxyQueryParams: s(
320
+ httpDatasourceHintsProxyQueryParams: c(
321
321
  e,
322
322
  "httpDatasourceHintsProxyQueryParams"
323
323
  ) ? e.httpDatasourceHintsProxyQueryParams : void 0,
324
- httpDatasourceHintsProxyBody: s(
324
+ httpDatasourceHintsProxyBody: c(
325
325
  e,
326
326
  "httpDatasourceHintsProxyBody"
327
327
  ) ? e.httpDatasourceHintsProxyBody : void 0,
328
- dataCategory: s(e, "dataCategory") ? e.dataCategory : void 0,
329
- dataSubcategory: s(e, "dataSubcategory") ? e.dataSubcategory : void 0,
330
- dataModel: s(e, "dataModel") ? e.dataModel : void 0,
331
- geoReferenceMethod: s(e, "geoReferenceMethod") ? e.geoReferenceMethod : void 0,
332
- transportMode: s(e, "transportMode") ? e.transportMode : void 0,
333
- sovereignLegalName: s(e, "sovereignLegalName") ? e.sovereignLegalName : void 0,
334
- geoLocation: s(e, "geoLocation") ? e.geoLocation : void 0,
335
- nutsLocations: s(e, "nutsLocations") ? e.nutsLocations : void 0,
336
- dataSampleUrls: s(e, "dataSampleUrls") ? e.dataSampleUrls : void 0,
337
- referenceFileUrls: s(e, "referenceFileUrls") ? e.referenceFileUrls : void 0,
338
- referenceFilesDescription: s(e, "referenceFilesDescription") ? e.referenceFilesDescription : void 0,
339
- conditionsForUse: s(e, "conditionsForUse") ? e.conditionsForUse : void 0,
340
- dataUpdateFrequency: s(e, "dataUpdateFrequency") ? e.dataUpdateFrequency : void 0,
341
- temporalCoverageFrom: s(e, "temporalCoverageFrom") ? new Date(e.temporalCoverageFrom) : void 0,
342
- temporalCoverageToInclusive: s(
328
+ dataCategory: c(e, "dataCategory") ? e.dataCategory : void 0,
329
+ dataSubcategory: c(e, "dataSubcategory") ? e.dataSubcategory : void 0,
330
+ dataModel: c(e, "dataModel") ? e.dataModel : void 0,
331
+ geoReferenceMethod: c(e, "geoReferenceMethod") ? e.geoReferenceMethod : void 0,
332
+ transportMode: c(e, "transportMode") ? e.transportMode : void 0,
333
+ sovereignLegalName: c(e, "sovereignLegalName") ? e.sovereignLegalName : void 0,
334
+ geoLocation: c(e, "geoLocation") ? e.geoLocation : void 0,
335
+ nutsLocations: c(e, "nutsLocations") ? e.nutsLocations : void 0,
336
+ dataSampleUrls: c(e, "dataSampleUrls") ? e.dataSampleUrls : void 0,
337
+ referenceFileUrls: c(e, "referenceFileUrls") ? e.referenceFileUrls : void 0,
338
+ referenceFilesDescription: c(e, "referenceFilesDescription") ? e.referenceFilesDescription : void 0,
339
+ conditionsForUse: c(e, "conditionsForUse") ? e.conditionsForUse : void 0,
340
+ dataUpdateFrequency: c(e, "dataUpdateFrequency") ? e.dataUpdateFrequency : void 0,
341
+ temporalCoverageFrom: c(e, "temporalCoverageFrom") ? new Date(e.temporalCoverageFrom) : void 0,
342
+ temporalCoverageToInclusive: c(
343
343
  e,
344
344
  "temporalCoverageToInclusive"
345
345
  ) ? new Date(e.temporalCoverageToInclusive) : void 0,
346
- assetJsonLd: s(e, "assetJsonLd") ? e.assetJsonLd : void 0,
347
- customJsonAsString: s(e, "customJsonAsString") ? e.customJsonAsString : void 0,
348
- customJsonLdAsString: s(e, "customJsonLdAsString") ? e.customJsonLdAsString : void 0,
349
- privateCustomJsonAsString: s(e, "privateCustomJsonAsString") ? e.privateCustomJsonAsString : void 0,
350
- privateCustomJsonLdAsString: s(
346
+ assetJsonLd: c(e, "assetJsonLd") ? e.assetJsonLd : void 0,
347
+ customJsonAsString: c(e, "customJsonAsString") ? e.customJsonAsString : void 0,
348
+ customJsonLdAsString: c(e, "customJsonLdAsString") ? e.customJsonLdAsString : void 0,
349
+ privateCustomJsonAsString: c(e, "privateCustomJsonAsString") ? e.privateCustomJsonAsString : void 0,
350
+ privateCustomJsonLdAsString: c(
351
351
  e,
352
352
  "privateCustomJsonLdAsString"
353
353
  ) ? e.privateCustomJsonLdAsString : void 0
354
354
  };
355
355
  }
356
- function be(e) {
356
+ function Ae(e) {
357
357
  if (e !== void 0)
358
358
  return e === null ? null : {
359
359
  dataSourceAvailability: e.dataSourceAvailability,
@@ -400,96 +400,51 @@ function be(e) {
400
400
  privateCustomJsonLdAsString: e.privateCustomJsonLdAsString
401
401
  };
402
402
  }
403
- function ya(e) {
403
+ function pa(e) {
404
404
  let t = !0;
405
405
  return t = t && "assets" in e, t;
406
406
  }
407
407
  function _t(e) {
408
- return Ot(e);
409
- }
410
- function Ot(e, t) {
411
- return e == null ? e : {
412
- assets: e.assets.map(Ce)
413
- };
414
- }
415
- function va(e) {
416
- if (e !== void 0)
417
- return e === null ? null : {
418
- assets: e.assets.map(be)
419
- };
420
- }
421
- const Sa = {
422
- Eq: "EQ",
423
- Neq: "NEQ",
424
- Gt: "GT",
425
- Geq: "GEQ",
426
- Lt: "LT",
427
- Leq: "LEQ",
428
- In: "IN",
429
- HasPart: "HAS_PART",
430
- IsA: "IS_A",
431
- IsAllOf: "IS_ALL_OF",
432
- IsAnyOf: "IS_ANY_OF",
433
- IsNoneOf: "IS_NONE_OF"
434
- };
435
- function Ze(e) {
436
408
  return Pt(e);
437
409
  }
438
410
  function Pt(e, t) {
439
- return e;
440
- }
441
- function Ta(e) {
442
- return e;
443
- }
444
- function Ca(e) {
445
- let t = !0;
446
- return t = t && "leftExpression" in e, t = t && "operator" in e, t = t && "rightExpression" in e, t;
447
- }
448
- function It(e) {
449
- return Nt(e);
450
- }
451
- function Nt(e, t) {
452
411
  return e == null ? e : {
453
- leftExpression: e.leftExpression,
454
- operator: Ze(e.operator),
455
- rightExpression: e.rightExpression
412
+ assets: e.assets.map(Te)
456
413
  };
457
414
  }
458
- function Dt(e) {
415
+ function ma(e) {
459
416
  if (e !== void 0)
460
417
  return e === null ? null : {
461
- leftExpression: e.leftExpression,
462
- operator: e.operator,
463
- rightExpression: e.rightExpression
418
+ assets: e.assets.map(Ae)
464
419
  };
465
420
  }
466
- const wa = {
421
+ const ha = {
467
422
  Value: "VALUE",
468
423
  ValueList: "VALUE_LIST"
469
424
  };
470
- function bt(e) {
471
- return xt(e);
425
+ function It(e) {
426
+ return Ot(e);
472
427
  }
473
- function xt(e, t) {
428
+ function Ot(e, t) {
474
429
  return e;
475
430
  }
476
- function _a(e) {
431
+ function ga(e) {
477
432
  return e;
478
433
  }
479
- function Oa(e) {
434
+ function ya(e) {
480
435
  return !0;
481
436
  }
482
- function At(e) {
483
- return Rt(e);
437
+ function Nt(e) {
438
+ return bt(e);
484
439
  }
485
- function Rt(e, t) {
440
+ function bt(e, t) {
486
441
  return e == null ? e : {
487
- type: s(e, "type") ? bt(e.type) : void 0,
488
- value: s(e, "value") ? e.value : void 0,
489
- valueList: s(e, "valueList") ? e.valueList : void 0
442
+ type: c(e, "type") ? It(e.type) : void 0,
443
+ value: c(e, "value") ? e.value : void 0,
444
+ valueList: c(e, "valueList") ? e.valueList : void 0
490
445
  };
491
446
  }
492
- function kt(e) {
447
+ function Dt(e) {
493
448
  if (e !== void 0)
494
449
  return e === null ? null : {
495
450
  type: e.type,
@@ -497,137 +452,137 @@ function kt(e) {
497
452
  valueList: e.valueList
498
453
  };
499
454
  }
500
- const Pa = {
455
+ const va = {
501
456
  Like: "LIKE",
502
457
  Eq: "EQ",
503
458
  In: "IN"
504
459
  };
505
- function Et(e) {
506
- return Ut(e);
460
+ function At(e) {
461
+ return xt(e);
507
462
  }
508
- function Ut(e, t) {
463
+ function xt(e, t) {
509
464
  return e;
510
465
  }
511
- function Ia(e) {
466
+ function Sa(e) {
512
467
  return e;
513
468
  }
514
- function Na(e) {
469
+ function wa(e) {
515
470
  let t = !0;
516
471
  return t = t && "operandLeft" in e, t = t && "operator" in e, t = t && "operandRight" in e, t;
517
472
  }
518
- function Jt(e) {
519
- return Ft(e);
473
+ function Rt(e) {
474
+ return kt(e);
520
475
  }
521
- function Ft(e, t) {
476
+ function kt(e, t) {
522
477
  return e == null ? e : {
523
478
  operandLeft: e.operandLeft,
524
- operator: Et(e.operator),
525
- operandRight: At(
479
+ operator: At(e.operator),
480
+ operandRight: Nt(
526
481
  e.operandRight
527
482
  )
528
483
  };
529
484
  }
530
- function Lt(e) {
485
+ function Ut(e) {
531
486
  if (e !== void 0)
532
487
  return e === null ? null : {
533
488
  operandLeft: e.operandLeft,
534
489
  operator: e.operator,
535
- operandRight: kt(e.operandRight)
490
+ operandRight: Dt(e.operandRight)
536
491
  };
537
492
  }
538
- function Da(e) {
493
+ function Ta(e) {
539
494
  let t = !0;
540
495
  return t = t && "connectorEndpoint" in e, t;
541
496
  }
542
- function ba(e) {
543
- return qt(e);
497
+ function Ca(e) {
498
+ return Et(e);
544
499
  }
545
- function qt(e, t) {
500
+ function Et(e, t) {
546
501
  return e == null ? e : {
547
502
  connectorEndpoint: e.connectorEndpoint,
548
- limit: s(e, "limit") ? e.limit : void 0,
549
- offset: s(e, "offset") ? e.offset : void 0,
550
- filterExpressions: s(e, "filterExpressions") ? e.filterExpressions.map(
551
- Jt
503
+ limit: c(e, "limit") ? e.limit : void 0,
504
+ offset: c(e, "offset") ? e.offset : void 0,
505
+ filterExpressions: c(e, "filterExpressions") ? e.filterExpressions.map(
506
+ Rt
552
507
  ) : void 0
553
508
  };
554
509
  }
555
- function Mt(e) {
510
+ function Jt(e) {
556
511
  if (e !== void 0)
557
512
  return e === null ? null : {
558
513
  connectorEndpoint: e.connectorEndpoint,
559
514
  limit: e.limit,
560
515
  offset: e.offset,
561
516
  filterExpressions: e.filterExpressions === void 0 ? void 0 : e.filterExpressions.map(
562
- Lt
517
+ Ut
563
518
  )
564
519
  };
565
520
  }
566
- function xa(e) {
521
+ function _a(e) {
567
522
  let t = !0;
568
523
  return t = t && "numActiveConsumingContractAgreements" in e, t;
569
524
  }
570
- function Zt(e) {
571
- return Vt(e);
525
+ function Ft(e) {
526
+ return Lt(e);
572
527
  }
573
- function Vt(e, t) {
528
+ function Lt(e, t) {
574
529
  return e == null ? e : {
575
530
  numActiveConsumingContractAgreements: e.numActiveConsumingContractAgreements,
576
- maxActiveConsumingContractAgreements: s(
531
+ maxActiveConsumingContractAgreements: c(
577
532
  e,
578
533
  "maxActiveConsumingContractAgreements"
579
534
  ) ? e.maxActiveConsumingContractAgreements : void 0
580
535
  };
581
536
  }
582
- function Aa(e) {
537
+ function Pa(e) {
583
538
  if (e !== void 0)
584
539
  return e === null ? null : {
585
540
  numActiveConsumingContractAgreements: e.numActiveConsumingContractAgreements,
586
541
  maxActiveConsumingContractAgreements: e.maxActiveConsumingContractAgreements
587
542
  };
588
543
  }
589
- const Ra = {
544
+ const Ia = {
590
545
  Consuming: "CONSUMING",
591
546
  Providing: "PROVIDING"
592
547
  };
593
- function Ve(e) {
594
- return Ht(e);
548
+ function He(e) {
549
+ return qt(e);
595
550
  }
596
- function Ht(e, t) {
551
+ function qt(e, t) {
597
552
  return e;
598
553
  }
599
- function ka(e) {
554
+ function Oa(e) {
600
555
  return e;
601
556
  }
602
- const Ea = {
557
+ const Na = {
603
558
  Self: "SELF",
604
559
  Counterparty: "COUNTERPARTY"
605
560
  };
606
- function $t(e) {
607
- return zt(e);
561
+ function Mt(e) {
562
+ return Zt(e);
608
563
  }
609
- function zt(e, t) {
564
+ function Zt(e, t) {
610
565
  return e;
611
566
  }
612
- function Ua(e) {
567
+ function ba(e) {
613
568
  return e;
614
569
  }
615
- function Ja(e) {
570
+ function Da(e) {
616
571
  let t = !0;
617
572
  return t = t && "terminatedAt" in e, t = t && "reason" in e, t = t && "detail" in e, t = t && "terminatedBy" in e, t;
618
573
  }
619
- function Bt(e) {
620
- return Qt(e);
574
+ function Vt(e) {
575
+ return $t(e);
621
576
  }
622
- function Qt(e, t) {
577
+ function $t(e, t) {
623
578
  return e == null ? e : {
624
579
  terminatedAt: new Date(e.terminatedAt),
625
580
  reason: e.reason,
626
581
  detail: e.detail,
627
- terminatedBy: $t(e.terminatedBy)
582
+ terminatedBy: Mt(e.terminatedBy)
628
583
  };
629
584
  }
630
- function Gt(e) {
585
+ function Ht(e) {
631
586
  if (e !== void 0)
632
587
  return e === null ? null : {
633
588
  terminatedAt: e.terminatedAt.toISOString(),
@@ -636,37 +591,37 @@ function Gt(e) {
636
591
  terminatedBy: e.terminatedBy
637
592
  };
638
593
  }
639
- const Fa = {
594
+ const Aa = {
640
595
  Running: "RUNNING",
641
596
  Ok: "OK",
642
597
  Error: "ERROR"
643
598
  };
644
- function Kt(e) {
645
- return Wt(e);
599
+ function zt(e) {
600
+ return Bt(e);
646
601
  }
647
- function Wt(e, t) {
602
+ function Bt(e, t) {
648
603
  return e;
649
604
  }
650
- function La(e) {
605
+ function xa(e) {
651
606
  return e;
652
607
  }
653
- function qa(e) {
608
+ function Ra(e) {
654
609
  let t = !0;
655
610
  return t = t && "name" in e, t = t && "code" in e, t = t && "simplifiedState" in e, t;
656
611
  }
657
- function He(e) {
658
- return Yt(e);
612
+ function ze(e) {
613
+ return Qt(e);
659
614
  }
660
- function Yt(e, t) {
615
+ function Qt(e, t) {
661
616
  return e == null ? e : {
662
617
  name: e.name,
663
618
  code: e.code,
664
- simplifiedState: Kt(
619
+ simplifiedState: zt(
665
620
  e.simplifiedState
666
621
  )
667
622
  };
668
623
  }
669
- function $e(e) {
624
+ function Be(e) {
670
625
  if (e !== void 0)
671
626
  return e === null ? null : {
672
627
  name: e.name,
@@ -674,72 +629,95 @@ function $e(e) {
674
629
  simplifiedState: e.simplifiedState
675
630
  };
676
631
  }
677
- function Ma(e) {
632
+ function ka(e) {
678
633
  let t = !0;
679
634
  return t = t && "transferProcessId" in e, t = t && "lastUpdatedDate" in e, t = t && "state" in e, t;
680
635
  }
681
- function Xt(e) {
682
- return jt(e);
636
+ function Gt(e) {
637
+ return Kt(e);
683
638
  }
684
- function jt(e, t) {
639
+ function Kt(e, t) {
685
640
  return e == null ? e : {
686
641
  transferProcessId: e.transferProcessId,
687
642
  lastUpdatedDate: new Date(e.lastUpdatedDate),
688
- state: He(e.state),
689
- errorMessage: s(e, "errorMessage") ? e.errorMessage : void 0
643
+ state: ze(e.state),
644
+ errorMessage: c(e, "errorMessage") ? e.errorMessage : void 0
690
645
  };
691
646
  }
692
- function er(e) {
647
+ function Wt(e) {
693
648
  if (e !== void 0)
694
649
  return e === null ? null : {
695
650
  transferProcessId: e.transferProcessId,
696
651
  lastUpdatedDate: e.lastUpdatedDate.toISOString(),
697
- state: $e(e.state),
652
+ state: Be(e.state),
698
653
  errorMessage: e.errorMessage
699
654
  };
700
655
  }
701
- const Za = {
656
+ const Ua = {
702
657
  Ongoing: "ONGOING",
703
658
  Terminated: "TERMINATED"
704
659
  };
705
- function ze(e) {
706
- return tr(e);
660
+ function Qe(e) {
661
+ return Yt(e);
707
662
  }
708
- function tr(e, t) {
663
+ function Yt(e, t) {
664
+ return e;
665
+ }
666
+ function Ea(e) {
667
+ return e;
668
+ }
669
+ const Ja = {
670
+ Eq: "EQ",
671
+ Neq: "NEQ",
672
+ Gt: "GT",
673
+ Geq: "GEQ",
674
+ Lt: "LT",
675
+ Leq: "LEQ",
676
+ In: "IN",
677
+ HasPart: "HAS_PART",
678
+ IsA: "IS_A",
679
+ IsAllOf: "IS_ALL_OF",
680
+ IsAnyOf: "IS_ANY_OF",
681
+ IsNoneOf: "IS_NONE_OF"
682
+ };
683
+ function Xt(e) {
684
+ return jt(e);
685
+ }
686
+ function jt(e, t) {
709
687
  return e;
710
688
  }
711
- function Va(e) {
689
+ function Fa(e) {
712
690
  return e;
713
691
  }
714
- const Ha = {
692
+ const La = {
715
693
  String: "STRING",
716
694
  StringList: "STRING_LIST",
717
695
  Json: "JSON"
718
696
  };
719
- function rr(e) {
720
- return nr(e);
697
+ function er(e) {
698
+ return tr(e);
721
699
  }
722
- function nr(e, t) {
700
+ function tr(e, t) {
723
701
  return e;
724
702
  }
725
- function $a(e) {
703
+ function qa(e) {
726
704
  return e;
727
705
  }
728
- function za(e) {
706
+ function Ma(e) {
729
707
  let t = !0;
730
708
  return t = t && "type" in e, t;
731
709
  }
732
- function ir(e) {
733
- return ar(e);
710
+ function rr(e) {
711
+ return nr(e);
734
712
  }
735
- function ar(e, t) {
713
+ function nr(e, t) {
736
714
  return e == null ? e : {
737
- type: rr(e.type),
738
- value: s(e, "value") ? e.value : void 0,
739
- valueList: s(e, "valueList") ? e.valueList : void 0
715
+ type: er(e.type),
716
+ value: c(e, "value") ? e.value : void 0,
717
+ valueList: c(e, "valueList") ? e.valueList : void 0
740
718
  };
741
719
  }
742
- function or(e) {
720
+ function ir(e) {
743
721
  if (e !== void 0)
744
722
  return e === null ? null : {
745
723
  type: e.type,
@@ -747,83 +725,121 @@ function or(e) {
747
725
  valueList: e.valueList
748
726
  };
749
727
  }
750
- function Ba(e) {
728
+ function Za(e) {
751
729
  let t = !0;
752
730
  return t = t && "left" in e, t = t && "operator" in e, t = t && "right" in e, t;
753
731
  }
754
- function Be(e) {
755
- return sr(e);
732
+ function Ge(e) {
733
+ return ar(e);
756
734
  }
757
- function sr(e, t) {
735
+ function ar(e, t) {
758
736
  return e == null ? e : {
759
737
  left: e.left,
760
- operator: Ze(e.operator),
761
- right: ir(e.right)
738
+ operator: Xt(e.operator),
739
+ right: rr(e.right)
762
740
  };
763
741
  }
764
- function Qe(e) {
742
+ function Ke(e) {
765
743
  if (e !== void 0)
766
744
  return e === null ? null : {
767
745
  left: e.left,
768
746
  operator: e.operator,
769
- right: or(e.right)
747
+ right: ir(e.right)
770
748
  };
771
749
  }
772
- function Qa(e) {
750
+ const Va = {
751
+ Empty: "EMPTY",
752
+ Constraint: "CONSTRAINT",
753
+ And: "AND",
754
+ Or: "OR",
755
+ Xone: "XONE"
756
+ };
757
+ function or(e) {
758
+ return sr(e);
759
+ }
760
+ function sr(e, t) {
761
+ return e;
762
+ }
763
+ function $a(e) {
764
+ return e;
765
+ }
766
+ function Ha(e) {
773
767
  let t = !0;
774
- return t = t && "policyJsonLd" in e, t = t && "errors" in e, t;
768
+ return t = t && "type" in e, t;
775
769
  }
776
770
  function xe(e) {
777
771
  return cr(e);
778
772
  }
779
773
  function cr(e, t) {
780
774
  return e == null ? e : {
781
- policyJsonLd: e.policyJsonLd,
782
- constraints: s(e, "constraints") ? e.constraints.map(
783
- Be
775
+ type: or(e.type),
776
+ expressions: c(e, "expressions") ? e.expressions.map(
777
+ xe
784
778
  ) : void 0,
779
+ constraint: c(e, "constraint") ? Ge(e.constraint) : void 0
780
+ };
781
+ }
782
+ function Re(e) {
783
+ if (e !== void 0)
784
+ return e === null ? null : {
785
+ type: e.type,
786
+ expressions: e.expressions === void 0 ? void 0 : e.expressions.map(
787
+ Re
788
+ ),
789
+ constraint: Ke(e.constraint)
790
+ };
791
+ }
792
+ function za(e) {
793
+ let t = !0;
794
+ return t = t && "policyJsonLd" in e, t = t && "errors" in e, t;
795
+ }
796
+ function ke(e) {
797
+ return dr(e);
798
+ }
799
+ function dr(e, t) {
800
+ return e == null ? e : {
801
+ policyJsonLd: e.policyJsonLd,
802
+ expression: c(e, "expression") ? xe(e.expression) : void 0,
785
803
  errors: e.errors
786
804
  };
787
805
  }
788
- function Ae(e) {
806
+ function Ue(e) {
789
807
  if (e !== void 0)
790
808
  return e === null ? null : {
791
809
  policyJsonLd: e.policyJsonLd,
792
- constraints: e.constraints === void 0 ? void 0 : e.constraints.map(
793
- Qe
794
- ),
810
+ expression: Re(e.expression),
795
811
  errors: e.errors
796
812
  };
797
813
  }
798
- function Ga(e) {
814
+ function Ba(e) {
799
815
  let t = !0;
800
816
  return t = t && "contractAgreementId" in e, t = t && "contractNegotiationId" in e, t = t && "direction" in e, t = t && "counterPartyAddress" in e, t = t && "counterPartyId" in e, t = t && "contractSigningDate" in e, t = t && "asset" in e, t = t && "contractPolicy" in e, t = t && "transferProcesses" in e, t = t && "terminationStatus" in e, t;
801
817
  }
802
- function dr(e) {
803
- return ur(e);
818
+ function ur(e) {
819
+ return lr(e);
804
820
  }
805
- function ur(e, t) {
821
+ function lr(e, t) {
806
822
  return e == null ? e : {
807
823
  contractAgreementId: e.contractAgreementId,
808
824
  contractNegotiationId: e.contractNegotiationId,
809
- direction: Ve(e.direction),
825
+ direction: He(e.direction),
810
826
  counterPartyAddress: e.counterPartyAddress,
811
827
  counterPartyId: e.counterPartyId,
812
828
  contractSigningDate: new Date(e.contractSigningDate),
813
- asset: Ce(e.asset),
814
- contractPolicy: xe(e.contractPolicy),
829
+ asset: Te(e.asset),
830
+ contractPolicy: ke(e.contractPolicy),
815
831
  transferProcesses: e.transferProcesses.map(
816
- Xt
832
+ Gt
817
833
  ),
818
- terminationStatus: ze(
834
+ terminationStatus: Qe(
819
835
  e.terminationStatus
820
836
  ),
821
- terminationInformation: s(e, "terminationInformation") ? Bt(
837
+ terminationInformation: c(e, "terminationInformation") ? Vt(
822
838
  e.terminationInformation
823
839
  ) : void 0
824
840
  };
825
841
  }
826
- function lr(e) {
842
+ function fr(e) {
827
843
  if (e !== void 0)
828
844
  return e === null ? null : {
829
845
  contractAgreementId: e.contractAgreementId,
@@ -832,80 +848,80 @@ function lr(e) {
832
848
  counterPartyAddress: e.counterPartyAddress,
833
849
  counterPartyId: e.counterPartyId,
834
850
  contractSigningDate: e.contractSigningDate.toISOString(),
835
- asset: be(e.asset),
836
- contractPolicy: Ae(e.contractPolicy),
851
+ asset: Ae(e.asset),
852
+ contractPolicy: Ue(e.contractPolicy),
837
853
  transferProcesses: e.transferProcesses.map(
838
- er
854
+ Wt
839
855
  ),
840
856
  terminationStatus: e.terminationStatus,
841
- terminationInformation: Gt(
857
+ terminationInformation: Ht(
842
858
  e.terminationInformation
843
859
  )
844
860
  };
845
861
  }
846
- function Ka(e) {
862
+ function Qa(e) {
847
863
  let t = !0;
848
864
  return t = t && "contractAgreements" in e, t;
849
865
  }
850
- function fr(e) {
851
- return pr(e);
866
+ function pr(e) {
867
+ return mr(e);
852
868
  }
853
- function pr(e, t) {
869
+ function mr(e, t) {
854
870
  return e == null ? e : {
855
871
  contractAgreements: e.contractAgreements.map(
856
- dr
872
+ ur
857
873
  )
858
874
  };
859
875
  }
860
- function Wa(e) {
876
+ function Ga(e) {
861
877
  if (e !== void 0)
862
878
  return e === null ? null : {
863
879
  contractAgreements: e.contractAgreements.map(
864
- lr
880
+ fr
865
881
  )
866
882
  };
867
883
  }
868
- function Ya(e) {
884
+ function Ka(e) {
869
885
  return !0;
870
886
  }
871
- function Xa(e) {
872
- return mr(e);
887
+ function Wa(e) {
888
+ return hr(e);
873
889
  }
874
- function mr(e, t) {
890
+ function hr(e, t) {
875
891
  return e == null ? e : {
876
- terminationStatus: s(e, "terminationStatus") ? ze(e.terminationStatus) : void 0
892
+ terminationStatus: c(e, "terminationStatus") ? Qe(e.terminationStatus) : void 0
877
893
  };
878
894
  }
879
- function hr(e) {
895
+ function gr(e) {
880
896
  if (e !== void 0)
881
897
  return e === null ? null : {
882
898
  terminationStatus: e.terminationStatus
883
899
  };
884
900
  }
885
- const ja = {
901
+ const Ya = {
886
902
  Value: "VALUE",
887
903
  ValueList: "VALUE_LIST"
888
904
  };
889
- function gr(e) {
890
- return yr(e);
905
+ function yr(e) {
906
+ return vr(e);
891
907
  }
892
- function yr(e, t) {
908
+ function vr(e, t) {
893
909
  return e;
894
910
  }
895
- function eo(e) {
911
+ function Xa(e) {
896
912
  return e;
897
913
  }
898
- function to(e) {
914
+ function ja(e) {
899
915
  return !0;
900
916
  }
901
- function vr(e) {
902
- return Sr(e);
917
+ function Sr(e) {
918
+ return wr(e);
903
919
  }
904
- function Sr(e, t) {
920
+ function wr(e, t) {
905
921
  return e == null ? e : {
906
- type: s(e, "type") ? gr(e.type) : void 0,
907
- value: s(e, "value") ? e.value : void 0,
908
- valueList: s(e, "valueList") ? e.valueList : void 0
922
+ type: c(e, "type") ? yr(e.type) : void 0,
923
+ value: c(e, "value") ? e.value : void 0,
924
+ valueList: c(e, "valueList") ? e.valueList : void 0
909
925
  };
910
926
  }
911
927
  function Tr(e) {
@@ -916,35 +932,35 @@ function Tr(e) {
916
932
  valueList: e.valueList
917
933
  };
918
934
  }
919
- const ro = {
935
+ const eo = {
920
936
  Eq: "EQ",
921
937
  In: "IN",
922
938
  Like: "LIKE"
923
939
  };
924
940
  function Cr(e) {
925
- return wr(e);
941
+ return _r(e);
926
942
  }
927
- function wr(e, t) {
943
+ function _r(e, t) {
928
944
  return e;
929
945
  }
930
- function no(e) {
946
+ function to(e) {
931
947
  return e;
932
948
  }
933
- function io(e) {
949
+ function ro(e) {
934
950
  let t = !0;
935
951
  return t = t && "operandLeft" in e, t = t && "operator" in e, t = t && "operandRight" in e, t;
936
952
  }
937
- function Ge(e) {
938
- return _r(e);
953
+ function We(e) {
954
+ return Pr(e);
939
955
  }
940
- function _r(e, t) {
956
+ function Pr(e, t) {
941
957
  return e == null ? e : {
942
958
  operandLeft: e.operandLeft,
943
959
  operator: Cr(e.operator),
944
- operandRight: vr(e.operandRight)
960
+ operandRight: Sr(e.operandRight)
945
961
  };
946
962
  }
947
- function Ke(e) {
963
+ function Ye(e) {
948
964
  if (e !== void 0)
949
965
  return e === null ? null : {
950
966
  operandLeft: e.operandLeft,
@@ -952,70 +968,70 @@ function Ke(e) {
952
968
  operandRight: Tr(e.operandRight)
953
969
  };
954
970
  }
955
- function ao(e) {
971
+ function no(e) {
956
972
  let t = !0;
957
973
  return t = t && "contractDefinitionId" in e, t = t && "accessPolicyId" in e, t = t && "contractPolicyId" in e, t = t && "assetSelector" in e, t;
958
974
  }
959
- function Or(e) {
960
- return Pr(e);
975
+ function Ir(e) {
976
+ return Or(e);
961
977
  }
962
- function Pr(e, t) {
978
+ function Or(e, t) {
963
979
  return e == null ? e : {
964
980
  contractDefinitionId: e.contractDefinitionId,
965
981
  accessPolicyId: e.accessPolicyId,
966
982
  contractPolicyId: e.contractPolicyId,
967
983
  assetSelector: e.assetSelector.map(
968
- Ge
984
+ We
969
985
  )
970
986
  };
971
987
  }
972
- function Ir(e) {
988
+ function Nr(e) {
973
989
  if (e !== void 0)
974
990
  return e === null ? null : {
975
991
  contractDefinitionId: e.contractDefinitionId,
976
992
  accessPolicyId: e.accessPolicyId,
977
993
  contractPolicyId: e.contractPolicyId,
978
994
  assetSelector: e.assetSelector.map(
979
- Ke
995
+ Ye
980
996
  )
981
997
  };
982
998
  }
983
- function oo(e) {
999
+ function io(e) {
984
1000
  let t = !0;
985
1001
  return t = t && "contractDefinitions" in e, t;
986
1002
  }
987
- function Nr(e) {
1003
+ function br(e) {
988
1004
  return Dr(e);
989
1005
  }
990
1006
  function Dr(e, t) {
991
1007
  return e == null ? e : {
992
1008
  contractDefinitions: e.contractDefinitions.map(
993
- Or
1009
+ Ir
994
1010
  )
995
1011
  };
996
1012
  }
997
- function so(e) {
1013
+ function ao(e) {
998
1014
  if (e !== void 0)
999
1015
  return e === null ? null : {
1000
1016
  contractDefinitions: e.contractDefinitions.map(
1001
- Ir
1017
+ Nr
1002
1018
  )
1003
1019
  };
1004
1020
  }
1005
- function co(e) {
1021
+ function oo(e) {
1006
1022
  let t = !0;
1007
1023
  return t = t && "contractDefinitionId" in e, t = t && "contractPolicyId" in e, t = t && "accessPolicyId" in e, t = t && "assetSelector" in e, t;
1008
1024
  }
1009
- function uo(e) {
1010
- return br(e);
1025
+ function so(e) {
1026
+ return Ar(e);
1011
1027
  }
1012
- function br(e, t) {
1028
+ function Ar(e, t) {
1013
1029
  return e == null ? e : {
1014
1030
  contractDefinitionId: e.contractDefinitionId,
1015
1031
  contractPolicyId: e.contractPolicyId,
1016
1032
  accessPolicyId: e.accessPolicyId,
1017
1033
  assetSelector: e.assetSelector.map(
1018
- Ge
1034
+ We
1019
1035
  )
1020
1036
  };
1021
1037
  }
@@ -1026,18 +1042,18 @@ function xr(e) {
1026
1042
  contractPolicyId: e.contractPolicyId,
1027
1043
  accessPolicyId: e.accessPolicyId,
1028
1044
  assetSelector: e.assetSelector.map(
1029
- Ke
1045
+ Ye
1030
1046
  )
1031
1047
  };
1032
1048
  }
1033
- function lo(e) {
1049
+ function co(e) {
1034
1050
  let t = !0;
1035
1051
  return t = t && "counterPartyAddress" in e, t = t && "counterPartyParticipantId" in e, t = t && "contractOfferId" in e, t = t && "policyJsonLd" in e, t = t && "assetId" in e, t;
1036
1052
  }
1037
- function fo(e) {
1038
- return Ar(e);
1053
+ function uo(e) {
1054
+ return Rr(e);
1039
1055
  }
1040
- function Ar(e, t) {
1056
+ function Rr(e, t) {
1041
1057
  return e == null ? e : {
1042
1058
  counterPartyAddress: e.counterPartyAddress,
1043
1059
  counterPartyParticipantId: e.counterPartyParticipantId,
@@ -1046,7 +1062,7 @@ function Ar(e, t) {
1046
1062
  assetId: e.assetId
1047
1063
  };
1048
1064
  }
1049
- function Rr(e) {
1065
+ function kr(e) {
1050
1066
  if (e !== void 0)
1051
1067
  return e === null ? null : {
1052
1068
  counterPartyAddress: e.counterPartyAddress,
@@ -1056,37 +1072,37 @@ function Rr(e) {
1056
1072
  assetId: e.assetId
1057
1073
  };
1058
1074
  }
1059
- const po = {
1075
+ const lo = {
1060
1076
  InProgress: "IN_PROGRESS",
1061
1077
  Agreed: "AGREED",
1062
1078
  Terminated: "TERMINATED"
1063
1079
  };
1064
- function kr(e) {
1080
+ function Ur(e) {
1065
1081
  return Er(e);
1066
1082
  }
1067
1083
  function Er(e, t) {
1068
1084
  return e;
1069
1085
  }
1070
- function mo(e) {
1086
+ function fo(e) {
1071
1087
  return e;
1072
1088
  }
1073
- function ho(e) {
1089
+ function po(e) {
1074
1090
  let t = !0;
1075
1091
  return t = t && "name" in e, t = t && "code" in e, t = t && "simplifiedState" in e, t;
1076
1092
  }
1077
- function Ur(e) {
1078
- return Jr(e);
1093
+ function Jr(e) {
1094
+ return Fr(e);
1079
1095
  }
1080
- function Jr(e, t) {
1096
+ function Fr(e, t) {
1081
1097
  return e == null ? e : {
1082
1098
  name: e.name,
1083
1099
  code: e.code,
1084
- simplifiedState: kr(
1100
+ simplifiedState: Ur(
1085
1101
  e.simplifiedState
1086
1102
  )
1087
1103
  };
1088
1104
  }
1089
- function Fr(e) {
1105
+ function Lr(e) {
1090
1106
  if (e !== void 0)
1091
1107
  return e === null ? null : {
1092
1108
  name: e.name,
@@ -1094,61 +1110,61 @@ function Fr(e) {
1094
1110
  simplifiedState: e.simplifiedState
1095
1111
  };
1096
1112
  }
1097
- function go(e) {
1113
+ function mo(e) {
1098
1114
  let t = !0;
1099
- return t = t && "reason" in e, t;
1115
+ return t = t && "detail" in e, t = t && "reason" in e, t;
1100
1116
  }
1101
- function yo(e) {
1102
- return Lr(e);
1117
+ function ho(e) {
1118
+ return qr(e);
1103
1119
  }
1104
- function Lr(e, t) {
1120
+ function qr(e, t) {
1105
1121
  return e == null ? e : {
1106
- reason: e.reason,
1107
- detail: s(e, "detail") ? e.detail : void 0
1122
+ detail: e.detail,
1123
+ reason: e.reason
1108
1124
  };
1109
1125
  }
1110
- function qr(e) {
1126
+ function Mr(e) {
1111
1127
  if (e !== void 0)
1112
1128
  return e === null ? null : {
1113
- reason: e.reason,
1114
- detail: e.detail
1129
+ detail: e.detail,
1130
+ reason: e.reason
1115
1131
  };
1116
1132
  }
1117
- function vo(e) {
1133
+ function go(e) {
1118
1134
  let t = !0;
1119
1135
  return t = t && "tokenUrl" in e, t = t && "jwksUrl" in e, t;
1120
1136
  }
1121
- function Mr(e) {
1122
- return Zr(e);
1137
+ function Zr(e) {
1138
+ return Vr(e);
1123
1139
  }
1124
- function Zr(e, t) {
1140
+ function Vr(e, t) {
1125
1141
  return e == null ? e : {
1126
1142
  tokenUrl: e.tokenUrl,
1127
1143
  jwksUrl: e.jwksUrl
1128
1144
  };
1129
1145
  }
1130
- function Vr(e) {
1146
+ function $r(e) {
1131
1147
  if (e !== void 0)
1132
1148
  return e === null ? null : {
1133
1149
  tokenUrl: e.tokenUrl,
1134
1150
  jwksUrl: e.jwksUrl
1135
1151
  };
1136
1152
  }
1137
- function So(e) {
1153
+ function yo(e) {
1138
1154
  let t = !0;
1139
1155
  return t = t && "url" in e, t = t && "tokenUrl" in e, t = t && "authorityId" in e, t;
1140
1156
  }
1141
1157
  function Hr(e) {
1142
- return $r(e);
1158
+ return zr(e);
1143
1159
  }
1144
- function $r(e, t) {
1160
+ function zr(e, t) {
1145
1161
  return e == null ? e : {
1146
1162
  url: e.url,
1147
1163
  tokenUrl: e.tokenUrl,
1148
1164
  authorityId: e.authorityId
1149
1165
  };
1150
1166
  }
1151
- function zr(e) {
1167
+ function Br(e) {
1152
1168
  if (e !== void 0)
1153
1169
  return e === null ? null : {
1154
1170
  url: e.url,
@@ -1156,14 +1172,14 @@ function zr(e) {
1156
1172
  authorityId: e.authorityId
1157
1173
  };
1158
1174
  }
1159
- function To(e) {
1175
+ function vo(e) {
1160
1176
  let t = !0;
1161
1177
  return t = t && "numTotal" in e, t = t && "numRunning" in e, t = t && "numOk" in e, t = t && "numError" in e, t;
1162
1178
  }
1163
- function Re(e) {
1164
- return Br(e);
1179
+ function Ee(e) {
1180
+ return Qr(e);
1165
1181
  }
1166
- function Br(e, t) {
1182
+ function Qr(e, t) {
1167
1183
  return e == null ? e : {
1168
1184
  numTotal: e.numTotal,
1169
1185
  numRunning: e.numRunning,
@@ -1171,7 +1187,7 @@ function Br(e, t) {
1171
1187
  numError: e.numError
1172
1188
  };
1173
1189
  }
1174
- function ke(e) {
1190
+ function Je(e) {
1175
1191
  if (e !== void 0)
1176
1192
  return e === null ? null : {
1177
1193
  numTotal: e.numTotal,
@@ -1180,24 +1196,24 @@ function ke(e) {
1180
1196
  numError: e.numError
1181
1197
  };
1182
1198
  }
1183
- function Co(e) {
1199
+ function So(e) {
1184
1200
  let t = !0;
1185
1201
  return t = t && "numAssets" in e, t = t && "numPolicies" in e, t = t && "numContractDefinitions" in e, t = t && "numContractAgreementsConsuming" in e, t = t && "numContractAgreementsProviding" in e, t = t && "transferProcessesConsuming" in e, t = t && "transferProcessesProviding" in e, t = t && "connectorEndpoint" in e, t = t && "connectorParticipantId" in e, t = t && "connectorTitle" in e, t = t && "connectorDescription" in e, t = t && "connectorCuratorUrl" in e, t = t && "connectorCuratorName" in e, t = t && "connectorMaintainerUrl" in e, t = t && "connectorMaintainerName" in e, t;
1186
1202
  }
1187
- function Qr(e) {
1188
- return Gr(e);
1203
+ function Gr(e) {
1204
+ return Kr(e);
1189
1205
  }
1190
- function Gr(e, t) {
1206
+ function Kr(e, t) {
1191
1207
  return e == null ? e : {
1192
1208
  numAssets: e.numAssets,
1193
1209
  numPolicies: e.numPolicies,
1194
1210
  numContractDefinitions: e.numContractDefinitions,
1195
1211
  numContractAgreementsConsuming: e.numContractAgreementsConsuming,
1196
1212
  numContractAgreementsProviding: e.numContractAgreementsProviding,
1197
- transferProcessesConsuming: Re(
1213
+ transferProcessesConsuming: Ee(
1198
1214
  e.transferProcessesConsuming
1199
1215
  ),
1200
- transferProcessesProviding: Re(
1216
+ transferProcessesProviding: Ee(
1201
1217
  e.transferProcessesProviding
1202
1218
  ),
1203
1219
  connectorEndpoint: e.connectorEndpoint,
@@ -1208,8 +1224,8 @@ function Gr(e, t) {
1208
1224
  connectorCuratorName: e.connectorCuratorName,
1209
1225
  connectorMaintainerUrl: e.connectorMaintainerUrl,
1210
1226
  connectorMaintainerName: e.connectorMaintainerName,
1211
- connectorDapsConfig: s(e, "connectorDapsConfig") ? Mr(e.connectorDapsConfig) : void 0,
1212
- connectorMiwConfig: s(e, "connectorMiwConfig") ? Hr(e.connectorMiwConfig) : void 0
1227
+ connectorDapsConfig: c(e, "connectorDapsConfig") ? Zr(e.connectorDapsConfig) : void 0,
1228
+ connectorMiwConfig: c(e, "connectorMiwConfig") ? Hr(e.connectorMiwConfig) : void 0
1213
1229
  };
1214
1230
  }
1215
1231
  function wo(e) {
@@ -1220,10 +1236,10 @@ function wo(e) {
1220
1236
  numContractDefinitions: e.numContractDefinitions,
1221
1237
  numContractAgreementsConsuming: e.numContractAgreementsConsuming,
1222
1238
  numContractAgreementsProviding: e.numContractAgreementsProviding,
1223
- transferProcessesConsuming: ke(
1239
+ transferProcessesConsuming: Je(
1224
1240
  e.transferProcessesConsuming
1225
1241
  ),
1226
- transferProcessesProviding: ke(
1242
+ transferProcessesProviding: Je(
1227
1243
  e.transferProcessesProviding
1228
1244
  ),
1229
1245
  connectorEndpoint: e.connectorEndpoint,
@@ -1234,117 +1250,101 @@ function wo(e) {
1234
1250
  connectorCuratorName: e.connectorCuratorName,
1235
1251
  connectorMaintainerUrl: e.connectorMaintainerUrl,
1236
1252
  connectorMaintainerName: e.connectorMaintainerName,
1237
- connectorDapsConfig: Vr(
1253
+ connectorDapsConfig: $r(
1238
1254
  e.connectorDapsConfig
1239
1255
  ),
1240
- connectorMiwConfig: zr(e.connectorMiwConfig)
1256
+ connectorMiwConfig: Br(e.connectorMiwConfig)
1241
1257
  };
1242
1258
  }
1243
- const _o = {
1259
+ const To = {
1244
1260
  HttpData: "HTTP_DATA",
1245
1261
  OnRequest: "ON_REQUEST",
1246
1262
  Custom: "CUSTOM"
1247
1263
  };
1248
- function Kr(e) {
1249
- return Wr(e);
1264
+ function Wr(e) {
1265
+ return Yr(e);
1250
1266
  }
1251
- function Wr(e, t) {
1267
+ function Yr(e, t) {
1252
1268
  return e;
1253
1269
  }
1254
- function Oo(e) {
1270
+ function Co(e) {
1255
1271
  return e;
1256
1272
  }
1257
- const Po = {
1258
- AtomicConstraint: "ATOMIC_CONSTRAINT",
1259
- And: "AND",
1260
- Or: "OR",
1261
- Xor: "XOR"
1262
- };
1263
- function Yr(e) {
1273
+ function _o(e) {
1274
+ let t = !0;
1275
+ return t = t && "id" in e, t;
1276
+ }
1277
+ function Pe(e) {
1264
1278
  return Xr(e);
1265
1279
  }
1266
1280
  function Xr(e, t) {
1267
- return e;
1268
- }
1269
- function Io(e) {
1270
- return e;
1271
- }
1272
- function No(e) {
1273
- return !0;
1274
- }
1275
- function We(e) {
1276
- return jr(e);
1277
- }
1278
- function jr(e, t) {
1279
1281
  return e == null ? e : {
1280
- expressionType: s(e, "expressionType") ? Yr(e.expressionType) : void 0,
1281
- expressions: s(e, "expressions") ? e.expressions.map(We) : void 0,
1282
- atomicConstraint: s(e, "atomicConstraint") ? It(e.atomicConstraint) : void 0
1282
+ id: e.id,
1283
+ available: c(e, "available") ? e.available : void 0
1283
1284
  };
1284
1285
  }
1285
- function Ye(e) {
1286
+ function Po(e) {
1286
1287
  if (e !== void 0)
1287
1288
  return e === null ? null : {
1288
- expressionType: e.expressionType,
1289
- expressions: e.expressions === void 0 ? void 0 : e.expressions.map(Ye),
1290
- atomicConstraint: Dt(e.atomicConstraint)
1289
+ id: e.id,
1290
+ available: e.available
1291
1291
  };
1292
1292
  }
1293
- function Do(e) {
1293
+ function Io(e) {
1294
1294
  let t = !0;
1295
1295
  return t = t && "id" in e, t = t && "lastUpdatedDate" in e, t;
1296
1296
  }
1297
- function I(e) {
1298
- return en(e);
1297
+ function N(e) {
1298
+ return jr(e);
1299
1299
  }
1300
- function en(e, t) {
1300
+ function jr(e, t) {
1301
1301
  return e == null ? e : {
1302
1302
  id: e.id,
1303
1303
  lastUpdatedDate: new Date(e.lastUpdatedDate)
1304
1304
  };
1305
1305
  }
1306
- function bo(e) {
1306
+ function Oo(e) {
1307
1307
  if (e !== void 0)
1308
1308
  return e === null ? null : {
1309
1309
  id: e.id,
1310
1310
  lastUpdatedDate: e.lastUpdatedDate.toISOString()
1311
1311
  };
1312
1312
  }
1313
- function xo(e) {
1313
+ function No(e) {
1314
1314
  let t = !0;
1315
1315
  return t = t && "contractAgreementId" in e, t = t && "transferProcessRequestJsonLd" in e, t;
1316
1316
  }
1317
- function Ao(e) {
1318
- return tn(e);
1317
+ function bo(e) {
1318
+ return en(e);
1319
1319
  }
1320
- function tn(e, t) {
1320
+ function en(e, t) {
1321
1321
  return e == null ? e : {
1322
1322
  contractAgreementId: e.contractAgreementId,
1323
1323
  transferProcessRequestJsonLd: e.transferProcessRequestJsonLd
1324
1324
  };
1325
1325
  }
1326
- function rn(e) {
1326
+ function tn(e) {
1327
1327
  if (e !== void 0)
1328
1328
  return e === null ? null : {
1329
1329
  contractAgreementId: e.contractAgreementId,
1330
1330
  transferProcessRequestJsonLd: e.transferProcessRequestJsonLd
1331
1331
  };
1332
1332
  }
1333
- function Ro(e) {
1333
+ function Do(e) {
1334
1334
  let t = !0;
1335
1335
  return t = t && "contractAgreementId" in e, t = t && "dataSinkProperties" in e, t = t && "transferProcessProperties" in e, t;
1336
1336
  }
1337
- function ko(e) {
1338
- return nn(e);
1337
+ function Ao(e) {
1338
+ return rn(e);
1339
1339
  }
1340
- function nn(e, t) {
1340
+ function rn(e, t) {
1341
1341
  return e == null ? e : {
1342
1342
  contractAgreementId: e.contractAgreementId,
1343
1343
  dataSinkProperties: e.dataSinkProperties,
1344
1344
  transferProcessProperties: e.transferProcessProperties
1345
1345
  };
1346
1346
  }
1347
- function an(e) {
1347
+ function nn(e) {
1348
1348
  if (e !== void 0)
1349
1349
  return e === null ? null : {
1350
1350
  contractAgreementId: e.contractAgreementId,
@@ -1352,223 +1352,205 @@ function an(e) {
1352
1352
  transferProcessProperties: e.transferProcessProperties
1353
1353
  };
1354
1354
  }
1355
- function Eo(e) {
1355
+ function xo(e) {
1356
1356
  let t = !0;
1357
1357
  return t = t && "incomingTransferProcessCounts" in e, t = t && "outgoingTransferProcessCounts" in e, t;
1358
1358
  }
1359
- function on(e) {
1360
- return sn(e);
1359
+ function an(e) {
1360
+ return on(e);
1361
1361
  }
1362
- function sn(e, t) {
1362
+ function on(e, t) {
1363
1363
  return e == null ? e : {
1364
1364
  incomingTransferProcessCounts: e.incomingTransferProcessCounts,
1365
1365
  outgoingTransferProcessCounts: e.outgoingTransferProcessCounts
1366
1366
  };
1367
1367
  }
1368
- function cn(e) {
1368
+ function sn(e) {
1369
1369
  if (e !== void 0)
1370
1370
  return e === null ? null : {
1371
1371
  incomingTransferProcessCounts: e.incomingTransferProcessCounts,
1372
1372
  outgoingTransferProcessCounts: e.outgoingTransferProcessCounts
1373
1373
  };
1374
1374
  }
1375
- function Uo(e) {
1375
+ function Ro(e) {
1376
1376
  let t = !0;
1377
1377
  return t = t && "assetsCount" in e, t = t && "policiesCount" in e, t = t && "contractDefinitionsCount" in e, t = t && "contractAgreementsCount" in e, t = t && "transferProcessDto" in e, t;
1378
1378
  }
1379
- function dn(e) {
1380
- return un(e);
1379
+ function cn(e) {
1380
+ return dn(e);
1381
1381
  }
1382
- function un(e, t) {
1382
+ function dn(e, t) {
1383
1383
  return e == null ? e : {
1384
1384
  assetsCount: e.assetsCount,
1385
1385
  policiesCount: e.policiesCount,
1386
1386
  contractDefinitionsCount: e.contractDefinitionsCount,
1387
1387
  contractAgreementsCount: e.contractAgreementsCount,
1388
- transferProcessDto: on(
1388
+ transferProcessDto: an(
1389
1389
  e.transferProcessDto
1390
1390
  )
1391
1391
  };
1392
1392
  }
1393
- function Jo(e) {
1393
+ function ko(e) {
1394
1394
  if (e !== void 0)
1395
1395
  return e === null ? null : {
1396
1396
  assetsCount: e.assetsCount,
1397
1397
  policiesCount: e.policiesCount,
1398
1398
  contractDefinitionsCount: e.contractDefinitionsCount,
1399
1399
  contractAgreementsCount: e.contractAgreementsCount,
1400
- transferProcessDto: cn(
1400
+ transferProcessDto: sn(
1401
1401
  e.transferProcessDto
1402
1402
  )
1403
1403
  };
1404
1404
  }
1405
- function Fo(e) {
1406
- let t = !0;
1407
- return t = t && "expression" in e, t;
1408
- }
1409
- function ln(e) {
1410
- return fn(e);
1411
- }
1412
- function fn(e, t) {
1413
- return e == null ? e : {
1414
- expression: We(e.expression)
1415
- };
1416
- }
1417
- function pn(e) {
1418
- if (e !== void 0)
1419
- return e === null ? null : {
1420
- expression: Ye(e.expression)
1421
- };
1422
- }
1423
- function Lo(e) {
1405
+ function Uo(e) {
1424
1406
  let t = !0;
1425
- return t = t && "policyDefinitionId" in e, t;
1407
+ return t = t && "policyDefinitionId" in e, t = t && "expression" in e, t;
1426
1408
  }
1427
- function qo(e) {
1428
- return mn(e);
1409
+ function Eo(e) {
1410
+ return un(e);
1429
1411
  }
1430
- function mn(e, t) {
1412
+ function un(e, t) {
1431
1413
  return e == null ? e : {
1432
1414
  policyDefinitionId: e.policyDefinitionId,
1433
- permission: s(e, "permission") ? ln(e.permission) : void 0
1415
+ expression: xe(e.expression)
1434
1416
  };
1435
1417
  }
1436
- function hn(e) {
1418
+ function ln(e) {
1437
1419
  if (e !== void 0)
1438
1420
  return e === null ? null : {
1439
1421
  policyDefinitionId: e.policyDefinitionId,
1440
- permission: pn(e.permission)
1422
+ expression: Re(e.expression)
1441
1423
  };
1442
1424
  }
1443
- function Mo(e) {
1425
+ function Jo(e) {
1444
1426
  return !0;
1445
1427
  }
1446
- function gn(e) {
1447
- return yn(e);
1428
+ function fn(e) {
1429
+ return pn(e);
1448
1430
  }
1449
- function yn(e, t) {
1431
+ function pn(e, t) {
1450
1432
  return e == null ? e : {
1451
- constraints: s(e, "constraints") ? e.constraints.map(
1452
- Be
1433
+ constraints: c(e, "constraints") ? e.constraints.map(
1434
+ Ge
1453
1435
  ) : void 0
1454
1436
  };
1455
1437
  }
1456
- function vn(e) {
1438
+ function mn(e) {
1457
1439
  if (e !== void 0)
1458
1440
  return e === null ? null : {
1459
1441
  constraints: e.constraints === void 0 ? void 0 : e.constraints.map(
1460
- Qe
1442
+ Ke
1461
1443
  )
1462
1444
  };
1463
1445
  }
1464
- function Zo(e) {
1446
+ function Fo(e) {
1465
1447
  let t = !0;
1466
1448
  return t = t && "policyDefinitionId" in e, t = t && "policy" in e, t;
1467
1449
  }
1468
- function Vo(e) {
1469
- return Sn(e);
1450
+ function Lo(e) {
1451
+ return hn(e);
1470
1452
  }
1471
- function Sn(e, t) {
1453
+ function hn(e, t) {
1472
1454
  return e == null ? e : {
1473
1455
  policyDefinitionId: e.policyDefinitionId,
1474
- policy: gn(e.policy)
1456
+ policy: fn(e.policy)
1475
1457
  };
1476
1458
  }
1477
- function Tn(e) {
1459
+ function gn(e) {
1478
1460
  if (e !== void 0)
1479
1461
  return e === null ? null : {
1480
1462
  policyDefinitionId: e.policyDefinitionId,
1481
- policy: vn(e.policy)
1463
+ policy: mn(e.policy)
1482
1464
  };
1483
1465
  }
1484
- function Ho(e) {
1466
+ function qo(e) {
1485
1467
  let t = !0;
1486
1468
  return t = t && "policyDefinitionId" in e, t = t && "policy" in e, t;
1487
1469
  }
1488
- function Cn(e) {
1489
- return wn(e);
1470
+ function yn(e) {
1471
+ return vn(e);
1490
1472
  }
1491
- function wn(e, t) {
1473
+ function vn(e, t) {
1492
1474
  return e == null ? e : {
1493
1475
  policyDefinitionId: e.policyDefinitionId,
1494
- policy: xe(e.policy)
1476
+ policy: ke(e.policy)
1495
1477
  };
1496
1478
  }
1497
- function _n(e) {
1479
+ function Sn(e) {
1498
1480
  if (e !== void 0)
1499
1481
  return e === null ? null : {
1500
1482
  policyDefinitionId: e.policyDefinitionId,
1501
- policy: Ae(e.policy)
1483
+ policy: Ue(e.policy)
1502
1484
  };
1503
1485
  }
1504
- function $o(e) {
1486
+ function Mo(e) {
1505
1487
  let t = !0;
1506
1488
  return t = t && "policies" in e, t;
1507
1489
  }
1508
- function On(e) {
1509
- return Pn(e);
1490
+ function wn(e) {
1491
+ return Tn(e);
1510
1492
  }
1511
- function Pn(e, t) {
1493
+ function Tn(e, t) {
1512
1494
  return e == null ? e : {
1513
1495
  policies: e.policies.map(
1514
- Cn
1496
+ yn
1515
1497
  )
1516
1498
  };
1517
1499
  }
1518
- function zo(e) {
1500
+ function Zo(e) {
1519
1501
  if (e !== void 0)
1520
1502
  return e === null ? null : {
1521
- policies: e.policies.map(_n)
1503
+ policies: e.policies.map(Sn)
1522
1504
  };
1523
1505
  }
1524
- function Bo(e) {
1506
+ function Vo(e) {
1525
1507
  return !0;
1526
1508
  }
1527
- function In(e) {
1528
- return Nn(e);
1509
+ function Cn(e) {
1510
+ return _n(e);
1529
1511
  }
1530
- function Nn(e, t) {
1512
+ function _n(e, t) {
1531
1513
  return e == null ? e : {
1532
- secretName: s(e, "secretName") ? e.secretName : void 0,
1533
- rawValue: s(e, "rawValue") ? e.rawValue : void 0
1514
+ secretName: c(e, "secretName") ? e.secretName : void 0,
1515
+ rawValue: c(e, "rawValue") ? e.rawValue : void 0
1534
1516
  };
1535
1517
  }
1536
- function Dn(e) {
1518
+ function Pn(e) {
1537
1519
  if (e !== void 0)
1538
1520
  return e === null ? null : {
1539
1521
  secretName: e.secretName,
1540
1522
  rawValue: e.rawValue
1541
1523
  };
1542
1524
  }
1543
- function Qo(e) {
1525
+ function $o(e) {
1544
1526
  let t = !0;
1545
1527
  return t = t && "transferProcessId" in e, t = t && "createdDate" in e, t = t && "lastUpdatedDate" in e, t = t && "state" in e, t = t && "contractAgreementId" in e, t = t && "direction" in e, t = t && "counterPartyConnectorEndpoint" in e, t = t && "counterPartyParticipantId" in e, t = t && "assetName" in e, t = t && "assetId" in e, t;
1546
1528
  }
1547
- function bn(e) {
1548
- return xn(e);
1529
+ function In(e) {
1530
+ return On(e);
1549
1531
  }
1550
- function xn(e, t) {
1532
+ function On(e, t) {
1551
1533
  return e == null ? e : {
1552
1534
  transferProcessId: e.transferProcessId,
1553
1535
  createdDate: new Date(e.createdDate),
1554
1536
  lastUpdatedDate: new Date(e.lastUpdatedDate),
1555
- state: He(e.state),
1537
+ state: ze(e.state),
1556
1538
  contractAgreementId: e.contractAgreementId,
1557
- direction: Ve(e.direction),
1539
+ direction: He(e.direction),
1558
1540
  counterPartyConnectorEndpoint: e.counterPartyConnectorEndpoint,
1559
1541
  counterPartyParticipantId: e.counterPartyParticipantId,
1560
1542
  assetName: e.assetName,
1561
1543
  assetId: e.assetId,
1562
- errorMessage: s(e, "errorMessage") ? e.errorMessage : void 0
1544
+ errorMessage: c(e, "errorMessage") ? e.errorMessage : void 0
1563
1545
  };
1564
1546
  }
1565
- function An(e) {
1547
+ function Nn(e) {
1566
1548
  if (e !== void 0)
1567
1549
  return e === null ? null : {
1568
1550
  transferProcessId: e.transferProcessId,
1569
1551
  createdDate: e.createdDate.toISOString(),
1570
1552
  lastUpdatedDate: e.lastUpdatedDate.toISOString(),
1571
- state: $e(e.state),
1553
+ state: Be(e.state),
1572
1554
  contractAgreementId: e.contractAgreementId,
1573
1555
  direction: e.direction,
1574
1556
  counterPartyConnectorEndpoint: e.counterPartyConnectorEndpoint,
@@ -1578,29 +1560,29 @@ function An(e) {
1578
1560
  errorMessage: e.errorMessage
1579
1561
  };
1580
1562
  }
1581
- function Go(e) {
1563
+ function Ho(e) {
1582
1564
  let t = !0;
1583
1565
  return t = t && "transferEntries" in e, t;
1584
1566
  }
1585
- function Rn(e) {
1586
- return kn(e);
1567
+ function bn(e) {
1568
+ return Dn(e);
1587
1569
  }
1588
- function kn(e, t) {
1570
+ function Dn(e, t) {
1589
1571
  return e == null ? e : {
1590
1572
  transferEntries: e.transferEntries.map(
1591
- bn
1573
+ In
1592
1574
  )
1593
1575
  };
1594
1576
  }
1595
- function Ko(e) {
1577
+ function zo(e) {
1596
1578
  if (e !== void 0)
1597
1579
  return e === null ? null : {
1598
1580
  transferEntries: e.transferEntries.map(
1599
- An
1581
+ Nn
1600
1582
  )
1601
1583
  };
1602
1584
  }
1603
- const Wo = {
1585
+ const Bo = {
1604
1586
  Get: "GET",
1605
1587
  Post: "POST",
1606
1588
  Put: "PUT",
@@ -1608,50 +1590,50 @@ const Wo = {
1608
1590
  Delete: "DELETE",
1609
1591
  Options: "OPTIONS"
1610
1592
  };
1611
- function En(e) {
1612
- return Un(e);
1593
+ function An(e) {
1594
+ return xn(e);
1613
1595
  }
1614
- function Un(e, t) {
1596
+ function xn(e, t) {
1615
1597
  return e;
1616
1598
  }
1617
- function Yo(e) {
1599
+ function Qo(e) {
1618
1600
  return e;
1619
1601
  }
1620
- function Xo(e) {
1602
+ function Go(e) {
1621
1603
  let t = !0;
1622
1604
  return t = t && "baseUrl" in e, t;
1623
1605
  }
1624
- function Jn(e) {
1625
- return Fn(e);
1606
+ function Rn(e) {
1607
+ return kn(e);
1626
1608
  }
1627
- function Fn(e, t) {
1609
+ function kn(e, t) {
1628
1610
  return e == null ? e : {
1629
- method: s(e, "method") ? En(e.method) : void 0,
1611
+ method: c(e, "method") ? An(e.method) : void 0,
1630
1612
  baseUrl: e.baseUrl,
1631
- queryString: s(e, "queryString") ? e.queryString : void 0,
1632
- authHeaderName: s(e, "authHeaderName") ? e.authHeaderName : void 0,
1633
- authHeaderValue: s(e, "authHeaderValue") ? In(e.authHeaderValue) : void 0,
1634
- headers: s(e, "headers") ? e.headers : void 0,
1635
- enableMethodParameterization: s(
1613
+ queryString: c(e, "queryString") ? e.queryString : void 0,
1614
+ authHeaderName: c(e, "authHeaderName") ? e.authHeaderName : void 0,
1615
+ authHeaderValue: c(e, "authHeaderValue") ? Cn(e.authHeaderValue) : void 0,
1616
+ headers: c(e, "headers") ? e.headers : void 0,
1617
+ enableMethodParameterization: c(
1636
1618
  e,
1637
1619
  "enableMethodParameterization"
1638
1620
  ) ? e.enableMethodParameterization : void 0,
1639
- enablePathParameterization: s(e, "enablePathParameterization") ? e.enablePathParameterization : void 0,
1640
- enableQueryParameterization: s(
1621
+ enablePathParameterization: c(e, "enablePathParameterization") ? e.enablePathParameterization : void 0,
1622
+ enableQueryParameterization: c(
1641
1623
  e,
1642
1624
  "enableQueryParameterization"
1643
1625
  ) ? e.enableQueryParameterization : void 0,
1644
- enableBodyParameterization: s(e, "enableBodyParameterization") ? e.enableBodyParameterization : void 0
1626
+ enableBodyParameterization: c(e, "enableBodyParameterization") ? e.enableBodyParameterization : void 0
1645
1627
  };
1646
1628
  }
1647
- function Ln(e) {
1629
+ function Un(e) {
1648
1630
  if (e !== void 0)
1649
1631
  return e === null ? null : {
1650
1632
  method: e.method,
1651
1633
  baseUrl: e.baseUrl,
1652
1634
  queryString: e.queryString,
1653
1635
  authHeaderName: e.authHeaderName,
1654
- authHeaderValue: Dn(e.authHeaderValue),
1636
+ authHeaderValue: Pn(e.authHeaderValue),
1655
1637
  headers: e.headers,
1656
1638
  enableMethodParameterization: e.enableMethodParameterization,
1657
1639
  enablePathParameterization: e.enablePathParameterization,
@@ -1659,92 +1641,92 @@ function Ln(e) {
1659
1641
  enableBodyParameterization: e.enableBodyParameterization
1660
1642
  };
1661
1643
  }
1662
- function jo(e) {
1644
+ function Ko(e) {
1663
1645
  let t = !0;
1664
1646
  return t = t && "contactEmail" in e, t = t && "contactPreferredEmailSubject" in e, t;
1665
1647
  }
1666
- function qn(e) {
1667
- return Mn(e);
1648
+ function En(e) {
1649
+ return Jn(e);
1668
1650
  }
1669
- function Mn(e, t) {
1651
+ function Jn(e, t) {
1670
1652
  return e == null ? e : {
1671
1653
  contactEmail: e.contactEmail,
1672
1654
  contactPreferredEmailSubject: e.contactPreferredEmailSubject
1673
1655
  };
1674
1656
  }
1675
- function Zn(e) {
1657
+ function Fn(e) {
1676
1658
  if (e !== void 0)
1677
1659
  return e === null ? null : {
1678
1660
  contactEmail: e.contactEmail,
1679
1661
  contactPreferredEmailSubject: e.contactPreferredEmailSubject
1680
1662
  };
1681
1663
  }
1682
- function es(e) {
1664
+ function Wo(e) {
1683
1665
  let t = !0;
1684
1666
  return t = t && "type" in e, t;
1685
1667
  }
1686
1668
  function Xe(e) {
1687
- return Vn(e);
1669
+ return Ln(e);
1688
1670
  }
1689
- function Vn(e, t) {
1671
+ function Ln(e, t) {
1690
1672
  return e == null ? e : {
1691
- type: Kr(e.type),
1692
- httpData: s(e, "httpData") ? Jn(e.httpData) : void 0,
1693
- onRequest: s(e, "onRequest") ? qn(e.onRequest) : void 0,
1694
- customProperties: s(e, "customProperties") ? e.customProperties : void 0
1673
+ type: Wr(e.type),
1674
+ httpData: c(e, "httpData") ? Rn(e.httpData) : void 0,
1675
+ onRequest: c(e, "onRequest") ? En(e.onRequest) : void 0,
1676
+ customProperties: c(e, "customProperties") ? e.customProperties : void 0
1695
1677
  };
1696
1678
  }
1697
1679
  function je(e) {
1698
1680
  if (e !== void 0)
1699
1681
  return e === null ? null : {
1700
1682
  type: e.type,
1701
- httpData: Ln(e.httpData),
1702
- onRequest: Zn(e.onRequest),
1683
+ httpData: Un(e.httpData),
1684
+ onRequest: Fn(e.onRequest),
1703
1685
  customProperties: e.customProperties
1704
1686
  };
1705
1687
  }
1706
- function ts(e) {
1688
+ function Yo(e) {
1707
1689
  let t = !0;
1708
1690
  return t = t && "dataSource" in e, t = t && "id" in e, t;
1709
1691
  }
1710
- function rs(e) {
1711
- return Hn(e);
1692
+ function Xo(e) {
1693
+ return qn(e);
1712
1694
  }
1713
- function Hn(e, t) {
1695
+ function qn(e, t) {
1714
1696
  return e == null ? e : {
1715
1697
  dataSource: Xe(e.dataSource),
1716
1698
  id: e.id,
1717
- title: s(e, "title") ? e.title : void 0,
1718
- language: s(e, "language") ? e.language : void 0,
1719
- description: s(e, "description") ? e.description : void 0,
1720
- publisherHomepage: s(e, "publisherHomepage") ? e.publisherHomepage : void 0,
1721
- licenseUrl: s(e, "licenseUrl") ? e.licenseUrl : void 0,
1722
- version: s(e, "version") ? e.version : void 0,
1723
- keywords: s(e, "keywords") ? e.keywords : void 0,
1724
- mediaType: s(e, "mediaType") ? e.mediaType : void 0,
1725
- landingPageUrl: s(e, "landingPageUrl") ? e.landingPageUrl : void 0,
1726
- dataCategory: s(e, "dataCategory") ? e.dataCategory : void 0,
1727
- dataSubcategory: s(e, "dataSubcategory") ? e.dataSubcategory : void 0,
1728
- dataModel: s(e, "dataModel") ? e.dataModel : void 0,
1729
- geoReferenceMethod: s(e, "geoReferenceMethod") ? e.geoReferenceMethod : void 0,
1730
- transportMode: s(e, "transportMode") ? e.transportMode : void 0,
1731
- sovereignLegalName: s(e, "sovereignLegalName") ? e.sovereignLegalName : void 0,
1732
- geoLocation: s(e, "geoLocation") ? e.geoLocation : void 0,
1733
- nutsLocations: s(e, "nutsLocations") ? e.nutsLocations : void 0,
1734
- dataSampleUrls: s(e, "dataSampleUrls") ? e.dataSampleUrls : void 0,
1735
- referenceFileUrls: s(e, "referenceFileUrls") ? e.referenceFileUrls : void 0,
1736
- referenceFilesDescription: s(e, "referenceFilesDescription") ? e.referenceFilesDescription : void 0,
1737
- conditionsForUse: s(e, "conditionsForUse") ? e.conditionsForUse : void 0,
1738
- dataUpdateFrequency: s(e, "dataUpdateFrequency") ? e.dataUpdateFrequency : void 0,
1739
- temporalCoverageFrom: s(e, "temporalCoverageFrom") ? new Date(e.temporalCoverageFrom) : void 0,
1740
- temporalCoverageToInclusive: s(
1699
+ title: c(e, "title") ? e.title : void 0,
1700
+ language: c(e, "language") ? e.language : void 0,
1701
+ description: c(e, "description") ? e.description : void 0,
1702
+ publisherHomepage: c(e, "publisherHomepage") ? e.publisherHomepage : void 0,
1703
+ licenseUrl: c(e, "licenseUrl") ? e.licenseUrl : void 0,
1704
+ version: c(e, "version") ? e.version : void 0,
1705
+ keywords: c(e, "keywords") ? e.keywords : void 0,
1706
+ mediaType: c(e, "mediaType") ? e.mediaType : void 0,
1707
+ landingPageUrl: c(e, "landingPageUrl") ? e.landingPageUrl : void 0,
1708
+ dataCategory: c(e, "dataCategory") ? e.dataCategory : void 0,
1709
+ dataSubcategory: c(e, "dataSubcategory") ? e.dataSubcategory : void 0,
1710
+ dataModel: c(e, "dataModel") ? e.dataModel : void 0,
1711
+ geoReferenceMethod: c(e, "geoReferenceMethod") ? e.geoReferenceMethod : void 0,
1712
+ transportMode: c(e, "transportMode") ? e.transportMode : void 0,
1713
+ sovereignLegalName: c(e, "sovereignLegalName") ? e.sovereignLegalName : void 0,
1714
+ geoLocation: c(e, "geoLocation") ? e.geoLocation : void 0,
1715
+ nutsLocations: c(e, "nutsLocations") ? e.nutsLocations : void 0,
1716
+ dataSampleUrls: c(e, "dataSampleUrls") ? e.dataSampleUrls : void 0,
1717
+ referenceFileUrls: c(e, "referenceFileUrls") ? e.referenceFileUrls : void 0,
1718
+ referenceFilesDescription: c(e, "referenceFilesDescription") ? e.referenceFilesDescription : void 0,
1719
+ conditionsForUse: c(e, "conditionsForUse") ? e.conditionsForUse : void 0,
1720
+ dataUpdateFrequency: c(e, "dataUpdateFrequency") ? e.dataUpdateFrequency : void 0,
1721
+ temporalCoverageFrom: c(e, "temporalCoverageFrom") ? new Date(e.temporalCoverageFrom) : void 0,
1722
+ temporalCoverageToInclusive: c(
1741
1723
  e,
1742
1724
  "temporalCoverageToInclusive"
1743
1725
  ) ? new Date(e.temporalCoverageToInclusive) : void 0,
1744
- customJsonAsString: s(e, "customJsonAsString") ? e.customJsonAsString : void 0,
1745
- customJsonLdAsString: s(e, "customJsonLdAsString") ? e.customJsonLdAsString : void 0,
1746
- privateCustomJsonAsString: s(e, "privateCustomJsonAsString") ? e.privateCustomJsonAsString : void 0,
1747
- privateCustomJsonLdAsString: s(
1726
+ customJsonAsString: c(e, "customJsonAsString") ? e.customJsonAsString : void 0,
1727
+ customJsonLdAsString: c(e, "customJsonLdAsString") ? e.customJsonLdAsString : void 0,
1728
+ privateCustomJsonAsString: c(e, "privateCustomJsonAsString") ? e.privateCustomJsonAsString : void 0,
1729
+ privateCustomJsonLdAsString: c(
1748
1730
  e,
1749
1731
  "privateCustomJsonLdAsString"
1750
1732
  ) ? e.privateCustomJsonLdAsString : void 0
@@ -1785,52 +1767,52 @@ function et(e) {
1785
1767
  privateCustomJsonLdAsString: e.privateCustomJsonLdAsString
1786
1768
  };
1787
1769
  }
1788
- function ns(e) {
1770
+ function jo(e) {
1789
1771
  return !0;
1790
1772
  }
1791
- function is(e) {
1792
- return $n(e);
1773
+ function es(e) {
1774
+ return Mn(e);
1793
1775
  }
1794
- function $n(e, t) {
1776
+ function Mn(e, t) {
1795
1777
  return e == null ? e : {
1796
- dataSourceOverrideOrNull: s(e, "dataSourceOverrideOrNull") ? Xe(e.dataSourceOverrideOrNull) : void 0,
1797
- title: s(e, "title") ? e.title : void 0,
1798
- language: s(e, "language") ? e.language : void 0,
1799
- description: s(e, "description") ? e.description : void 0,
1800
- publisherHomepage: s(e, "publisherHomepage") ? e.publisherHomepage : void 0,
1801
- licenseUrl: s(e, "licenseUrl") ? e.licenseUrl : void 0,
1802
- version: s(e, "version") ? e.version : void 0,
1803
- keywords: s(e, "keywords") ? e.keywords : void 0,
1804
- mediaType: s(e, "mediaType") ? e.mediaType : void 0,
1805
- landingPageUrl: s(e, "landingPageUrl") ? e.landingPageUrl : void 0,
1806
- dataCategory: s(e, "dataCategory") ? e.dataCategory : void 0,
1807
- dataSubcategory: s(e, "dataSubcategory") ? e.dataSubcategory : void 0,
1808
- dataModel: s(e, "dataModel") ? e.dataModel : void 0,
1809
- geoReferenceMethod: s(e, "geoReferenceMethod") ? e.geoReferenceMethod : void 0,
1810
- transportMode: s(e, "transportMode") ? e.transportMode : void 0,
1811
- sovereignLegalName: s(e, "sovereignLegalName") ? e.sovereignLegalName : void 0,
1812
- geoLocation: s(e, "geoLocation") ? e.geoLocation : void 0,
1813
- nutsLocations: s(e, "nutsLocations") ? e.nutsLocations : void 0,
1814
- dataSampleUrls: s(e, "dataSampleUrls") ? e.dataSampleUrls : void 0,
1815
- referenceFileUrls: s(e, "referenceFileUrls") ? e.referenceFileUrls : void 0,
1816
- referenceFilesDescription: s(e, "referenceFilesDescription") ? e.referenceFilesDescription : void 0,
1817
- conditionsForUse: s(e, "conditionsForUse") ? e.conditionsForUse : void 0,
1818
- dataUpdateFrequency: s(e, "dataUpdateFrequency") ? e.dataUpdateFrequency : void 0,
1819
- temporalCoverageFrom: s(e, "temporalCoverageFrom") ? new Date(e.temporalCoverageFrom) : void 0,
1820
- temporalCoverageToInclusive: s(
1778
+ dataSourceOverrideOrNull: c(e, "dataSourceOverrideOrNull") ? Xe(e.dataSourceOverrideOrNull) : void 0,
1779
+ title: c(e, "title") ? e.title : void 0,
1780
+ language: c(e, "language") ? e.language : void 0,
1781
+ description: c(e, "description") ? e.description : void 0,
1782
+ publisherHomepage: c(e, "publisherHomepage") ? e.publisherHomepage : void 0,
1783
+ licenseUrl: c(e, "licenseUrl") ? e.licenseUrl : void 0,
1784
+ version: c(e, "version") ? e.version : void 0,
1785
+ keywords: c(e, "keywords") ? e.keywords : void 0,
1786
+ mediaType: c(e, "mediaType") ? e.mediaType : void 0,
1787
+ landingPageUrl: c(e, "landingPageUrl") ? e.landingPageUrl : void 0,
1788
+ dataCategory: c(e, "dataCategory") ? e.dataCategory : void 0,
1789
+ dataSubcategory: c(e, "dataSubcategory") ? e.dataSubcategory : void 0,
1790
+ dataModel: c(e, "dataModel") ? e.dataModel : void 0,
1791
+ geoReferenceMethod: c(e, "geoReferenceMethod") ? e.geoReferenceMethod : void 0,
1792
+ transportMode: c(e, "transportMode") ? e.transportMode : void 0,
1793
+ sovereignLegalName: c(e, "sovereignLegalName") ? e.sovereignLegalName : void 0,
1794
+ geoLocation: c(e, "geoLocation") ? e.geoLocation : void 0,
1795
+ nutsLocations: c(e, "nutsLocations") ? e.nutsLocations : void 0,
1796
+ dataSampleUrls: c(e, "dataSampleUrls") ? e.dataSampleUrls : void 0,
1797
+ referenceFileUrls: c(e, "referenceFileUrls") ? e.referenceFileUrls : void 0,
1798
+ referenceFilesDescription: c(e, "referenceFilesDescription") ? e.referenceFilesDescription : void 0,
1799
+ conditionsForUse: c(e, "conditionsForUse") ? e.conditionsForUse : void 0,
1800
+ dataUpdateFrequency: c(e, "dataUpdateFrequency") ? e.dataUpdateFrequency : void 0,
1801
+ temporalCoverageFrom: c(e, "temporalCoverageFrom") ? new Date(e.temporalCoverageFrom) : void 0,
1802
+ temporalCoverageToInclusive: c(
1821
1803
  e,
1822
1804
  "temporalCoverageToInclusive"
1823
1805
  ) ? new Date(e.temporalCoverageToInclusive) : void 0,
1824
- customJsonAsString: s(e, "customJsonAsString") ? e.customJsonAsString : void 0,
1825
- customJsonLdAsString: s(e, "customJsonLdAsString") ? e.customJsonLdAsString : void 0,
1826
- privateCustomJsonAsString: s(e, "privateCustomJsonAsString") ? e.privateCustomJsonAsString : void 0,
1827
- privateCustomJsonLdAsString: s(
1806
+ customJsonAsString: c(e, "customJsonAsString") ? e.customJsonAsString : void 0,
1807
+ customJsonLdAsString: c(e, "customJsonLdAsString") ? e.customJsonLdAsString : void 0,
1808
+ privateCustomJsonAsString: c(e, "privateCustomJsonAsString") ? e.privateCustomJsonAsString : void 0,
1809
+ privateCustomJsonLdAsString: c(
1828
1810
  e,
1829
1811
  "privateCustomJsonLdAsString"
1830
1812
  ) ? e.privateCustomJsonLdAsString : void 0
1831
1813
  };
1832
1814
  }
1833
- function zn(e) {
1815
+ function Zn(e) {
1834
1816
  if (e !== void 0)
1835
1817
  return e === null ? null : {
1836
1818
  dataSourceOverrideOrNull: je(
@@ -1866,79 +1848,79 @@ function zn(e) {
1866
1848
  privateCustomJsonLdAsString: e.privateCustomJsonLdAsString
1867
1849
  };
1868
1850
  }
1869
- function as(e) {
1851
+ function ts(e) {
1870
1852
  let t = !0;
1871
1853
  return t = t && "contractNegotiationId" in e, t = t && "createdAt" in e, t = t && "state" in e, t;
1872
1854
  }
1873
- function Ee(e) {
1874
- return Bn(e);
1855
+ function Fe(e) {
1856
+ return Vn(e);
1875
1857
  }
1876
- function Bn(e, t) {
1858
+ function Vn(e, t) {
1877
1859
  return e == null ? e : {
1878
1860
  contractNegotiationId: e.contractNegotiationId,
1879
1861
  createdAt: new Date(e.createdAt),
1880
- contractAgreementId: s(e, "contractAgreementId") ? e.contractAgreementId : void 0,
1881
- state: Ur(e.state)
1862
+ contractAgreementId: c(e, "contractAgreementId") ? e.contractAgreementId : void 0,
1863
+ state: Jr(e.state)
1882
1864
  };
1883
1865
  }
1884
- function os(e) {
1866
+ function rs(e) {
1885
1867
  if (e !== void 0)
1886
1868
  return e === null ? null : {
1887
1869
  contractNegotiationId: e.contractNegotiationId,
1888
1870
  createdAt: e.createdAt.toISOString(),
1889
1871
  contractAgreementId: e.contractAgreementId,
1890
- state: Fr(e.state)
1872
+ state: Lr(e.state)
1891
1873
  };
1892
1874
  }
1893
- function ss(e) {
1875
+ function ns(e) {
1894
1876
  let t = !0;
1895
1877
  return t = t && "contractOfferId" in e, t = t && "policy" in e, t;
1896
1878
  }
1897
- function Qn(e) {
1898
- return Gn(e);
1879
+ function $n(e) {
1880
+ return Hn(e);
1899
1881
  }
1900
- function Gn(e, t) {
1882
+ function Hn(e, t) {
1901
1883
  return e == null ? e : {
1902
1884
  contractOfferId: e.contractOfferId,
1903
- policy: xe(e.policy)
1885
+ policy: ke(e.policy)
1904
1886
  };
1905
1887
  }
1906
- function Kn(e) {
1888
+ function zn(e) {
1907
1889
  if (e !== void 0)
1908
1890
  return e === null ? null : {
1909
1891
  contractOfferId: e.contractOfferId,
1910
- policy: Ae(e.policy)
1892
+ policy: Ue(e.policy)
1911
1893
  };
1912
1894
  }
1913
- function cs(e) {
1895
+ function is(e) {
1914
1896
  let t = !0;
1915
1897
  return t = t && "endpoint" in e, t = t && "participantId" in e, t = t && "asset" in e, t = t && "contractOffers" in e, t;
1916
1898
  }
1917
1899
  function tt(e) {
1918
- return Wn(e);
1900
+ return Bn(e);
1919
1901
  }
1920
- function Wn(e, t) {
1902
+ function Bn(e, t) {
1921
1903
  return e == null ? e : {
1922
1904
  endpoint: e.endpoint,
1923
1905
  participantId: e.participantId,
1924
- asset: Ce(e.asset),
1906
+ asset: Te(e.asset),
1925
1907
  contractOffers: e.contractOffers.map(
1926
- Qn
1908
+ $n
1927
1909
  )
1928
1910
  };
1929
1911
  }
1930
- function ds(e) {
1912
+ function as(e) {
1931
1913
  if (e !== void 0)
1932
1914
  return e === null ? null : {
1933
1915
  endpoint: e.endpoint,
1934
1916
  participantId: e.participantId,
1935
- asset: be(e.asset),
1917
+ asset: Ae(e.asset),
1936
1918
  contractOffers: e.contractOffers.map(
1937
- Kn
1919
+ zn
1938
1920
  )
1939
1921
  };
1940
1922
  }
1941
- class Yn extends W {
1923
+ class Qn extends W {
1942
1924
  /**
1943
1925
  * Available and used resources of a connector.
1944
1926
  */
@@ -1952,9 +1934,9 @@ class Yn extends W {
1952
1934
  },
1953
1935
  t
1954
1936
  );
1955
- return new C(
1937
+ return new T(
1956
1938
  i,
1957
- (a) => Zt(a)
1939
+ (a) => Ft(a)
1958
1940
  );
1959
1941
  }
1960
1942
  /**
@@ -1969,12 +1951,12 @@ class Yn extends W {
1969
1951
  */
1970
1952
  async fileUploadCreateAssetRaw(t, r) {
1971
1953
  if (t.blobId === null || t.blobId === void 0)
1972
- throw new R(
1954
+ throw new I(
1973
1955
  "blobId",
1974
1956
  "Required parameter requestParameters.blobId was null or undefined when calling fileUploadCreateAsset."
1975
1957
  );
1976
1958
  if (t.uiAssetCreateRequest === null || t.uiAssetCreateRequest === void 0)
1977
- throw new R(
1959
+ throw new I(
1978
1960
  "uiAssetCreateRequest",
1979
1961
  "Required parameter requestParameters.uiAssetCreateRequest was null or undefined when calling fileUploadCreateAsset."
1980
1962
  );
@@ -2018,7 +2000,7 @@ class Yn extends W {
2018
2000
  },
2019
2001
  t
2020
2002
  );
2021
- return this.isJsonMime(i.headers.get("content-type")) ? new C(i) : new St(i);
2003
+ return this.isJsonMime(i.headers.get("content-type")) ? new T(i) : new St(i);
2022
2004
  }
2023
2005
  /**
2024
2006
  * Requests a Blob URL with a SAS Token so that the UI can directly upload the file to the Azure Blob Storage. Returns the Blob ID / Token.
@@ -2028,7 +2010,7 @@ class Yn extends W {
2028
2010
  return await (await this.fileUploadRequestSasTokenRaw(t)).value();
2029
2011
  }
2030
2012
  }
2031
- class Xn extends W {
2013
+ class Gn extends W {
2032
2014
  /**
2033
2015
  * Create a new Asset
2034
2016
  */
@@ -2047,9 +2029,9 @@ class Xn extends W {
2047
2029
  },
2048
2030
  r
2049
2031
  );
2050
- return new C(
2032
+ return new T(
2051
2033
  a,
2052
- (o) => I(o)
2034
+ (o) => N(o)
2053
2035
  );
2054
2036
  }
2055
2037
  /**
@@ -2079,9 +2061,9 @@ class Xn extends W {
2079
2061
  },
2080
2062
  r
2081
2063
  );
2082
- return new C(
2064
+ return new T(
2083
2065
  a,
2084
- (o) => I(o)
2066
+ (o) => N(o)
2085
2067
  );
2086
2068
  }
2087
2069
  /**
@@ -2094,7 +2076,7 @@ class Xn extends W {
2094
2076
  )).value();
2095
2077
  }
2096
2078
  /**
2097
- * Create a new Policy Definition
2079
+ * [Deprecated] Create a new Policy Definition from a list of constraints. Use createPolicyDefinitionV2 instead.
2098
2080
  */
2099
2081
  async createPolicyDefinitionRaw(t, r) {
2100
2082
  const n = {}, i = {};
@@ -2105,19 +2087,19 @@ class Xn extends W {
2105
2087
  method: "POST",
2106
2088
  headers: i,
2107
2089
  query: n,
2108
- body: Tn(
2090
+ body: gn(
2109
2091
  t.policyDefinitionCreateRequest
2110
2092
  )
2111
2093
  },
2112
2094
  r
2113
2095
  );
2114
- return new C(
2096
+ return new T(
2115
2097
  a,
2116
- (o) => I(o)
2098
+ (o) => N(o)
2117
2099
  );
2118
2100
  }
2119
2101
  /**
2120
- * Create a new Policy Definition
2102
+ * [Deprecated] Create a new Policy Definition from a list of constraints. Use createPolicyDefinitionV2 instead.
2121
2103
  */
2122
2104
  async createPolicyDefinition(t = {}, r) {
2123
2105
  return await (await this.createPolicyDefinitionRaw(
@@ -2125,12 +2107,44 @@ class Xn extends W {
2125
2107
  r
2126
2108
  )).value();
2127
2109
  }
2110
+ /**
2111
+ * Create a new Policy Definition
2112
+ */
2113
+ async createPolicyDefinitionV2Raw(t, r) {
2114
+ const n = {}, i = {};
2115
+ i["Content-Type"] = "application/json";
2116
+ const a = await this.request(
2117
+ {
2118
+ path: "/wrapper/ui/v2/pages/policy-page/policy-definitions",
2119
+ method: "POST",
2120
+ headers: i,
2121
+ query: n,
2122
+ body: ln(
2123
+ t.policyDefinitionCreateDto
2124
+ )
2125
+ },
2126
+ r
2127
+ );
2128
+ return new T(
2129
+ a,
2130
+ (o) => N(o)
2131
+ );
2132
+ }
2133
+ /**
2134
+ * Create a new Policy Definition
2135
+ */
2136
+ async createPolicyDefinitionV2(t = {}, r) {
2137
+ return await (await this.createPolicyDefinitionV2Raw(
2138
+ t,
2139
+ r
2140
+ )).value();
2141
+ }
2128
2142
  /**
2129
2143
  * Delete an Asset
2130
2144
  */
2131
2145
  async deleteAssetRaw(t, r) {
2132
2146
  if (t.assetId === null || t.assetId === void 0)
2133
- throw new R(
2147
+ throw new I(
2134
2148
  "assetId",
2135
2149
  "Required parameter requestParameters.assetId was null or undefined when calling deleteAsset."
2136
2150
  );
@@ -2146,9 +2160,9 @@ class Xn extends W {
2146
2160
  },
2147
2161
  r
2148
2162
  );
2149
- return new C(
2163
+ return new T(
2150
2164
  a,
2151
- (o) => I(o)
2165
+ (o) => N(o)
2152
2166
  );
2153
2167
  }
2154
2168
  /**
@@ -2165,7 +2179,7 @@ class Xn extends W {
2165
2179
  */
2166
2180
  async deleteContractDefinitionRaw(t, r) {
2167
2181
  if (t.contractDefinitionId === null || t.contractDefinitionId === void 0)
2168
- throw new R(
2182
+ throw new I(
2169
2183
  "contractDefinitionId",
2170
2184
  "Required parameter requestParameters.contractDefinitionId was null or undefined when calling deleteContractDefinition."
2171
2185
  );
@@ -2183,9 +2197,9 @@ class Xn extends W {
2183
2197
  },
2184
2198
  r
2185
2199
  );
2186
- return new C(
2200
+ return new T(
2187
2201
  a,
2188
- (o) => I(o)
2202
+ (o) => N(o)
2189
2203
  );
2190
2204
  }
2191
2205
  /**
@@ -2202,7 +2216,7 @@ class Xn extends W {
2202
2216
  */
2203
2217
  async deletePolicyDefinitionRaw(t, r) {
2204
2218
  if (t.policyId === null || t.policyId === void 0)
2205
- throw new R(
2219
+ throw new I(
2206
2220
  "policyId",
2207
2221
  "Required parameter requestParameters.policyId was null or undefined when calling deletePolicyDefinition."
2208
2222
  );
@@ -2218,9 +2232,9 @@ class Xn extends W {
2218
2232
  },
2219
2233
  r
2220
2234
  );
2221
- return new C(
2235
+ return new T(
2222
2236
  a,
2223
- (o) => I(o)
2237
+ (o) => N(o)
2224
2238
  );
2225
2239
  }
2226
2240
  /**
@@ -2237,7 +2251,7 @@ class Xn extends W {
2237
2251
  */
2238
2252
  async editAssetRaw(t, r) {
2239
2253
  if (t.assetId === null || t.assetId === void 0)
2240
- throw new R(
2254
+ throw new I(
2241
2255
  "assetId",
2242
2256
  "Required parameter requestParameters.assetId was null or undefined when calling editAsset."
2243
2257
  );
@@ -2252,15 +2266,15 @@ class Xn extends W {
2252
2266
  method: "PUT",
2253
2267
  headers: i,
2254
2268
  query: n,
2255
- body: zn(
2269
+ body: Zn(
2256
2270
  t.uiAssetEditRequest
2257
2271
  )
2258
2272
  },
2259
2273
  r
2260
2274
  );
2261
- return new C(
2275
+ return new T(
2262
2276
  a,
2263
- (o) => I(o)
2277
+ (o) => N(o)
2264
2278
  );
2265
2279
  }
2266
2280
  /**
@@ -2285,7 +2299,7 @@ class Xn extends W {
2285
2299
  },
2286
2300
  t
2287
2301
  );
2288
- return new C(
2302
+ return new T(
2289
2303
  i,
2290
2304
  (a) => _t(a)
2291
2305
  );
@@ -2311,7 +2325,7 @@ class Xn extends W {
2311
2325
  },
2312
2326
  r
2313
2327
  );
2314
- return new C(
2328
+ return new T(
2315
2329
  a,
2316
2330
  (o) => o.map(tt)
2317
2331
  );
@@ -2337,15 +2351,15 @@ class Xn extends W {
2337
2351
  method: "POST",
2338
2352
  headers: i,
2339
2353
  query: n,
2340
- body: hr(
2354
+ body: gr(
2341
2355
  t.contractAgreementPageQuery
2342
2356
  )
2343
2357
  },
2344
2358
  r
2345
2359
  );
2346
- return new C(
2360
+ return new T(
2347
2361
  a,
2348
- (o) => fr(o)
2362
+ (o) => pr(o)
2349
2363
  );
2350
2364
  }
2351
2365
  /**
@@ -2370,9 +2384,9 @@ class Xn extends W {
2370
2384
  },
2371
2385
  t
2372
2386
  );
2373
- return new C(
2387
+ return new T(
2374
2388
  i,
2375
- (a) => Nr(a)
2389
+ (a) => br(a)
2376
2390
  );
2377
2391
  }
2378
2392
  /**
@@ -2386,7 +2400,7 @@ class Xn extends W {
2386
2400
  */
2387
2401
  async getContractNegotiationRaw(t, r) {
2388
2402
  if (t.contractNegotiationId === null || t.contractNegotiationId === void 0)
2389
- throw new R(
2403
+ throw new I(
2390
2404
  "contractNegotiationId",
2391
2405
  "Required parameter requestParameters.contractNegotiationId was null or undefined when calling getContractNegotiation."
2392
2406
  );
@@ -2404,9 +2418,9 @@ class Xn extends W {
2404
2418
  },
2405
2419
  r
2406
2420
  );
2407
- return new C(
2421
+ return new T(
2408
2422
  a,
2409
- (o) => Ee(o)
2423
+ (o) => Fe(o)
2410
2424
  );
2411
2425
  }
2412
2426
  /**
@@ -2431,9 +2445,9 @@ class Xn extends W {
2431
2445
  },
2432
2446
  t
2433
2447
  );
2434
- return new C(
2448
+ return new T(
2435
2449
  i,
2436
- (a) => Qr(a)
2450
+ (a) => Gr(a)
2437
2451
  );
2438
2452
  }
2439
2453
  /**
@@ -2455,9 +2469,9 @@ class Xn extends W {
2455
2469
  },
2456
2470
  t
2457
2471
  );
2458
- return new C(
2472
+ return new T(
2459
2473
  i,
2460
- (a) => On(a)
2474
+ (a) => wn(a)
2461
2475
  );
2462
2476
  }
2463
2477
  /**
@@ -2479,9 +2493,9 @@ class Xn extends W {
2479
2493
  },
2480
2494
  t
2481
2495
  );
2482
- return new C(
2496
+ return new T(
2483
2497
  i,
2484
- (a) => Rn(a)
2498
+ (a) => bn(a)
2485
2499
  );
2486
2500
  }
2487
2501
  /**
@@ -2495,7 +2509,7 @@ class Xn extends W {
2495
2509
  */
2496
2510
  async getTransferProcessAssetRaw(t, r) {
2497
2511
  if (t.transferProcessId === null || t.transferProcessId === void 0)
2498
- throw new R(
2512
+ throw new I(
2499
2513
  "transferProcessId",
2500
2514
  "Required parameter requestParameters.transferProcessId was null or undefined when calling getTransferProcessAsset."
2501
2515
  );
@@ -2513,9 +2527,9 @@ class Xn extends W {
2513
2527
  },
2514
2528
  r
2515
2529
  );
2516
- return new C(
2530
+ return new T(
2517
2531
  a,
2518
- (o) => Ce(o)
2532
+ (o) => Te(o)
2519
2533
  );
2520
2534
  }
2521
2535
  /**
@@ -2539,15 +2553,15 @@ class Xn extends W {
2539
2553
  method: "POST",
2540
2554
  headers: i,
2541
2555
  query: n,
2542
- body: Rr(
2556
+ body: kr(
2543
2557
  t.contractNegotiationRequest
2544
2558
  )
2545
2559
  },
2546
2560
  r
2547
2561
  );
2548
- return new C(
2562
+ return new T(
2549
2563
  a,
2550
- (o) => Ee(o)
2564
+ (o) => Fe(o)
2551
2565
  );
2552
2566
  }
2553
2567
  /**
@@ -2571,15 +2585,15 @@ class Xn extends W {
2571
2585
  method: "POST",
2572
2586
  headers: i,
2573
2587
  query: n,
2574
- body: rn(
2588
+ body: tn(
2575
2589
  t.initiateCustomTransferRequest
2576
2590
  )
2577
2591
  },
2578
2592
  r
2579
2593
  );
2580
- return new C(
2594
+ return new T(
2581
2595
  a,
2582
- (o) => I(o)
2596
+ (o) => N(o)
2583
2597
  );
2584
2598
  }
2585
2599
  /**
@@ -2603,15 +2617,15 @@ class Xn extends W {
2603
2617
  method: "POST",
2604
2618
  headers: i,
2605
2619
  query: n,
2606
- body: an(
2620
+ body: nn(
2607
2621
  t.initiateTransferRequest
2608
2622
  )
2609
2623
  },
2610
2624
  r
2611
2625
  );
2612
- return new C(
2626
+ return new T(
2613
2627
  a,
2614
- (o) => I(o)
2628
+ (o) => N(o)
2615
2629
  );
2616
2630
  }
2617
2631
  /**
@@ -2624,81 +2638,156 @@ class Xn extends W {
2624
2638
  )).value();
2625
2639
  }
2626
2640
  /**
2627
- * Terminates a contract agreement designated by its contract agreement id.
2641
+ * Validates if the provided assetId is already taken
2628
2642
  */
2629
- async terminateContractAgreementRaw(t, r) {
2630
- if (t.contractAgreementId === null || t.contractAgreementId === void 0)
2631
- throw new R(
2632
- "contractAgreementId",
2633
- "Required parameter requestParameters.contractAgreementId was null or undefined when calling terminateContractAgreement."
2643
+ async isAssetIdAvailableRaw(t, r) {
2644
+ if (t.assetId === null || t.assetId === void 0)
2645
+ throw new I(
2646
+ "assetId",
2647
+ "Required parameter requestParameters.assetId was null or undefined when calling isAssetIdAvailable."
2634
2648
  );
2635
- const n = {}, i = {};
2636
- i["Content-Type"] = "application/json";
2637
- const a = await this.request(
2649
+ const n = {}, i = {}, a = await this.request(
2638
2650
  {
2639
- path: "/wrapper/ui/pages/content-agreement-page/{contractAgreementId}/terminate".replace(
2640
- "{contractAgreementId}",
2651
+ path: "/wrapper/ui/pages/data-offer-page/validate-asset-id/{assetId}".replace(
2652
+ "{assetId}",
2653
+ encodeURIComponent(String(t.assetId))
2654
+ ),
2655
+ method: "GET",
2656
+ headers: i,
2657
+ query: n
2658
+ },
2659
+ r
2660
+ );
2661
+ return new T(
2662
+ a,
2663
+ (o) => Pe(o)
2664
+ );
2665
+ }
2666
+ /**
2667
+ * Validates if the provided assetId is already taken
2668
+ */
2669
+ async isAssetIdAvailable(t, r) {
2670
+ return await (await this.isAssetIdAvailableRaw(
2671
+ t,
2672
+ r
2673
+ )).value();
2674
+ }
2675
+ /**
2676
+ * Validates if the provided contractDefinitionId is already taken
2677
+ */
2678
+ async isContractDefinitionIdAvailableRaw(t, r) {
2679
+ if (t.contractDefinitionId === null || t.contractDefinitionId === void 0)
2680
+ throw new I(
2681
+ "contractDefinitionId",
2682
+ "Required parameter requestParameters.contractDefinitionId was null or undefined when calling isContractDefinitionIdAvailable."
2683
+ );
2684
+ const n = {}, i = {}, a = await this.request(
2685
+ {
2686
+ path: "/wrapper/ui/pages/data-offer-page/validate-contract-definition-id/{contractDefinitionId}".replace(
2687
+ "{contractDefinitionId}",
2641
2688
  encodeURIComponent(
2642
- String(t.contractAgreementId)
2689
+ String(t.contractDefinitionId)
2643
2690
  )
2644
2691
  ),
2645
- method: "POST",
2692
+ method: "GET",
2646
2693
  headers: i,
2647
- query: n,
2648
- body: qr(
2649
- t.contractTerminationRequest
2650
- )
2694
+ query: n
2651
2695
  },
2652
2696
  r
2653
2697
  );
2654
- return new C(
2698
+ return new T(
2655
2699
  a,
2656
- (o) => I(o)
2700
+ (o) => Pe(o)
2657
2701
  );
2658
2702
  }
2659
2703
  /**
2660
- * Terminates a contract agreement designated by its contract agreement id.
2704
+ * Validates if the provided contractDefinitionId is already taken
2661
2705
  */
2662
- async terminateContractAgreement(t, r) {
2663
- return await (await this.terminateContractAgreementRaw(
2706
+ async isContractDefinitionIdAvailable(t, r) {
2707
+ return await (await this.isContractDefinitionIdAvailableRaw(
2664
2708
  t,
2665
2709
  r
2666
2710
  )).value();
2667
2711
  }
2668
- }
2669
- class jn extends W {
2670
2712
  /**
2671
- * Create a new Policy Definition
2713
+ * Validates if the provided policyId is already taken
2714
+ */
2715
+ async isPolicyIdAvailableRaw(t, r) {
2716
+ if (t.policyId === null || t.policyId === void 0)
2717
+ throw new I(
2718
+ "policyId",
2719
+ "Required parameter requestParameters.policyId was null or undefined when calling isPolicyIdAvailable."
2720
+ );
2721
+ const n = {}, i = {}, a = await this.request(
2722
+ {
2723
+ path: "/wrapper/ui/pages/data-offer-page/validate-policy-id/{policyId}".replace(
2724
+ "{policyId}",
2725
+ encodeURIComponent(String(t.policyId))
2726
+ ),
2727
+ method: "GET",
2728
+ headers: i,
2729
+ query: n
2730
+ },
2731
+ r
2732
+ );
2733
+ return new T(
2734
+ a,
2735
+ (o) => Pe(o)
2736
+ );
2737
+ }
2738
+ /**
2739
+ * Validates if the provided policyId is already taken
2740
+ */
2741
+ async isPolicyIdAvailable(t, r) {
2742
+ return await (await this.isPolicyIdAvailableRaw(
2743
+ t,
2744
+ r
2745
+ )).value();
2746
+ }
2747
+ /**
2748
+ * Terminates a contract agreement designated by its contract agreement id.
2672
2749
  */
2673
- async createPolicyDefinitionUseCaseRaw(t, r) {
2750
+ async terminateContractAgreementRaw(t, r) {
2751
+ if (t.contractAgreementId === null || t.contractAgreementId === void 0)
2752
+ throw new I(
2753
+ "contractAgreementId",
2754
+ "Required parameter requestParameters.contractAgreementId was null or undefined when calling terminateContractAgreement."
2755
+ );
2674
2756
  const n = {}, i = {};
2675
2757
  i["Content-Type"] = "application/json";
2676
2758
  const a = await this.request(
2677
2759
  {
2678
- path: "/wrapper/use-case-api/policy-definition",
2760
+ path: "/wrapper/ui/pages/content-agreement-page/{contractAgreementId}/terminate".replace(
2761
+ "{contractAgreementId}",
2762
+ encodeURIComponent(
2763
+ String(t.contractAgreementId)
2764
+ )
2765
+ ),
2679
2766
  method: "POST",
2680
2767
  headers: i,
2681
2768
  query: n,
2682
- body: hn(
2683
- t.policyCreateRequest
2769
+ body: Mr(
2770
+ t.contractTerminationRequest
2684
2771
  )
2685
2772
  },
2686
2773
  r
2687
2774
  );
2688
- return new C(
2775
+ return new T(
2689
2776
  a,
2690
- (o) => I(o)
2777
+ (o) => N(o)
2691
2778
  );
2692
2779
  }
2693
2780
  /**
2694
- * Create a new Policy Definition
2781
+ * Terminates a contract agreement designated by its contract agreement id.
2695
2782
  */
2696
- async createPolicyDefinitionUseCase(t = {}, r) {
2697
- return await (await this.createPolicyDefinitionUseCaseRaw(
2783
+ async terminateContractAgreement(t, r) {
2784
+ return await (await this.terminateContractAgreementRaw(
2698
2785
  t,
2699
2786
  r
2700
2787
  )).value();
2701
2788
  }
2789
+ }
2790
+ class Kn extends W {
2702
2791
  /**
2703
2792
  * Basic KPIs about the running EDC Connector.
2704
2793
  */
@@ -2712,9 +2801,9 @@ class jn extends W {
2712
2801
  },
2713
2802
  t
2714
2803
  );
2715
- return new C(
2804
+ return new T(
2716
2805
  i,
2717
- (a) => dn(a)
2806
+ (a) => cn(a)
2718
2807
  );
2719
2808
  }
2720
2809
  /**
@@ -2736,7 +2825,7 @@ class jn extends W {
2736
2825
  },
2737
2826
  t
2738
2827
  );
2739
- return new C(i);
2828
+ return new T(i);
2740
2829
  }
2741
2830
  /**
2742
2831
  * List available functions in policies, prohibitions and obligations.
@@ -2749,7 +2838,7 @@ class jn extends W {
2749
2838
  */
2750
2839
  async queryCatalogRaw(t, r) {
2751
2840
  if (t.catalogQuery === null || t.catalogQuery === void 0)
2752
- throw new R(
2841
+ throw new I(
2753
2842
  "catalogQuery",
2754
2843
  "Required parameter requestParameters.catalogQuery was null or undefined when calling queryCatalog."
2755
2844
  );
@@ -2761,11 +2850,11 @@ class jn extends W {
2761
2850
  method: "POST",
2762
2851
  headers: i,
2763
2852
  query: n,
2764
- body: Mt(t.catalogQuery)
2853
+ body: Jt(t.catalogQuery)
2765
2854
  },
2766
2855
  r
2767
2856
  );
2768
- return new C(
2857
+ return new T(
2769
2858
  a,
2770
2859
  (o) => o.map(tt)
2771
2860
  );
@@ -2780,7 +2869,7 @@ class jn extends W {
2780
2869
  )).value();
2781
2870
  }
2782
2871
  }
2783
- var T;
2872
+ var w;
2784
2873
  (function(e) {
2785
2874
  e.assertEqual = (i) => i;
2786
2875
  function t(i) {
@@ -2795,9 +2884,9 @@ var T;
2795
2884
  a[o] = o;
2796
2885
  return a;
2797
2886
  }, e.getValidEnumValues = (i) => {
2798
- const a = e.objectKeys(i).filter((c) => typeof i[i[c]] != "number"), o = {};
2799
- for (const c of a)
2800
- o[c] = i[c];
2887
+ const a = e.objectKeys(i).filter((s) => typeof i[i[s]] != "number"), o = {};
2888
+ for (const s of a)
2889
+ o[s] = i[s];
2801
2890
  return e.objectValues(o);
2802
2891
  }, e.objectValues = (i) => e.objectKeys(i).map(function(a) {
2803
2892
  return i[a];
@@ -2815,16 +2904,16 @@ var T;
2815
2904
  return i.map((o) => typeof o == "string" ? `'${o}'` : o).join(a);
2816
2905
  }
2817
2906
  e.joinValues = n, e.jsonStringifyReplacer = (i, a) => typeof a == "bigint" ? a.toString() : a;
2818
- })(T || (T = {}));
2819
- var Pe;
2907
+ })(w || (w = {}));
2908
+ var Oe;
2820
2909
  (function(e) {
2821
2910
  e.mergeShapes = (t, r) => ({
2822
2911
  ...t,
2823
2912
  ...r
2824
2913
  // second overwrites first
2825
2914
  });
2826
- })(Pe || (Pe = {}));
2827
- const l = T.arrayToEnum([
2915
+ })(Oe || (Oe = {}));
2916
+ const l = w.arrayToEnum([
2828
2917
  "string",
2829
2918
  "nan",
2830
2919
  "number",
@@ -2866,7 +2955,7 @@ const l = T.arrayToEnum([
2866
2955
  default:
2867
2956
  return l.unknown;
2868
2957
  }
2869
- }, d = T.arrayToEnum([
2958
+ }, d = w.arrayToEnum([
2870
2959
  "invalid_type",
2871
2960
  "invalid_literal",
2872
2961
  "custom",
@@ -2883,7 +2972,7 @@ const l = T.arrayToEnum([
2883
2972
  "invalid_intersection_types",
2884
2973
  "not_multiple_of",
2885
2974
  "not_finite"
2886
- ]), ei = (e) => JSON.stringify(e, null, 2).replace(/"([^"]+)":/g, "$1:");
2975
+ ]), Wn = (e) => JSON.stringify(e, null, 2).replace(/"([^"]+)":/g, "$1:");
2887
2976
  class D extends Error {
2888
2977
  constructor(t) {
2889
2978
  super(), this.issues = [], this.addIssue = (n) => {
@@ -2911,10 +3000,10 @@ class D extends Error {
2911
3000
  else if (o.path.length === 0)
2912
3001
  n._errors.push(r(o));
2913
3002
  else {
2914
- let c = n, p = 0;
3003
+ let s = n, p = 0;
2915
3004
  for (; p < o.path.length; ) {
2916
3005
  const u = o.path[p];
2917
- p === o.path.length - 1 ? (c[u] = c[u] || { _errors: [] }, c[u]._errors.push(r(o))) : c[u] = c[u] || { _errors: [] }, c = c[u], p++;
3006
+ p === o.path.length - 1 ? (s[u] = s[u] || { _errors: [] }, s[u]._errors.push(r(o))) : s[u] = s[u] || { _errors: [] }, s = s[u], p++;
2918
3007
  }
2919
3008
  }
2920
3009
  };
@@ -2924,7 +3013,7 @@ class D extends Error {
2924
3013
  return this.message;
2925
3014
  }
2926
3015
  get message() {
2927
- return JSON.stringify(this.issues, T.jsonStringifyReplacer, 2);
3016
+ return JSON.stringify(this.issues, w.jsonStringifyReplacer, 2);
2928
3017
  }
2929
3018
  get isEmpty() {
2930
3019
  return this.issues.length === 0;
@@ -2947,19 +3036,19 @@ const Y = (e, t) => {
2947
3036
  e.received === l.undefined ? r = "Required" : r = `Expected ${e.expected}, received ${e.received}`;
2948
3037
  break;
2949
3038
  case d.invalid_literal:
2950
- r = `Invalid literal value, expected ${JSON.stringify(e.expected, T.jsonStringifyReplacer)}`;
3039
+ r = `Invalid literal value, expected ${JSON.stringify(e.expected, w.jsonStringifyReplacer)}`;
2951
3040
  break;
2952
3041
  case d.unrecognized_keys:
2953
- r = `Unrecognized key(s) in object: ${T.joinValues(e.keys, ", ")}`;
3042
+ r = `Unrecognized key(s) in object: ${w.joinValues(e.keys, ", ")}`;
2954
3043
  break;
2955
3044
  case d.invalid_union:
2956
3045
  r = "Invalid input";
2957
3046
  break;
2958
3047
  case d.invalid_union_discriminator:
2959
- r = `Invalid discriminator value. Expected ${T.joinValues(e.options)}`;
3048
+ r = `Invalid discriminator value. Expected ${w.joinValues(e.options)}`;
2960
3049
  break;
2961
3050
  case d.invalid_enum_value:
2962
- r = `Invalid enum value. Expected ${T.joinValues(e.options)}, received '${e.received}'`;
3051
+ r = `Invalid enum value. Expected ${w.joinValues(e.options)}, received '${e.received}'`;
2963
3052
  break;
2964
3053
  case d.invalid_arguments:
2965
3054
  r = "Invalid function arguments";
@@ -2971,7 +3060,7 @@ const Y = (e, t) => {
2971
3060
  r = "Invalid date";
2972
3061
  break;
2973
3062
  case d.invalid_string:
2974
- typeof e.validation == "object" ? "includes" in e.validation ? (r = `Invalid input: must include "${e.validation.includes}"`, typeof e.validation.position == "number" && (r = `${r} at one or more positions greater than or equal to ${e.validation.position}`)) : "startsWith" in e.validation ? r = `Invalid input: must start with "${e.validation.startsWith}"` : "endsWith" in e.validation ? r = `Invalid input: must end with "${e.validation.endsWith}"` : T.assertNever(e.validation) : e.validation !== "regex" ? r = `Invalid ${e.validation}` : r = "Invalid";
3063
+ typeof e.validation == "object" ? "includes" in e.validation ? (r = `Invalid input: must include "${e.validation.includes}"`, typeof e.validation.position == "number" && (r = `${r} at one or more positions greater than or equal to ${e.validation.position}`)) : "startsWith" in e.validation ? r = `Invalid input: must start with "${e.validation.startsWith}"` : "endsWith" in e.validation ? r = `Invalid input: must end with "${e.validation.endsWith}"` : w.assertNever(e.validation) : e.validation !== "regex" ? r = `Invalid ${e.validation}` : r = "Invalid";
2975
3064
  break;
2976
3065
  case d.too_small:
2977
3066
  e.type === "array" ? r = `Array must contain ${e.exact ? "exactly" : e.inclusive ? "at least" : "more than"} ${e.minimum} element(s)` : e.type === "string" ? r = `String must contain ${e.exact ? "exactly" : e.inclusive ? "at least" : "over"} ${e.minimum} character(s)` : e.type === "number" ? r = `Number must be ${e.exact ? "exactly equal to " : e.inclusive ? "greater than or equal to " : "greater than "}${e.minimum}` : e.type === "date" ? r = `Date must be ${e.exact ? "exactly equal to " : e.inclusive ? "greater than or equal to " : "greater than "}${new Date(Number(e.minimum))}` : r = "Invalid input";
@@ -2992,12 +3081,12 @@ const Y = (e, t) => {
2992
3081
  r = "Number must be finite";
2993
3082
  break;
2994
3083
  default:
2995
- r = t.defaultError, T.assertNever(e);
3084
+ r = t.defaultError, w.assertNever(e);
2996
3085
  }
2997
3086
  return { message: r };
2998
3087
  };
2999
3088
  let rt = Y;
3000
- function ti(e) {
3089
+ function Yn(e) {
3001
3090
  rt = e;
3002
3091
  }
3003
3092
  function le() {
@@ -3008,16 +3097,16 @@ const fe = (e) => {
3008
3097
  ...i,
3009
3098
  path: a
3010
3099
  };
3011
- let c = "";
3100
+ let s = "";
3012
3101
  const p = n.filter((u) => !!u).slice().reverse();
3013
3102
  for (const u of p)
3014
- c = u(o, { data: t, defaultError: c }).message;
3103
+ s = u(o, { data: t, defaultError: s }).message;
3015
3104
  return {
3016
3105
  ...i,
3017
3106
  path: a,
3018
- message: i.message || c
3107
+ message: i.message || s
3019
3108
  };
3020
- }, ri = [];
3109
+ }, Xn = [];
3021
3110
  function f(e, t) {
3022
3111
  const r = fe({
3023
3112
  issueData: t,
@@ -3074,7 +3163,7 @@ class _ {
3074
3163
  }
3075
3164
  const g = Object.freeze({
3076
3165
  status: "aborted"
3077
- }), nt = (e) => ({ status: "dirty", value: e }), O = (e) => ({ status: "valid", value: e }), Ie = (e) => e.status === "aborted", Ne = (e) => e.status === "dirty", X = (e) => e.status === "valid", pe = (e) => typeof Promise < "u" && e instanceof Promise;
3166
+ }), nt = (e) => ({ status: "dirty", value: e }), P = (e) => ({ status: "valid", value: e }), Ne = (e) => e.status === "aborted", be = (e) => e.status === "dirty", X = (e) => e.status === "valid", pe = (e) => typeof Promise < "u" && e instanceof Promise;
3078
3167
  var m;
3079
3168
  (function(e) {
3080
3169
  e.errToObj = (t) => typeof t == "string" ? { message: t } : t || {}, e.toString = (t) => typeof t == "string" ? t : t == null ? void 0 : t.message;
@@ -3087,7 +3176,7 @@ class k {
3087
3176
  return this._cachedPath.length || (this._key instanceof Array ? this._cachedPath.push(...this._path, ...this._key) : this._cachedPath.push(...this._path, this._key)), this._cachedPath;
3088
3177
  }
3089
3178
  }
3090
- const Ue = (e, t) => {
3179
+ const Le = (e, t) => {
3091
3180
  if (X(t))
3092
3181
  return { success: !0, data: t.value };
3093
3182
  if (!e.common.issues.length)
@@ -3108,7 +3197,7 @@ function y(e) {
3108
3197
  const { errorMap: t, invalid_type_error: r, required_error: n, description: i } = e;
3109
3198
  if (t && (r || n))
3110
3199
  throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);
3111
- return t ? { errorMap: t, description: i } : { errorMap: (o, c) => o.code !== "invalid_type" ? { message: c.defaultError } : typeof c.data > "u" ? { message: n ?? c.defaultError } : { message: r ?? c.defaultError }, description: i };
3200
+ return t ? { errorMap: t, description: i } : { errorMap: (o, s) => o.code !== "invalid_type" ? { message: s.defaultError } : typeof s.data > "u" ? { message: n ?? s.defaultError } : { message: r ?? s.defaultError }, description: i };
3112
3201
  }
3113
3202
  class v {
3114
3203
  constructor(t) {
@@ -3173,7 +3262,7 @@ class v {
3173
3262
  data: t,
3174
3263
  parsedType: F(t)
3175
3264
  }, a = this._parseSync({ data: t, path: i.path, parent: i });
3176
- return Ue(i, a);
3265
+ return Le(i, a);
3177
3266
  }
3178
3267
  async parseAsync(t, r) {
3179
3268
  const n = await this.safeParseAsync(t, r);
@@ -3194,16 +3283,16 @@ class v {
3194
3283
  data: t,
3195
3284
  parsedType: F(t)
3196
3285
  }, i = this._parse({ data: t, path: n.path, parent: n }), a = await (pe(i) ? i : Promise.resolve(i));
3197
- return Ue(n, a);
3286
+ return Le(n, a);
3198
3287
  }
3199
3288
  refine(t, r) {
3200
3289
  const n = (i) => typeof r == "string" || typeof r > "u" ? { message: r } : typeof r == "function" ? r(i) : r;
3201
3290
  return this._refinement((i, a) => {
3202
- const o = t(i), c = () => a.addIssue({
3291
+ const o = t(i), s = () => a.addIssue({
3203
3292
  code: d.custom,
3204
3293
  ...n(i)
3205
3294
  });
3206
- return typeof Promise < "u" && o instanceof Promise ? o.then((p) => p ? !0 : (c(), !1)) : o ? !0 : (c(), !1);
3295
+ return typeof Promise < "u" && o instanceof Promise ? o.then((p) => p ? !0 : (s(), !1)) : o ? !0 : (s(), !1);
3207
3296
  });
3208
3297
  }
3209
3298
  refinement(t, r) {
@@ -3220,16 +3309,16 @@ class v {
3220
3309
  return this._refinement(t);
3221
3310
  }
3222
3311
  optional() {
3223
- return U.create(this, this._def);
3312
+ return E.create(this, this._def);
3224
3313
  }
3225
3314
  nullable() {
3226
- return $.create(this, this._def);
3315
+ return H.create(this, this._def);
3227
3316
  }
3228
3317
  nullish() {
3229
3318
  return this.nullable().optional();
3230
3319
  }
3231
3320
  array() {
3232
- return b.create(this, this._def);
3321
+ return A.create(this, this._def);
3233
3322
  }
3234
3323
  promise() {
3235
3324
  return G.create(this, this._def);
@@ -3293,13 +3382,13 @@ class v {
3293
3382
  return this.safeParse(null).success;
3294
3383
  }
3295
3384
  }
3296
- const ni = /^c[^\s-]{8,}$/i, ii = /^[a-z][a-z0-9]*$/, ai = /^[0-9A-HJKMNP-TV-Z]{26}$/, oi = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, si = /^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, ci = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
3297
- let Oe;
3298
- const di = /^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/, ui = /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/, li = (e) => e.precision ? e.offset ? new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`) : new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`) : e.precision === 0 ? e.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$") : e.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");
3299
- function fi(e, t) {
3300
- return !!((t === "v4" || !t) && di.test(e) || (t === "v6" || !t) && ui.test(e));
3385
+ const jn = /^c[^\s-]{8,}$/i, ei = /^[a-z][a-z0-9]*$/, ti = /^[0-9A-HJKMNP-TV-Z]{26}$/, ri = /^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i, ni = /^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, ii = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
3386
+ let Ie;
3387
+ const ai = /^(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))$/, oi = /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/, si = (e) => e.precision ? e.offset ? new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}(([+-]\\d{2}(:?\\d{2})?)|Z)$`) : new RegExp(`^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}\\.\\d{${e.precision}}Z$`) : e.precision === 0 ? e.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}Z$") : e.offset ? new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?(([+-]\\d{2}(:?\\d{2})?)|Z)$") : new RegExp("^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(\\.\\d+)?Z$");
3388
+ function ci(e, t) {
3389
+ return !!((t === "v4" || !t) && ai.test(e) || (t === "v6" || !t) && oi.test(e));
3301
3390
  }
3302
- class N extends v {
3391
+ class b extends v {
3303
3392
  _parse(t) {
3304
3393
  if (this._def.coerce && (t.data = String(t.data)), this._getType(t) !== l.string) {
3305
3394
  const a = this._getOrReturnCtx(t);
@@ -3335,15 +3424,15 @@ class N extends v {
3335
3424
  message: a.message
3336
3425
  }), n.dirty());
3337
3426
  else if (a.kind === "length") {
3338
- const o = t.data.length > a.value, c = t.data.length < a.value;
3339
- (o || c) && (i = this._getOrReturnCtx(t, i), o ? f(i, {
3427
+ const o = t.data.length > a.value, s = t.data.length < a.value;
3428
+ (o || s) && (i = this._getOrReturnCtx(t, i), o ? f(i, {
3340
3429
  code: d.too_big,
3341
3430
  maximum: a.value,
3342
3431
  type: "string",
3343
3432
  inclusive: !0,
3344
3433
  exact: !0,
3345
3434
  message: a.message
3346
- }) : c && f(i, {
3435
+ }) : s && f(i, {
3347
3436
  code: d.too_small,
3348
3437
  minimum: a.value,
3349
3438
  type: "string",
@@ -3352,37 +3441,37 @@ class N extends v {
3352
3441
  message: a.message
3353
3442
  }), n.dirty());
3354
3443
  } else if (a.kind === "email")
3355
- si.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
3444
+ ni.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
3356
3445
  validation: "email",
3357
3446
  code: d.invalid_string,
3358
3447
  message: a.message
3359
3448
  }), n.dirty());
3360
3449
  else if (a.kind === "emoji")
3361
- Oe || (Oe = new RegExp(ci, "u")), Oe.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
3450
+ Ie || (Ie = new RegExp(ii, "u")), Ie.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
3362
3451
  validation: "emoji",
3363
3452
  code: d.invalid_string,
3364
3453
  message: a.message
3365
3454
  }), n.dirty());
3366
3455
  else if (a.kind === "uuid")
3367
- oi.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
3456
+ ri.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
3368
3457
  validation: "uuid",
3369
3458
  code: d.invalid_string,
3370
3459
  message: a.message
3371
3460
  }), n.dirty());
3372
3461
  else if (a.kind === "cuid")
3373
- ni.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
3462
+ jn.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
3374
3463
  validation: "cuid",
3375
3464
  code: d.invalid_string,
3376
3465
  message: a.message
3377
3466
  }), n.dirty());
3378
3467
  else if (a.kind === "cuid2")
3379
- ii.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
3468
+ ei.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
3380
3469
  validation: "cuid2",
3381
3470
  code: d.invalid_string,
3382
3471
  message: a.message
3383
3472
  }), n.dirty());
3384
3473
  else if (a.kind === "ulid")
3385
- ai.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
3474
+ ti.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
3386
3475
  validation: "ulid",
3387
3476
  code: d.invalid_string,
3388
3477
  message: a.message
@@ -3414,15 +3503,15 @@ class N extends v {
3414
3503
  code: d.invalid_string,
3415
3504
  validation: { endsWith: a.value },
3416
3505
  message: a.message
3417
- }), n.dirty()) : a.kind === "datetime" ? li(a).test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
3506
+ }), n.dirty()) : a.kind === "datetime" ? si(a).test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
3418
3507
  code: d.invalid_string,
3419
3508
  validation: "datetime",
3420
3509
  message: a.message
3421
- }), n.dirty()) : a.kind === "ip" ? fi(t.data, a.version) || (i = this._getOrReturnCtx(t, i), f(i, {
3510
+ }), n.dirty()) : a.kind === "ip" ? ci(t.data, a.version) || (i = this._getOrReturnCtx(t, i), f(i, {
3422
3511
  validation: "ip",
3423
3512
  code: d.invalid_string,
3424
3513
  message: a.message
3425
- }), n.dirty()) : T.assertNever(a);
3514
+ }), n.dirty()) : w.assertNever(a);
3426
3515
  return { status: n.value, value: t.data };
3427
3516
  }
3428
3517
  _regex(t, r, n) {
@@ -3433,7 +3522,7 @@ class N extends v {
3433
3522
  });
3434
3523
  }
3435
3524
  _addCheck(t) {
3436
- return new N({
3525
+ return new b({
3437
3526
  ...this._def,
3438
3527
  checks: [...this._def.checks, t]
3439
3528
  });
@@ -3534,19 +3623,19 @@ class N extends v {
3534
3623
  return this.min(1, m.errToObj(t));
3535
3624
  }
3536
3625
  trim() {
3537
- return new N({
3626
+ return new b({
3538
3627
  ...this._def,
3539
3628
  checks: [...this._def.checks, { kind: "trim" }]
3540
3629
  });
3541
3630
  }
3542
3631
  toLowerCase() {
3543
- return new N({
3632
+ return new b({
3544
3633
  ...this._def,
3545
3634
  checks: [...this._def.checks, { kind: "toLowerCase" }]
3546
3635
  });
3547
3636
  }
3548
3637
  toUpperCase() {
3549
- return new N({
3638
+ return new b({
3550
3639
  ...this._def,
3551
3640
  checks: [...this._def.checks, { kind: "toUpperCase" }]
3552
3641
  });
@@ -3591,16 +3680,16 @@ class N extends v {
3591
3680
  return t;
3592
3681
  }
3593
3682
  }
3594
- N.create = (e) => {
3683
+ b.create = (e) => {
3595
3684
  var t;
3596
- return new N({
3685
+ return new b({
3597
3686
  checks: [],
3598
3687
  typeName: h.ZodString,
3599
3688
  coerce: (t = e == null ? void 0 : e.coerce) !== null && t !== void 0 ? t : !1,
3600
3689
  ...y(e)
3601
3690
  });
3602
3691
  };
3603
- function pi(e, t) {
3692
+ function di(e, t) {
3604
3693
  const r = (e.toString().split(".")[1] || "").length, n = (t.toString().split(".")[1] || "").length, i = r > n ? r : n, a = parseInt(e.toFixed(i).replace(".", "")), o = parseInt(t.toFixed(i).replace(".", ""));
3605
3694
  return a % o / Math.pow(10, i);
3606
3695
  }
@@ -3620,7 +3709,7 @@ class L extends v {
3620
3709
  let n;
3621
3710
  const i = new _();
3622
3711
  for (const a of this._def.checks)
3623
- a.kind === "int" ? T.isInteger(t.data) || (n = this._getOrReturnCtx(t, n), f(n, {
3712
+ a.kind === "int" ? w.isInteger(t.data) || (n = this._getOrReturnCtx(t, n), f(n, {
3624
3713
  code: d.invalid_type,
3625
3714
  expected: "integer",
3626
3715
  received: "float",
@@ -3639,14 +3728,14 @@ class L extends v {
3639
3728
  inclusive: a.inclusive,
3640
3729
  exact: !1,
3641
3730
  message: a.message
3642
- }), i.dirty()) : a.kind === "multipleOf" ? pi(t.data, a.value) !== 0 && (n = this._getOrReturnCtx(t, n), f(n, {
3731
+ }), i.dirty()) : a.kind === "multipleOf" ? di(t.data, a.value) !== 0 && (n = this._getOrReturnCtx(t, n), f(n, {
3643
3732
  code: d.not_multiple_of,
3644
3733
  multipleOf: a.value,
3645
3734
  message: a.message
3646
3735
  }), i.dirty()) : a.kind === "finite" ? Number.isFinite(t.data) || (n = this._getOrReturnCtx(t, n), f(n, {
3647
3736
  code: d.not_finite,
3648
3737
  message: a.message
3649
- }), i.dirty()) : T.assertNever(a);
3738
+ }), i.dirty()) : w.assertNever(a);
3650
3739
  return { status: i.value, value: t.data };
3651
3740
  }
3652
3741
  gte(t, r) {
@@ -3758,7 +3847,7 @@ class L extends v {
3758
3847
  return t;
3759
3848
  }
3760
3849
  get isInt() {
3761
- return !!this._def.checks.find((t) => t.kind === "int" || t.kind === "multipleOf" && T.isInteger(t.value));
3850
+ return !!this._def.checks.find((t) => t.kind === "int" || t.kind === "multipleOf" && w.isInteger(t.value));
3762
3851
  }
3763
3852
  get isFinite() {
3764
3853
  let t = null, r = null;
@@ -3808,7 +3897,7 @@ class q extends v {
3808
3897
  code: d.not_multiple_of,
3809
3898
  multipleOf: a.value,
3810
3899
  message: a.message
3811
- }), i.dirty()) : T.assertNever(a);
3900
+ }), i.dirty()) : w.assertNever(a);
3812
3901
  return { status: i.value, value: t.data };
3813
3902
  }
3814
3903
  gte(t, r) {
@@ -3914,7 +4003,7 @@ class j extends v {
3914
4003
  received: n.parsedType
3915
4004
  }), g;
3916
4005
  }
3917
- return O(t.data);
4006
+ return P(t.data);
3918
4007
  }
3919
4008
  }
3920
4009
  j.create = (e) => new j({
@@ -3955,7 +4044,7 @@ class V extends v {
3955
4044
  exact: !1,
3956
4045
  maximum: a.value,
3957
4046
  type: "date"
3958
- }), n.dirty()) : T.assertNever(a);
4047
+ }), n.dirty()) : w.assertNever(a);
3959
4048
  return {
3960
4049
  status: n.value,
3961
4050
  value: new Date(t.data.getTime())
@@ -4010,7 +4099,7 @@ class me extends v {
4010
4099
  received: n.parsedType
4011
4100
  }), g;
4012
4101
  }
4013
- return O(t.data);
4102
+ return P(t.data);
4014
4103
  }
4015
4104
  }
4016
4105
  me.create = (e) => new me({
@@ -4027,7 +4116,7 @@ class ee extends v {
4027
4116
  received: n.parsedType
4028
4117
  }), g;
4029
4118
  }
4030
- return O(t.data);
4119
+ return P(t.data);
4031
4120
  }
4032
4121
  }
4033
4122
  ee.create = (e) => new ee({
@@ -4044,7 +4133,7 @@ class te extends v {
4044
4133
  received: n.parsedType
4045
4134
  }), g;
4046
4135
  }
4047
- return O(t.data);
4136
+ return P(t.data);
4048
4137
  }
4049
4138
  }
4050
4139
  te.create = (e) => new te({
@@ -4056,7 +4145,7 @@ class Q extends v {
4056
4145
  super(...arguments), this._any = !0;
4057
4146
  }
4058
4147
  _parse(t) {
4059
- return O(t.data);
4148
+ return P(t.data);
4060
4149
  }
4061
4150
  }
4062
4151
  Q.create = (e) => new Q({
@@ -4068,7 +4157,7 @@ class Z extends v {
4068
4157
  super(...arguments), this._unknown = !0;
4069
4158
  }
4070
4159
  _parse(t) {
4071
- return O(t.data);
4160
+ return P(t.data);
4072
4161
  }
4073
4162
  }
4074
4163
  Z.create = (e) => new Z({
@@ -4099,14 +4188,14 @@ class he extends v {
4099
4188
  received: n.parsedType
4100
4189
  }), g;
4101
4190
  }
4102
- return O(t.data);
4191
+ return P(t.data);
4103
4192
  }
4104
4193
  }
4105
4194
  he.create = (e) => new he({
4106
4195
  typeName: h.ZodVoid,
4107
4196
  ...y(e)
4108
4197
  });
4109
- class b extends v {
4198
+ class A extends v {
4110
4199
  _parse(t) {
4111
4200
  const { ctx: r, status: n } = this._processInputParams(t), i = this._def;
4112
4201
  if (r.parsedType !== l.array)
@@ -4116,10 +4205,10 @@ class b extends v {
4116
4205
  received: r.parsedType
4117
4206
  }), g;
4118
4207
  if (i.exactLength !== null) {
4119
- const o = r.data.length > i.exactLength.value, c = r.data.length < i.exactLength.value;
4120
- (o || c) && (f(r, {
4208
+ const o = r.data.length > i.exactLength.value, s = r.data.length < i.exactLength.value;
4209
+ (o || s) && (f(r, {
4121
4210
  code: o ? d.too_big : d.too_small,
4122
- minimum: c ? i.exactLength.value : void 0,
4211
+ minimum: s ? i.exactLength.value : void 0,
4123
4212
  maximum: o ? i.exactLength.value : void 0,
4124
4213
  type: "array",
4125
4214
  inclusive: !0,
@@ -4142,27 +4231,27 @@ class b extends v {
4142
4231
  exact: !1,
4143
4232
  message: i.maxLength.message
4144
4233
  }), n.dirty()), r.common.async)
4145
- return Promise.all([...r.data].map((o, c) => i.type._parseAsync(new k(r, o, r.path, c)))).then((o) => _.mergeArray(n, o));
4146
- const a = [...r.data].map((o, c) => i.type._parseSync(new k(r, o, r.path, c)));
4234
+ return Promise.all([...r.data].map((o, s) => i.type._parseAsync(new k(r, o, r.path, s)))).then((o) => _.mergeArray(n, o));
4235
+ const a = [...r.data].map((o, s) => i.type._parseSync(new k(r, o, r.path, s)));
4147
4236
  return _.mergeArray(n, a);
4148
4237
  }
4149
4238
  get element() {
4150
4239
  return this._def.type;
4151
4240
  }
4152
4241
  min(t, r) {
4153
- return new b({
4242
+ return new A({
4154
4243
  ...this._def,
4155
4244
  minLength: { value: t, message: m.toString(r) }
4156
4245
  });
4157
4246
  }
4158
4247
  max(t, r) {
4159
- return new b({
4248
+ return new A({
4160
4249
  ...this._def,
4161
4250
  maxLength: { value: t, message: m.toString(r) }
4162
4251
  });
4163
4252
  }
4164
4253
  length(t, r) {
4165
- return new b({
4254
+ return new A({
4166
4255
  ...this._def,
4167
4256
  exactLength: { value: t, message: m.toString(r) }
4168
4257
  });
@@ -4171,7 +4260,7 @@ class b extends v {
4171
4260
  return this.min(1, t);
4172
4261
  }
4173
4262
  }
4174
- b.create = (e, t) => new b({
4263
+ A.create = (e, t) => new A({
4175
4264
  type: e,
4176
4265
  minLength: null,
4177
4266
  maxLength: null,
@@ -4180,30 +4269,30 @@ b.create = (e, t) => new b({
4180
4269
  ...y(t)
4181
4270
  });
4182
4271
  function z(e) {
4183
- if (e instanceof w) {
4272
+ if (e instanceof C) {
4184
4273
  const t = {};
4185
4274
  for (const r in e.shape) {
4186
4275
  const n = e.shape[r];
4187
- t[r] = U.create(z(n));
4276
+ t[r] = E.create(z(n));
4188
4277
  }
4189
- return new w({
4278
+ return new C({
4190
4279
  ...e._def,
4191
4280
  shape: () => t
4192
4281
  });
4193
4282
  } else
4194
- return e instanceof b ? new b({
4283
+ return e instanceof A ? new A({
4195
4284
  ...e._def,
4196
4285
  type: z(e.element)
4197
- }) : e instanceof U ? U.create(z(e.unwrap())) : e instanceof $ ? $.create(z(e.unwrap())) : e instanceof E ? E.create(e.items.map((t) => z(t))) : e;
4286
+ }) : e instanceof E ? E.create(z(e.unwrap())) : e instanceof H ? H.create(z(e.unwrap())) : e instanceof U ? U.create(e.items.map((t) => z(t))) : e;
4198
4287
  }
4199
- class w extends v {
4288
+ class C extends v {
4200
4289
  constructor() {
4201
4290
  super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment = this.extend;
4202
4291
  }
4203
4292
  _getCached() {
4204
4293
  if (this._cached !== null)
4205
4294
  return this._cached;
4206
- const t = this._def.shape(), r = T.objectKeys(t);
4295
+ const t = this._def.shape(), r = w.objectKeys(t);
4207
4296
  return this._cached = { shape: t, keys: r };
4208
4297
  }
4209
4298
  _parse(t) {
@@ -4215,42 +4304,42 @@ class w extends v {
4215
4304
  received: u.parsedType
4216
4305
  }), g;
4217
4306
  }
4218
- const { status: n, ctx: i } = this._processInputParams(t), { shape: a, keys: o } = this._getCached(), c = [];
4307
+ const { status: n, ctx: i } = this._processInputParams(t), { shape: a, keys: o } = this._getCached(), s = [];
4219
4308
  if (!(this._def.catchall instanceof J && this._def.unknownKeys === "strip"))
4220
4309
  for (const u in i.data)
4221
- o.includes(u) || c.push(u);
4310
+ o.includes(u) || s.push(u);
4222
4311
  const p = [];
4223
4312
  for (const u of o) {
4224
- const S = a[u], P = i.data[u];
4313
+ const S = a[u], O = i.data[u];
4225
4314
  p.push({
4226
4315
  key: { status: "valid", value: u },
4227
- value: S._parse(new k(i, P, i.path, u)),
4316
+ value: S._parse(new k(i, O, i.path, u)),
4228
4317
  alwaysSet: u in i.data
4229
4318
  });
4230
4319
  }
4231
4320
  if (this._def.catchall instanceof J) {
4232
4321
  const u = this._def.unknownKeys;
4233
4322
  if (u === "passthrough")
4234
- for (const S of c)
4323
+ for (const S of s)
4235
4324
  p.push({
4236
4325
  key: { status: "valid", value: S },
4237
4326
  value: { status: "valid", value: i.data[S] }
4238
4327
  });
4239
4328
  else if (u === "strict")
4240
- c.length > 0 && (f(i, {
4329
+ s.length > 0 && (f(i, {
4241
4330
  code: d.unrecognized_keys,
4242
- keys: c
4331
+ keys: s
4243
4332
  }), n.dirty());
4244
4333
  else if (u !== "strip")
4245
4334
  throw new Error("Internal ZodObject error: invalid unknownKeys value.");
4246
4335
  } else {
4247
4336
  const u = this._def.catchall;
4248
- for (const S of c) {
4249
- const P = i.data[S];
4337
+ for (const S of s) {
4338
+ const O = i.data[S];
4250
4339
  p.push({
4251
4340
  key: { status: "valid", value: S },
4252
4341
  value: u._parse(
4253
- new k(i, P, i.path, S)
4342
+ new k(i, O, i.path, S)
4254
4343
  //, ctx.child(key), value, getParsedType(value)
4255
4344
  ),
4256
4345
  alwaysSet: S in i.data
@@ -4260,9 +4349,9 @@ class w extends v {
4260
4349
  return i.common.async ? Promise.resolve().then(async () => {
4261
4350
  const u = [];
4262
4351
  for (const S of p) {
4263
- const P = await S.key;
4352
+ const O = await S.key;
4264
4353
  u.push({
4265
- key: P,
4354
+ key: O,
4266
4355
  value: await S.value,
4267
4356
  alwaysSet: S.alwaysSet
4268
4357
  });
@@ -4274,15 +4363,15 @@ class w extends v {
4274
4363
  return this._def.shape();
4275
4364
  }
4276
4365
  strict(t) {
4277
- return m.errToObj, new w({
4366
+ return m.errToObj, new C({
4278
4367
  ...this._def,
4279
4368
  unknownKeys: "strict",
4280
4369
  ...t !== void 0 ? {
4281
4370
  errorMap: (r, n) => {
4282
- var i, a, o, c;
4371
+ var i, a, o, s;
4283
4372
  const p = (o = (a = (i = this._def).errorMap) === null || a === void 0 ? void 0 : a.call(i, r, n).message) !== null && o !== void 0 ? o : n.defaultError;
4284
4373
  return r.code === "unrecognized_keys" ? {
4285
- message: (c = m.errToObj(t).message) !== null && c !== void 0 ? c : p
4374
+ message: (s = m.errToObj(t).message) !== null && s !== void 0 ? s : p
4286
4375
  } : {
4287
4376
  message: p
4288
4377
  };
@@ -4291,13 +4380,13 @@ class w extends v {
4291
4380
  });
4292
4381
  }
4293
4382
  strip() {
4294
- return new w({
4383
+ return new C({
4295
4384
  ...this._def,
4296
4385
  unknownKeys: "strip"
4297
4386
  });
4298
4387
  }
4299
4388
  passthrough() {
4300
- return new w({
4389
+ return new C({
4301
4390
  ...this._def,
4302
4391
  unknownKeys: "passthrough"
4303
4392
  });
@@ -4320,7 +4409,7 @@ class w extends v {
4320
4409
  // }) as any;
4321
4410
  // };
4322
4411
  extend(t) {
4323
- return new w({
4412
+ return new C({
4324
4413
  ...this._def,
4325
4414
  shape: () => ({
4326
4415
  ...this._def.shape(),
@@ -4334,7 +4423,7 @@ class w extends v {
4334
4423
  * upgrade if you are experiencing issues.
4335
4424
  */
4336
4425
  merge(t) {
4337
- return new w({
4426
+ return new C({
4338
4427
  unknownKeys: t._def.unknownKeys,
4339
4428
  catchall: t._def.catchall,
4340
4429
  shape: () => ({
@@ -4404,25 +4493,25 @@ class w extends v {
4404
4493
  // return merged;
4405
4494
  // }
4406
4495
  catchall(t) {
4407
- return new w({
4496
+ return new C({
4408
4497
  ...this._def,
4409
4498
  catchall: t
4410
4499
  });
4411
4500
  }
4412
4501
  pick(t) {
4413
4502
  const r = {};
4414
- return T.objectKeys(t).forEach((n) => {
4503
+ return w.objectKeys(t).forEach((n) => {
4415
4504
  t[n] && this.shape[n] && (r[n] = this.shape[n]);
4416
- }), new w({
4505
+ }), new C({
4417
4506
  ...this._def,
4418
4507
  shape: () => r
4419
4508
  });
4420
4509
  }
4421
4510
  omit(t) {
4422
4511
  const r = {};
4423
- return T.objectKeys(this.shape).forEach((n) => {
4512
+ return w.objectKeys(this.shape).forEach((n) => {
4424
4513
  t[n] || (r[n] = this.shape[n]);
4425
- }), new w({
4514
+ }), new C({
4426
4515
  ...this._def,
4427
4516
  shape: () => r
4428
4517
  });
@@ -4435,49 +4524,49 @@ class w extends v {
4435
4524
  }
4436
4525
  partial(t) {
4437
4526
  const r = {};
4438
- return T.objectKeys(this.shape).forEach((n) => {
4527
+ return w.objectKeys(this.shape).forEach((n) => {
4439
4528
  const i = this.shape[n];
4440
4529
  t && !t[n] ? r[n] = i : r[n] = i.optional();
4441
- }), new w({
4530
+ }), new C({
4442
4531
  ...this._def,
4443
4532
  shape: () => r
4444
4533
  });
4445
4534
  }
4446
4535
  required(t) {
4447
4536
  const r = {};
4448
- return T.objectKeys(this.shape).forEach((n) => {
4537
+ return w.objectKeys(this.shape).forEach((n) => {
4449
4538
  if (t && !t[n])
4450
4539
  r[n] = this.shape[n];
4451
4540
  else {
4452
4541
  let a = this.shape[n];
4453
- for (; a instanceof U; )
4542
+ for (; a instanceof E; )
4454
4543
  a = a._def.innerType;
4455
4544
  r[n] = a;
4456
4545
  }
4457
- }), new w({
4546
+ }), new C({
4458
4547
  ...this._def,
4459
4548
  shape: () => r
4460
4549
  });
4461
4550
  }
4462
4551
  keyof() {
4463
- return it(T.objectKeys(this.shape));
4552
+ return it(w.objectKeys(this.shape));
4464
4553
  }
4465
4554
  }
4466
- w.create = (e, t) => new w({
4555
+ C.create = (e, t) => new C({
4467
4556
  shape: () => e,
4468
4557
  unknownKeys: "strip",
4469
4558
  catchall: J.create(),
4470
4559
  typeName: h.ZodObject,
4471
4560
  ...y(t)
4472
4561
  });
4473
- w.strictCreate = (e, t) => new w({
4562
+ C.strictCreate = (e, t) => new C({
4474
4563
  shape: () => e,
4475
4564
  unknownKeys: "strict",
4476
4565
  catchall: J.create(),
4477
4566
  typeName: h.ZodObject,
4478
4567
  ...y(t)
4479
4568
  });
4480
- w.lazycreate = (e, t) => new w({
4569
+ C.lazycreate = (e, t) => new C({
4481
4570
  shape: e,
4482
4571
  unknownKeys: "strip",
4483
4572
  catchall: J.create(),
@@ -4488,13 +4577,13 @@ class re extends v {
4488
4577
  _parse(t) {
4489
4578
  const { ctx: r } = this._processInputParams(t), n = this._def.options;
4490
4579
  function i(a) {
4491
- for (const c of a)
4492
- if (c.result.status === "valid")
4493
- return c.result;
4494
- for (const c of a)
4495
- if (c.result.status === "dirty")
4496
- return r.common.issues.push(...c.ctx.common.issues), c.result;
4497
- const o = a.map((c) => new D(c.ctx.common.issues));
4580
+ for (const s of a)
4581
+ if (s.result.status === "valid")
4582
+ return s.result;
4583
+ for (const s of a)
4584
+ if (s.result.status === "dirty")
4585
+ return r.common.issues.push(...s.ctx.common.issues), s.result;
4586
+ const o = a.map((s) => new D(s.ctx.common.issues));
4498
4587
  return f(r, {
4499
4588
  code: d.invalid_union,
4500
4589
  unionErrors: o
@@ -4541,10 +4630,10 @@ class re extends v {
4541
4630
  }
4542
4631
  if (a)
4543
4632
  return r.common.issues.push(...a.ctx.common.issues), a.result;
4544
- const c = o.map((p) => new D(p));
4633
+ const s = o.map((p) => new D(p));
4545
4634
  return f(r, {
4546
4635
  code: d.invalid_union,
4547
- unionErrors: c
4636
+ unionErrors: s
4548
4637
  }), g;
4549
4638
  }
4550
4639
  }
@@ -4558,7 +4647,7 @@ re.create = (e, t) => new re({
4558
4647
  ...y(t)
4559
4648
  });
4560
4649
  const ue = (e) => e instanceof ae ? ue(e.schema) : e instanceof x ? ue(e.innerType()) : e instanceof oe ? [e.value] : e instanceof M ? e.options : e instanceof se ? Object.keys(e.enum) : e instanceof ce ? ue(e._def.innerType) : e instanceof ee ? [void 0] : e instanceof te ? [null] : null;
4561
- class we extends v {
4650
+ class Ce extends v {
4562
4651
  _parse(t) {
4563
4652
  const { ctx: r } = this._processInputParams(t);
4564
4653
  if (r.parsedType !== l.object)
@@ -4605,13 +4694,13 @@ class we extends v {
4605
4694
  const o = ue(a.shape[t]);
4606
4695
  if (!o)
4607
4696
  throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);
4608
- for (const c of o) {
4609
- if (i.has(c))
4610
- throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(c)}`);
4611
- i.set(c, a);
4697
+ for (const s of o) {
4698
+ if (i.has(s))
4699
+ throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(s)}`);
4700
+ i.set(s, a);
4612
4701
  }
4613
4702
  }
4614
- return new we({
4703
+ return new Ce({
4615
4704
  typeName: h.ZodDiscriminatedUnion,
4616
4705
  discriminator: t,
4617
4706
  options: r,
@@ -4625,12 +4714,12 @@ function De(e, t) {
4625
4714
  if (e === t)
4626
4715
  return { valid: !0, data: e };
4627
4716
  if (r === l.object && n === l.object) {
4628
- const i = T.objectKeys(t), a = T.objectKeys(e).filter((c) => i.indexOf(c) !== -1), o = { ...e, ...t };
4629
- for (const c of a) {
4630
- const p = De(e[c], t[c]);
4717
+ const i = w.objectKeys(t), a = w.objectKeys(e).filter((s) => i.indexOf(s) !== -1), o = { ...e, ...t };
4718
+ for (const s of a) {
4719
+ const p = De(e[s], t[s]);
4631
4720
  if (!p.valid)
4632
4721
  return { valid: !1 };
4633
- o[c] = p.data;
4722
+ o[s] = p.data;
4634
4723
  }
4635
4724
  return { valid: !0, data: o };
4636
4725
  } else if (r === l.array && n === l.array) {
@@ -4638,7 +4727,7 @@ function De(e, t) {
4638
4727
  return { valid: !1 };
4639
4728
  const i = [];
4640
4729
  for (let a = 0; a < e.length; a++) {
4641
- const o = e[a], c = t[a], p = De(o, c);
4730
+ const o = e[a], s = t[a], p = De(o, s);
4642
4731
  if (!p.valid)
4643
4732
  return { valid: !1 };
4644
4733
  i.push(p.data);
@@ -4650,10 +4739,10 @@ function De(e, t) {
4650
4739
  class ne extends v {
4651
4740
  _parse(t) {
4652
4741
  const { status: r, ctx: n } = this._processInputParams(t), i = (a, o) => {
4653
- if (Ie(a) || Ie(o))
4742
+ if (Ne(a) || Ne(o))
4654
4743
  return g;
4655
- const c = De(a.value, o.value);
4656
- return c.valid ? ((Ne(a) || Ne(o)) && r.dirty(), { status: r.value, value: c.data }) : (f(n, {
4744
+ const s = De(a.value, o.value);
4745
+ return s.valid ? ((be(a) || be(o)) && r.dirty(), { status: r.value, value: s.data }) : (f(n, {
4657
4746
  code: d.invalid_intersection_types
4658
4747
  }), g);
4659
4748
  };
@@ -4685,7 +4774,7 @@ ne.create = (e, t, r) => new ne({
4685
4774
  typeName: h.ZodIntersection,
4686
4775
  ...y(r)
4687
4776
  });
4688
- class E extends v {
4777
+ class U extends v {
4689
4778
  _parse(t) {
4690
4779
  const { status: r, ctx: n } = this._processInputParams(t);
4691
4780
  if (n.parsedType !== l.array)
@@ -4709,9 +4798,9 @@ class E extends v {
4709
4798
  exact: !1,
4710
4799
  type: "array"
4711
4800
  }), r.dirty());
4712
- const a = [...n.data].map((o, c) => {
4713
- const p = this._def.items[c] || this._def.rest;
4714
- return p ? p._parse(new k(n, o, n.path, c)) : null;
4801
+ const a = [...n.data].map((o, s) => {
4802
+ const p = this._def.items[s] || this._def.rest;
4803
+ return p ? p._parse(new k(n, o, n.path, s)) : null;
4715
4804
  }).filter((o) => !!o);
4716
4805
  return n.common.async ? Promise.all(a).then((o) => _.mergeArray(r, o)) : _.mergeArray(r, a);
4717
4806
  }
@@ -4719,16 +4808,16 @@ class E extends v {
4719
4808
  return this._def.items;
4720
4809
  }
4721
4810
  rest(t) {
4722
- return new E({
4811
+ return new U({
4723
4812
  ...this._def,
4724
4813
  rest: t
4725
4814
  });
4726
4815
  }
4727
4816
  }
4728
- E.create = (e, t) => {
4817
+ U.create = (e, t) => {
4729
4818
  if (!Array.isArray(e))
4730
4819
  throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
4731
- return new E({
4820
+ return new U({
4732
4821
  items: e,
4733
4822
  typeName: h.ZodTuple,
4734
4823
  rest: null,
@@ -4751,10 +4840,10 @@ class ie extends v {
4751
4840
  received: n.parsedType
4752
4841
  }), g;
4753
4842
  const i = [], a = this._def.keyType, o = this._def.valueType;
4754
- for (const c in n.data)
4843
+ for (const s in n.data)
4755
4844
  i.push({
4756
- key: a._parse(new k(n, c, n.path, c)),
4757
- value: o._parse(new k(n, n.data[c], n.path, c))
4845
+ key: a._parse(new k(n, s, n.path, s)),
4846
+ value: o._parse(new k(n, n.data[s], n.path, s))
4758
4847
  });
4759
4848
  return n.common.async ? _.mergeObjectAsync(r, i) : _.mergeObjectSync(r, i);
4760
4849
  }
@@ -4768,7 +4857,7 @@ class ie extends v {
4768
4857
  typeName: h.ZodRecord,
4769
4858
  ...y(n)
4770
4859
  }) : new ie({
4771
- keyType: N.create(),
4860
+ keyType: b.create(),
4772
4861
  valueType: t,
4773
4862
  typeName: h.ZodRecord,
4774
4863
  ...y(r)
@@ -4790,30 +4879,30 @@ class ge extends v {
4790
4879
  expected: l.map,
4791
4880
  received: n.parsedType
4792
4881
  }), g;
4793
- const i = this._def.keyType, a = this._def.valueType, o = [...n.data.entries()].map(([c, p], u) => ({
4794
- key: i._parse(new k(n, c, n.path, [u, "key"])),
4882
+ const i = this._def.keyType, a = this._def.valueType, o = [...n.data.entries()].map(([s, p], u) => ({
4883
+ key: i._parse(new k(n, s, n.path, [u, "key"])),
4795
4884
  value: a._parse(new k(n, p, n.path, [u, "value"]))
4796
4885
  }));
4797
4886
  if (n.common.async) {
4798
- const c = /* @__PURE__ */ new Map();
4887
+ const s = /* @__PURE__ */ new Map();
4799
4888
  return Promise.resolve().then(async () => {
4800
4889
  for (const p of o) {
4801
4890
  const u = await p.key, S = await p.value;
4802
4891
  if (u.status === "aborted" || S.status === "aborted")
4803
4892
  return g;
4804
- (u.status === "dirty" || S.status === "dirty") && r.dirty(), c.set(u.value, S.value);
4893
+ (u.status === "dirty" || S.status === "dirty") && r.dirty(), s.set(u.value, S.value);
4805
4894
  }
4806
- return { status: r.value, value: c };
4895
+ return { status: r.value, value: s };
4807
4896
  });
4808
4897
  } else {
4809
- const c = /* @__PURE__ */ new Map();
4898
+ const s = /* @__PURE__ */ new Map();
4810
4899
  for (const p of o) {
4811
4900
  const u = p.key, S = p.value;
4812
4901
  if (u.status === "aborted" || S.status === "aborted")
4813
4902
  return g;
4814
- (u.status === "dirty" || S.status === "dirty") && r.dirty(), c.set(u.value, S.value);
4903
+ (u.status === "dirty" || S.status === "dirty") && r.dirty(), s.set(u.value, S.value);
4815
4904
  }
4816
- return { status: r.value, value: c };
4905
+ return { status: r.value, value: s };
4817
4906
  }
4818
4907
  }
4819
4908
  }
@@ -4823,7 +4912,7 @@ ge.create = (e, t, r) => new ge({
4823
4912
  typeName: h.ZodMap,
4824
4913
  ...y(r)
4825
4914
  });
4826
- class H extends v {
4915
+ class $ extends v {
4827
4916
  _parse(t) {
4828
4917
  const { status: r, ctx: n } = this._processInputParams(t);
4829
4918
  if (n.parsedType !== l.set)
@@ -4858,17 +4947,17 @@ class H extends v {
4858
4947
  }
4859
4948
  return { status: r.value, value: u };
4860
4949
  }
4861
- const c = [...n.data.values()].map((p, u) => a._parse(new k(n, p, n.path, u)));
4862
- return n.common.async ? Promise.all(c).then((p) => o(p)) : o(c);
4950
+ const s = [...n.data.values()].map((p, u) => a._parse(new k(n, p, n.path, u)));
4951
+ return n.common.async ? Promise.all(s).then((p) => o(p)) : o(s);
4863
4952
  }
4864
4953
  min(t, r) {
4865
- return new H({
4954
+ return new $({
4866
4955
  ...this._def,
4867
4956
  minSize: { value: t, message: m.toString(r) }
4868
4957
  });
4869
4958
  }
4870
4959
  max(t, r) {
4871
- return new H({
4960
+ return new $({
4872
4961
  ...this._def,
4873
4962
  maxSize: { value: t, message: m.toString(r) }
4874
4963
  });
@@ -4880,7 +4969,7 @@ class H extends v {
4880
4969
  return this.min(1, t);
4881
4970
  }
4882
4971
  }
4883
- H.create = (e, t) => new H({
4972
+ $.create = (e, t) => new $({
4884
4973
  valueType: e,
4885
4974
  minSize: null,
4886
4975
  maxSize: null,
@@ -4899,9 +4988,9 @@ class B extends v {
4899
4988
  expected: l.function,
4900
4989
  received: r.parsedType
4901
4990
  }), g;
4902
- function n(c, p) {
4991
+ function n(s, p) {
4903
4992
  return fe({
4904
- data: c,
4993
+ data: s,
4905
4994
  path: r.path,
4906
4995
  errorMaps: [
4907
4996
  r.common.contextualErrorMap,
@@ -4915,9 +5004,9 @@ class B extends v {
4915
5004
  }
4916
5005
  });
4917
5006
  }
4918
- function i(c, p) {
5007
+ function i(s, p) {
4919
5008
  return fe({
4920
- data: c,
5009
+ data: s,
4921
5010
  path: r.path,
4922
5011
  errorMaps: [
4923
5012
  r.common.contextualErrorMap,
@@ -4933,25 +5022,25 @@ class B extends v {
4933
5022
  }
4934
5023
  const a = { errorMap: r.common.contextualErrorMap }, o = r.data;
4935
5024
  if (this._def.returns instanceof G) {
4936
- const c = this;
4937
- return O(async function(...p) {
4938
- const u = new D([]), S = await c._def.args.parseAsync(p, a).catch((_e) => {
5025
+ const s = this;
5026
+ return P(async function(...p) {
5027
+ const u = new D([]), S = await s._def.args.parseAsync(p, a).catch((_e) => {
4939
5028
  throw u.addIssue(n(p, _e)), u;
4940
- }), P = await Reflect.apply(o, this, S);
4941
- return await c._def.returns._def.type.parseAsync(P, a).catch((_e) => {
4942
- throw u.addIssue(i(P, _e)), u;
5029
+ }), O = await Reflect.apply(o, this, S);
5030
+ return await s._def.returns._def.type.parseAsync(O, a).catch((_e) => {
5031
+ throw u.addIssue(i(O, _e)), u;
4943
5032
  });
4944
5033
  });
4945
5034
  } else {
4946
- const c = this;
4947
- return O(function(...p) {
4948
- const u = c._def.args.safeParse(p, a);
5035
+ const s = this;
5036
+ return P(function(...p) {
5037
+ const u = s._def.args.safeParse(p, a);
4949
5038
  if (!u.success)
4950
5039
  throw new D([n(p, u.error)]);
4951
- const S = Reflect.apply(o, this, u.data), P = c._def.returns.safeParse(S, a);
4952
- if (!P.success)
4953
- throw new D([i(S, P.error)]);
4954
- return P.data;
5040
+ const S = Reflect.apply(o, this, u.data), O = s._def.returns.safeParse(S, a);
5041
+ if (!O.success)
5042
+ throw new D([i(S, O.error)]);
5043
+ return O.data;
4955
5044
  });
4956
5045
  }
4957
5046
  }
@@ -4964,7 +5053,7 @@ class B extends v {
4964
5053
  args(...t) {
4965
5054
  return new B({
4966
5055
  ...this._def,
4967
- args: E.create(t).rest(Z.create())
5056
+ args: U.create(t).rest(Z.create())
4968
5057
  });
4969
5058
  }
4970
5059
  returns(t) {
@@ -4981,7 +5070,7 @@ class B extends v {
4981
5070
  }
4982
5071
  static create(t, r, n) {
4983
5072
  return new B({
4984
- args: t || E.create([]).rest(Z.create()),
5073
+ args: t || U.create([]).rest(Z.create()),
4985
5074
  returns: r || Z.create(),
4986
5075
  typeName: h.ZodFunction,
4987
5076
  ...y(n)
@@ -5035,7 +5124,7 @@ class M extends v {
5035
5124
  if (typeof t.data != "string") {
5036
5125
  const r = this._getOrReturnCtx(t), n = this._def.values;
5037
5126
  return f(r, {
5038
- expected: T.joinValues(n),
5127
+ expected: w.joinValues(n),
5039
5128
  received: r.parsedType,
5040
5129
  code: d.invalid_type
5041
5130
  }), g;
@@ -5048,7 +5137,7 @@ class M extends v {
5048
5137
  options: n
5049
5138
  }), g;
5050
5139
  }
5051
- return O(t.data);
5140
+ return P(t.data);
5052
5141
  }
5053
5142
  get options() {
5054
5143
  return this._def.values;
@@ -5081,24 +5170,24 @@ class M extends v {
5081
5170
  M.create = it;
5082
5171
  class se extends v {
5083
5172
  _parse(t) {
5084
- const r = T.getValidEnumValues(this._def.values), n = this._getOrReturnCtx(t);
5173
+ const r = w.getValidEnumValues(this._def.values), n = this._getOrReturnCtx(t);
5085
5174
  if (n.parsedType !== l.string && n.parsedType !== l.number) {
5086
- const i = T.objectValues(r);
5175
+ const i = w.objectValues(r);
5087
5176
  return f(n, {
5088
- expected: T.joinValues(i),
5177
+ expected: w.joinValues(i),
5089
5178
  received: n.parsedType,
5090
5179
  code: d.invalid_type
5091
5180
  }), g;
5092
5181
  }
5093
5182
  if (r.indexOf(t.data) === -1) {
5094
- const i = T.objectValues(r);
5183
+ const i = w.objectValues(r);
5095
5184
  return f(n, {
5096
5185
  received: n.data,
5097
5186
  code: d.invalid_enum_value,
5098
5187
  options: i
5099
5188
  }), g;
5100
5189
  }
5101
- return O(t.data);
5190
+ return P(t.data);
5102
5191
  }
5103
5192
  get enum() {
5104
5193
  return this._def.values;
@@ -5122,7 +5211,7 @@ class G extends v {
5122
5211
  received: r.parsedType
5123
5212
  }), g;
5124
5213
  const n = r.parsedType === l.promise ? r.data : Promise.resolve(r.data);
5125
- return O(n.then((i) => this._def.type.parseAsync(i, {
5214
+ return P(n.then((i) => this._def.type.parseAsync(i, {
5126
5215
  path: r.path,
5127
5216
  errorMap: r.common.contextualErrorMap
5128
5217
  })));
@@ -5154,8 +5243,8 @@ class x extends v {
5154
5243
  return n.common.issues.length ? {
5155
5244
  status: "dirty",
5156
5245
  value: n.data
5157
- } : n.common.async ? Promise.resolve(o).then((c) => this._def.schema._parseAsync({
5158
- data: c,
5246
+ } : n.common.async ? Promise.resolve(o).then((s) => this._def.schema._parseAsync({
5247
+ data: s,
5159
5248
  path: n.path,
5160
5249
  parent: n
5161
5250
  })) : this._def.schema._parseSync({
@@ -5165,23 +5254,23 @@ class x extends v {
5165
5254
  });
5166
5255
  }
5167
5256
  if (i.type === "refinement") {
5168
- const o = (c) => {
5169
- const p = i.refinement(c, a);
5257
+ const o = (s) => {
5258
+ const p = i.refinement(s, a);
5170
5259
  if (n.common.async)
5171
5260
  return Promise.resolve(p);
5172
5261
  if (p instanceof Promise)
5173
5262
  throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");
5174
- return c;
5263
+ return s;
5175
5264
  };
5176
5265
  if (n.common.async === !1) {
5177
- const c = this._def.schema._parseSync({
5266
+ const s = this._def.schema._parseSync({
5178
5267
  data: n.data,
5179
5268
  path: n.path,
5180
5269
  parent: n
5181
5270
  });
5182
- return c.status === "aborted" ? g : (c.status === "dirty" && r.dirty(), o(c.value), { status: r.value, value: c.value });
5271
+ return s.status === "aborted" ? g : (s.status === "dirty" && r.dirty(), o(s.value), { status: r.value, value: s.value });
5183
5272
  } else
5184
- return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((c) => c.status === "aborted" ? g : (c.status === "dirty" && r.dirty(), o(c.value).then(() => ({ status: r.value, value: c.value }))));
5273
+ return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((s) => s.status === "aborted" ? g : (s.status === "dirty" && r.dirty(), o(s.value).then(() => ({ status: r.value, value: s.value }))));
5185
5274
  }
5186
5275
  if (i.type === "transform")
5187
5276
  if (n.common.async === !1) {
@@ -5192,13 +5281,13 @@ class x extends v {
5192
5281
  });
5193
5282
  if (!X(o))
5194
5283
  return o;
5195
- const c = i.transform(o.value, a);
5196
- if (c instanceof Promise)
5284
+ const s = i.transform(o.value, a);
5285
+ if (s instanceof Promise)
5197
5286
  throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");
5198
- return { status: r.value, value: c };
5287
+ return { status: r.value, value: s };
5199
5288
  } else
5200
- return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((o) => X(o) ? Promise.resolve(i.transform(o.value, a)).then((c) => ({ status: r.value, value: c })) : o);
5201
- T.assertNever(i);
5289
+ return this._def.schema._parseAsync({ data: n.data, path: n.path, parent: n }).then((o) => X(o) ? Promise.resolve(i.transform(o.value, a)).then((s) => ({ status: r.value, value: s })) : o);
5290
+ w.assertNever(i);
5202
5291
  }
5203
5292
  }
5204
5293
  x.create = (e, t, r) => new x({
@@ -5213,28 +5302,28 @@ x.createWithPreprocess = (e, t, r) => new x({
5213
5302
  typeName: h.ZodEffects,
5214
5303
  ...y(r)
5215
5304
  });
5216
- class U extends v {
5305
+ class E extends v {
5217
5306
  _parse(t) {
5218
- return this._getType(t) === l.undefined ? O(void 0) : this._def.innerType._parse(t);
5307
+ return this._getType(t) === l.undefined ? P(void 0) : this._def.innerType._parse(t);
5219
5308
  }
5220
5309
  unwrap() {
5221
5310
  return this._def.innerType;
5222
5311
  }
5223
5312
  }
5224
- U.create = (e, t) => new U({
5313
+ E.create = (e, t) => new E({
5225
5314
  innerType: e,
5226
5315
  typeName: h.ZodOptional,
5227
5316
  ...y(t)
5228
5317
  });
5229
- class $ extends v {
5318
+ class H extends v {
5230
5319
  _parse(t) {
5231
- return this._getType(t) === l.null ? O(null) : this._def.innerType._parse(t);
5320
+ return this._getType(t) === l.null ? P(null) : this._def.innerType._parse(t);
5232
5321
  }
5233
5322
  unwrap() {
5234
5323
  return this._def.innerType;
5235
5324
  }
5236
5325
  }
5237
- $.create = (e, t) => new $({
5326
+ H.create = (e, t) => new H({
5238
5327
  innerType: e,
5239
5328
  typeName: h.ZodNullable,
5240
5329
  ...y(t)
@@ -5319,7 +5408,7 @@ ve.create = (e) => new ve({
5319
5408
  typeName: h.ZodNaN,
5320
5409
  ...y(e)
5321
5410
  });
5322
- const mi = Symbol("zod_brand");
5411
+ const ui = Symbol("zod_brand");
5323
5412
  class at extends v {
5324
5413
  _parse(t) {
5325
5414
  const { ctx: r } = this._processInputParams(t), n = r.data;
@@ -5387,20 +5476,20 @@ Se.create = (e, t) => new Se({
5387
5476
  const ot = (e, t = {}, r) => e ? Q.create().superRefine((n, i) => {
5388
5477
  var a, o;
5389
5478
  if (!e(n)) {
5390
- const c = typeof t == "function" ? t(n) : typeof t == "string" ? { message: t } : t, p = (o = (a = c.fatal) !== null && a !== void 0 ? a : r) !== null && o !== void 0 ? o : !0, u = typeof c == "string" ? { message: c } : c;
5479
+ const s = typeof t == "function" ? t(n) : typeof t == "string" ? { message: t } : t, p = (o = (a = s.fatal) !== null && a !== void 0 ? a : r) !== null && o !== void 0 ? o : !0, u = typeof s == "string" ? { message: s } : s;
5391
5480
  i.addIssue({ code: "custom", ...u, fatal: p });
5392
5481
  }
5393
- }) : Q.create(), hi = {
5394
- object: w.lazycreate
5482
+ }) : Q.create(), li = {
5483
+ object: C.lazycreate
5395
5484
  };
5396
5485
  var h;
5397
5486
  (function(e) {
5398
5487
  e.ZodString = "ZodString", e.ZodNumber = "ZodNumber", e.ZodNaN = "ZodNaN", e.ZodBigInt = "ZodBigInt", e.ZodBoolean = "ZodBoolean", e.ZodDate = "ZodDate", e.ZodSymbol = "ZodSymbol", e.ZodUndefined = "ZodUndefined", e.ZodNull = "ZodNull", e.ZodAny = "ZodAny", e.ZodUnknown = "ZodUnknown", e.ZodNever = "ZodNever", e.ZodVoid = "ZodVoid", e.ZodArray = "ZodArray", e.ZodObject = "ZodObject", e.ZodUnion = "ZodUnion", e.ZodDiscriminatedUnion = "ZodDiscriminatedUnion", e.ZodIntersection = "ZodIntersection", e.ZodTuple = "ZodTuple", e.ZodRecord = "ZodRecord", e.ZodMap = "ZodMap", e.ZodSet = "ZodSet", e.ZodFunction = "ZodFunction", e.ZodLazy = "ZodLazy", e.ZodLiteral = "ZodLiteral", e.ZodEnum = "ZodEnum", e.ZodEffects = "ZodEffects", e.ZodNativeEnum = "ZodNativeEnum", e.ZodOptional = "ZodOptional", e.ZodNullable = "ZodNullable", e.ZodDefault = "ZodDefault", e.ZodCatch = "ZodCatch", e.ZodPromise = "ZodPromise", e.ZodBranded = "ZodBranded", e.ZodPipeline = "ZodPipeline", e.ZodReadonly = "ZodReadonly";
5399
5488
  })(h || (h = {}));
5400
- const gi = (e, t = {
5489
+ const fi = (e, t = {
5401
5490
  message: `Input not instance of ${e.name}`
5402
- }) => ot((r) => r instanceof e, t), st = N.create, ct = L.create, yi = ve.create, vi = q.create, dt = j.create, Si = V.create, Ti = me.create, Ci = ee.create, wi = te.create, _i = Q.create, Oi = Z.create, Pi = J.create, Ii = he.create, Ni = b.create, Di = w.create, bi = w.strictCreate, xi = re.create, Ai = we.create, Ri = ne.create, ki = E.create, Ei = ie.create, Ui = ge.create, Ji = H.create, Fi = B.create, Li = ae.create, qi = oe.create, Mi = M.create, Zi = se.create, Vi = G.create, Je = x.create, Hi = U.create, $i = $.create, zi = x.createWithPreprocess, Bi = de.create, Qi = () => st().optional(), Gi = () => ct().optional(), Ki = () => dt().optional(), Wi = {
5403
- string: (e) => N.create({ ...e, coerce: !0 }),
5491
+ }) => ot((r) => r instanceof e, t), st = b.create, ct = L.create, pi = ve.create, mi = q.create, dt = j.create, hi = V.create, gi = me.create, yi = ee.create, vi = te.create, Si = Q.create, wi = Z.create, Ti = J.create, Ci = he.create, _i = A.create, Pi = C.create, Ii = C.strictCreate, Oi = re.create, Ni = Ce.create, bi = ne.create, Di = U.create, Ai = ie.create, xi = ge.create, Ri = $.create, ki = B.create, Ui = ae.create, Ei = oe.create, Ji = M.create, Fi = se.create, Li = G.create, qe = x.create, qi = E.create, Mi = H.create, Zi = x.createWithPreprocess, Vi = de.create, $i = () => st().optional(), Hi = () => ct().optional(), zi = () => dt().optional(), Bi = {
5492
+ string: (e) => b.create({ ...e, coerce: !0 }),
5404
5493
  number: (e) => L.create({ ...e, coerce: !0 }),
5405
5494
  boolean: (e) => j.create({
5406
5495
  ...e,
@@ -5408,33 +5497,33 @@ const gi = (e, t = {
5408
5497
  }),
5409
5498
  bigint: (e) => q.create({ ...e, coerce: !0 }),
5410
5499
  date: (e) => V.create({ ...e, coerce: !0 })
5411
- }, Yi = g;
5500
+ }, Qi = g;
5412
5501
  var K = /* @__PURE__ */ Object.freeze({
5413
5502
  __proto__: null,
5414
5503
  defaultErrorMap: Y,
5415
- setErrorMap: ti,
5504
+ setErrorMap: Yn,
5416
5505
  getErrorMap: le,
5417
5506
  makeIssue: fe,
5418
- EMPTY_PATH: ri,
5507
+ EMPTY_PATH: Xn,
5419
5508
  addIssueToContext: f,
5420
5509
  ParseStatus: _,
5421
5510
  INVALID: g,
5422
5511
  DIRTY: nt,
5423
- OK: O,
5424
- isAborted: Ie,
5425
- isDirty: Ne,
5512
+ OK: P,
5513
+ isAborted: Ne,
5514
+ isDirty: be,
5426
5515
  isValid: X,
5427
5516
  isAsync: pe,
5428
5517
  get util() {
5429
- return T;
5518
+ return w;
5430
5519
  },
5431
5520
  get objectUtil() {
5432
- return Pe;
5521
+ return Oe;
5433
5522
  },
5434
5523
  ZodParsedType: l,
5435
5524
  getParsedType: F,
5436
5525
  ZodType: v,
5437
- ZodString: N,
5526
+ ZodString: b,
5438
5527
  ZodNumber: L,
5439
5528
  ZodBigInt: q,
5440
5529
  ZodBoolean: j,
@@ -5446,15 +5535,15 @@ var K = /* @__PURE__ */ Object.freeze({
5446
5535
  ZodUnknown: Z,
5447
5536
  ZodNever: J,
5448
5537
  ZodVoid: he,
5449
- ZodArray: b,
5450
- ZodObject: w,
5538
+ ZodArray: A,
5539
+ ZodObject: C,
5451
5540
  ZodUnion: re,
5452
- ZodDiscriminatedUnion: we,
5541
+ ZodDiscriminatedUnion: Ce,
5453
5542
  ZodIntersection: ne,
5454
- ZodTuple: E,
5543
+ ZodTuple: U,
5455
5544
  ZodRecord: ie,
5456
5545
  ZodMap: ge,
5457
- ZodSet: H,
5546
+ ZodSet: $,
5458
5547
  ZodFunction: B,
5459
5548
  ZodLazy: ae,
5460
5549
  ZodLiteral: oe,
@@ -5463,83 +5552,83 @@ var K = /* @__PURE__ */ Object.freeze({
5463
5552
  ZodPromise: G,
5464
5553
  ZodEffects: x,
5465
5554
  ZodTransformer: x,
5466
- ZodOptional: U,
5467
- ZodNullable: $,
5555
+ ZodOptional: E,
5556
+ ZodNullable: H,
5468
5557
  ZodDefault: ce,
5469
5558
  ZodCatch: ye,
5470
5559
  ZodNaN: ve,
5471
- BRAND: mi,
5560
+ BRAND: ui,
5472
5561
  ZodBranded: at,
5473
5562
  ZodPipeline: de,
5474
5563
  ZodReadonly: Se,
5475
5564
  custom: ot,
5476
5565
  Schema: v,
5477
5566
  ZodSchema: v,
5478
- late: hi,
5567
+ late: li,
5479
5568
  get ZodFirstPartyTypeKind() {
5480
5569
  return h;
5481
5570
  },
5482
- coerce: Wi,
5483
- any: _i,
5484
- array: Ni,
5485
- bigint: vi,
5571
+ coerce: Bi,
5572
+ any: Si,
5573
+ array: _i,
5574
+ bigint: mi,
5486
5575
  boolean: dt,
5487
- date: Si,
5488
- discriminatedUnion: Ai,
5489
- effect: Je,
5490
- enum: Mi,
5491
- function: Fi,
5492
- instanceof: gi,
5493
- intersection: Ri,
5494
- lazy: Li,
5495
- literal: qi,
5496
- map: Ui,
5497
- nan: yi,
5498
- nativeEnum: Zi,
5499
- never: Pi,
5500
- null: wi,
5501
- nullable: $i,
5576
+ date: hi,
5577
+ discriminatedUnion: Ni,
5578
+ effect: qe,
5579
+ enum: Ji,
5580
+ function: ki,
5581
+ instanceof: fi,
5582
+ intersection: bi,
5583
+ lazy: Ui,
5584
+ literal: Ei,
5585
+ map: xi,
5586
+ nan: pi,
5587
+ nativeEnum: Fi,
5588
+ never: Ti,
5589
+ null: vi,
5590
+ nullable: Mi,
5502
5591
  number: ct,
5503
- object: Di,
5504
- oboolean: Ki,
5505
- onumber: Gi,
5506
- optional: Hi,
5507
- ostring: Qi,
5508
- pipeline: Bi,
5509
- preprocess: zi,
5510
- promise: Vi,
5511
- record: Ei,
5512
- set: Ji,
5513
- strictObject: bi,
5592
+ object: Pi,
5593
+ oboolean: zi,
5594
+ onumber: Hi,
5595
+ optional: qi,
5596
+ ostring: $i,
5597
+ pipeline: Vi,
5598
+ preprocess: Zi,
5599
+ promise: Li,
5600
+ record: Ai,
5601
+ set: Ri,
5602
+ strictObject: Ii,
5514
5603
  string: st,
5515
- symbol: Ti,
5516
- transformer: Je,
5517
- tuple: ki,
5518
- undefined: Ci,
5519
- union: xi,
5520
- unknown: Oi,
5521
- void: Ii,
5522
- NEVER: Yi,
5604
+ symbol: gi,
5605
+ transformer: qe,
5606
+ tuple: Di,
5607
+ undefined: yi,
5608
+ union: Oi,
5609
+ unknown: wi,
5610
+ void: Ci,
5611
+ NEVER: Qi,
5523
5612
  ZodIssueCode: d,
5524
- quotelessJson: ei,
5613
+ quotelessJson: Wn,
5525
5614
  ZodError: D
5526
5615
  });
5527
- function Xi(e) {
5616
+ function Gi(e) {
5528
5617
  return e === 401 || e === 403;
5529
5618
  }
5530
- function ji(e) {
5619
+ function Ki(e) {
5531
5620
  return Object.entries(e).map(([t, r]) => `${encodeURIComponent(t)}=${encodeURIComponent(r)}`).join("&");
5532
5621
  }
5533
- const ea = K.object({
5622
+ const Wi = K.object({
5534
5623
  access_token: K.string().min(1),
5535
5624
  token_type: K.string(),
5536
5625
  expires_in: K.number(),
5537
5626
  scope: K.string()
5538
5627
  });
5539
- async function ta(e) {
5628
+ async function Yi(e) {
5540
5629
  let r = await (await fetch(e.tokenUrl, {
5541
5630
  method: "POST",
5542
- body: ji({
5631
+ body: Ki({
5543
5632
  grant_type: "client_credentials",
5544
5633
  client_id: e.clientId,
5545
5634
  client_secret: e.clientSecret
@@ -5548,19 +5637,19 @@ async function ta(e) {
5548
5637
  "Content-Type": "application/x-www-form-urlencoded"
5549
5638
  }
5550
5639
  })).json();
5551
- return ra(r);
5640
+ return Xi(r);
5552
5641
  }
5553
- function ra(e) {
5554
- const t = ea.safeParse(e);
5642
+ function Xi(e) {
5643
+ const t = Wi.safeParse(e);
5555
5644
  if (!t.success)
5556
5645
  throw new Error("Bad access token response");
5557
5646
  return t.data;
5558
5647
  }
5559
- class na {
5648
+ class ji {
5560
5649
  constructor(t) {
5561
- A(this, "activeRequest", null);
5562
- A(this, "refreshTimeout");
5563
- A(this, "accessToken", null);
5650
+ R(this, "activeRequest", null);
5651
+ R(this, "refreshTimeout");
5652
+ R(this, "accessToken", null);
5564
5653
  this.clientCredentials = t;
5565
5654
  }
5566
5655
  async getAccessToken() {
@@ -5572,7 +5661,7 @@ class na {
5572
5661
  async refreshAccessToken() {
5573
5662
  if (this.activeRequest)
5574
5663
  return await this.activeRequest, this.accessToken;
5575
- this.accessToken = null, this.activeRequest = ta(this.clientCredentials);
5664
+ this.accessToken = null, this.activeRequest = Yi(this.clientCredentials);
5576
5665
  const t = await this.activeRequest;
5577
5666
  return this.scheduleNextRefresh(t), this.accessToken = t.access_token, this.activeRequest = null, this.accessToken;
5578
5667
  }
@@ -5584,40 +5673,40 @@ class na {
5584
5673
  }, r);
5585
5674
  }
5586
5675
  }
5587
- function Fe(e, t) {
5588
- e.headers = ia("Authorization", `Bearer ${t}`, e.headers);
5676
+ function Me(e, t) {
5677
+ e.headers = ea("Authorization", `Bearer ${t}`, e.headers);
5589
5678
  }
5590
- function ia(e, t, r) {
5679
+ function ea(e, t, r) {
5591
5680
  return r ? Array.isArray(r) ? r.map(
5592
5681
  ([n, i]) => n !== e ? [n, i] : [e, t]
5593
- ) : aa(r) ? (r.has(e) ? r.set(e, t) : r.append(e, t), r) : (r[e] = t, r) : (r = {}, r[e] = t, r);
5682
+ ) : ta(r) ? (r.has(e) ? r.set(e, t) : r.append(e, t), r) : (r[e] = t, r) : (r = {}, r[e] = t, r);
5594
5683
  }
5595
- function aa(e) {
5684
+ function ta(e) {
5596
5685
  return "append" in e && "delete" in e && "get" in e && "has" in e && "set" in e && "forEach" in e;
5597
5686
  }
5598
- function oa(e) {
5599
- const t = new na(e);
5687
+ function ra(e) {
5688
+ const t = new ji(e);
5600
5689
  return {
5601
5690
  pre: async (r) => {
5602
5691
  const n = await t.getAccessToken();
5603
- return Fe(r.init, n), Promise.resolve({
5692
+ return Me(r.init, n), Promise.resolve({
5604
5693
  url: r.url,
5605
5694
  init: r.init
5606
5695
  });
5607
5696
  },
5608
5697
  post: async (r) => {
5609
- if (Xi(r.response.status)) {
5698
+ if (Gi(r.response.status)) {
5610
5699
  const n = await t.refreshAccessToken();
5611
- return Fe(r.init, n), await fetch(r.url, r.init);
5700
+ return Me(r.init, n), await fetch(r.url, r.init);
5612
5701
  }
5613
5702
  return Promise.resolve(r.response);
5614
5703
  }
5615
5704
  };
5616
5705
  }
5617
- function us(e) {
5706
+ function os(e) {
5618
5707
  let t = [], r = {};
5619
- e.clientCredentials && t.push(oa(e.clientCredentials)), e.managementApiKey && (r = sa(e.managementApiKey));
5620
- const n = new Le({
5708
+ e.clientCredentials && t.push(ra(e.clientCredentials)), e.managementApiKey && (r = na(e.managementApiKey));
5709
+ const n = new Ze({
5621
5710
  basePath: e.managementApiUrl,
5622
5711
  headers: r,
5623
5712
  credentials: "same-origin",
@@ -5625,300 +5714,296 @@ function us(e) {
5625
5714
  ...e.configOverrides
5626
5715
  });
5627
5716
  return {
5628
- uiApi: new Xn(n),
5629
- useCaseApi: new jn(n),
5630
- enterpriseEditionApi: new Yn(n)
5717
+ uiApi: new Gn(n),
5718
+ useCaseApi: new Kn(n),
5719
+ enterpriseEditionApi: new Qn(n)
5631
5720
  };
5632
5721
  }
5633
- function sa(e) {
5722
+ function na(e) {
5634
5723
  return {
5635
5724
  "X-Api-Key": e
5636
5725
  };
5637
5726
  }
5638
5727
  export {
5639
5728
  _t as AssetPageFromJSON,
5640
- Ot as AssetPageFromJSONTyped,
5641
- va as AssetPageToJSON,
5642
- It as AtomicConstraintDtoFromJSON,
5643
- Nt as AtomicConstraintDtoFromJSONTyped,
5644
- Dt as AtomicConstraintDtoToJSON,
5729
+ Pt as AssetPageFromJSONTyped,
5730
+ ma as AssetPageToJSON,
5645
5731
  ft as BASE_PATH,
5646
5732
  W as BaseAPI,
5647
- pa as BlobApiResponse,
5648
- ua as COLLECTION_FORMATS,
5649
- Jt as CatalogFilterExpressionFromJSON,
5650
- Ft as CatalogFilterExpressionFromJSONTyped,
5651
- At as CatalogFilterExpressionLiteralFromJSON,
5652
- Rt as CatalogFilterExpressionLiteralFromJSONTyped,
5653
- kt as CatalogFilterExpressionLiteralToJSON,
5654
- wa as CatalogFilterExpressionLiteralType,
5655
- bt as CatalogFilterExpressionLiteralTypeFromJSON,
5656
- xt as CatalogFilterExpressionLiteralTypeFromJSONTyped,
5657
- _a as CatalogFilterExpressionLiteralTypeToJSON,
5658
- Pa as CatalogFilterExpressionOperator,
5659
- Et as CatalogFilterExpressionOperatorFromJSON,
5660
- Ut as CatalogFilterExpressionOperatorFromJSONTyped,
5661
- Ia as CatalogFilterExpressionOperatorToJSON,
5662
- Lt as CatalogFilterExpressionToJSON,
5663
- ba as CatalogQueryFromJSON,
5664
- qt as CatalogQueryFromJSONTyped,
5665
- Mt as CatalogQueryToJSON,
5666
- Le as Configuration,
5667
- Zt as ConnectorLimitsFromJSON,
5668
- Vt as ConnectorLimitsFromJSONTyped,
5669
- Aa as ConnectorLimitsToJSON,
5670
- dr as ContractAgreementCardFromJSON,
5671
- ur as ContractAgreementCardFromJSONTyped,
5672
- lr as ContractAgreementCardToJSON,
5673
- Ra as ContractAgreementDirection,
5674
- Ve as ContractAgreementDirectionFromJSON,
5675
- Ht as ContractAgreementDirectionFromJSONTyped,
5676
- ka as ContractAgreementDirectionToJSON,
5677
- fr as ContractAgreementPageFromJSON,
5678
- pr as ContractAgreementPageFromJSONTyped,
5679
- Xa as ContractAgreementPageQueryFromJSON,
5680
- mr as ContractAgreementPageQueryFromJSONTyped,
5681
- hr as ContractAgreementPageQueryToJSON,
5682
- Wa as ContractAgreementPageToJSON,
5683
- Bt as ContractAgreementTerminationInfoFromJSON,
5684
- Qt as ContractAgreementTerminationInfoFromJSONTyped,
5685
- Gt as ContractAgreementTerminationInfoToJSON,
5686
- Xt as ContractAgreementTransferProcessFromJSON,
5687
- jt as ContractAgreementTransferProcessFromJSONTyped,
5688
- er as ContractAgreementTransferProcessToJSON,
5689
- Or as ContractDefinitionEntryFromJSON,
5690
- Pr as ContractDefinitionEntryFromJSONTyped,
5691
- Ir as ContractDefinitionEntryToJSON,
5692
- Nr as ContractDefinitionPageFromJSON,
5733
+ da as BlobApiResponse,
5734
+ oa as COLLECTION_FORMATS,
5735
+ Rt as CatalogFilterExpressionFromJSON,
5736
+ kt as CatalogFilterExpressionFromJSONTyped,
5737
+ Nt as CatalogFilterExpressionLiteralFromJSON,
5738
+ bt as CatalogFilterExpressionLiteralFromJSONTyped,
5739
+ Dt as CatalogFilterExpressionLiteralToJSON,
5740
+ ha as CatalogFilterExpressionLiteralType,
5741
+ It as CatalogFilterExpressionLiteralTypeFromJSON,
5742
+ Ot as CatalogFilterExpressionLiteralTypeFromJSONTyped,
5743
+ ga as CatalogFilterExpressionLiteralTypeToJSON,
5744
+ va as CatalogFilterExpressionOperator,
5745
+ At as CatalogFilterExpressionOperatorFromJSON,
5746
+ xt as CatalogFilterExpressionOperatorFromJSONTyped,
5747
+ Sa as CatalogFilterExpressionOperatorToJSON,
5748
+ Ut as CatalogFilterExpressionToJSON,
5749
+ Ca as CatalogQueryFromJSON,
5750
+ Et as CatalogQueryFromJSONTyped,
5751
+ Jt as CatalogQueryToJSON,
5752
+ Ze as Configuration,
5753
+ Ft as ConnectorLimitsFromJSON,
5754
+ Lt as ConnectorLimitsFromJSONTyped,
5755
+ Pa as ConnectorLimitsToJSON,
5756
+ ur as ContractAgreementCardFromJSON,
5757
+ lr as ContractAgreementCardFromJSONTyped,
5758
+ fr as ContractAgreementCardToJSON,
5759
+ Ia as ContractAgreementDirection,
5760
+ He as ContractAgreementDirectionFromJSON,
5761
+ qt as ContractAgreementDirectionFromJSONTyped,
5762
+ Oa as ContractAgreementDirectionToJSON,
5763
+ pr as ContractAgreementPageFromJSON,
5764
+ mr as ContractAgreementPageFromJSONTyped,
5765
+ Wa as ContractAgreementPageQueryFromJSON,
5766
+ hr as ContractAgreementPageQueryFromJSONTyped,
5767
+ gr as ContractAgreementPageQueryToJSON,
5768
+ Ga as ContractAgreementPageToJSON,
5769
+ Vt as ContractAgreementTerminationInfoFromJSON,
5770
+ $t as ContractAgreementTerminationInfoFromJSONTyped,
5771
+ Ht as ContractAgreementTerminationInfoToJSON,
5772
+ Gt as ContractAgreementTransferProcessFromJSON,
5773
+ Kt as ContractAgreementTransferProcessFromJSONTyped,
5774
+ Wt as ContractAgreementTransferProcessToJSON,
5775
+ Ir as ContractDefinitionEntryFromJSON,
5776
+ Or as ContractDefinitionEntryFromJSONTyped,
5777
+ Nr as ContractDefinitionEntryToJSON,
5778
+ br as ContractDefinitionPageFromJSON,
5693
5779
  Dr as ContractDefinitionPageFromJSONTyped,
5694
- so as ContractDefinitionPageToJSON,
5695
- uo as ContractDefinitionRequestFromJSON,
5696
- br as ContractDefinitionRequestFromJSONTyped,
5780
+ ao as ContractDefinitionPageToJSON,
5781
+ so as ContractDefinitionRequestFromJSON,
5782
+ Ar as ContractDefinitionRequestFromJSONTyped,
5697
5783
  xr as ContractDefinitionRequestToJSON,
5698
- fo as ContractNegotiationRequestFromJSON,
5699
- Ar as ContractNegotiationRequestFromJSONTyped,
5700
- Rr as ContractNegotiationRequestToJSON,
5701
- po as ContractNegotiationSimplifiedState,
5702
- kr as ContractNegotiationSimplifiedStateFromJSON,
5784
+ uo as ContractNegotiationRequestFromJSON,
5785
+ Rr as ContractNegotiationRequestFromJSONTyped,
5786
+ kr as ContractNegotiationRequestToJSON,
5787
+ lo as ContractNegotiationSimplifiedState,
5788
+ Ur as ContractNegotiationSimplifiedStateFromJSON,
5703
5789
  Er as ContractNegotiationSimplifiedStateFromJSONTyped,
5704
- mo as ContractNegotiationSimplifiedStateToJSON,
5705
- Ur as ContractNegotiationStateFromJSON,
5706
- Jr as ContractNegotiationStateFromJSONTyped,
5707
- Fr as ContractNegotiationStateToJSON,
5708
- Ea as ContractTerminatedBy,
5709
- $t as ContractTerminatedByFromJSON,
5710
- zt as ContractTerminatedByFromJSONTyped,
5711
- Ua as ContractTerminatedByToJSON,
5712
- yo as ContractTerminationRequestFromJSON,
5713
- Lr as ContractTerminationRequestFromJSONTyped,
5714
- qr as ContractTerminationRequestToJSON,
5715
- Za as ContractTerminationStatus,
5716
- ze as ContractTerminationStatusFromJSON,
5717
- tr as ContractTerminationStatusFromJSONTyped,
5718
- Va as ContractTerminationStatusToJSON,
5719
- Mr as DashboardDapsConfigFromJSON,
5720
- Zr as DashboardDapsConfigFromJSONTyped,
5721
- Vr as DashboardDapsConfigToJSON,
5790
+ fo as ContractNegotiationSimplifiedStateToJSON,
5791
+ Jr as ContractNegotiationStateFromJSON,
5792
+ Fr as ContractNegotiationStateFromJSONTyped,
5793
+ Lr as ContractNegotiationStateToJSON,
5794
+ Na as ContractTerminatedBy,
5795
+ Mt as ContractTerminatedByFromJSON,
5796
+ Zt as ContractTerminatedByFromJSONTyped,
5797
+ ba as ContractTerminatedByToJSON,
5798
+ ho as ContractTerminationRequestFromJSON,
5799
+ qr as ContractTerminationRequestFromJSONTyped,
5800
+ Mr as ContractTerminationRequestToJSON,
5801
+ Ua as ContractTerminationStatus,
5802
+ Qe as ContractTerminationStatusFromJSON,
5803
+ Yt as ContractTerminationStatusFromJSONTyped,
5804
+ Ea as ContractTerminationStatusToJSON,
5805
+ Zr as DashboardDapsConfigFromJSON,
5806
+ Vr as DashboardDapsConfigFromJSONTyped,
5807
+ $r as DashboardDapsConfigToJSON,
5722
5808
  Hr as DashboardMiwConfigFromJSON,
5723
- $r as DashboardMiwConfigFromJSONTyped,
5724
- zr as DashboardMiwConfigToJSON,
5725
- Qr as DashboardPageFromJSON,
5726
- Gr as DashboardPageFromJSONTyped,
5809
+ zr as DashboardMiwConfigFromJSONTyped,
5810
+ Br as DashboardMiwConfigToJSON,
5811
+ Gr as DashboardPageFromJSON,
5812
+ Kr as DashboardPageFromJSONTyped,
5727
5813
  wo as DashboardPageToJSON,
5728
- Re as DashboardTransferAmountsFromJSON,
5729
- Br as DashboardTransferAmountsFromJSONTyped,
5730
- ke as DashboardTransferAmountsToJSON,
5731
- ma as DataSourceAvailability,
5732
- Tt as DataSourceAvailabilityFromJSON,
5733
- Ct as DataSourceAvailabilityFromJSONTyped,
5734
- ha as DataSourceAvailabilityToJSON,
5735
- _o as DataSourceType,
5736
- Kr as DataSourceTypeFromJSON,
5737
- Wr as DataSourceTypeFromJSONTyped,
5738
- Oo as DataSourceTypeToJSON,
5814
+ Ee as DashboardTransferAmountsFromJSON,
5815
+ Qr as DashboardTransferAmountsFromJSONTyped,
5816
+ Je as DashboardTransferAmountsToJSON,
5817
+ ua as DataSourceAvailability,
5818
+ wt as DataSourceAvailabilityFromJSON,
5819
+ Tt as DataSourceAvailabilityFromJSONTyped,
5820
+ la as DataSourceAvailabilityToJSON,
5821
+ To as DataSourceType,
5822
+ Wr as DataSourceTypeFromJSON,
5823
+ Yr as DataSourceTypeFromJSONTyped,
5824
+ Co as DataSourceTypeToJSON,
5739
5825
  pt as DefaultConfig,
5740
- Yn as EnterpriseEditionApi,
5741
- We as ExpressionFromJSON,
5742
- jr as ExpressionFromJSONTyped,
5743
- Ye as ExpressionToJSON,
5744
- Po as ExpressionType,
5745
- Yr as ExpressionTypeFromJSON,
5746
- Xr as ExpressionTypeFromJSONTyped,
5747
- Io as ExpressionTypeToJSON,
5826
+ Qn as EnterpriseEditionApi,
5748
5827
  yt as FetchError,
5749
- I as IdResponseDtoFromJSON,
5750
- en as IdResponseDtoFromJSONTyped,
5751
- bo as IdResponseDtoToJSON,
5752
- Ao as InitiateCustomTransferRequestFromJSON,
5753
- tn as InitiateCustomTransferRequestFromJSONTyped,
5754
- rn as InitiateCustomTransferRequestToJSON,
5755
- ko as InitiateTransferRequestFromJSON,
5756
- nn as InitiateTransferRequestFromJSONTyped,
5757
- an as InitiateTransferRequestToJSON,
5758
- C as JSONApiResponse,
5759
- dn as KpiResultFromJSON,
5760
- un as KpiResultFromJSONTyped,
5761
- Jo as KpiResultToJSON,
5762
- Sa as OperatorDto,
5763
- Ze as OperatorDtoFromJSON,
5764
- Pt as OperatorDtoFromJSONTyped,
5765
- Ta as OperatorDtoToJSON,
5766
- ln as PermissionDtoFromJSON,
5767
- fn as PermissionDtoFromJSONTyped,
5768
- pn as PermissionDtoToJSON,
5769
- qo as PolicyCreateRequestFromJSON,
5770
- mn as PolicyCreateRequestFromJSONTyped,
5771
- hn as PolicyCreateRequestToJSON,
5772
- Vo as PolicyDefinitionCreateRequestFromJSON,
5773
- Sn as PolicyDefinitionCreateRequestFromJSONTyped,
5774
- Tn as PolicyDefinitionCreateRequestToJSON,
5775
- Cn as PolicyDefinitionDtoFromJSON,
5776
- wn as PolicyDefinitionDtoFromJSONTyped,
5777
- _n as PolicyDefinitionDtoToJSON,
5778
- On as PolicyDefinitionPageFromJSON,
5779
- Pn as PolicyDefinitionPageFromJSONTyped,
5780
- zo as PolicyDefinitionPageToJSON,
5781
- R as RequiredError,
5828
+ Pe as IdAvailabilityResponseFromJSON,
5829
+ Xr as IdAvailabilityResponseFromJSONTyped,
5830
+ Po as IdAvailabilityResponseToJSON,
5831
+ N as IdResponseDtoFromJSON,
5832
+ jr as IdResponseDtoFromJSONTyped,
5833
+ Oo as IdResponseDtoToJSON,
5834
+ bo as InitiateCustomTransferRequestFromJSON,
5835
+ en as InitiateCustomTransferRequestFromJSONTyped,
5836
+ tn as InitiateCustomTransferRequestToJSON,
5837
+ Ao as InitiateTransferRequestFromJSON,
5838
+ rn as InitiateTransferRequestFromJSONTyped,
5839
+ nn as InitiateTransferRequestToJSON,
5840
+ T as JSONApiResponse,
5841
+ cn as KpiResultFromJSON,
5842
+ dn as KpiResultFromJSONTyped,
5843
+ ko as KpiResultToJSON,
5844
+ Ja as OperatorDto,
5845
+ Xt as OperatorDtoFromJSON,
5846
+ jt as OperatorDtoFromJSONTyped,
5847
+ Fa as OperatorDtoToJSON,
5848
+ Eo as PolicyDefinitionCreateDtoFromJSON,
5849
+ un as PolicyDefinitionCreateDtoFromJSONTyped,
5850
+ ln as PolicyDefinitionCreateDtoToJSON,
5851
+ Lo as PolicyDefinitionCreateRequestFromJSON,
5852
+ hn as PolicyDefinitionCreateRequestFromJSONTyped,
5853
+ gn as PolicyDefinitionCreateRequestToJSON,
5854
+ yn as PolicyDefinitionDtoFromJSON,
5855
+ vn as PolicyDefinitionDtoFromJSONTyped,
5856
+ Sn as PolicyDefinitionDtoToJSON,
5857
+ wn as PolicyDefinitionPageFromJSON,
5858
+ Tn as PolicyDefinitionPageFromJSONTyped,
5859
+ Zo as PolicyDefinitionPageToJSON,
5860
+ I as RequiredError,
5782
5861
  gt as ResponseError,
5783
- In as SecretValueFromJSON,
5784
- Nn as SecretValueFromJSONTyped,
5785
- Dn as SecretValueToJSON,
5862
+ Cn as SecretValueFromJSON,
5863
+ _n as SecretValueFromJSONTyped,
5864
+ Pn as SecretValueToJSON,
5786
5865
  St as TextApiResponse,
5787
- bn as TransferHistoryEntryFromJSON,
5788
- xn as TransferHistoryEntryFromJSONTyped,
5789
- An as TransferHistoryEntryToJSON,
5790
- Rn as TransferHistoryPageFromJSON,
5791
- kn as TransferHistoryPageFromJSONTyped,
5792
- Ko as TransferHistoryPageToJSON,
5793
- Fa as TransferProcessSimplifiedState,
5794
- Kt as TransferProcessSimplifiedStateFromJSON,
5795
- Wt as TransferProcessSimplifiedStateFromJSONTyped,
5796
- La as TransferProcessSimplifiedStateToJSON,
5797
- He as TransferProcessStateFromJSON,
5798
- Yt as TransferProcessStateFromJSONTyped,
5799
- $e as TransferProcessStateToJSON,
5800
- on as TransferProcessStatesDtoFromJSON,
5801
- sn as TransferProcessStatesDtoFromJSONTyped,
5802
- cn as TransferProcessStatesDtoToJSON,
5803
- Xn as UIApi,
5804
- rs as UiAssetCreateRequestFromJSON,
5805
- Hn as UiAssetCreateRequestFromJSONTyped,
5866
+ In as TransferHistoryEntryFromJSON,
5867
+ On as TransferHistoryEntryFromJSONTyped,
5868
+ Nn as TransferHistoryEntryToJSON,
5869
+ bn as TransferHistoryPageFromJSON,
5870
+ Dn as TransferHistoryPageFromJSONTyped,
5871
+ zo as TransferHistoryPageToJSON,
5872
+ Aa as TransferProcessSimplifiedState,
5873
+ zt as TransferProcessSimplifiedStateFromJSON,
5874
+ Bt as TransferProcessSimplifiedStateFromJSONTyped,
5875
+ xa as TransferProcessSimplifiedStateToJSON,
5876
+ ze as TransferProcessStateFromJSON,
5877
+ Qt as TransferProcessStateFromJSONTyped,
5878
+ Be as TransferProcessStateToJSON,
5879
+ an as TransferProcessStatesDtoFromJSON,
5880
+ on as TransferProcessStatesDtoFromJSONTyped,
5881
+ sn as TransferProcessStatesDtoToJSON,
5882
+ Gn as UIApi,
5883
+ Xo as UiAssetCreateRequestFromJSON,
5884
+ qn as UiAssetCreateRequestFromJSONTyped,
5806
5885
  et as UiAssetCreateRequestToJSON,
5807
- is as UiAssetEditRequestFromJSON,
5808
- $n as UiAssetEditRequestFromJSONTyped,
5809
- zn as UiAssetEditRequestToJSON,
5810
- Ce as UiAssetFromJSON,
5811
- wt as UiAssetFromJSONTyped,
5812
- be as UiAssetToJSON,
5813
- Ee as UiContractNegotiationFromJSON,
5814
- Bn as UiContractNegotiationFromJSONTyped,
5815
- os as UiContractNegotiationToJSON,
5816
- Qn as UiContractOfferFromJSON,
5817
- Gn as UiContractOfferFromJSONTyped,
5818
- Kn as UiContractOfferToJSON,
5819
- Ge as UiCriterionFromJSON,
5820
- _r as UiCriterionFromJSONTyped,
5821
- vr as UiCriterionLiteralFromJSON,
5822
- Sr as UiCriterionLiteralFromJSONTyped,
5886
+ es as UiAssetEditRequestFromJSON,
5887
+ Mn as UiAssetEditRequestFromJSONTyped,
5888
+ Zn as UiAssetEditRequestToJSON,
5889
+ Te as UiAssetFromJSON,
5890
+ Ct as UiAssetFromJSONTyped,
5891
+ Ae as UiAssetToJSON,
5892
+ Fe as UiContractNegotiationFromJSON,
5893
+ Vn as UiContractNegotiationFromJSONTyped,
5894
+ rs as UiContractNegotiationToJSON,
5895
+ $n as UiContractOfferFromJSON,
5896
+ Hn as UiContractOfferFromJSONTyped,
5897
+ zn as UiContractOfferToJSON,
5898
+ We as UiCriterionFromJSON,
5899
+ Pr as UiCriterionFromJSONTyped,
5900
+ Sr as UiCriterionLiteralFromJSON,
5901
+ wr as UiCriterionLiteralFromJSONTyped,
5823
5902
  Tr as UiCriterionLiteralToJSON,
5824
- ja as UiCriterionLiteralType,
5825
- gr as UiCriterionLiteralTypeFromJSON,
5826
- yr as UiCriterionLiteralTypeFromJSONTyped,
5827
- eo as UiCriterionLiteralTypeToJSON,
5828
- ro as UiCriterionOperator,
5903
+ Ya as UiCriterionLiteralType,
5904
+ yr as UiCriterionLiteralTypeFromJSON,
5905
+ vr as UiCriterionLiteralTypeFromJSONTyped,
5906
+ Xa as UiCriterionLiteralTypeToJSON,
5907
+ eo as UiCriterionOperator,
5829
5908
  Cr as UiCriterionOperatorFromJSON,
5830
- wr as UiCriterionOperatorFromJSONTyped,
5831
- no as UiCriterionOperatorToJSON,
5832
- Ke as UiCriterionToJSON,
5909
+ _r as UiCriterionOperatorFromJSONTyped,
5910
+ to as UiCriterionOperatorToJSON,
5911
+ Ye as UiCriterionToJSON,
5833
5912
  tt as UiDataOfferFromJSON,
5834
- Wn as UiDataOfferFromJSONTyped,
5835
- ds as UiDataOfferToJSON,
5913
+ Bn as UiDataOfferFromJSONTyped,
5914
+ as as UiDataOfferToJSON,
5836
5915
  Xe as UiDataSourceFromJSON,
5837
- Vn as UiDataSourceFromJSONTyped,
5838
- Jn as UiDataSourceHttpDataFromJSON,
5839
- Fn as UiDataSourceHttpDataFromJSONTyped,
5840
- Wo as UiDataSourceHttpDataMethod,
5841
- En as UiDataSourceHttpDataMethodFromJSON,
5842
- Un as UiDataSourceHttpDataMethodFromJSONTyped,
5843
- Yo as UiDataSourceHttpDataMethodToJSON,
5844
- Ln as UiDataSourceHttpDataToJSON,
5845
- qn as UiDataSourceOnRequestFromJSON,
5846
- Mn as UiDataSourceOnRequestFromJSONTyped,
5847
- Zn as UiDataSourceOnRequestToJSON,
5916
+ Ln as UiDataSourceFromJSONTyped,
5917
+ Rn as UiDataSourceHttpDataFromJSON,
5918
+ kn as UiDataSourceHttpDataFromJSONTyped,
5919
+ Bo as UiDataSourceHttpDataMethod,
5920
+ An as UiDataSourceHttpDataMethodFromJSON,
5921
+ xn as UiDataSourceHttpDataMethodFromJSONTyped,
5922
+ Qo as UiDataSourceHttpDataMethodToJSON,
5923
+ Un as UiDataSourceHttpDataToJSON,
5924
+ En as UiDataSourceOnRequestFromJSON,
5925
+ Jn as UiDataSourceOnRequestFromJSONTyped,
5926
+ Fn as UiDataSourceOnRequestToJSON,
5848
5927
  je as UiDataSourceToJSON,
5849
- Be as UiPolicyConstraintFromJSON,
5850
- sr as UiPolicyConstraintFromJSONTyped,
5851
- Qe as UiPolicyConstraintToJSON,
5852
- gn as UiPolicyCreateRequestFromJSON,
5853
- yn as UiPolicyCreateRequestFromJSONTyped,
5854
- vn as UiPolicyCreateRequestToJSON,
5855
- xe as UiPolicyFromJSON,
5856
- cr as UiPolicyFromJSONTyped,
5857
- ir as UiPolicyLiteralFromJSON,
5858
- ar as UiPolicyLiteralFromJSONTyped,
5859
- or as UiPolicyLiteralToJSON,
5860
- Ha as UiPolicyLiteralType,
5861
- rr as UiPolicyLiteralTypeFromJSON,
5862
- nr as UiPolicyLiteralTypeFromJSONTyped,
5863
- $a as UiPolicyLiteralTypeToJSON,
5864
- Ae as UiPolicyToJSON,
5865
- jn as UseCaseApi,
5928
+ Ge as UiPolicyConstraintFromJSON,
5929
+ ar as UiPolicyConstraintFromJSONTyped,
5930
+ Ke as UiPolicyConstraintToJSON,
5931
+ fn as UiPolicyCreateRequestFromJSON,
5932
+ pn as UiPolicyCreateRequestFromJSONTyped,
5933
+ mn as UiPolicyCreateRequestToJSON,
5934
+ xe as UiPolicyExpressionFromJSON,
5935
+ cr as UiPolicyExpressionFromJSONTyped,
5936
+ Re as UiPolicyExpressionToJSON,
5937
+ Va as UiPolicyExpressionType,
5938
+ or as UiPolicyExpressionTypeFromJSON,
5939
+ sr as UiPolicyExpressionTypeFromJSONTyped,
5940
+ $a as UiPolicyExpressionTypeToJSON,
5941
+ ke as UiPolicyFromJSON,
5942
+ dr as UiPolicyFromJSONTyped,
5943
+ rr as UiPolicyLiteralFromJSON,
5944
+ nr as UiPolicyLiteralFromJSONTyped,
5945
+ ir as UiPolicyLiteralToJSON,
5946
+ La as UiPolicyLiteralType,
5947
+ er as UiPolicyLiteralTypeFromJSON,
5948
+ tr as UiPolicyLiteralTypeFromJSONTyped,
5949
+ qa as UiPolicyLiteralTypeToJSON,
5950
+ Ue as UiPolicyToJSON,
5951
+ Kn as UseCaseApi,
5866
5952
  vt as VoidApiResponse,
5867
- us as buildEdcClient,
5868
- fa as canConsumeForm,
5869
- s as exists,
5870
- ya as instanceOfAssetPage,
5871
- Ca as instanceOfAtomicConstraintDto,
5872
- Na as instanceOfCatalogFilterExpression,
5873
- Oa as instanceOfCatalogFilterExpressionLiteral,
5874
- Da as instanceOfCatalogQuery,
5875
- xa as instanceOfConnectorLimits,
5876
- Ga as instanceOfContractAgreementCard,
5877
- Ka as instanceOfContractAgreementPage,
5878
- Ya as instanceOfContractAgreementPageQuery,
5879
- Ja as instanceOfContractAgreementTerminationInfo,
5880
- Ma as instanceOfContractAgreementTransferProcess,
5881
- ao as instanceOfContractDefinitionEntry,
5882
- oo as instanceOfContractDefinitionPage,
5883
- co as instanceOfContractDefinitionRequest,
5884
- lo as instanceOfContractNegotiationRequest,
5885
- ho as instanceOfContractNegotiationState,
5886
- go as instanceOfContractTerminationRequest,
5887
- vo as instanceOfDashboardDapsConfig,
5888
- So as instanceOfDashboardMiwConfig,
5889
- Co as instanceOfDashboardPage,
5890
- To as instanceOfDashboardTransferAmounts,
5891
- No as instanceOfExpression,
5892
- Do as instanceOfIdResponseDto,
5893
- xo as instanceOfInitiateCustomTransferRequest,
5894
- Ro as instanceOfInitiateTransferRequest,
5895
- Uo as instanceOfKpiResult,
5896
- Fo as instanceOfPermissionDto,
5897
- Lo as instanceOfPolicyCreateRequest,
5898
- Zo as instanceOfPolicyDefinitionCreateRequest,
5899
- Ho as instanceOfPolicyDefinitionDto,
5900
- $o as instanceOfPolicyDefinitionPage,
5901
- Bo as instanceOfSecretValue,
5902
- Qo as instanceOfTransferHistoryEntry,
5903
- Go as instanceOfTransferHistoryPage,
5904
- qa as instanceOfTransferProcessState,
5905
- Eo as instanceOfTransferProcessStatesDto,
5906
- ga as instanceOfUiAsset,
5907
- ts as instanceOfUiAssetCreateRequest,
5908
- ns as instanceOfUiAssetEditRequest,
5909
- as as instanceOfUiContractNegotiation,
5910
- ss as instanceOfUiContractOffer,
5911
- io as instanceOfUiCriterion,
5912
- to as instanceOfUiCriterionLiteral,
5913
- cs as instanceOfUiDataOffer,
5914
- es as instanceOfUiDataSource,
5915
- Xo as instanceOfUiDataSourceHttpData,
5916
- jo as instanceOfUiDataSourceOnRequest,
5917
- Qa as instanceOfUiPolicy,
5918
- Ba as instanceOfUiPolicyConstraint,
5919
- Mo as instanceOfUiPolicyCreateRequest,
5920
- za as instanceOfUiPolicyLiteral,
5921
- la as mapValues,
5922
- qe as querystring
5953
+ os as buildEdcClient,
5954
+ ca as canConsumeForm,
5955
+ c as exists,
5956
+ pa as instanceOfAssetPage,
5957
+ wa as instanceOfCatalogFilterExpression,
5958
+ ya as instanceOfCatalogFilterExpressionLiteral,
5959
+ Ta as instanceOfCatalogQuery,
5960
+ _a as instanceOfConnectorLimits,
5961
+ Ba as instanceOfContractAgreementCard,
5962
+ Qa as instanceOfContractAgreementPage,
5963
+ Ka as instanceOfContractAgreementPageQuery,
5964
+ Da as instanceOfContractAgreementTerminationInfo,
5965
+ ka as instanceOfContractAgreementTransferProcess,
5966
+ no as instanceOfContractDefinitionEntry,
5967
+ io as instanceOfContractDefinitionPage,
5968
+ oo as instanceOfContractDefinitionRequest,
5969
+ co as instanceOfContractNegotiationRequest,
5970
+ po as instanceOfContractNegotiationState,
5971
+ mo as instanceOfContractTerminationRequest,
5972
+ go as instanceOfDashboardDapsConfig,
5973
+ yo as instanceOfDashboardMiwConfig,
5974
+ So as instanceOfDashboardPage,
5975
+ vo as instanceOfDashboardTransferAmounts,
5976
+ _o as instanceOfIdAvailabilityResponse,
5977
+ Io as instanceOfIdResponseDto,
5978
+ No as instanceOfInitiateCustomTransferRequest,
5979
+ Do as instanceOfInitiateTransferRequest,
5980
+ Ro as instanceOfKpiResult,
5981
+ Uo as instanceOfPolicyDefinitionCreateDto,
5982
+ Fo as instanceOfPolicyDefinitionCreateRequest,
5983
+ qo as instanceOfPolicyDefinitionDto,
5984
+ Mo as instanceOfPolicyDefinitionPage,
5985
+ Vo as instanceOfSecretValue,
5986
+ $o as instanceOfTransferHistoryEntry,
5987
+ Ho as instanceOfTransferHistoryPage,
5988
+ Ra as instanceOfTransferProcessState,
5989
+ xo as instanceOfTransferProcessStatesDto,
5990
+ fa as instanceOfUiAsset,
5991
+ Yo as instanceOfUiAssetCreateRequest,
5992
+ jo as instanceOfUiAssetEditRequest,
5993
+ ts as instanceOfUiContractNegotiation,
5994
+ ns as instanceOfUiContractOffer,
5995
+ ro as instanceOfUiCriterion,
5996
+ ja as instanceOfUiCriterionLiteral,
5997
+ is as instanceOfUiDataOffer,
5998
+ Wo as instanceOfUiDataSource,
5999
+ Go as instanceOfUiDataSourceHttpData,
6000
+ Ko as instanceOfUiDataSourceOnRequest,
6001
+ za as instanceOfUiPolicy,
6002
+ Za as instanceOfUiPolicyConstraint,
6003
+ Jo as instanceOfUiPolicyCreateRequest,
6004
+ Ha as instanceOfUiPolicyExpression,
6005
+ Ma as instanceOfUiPolicyLiteral,
6006
+ sa as mapValues,
6007
+ Ve as querystring
5923
6008
  };
5924
6009
  //# sourceMappingURL=sovity-edc-client.js.map