@sovity.de/edc-client 7.4.0 → 7.5.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
- var nt = Object.defineProperty;
2
- var it = (e, t, r) => t in e ? nt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var x = (e, t, r) => (it(e, typeof t != "symbol" ? t + "" : t, r), r);
4
- const st = "https://my-connector/api/management".replace(
1
+ var it = Object.defineProperty;
2
+ var st = (e, t, r) => t in e ? it(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var b = (e, t, r) => (st(e, typeof t != "symbol" ? t + "" : t, r), r);
4
+ const at = "https://my-connector/api/management".replace(
5
5
  /\/+$/,
6
6
  ""
7
7
  );
8
- class qe {
8
+ class Fe {
9
9
  constructor(t = {}) {
10
10
  this.configuration = t;
11
11
  }
@@ -13,7 +13,7 @@ class qe {
13
13
  this.configuration = t;
14
14
  }
15
15
  get basePath() {
16
- return this.configuration.basePath != null ? this.configuration.basePath : st;
16
+ return this.configuration.basePath != null ? this.configuration.basePath : at;
17
17
  }
18
18
  get fetchApi() {
19
19
  return this.configuration.fetchApi;
@@ -22,7 +22,7 @@ class qe {
22
22
  return this.configuration.middleware || [];
23
23
  }
24
24
  get queryParamsStringify() {
25
- return this.configuration.queryParamsStringify || Fe;
25
+ return this.configuration.queryParamsStringify || qe;
26
26
  }
27
27
  get username() {
28
28
  return this.configuration.username;
@@ -47,10 +47,10 @@ class qe {
47
47
  return this.configuration.credentials;
48
48
  }
49
49
  }
50
- const at = new qe(), we = class we {
51
- constructor(t = at) {
52
- x(this, "middleware");
53
- x(this, "fetchApi", async (t, r) => {
50
+ const ot = new Fe(), we = class we {
51
+ constructor(t = ot) {
52
+ b(this, "middleware");
53
+ b(this, "fetchApi", async (t, r) => {
54
54
  let n = { url: t, init: r };
55
55
  for (const s of this.middleware)
56
56
  s.pre && (n = await s.pre({
@@ -73,7 +73,7 @@ const at = new qe(), we = class we {
73
73
  response: i ? i.clone() : void 0
74
74
  }) || i);
75
75
  if (i === void 0)
76
- throw s instanceof Error ? new ut(
76
+ throw s instanceof Error ? new lt(
77
77
  s,
78
78
  "The request failed and the interceptors did not return an alternative response"
79
79
  ) : s;
@@ -121,7 +121,7 @@ const at = new qe(), we = class we {
121
121
  ), s = await this.fetchApi(n, i);
122
122
  if (s && s.status >= 200 && s.status < 300)
123
123
  return s;
124
- throw new dt(s, "Response returned an error code");
124
+ throw new ut(s, "Response returned an error code");
125
125
  }
126
126
  async createFetchParams(t, r) {
127
127
  let n = this.configuration.basePath + t.path;
@@ -147,7 +147,7 @@ const at = new qe(), we = class we {
147
147
  })
148
148
  }, p = {
149
149
  ...o,
150
- body: ct(o.body) || o.body instanceof URLSearchParams || ot(o.body) ? o.body : JSON.stringify(o.body)
150
+ body: dt(o.body) || o.body instanceof URLSearchParams || ct(o.body) ? o.body : JSON.stringify(o.body)
151
151
  };
152
152
  return { url: n, init: p };
153
153
  }
@@ -160,39 +160,39 @@ const at = new qe(), we = class we {
160
160
  return r.middleware = this.middleware.slice(), r;
161
161
  }
162
162
  };
163
- x(we, "jsonRegex", new RegExp(
163
+ b(we, "jsonRegex", new RegExp(
164
164
  "^(:?application/json|[^;/ ]+/[^;/ ]+[+]json)[ ]*(:?;.*)?$",
165
165
  "i"
166
166
  ));
167
- let Q = we;
168
- function ot(e) {
167
+ let W = we;
168
+ function ct(e) {
169
169
  return typeof Blob < "u" && e instanceof Blob;
170
170
  }
171
- function ct(e) {
171
+ function dt(e) {
172
172
  return typeof FormData < "u" && e instanceof FormData;
173
173
  }
174
- class dt extends Error {
174
+ class ut extends Error {
175
175
  constructor(r, n) {
176
176
  super(n);
177
- x(this, "name", "ResponseError");
177
+ b(this, "name", "ResponseError");
178
178
  this.response = r;
179
179
  }
180
180
  }
181
- class ut extends Error {
181
+ class lt extends Error {
182
182
  constructor(r, n) {
183
183
  super(n);
184
- x(this, "name", "FetchError");
184
+ b(this, "name", "FetchError");
185
185
  this.cause = r;
186
186
  }
187
187
  }
188
- class E extends Error {
188
+ class U extends Error {
189
189
  constructor(r, n) {
190
190
  super(n);
191
- x(this, "name", "RequiredError");
191
+ b(this, "name", "RequiredError");
192
192
  this.field = r;
193
193
  }
194
194
  }
195
- const ui = {
195
+ const Si = {
196
196
  csv: ",",
197
197
  ssv: " ",
198
198
  tsv: " ",
@@ -202,7 +202,7 @@ function c(e, t) {
202
202
  const r = e[t];
203
203
  return r != null;
204
204
  }
205
- function Fe(e, t = "") {
205
+ function qe(e, t = "") {
206
206
  return Object.keys(e).map((r) => Me(r, e[r], t)).filter((r) => r.length > 0).join("&");
207
207
  }
208
208
  function Me(e, t, r = "") {
@@ -217,23 +217,23 @@ function Me(e, t, r = "") {
217
217
  }
218
218
  return t instanceof Date ? `${encodeURIComponent(n)}=${encodeURIComponent(
219
219
  t.toISOString()
220
- )}` : t instanceof Object ? Fe(t, n) : `${encodeURIComponent(n)}=${encodeURIComponent(
220
+ )}` : t instanceof Object ? qe(t, n) : `${encodeURIComponent(n)}=${encodeURIComponent(
221
221
  String(t)
222
222
  )}`;
223
223
  }
224
- function li(e, t) {
224
+ function Ti(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 fi(e) {
230
+ function Pi(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 S {
236
+ class C {
237
237
  constructor(t, r = (n) => n) {
238
238
  this.raw = t, this.transformer = r;
239
239
  }
@@ -241,14 +241,14 @@ class S {
241
241
  return this.transformer(await this.raw.json());
242
242
  }
243
243
  }
244
- class lt {
244
+ class ft {
245
245
  constructor(t) {
246
246
  this.raw = t;
247
247
  }
248
248
  async value() {
249
249
  }
250
250
  }
251
- class pi {
251
+ class Ii {
252
252
  constructor(t) {
253
253
  this.raw = t;
254
254
  }
@@ -256,7 +256,7 @@ class pi {
256
256
  return await this.raw.blob();
257
257
  }
258
258
  }
259
- class ft {
259
+ class pt {
260
260
  constructor(t) {
261
261
  this.raw = t;
262
262
  }
@@ -264,14 +264,14 @@ class ft {
264
264
  return await this.raw.text();
265
265
  }
266
266
  }
267
- function mi(e) {
267
+ function Oi(e) {
268
268
  let t = !0;
269
269
  return 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;
270
270
  }
271
- function Se(e) {
272
- return pt(e);
271
+ function Ce(e) {
272
+ return mt(e);
273
273
  }
274
- function pt(e, t) {
274
+ function mt(e, t) {
275
275
  return e == null ? e : {
276
276
  assetId: e.assetId,
277
277
  connectorEndpoint: e.connectorEndpoint,
@@ -332,7 +332,7 @@ function pt(e, t) {
332
332
  ) ? e.privateCustomJsonLdAsString : void 0
333
333
  };
334
334
  }
335
- function Ne(e) {
335
+ function Ae(e) {
336
336
  if (e !== void 0)
337
337
  return e === null ? null : {
338
338
  assetId: e.assetId,
@@ -376,32 +376,132 @@ function Ne(e) {
376
376
  privateCustomJsonLdAsString: e.privateCustomJsonLdAsString
377
377
  };
378
378
  }
379
- function hi(e) {
379
+ function xi(e) {
380
380
  let t = !0;
381
381
  return t = t && "assets" in e, t;
382
382
  }
383
- function mt(e) {
384
- return ht(e);
383
+ function ht(e) {
384
+ return gt(e);
385
385
  }
386
- function ht(e, t) {
386
+ function gt(e, t) {
387
387
  return e == null ? e : {
388
- assets: e.assets.map(Se)
388
+ assets: e.assets.map(Ce)
389
389
  };
390
390
  }
391
- function gi(e) {
391
+ function Ni(e) {
392
392
  if (e !== void 0)
393
393
  return e === null ? null : {
394
- assets: e.assets.map(Ne)
394
+ assets: e.assets.map(Ae)
395
395
  };
396
396
  }
397
- function yi(e) {
397
+ const Ai = {
398
+ Value: "VALUE",
399
+ ValueList: "VALUE_LIST"
400
+ };
401
+ function yt(e) {
402
+ return vt(e);
403
+ }
404
+ function vt(e, t) {
405
+ return e;
406
+ }
407
+ function bi(e) {
408
+ return e;
409
+ }
410
+ function Di(e) {
411
+ return !0;
412
+ }
413
+ function _t(e) {
414
+ return wt(e);
415
+ }
416
+ function wt(e, t) {
417
+ return e == null ? e : {
418
+ type: c(e, "type") ? yt(e.type) : void 0,
419
+ value: c(e, "value") ? e.value : void 0,
420
+ valueList: c(e, "valueList") ? e.valueList : void 0
421
+ };
422
+ }
423
+ function Ct(e) {
424
+ if (e !== void 0)
425
+ return e === null ? null : {
426
+ type: e.type,
427
+ value: e.value,
428
+ valueList: e.valueList
429
+ };
430
+ }
431
+ const ki = {
432
+ Like: "LIKE",
433
+ Eq: "EQ",
434
+ In: "IN"
435
+ };
436
+ function St(e) {
437
+ return Tt(e);
438
+ }
439
+ function Tt(e, t) {
440
+ return e;
441
+ }
442
+ function Ri(e) {
443
+ return e;
444
+ }
445
+ function Ui(e) {
446
+ let t = !0;
447
+ return t = t && "operandLeft" in e, t = t && "operator" in e, t = t && "operandRight" in e, t;
448
+ }
449
+ function Pt(e) {
450
+ return It(e);
451
+ }
452
+ function It(e, t) {
453
+ return e == null ? e : {
454
+ operandLeft: e.operandLeft,
455
+ operator: St(e.operator),
456
+ operandRight: _t(
457
+ e.operandRight
458
+ )
459
+ };
460
+ }
461
+ function Ot(e) {
462
+ if (e !== void 0)
463
+ return e === null ? null : {
464
+ operandLeft: e.operandLeft,
465
+ operator: e.operator,
466
+ operandRight: Ct(e.operandRight)
467
+ };
468
+ }
469
+ function Ei(e) {
470
+ let t = !0;
471
+ return t = t && "connectorEndpoint" in e, t;
472
+ }
473
+ function Ji(e) {
474
+ return xt(e);
475
+ }
476
+ function xt(e, t) {
477
+ return e == null ? e : {
478
+ connectorEndpoint: e.connectorEndpoint,
479
+ limit: c(e, "limit") ? e.limit : void 0,
480
+ offset: c(e, "offset") ? e.offset : void 0,
481
+ filterExpressions: c(e, "filterExpressions") ? e.filterExpressions.map(
482
+ Pt
483
+ ) : void 0
484
+ };
485
+ }
486
+ function Nt(e) {
487
+ if (e !== void 0)
488
+ return e === null ? null : {
489
+ connectorEndpoint: e.connectorEndpoint,
490
+ limit: e.limit,
491
+ offset: e.offset,
492
+ filterExpressions: e.filterExpressions === void 0 ? void 0 : e.filterExpressions.map(
493
+ Ot
494
+ )
495
+ };
496
+ }
497
+ function Li(e) {
398
498
  let t = !0;
399
499
  return t = t && "numActiveConsumingContractAgreements" in e, t;
400
500
  }
401
- function gt(e) {
402
- return yt(e);
501
+ function At(e) {
502
+ return bt(e);
403
503
  }
404
- function yt(e, t) {
504
+ function bt(e, t) {
405
505
  return e == null ? e : {
406
506
  numActiveConsumingContractAgreements: e.numActiveConsumingContractAgreements,
407
507
  maxActiveConsumingContractAgreements: c(
@@ -410,52 +510,52 @@ function yt(e, t) {
410
510
  ) ? e.maxActiveConsumingContractAgreements : void 0
411
511
  };
412
512
  }
413
- function vi(e) {
513
+ function Fi(e) {
414
514
  if (e !== void 0)
415
515
  return e === null ? null : {
416
516
  numActiveConsumingContractAgreements: e.numActiveConsumingContractAgreements,
417
517
  maxActiveConsumingContractAgreements: e.maxActiveConsumingContractAgreements
418
518
  };
419
519
  }
420
- const _i = {
520
+ const qi = {
421
521
  Consuming: "CONSUMING",
422
522
  Providing: "PROVIDING"
423
523
  };
424
524
  function Ze(e) {
425
- return vt(e);
525
+ return Dt(e);
426
526
  }
427
- function vt(e, t) {
527
+ function Dt(e, t) {
428
528
  return e;
429
529
  }
430
- function wi(e) {
530
+ function Mi(e) {
431
531
  return e;
432
532
  }
433
- const Si = {
533
+ const Zi = {
434
534
  Running: "RUNNING",
435
535
  Ok: "OK",
436
536
  Error: "ERROR"
437
537
  };
438
- function _t(e) {
439
- return wt(e);
538
+ function kt(e) {
539
+ return Rt(e);
440
540
  }
441
- function wt(e, t) {
541
+ function Rt(e, t) {
442
542
  return e;
443
543
  }
444
- function Ci(e) {
544
+ function $i(e) {
445
545
  return e;
446
546
  }
447
- function Ti(e) {
547
+ function Vi(e) {
448
548
  let t = !0;
449
549
  return t = t && "name" in e, t = t && "code" in e, t = t && "simplifiedState" in e, t;
450
550
  }
451
551
  function $e(e) {
452
- return St(e);
552
+ return Ut(e);
453
553
  }
454
- function St(e, t) {
554
+ function Ut(e, t) {
455
555
  return e == null ? e : {
456
556
  name: e.name,
457
557
  code: e.code,
458
- simplifiedState: _t(
558
+ simplifiedState: kt(
459
559
  e.simplifiedState
460
560
  )
461
561
  };
@@ -468,14 +568,14 @@ function Ve(e) {
468
568
  simplifiedState: e.simplifiedState
469
569
  };
470
570
  }
471
- function Pi(e) {
571
+ function Hi(e) {
472
572
  let t = !0;
473
573
  return t = t && "transferProcessId" in e, t = t && "lastUpdatedDate" in e, t = t && "state" in e, t;
474
574
  }
475
- function Ct(e) {
476
- return Tt(e);
575
+ function Et(e) {
576
+ return Jt(e);
477
577
  }
478
- function Tt(e, t) {
578
+ function Jt(e, t) {
479
579
  return e == null ? e : {
480
580
  transferProcessId: e.transferProcessId,
481
581
  lastUpdatedDate: new Date(e.lastUpdatedDate),
@@ -483,7 +583,7 @@ function Tt(e, t) {
483
583
  errorMessage: c(e, "errorMessage") ? e.errorMessage : void 0
484
584
  };
485
585
  }
486
- function Pt(e) {
586
+ function Lt(e) {
487
587
  if (e !== void 0)
488
588
  return e === null ? null : {
489
589
  transferProcessId: e.transferProcessId,
@@ -492,7 +592,7 @@ function Pt(e) {
492
592
  errorMessage: e.errorMessage
493
593
  };
494
594
  }
495
- const Ii = {
595
+ const zi = {
496
596
  Eq: "EQ",
497
597
  Neq: "NEQ",
498
598
  Gt: "GT",
@@ -506,44 +606,44 @@ const Ii = {
506
606
  IsAnyOf: "IS_ANY_OF",
507
607
  IsNoneOf: "IS_NONE_OF"
508
608
  };
509
- function It(e) {
510
- return Ot(e);
609
+ function Ft(e) {
610
+ return qt(e);
511
611
  }
512
- function Ot(e, t) {
612
+ function qt(e, t) {
513
613
  return e;
514
614
  }
515
- function Oi(e) {
615
+ function Bi(e) {
516
616
  return e;
517
617
  }
518
- const bi = {
618
+ const Gi = {
519
619
  String: "STRING",
520
620
  StringList: "STRING_LIST",
521
621
  Json: "JSON"
522
622
  };
523
- function bt(e) {
524
- return At(e);
623
+ function Mt(e) {
624
+ return Zt(e);
525
625
  }
526
- function At(e, t) {
626
+ function Zt(e, t) {
527
627
  return e;
528
628
  }
529
- function Ai(e) {
629
+ function Qi(e) {
530
630
  return e;
531
631
  }
532
- function Ni(e) {
632
+ function Ki(e) {
533
633
  let t = !0;
534
634
  return t = t && "type" in e, t;
535
635
  }
536
- function Nt(e) {
537
- return xt(e);
636
+ function $t(e) {
637
+ return Vt(e);
538
638
  }
539
- function xt(e, t) {
639
+ function Vt(e, t) {
540
640
  return e == null ? e : {
541
- type: bt(e.type),
641
+ type: Mt(e.type),
542
642
  value: c(e, "value") ? e.value : void 0,
543
643
  valueList: c(e, "valueList") ? e.valueList : void 0
544
644
  };
545
645
  }
546
- function kt(e) {
646
+ function Ht(e) {
547
647
  if (e !== void 0)
548
648
  return e === null ? null : {
549
649
  type: e.type,
@@ -551,18 +651,18 @@ function kt(e) {
551
651
  valueList: e.valueList
552
652
  };
553
653
  }
554
- function xi(e) {
654
+ function Wi(e) {
555
655
  let t = !0;
556
656
  return t = t && "left" in e, t = t && "operator" in e, t = t && "right" in e, t;
557
657
  }
558
658
  function He(e) {
559
- return Dt(e);
659
+ return zt(e);
560
660
  }
561
- function Dt(e, t) {
661
+ function zt(e, t) {
562
662
  return e == null ? e : {
563
663
  left: e.left,
564
- operator: It(e.operator),
565
- right: Nt(e.right)
664
+ operator: Ft(e.operator),
665
+ right: $t(e.right)
566
666
  };
567
667
  }
568
668
  function ze(e) {
@@ -570,17 +670,17 @@ function ze(e) {
570
670
  return e === null ? null : {
571
671
  left: e.left,
572
672
  operator: e.operator,
573
- right: kt(e.right)
673
+ right: Ht(e.right)
574
674
  };
575
675
  }
576
- function ki(e) {
676
+ function Yi(e) {
577
677
  let t = !0;
578
678
  return t = t && "policyJsonLd" in e, t = t && "errors" in e, t;
579
679
  }
580
- function xe(e) {
581
- return Rt(e);
680
+ function be(e) {
681
+ return Bt(e);
582
682
  }
583
- function Rt(e, t) {
683
+ function Bt(e, t) {
584
684
  return e == null ? e : {
585
685
  policyJsonLd: e.policyJsonLd,
586
686
  constraints: c(e, "constraints") ? e.constraints.map(
@@ -589,7 +689,7 @@ function Rt(e, t) {
589
689
  errors: e.errors
590
690
  };
591
691
  }
592
- function ke(e) {
692
+ function De(e) {
593
693
  if (e !== void 0)
594
694
  return e === null ? null : {
595
695
  policyJsonLd: e.policyJsonLd,
@@ -599,14 +699,14 @@ function ke(e) {
599
699
  errors: e.errors
600
700
  };
601
701
  }
602
- function Di(e) {
702
+ function Xi(e) {
603
703
  let t = !0;
604
704
  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;
605
705
  }
606
- function Ut(e) {
607
- return Jt(e);
706
+ function Gt(e) {
707
+ return Qt(e);
608
708
  }
609
- function Jt(e, t) {
709
+ function Qt(e, t) {
610
710
  return e == null ? e : {
611
711
  contractAgreementId: e.contractAgreementId,
612
712
  contractNegotiationId: e.contractNegotiationId,
@@ -614,14 +714,14 @@ function Jt(e, t) {
614
714
  counterPartyAddress: e.counterPartyAddress,
615
715
  counterPartyId: e.counterPartyId,
616
716
  contractSigningDate: new Date(e.contractSigningDate),
617
- asset: Se(e.asset),
618
- contractPolicy: xe(e.contractPolicy),
717
+ asset: Ce(e.asset),
718
+ contractPolicy: be(e.contractPolicy),
619
719
  transferProcesses: e.transferProcesses.map(
620
- Ct
720
+ Et
621
721
  )
622
722
  };
623
723
  }
624
- function Et(e) {
724
+ function Kt(e) {
625
725
  if (e !== void 0)
626
726
  return e === null ? null : {
627
727
  contractAgreementId: e.contractAgreementId,
@@ -630,62 +730,62 @@ function Et(e) {
630
730
  counterPartyAddress: e.counterPartyAddress,
631
731
  counterPartyId: e.counterPartyId,
632
732
  contractSigningDate: e.contractSigningDate.toISOString(),
633
- asset: Ne(e.asset),
634
- contractPolicy: ke(e.contractPolicy),
733
+ asset: Ae(e.asset),
734
+ contractPolicy: De(e.contractPolicy),
635
735
  transferProcesses: e.transferProcesses.map(
636
- Pt
736
+ Lt
637
737
  )
638
738
  };
639
739
  }
640
- function Ri(e) {
740
+ function ji(e) {
641
741
  let t = !0;
642
742
  return t = t && "contractAgreements" in e, t;
643
743
  }
644
- function Lt(e) {
645
- return qt(e);
744
+ function Wt(e) {
745
+ return Yt(e);
646
746
  }
647
- function qt(e, t) {
747
+ function Yt(e, t) {
648
748
  return e == null ? e : {
649
749
  contractAgreements: e.contractAgreements.map(
650
- Ut
750
+ Gt
651
751
  )
652
752
  };
653
753
  }
654
- function Ui(e) {
754
+ function es(e) {
655
755
  if (e !== void 0)
656
756
  return e === null ? null : {
657
757
  contractAgreements: e.contractAgreements.map(
658
- Et
758
+ Kt
659
759
  )
660
760
  };
661
761
  }
662
- const Ji = {
762
+ const ts = {
663
763
  Value: "VALUE",
664
764
  ValueList: "VALUE_LIST"
665
765
  };
666
- function Ft(e) {
667
- return Mt(e);
766
+ function Xt(e) {
767
+ return jt(e);
668
768
  }
669
- function Mt(e, t) {
769
+ function jt(e, t) {
670
770
  return e;
671
771
  }
672
- function Ei(e) {
772
+ function rs(e) {
673
773
  return e;
674
774
  }
675
- function Li(e) {
775
+ function ns(e) {
676
776
  return !0;
677
777
  }
678
- function Zt(e) {
679
- return $t(e);
778
+ function er(e) {
779
+ return tr(e);
680
780
  }
681
- function $t(e, t) {
781
+ function tr(e, t) {
682
782
  return e == null ? e : {
683
- type: c(e, "type") ? Ft(e.type) : void 0,
783
+ type: c(e, "type") ? Xt(e.type) : void 0,
684
784
  value: c(e, "value") ? e.value : void 0,
685
785
  valueList: c(e, "valueList") ? e.valueList : void 0
686
786
  };
687
787
  }
688
- function Vt(e) {
788
+ function rr(e) {
689
789
  if (e !== void 0)
690
790
  return e === null ? null : {
691
791
  type: e.type,
@@ -693,32 +793,32 @@ function Vt(e) {
693
793
  valueList: e.valueList
694
794
  };
695
795
  }
696
- const qi = {
796
+ const is = {
697
797
  Eq: "EQ",
698
798
  In: "IN",
699
799
  Like: "LIKE"
700
800
  };
701
- function Ht(e) {
702
- return zt(e);
801
+ function nr(e) {
802
+ return ir(e);
703
803
  }
704
- function zt(e, t) {
804
+ function ir(e, t) {
705
805
  return e;
706
806
  }
707
- function Fi(e) {
807
+ function ss(e) {
708
808
  return e;
709
809
  }
710
- function Mi(e) {
810
+ function as(e) {
711
811
  let t = !0;
712
812
  return t = t && "operandLeft" in e, t = t && "operator" in e, t = t && "operandRight" in e, t;
713
813
  }
714
814
  function Be(e) {
715
- return Bt(e);
815
+ return sr(e);
716
816
  }
717
- function Bt(e, t) {
817
+ function sr(e, t) {
718
818
  return e == null ? e : {
719
819
  operandLeft: e.operandLeft,
720
- operator: Ht(e.operator),
721
- operandRight: Zt(e.operandRight)
820
+ operator: nr(e.operator),
821
+ operandRight: er(e.operandRight)
722
822
  };
723
823
  }
724
824
  function Ge(e) {
@@ -726,17 +826,17 @@ function Ge(e) {
726
826
  return e === null ? null : {
727
827
  operandLeft: e.operandLeft,
728
828
  operator: e.operator,
729
- operandRight: Vt(e.operandRight)
829
+ operandRight: rr(e.operandRight)
730
830
  };
731
831
  }
732
- function Zi(e) {
832
+ function os(e) {
733
833
  let t = !0;
734
834
  return t = t && "contractDefinitionId" in e, t = t && "accessPolicyId" in e, t = t && "contractPolicyId" in e, t = t && "assetSelector" in e, t;
735
835
  }
736
- function Gt(e) {
737
- return Kt(e);
836
+ function ar(e) {
837
+ return or(e);
738
838
  }
739
- function Kt(e, t) {
839
+ function or(e, t) {
740
840
  return e == null ? e : {
741
841
  contractDefinitionId: e.contractDefinitionId,
742
842
  accessPolicyId: e.accessPolicyId,
@@ -746,7 +846,7 @@ function Kt(e, t) {
746
846
  )
747
847
  };
748
848
  }
749
- function Wt(e) {
849
+ function cr(e) {
750
850
  if (e !== void 0)
751
851
  return e === null ? null : {
752
852
  contractDefinitionId: e.contractDefinitionId,
@@ -757,36 +857,36 @@ function Wt(e) {
757
857
  )
758
858
  };
759
859
  }
760
- function $i(e) {
860
+ function cs(e) {
761
861
  let t = !0;
762
862
  return t = t && "contractDefinitions" in e, t;
763
863
  }
764
- function Qt(e) {
765
- return Yt(e);
864
+ function dr(e) {
865
+ return ur(e);
766
866
  }
767
- function Yt(e, t) {
867
+ function ur(e, t) {
768
868
  return e == null ? e : {
769
869
  contractDefinitions: e.contractDefinitions.map(
770
- Gt
870
+ ar
771
871
  )
772
872
  };
773
873
  }
774
- function Vi(e) {
874
+ function ds(e) {
775
875
  if (e !== void 0)
776
876
  return e === null ? null : {
777
877
  contractDefinitions: e.contractDefinitions.map(
778
- Wt
878
+ cr
779
879
  )
780
880
  };
781
881
  }
782
- function Hi(e) {
882
+ function us(e) {
783
883
  let t = !0;
784
884
  return t = t && "contractDefinitionId" in e, t = t && "contractPolicyId" in e, t = t && "accessPolicyId" in e, t = t && "assetSelector" in e, t;
785
885
  }
786
- function zi(e) {
787
- return Xt(e);
886
+ function ls(e) {
887
+ return lr(e);
788
888
  }
789
- function Xt(e, t) {
889
+ function lr(e, t) {
790
890
  return e == null ? e : {
791
891
  contractDefinitionId: e.contractDefinitionId,
792
892
  contractPolicyId: e.contractPolicyId,
@@ -796,7 +896,7 @@ function Xt(e, t) {
796
896
  )
797
897
  };
798
898
  }
799
- function jt(e) {
899
+ function fr(e) {
800
900
  if (e !== void 0)
801
901
  return e === null ? null : {
802
902
  contractDefinitionId: e.contractDefinitionId,
@@ -807,14 +907,14 @@ function jt(e) {
807
907
  )
808
908
  };
809
909
  }
810
- function Bi(e) {
910
+ function fs(e) {
811
911
  let t = !0;
812
912
  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;
813
913
  }
814
- function Gi(e) {
815
- return er(e);
914
+ function ps(e) {
915
+ return pr(e);
816
916
  }
817
- function er(e, t) {
917
+ function pr(e, t) {
818
918
  return e == null ? e : {
819
919
  counterPartyAddress: e.counterPartyAddress,
820
920
  counterPartyParticipantId: e.counterPartyParticipantId,
@@ -823,7 +923,7 @@ function er(e, t) {
823
923
  assetId: e.assetId
824
924
  };
825
925
  }
826
- function tr(e) {
926
+ function mr(e) {
827
927
  if (e !== void 0)
828
928
  return e === null ? null : {
829
929
  counterPartyAddress: e.counterPartyAddress,
@@ -833,37 +933,37 @@ function tr(e) {
833
933
  assetId: e.assetId
834
934
  };
835
935
  }
836
- const Ki = {
936
+ const ms = {
837
937
  InProgress: "IN_PROGRESS",
838
938
  Agreed: "AGREED",
839
939
  Terminated: "TERMINATED"
840
940
  };
841
- function rr(e) {
842
- return nr(e);
941
+ function hr(e) {
942
+ return gr(e);
843
943
  }
844
- function nr(e, t) {
944
+ function gr(e, t) {
845
945
  return e;
846
946
  }
847
- function Wi(e) {
947
+ function hs(e) {
848
948
  return e;
849
949
  }
850
- function Qi(e) {
950
+ function gs(e) {
851
951
  let t = !0;
852
952
  return t = t && "name" in e, t = t && "code" in e, t = t && "simplifiedState" in e, t;
853
953
  }
854
- function ir(e) {
855
- return sr(e);
954
+ function yr(e) {
955
+ return vr(e);
856
956
  }
857
- function sr(e, t) {
957
+ function vr(e, t) {
858
958
  return e == null ? e : {
859
959
  name: e.name,
860
960
  code: e.code,
861
- simplifiedState: rr(
961
+ simplifiedState: hr(
862
962
  e.simplifiedState
863
963
  )
864
964
  };
865
965
  }
866
- function ar(e) {
966
+ function _r(e) {
867
967
  if (e !== void 0)
868
968
  return e === null ? null : {
869
969
  name: e.name,
@@ -871,41 +971,41 @@ function ar(e) {
871
971
  simplifiedState: e.simplifiedState
872
972
  };
873
973
  }
874
- function Yi(e) {
974
+ function ys(e) {
875
975
  let t = !0;
876
976
  return t = t && "tokenUrl" in e, t = t && "jwksUrl" in e, t;
877
977
  }
878
- function or(e) {
879
- return cr(e);
978
+ function wr(e) {
979
+ return Cr(e);
880
980
  }
881
- function cr(e, t) {
981
+ function Cr(e, t) {
882
982
  return e == null ? e : {
883
983
  tokenUrl: e.tokenUrl,
884
984
  jwksUrl: e.jwksUrl
885
985
  };
886
986
  }
887
- function dr(e) {
987
+ function Sr(e) {
888
988
  if (e !== void 0)
889
989
  return e === null ? null : {
890
990
  tokenUrl: e.tokenUrl,
891
991
  jwksUrl: e.jwksUrl
892
992
  };
893
993
  }
894
- function Xi(e) {
994
+ function vs(e) {
895
995
  let t = !0;
896
996
  return t = t && "url" in e, t = t && "tokenUrl" in e, t = t && "authorityId" in e, t;
897
997
  }
898
- function ur(e) {
899
- return lr(e);
998
+ function Tr(e) {
999
+ return Pr(e);
900
1000
  }
901
- function lr(e, t) {
1001
+ function Pr(e, t) {
902
1002
  return e == null ? e : {
903
1003
  url: e.url,
904
1004
  tokenUrl: e.tokenUrl,
905
1005
  authorityId: e.authorityId
906
1006
  };
907
1007
  }
908
- function fr(e) {
1008
+ function Ir(e) {
909
1009
  if (e !== void 0)
910
1010
  return e === null ? null : {
911
1011
  url: e.url,
@@ -913,14 +1013,14 @@ function fr(e) {
913
1013
  authorityId: e.authorityId
914
1014
  };
915
1015
  }
916
- function ji(e) {
1016
+ function _s(e) {
917
1017
  let t = !0;
918
1018
  return t = t && "numTotal" in e, t = t && "numRunning" in e, t = t && "numOk" in e, t = t && "numError" in e, t;
919
1019
  }
920
- function De(e) {
921
- return pr(e);
1020
+ function ke(e) {
1021
+ return Or(e);
922
1022
  }
923
- function pr(e, t) {
1023
+ function Or(e, t) {
924
1024
  return e == null ? e : {
925
1025
  numTotal: e.numTotal,
926
1026
  numRunning: e.numRunning,
@@ -937,24 +1037,24 @@ function Re(e) {
937
1037
  numError: e.numError
938
1038
  };
939
1039
  }
940
- function es(e) {
1040
+ function ws(e) {
941
1041
  let t = !0;
942
1042
  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;
943
1043
  }
944
- function mr(e) {
945
- return hr(e);
1044
+ function xr(e) {
1045
+ return Nr(e);
946
1046
  }
947
- function hr(e, t) {
1047
+ function Nr(e, t) {
948
1048
  return e == null ? e : {
949
1049
  numAssets: e.numAssets,
950
1050
  numPolicies: e.numPolicies,
951
1051
  numContractDefinitions: e.numContractDefinitions,
952
1052
  numContractAgreementsConsuming: e.numContractAgreementsConsuming,
953
1053
  numContractAgreementsProviding: e.numContractAgreementsProviding,
954
- transferProcessesConsuming: De(
1054
+ transferProcessesConsuming: ke(
955
1055
  e.transferProcessesConsuming
956
1056
  ),
957
- transferProcessesProviding: De(
1057
+ transferProcessesProviding: ke(
958
1058
  e.transferProcessesProviding
959
1059
  ),
960
1060
  connectorEndpoint: e.connectorEndpoint,
@@ -965,11 +1065,11 @@ function hr(e, t) {
965
1065
  connectorCuratorName: e.connectorCuratorName,
966
1066
  connectorMaintainerUrl: e.connectorMaintainerUrl,
967
1067
  connectorMaintainerName: e.connectorMaintainerName,
968
- connectorDapsConfig: c(e, "connectorDapsConfig") ? or(e.connectorDapsConfig) : void 0,
969
- connectorMiwConfig: c(e, "connectorMiwConfig") ? ur(e.connectorMiwConfig) : void 0
1068
+ connectorDapsConfig: c(e, "connectorDapsConfig") ? wr(e.connectorDapsConfig) : void 0,
1069
+ connectorMiwConfig: c(e, "connectorMiwConfig") ? Tr(e.connectorMiwConfig) : void 0
970
1070
  };
971
1071
  }
972
- function ts(e) {
1072
+ function Cs(e) {
973
1073
  if (e !== void 0)
974
1074
  return e === null ? null : {
975
1075
  numAssets: e.numAssets,
@@ -991,67 +1091,67 @@ function ts(e) {
991
1091
  connectorCuratorName: e.connectorCuratorName,
992
1092
  connectorMaintainerUrl: e.connectorMaintainerUrl,
993
1093
  connectorMaintainerName: e.connectorMaintainerName,
994
- connectorDapsConfig: dr(
1094
+ connectorDapsConfig: Sr(
995
1095
  e.connectorDapsConfig
996
1096
  ),
997
- connectorMiwConfig: fr(e.connectorMiwConfig)
1097
+ connectorMiwConfig: Ir(e.connectorMiwConfig)
998
1098
  };
999
1099
  }
1000
- function rs(e) {
1100
+ function Ss(e) {
1001
1101
  let t = !0;
1002
1102
  return t = t && "id" in e, t = t && "lastUpdatedDate" in e, t;
1003
1103
  }
1004
1104
  function R(e) {
1005
- return gr(e);
1105
+ return Ar(e);
1006
1106
  }
1007
- function gr(e, t) {
1107
+ function Ar(e, t) {
1008
1108
  return e == null ? e : {
1009
1109
  id: e.id,
1010
1110
  lastUpdatedDate: new Date(e.lastUpdatedDate)
1011
1111
  };
1012
1112
  }
1013
- function ns(e) {
1113
+ function Ts(e) {
1014
1114
  if (e !== void 0)
1015
1115
  return e === null ? null : {
1016
1116
  id: e.id,
1017
1117
  lastUpdatedDate: e.lastUpdatedDate.toISOString()
1018
1118
  };
1019
1119
  }
1020
- function is(e) {
1120
+ function Ps(e) {
1021
1121
  let t = !0;
1022
1122
  return t = t && "contractAgreementId" in e, t = t && "transferProcessRequestJsonLd" in e, t;
1023
1123
  }
1024
- function ss(e) {
1025
- return yr(e);
1124
+ function Is(e) {
1125
+ return br(e);
1026
1126
  }
1027
- function yr(e, t) {
1127
+ function br(e, t) {
1028
1128
  return e == null ? e : {
1029
1129
  contractAgreementId: e.contractAgreementId,
1030
1130
  transferProcessRequestJsonLd: e.transferProcessRequestJsonLd
1031
1131
  };
1032
1132
  }
1033
- function vr(e) {
1133
+ function Dr(e) {
1034
1134
  if (e !== void 0)
1035
1135
  return e === null ? null : {
1036
1136
  contractAgreementId: e.contractAgreementId,
1037
1137
  transferProcessRequestJsonLd: e.transferProcessRequestJsonLd
1038
1138
  };
1039
1139
  }
1040
- function as(e) {
1140
+ function Os(e) {
1041
1141
  let t = !0;
1042
1142
  return t = t && "contractAgreementId" in e, t = t && "dataSinkProperties" in e, t = t && "transferProcessProperties" in e, t;
1043
1143
  }
1044
- function os(e) {
1045
- return _r(e);
1144
+ function xs(e) {
1145
+ return kr(e);
1046
1146
  }
1047
- function _r(e, t) {
1147
+ function kr(e, t) {
1048
1148
  return e == null ? e : {
1049
1149
  contractAgreementId: e.contractAgreementId,
1050
1150
  dataSinkProperties: e.dataSinkProperties,
1051
1151
  transferProcessProperties: e.transferProcessProperties
1052
1152
  };
1053
1153
  }
1054
- function wr(e) {
1154
+ function Rr(e) {
1055
1155
  if (e !== void 0)
1056
1156
  return e === null ? null : {
1057
1157
  contractAgreementId: e.contractAgreementId,
@@ -1059,70 +1159,70 @@ function wr(e) {
1059
1159
  transferProcessProperties: e.transferProcessProperties
1060
1160
  };
1061
1161
  }
1062
- function cs(e) {
1162
+ function Ns(e) {
1063
1163
  let t = !0;
1064
1164
  return t = t && "incomingTransferProcessCounts" in e, t = t && "outgoingTransferProcessCounts" in e, t;
1065
1165
  }
1066
- function Sr(e) {
1067
- return Cr(e);
1166
+ function Ur(e) {
1167
+ return Er(e);
1068
1168
  }
1069
- function Cr(e, t) {
1169
+ function Er(e, t) {
1070
1170
  return e == null ? e : {
1071
1171
  incomingTransferProcessCounts: e.incomingTransferProcessCounts,
1072
1172
  outgoingTransferProcessCounts: e.outgoingTransferProcessCounts
1073
1173
  };
1074
1174
  }
1075
- function Tr(e) {
1175
+ function Jr(e) {
1076
1176
  if (e !== void 0)
1077
1177
  return e === null ? null : {
1078
1178
  incomingTransferProcessCounts: e.incomingTransferProcessCounts,
1079
1179
  outgoingTransferProcessCounts: e.outgoingTransferProcessCounts
1080
1180
  };
1081
1181
  }
1082
- function ds(e) {
1182
+ function As(e) {
1083
1183
  let t = !0;
1084
1184
  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;
1085
1185
  }
1086
- function Pr(e) {
1087
- return Ir(e);
1186
+ function Lr(e) {
1187
+ return Fr(e);
1088
1188
  }
1089
- function Ir(e, t) {
1189
+ function Fr(e, t) {
1090
1190
  return e == null ? e : {
1091
1191
  assetsCount: e.assetsCount,
1092
1192
  policiesCount: e.policiesCount,
1093
1193
  contractDefinitionsCount: e.contractDefinitionsCount,
1094
1194
  contractAgreementsCount: e.contractAgreementsCount,
1095
- transferProcessDto: Sr(
1195
+ transferProcessDto: Ur(
1096
1196
  e.transferProcessDto
1097
1197
  )
1098
1198
  };
1099
1199
  }
1100
- function us(e) {
1200
+ function bs(e) {
1101
1201
  if (e !== void 0)
1102
1202
  return e === null ? null : {
1103
1203
  assetsCount: e.assetsCount,
1104
1204
  policiesCount: e.policiesCount,
1105
1205
  contractDefinitionsCount: e.contractDefinitionsCount,
1106
1206
  contractAgreementsCount: e.contractAgreementsCount,
1107
- transferProcessDto: Tr(
1207
+ transferProcessDto: Jr(
1108
1208
  e.transferProcessDto
1109
1209
  )
1110
1210
  };
1111
1211
  }
1112
- function ls(e) {
1212
+ function Ds(e) {
1113
1213
  return !0;
1114
1214
  }
1115
- function Or(e) {
1116
- return br(e);
1215
+ function qr(e) {
1216
+ return Mr(e);
1117
1217
  }
1118
- function br(e, t) {
1218
+ function Mr(e, t) {
1119
1219
  return e == null ? e : {
1120
1220
  constraints: c(e, "constraints") ? e.constraints.map(
1121
1221
  He
1122
1222
  ) : void 0
1123
1223
  };
1124
1224
  }
1125
- function Ar(e) {
1225
+ function Zr(e) {
1126
1226
  if (e !== void 0)
1127
1227
  return e === null ? null : {
1128
1228
  constraints: e.constraints === void 0 ? void 0 : e.constraints.map(
@@ -1130,74 +1230,74 @@ function Ar(e) {
1130
1230
  )
1131
1231
  };
1132
1232
  }
1133
- function fs(e) {
1233
+ function ks(e) {
1134
1234
  let t = !0;
1135
1235
  return t = t && "policyDefinitionId" in e, t = t && "policy" in e, t;
1136
1236
  }
1137
- function ps(e) {
1138
- return Nr(e);
1237
+ function Rs(e) {
1238
+ return $r(e);
1139
1239
  }
1140
- function Nr(e, t) {
1240
+ function $r(e, t) {
1141
1241
  return e == null ? e : {
1142
1242
  policyDefinitionId: e.policyDefinitionId,
1143
- policy: Or(e.policy)
1243
+ policy: qr(e.policy)
1144
1244
  };
1145
1245
  }
1146
- function xr(e) {
1246
+ function Vr(e) {
1147
1247
  if (e !== void 0)
1148
1248
  return e === null ? null : {
1149
1249
  policyDefinitionId: e.policyDefinitionId,
1150
- policy: Ar(e.policy)
1250
+ policy: Zr(e.policy)
1151
1251
  };
1152
1252
  }
1153
- function ms(e) {
1253
+ function Us(e) {
1154
1254
  let t = !0;
1155
1255
  return t = t && "policyDefinitionId" in e, t = t && "policy" in e, t;
1156
1256
  }
1157
- function kr(e) {
1158
- return Dr(e);
1257
+ function Hr(e) {
1258
+ return zr(e);
1159
1259
  }
1160
- function Dr(e, t) {
1260
+ function zr(e, t) {
1161
1261
  return e == null ? e : {
1162
1262
  policyDefinitionId: e.policyDefinitionId,
1163
- policy: xe(e.policy)
1263
+ policy: be(e.policy)
1164
1264
  };
1165
1265
  }
1166
- function Rr(e) {
1266
+ function Br(e) {
1167
1267
  if (e !== void 0)
1168
1268
  return e === null ? null : {
1169
1269
  policyDefinitionId: e.policyDefinitionId,
1170
- policy: ke(e.policy)
1270
+ policy: De(e.policy)
1171
1271
  };
1172
1272
  }
1173
- function hs(e) {
1273
+ function Es(e) {
1174
1274
  let t = !0;
1175
1275
  return t = t && "policies" in e, t;
1176
1276
  }
1177
- function Ur(e) {
1178
- return Jr(e);
1277
+ function Gr(e) {
1278
+ return Qr(e);
1179
1279
  }
1180
- function Jr(e, t) {
1280
+ function Qr(e, t) {
1181
1281
  return e == null ? e : {
1182
1282
  policies: e.policies.map(
1183
- kr
1283
+ Hr
1184
1284
  )
1185
1285
  };
1186
1286
  }
1187
- function gs(e) {
1287
+ function Js(e) {
1188
1288
  if (e !== void 0)
1189
1289
  return e === null ? null : {
1190
- policies: e.policies.map(Rr)
1290
+ policies: e.policies.map(Br)
1191
1291
  };
1192
1292
  }
1193
- function ys(e) {
1293
+ function Ls(e) {
1194
1294
  let t = !0;
1195
1295
  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;
1196
1296
  }
1197
- function Er(e) {
1198
- return Lr(e);
1297
+ function Kr(e) {
1298
+ return Wr(e);
1199
1299
  }
1200
- function Lr(e, t) {
1300
+ function Wr(e, t) {
1201
1301
  return e == null ? e : {
1202
1302
  transferProcessId: e.transferProcessId,
1203
1303
  createdDate: new Date(e.createdDate),
@@ -1212,7 +1312,7 @@ function Lr(e, t) {
1212
1312
  errorMessage: c(e, "errorMessage") ? e.errorMessage : void 0
1213
1313
  };
1214
1314
  }
1215
- function qr(e) {
1315
+ function Yr(e) {
1216
1316
  if (e !== void 0)
1217
1317
  return e === null ? null : {
1218
1318
  transferProcessId: e.transferProcessId,
@@ -1228,36 +1328,36 @@ function qr(e) {
1228
1328
  errorMessage: e.errorMessage
1229
1329
  };
1230
1330
  }
1231
- function vs(e) {
1331
+ function Fs(e) {
1232
1332
  let t = !0;
1233
1333
  return t = t && "transferEntries" in e, t;
1234
1334
  }
1235
- function Fr(e) {
1236
- return Mr(e);
1335
+ function Xr(e) {
1336
+ return jr(e);
1237
1337
  }
1238
- function Mr(e, t) {
1338
+ function jr(e, t) {
1239
1339
  return e == null ? e : {
1240
1340
  transferEntries: e.transferEntries.map(
1241
- Er
1341
+ Kr
1242
1342
  )
1243
1343
  };
1244
1344
  }
1245
- function _s(e) {
1345
+ function qs(e) {
1246
1346
  if (e !== void 0)
1247
1347
  return e === null ? null : {
1248
1348
  transferEntries: e.transferEntries.map(
1249
- qr
1349
+ Yr
1250
1350
  )
1251
1351
  };
1252
1352
  }
1253
- function ws(e) {
1353
+ function Ms(e) {
1254
1354
  let t = !0;
1255
1355
  return t = t && "id" in e, t = t && "dataAddressProperties" in e, t;
1256
1356
  }
1257
- function Ss(e) {
1258
- return Zr(e);
1357
+ function Zs(e) {
1358
+ return en(e);
1259
1359
  }
1260
- function Zr(e, t) {
1360
+ function en(e, t) {
1261
1361
  return e == null ? e : {
1262
1362
  id: e.id,
1263
1363
  title: c(e, "title") ? e.title : void 0,
@@ -1297,7 +1397,7 @@ function Zr(e, t) {
1297
1397
  ) ? e.privateCustomJsonLdAsString : void 0
1298
1398
  };
1299
1399
  }
1300
- function Ke(e) {
1400
+ function Qe(e) {
1301
1401
  if (e !== void 0)
1302
1402
  return e === null ? null : {
1303
1403
  id: e.id,
@@ -1332,13 +1432,13 @@ function Ke(e) {
1332
1432
  privateCustomJsonLdAsString: e.privateCustomJsonLdAsString
1333
1433
  };
1334
1434
  }
1335
- function Cs(e) {
1435
+ function $s(e) {
1336
1436
  return !0;
1337
1437
  }
1338
- function Ts(e) {
1339
- return $r(e);
1438
+ function Vs(e) {
1439
+ return tn(e);
1340
1440
  }
1341
- function $r(e, t) {
1441
+ function tn(e, t) {
1342
1442
  return e == null ? e : {
1343
1443
  title: c(e, "title") ? e.title : void 0,
1344
1444
  language: c(e, "language") ? e.language : void 0,
@@ -1376,7 +1476,7 @@ function $r(e, t) {
1376
1476
  ) ? e.privateCustomJsonLdAsString : void 0
1377
1477
  };
1378
1478
  }
1379
- function Vr(e) {
1479
+ function rn(e) {
1380
1480
  if (e !== void 0)
1381
1481
  return e === null ? null : {
1382
1482
  title: e.title,
@@ -1409,79 +1509,79 @@ function Vr(e) {
1409
1509
  privateCustomJsonLdAsString: e.privateCustomJsonLdAsString
1410
1510
  };
1411
1511
  }
1412
- function Ps(e) {
1512
+ function Hs(e) {
1413
1513
  let t = !0;
1414
1514
  return t = t && "contractNegotiationId" in e, t = t && "createdAt" in e, t = t && "state" in e, t;
1415
1515
  }
1416
1516
  function Ue(e) {
1417
- return Hr(e);
1517
+ return nn(e);
1418
1518
  }
1419
- function Hr(e, t) {
1519
+ function nn(e, t) {
1420
1520
  return e == null ? e : {
1421
1521
  contractNegotiationId: e.contractNegotiationId,
1422
1522
  createdAt: new Date(e.createdAt),
1423
1523
  contractAgreementId: c(e, "contractAgreementId") ? e.contractAgreementId : void 0,
1424
- state: ir(e.state)
1524
+ state: yr(e.state)
1425
1525
  };
1426
1526
  }
1427
- function Is(e) {
1527
+ function zs(e) {
1428
1528
  if (e !== void 0)
1429
1529
  return e === null ? null : {
1430
1530
  contractNegotiationId: e.contractNegotiationId,
1431
1531
  createdAt: e.createdAt.toISOString(),
1432
1532
  contractAgreementId: e.contractAgreementId,
1433
- state: ar(e.state)
1533
+ state: _r(e.state)
1434
1534
  };
1435
1535
  }
1436
- function Os(e) {
1536
+ function Bs(e) {
1437
1537
  let t = !0;
1438
1538
  return t = t && "contractOfferId" in e, t = t && "policy" in e, t;
1439
1539
  }
1440
- function zr(e) {
1441
- return Br(e);
1540
+ function sn(e) {
1541
+ return an(e);
1442
1542
  }
1443
- function Br(e, t) {
1543
+ function an(e, t) {
1444
1544
  return e == null ? e : {
1445
1545
  contractOfferId: e.contractOfferId,
1446
- policy: xe(e.policy)
1546
+ policy: be(e.policy)
1447
1547
  };
1448
1548
  }
1449
- function Gr(e) {
1549
+ function on(e) {
1450
1550
  if (e !== void 0)
1451
1551
  return e === null ? null : {
1452
1552
  contractOfferId: e.contractOfferId,
1453
- policy: ke(e.policy)
1553
+ policy: De(e.policy)
1454
1554
  };
1455
1555
  }
1456
- function bs(e) {
1556
+ function Gs(e) {
1457
1557
  let t = !0;
1458
1558
  return t = t && "endpoint" in e, t = t && "participantId" in e, t = t && "asset" in e, t = t && "contractOffers" in e, t;
1459
1559
  }
1460
- function Kr(e) {
1461
- return Wr(e);
1560
+ function Ke(e) {
1561
+ return cn(e);
1462
1562
  }
1463
- function Wr(e, t) {
1563
+ function cn(e, t) {
1464
1564
  return e == null ? e : {
1465
1565
  endpoint: e.endpoint,
1466
1566
  participantId: e.participantId,
1467
- asset: Se(e.asset),
1567
+ asset: Ce(e.asset),
1468
1568
  contractOffers: e.contractOffers.map(
1469
- zr
1569
+ sn
1470
1570
  )
1471
1571
  };
1472
1572
  }
1473
- function As(e) {
1573
+ function Qs(e) {
1474
1574
  if (e !== void 0)
1475
1575
  return e === null ? null : {
1476
1576
  endpoint: e.endpoint,
1477
1577
  participantId: e.participantId,
1478
- asset: Ne(e.asset),
1578
+ asset: Ae(e.asset),
1479
1579
  contractOffers: e.contractOffers.map(
1480
- Gr
1580
+ on
1481
1581
  )
1482
1582
  };
1483
1583
  }
1484
- class Qr extends Q {
1584
+ class dn extends W {
1485
1585
  /**
1486
1586
  * Available and used resources of a connector.
1487
1587
  */
@@ -1495,9 +1595,9 @@ class Qr extends Q {
1495
1595
  },
1496
1596
  t
1497
1597
  );
1498
- return new S(
1598
+ return new C(
1499
1599
  i,
1500
- (s) => gt(s)
1600
+ (s) => At(s)
1501
1601
  );
1502
1602
  }
1503
1603
  /**
@@ -1512,12 +1612,12 @@ class Qr extends Q {
1512
1612
  */
1513
1613
  async fileUploadCreateAssetRaw(t, r) {
1514
1614
  if (t.blobId === null || t.blobId === void 0)
1515
- throw new E(
1615
+ throw new U(
1516
1616
  "blobId",
1517
1617
  "Required parameter requestParameters.blobId was null or undefined when calling fileUploadCreateAsset."
1518
1618
  );
1519
1619
  if (t.uiAssetCreateRequest === null || t.uiAssetCreateRequest === void 0)
1520
- throw new E(
1620
+ throw new U(
1521
1621
  "uiAssetCreateRequest",
1522
1622
  "Required parameter requestParameters.uiAssetCreateRequest was null or undefined when calling fileUploadCreateAsset."
1523
1623
  );
@@ -1532,13 +1632,13 @@ class Qr extends Q {
1532
1632
  method: "POST",
1533
1633
  headers: i,
1534
1634
  query: n,
1535
- body: Ke(
1635
+ body: Qe(
1536
1636
  t.uiAssetCreateRequest
1537
1637
  )
1538
1638
  },
1539
1639
  r
1540
1640
  );
1541
- return new lt(s);
1641
+ return new ft(s);
1542
1642
  }
1543
1643
  /**
1544
1644
  * Creates an asset using the uploaded file as data source.
@@ -1561,7 +1661,7 @@ class Qr extends Q {
1561
1661
  },
1562
1662
  t
1563
1663
  );
1564
- return this.isJsonMime(i.headers.get("content-type")) ? new S(i) : new ft(i);
1664
+ return this.isJsonMime(i.headers.get("content-type")) ? new C(i) : new pt(i);
1565
1665
  }
1566
1666
  /**
1567
1667
  * 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.
@@ -1571,7 +1671,7 @@ class Qr extends Q {
1571
1671
  return await (await this.fileUploadRequestSasTokenRaw(t)).value();
1572
1672
  }
1573
1673
  }
1574
- class Yr extends Q {
1674
+ class un extends W {
1575
1675
  /**
1576
1676
  * Create a new Asset
1577
1677
  */
@@ -1584,13 +1684,13 @@ class Yr extends Q {
1584
1684
  method: "POST",
1585
1685
  headers: i,
1586
1686
  query: n,
1587
- body: Ke(
1687
+ body: Qe(
1588
1688
  t.uiAssetCreateRequest
1589
1689
  )
1590
1690
  },
1591
1691
  r
1592
1692
  );
1593
- return new S(
1693
+ return new C(
1594
1694
  s,
1595
1695
  (a) => R(a)
1596
1696
  );
@@ -1616,13 +1716,13 @@ class Yr extends Q {
1616
1716
  method: "POST",
1617
1717
  headers: i,
1618
1718
  query: n,
1619
- body: jt(
1719
+ body: fr(
1620
1720
  t.contractDefinitionRequest
1621
1721
  )
1622
1722
  },
1623
1723
  r
1624
1724
  );
1625
- return new S(
1725
+ return new C(
1626
1726
  s,
1627
1727
  (a) => R(a)
1628
1728
  );
@@ -1648,13 +1748,13 @@ class Yr extends Q {
1648
1748
  method: "POST",
1649
1749
  headers: i,
1650
1750
  query: n,
1651
- body: xr(
1751
+ body: Vr(
1652
1752
  t.policyDefinitionCreateRequest
1653
1753
  )
1654
1754
  },
1655
1755
  r
1656
1756
  );
1657
- return new S(
1757
+ return new C(
1658
1758
  s,
1659
1759
  (a) => R(a)
1660
1760
  );
@@ -1673,7 +1773,7 @@ class Yr extends Q {
1673
1773
  */
1674
1774
  async deleteAssetRaw(t, r) {
1675
1775
  if (t.assetId === null || t.assetId === void 0)
1676
- throw new E(
1776
+ throw new U(
1677
1777
  "assetId",
1678
1778
  "Required parameter requestParameters.assetId was null or undefined when calling deleteAsset."
1679
1779
  );
@@ -1689,7 +1789,7 @@ class Yr extends Q {
1689
1789
  },
1690
1790
  r
1691
1791
  );
1692
- return new S(
1792
+ return new C(
1693
1793
  s,
1694
1794
  (a) => R(a)
1695
1795
  );
@@ -1708,7 +1808,7 @@ class Yr extends Q {
1708
1808
  */
1709
1809
  async deleteContractDefinitionRaw(t, r) {
1710
1810
  if (t.contractDefinitionId === null || t.contractDefinitionId === void 0)
1711
- throw new E(
1811
+ throw new U(
1712
1812
  "contractDefinitionId",
1713
1813
  "Required parameter requestParameters.contractDefinitionId was null or undefined when calling deleteContractDefinition."
1714
1814
  );
@@ -1726,7 +1826,7 @@ class Yr extends Q {
1726
1826
  },
1727
1827
  r
1728
1828
  );
1729
- return new S(
1829
+ return new C(
1730
1830
  s,
1731
1831
  (a) => R(a)
1732
1832
  );
@@ -1745,7 +1845,7 @@ class Yr extends Q {
1745
1845
  */
1746
1846
  async deletePolicyDefinitionRaw(t, r) {
1747
1847
  if (t.policyId === null || t.policyId === void 0)
1748
- throw new E(
1848
+ throw new U(
1749
1849
  "policyId",
1750
1850
  "Required parameter requestParameters.policyId was null or undefined when calling deletePolicyDefinition."
1751
1851
  );
@@ -1761,7 +1861,7 @@ class Yr extends Q {
1761
1861
  },
1762
1862
  r
1763
1863
  );
1764
- return new S(
1864
+ return new C(
1765
1865
  s,
1766
1866
  (a) => R(a)
1767
1867
  );
@@ -1780,7 +1880,7 @@ class Yr extends Q {
1780
1880
  */
1781
1881
  async editAssetMetadataRaw(t, r) {
1782
1882
  if (t.assetId === null || t.assetId === void 0)
1783
- throw new E(
1883
+ throw new U(
1784
1884
  "assetId",
1785
1885
  "Required parameter requestParameters.assetId was null or undefined when calling editAssetMetadata."
1786
1886
  );
@@ -1795,13 +1895,13 @@ class Yr extends Q {
1795
1895
  method: "PUT",
1796
1896
  headers: i,
1797
1897
  query: n,
1798
- body: Vr(
1898
+ body: rn(
1799
1899
  t.uiAssetEditMetadataRequest
1800
1900
  )
1801
1901
  },
1802
1902
  r
1803
1903
  );
1804
- return new S(
1904
+ return new C(
1805
1905
  s,
1806
1906
  (a) => R(a)
1807
1907
  );
@@ -1828,9 +1928,9 @@ class Yr extends Q {
1828
1928
  },
1829
1929
  t
1830
1930
  );
1831
- return new S(
1931
+ return new C(
1832
1932
  i,
1833
- (s) => mt(s)
1933
+ (s) => ht(s)
1834
1934
  );
1835
1935
  }
1836
1936
  /**
@@ -1854,9 +1954,9 @@ class Yr extends Q {
1854
1954
  },
1855
1955
  r
1856
1956
  );
1857
- return new S(
1957
+ return new C(
1858
1958
  s,
1859
- (a) => a.map(Kr)
1959
+ (a) => a.map(Ke)
1860
1960
  );
1861
1961
  }
1862
1962
  /**
@@ -1881,9 +1981,9 @@ class Yr extends Q {
1881
1981
  },
1882
1982
  t
1883
1983
  );
1884
- return new S(
1984
+ return new C(
1885
1985
  i,
1886
- (s) => Lt(s)
1986
+ (s) => Wt(s)
1887
1987
  );
1888
1988
  }
1889
1989
  /**
@@ -1905,9 +2005,9 @@ class Yr extends Q {
1905
2005
  },
1906
2006
  t
1907
2007
  );
1908
- return new S(
2008
+ return new C(
1909
2009
  i,
1910
- (s) => Qt(s)
2010
+ (s) => dr(s)
1911
2011
  );
1912
2012
  }
1913
2013
  /**
@@ -1921,7 +2021,7 @@ class Yr extends Q {
1921
2021
  */
1922
2022
  async getContractNegotiationRaw(t, r) {
1923
2023
  if (t.contractNegotiationId === null || t.contractNegotiationId === void 0)
1924
- throw new E(
2024
+ throw new U(
1925
2025
  "contractNegotiationId",
1926
2026
  "Required parameter requestParameters.contractNegotiationId was null or undefined when calling getContractNegotiation."
1927
2027
  );
@@ -1939,7 +2039,7 @@ class Yr extends Q {
1939
2039
  },
1940
2040
  r
1941
2041
  );
1942
- return new S(
2042
+ return new C(
1943
2043
  s,
1944
2044
  (a) => Ue(a)
1945
2045
  );
@@ -1966,9 +2066,9 @@ class Yr extends Q {
1966
2066
  },
1967
2067
  t
1968
2068
  );
1969
- return new S(
2069
+ return new C(
1970
2070
  i,
1971
- (s) => mr(s)
2071
+ (s) => xr(s)
1972
2072
  );
1973
2073
  }
1974
2074
  /**
@@ -1990,9 +2090,9 @@ class Yr extends Q {
1990
2090
  },
1991
2091
  t
1992
2092
  );
1993
- return new S(
2093
+ return new C(
1994
2094
  i,
1995
- (s) => Ur(s)
2095
+ (s) => Gr(s)
1996
2096
  );
1997
2097
  }
1998
2098
  /**
@@ -2014,9 +2114,9 @@ class Yr extends Q {
2014
2114
  },
2015
2115
  t
2016
2116
  );
2017
- return new S(
2117
+ return new C(
2018
2118
  i,
2019
- (s) => Fr(s)
2119
+ (s) => Xr(s)
2020
2120
  );
2021
2121
  }
2022
2122
  /**
@@ -2030,7 +2130,7 @@ class Yr extends Q {
2030
2130
  */
2031
2131
  async getTransferProcessAssetRaw(t, r) {
2032
2132
  if (t.transferProcessId === null || t.transferProcessId === void 0)
2033
- throw new E(
2133
+ throw new U(
2034
2134
  "transferProcessId",
2035
2135
  "Required parameter requestParameters.transferProcessId was null or undefined when calling getTransferProcessAsset."
2036
2136
  );
@@ -2048,9 +2148,9 @@ class Yr extends Q {
2048
2148
  },
2049
2149
  r
2050
2150
  );
2051
- return new S(
2151
+ return new C(
2052
2152
  s,
2053
- (a) => Se(a)
2153
+ (a) => Ce(a)
2054
2154
  );
2055
2155
  }
2056
2156
  /**
@@ -2074,13 +2174,13 @@ class Yr extends Q {
2074
2174
  method: "POST",
2075
2175
  headers: i,
2076
2176
  query: n,
2077
- body: tr(
2177
+ body: mr(
2078
2178
  t.contractNegotiationRequest
2079
2179
  )
2080
2180
  },
2081
2181
  r
2082
2182
  );
2083
- return new S(
2183
+ return new C(
2084
2184
  s,
2085
2185
  (a) => Ue(a)
2086
2186
  );
@@ -2106,13 +2206,13 @@ class Yr extends Q {
2106
2206
  method: "POST",
2107
2207
  headers: i,
2108
2208
  query: n,
2109
- body: vr(
2209
+ body: Dr(
2110
2210
  t.initiateCustomTransferRequest
2111
2211
  )
2112
2212
  },
2113
2213
  r
2114
2214
  );
2115
- return new S(
2215
+ return new C(
2116
2216
  s,
2117
2217
  (a) => R(a)
2118
2218
  );
@@ -2138,13 +2238,13 @@ class Yr extends Q {
2138
2238
  method: "POST",
2139
2239
  headers: i,
2140
2240
  query: n,
2141
- body: wr(
2241
+ body: Rr(
2142
2242
  t.initiateTransferRequest
2143
2243
  )
2144
2244
  },
2145
2245
  r
2146
2246
  );
2147
- return new S(
2247
+ return new C(
2148
2248
  s,
2149
2249
  (a) => R(a)
2150
2250
  );
@@ -2159,7 +2259,7 @@ class Yr extends Q {
2159
2259
  )).value();
2160
2260
  }
2161
2261
  }
2162
- class Xr extends Q {
2262
+ class ln extends W {
2163
2263
  /**
2164
2264
  * Basic KPIs about the running EDC Connector.
2165
2265
  */
@@ -2173,9 +2273,9 @@ class Xr extends Q {
2173
2273
  },
2174
2274
  t
2175
2275
  );
2176
- return new S(
2276
+ return new C(
2177
2277
  i,
2178
- (s) => Pr(s)
2278
+ (s) => Lr(s)
2179
2279
  );
2180
2280
  }
2181
2281
  /**
@@ -2197,7 +2297,7 @@ class Xr extends Q {
2197
2297
  },
2198
2298
  t
2199
2299
  );
2200
- return new S(i);
2300
+ return new C(i);
2201
2301
  }
2202
2302
  /**
2203
2303
  * List available functions in policies, prohibitions and obligations.
@@ -2205,6 +2305,41 @@ class Xr extends Q {
2205
2305
  async getSupportedFunctions(t) {
2206
2306
  return await (await this.getSupportedFunctionsRaw(t)).value();
2207
2307
  }
2308
+ /**
2309
+ * Fetch a connector\'s data offers
2310
+ */
2311
+ async queryCatalogRaw(t, r) {
2312
+ if (t.catalogQuery === null || t.catalogQuery === void 0)
2313
+ throw new U(
2314
+ "catalogQuery",
2315
+ "Required parameter requestParameters.catalogQuery was null or undefined when calling queryCatalog."
2316
+ );
2317
+ const n = {}, i = {};
2318
+ i["Content-Type"] = "application/json";
2319
+ const s = await this.request(
2320
+ {
2321
+ path: "/wrapper/use-case-api/catalog",
2322
+ method: "POST",
2323
+ headers: i,
2324
+ query: n,
2325
+ body: Nt(t.catalogQuery)
2326
+ },
2327
+ r
2328
+ );
2329
+ return new C(
2330
+ s,
2331
+ (a) => a.map(Ke)
2332
+ );
2333
+ }
2334
+ /**
2335
+ * Fetch a connector\'s data offers
2336
+ */
2337
+ async queryCatalog(t, r) {
2338
+ return await (await this.queryCatalogRaw(
2339
+ t,
2340
+ r
2341
+ )).value();
2342
+ }
2208
2343
  }
2209
2344
  var w;
2210
2345
  (function(e) {
@@ -2309,8 +2444,8 @@ const l = w.arrayToEnum([
2309
2444
  "invalid_intersection_types",
2310
2445
  "not_multiple_of",
2311
2446
  "not_finite"
2312
- ]), jr = (e) => JSON.stringify(e, null, 2).replace(/"([^"]+)":/g, "$1:");
2313
- class b extends Error {
2447
+ ]), fn = (e) => JSON.stringify(e, null, 2).replace(/"([^"]+)":/g, "$1:");
2448
+ class x extends Error {
2314
2449
  constructor(t) {
2315
2450
  super(), this.issues = [], this.addIssue = (n) => {
2316
2451
  this.issues = [...this.issues, n];
@@ -2365,7 +2500,7 @@ class b extends Error {
2365
2500
  return this.flatten();
2366
2501
  }
2367
2502
  }
2368
- b.create = (e) => new b(e);
2503
+ x.create = (e) => new x(e);
2369
2504
  const Y = (e, t) => {
2370
2505
  let r;
2371
2506
  switch (e.code) {
@@ -2423,7 +2558,7 @@ const Y = (e, t) => {
2423
2558
  return { message: r };
2424
2559
  };
2425
2560
  let We = Y;
2426
- function en(e) {
2561
+ function pn(e) {
2427
2562
  We = e;
2428
2563
  }
2429
2564
  function le() {
@@ -2443,7 +2578,7 @@ const fe = (e) => {
2443
2578
  path: s,
2444
2579
  message: i.message || o
2445
2580
  };
2446
- }, tn = [];
2581
+ }, mn = [];
2447
2582
  function f(e, t) {
2448
2583
  const r = fe({
2449
2584
  issueData: t,
@@ -2500,12 +2635,12 @@ class T {
2500
2635
  }
2501
2636
  const g = Object.freeze({
2502
2637
  status: "aborted"
2503
- }), Qe = (e) => ({ status: "dirty", value: e }), P = (e) => ({ status: "valid", value: e }), Oe = (e) => e.status === "aborted", be = (e) => e.status === "dirty", X = (e) => e.status === "valid", pe = (e) => typeof Promise < "u" && e instanceof Promise;
2638
+ }), Ye = (e) => ({ status: "dirty", value: e }), P = (e) => ({ status: "valid", value: e }), Oe = (e) => e.status === "aborted", xe = (e) => e.status === "dirty", X = (e) => e.status === "valid", pe = (e) => typeof Promise < "u" && e instanceof Promise;
2504
2639
  var m;
2505
2640
  (function(e) {
2506
2641
  e.errToObj = (t) => typeof t == "string" ? { message: t } : t || {}, e.toString = (t) => typeof t == "string" ? t : t == null ? void 0 : t.message;
2507
2642
  })(m || (m = {}));
2508
- class k {
2643
+ class D {
2509
2644
  constructor(t, r, n, i) {
2510
2645
  this._cachedPath = [], this.parent = t, this.data = r, this._path = n, this._key = i;
2511
2646
  }
@@ -2513,7 +2648,7 @@ class k {
2513
2648
  return this._cachedPath.length || (this._key instanceof Array ? this._cachedPath.push(...this._path, ...this._key) : this._cachedPath.push(...this._path, this._key)), this._cachedPath;
2514
2649
  }
2515
2650
  }
2516
- const Je = (e, t) => {
2651
+ const Ee = (e, t) => {
2517
2652
  if (X(t))
2518
2653
  return { success: !0, data: t.value };
2519
2654
  if (!e.common.issues.length)
@@ -2523,7 +2658,7 @@ const Je = (e, t) => {
2523
2658
  get error() {
2524
2659
  if (this._error)
2525
2660
  return this._error;
2526
- const r = new b(e.common.issues);
2661
+ const r = new x(e.common.issues);
2527
2662
  return this._error = r, this._error;
2528
2663
  }
2529
2664
  };
@@ -2599,7 +2734,7 @@ class v {
2599
2734
  data: t,
2600
2735
  parsedType: L(t)
2601
2736
  }, s = this._parseSync({ data: t, path: i.path, parent: i });
2602
- return Je(i, s);
2737
+ return Ee(i, s);
2603
2738
  }
2604
2739
  async parseAsync(t, r) {
2605
2740
  const n = await this.safeParseAsync(t, r);
@@ -2620,7 +2755,7 @@ class v {
2620
2755
  data: t,
2621
2756
  parsedType: L(t)
2622
2757
  }, i = this._parse({ data: t, path: n.path, parent: n }), s = await (pe(i) ? i : Promise.resolve(i));
2623
- return Je(n, s);
2758
+ return Ee(n, s);
2624
2759
  }
2625
2760
  refine(t, r) {
2626
2761
  const n = (i) => typeof r == "string" || typeof r > "u" ? { message: r } : typeof r == "function" ? r(i) : r;
@@ -2636,7 +2771,7 @@ class v {
2636
2771
  return this._refinement((n, i) => t(n) ? !0 : (i.addIssue(typeof r == "function" ? r(n, i) : r), !1));
2637
2772
  }
2638
2773
  _refinement(t) {
2639
- return new N({
2774
+ return new A({
2640
2775
  schema: this,
2641
2776
  typeName: h.ZodEffects,
2642
2777
  effect: { type: "refinement", refinement: t }
@@ -2646,7 +2781,7 @@ class v {
2646
2781
  return this._refinement(t);
2647
2782
  }
2648
2783
  optional() {
2649
- return U.create(this, this._def);
2784
+ return E.create(this, this._def);
2650
2785
  }
2651
2786
  nullable() {
2652
2787
  return H.create(this, this._def);
@@ -2655,10 +2790,10 @@ class v {
2655
2790
  return this.nullable().optional();
2656
2791
  }
2657
2792
  array() {
2658
- return A.create(this, this._def);
2793
+ return N.create(this, this._def);
2659
2794
  }
2660
2795
  promise() {
2661
- return K.create(this, this._def);
2796
+ return Q.create(this, this._def);
2662
2797
  }
2663
2798
  or(t) {
2664
2799
  return re.create([this, t], this._def);
@@ -2667,7 +2802,7 @@ class v {
2667
2802
  return ne.create(this, t, this._def);
2668
2803
  }
2669
2804
  transform(t) {
2670
- return new N({
2805
+ return new A({
2671
2806
  ...y(this._def),
2672
2807
  schema: this,
2673
2808
  typeName: h.ZodEffects,
@@ -2684,7 +2819,7 @@ class v {
2684
2819
  });
2685
2820
  }
2686
2821
  brand() {
2687
- return new Xe({
2822
+ return new je({
2688
2823
  typeName: h.ZodBranded,
2689
2824
  type: this,
2690
2825
  ...y(this._def)
@@ -2719,11 +2854,11 @@ class v {
2719
2854
  return this.safeParse(null).success;
2720
2855
  }
2721
2856
  }
2722
- const rn = /^c[^\s-]{8,}$/i, nn = /^[a-z][a-z0-9]*$/, sn = /^[0-9A-HJKMNP-TV-Z]{26}$/, an = /^[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, on = /^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, cn = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
2857
+ const hn = /^c[^\s-]{8,}$/i, gn = /^[a-z][a-z0-9]*$/, yn = /^[0-9A-HJKMNP-TV-Z]{26}$/, vn = /^[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, _n = /^(?!\.)(?!.*\.\.)([A-Z0-9_+-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i, wn = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
2723
2858
  let Pe;
2724
- const dn = /^(((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}))$/, un = /^(([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})))$/, ln = (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$");
2725
- function fn(e, t) {
2726
- return !!((t === "v4" || !t) && dn.test(e) || (t === "v6" || !t) && un.test(e));
2859
+ const Cn = /^(((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}))$/, Sn = /^(([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})))$/, Tn = (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$");
2860
+ function Pn(e, t) {
2861
+ return !!((t === "v4" || !t) && Cn.test(e) || (t === "v6" || !t) && Sn.test(e));
2727
2862
  }
2728
2863
  class O extends v {
2729
2864
  _parse(t) {
@@ -2778,37 +2913,37 @@ class O extends v {
2778
2913
  message: s.message
2779
2914
  }), n.dirty());
2780
2915
  } else if (s.kind === "email")
2781
- on.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
2916
+ _n.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
2782
2917
  validation: "email",
2783
2918
  code: d.invalid_string,
2784
2919
  message: s.message
2785
2920
  }), n.dirty());
2786
2921
  else if (s.kind === "emoji")
2787
- Pe || (Pe = new RegExp(cn, "u")), Pe.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
2922
+ Pe || (Pe = new RegExp(wn, "u")), Pe.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
2788
2923
  validation: "emoji",
2789
2924
  code: d.invalid_string,
2790
2925
  message: s.message
2791
2926
  }), n.dirty());
2792
2927
  else if (s.kind === "uuid")
2793
- an.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
2928
+ vn.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
2794
2929
  validation: "uuid",
2795
2930
  code: d.invalid_string,
2796
2931
  message: s.message
2797
2932
  }), n.dirty());
2798
2933
  else if (s.kind === "cuid")
2799
- rn.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
2934
+ hn.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
2800
2935
  validation: "cuid",
2801
2936
  code: d.invalid_string,
2802
2937
  message: s.message
2803
2938
  }), n.dirty());
2804
2939
  else if (s.kind === "cuid2")
2805
- nn.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
2940
+ gn.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
2806
2941
  validation: "cuid2",
2807
2942
  code: d.invalid_string,
2808
2943
  message: s.message
2809
2944
  }), n.dirty());
2810
2945
  else if (s.kind === "ulid")
2811
- sn.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
2946
+ yn.test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
2812
2947
  validation: "ulid",
2813
2948
  code: d.invalid_string,
2814
2949
  message: s.message
@@ -2840,11 +2975,11 @@ class O extends v {
2840
2975
  code: d.invalid_string,
2841
2976
  validation: { endsWith: s.value },
2842
2977
  message: s.message
2843
- }), n.dirty()) : s.kind === "datetime" ? ln(s).test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
2978
+ }), n.dirty()) : s.kind === "datetime" ? Tn(s).test(t.data) || (i = this._getOrReturnCtx(t, i), f(i, {
2844
2979
  code: d.invalid_string,
2845
2980
  validation: "datetime",
2846
2981
  message: s.message
2847
- }), n.dirty()) : s.kind === "ip" ? fn(t.data, s.version) || (i = this._getOrReturnCtx(t, i), f(i, {
2982
+ }), n.dirty()) : s.kind === "ip" ? Pn(t.data, s.version) || (i = this._getOrReturnCtx(t, i), f(i, {
2848
2983
  validation: "ip",
2849
2984
  code: d.invalid_string,
2850
2985
  message: s.message
@@ -3026,11 +3161,11 @@ O.create = (e) => {
3026
3161
  ...y(e)
3027
3162
  });
3028
3163
  };
3029
- function pn(e, t) {
3164
+ function In(e, t) {
3030
3165
  const r = (e.toString().split(".")[1] || "").length, n = (t.toString().split(".")[1] || "").length, i = r > n ? r : n, s = parseInt(e.toFixed(i).replace(".", "")), a = parseInt(t.toFixed(i).replace(".", ""));
3031
3166
  return s % a / Math.pow(10, i);
3032
3167
  }
3033
- class q extends v {
3168
+ class F extends v {
3034
3169
  constructor() {
3035
3170
  super(...arguments), this.min = this.gte, this.max = this.lte, this.step = this.multipleOf;
3036
3171
  }
@@ -3065,7 +3200,7 @@ class q extends v {
3065
3200
  inclusive: s.inclusive,
3066
3201
  exact: !1,
3067
3202
  message: s.message
3068
- }), i.dirty()) : s.kind === "multipleOf" ? pn(t.data, s.value) !== 0 && (n = this._getOrReturnCtx(t, n), f(n, {
3203
+ }), i.dirty()) : s.kind === "multipleOf" ? In(t.data, s.value) !== 0 && (n = this._getOrReturnCtx(t, n), f(n, {
3069
3204
  code: d.not_multiple_of,
3070
3205
  multipleOf: s.value,
3071
3206
  message: s.message
@@ -3088,7 +3223,7 @@ class q extends v {
3088
3223
  return this.setLimit("max", t, !1, m.toString(r));
3089
3224
  }
3090
3225
  setLimit(t, r, n, i) {
3091
- return new q({
3226
+ return new F({
3092
3227
  ...this._def,
3093
3228
  checks: [
3094
3229
  ...this._def.checks,
@@ -3102,7 +3237,7 @@ class q extends v {
3102
3237
  });
3103
3238
  }
3104
3239
  _addCheck(t) {
3105
- return new q({
3240
+ return new F({
3106
3241
  ...this._def,
3107
3242
  checks: [...this._def.checks, t]
3108
3243
  });
@@ -3196,13 +3331,13 @@ class q extends v {
3196
3331
  return Number.isFinite(r) && Number.isFinite(t);
3197
3332
  }
3198
3333
  }
3199
- q.create = (e) => new q({
3334
+ F.create = (e) => new F({
3200
3335
  checks: [],
3201
3336
  typeName: h.ZodNumber,
3202
3337
  coerce: (e == null ? void 0 : e.coerce) || !1,
3203
3338
  ...y(e)
3204
3339
  });
3205
- class F extends v {
3340
+ class q extends v {
3206
3341
  constructor() {
3207
3342
  super(...arguments), this.min = this.gte, this.max = this.lte;
3208
3343
  }
@@ -3250,7 +3385,7 @@ class F extends v {
3250
3385
  return this.setLimit("max", t, !1, m.toString(r));
3251
3386
  }
3252
3387
  setLimit(t, r, n, i) {
3253
- return new F({
3388
+ return new q({
3254
3389
  ...this._def,
3255
3390
  checks: [
3256
3391
  ...this._def.checks,
@@ -3264,7 +3399,7 @@ class F extends v {
3264
3399
  });
3265
3400
  }
3266
3401
  _addCheck(t) {
3267
- return new F({
3402
+ return new q({
3268
3403
  ...this._def,
3269
3404
  checks: [...this._def.checks, t]
3270
3405
  });
@@ -3321,9 +3456,9 @@ class F extends v {
3321
3456
  return t;
3322
3457
  }
3323
3458
  }
3324
- F.create = (e) => {
3459
+ q.create = (e) => {
3325
3460
  var t;
3326
- return new F({
3461
+ return new q({
3327
3462
  checks: [],
3328
3463
  typeName: h.ZodBigInt,
3329
3464
  coerce: (t = e == null ? void 0 : e.coerce) !== null && t !== void 0 ? t : !1,
@@ -3532,7 +3667,7 @@ he.create = (e) => new he({
3532
3667
  typeName: h.ZodVoid,
3533
3668
  ...y(e)
3534
3669
  });
3535
- class A extends v {
3670
+ class N extends v {
3536
3671
  _parse(t) {
3537
3672
  const { ctx: r, status: n } = this._processInputParams(t), i = this._def;
3538
3673
  if (r.parsedType !== l.array)
@@ -3568,27 +3703,27 @@ class A extends v {
3568
3703
  exact: !1,
3569
3704
  message: i.maxLength.message
3570
3705
  }), n.dirty()), r.common.async)
3571
- return Promise.all([...r.data].map((a, o) => i.type._parseAsync(new k(r, a, r.path, o)))).then((a) => T.mergeArray(n, a));
3572
- const s = [...r.data].map((a, o) => i.type._parseSync(new k(r, a, r.path, o)));
3706
+ return Promise.all([...r.data].map((a, o) => i.type._parseAsync(new D(r, a, r.path, o)))).then((a) => T.mergeArray(n, a));
3707
+ const s = [...r.data].map((a, o) => i.type._parseSync(new D(r, a, r.path, o)));
3573
3708
  return T.mergeArray(n, s);
3574
3709
  }
3575
3710
  get element() {
3576
3711
  return this._def.type;
3577
3712
  }
3578
3713
  min(t, r) {
3579
- return new A({
3714
+ return new N({
3580
3715
  ...this._def,
3581
3716
  minLength: { value: t, message: m.toString(r) }
3582
3717
  });
3583
3718
  }
3584
3719
  max(t, r) {
3585
- return new A({
3720
+ return new N({
3586
3721
  ...this._def,
3587
3722
  maxLength: { value: t, message: m.toString(r) }
3588
3723
  });
3589
3724
  }
3590
3725
  length(t, r) {
3591
- return new A({
3726
+ return new N({
3592
3727
  ...this._def,
3593
3728
  exactLength: { value: t, message: m.toString(r) }
3594
3729
  });
@@ -3597,7 +3732,7 @@ class A extends v {
3597
3732
  return this.min(1, t);
3598
3733
  }
3599
3734
  }
3600
- A.create = (e, t) => new A({
3735
+ N.create = (e, t) => new N({
3601
3736
  type: e,
3602
3737
  minLength: null,
3603
3738
  maxLength: null,
@@ -3606,23 +3741,23 @@ A.create = (e, t) => new A({
3606
3741
  ...y(t)
3607
3742
  });
3608
3743
  function z(e) {
3609
- if (e instanceof C) {
3744
+ if (e instanceof S) {
3610
3745
  const t = {};
3611
3746
  for (const r in e.shape) {
3612
3747
  const n = e.shape[r];
3613
- t[r] = U.create(z(n));
3748
+ t[r] = E.create(z(n));
3614
3749
  }
3615
- return new C({
3750
+ return new S({
3616
3751
  ...e._def,
3617
3752
  shape: () => t
3618
3753
  });
3619
3754
  } else
3620
- return e instanceof A ? new A({
3755
+ return e instanceof N ? new N({
3621
3756
  ...e._def,
3622
3757
  type: z(e.element)
3623
- }) : e instanceof U ? U.create(z(e.unwrap())) : e instanceof H ? H.create(z(e.unwrap())) : e instanceof D ? D.create(e.items.map((t) => z(t))) : e;
3758
+ }) : e instanceof E ? E.create(z(e.unwrap())) : e instanceof H ? H.create(z(e.unwrap())) : e instanceof k ? k.create(e.items.map((t) => z(t))) : e;
3624
3759
  }
3625
- class C extends v {
3760
+ class S extends v {
3626
3761
  constructor() {
3627
3762
  super(...arguments), this._cached = null, this.nonstrict = this.passthrough, this.augment = this.extend;
3628
3763
  }
@@ -3650,7 +3785,7 @@ class C extends v {
3650
3785
  const _ = s[u], I = i.data[u];
3651
3786
  p.push({
3652
3787
  key: { status: "valid", value: u },
3653
- value: _._parse(new k(i, I, i.path, u)),
3788
+ value: _._parse(new D(i, I, i.path, u)),
3654
3789
  alwaysSet: u in i.data
3655
3790
  });
3656
3791
  }
@@ -3676,7 +3811,7 @@ class C extends v {
3676
3811
  p.push({
3677
3812
  key: { status: "valid", value: _ },
3678
3813
  value: u._parse(
3679
- new k(i, I, i.path, _)
3814
+ new D(i, I, i.path, _)
3680
3815
  //, ctx.child(key), value, getParsedType(value)
3681
3816
  ),
3682
3817
  alwaysSet: _ in i.data
@@ -3700,7 +3835,7 @@ class C extends v {
3700
3835
  return this._def.shape();
3701
3836
  }
3702
3837
  strict(t) {
3703
- return m.errToObj, new C({
3838
+ return m.errToObj, new S({
3704
3839
  ...this._def,
3705
3840
  unknownKeys: "strict",
3706
3841
  ...t !== void 0 ? {
@@ -3717,13 +3852,13 @@ class C extends v {
3717
3852
  });
3718
3853
  }
3719
3854
  strip() {
3720
- return new C({
3855
+ return new S({
3721
3856
  ...this._def,
3722
3857
  unknownKeys: "strip"
3723
3858
  });
3724
3859
  }
3725
3860
  passthrough() {
3726
- return new C({
3861
+ return new S({
3727
3862
  ...this._def,
3728
3863
  unknownKeys: "passthrough"
3729
3864
  });
@@ -3746,7 +3881,7 @@ class C extends v {
3746
3881
  // }) as any;
3747
3882
  // };
3748
3883
  extend(t) {
3749
- return new C({
3884
+ return new S({
3750
3885
  ...this._def,
3751
3886
  shape: () => ({
3752
3887
  ...this._def.shape(),
@@ -3760,7 +3895,7 @@ class C extends v {
3760
3895
  * upgrade if you are experiencing issues.
3761
3896
  */
3762
3897
  merge(t) {
3763
- return new C({
3898
+ return new S({
3764
3899
  unknownKeys: t._def.unknownKeys,
3765
3900
  catchall: t._def.catchall,
3766
3901
  shape: () => ({
@@ -3830,7 +3965,7 @@ class C extends v {
3830
3965
  // return merged;
3831
3966
  // }
3832
3967
  catchall(t) {
3833
- return new C({
3968
+ return new S({
3834
3969
  ...this._def,
3835
3970
  catchall: t
3836
3971
  });
@@ -3839,7 +3974,7 @@ class C extends v {
3839
3974
  const r = {};
3840
3975
  return w.objectKeys(t).forEach((n) => {
3841
3976
  t[n] && this.shape[n] && (r[n] = this.shape[n]);
3842
- }), new C({
3977
+ }), new S({
3843
3978
  ...this._def,
3844
3979
  shape: () => r
3845
3980
  });
@@ -3848,7 +3983,7 @@ class C extends v {
3848
3983
  const r = {};
3849
3984
  return w.objectKeys(this.shape).forEach((n) => {
3850
3985
  t[n] || (r[n] = this.shape[n]);
3851
- }), new C({
3986
+ }), new S({
3852
3987
  ...this._def,
3853
3988
  shape: () => r
3854
3989
  });
@@ -3864,7 +3999,7 @@ class C extends v {
3864
3999
  return w.objectKeys(this.shape).forEach((n) => {
3865
4000
  const i = this.shape[n];
3866
4001
  t && !t[n] ? r[n] = i : r[n] = i.optional();
3867
- }), new C({
4002
+ }), new S({
3868
4003
  ...this._def,
3869
4004
  shape: () => r
3870
4005
  });
@@ -3876,34 +4011,34 @@ class C extends v {
3876
4011
  r[n] = this.shape[n];
3877
4012
  else {
3878
4013
  let s = this.shape[n];
3879
- for (; s instanceof U; )
4014
+ for (; s instanceof E; )
3880
4015
  s = s._def.innerType;
3881
4016
  r[n] = s;
3882
4017
  }
3883
- }), new C({
4018
+ }), new S({
3884
4019
  ...this._def,
3885
4020
  shape: () => r
3886
4021
  });
3887
4022
  }
3888
4023
  keyof() {
3889
- return Ye(w.objectKeys(this.shape));
4024
+ return Xe(w.objectKeys(this.shape));
3890
4025
  }
3891
4026
  }
3892
- C.create = (e, t) => new C({
4027
+ S.create = (e, t) => new S({
3893
4028
  shape: () => e,
3894
4029
  unknownKeys: "strip",
3895
4030
  catchall: J.create(),
3896
4031
  typeName: h.ZodObject,
3897
4032
  ...y(t)
3898
4033
  });
3899
- C.strictCreate = (e, t) => new C({
4034
+ S.strictCreate = (e, t) => new S({
3900
4035
  shape: () => e,
3901
4036
  unknownKeys: "strict",
3902
4037
  catchall: J.create(),
3903
4038
  typeName: h.ZodObject,
3904
4039
  ...y(t)
3905
4040
  });
3906
- C.lazycreate = (e, t) => new C({
4041
+ S.lazycreate = (e, t) => new S({
3907
4042
  shape: e,
3908
4043
  unknownKeys: "strip",
3909
4044
  catchall: J.create(),
@@ -3920,7 +4055,7 @@ class re extends v {
3920
4055
  for (const o of s)
3921
4056
  if (o.result.status === "dirty")
3922
4057
  return r.common.issues.push(...o.ctx.common.issues), o.result;
3923
- const a = s.map((o) => new b(o.ctx.common.issues));
4058
+ const a = s.map((o) => new x(o.ctx.common.issues));
3924
4059
  return f(r, {
3925
4060
  code: d.invalid_union,
3926
4061
  unionErrors: a
@@ -3967,7 +4102,7 @@ class re extends v {
3967
4102
  }
3968
4103
  if (s)
3969
4104
  return r.common.issues.push(...s.ctx.common.issues), s.result;
3970
- const o = a.map((p) => new b(p));
4105
+ const o = a.map((p) => new x(p));
3971
4106
  return f(r, {
3972
4107
  code: d.invalid_union,
3973
4108
  unionErrors: o
@@ -3983,8 +4118,8 @@ re.create = (e, t) => new re({
3983
4118
  typeName: h.ZodUnion,
3984
4119
  ...y(t)
3985
4120
  });
3986
- const ue = (e) => e instanceof se ? ue(e.schema) : e instanceof N ? ue(e.innerType()) : e instanceof ae ? [e.value] : e instanceof M ? e.options : e instanceof oe ? Object.keys(e.enum) : e instanceof ce ? ue(e._def.innerType) : e instanceof ee ? [void 0] : e instanceof te ? [null] : null;
3987
- class Ce extends v {
4121
+ const ue = (e) => e instanceof se ? ue(e.schema) : e instanceof A ? ue(e.innerType()) : e instanceof ae ? [e.value] : e instanceof M ? e.options : e instanceof oe ? Object.keys(e.enum) : e instanceof ce ? ue(e._def.innerType) : e instanceof ee ? [void 0] : e instanceof te ? [null] : null;
4122
+ class Se extends v {
3988
4123
  _parse(t) {
3989
4124
  const { ctx: r } = this._processInputParams(t);
3990
4125
  if (r.parsedType !== l.object)
@@ -4037,7 +4172,7 @@ class Ce extends v {
4037
4172
  i.set(o, s);
4038
4173
  }
4039
4174
  }
4040
- return new Ce({
4175
+ return new Se({
4041
4176
  typeName: h.ZodDiscriminatedUnion,
4042
4177
  discriminator: t,
4043
4178
  options: r,
@@ -4046,14 +4181,14 @@ class Ce extends v {
4046
4181
  });
4047
4182
  }
4048
4183
  }
4049
- function Ae(e, t) {
4184
+ function Ne(e, t) {
4050
4185
  const r = L(e), n = L(t);
4051
4186
  if (e === t)
4052
4187
  return { valid: !0, data: e };
4053
4188
  if (r === l.object && n === l.object) {
4054
4189
  const i = w.objectKeys(t), s = w.objectKeys(e).filter((o) => i.indexOf(o) !== -1), a = { ...e, ...t };
4055
4190
  for (const o of s) {
4056
- const p = Ae(e[o], t[o]);
4191
+ const p = Ne(e[o], t[o]);
4057
4192
  if (!p.valid)
4058
4193
  return { valid: !1 };
4059
4194
  a[o] = p.data;
@@ -4064,7 +4199,7 @@ function Ae(e, t) {
4064
4199
  return { valid: !1 };
4065
4200
  const i = [];
4066
4201
  for (let s = 0; s < e.length; s++) {
4067
- const a = e[s], o = t[s], p = Ae(a, o);
4202
+ const a = e[s], o = t[s], p = Ne(a, o);
4068
4203
  if (!p.valid)
4069
4204
  return { valid: !1 };
4070
4205
  i.push(p.data);
@@ -4078,8 +4213,8 @@ class ne extends v {
4078
4213
  const { status: r, ctx: n } = this._processInputParams(t), i = (s, a) => {
4079
4214
  if (Oe(s) || Oe(a))
4080
4215
  return g;
4081
- const o = Ae(s.value, a.value);
4082
- return o.valid ? ((be(s) || be(a)) && r.dirty(), { status: r.value, value: o.data }) : (f(n, {
4216
+ const o = Ne(s.value, a.value);
4217
+ return o.valid ? ((xe(s) || xe(a)) && r.dirty(), { status: r.value, value: o.data }) : (f(n, {
4083
4218
  code: d.invalid_intersection_types
4084
4219
  }), g);
4085
4220
  };
@@ -4111,7 +4246,7 @@ ne.create = (e, t, r) => new ne({
4111
4246
  typeName: h.ZodIntersection,
4112
4247
  ...y(r)
4113
4248
  });
4114
- class D extends v {
4249
+ class k extends v {
4115
4250
  _parse(t) {
4116
4251
  const { status: r, ctx: n } = this._processInputParams(t);
4117
4252
  if (n.parsedType !== l.array)
@@ -4137,7 +4272,7 @@ class D extends v {
4137
4272
  }), r.dirty());
4138
4273
  const s = [...n.data].map((a, o) => {
4139
4274
  const p = this._def.items[o] || this._def.rest;
4140
- return p ? p._parse(new k(n, a, n.path, o)) : null;
4275
+ return p ? p._parse(new D(n, a, n.path, o)) : null;
4141
4276
  }).filter((a) => !!a);
4142
4277
  return n.common.async ? Promise.all(s).then((a) => T.mergeArray(r, a)) : T.mergeArray(r, s);
4143
4278
  }
@@ -4145,16 +4280,16 @@ class D extends v {
4145
4280
  return this._def.items;
4146
4281
  }
4147
4282
  rest(t) {
4148
- return new D({
4283
+ return new k({
4149
4284
  ...this._def,
4150
4285
  rest: t
4151
4286
  });
4152
4287
  }
4153
4288
  }
4154
- D.create = (e, t) => {
4289
+ k.create = (e, t) => {
4155
4290
  if (!Array.isArray(e))
4156
4291
  throw new Error("You must pass an array of schemas to z.tuple([ ... ])");
4157
- return new D({
4292
+ return new k({
4158
4293
  items: e,
4159
4294
  typeName: h.ZodTuple,
4160
4295
  rest: null,
@@ -4179,8 +4314,8 @@ class ie extends v {
4179
4314
  const i = [], s = this._def.keyType, a = this._def.valueType;
4180
4315
  for (const o in n.data)
4181
4316
  i.push({
4182
- key: s._parse(new k(n, o, n.path, o)),
4183
- value: a._parse(new k(n, n.data[o], n.path, o))
4317
+ key: s._parse(new D(n, o, n.path, o)),
4318
+ value: a._parse(new D(n, n.data[o], n.path, o))
4184
4319
  });
4185
4320
  return n.common.async ? T.mergeObjectAsync(r, i) : T.mergeObjectSync(r, i);
4186
4321
  }
@@ -4217,8 +4352,8 @@ class ge extends v {
4217
4352
  received: n.parsedType
4218
4353
  }), g;
4219
4354
  const i = this._def.keyType, s = this._def.valueType, a = [...n.data.entries()].map(([o, p], u) => ({
4220
- key: i._parse(new k(n, o, n.path, [u, "key"])),
4221
- value: s._parse(new k(n, p, n.path, [u, "value"]))
4355
+ key: i._parse(new D(n, o, n.path, [u, "key"])),
4356
+ value: s._parse(new D(n, p, n.path, [u, "value"]))
4222
4357
  }));
4223
4358
  if (n.common.async) {
4224
4359
  const o = /* @__PURE__ */ new Map();
@@ -4284,7 +4419,7 @@ class V extends v {
4284
4419
  }
4285
4420
  return { status: r.value, value: u };
4286
4421
  }
4287
- const o = [...n.data.values()].map((p, u) => s._parse(new k(n, p, n.path, u)));
4422
+ const o = [...n.data.values()].map((p, u) => s._parse(new D(n, p, n.path, u)));
4288
4423
  return n.common.async ? Promise.all(o).then((p) => a(p)) : a(o);
4289
4424
  }
4290
4425
  min(t, r) {
@@ -4358,10 +4493,10 @@ class B extends v {
4358
4493
  });
4359
4494
  }
4360
4495
  const s = { errorMap: r.common.contextualErrorMap }, a = r.data;
4361
- if (this._def.returns instanceof K) {
4496
+ if (this._def.returns instanceof Q) {
4362
4497
  const o = this;
4363
4498
  return P(async function(...p) {
4364
- const u = new b([]), _ = await o._def.args.parseAsync(p, s).catch((Te) => {
4499
+ const u = new x([]), _ = await o._def.args.parseAsync(p, s).catch((Te) => {
4365
4500
  throw u.addIssue(n(p, Te)), u;
4366
4501
  }), I = await Reflect.apply(a, this, _);
4367
4502
  return await o._def.returns._def.type.parseAsync(I, s).catch((Te) => {
@@ -4373,10 +4508,10 @@ class B extends v {
4373
4508
  return P(function(...p) {
4374
4509
  const u = o._def.args.safeParse(p, s);
4375
4510
  if (!u.success)
4376
- throw new b([n(p, u.error)]);
4511
+ throw new x([n(p, u.error)]);
4377
4512
  const _ = Reflect.apply(a, this, u.data), I = o._def.returns.safeParse(_, s);
4378
4513
  if (!I.success)
4379
- throw new b([i(_, I.error)]);
4514
+ throw new x([i(_, I.error)]);
4380
4515
  return I.data;
4381
4516
  });
4382
4517
  }
@@ -4390,7 +4525,7 @@ class B extends v {
4390
4525
  args(...t) {
4391
4526
  return new B({
4392
4527
  ...this._def,
4393
- args: D.create(t).rest(Z.create())
4528
+ args: k.create(t).rest(Z.create())
4394
4529
  });
4395
4530
  }
4396
4531
  returns(t) {
@@ -4407,7 +4542,7 @@ class B extends v {
4407
4542
  }
4408
4543
  static create(t, r, n) {
4409
4544
  return new B({
4410
- args: t || D.create([]).rest(Z.create()),
4545
+ args: t || k.create([]).rest(Z.create()),
4411
4546
  returns: r || Z.create(),
4412
4547
  typeName: h.ZodFunction,
4413
4548
  ...y(n)
@@ -4449,7 +4584,7 @@ ae.create = (e, t) => new ae({
4449
4584
  typeName: h.ZodLiteral,
4450
4585
  ...y(t)
4451
4586
  });
4452
- function Ye(e, t) {
4587
+ function Xe(e, t) {
4453
4588
  return new M({
4454
4589
  values: e,
4455
4590
  typeName: h.ZodEnum,
@@ -4504,7 +4639,7 @@ class M extends v {
4504
4639
  return M.create(this.options.filter((r) => !t.includes(r)));
4505
4640
  }
4506
4641
  }
4507
- M.create = Ye;
4642
+ M.create = Xe;
4508
4643
  class oe extends v {
4509
4644
  _parse(t) {
4510
4645
  const r = w.getValidEnumValues(this._def.values), n = this._getOrReturnCtx(t);
@@ -4535,7 +4670,7 @@ oe.create = (e, t) => new oe({
4535
4670
  typeName: h.ZodNativeEnum,
4536
4671
  ...y(t)
4537
4672
  });
4538
- class K extends v {
4673
+ class Q extends v {
4539
4674
  unwrap() {
4540
4675
  return this._def.type;
4541
4676
  }
@@ -4554,12 +4689,12 @@ class K extends v {
4554
4689
  })));
4555
4690
  }
4556
4691
  }
4557
- K.create = (e, t) => new K({
4692
+ Q.create = (e, t) => new Q({
4558
4693
  type: e,
4559
4694
  typeName: h.ZodPromise,
4560
4695
  ...y(t)
4561
4696
  });
4562
- class N extends v {
4697
+ class A extends v {
4563
4698
  innerType() {
4564
4699
  return this._def.schema;
4565
4700
  }
@@ -4627,19 +4762,19 @@ class N extends v {
4627
4762
  w.assertNever(i);
4628
4763
  }
4629
4764
  }
4630
- N.create = (e, t, r) => new N({
4765
+ A.create = (e, t, r) => new A({
4631
4766
  schema: e,
4632
4767
  typeName: h.ZodEffects,
4633
4768
  effect: t,
4634
4769
  ...y(r)
4635
4770
  });
4636
- N.createWithPreprocess = (e, t, r) => new N({
4771
+ A.createWithPreprocess = (e, t, r) => new A({
4637
4772
  schema: t,
4638
4773
  effect: { type: "preprocess", transform: e },
4639
4774
  typeName: h.ZodEffects,
4640
4775
  ...y(r)
4641
4776
  });
4642
- class U extends v {
4777
+ class E extends v {
4643
4778
  _parse(t) {
4644
4779
  return this._getType(t) === l.undefined ? P(void 0) : this._def.innerType._parse(t);
4645
4780
  }
@@ -4647,7 +4782,7 @@ class U extends v {
4647
4782
  return this._def.innerType;
4648
4783
  }
4649
4784
  }
4650
- U.create = (e, t) => new U({
4785
+ E.create = (e, t) => new E({
4651
4786
  innerType: e,
4652
4787
  typeName: h.ZodOptional,
4653
4788
  ...y(t)
@@ -4704,7 +4839,7 @@ class ye extends v {
4704
4839
  status: "valid",
4705
4840
  value: s.status === "valid" ? s.value : this._def.catchValue({
4706
4841
  get error() {
4707
- return new b(n.common.issues);
4842
+ return new x(n.common.issues);
4708
4843
  },
4709
4844
  input: n.data
4710
4845
  })
@@ -4712,7 +4847,7 @@ class ye extends v {
4712
4847
  status: "valid",
4713
4848
  value: i.status === "valid" ? i.value : this._def.catchValue({
4714
4849
  get error() {
4715
- return new b(n.common.issues);
4850
+ return new x(n.common.issues);
4716
4851
  },
4717
4852
  input: n.data
4718
4853
  })
@@ -4745,8 +4880,8 @@ ve.create = (e) => new ve({
4745
4880
  typeName: h.ZodNaN,
4746
4881
  ...y(e)
4747
4882
  });
4748
- const mn = Symbol("zod_brand");
4749
- class Xe extends v {
4883
+ const On = Symbol("zod_brand");
4884
+ class je extends v {
4750
4885
  _parse(t) {
4751
4886
  const { ctx: r } = this._processInputParams(t), n = r.data;
4752
4887
  return this._def.type._parse({
@@ -4769,7 +4904,7 @@ class de extends v {
4769
4904
  path: n.path,
4770
4905
  parent: n
4771
4906
  });
4772
- return s.status === "aborted" ? g : s.status === "dirty" ? (r.dirty(), Qe(s.value)) : this._def.out._parseAsync({
4907
+ return s.status === "aborted" ? g : s.status === "dirty" ? (r.dirty(), Ye(s.value)) : this._def.out._parseAsync({
4773
4908
  data: s.value,
4774
4909
  path: n.path,
4775
4910
  parent: n
@@ -4810,45 +4945,45 @@ _e.create = (e, t) => new _e({
4810
4945
  typeName: h.ZodReadonly,
4811
4946
  ...y(t)
4812
4947
  });
4813
- const je = (e, t = {}, r) => e ? G.create().superRefine((n, i) => {
4948
+ const et = (e, t = {}, r) => e ? G.create().superRefine((n, i) => {
4814
4949
  var s, a;
4815
4950
  if (!e(n)) {
4816
4951
  const o = typeof t == "function" ? t(n) : typeof t == "string" ? { message: t } : t, p = (a = (s = o.fatal) !== null && s !== void 0 ? s : r) !== null && a !== void 0 ? a : !0, u = typeof o == "string" ? { message: o } : o;
4817
4952
  i.addIssue({ code: "custom", ...u, fatal: p });
4818
4953
  }
4819
- }) : G.create(), hn = {
4820
- object: C.lazycreate
4954
+ }) : G.create(), xn = {
4955
+ object: S.lazycreate
4821
4956
  };
4822
4957
  var h;
4823
4958
  (function(e) {
4824
4959
  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";
4825
4960
  })(h || (h = {}));
4826
- const gn = (e, t = {
4961
+ const Nn = (e, t = {
4827
4962
  message: `Input not instance of ${e.name}`
4828
- }) => je((r) => r instanceof e, t), et = O.create, tt = q.create, yn = ve.create, vn = F.create, rt = j.create, _n = $.create, wn = me.create, Sn = ee.create, Cn = te.create, Tn = G.create, Pn = Z.create, In = J.create, On = he.create, bn = A.create, An = C.create, Nn = C.strictCreate, xn = re.create, kn = Ce.create, Dn = ne.create, Rn = D.create, Un = ie.create, Jn = ge.create, En = V.create, Ln = B.create, qn = se.create, Fn = ae.create, Mn = M.create, Zn = oe.create, $n = K.create, Ee = N.create, Vn = U.create, Hn = H.create, zn = N.createWithPreprocess, Bn = de.create, Gn = () => et().optional(), Kn = () => tt().optional(), Wn = () => rt().optional(), Qn = {
4963
+ }) => et((r) => r instanceof e, t), tt = O.create, rt = F.create, An = ve.create, bn = q.create, nt = j.create, Dn = $.create, kn = me.create, Rn = ee.create, Un = te.create, En = G.create, Jn = Z.create, Ln = J.create, Fn = he.create, qn = N.create, Mn = S.create, Zn = S.strictCreate, $n = re.create, Vn = Se.create, Hn = ne.create, zn = k.create, Bn = ie.create, Gn = ge.create, Qn = V.create, Kn = B.create, Wn = se.create, Yn = ae.create, Xn = M.create, jn = oe.create, ei = Q.create, Je = A.create, ti = E.create, ri = H.create, ni = A.createWithPreprocess, ii = de.create, si = () => tt().optional(), ai = () => rt().optional(), oi = () => nt().optional(), ci = {
4829
4964
  string: (e) => O.create({ ...e, coerce: !0 }),
4830
- number: (e) => q.create({ ...e, coerce: !0 }),
4965
+ number: (e) => F.create({ ...e, coerce: !0 }),
4831
4966
  boolean: (e) => j.create({
4832
4967
  ...e,
4833
4968
  coerce: !0
4834
4969
  }),
4835
- bigint: (e) => F.create({ ...e, coerce: !0 }),
4970
+ bigint: (e) => q.create({ ...e, coerce: !0 }),
4836
4971
  date: (e) => $.create({ ...e, coerce: !0 })
4837
- }, Yn = g;
4838
- var W = /* @__PURE__ */ Object.freeze({
4972
+ }, di = g;
4973
+ var K = /* @__PURE__ */ Object.freeze({
4839
4974
  __proto__: null,
4840
4975
  defaultErrorMap: Y,
4841
- setErrorMap: en,
4976
+ setErrorMap: pn,
4842
4977
  getErrorMap: le,
4843
4978
  makeIssue: fe,
4844
- EMPTY_PATH: tn,
4979
+ EMPTY_PATH: mn,
4845
4980
  addIssueToContext: f,
4846
4981
  ParseStatus: T,
4847
4982
  INVALID: g,
4848
- DIRTY: Qe,
4983
+ DIRTY: Ye,
4849
4984
  OK: P,
4850
4985
  isAborted: Oe,
4851
- isDirty: be,
4986
+ isDirty: xe,
4852
4987
  isValid: X,
4853
4988
  isAsync: pe,
4854
4989
  get util() {
@@ -4861,8 +4996,8 @@ var W = /* @__PURE__ */ Object.freeze({
4861
4996
  getParsedType: L,
4862
4997
  ZodType: v,
4863
4998
  ZodString: O,
4864
- ZodNumber: q,
4865
- ZodBigInt: F,
4999
+ ZodNumber: F,
5000
+ ZodBigInt: q,
4866
5001
  ZodBoolean: j,
4867
5002
  ZodDate: $,
4868
5003
  ZodSymbol: me,
@@ -4872,12 +5007,12 @@ var W = /* @__PURE__ */ Object.freeze({
4872
5007
  ZodUnknown: Z,
4873
5008
  ZodNever: J,
4874
5009
  ZodVoid: he,
4875
- ZodArray: A,
4876
- ZodObject: C,
5010
+ ZodArray: N,
5011
+ ZodObject: S,
4877
5012
  ZodUnion: re,
4878
- ZodDiscriminatedUnion: Ce,
5013
+ ZodDiscriminatedUnion: Se,
4879
5014
  ZodIntersection: ne,
4880
- ZodTuple: D,
5015
+ ZodTuple: k,
4881
5016
  ZodRecord: ie,
4882
5017
  ZodMap: ge,
4883
5018
  ZodSet: V,
@@ -4886,86 +5021,86 @@ var W = /* @__PURE__ */ Object.freeze({
4886
5021
  ZodLiteral: ae,
4887
5022
  ZodEnum: M,
4888
5023
  ZodNativeEnum: oe,
4889
- ZodPromise: K,
4890
- ZodEffects: N,
4891
- ZodTransformer: N,
4892
- ZodOptional: U,
5024
+ ZodPromise: Q,
5025
+ ZodEffects: A,
5026
+ ZodTransformer: A,
5027
+ ZodOptional: E,
4893
5028
  ZodNullable: H,
4894
5029
  ZodDefault: ce,
4895
5030
  ZodCatch: ye,
4896
5031
  ZodNaN: ve,
4897
- BRAND: mn,
4898
- ZodBranded: Xe,
5032
+ BRAND: On,
5033
+ ZodBranded: je,
4899
5034
  ZodPipeline: de,
4900
5035
  ZodReadonly: _e,
4901
- custom: je,
5036
+ custom: et,
4902
5037
  Schema: v,
4903
5038
  ZodSchema: v,
4904
- late: hn,
5039
+ late: xn,
4905
5040
  get ZodFirstPartyTypeKind() {
4906
5041
  return h;
4907
5042
  },
4908
- coerce: Qn,
4909
- any: Tn,
4910
- array: bn,
4911
- bigint: vn,
4912
- boolean: rt,
4913
- date: _n,
4914
- discriminatedUnion: kn,
4915
- effect: Ee,
4916
- enum: Mn,
4917
- function: Ln,
4918
- instanceof: gn,
4919
- intersection: Dn,
4920
- lazy: qn,
4921
- literal: Fn,
4922
- map: Jn,
4923
- nan: yn,
4924
- nativeEnum: Zn,
4925
- never: In,
4926
- null: Cn,
4927
- nullable: Hn,
4928
- number: tt,
4929
- object: An,
4930
- oboolean: Wn,
4931
- onumber: Kn,
4932
- optional: Vn,
4933
- ostring: Gn,
4934
- pipeline: Bn,
4935
- preprocess: zn,
4936
- promise: $n,
4937
- record: Un,
4938
- set: En,
4939
- strictObject: Nn,
4940
- string: et,
4941
- symbol: wn,
4942
- transformer: Ee,
4943
- tuple: Rn,
4944
- undefined: Sn,
4945
- union: xn,
4946
- unknown: Pn,
4947
- void: On,
4948
- NEVER: Yn,
5043
+ coerce: ci,
5044
+ any: En,
5045
+ array: qn,
5046
+ bigint: bn,
5047
+ boolean: nt,
5048
+ date: Dn,
5049
+ discriminatedUnion: Vn,
5050
+ effect: Je,
5051
+ enum: Xn,
5052
+ function: Kn,
5053
+ instanceof: Nn,
5054
+ intersection: Hn,
5055
+ lazy: Wn,
5056
+ literal: Yn,
5057
+ map: Gn,
5058
+ nan: An,
5059
+ nativeEnum: jn,
5060
+ never: Ln,
5061
+ null: Un,
5062
+ nullable: ri,
5063
+ number: rt,
5064
+ object: Mn,
5065
+ oboolean: oi,
5066
+ onumber: ai,
5067
+ optional: ti,
5068
+ ostring: si,
5069
+ pipeline: ii,
5070
+ preprocess: ni,
5071
+ promise: ei,
5072
+ record: Bn,
5073
+ set: Qn,
5074
+ strictObject: Zn,
5075
+ string: tt,
5076
+ symbol: kn,
5077
+ transformer: Je,
5078
+ tuple: zn,
5079
+ undefined: Rn,
5080
+ union: $n,
5081
+ unknown: Jn,
5082
+ void: Fn,
5083
+ NEVER: di,
4949
5084
  ZodIssueCode: d,
4950
- quotelessJson: jr,
4951
- ZodError: b
5085
+ quotelessJson: fn,
5086
+ ZodError: x
4952
5087
  });
4953
- function Xn(e) {
5088
+ function ui(e) {
4954
5089
  return e === 401 || e === 403;
4955
5090
  }
4956
- function jn(e) {
5091
+ function li(e) {
4957
5092
  return Object.entries(e).map(([t, r]) => `${encodeURIComponent(t)}=${encodeURIComponent(r)}`).join("&");
4958
5093
  }
4959
- const ei = W.object({
4960
- access_token: W.string().min(1),
4961
- token_type: W.string(),
4962
- expires_in: W.number(),
4963
- scope: W.string()
5094
+ const fi = K.object({
5095
+ access_token: K.string().min(1),
5096
+ token_type: K.string(),
5097
+ expires_in: K.number(),
5098
+ scope: K.string()
4964
5099
  });
4965
- async function ti(e) {
5100
+ async function pi(e) {
4966
5101
  let r = await (await fetch(e.tokenUrl, {
4967
5102
  method: "POST",
4968
- body: jn({
5103
+ body: li({
4969
5104
  grant_type: "client_credentials",
4970
5105
  client_id: e.clientId,
4971
5106
  client_secret: e.clientSecret
@@ -4974,19 +5109,19 @@ async function ti(e) {
4974
5109
  "Content-Type": "application/x-www-form-urlencoded"
4975
5110
  }
4976
5111
  })).json();
4977
- return ri(r);
5112
+ return mi(r);
4978
5113
  }
4979
- function ri(e) {
4980
- const t = ei.safeParse(e);
5114
+ function mi(e) {
5115
+ const t = fi.safeParse(e);
4981
5116
  if (!t.success)
4982
5117
  throw new Error("Bad access token response");
4983
5118
  return t.data;
4984
5119
  }
4985
- class ni {
5120
+ class hi {
4986
5121
  constructor(t) {
4987
- x(this, "activeRequest", null);
4988
- x(this, "refreshTimeout");
4989
- x(this, "accessToken", null);
5122
+ b(this, "activeRequest", null);
5123
+ b(this, "refreshTimeout");
5124
+ b(this, "accessToken", null);
4990
5125
  this.clientCredentials = t;
4991
5126
  }
4992
5127
  async getAccessToken() {
@@ -4998,7 +5133,7 @@ class ni {
4998
5133
  async refreshAccessToken() {
4999
5134
  if (this.activeRequest)
5000
5135
  return await this.activeRequest, this.accessToken;
5001
- this.accessToken = null, this.activeRequest = ti(this.clientCredentials);
5136
+ this.accessToken = null, this.activeRequest = pi(this.clientCredentials);
5002
5137
  const t = await this.activeRequest;
5003
5138
  return this.scheduleNextRefresh(t), this.accessToken = t.access_token, this.activeRequest = null, this.accessToken;
5004
5139
  }
@@ -5011,18 +5146,18 @@ class ni {
5011
5146
  }
5012
5147
  }
5013
5148
  function Le(e, t) {
5014
- e.headers = ii("Authorization", `Bearer ${t}`, e.headers);
5149
+ e.headers = gi("Authorization", `Bearer ${t}`, e.headers);
5015
5150
  }
5016
- function ii(e, t, r) {
5151
+ function gi(e, t, r) {
5017
5152
  return r ? Array.isArray(r) ? r.map(
5018
5153
  ([n, i]) => n !== e ? [n, i] : [e, t]
5019
- ) : si(r) ? (r.has(e) ? r.set(e, t) : r.append(e, t), r) : (r[e] = t, r) : (r = {}, r[e] = t, r);
5154
+ ) : yi(r) ? (r.has(e) ? r.set(e, t) : r.append(e, t), r) : (r[e] = t, r) : (r = {}, r[e] = t, r);
5020
5155
  }
5021
- function si(e) {
5156
+ function yi(e) {
5022
5157
  return "append" in e && "delete" in e && "get" in e && "has" in e && "set" in e && "forEach" in e;
5023
5158
  }
5024
- function ai(e) {
5025
- const t = new ni(e);
5159
+ function vi(e) {
5160
+ const t = new hi(e);
5026
5161
  return {
5027
5162
  pre: async (r) => {
5028
5163
  const n = await t.getAccessToken();
@@ -5032,7 +5167,7 @@ function ai(e) {
5032
5167
  });
5033
5168
  },
5034
5169
  post: async (r) => {
5035
- if (Xn(r.response.status)) {
5170
+ if (ui(r.response.status)) {
5036
5171
  const n = await t.refreshAccessToken();
5037
5172
  return Le(r.init, n), await fetch(r.url, r.init);
5038
5173
  }
@@ -5040,10 +5175,10 @@ function ai(e) {
5040
5175
  }
5041
5176
  };
5042
5177
  }
5043
- function Ns(e) {
5178
+ function Ks(e) {
5044
5179
  let t = [], r = {};
5045
- e.clientCredentials && t.push(ai(e.clientCredentials)), e.managementApiKey && (r = oi(e.managementApiKey));
5046
- const n = new qe({
5180
+ e.clientCredentials && t.push(vi(e.clientCredentials)), e.managementApiKey && (r = _i(e.managementApiKey));
5181
+ const n = new Fe({
5047
5182
  basePath: e.managementApiUrl,
5048
5183
  headers: r,
5049
5184
  credentials: "same-origin",
@@ -5051,212 +5186,232 @@ function Ns(e) {
5051
5186
  ...e.configOverrides
5052
5187
  });
5053
5188
  return {
5054
- uiApi: new Yr(n),
5055
- useCaseApi: new Xr(n),
5056
- enterpriseEditionApi: new Qr(n)
5189
+ uiApi: new un(n),
5190
+ useCaseApi: new ln(n),
5191
+ enterpriseEditionApi: new dn(n)
5057
5192
  };
5058
5193
  }
5059
- function oi(e) {
5194
+ function _i(e) {
5060
5195
  return {
5061
5196
  "X-Api-Key": e
5062
5197
  };
5063
5198
  }
5064
5199
  export {
5065
- mt as AssetPageFromJSON,
5066
- ht as AssetPageFromJSONTyped,
5067
- gi as AssetPageToJSON,
5068
- st as BASE_PATH,
5069
- Q as BaseAPI,
5070
- pi as BlobApiResponse,
5071
- ui as COLLECTION_FORMATS,
5072
- qe as Configuration,
5073
- gt as ConnectorLimitsFromJSON,
5074
- yt as ConnectorLimitsFromJSONTyped,
5075
- vi as ConnectorLimitsToJSON,
5076
- Ut as ContractAgreementCardFromJSON,
5077
- Jt as ContractAgreementCardFromJSONTyped,
5078
- Et as ContractAgreementCardToJSON,
5079
- _i as ContractAgreementDirection,
5200
+ ht as AssetPageFromJSON,
5201
+ gt as AssetPageFromJSONTyped,
5202
+ Ni as AssetPageToJSON,
5203
+ at as BASE_PATH,
5204
+ W as BaseAPI,
5205
+ Ii as BlobApiResponse,
5206
+ Si as COLLECTION_FORMATS,
5207
+ Pt as CatalogFilterExpressionFromJSON,
5208
+ It as CatalogFilterExpressionFromJSONTyped,
5209
+ _t as CatalogFilterExpressionLiteralFromJSON,
5210
+ wt as CatalogFilterExpressionLiteralFromJSONTyped,
5211
+ Ct as CatalogFilterExpressionLiteralToJSON,
5212
+ Ai as CatalogFilterExpressionLiteralType,
5213
+ yt as CatalogFilterExpressionLiteralTypeFromJSON,
5214
+ vt as CatalogFilterExpressionLiteralTypeFromJSONTyped,
5215
+ bi as CatalogFilterExpressionLiteralTypeToJSON,
5216
+ ki as CatalogFilterExpressionOperator,
5217
+ St as CatalogFilterExpressionOperatorFromJSON,
5218
+ Tt as CatalogFilterExpressionOperatorFromJSONTyped,
5219
+ Ri as CatalogFilterExpressionOperatorToJSON,
5220
+ Ot as CatalogFilterExpressionToJSON,
5221
+ Ji as CatalogQueryFromJSON,
5222
+ xt as CatalogQueryFromJSONTyped,
5223
+ Nt as CatalogQueryToJSON,
5224
+ Fe as Configuration,
5225
+ At as ConnectorLimitsFromJSON,
5226
+ bt as ConnectorLimitsFromJSONTyped,
5227
+ Fi as ConnectorLimitsToJSON,
5228
+ Gt as ContractAgreementCardFromJSON,
5229
+ Qt as ContractAgreementCardFromJSONTyped,
5230
+ Kt as ContractAgreementCardToJSON,
5231
+ qi as ContractAgreementDirection,
5080
5232
  Ze as ContractAgreementDirectionFromJSON,
5081
- vt as ContractAgreementDirectionFromJSONTyped,
5082
- wi as ContractAgreementDirectionToJSON,
5083
- Lt as ContractAgreementPageFromJSON,
5084
- qt as ContractAgreementPageFromJSONTyped,
5085
- Ui as ContractAgreementPageToJSON,
5086
- Ct as ContractAgreementTransferProcessFromJSON,
5087
- Tt as ContractAgreementTransferProcessFromJSONTyped,
5088
- Pt as ContractAgreementTransferProcessToJSON,
5089
- Gt as ContractDefinitionEntryFromJSON,
5090
- Kt as ContractDefinitionEntryFromJSONTyped,
5091
- Wt as ContractDefinitionEntryToJSON,
5092
- Qt as ContractDefinitionPageFromJSON,
5093
- Yt as ContractDefinitionPageFromJSONTyped,
5094
- Vi as ContractDefinitionPageToJSON,
5095
- zi as ContractDefinitionRequestFromJSON,
5096
- Xt as ContractDefinitionRequestFromJSONTyped,
5097
- jt as ContractDefinitionRequestToJSON,
5098
- Gi as ContractNegotiationRequestFromJSON,
5099
- er as ContractNegotiationRequestFromJSONTyped,
5100
- tr as ContractNegotiationRequestToJSON,
5101
- Ki as ContractNegotiationSimplifiedState,
5102
- rr as ContractNegotiationSimplifiedStateFromJSON,
5103
- nr as ContractNegotiationSimplifiedStateFromJSONTyped,
5104
- Wi as ContractNegotiationSimplifiedStateToJSON,
5105
- ir as ContractNegotiationStateFromJSON,
5106
- sr as ContractNegotiationStateFromJSONTyped,
5107
- ar as ContractNegotiationStateToJSON,
5108
- or as DashboardDapsConfigFromJSON,
5109
- cr as DashboardDapsConfigFromJSONTyped,
5110
- dr as DashboardDapsConfigToJSON,
5111
- ur as DashboardMiwConfigFromJSON,
5112
- lr as DashboardMiwConfigFromJSONTyped,
5113
- fr as DashboardMiwConfigToJSON,
5114
- mr as DashboardPageFromJSON,
5115
- hr as DashboardPageFromJSONTyped,
5116
- ts as DashboardPageToJSON,
5117
- De as DashboardTransferAmountsFromJSON,
5118
- pr as DashboardTransferAmountsFromJSONTyped,
5233
+ Dt as ContractAgreementDirectionFromJSONTyped,
5234
+ Mi as ContractAgreementDirectionToJSON,
5235
+ Wt as ContractAgreementPageFromJSON,
5236
+ Yt as ContractAgreementPageFromJSONTyped,
5237
+ es as ContractAgreementPageToJSON,
5238
+ Et as ContractAgreementTransferProcessFromJSON,
5239
+ Jt as ContractAgreementTransferProcessFromJSONTyped,
5240
+ Lt as ContractAgreementTransferProcessToJSON,
5241
+ ar as ContractDefinitionEntryFromJSON,
5242
+ or as ContractDefinitionEntryFromJSONTyped,
5243
+ cr as ContractDefinitionEntryToJSON,
5244
+ dr as ContractDefinitionPageFromJSON,
5245
+ ur as ContractDefinitionPageFromJSONTyped,
5246
+ ds as ContractDefinitionPageToJSON,
5247
+ ls as ContractDefinitionRequestFromJSON,
5248
+ lr as ContractDefinitionRequestFromJSONTyped,
5249
+ fr as ContractDefinitionRequestToJSON,
5250
+ ps as ContractNegotiationRequestFromJSON,
5251
+ pr as ContractNegotiationRequestFromJSONTyped,
5252
+ mr as ContractNegotiationRequestToJSON,
5253
+ ms as ContractNegotiationSimplifiedState,
5254
+ hr as ContractNegotiationSimplifiedStateFromJSON,
5255
+ gr as ContractNegotiationSimplifiedStateFromJSONTyped,
5256
+ hs as ContractNegotiationSimplifiedStateToJSON,
5257
+ yr as ContractNegotiationStateFromJSON,
5258
+ vr as ContractNegotiationStateFromJSONTyped,
5259
+ _r as ContractNegotiationStateToJSON,
5260
+ wr as DashboardDapsConfigFromJSON,
5261
+ Cr as DashboardDapsConfigFromJSONTyped,
5262
+ Sr as DashboardDapsConfigToJSON,
5263
+ Tr as DashboardMiwConfigFromJSON,
5264
+ Pr as DashboardMiwConfigFromJSONTyped,
5265
+ Ir as DashboardMiwConfigToJSON,
5266
+ xr as DashboardPageFromJSON,
5267
+ Nr as DashboardPageFromJSONTyped,
5268
+ Cs as DashboardPageToJSON,
5269
+ ke as DashboardTransferAmountsFromJSON,
5270
+ Or as DashboardTransferAmountsFromJSONTyped,
5119
5271
  Re as DashboardTransferAmountsToJSON,
5120
- at as DefaultConfig,
5121
- Qr as EnterpriseEditionApi,
5122
- ut as FetchError,
5272
+ ot as DefaultConfig,
5273
+ dn as EnterpriseEditionApi,
5274
+ lt as FetchError,
5123
5275
  R as IdResponseDtoFromJSON,
5124
- gr as IdResponseDtoFromJSONTyped,
5125
- ns as IdResponseDtoToJSON,
5126
- ss as InitiateCustomTransferRequestFromJSON,
5127
- yr as InitiateCustomTransferRequestFromJSONTyped,
5128
- vr as InitiateCustomTransferRequestToJSON,
5129
- os as InitiateTransferRequestFromJSON,
5130
- _r as InitiateTransferRequestFromJSONTyped,
5131
- wr as InitiateTransferRequestToJSON,
5132
- S as JSONApiResponse,
5133
- Pr as KpiResultFromJSON,
5134
- Ir as KpiResultFromJSONTyped,
5135
- us as KpiResultToJSON,
5136
- Ii as OperatorDto,
5137
- It as OperatorDtoFromJSON,
5138
- Ot as OperatorDtoFromJSONTyped,
5139
- Oi as OperatorDtoToJSON,
5140
- ps as PolicyDefinitionCreateRequestFromJSON,
5141
- Nr as PolicyDefinitionCreateRequestFromJSONTyped,
5142
- xr as PolicyDefinitionCreateRequestToJSON,
5143
- kr as PolicyDefinitionDtoFromJSON,
5144
- Dr as PolicyDefinitionDtoFromJSONTyped,
5145
- Rr as PolicyDefinitionDtoToJSON,
5146
- Ur as PolicyDefinitionPageFromJSON,
5147
- Jr as PolicyDefinitionPageFromJSONTyped,
5148
- gs as PolicyDefinitionPageToJSON,
5149
- E as RequiredError,
5150
- dt as ResponseError,
5151
- ft as TextApiResponse,
5152
- Er as TransferHistoryEntryFromJSON,
5153
- Lr as TransferHistoryEntryFromJSONTyped,
5154
- qr as TransferHistoryEntryToJSON,
5155
- Fr as TransferHistoryPageFromJSON,
5156
- Mr as TransferHistoryPageFromJSONTyped,
5157
- _s as TransferHistoryPageToJSON,
5158
- Si as TransferProcessSimplifiedState,
5159
- _t as TransferProcessSimplifiedStateFromJSON,
5160
- wt as TransferProcessSimplifiedStateFromJSONTyped,
5161
- Ci as TransferProcessSimplifiedStateToJSON,
5276
+ Ar as IdResponseDtoFromJSONTyped,
5277
+ Ts as IdResponseDtoToJSON,
5278
+ Is as InitiateCustomTransferRequestFromJSON,
5279
+ br as InitiateCustomTransferRequestFromJSONTyped,
5280
+ Dr as InitiateCustomTransferRequestToJSON,
5281
+ xs as InitiateTransferRequestFromJSON,
5282
+ kr as InitiateTransferRequestFromJSONTyped,
5283
+ Rr as InitiateTransferRequestToJSON,
5284
+ C as JSONApiResponse,
5285
+ Lr as KpiResultFromJSON,
5286
+ Fr as KpiResultFromJSONTyped,
5287
+ bs as KpiResultToJSON,
5288
+ zi as OperatorDto,
5289
+ Ft as OperatorDtoFromJSON,
5290
+ qt as OperatorDtoFromJSONTyped,
5291
+ Bi as OperatorDtoToJSON,
5292
+ Rs as PolicyDefinitionCreateRequestFromJSON,
5293
+ $r as PolicyDefinitionCreateRequestFromJSONTyped,
5294
+ Vr as PolicyDefinitionCreateRequestToJSON,
5295
+ Hr as PolicyDefinitionDtoFromJSON,
5296
+ zr as PolicyDefinitionDtoFromJSONTyped,
5297
+ Br as PolicyDefinitionDtoToJSON,
5298
+ Gr as PolicyDefinitionPageFromJSON,
5299
+ Qr as PolicyDefinitionPageFromJSONTyped,
5300
+ Js as PolicyDefinitionPageToJSON,
5301
+ U as RequiredError,
5302
+ ut as ResponseError,
5303
+ pt as TextApiResponse,
5304
+ Kr as TransferHistoryEntryFromJSON,
5305
+ Wr as TransferHistoryEntryFromJSONTyped,
5306
+ Yr as TransferHistoryEntryToJSON,
5307
+ Xr as TransferHistoryPageFromJSON,
5308
+ jr as TransferHistoryPageFromJSONTyped,
5309
+ qs as TransferHistoryPageToJSON,
5310
+ Zi as TransferProcessSimplifiedState,
5311
+ kt as TransferProcessSimplifiedStateFromJSON,
5312
+ Rt as TransferProcessSimplifiedStateFromJSONTyped,
5313
+ $i as TransferProcessSimplifiedStateToJSON,
5162
5314
  $e as TransferProcessStateFromJSON,
5163
- St as TransferProcessStateFromJSONTyped,
5315
+ Ut as TransferProcessStateFromJSONTyped,
5164
5316
  Ve as TransferProcessStateToJSON,
5165
- Sr as TransferProcessStatesDtoFromJSON,
5166
- Cr as TransferProcessStatesDtoFromJSONTyped,
5167
- Tr as TransferProcessStatesDtoToJSON,
5168
- Yr as UIApi,
5169
- Ss as UiAssetCreateRequestFromJSON,
5170
- Zr as UiAssetCreateRequestFromJSONTyped,
5171
- Ke as UiAssetCreateRequestToJSON,
5172
- Ts as UiAssetEditMetadataRequestFromJSON,
5173
- $r as UiAssetEditMetadataRequestFromJSONTyped,
5174
- Vr as UiAssetEditMetadataRequestToJSON,
5175
- Se as UiAssetFromJSON,
5176
- pt as UiAssetFromJSONTyped,
5177
- Ne as UiAssetToJSON,
5317
+ Ur as TransferProcessStatesDtoFromJSON,
5318
+ Er as TransferProcessStatesDtoFromJSONTyped,
5319
+ Jr as TransferProcessStatesDtoToJSON,
5320
+ un as UIApi,
5321
+ Zs as UiAssetCreateRequestFromJSON,
5322
+ en as UiAssetCreateRequestFromJSONTyped,
5323
+ Qe as UiAssetCreateRequestToJSON,
5324
+ Vs as UiAssetEditMetadataRequestFromJSON,
5325
+ tn as UiAssetEditMetadataRequestFromJSONTyped,
5326
+ rn as UiAssetEditMetadataRequestToJSON,
5327
+ Ce as UiAssetFromJSON,
5328
+ mt as UiAssetFromJSONTyped,
5329
+ Ae as UiAssetToJSON,
5178
5330
  Ue as UiContractNegotiationFromJSON,
5179
- Hr as UiContractNegotiationFromJSONTyped,
5180
- Is as UiContractNegotiationToJSON,
5181
- zr as UiContractOfferFromJSON,
5182
- Br as UiContractOfferFromJSONTyped,
5183
- Gr as UiContractOfferToJSON,
5331
+ nn as UiContractNegotiationFromJSONTyped,
5332
+ zs as UiContractNegotiationToJSON,
5333
+ sn as UiContractOfferFromJSON,
5334
+ an as UiContractOfferFromJSONTyped,
5335
+ on as UiContractOfferToJSON,
5184
5336
  Be as UiCriterionFromJSON,
5185
- Bt as UiCriterionFromJSONTyped,
5186
- Zt as UiCriterionLiteralFromJSON,
5187
- $t as UiCriterionLiteralFromJSONTyped,
5188
- Vt as UiCriterionLiteralToJSON,
5189
- Ji as UiCriterionLiteralType,
5190
- Ft as UiCriterionLiteralTypeFromJSON,
5191
- Mt as UiCriterionLiteralTypeFromJSONTyped,
5192
- Ei as UiCriterionLiteralTypeToJSON,
5193
- qi as UiCriterionOperator,
5194
- Ht as UiCriterionOperatorFromJSON,
5195
- zt as UiCriterionOperatorFromJSONTyped,
5196
- Fi as UiCriterionOperatorToJSON,
5337
+ sr as UiCriterionFromJSONTyped,
5338
+ er as UiCriterionLiteralFromJSON,
5339
+ tr as UiCriterionLiteralFromJSONTyped,
5340
+ rr as UiCriterionLiteralToJSON,
5341
+ ts as UiCriterionLiteralType,
5342
+ Xt as UiCriterionLiteralTypeFromJSON,
5343
+ jt as UiCriterionLiteralTypeFromJSONTyped,
5344
+ rs as UiCriterionLiteralTypeToJSON,
5345
+ is as UiCriterionOperator,
5346
+ nr as UiCriterionOperatorFromJSON,
5347
+ ir as UiCriterionOperatorFromJSONTyped,
5348
+ ss as UiCriterionOperatorToJSON,
5197
5349
  Ge as UiCriterionToJSON,
5198
- Kr as UiDataOfferFromJSON,
5199
- Wr as UiDataOfferFromJSONTyped,
5200
- As as UiDataOfferToJSON,
5350
+ Ke as UiDataOfferFromJSON,
5351
+ cn as UiDataOfferFromJSONTyped,
5352
+ Qs as UiDataOfferToJSON,
5201
5353
  He as UiPolicyConstraintFromJSON,
5202
- Dt as UiPolicyConstraintFromJSONTyped,
5354
+ zt as UiPolicyConstraintFromJSONTyped,
5203
5355
  ze as UiPolicyConstraintToJSON,
5204
- Or as UiPolicyCreateRequestFromJSON,
5205
- br as UiPolicyCreateRequestFromJSONTyped,
5206
- Ar as UiPolicyCreateRequestToJSON,
5207
- xe as UiPolicyFromJSON,
5208
- Rt as UiPolicyFromJSONTyped,
5209
- Nt as UiPolicyLiteralFromJSON,
5210
- xt as UiPolicyLiteralFromJSONTyped,
5211
- kt as UiPolicyLiteralToJSON,
5212
- bi as UiPolicyLiteralType,
5213
- bt as UiPolicyLiteralTypeFromJSON,
5214
- At as UiPolicyLiteralTypeFromJSONTyped,
5215
- Ai as UiPolicyLiteralTypeToJSON,
5216
- ke as UiPolicyToJSON,
5217
- Xr as UseCaseApi,
5218
- lt as VoidApiResponse,
5219
- Ns as buildEdcClient,
5220
- fi as canConsumeForm,
5356
+ qr as UiPolicyCreateRequestFromJSON,
5357
+ Mr as UiPolicyCreateRequestFromJSONTyped,
5358
+ Zr as UiPolicyCreateRequestToJSON,
5359
+ be as UiPolicyFromJSON,
5360
+ Bt as UiPolicyFromJSONTyped,
5361
+ $t as UiPolicyLiteralFromJSON,
5362
+ Vt as UiPolicyLiteralFromJSONTyped,
5363
+ Ht as UiPolicyLiteralToJSON,
5364
+ Gi as UiPolicyLiteralType,
5365
+ Mt as UiPolicyLiteralTypeFromJSON,
5366
+ Zt as UiPolicyLiteralTypeFromJSONTyped,
5367
+ Qi as UiPolicyLiteralTypeToJSON,
5368
+ De as UiPolicyToJSON,
5369
+ ln as UseCaseApi,
5370
+ ft as VoidApiResponse,
5371
+ Ks as buildEdcClient,
5372
+ Pi as canConsumeForm,
5221
5373
  c as exists,
5222
- hi as instanceOfAssetPage,
5223
- yi as instanceOfConnectorLimits,
5224
- Di as instanceOfContractAgreementCard,
5225
- Ri as instanceOfContractAgreementPage,
5226
- Pi as instanceOfContractAgreementTransferProcess,
5227
- Zi as instanceOfContractDefinitionEntry,
5228
- $i as instanceOfContractDefinitionPage,
5229
- Hi as instanceOfContractDefinitionRequest,
5230
- Bi as instanceOfContractNegotiationRequest,
5231
- Qi as instanceOfContractNegotiationState,
5232
- Yi as instanceOfDashboardDapsConfig,
5233
- Xi as instanceOfDashboardMiwConfig,
5234
- es as instanceOfDashboardPage,
5235
- ji as instanceOfDashboardTransferAmounts,
5236
- rs as instanceOfIdResponseDto,
5237
- is as instanceOfInitiateCustomTransferRequest,
5238
- as as instanceOfInitiateTransferRequest,
5239
- ds as instanceOfKpiResult,
5240
- fs as instanceOfPolicyDefinitionCreateRequest,
5241
- ms as instanceOfPolicyDefinitionDto,
5242
- hs as instanceOfPolicyDefinitionPage,
5243
- ys as instanceOfTransferHistoryEntry,
5244
- vs as instanceOfTransferHistoryPage,
5245
- Ti as instanceOfTransferProcessState,
5246
- cs as instanceOfTransferProcessStatesDto,
5247
- mi as instanceOfUiAsset,
5248
- ws as instanceOfUiAssetCreateRequest,
5249
- Cs as instanceOfUiAssetEditMetadataRequest,
5250
- Ps as instanceOfUiContractNegotiation,
5251
- Os as instanceOfUiContractOffer,
5252
- Mi as instanceOfUiCriterion,
5253
- Li as instanceOfUiCriterionLiteral,
5254
- bs as instanceOfUiDataOffer,
5255
- ki as instanceOfUiPolicy,
5256
- xi as instanceOfUiPolicyConstraint,
5257
- ls as instanceOfUiPolicyCreateRequest,
5258
- Ni as instanceOfUiPolicyLiteral,
5259
- li as mapValues,
5260
- Fe as querystring
5374
+ xi as instanceOfAssetPage,
5375
+ Ui as instanceOfCatalogFilterExpression,
5376
+ Di as instanceOfCatalogFilterExpressionLiteral,
5377
+ Ei as instanceOfCatalogQuery,
5378
+ Li as instanceOfConnectorLimits,
5379
+ Xi as instanceOfContractAgreementCard,
5380
+ ji as instanceOfContractAgreementPage,
5381
+ Hi as instanceOfContractAgreementTransferProcess,
5382
+ os as instanceOfContractDefinitionEntry,
5383
+ cs as instanceOfContractDefinitionPage,
5384
+ us as instanceOfContractDefinitionRequest,
5385
+ fs as instanceOfContractNegotiationRequest,
5386
+ gs as instanceOfContractNegotiationState,
5387
+ ys as instanceOfDashboardDapsConfig,
5388
+ vs as instanceOfDashboardMiwConfig,
5389
+ ws as instanceOfDashboardPage,
5390
+ _s as instanceOfDashboardTransferAmounts,
5391
+ Ss as instanceOfIdResponseDto,
5392
+ Ps as instanceOfInitiateCustomTransferRequest,
5393
+ Os as instanceOfInitiateTransferRequest,
5394
+ As as instanceOfKpiResult,
5395
+ ks as instanceOfPolicyDefinitionCreateRequest,
5396
+ Us as instanceOfPolicyDefinitionDto,
5397
+ Es as instanceOfPolicyDefinitionPage,
5398
+ Ls as instanceOfTransferHistoryEntry,
5399
+ Fs as instanceOfTransferHistoryPage,
5400
+ Vi as instanceOfTransferProcessState,
5401
+ Ns as instanceOfTransferProcessStatesDto,
5402
+ Oi as instanceOfUiAsset,
5403
+ Ms as instanceOfUiAssetCreateRequest,
5404
+ $s as instanceOfUiAssetEditMetadataRequest,
5405
+ Hs as instanceOfUiContractNegotiation,
5406
+ Bs as instanceOfUiContractOffer,
5407
+ as as instanceOfUiCriterion,
5408
+ ns as instanceOfUiCriterionLiteral,
5409
+ Gs as instanceOfUiDataOffer,
5410
+ Yi as instanceOfUiPolicy,
5411
+ Wi as instanceOfUiPolicyConstraint,
5412
+ Ds as instanceOfUiPolicyCreateRequest,
5413
+ Ki as instanceOfUiPolicyLiteral,
5414
+ Ti as mapValues,
5415
+ qe as querystring
5261
5416
  };
5262
5417
  //# sourceMappingURL=sovity-edc-client.js.map