confluence.js 3.0.1 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/CHANGELOG.md +25 -0
  2. package/dist/browser.js +241 -234
  3. package/dist/browser.js.map +1 -1
  4. package/dist/v1/models/asyncContentBody.d.ts +1 -0
  5. package/dist/v1/models/asyncContentBody.d.ts.map +1 -1
  6. package/dist/v1/models/asyncContentBody.js +1 -0
  7. package/dist/v1/models/asyncContentBody.js.map +1 -1
  8. package/dist/v1/models/asyncContentBodyArray.d.ts +1 -0
  9. package/dist/v1/models/asyncContentBodyArray.d.ts.map +1 -1
  10. package/dist/v2/models/accessByEmail.d.ts +1 -0
  11. package/dist/v2/models/accessByEmail.d.ts.map +1 -1
  12. package/dist/v2/models/accessByEmail.js +2 -0
  13. package/dist/v2/models/accessByEmail.js.map +1 -1
  14. package/dist/v2/models/attachment.d.ts +10 -0
  15. package/dist/v2/models/attachment.d.ts.map +1 -1
  16. package/dist/v2/models/attachmentComment.d.ts +2 -0
  17. package/dist/v2/models/attachmentComment.d.ts.map +1 -1
  18. package/dist/v2/models/attachmentComments.d.ts +2 -0
  19. package/dist/v2/models/attachmentComments.d.ts.map +1 -1
  20. package/dist/v2/models/attachmentContentProperties.d.ts +2 -0
  21. package/dist/v2/models/attachmentContentProperties.d.ts.map +1 -1
  22. package/dist/v2/models/attachmentSummary.d.ts +2 -0
  23. package/dist/v2/models/attachmentSummary.d.ts.map +1 -1
  24. package/dist/v2/models/attachments.d.ts +2 -0
  25. package/dist/v2/models/attachments.d.ts.map +1 -1
  26. package/dist/v2/models/blogPost.d.ts +11 -0
  27. package/dist/v2/models/blogPost.d.ts.map +1 -1
  28. package/dist/v2/models/blogPostComment.d.ts +2 -0
  29. package/dist/v2/models/blogPostComment.d.ts.map +1 -1
  30. package/dist/v2/models/blogPostFooterComments.d.ts +2 -0
  31. package/dist/v2/models/blogPostFooterComments.d.ts.map +1 -1
  32. package/dist/v2/models/blogPostInlineComment.d.ts +4 -0
  33. package/dist/v2/models/blogPostInlineComment.d.ts.map +1 -1
  34. package/dist/v2/models/blogPostInlineComments.d.ts +4 -0
  35. package/dist/v2/models/blogPostInlineComments.d.ts.map +1 -1
  36. package/dist/v2/models/blogPostSummary.d.ts +2 -0
  37. package/dist/v2/models/blogPostSummary.d.ts.map +1 -1
  38. package/dist/v2/models/blogPosts.d.ts +2 -0
  39. package/dist/v2/models/blogPosts.d.ts.map +1 -1
  40. package/dist/v2/models/blogPostsInSpace.d.ts +2 -0
  41. package/dist/v2/models/blogPostsInSpace.d.ts.map +1 -1
  42. package/dist/v2/models/blogpostAttachments.d.ts +2 -0
  43. package/dist/v2/models/blogpostAttachments.d.ts.map +1 -1
  44. package/dist/v2/models/blogpostContentProperties.d.ts +2 -0
  45. package/dist/v2/models/blogpostContentProperties.d.ts.map +1 -1
  46. package/dist/v2/models/childrenComment.d.ts +2 -0
  47. package/dist/v2/models/childrenComment.d.ts.map +1 -1
  48. package/dist/v2/models/commentContentProperties.d.ts +2 -0
  49. package/dist/v2/models/commentContentProperties.d.ts.map +1 -1
  50. package/dist/v2/models/contentProperty.d.ts +2 -0
  51. package/dist/v2/models/contentProperty.d.ts.map +1 -1
  52. package/dist/v2/models/customContent.d.ts +10 -0
  53. package/dist/v2/models/customContent.d.ts.map +1 -1
  54. package/dist/v2/models/customContentAttachments.d.ts +2 -0
  55. package/dist/v2/models/customContentAttachments.d.ts.map +1 -1
  56. package/dist/v2/models/customContentByType.d.ts +2 -0
  57. package/dist/v2/models/customContentByType.d.ts.map +1 -1
  58. package/dist/v2/models/customContentByTypeInBlogPost.d.ts +2 -0
  59. package/dist/v2/models/customContentByTypeInBlogPost.d.ts.map +1 -1
  60. package/dist/v2/models/customContentByTypeInPage.d.ts +2 -0
  61. package/dist/v2/models/customContentByTypeInPage.d.ts.map +1 -1
  62. package/dist/v2/models/customContentByTypeInSpace.d.ts +2 -0
  63. package/dist/v2/models/customContentByTypeInSpace.d.ts.map +1 -1
  64. package/dist/v2/models/customContentComment.d.ts +2 -0
  65. package/dist/v2/models/customContentComment.d.ts.map +1 -1
  66. package/dist/v2/models/customContentComments.d.ts +2 -0
  67. package/dist/v2/models/customContentComments.d.ts.map +1 -1
  68. package/dist/v2/models/customContentContentProperties.d.ts +2 -0
  69. package/dist/v2/models/customContentContentProperties.d.ts.map +1 -1
  70. package/dist/v2/models/customContentSummary.d.ts +2 -0
  71. package/dist/v2/models/customContentSummary.d.ts.map +1 -1
  72. package/dist/v2/models/database.d.ts +2 -0
  73. package/dist/v2/models/database.d.ts.map +1 -1
  74. package/dist/v2/models/databaseContentProperties.d.ts +2 -0
  75. package/dist/v2/models/databaseContentProperties.d.ts.map +1 -1
  76. package/dist/v2/models/folder.d.ts +2 -0
  77. package/dist/v2/models/folder.d.ts.map +1 -1
  78. package/dist/v2/models/folderContentProperties.d.ts +2 -0
  79. package/dist/v2/models/folderContentProperties.d.ts.map +1 -1
  80. package/dist/v2/models/footerComment.d.ts +10 -0
  81. package/dist/v2/models/footerComment.d.ts.map +1 -1
  82. package/dist/v2/models/footerCommentChildren.d.ts +2 -0
  83. package/dist/v2/models/footerCommentChildren.d.ts.map +1 -1
  84. package/dist/v2/models/footerComments.d.ts +10 -0
  85. package/dist/v2/models/footerComments.d.ts.map +1 -1
  86. package/dist/v2/models/inlineComment.d.ts +10 -0
  87. package/dist/v2/models/inlineComment.d.ts.map +1 -1
  88. package/dist/v2/models/inlineCommentChildren.d.ts +4 -0
  89. package/dist/v2/models/inlineCommentChildren.d.ts.map +1 -1
  90. package/dist/v2/models/inlineCommentChildrenGet.d.ts +4 -0
  91. package/dist/v2/models/inlineCommentChildrenGet.d.ts.map +1 -1
  92. package/dist/v2/models/inlineCommentProperties.d.ts +2 -0
  93. package/dist/v2/models/inlineCommentProperties.d.ts.map +1 -1
  94. package/dist/v2/models/inlineCommentProperties.js +2 -0
  95. package/dist/v2/models/inlineCommentProperties.js.map +1 -1
  96. package/dist/v2/models/inlineComments.d.ts +10 -0
  97. package/dist/v2/models/inlineComments.d.ts.map +1 -1
  98. package/dist/v2/models/labelAttachments.d.ts +2 -0
  99. package/dist/v2/models/labelAttachments.d.ts.map +1 -1
  100. package/dist/v2/models/labelBlogPosts.d.ts +2 -0
  101. package/dist/v2/models/labelBlogPosts.d.ts.map +1 -1
  102. package/dist/v2/models/labelPages.d.ts +2 -0
  103. package/dist/v2/models/labelPages.d.ts.map +1 -1
  104. package/dist/v2/models/optionalFieldMeta.d.ts +1 -0
  105. package/dist/v2/models/optionalFieldMeta.d.ts.map +1 -1
  106. package/dist/v2/models/optionalFieldMeta.js +2 -0
  107. package/dist/v2/models/optionalFieldMeta.js.map +1 -1
  108. package/dist/v2/models/page.d.ts +11 -0
  109. package/dist/v2/models/page.d.ts.map +1 -1
  110. package/dist/v2/models/pageAttachments.d.ts +2 -0
  111. package/dist/v2/models/pageAttachments.d.ts.map +1 -1
  112. package/dist/v2/models/pageComment.d.ts +2 -0
  113. package/dist/v2/models/pageComment.d.ts.map +1 -1
  114. package/dist/v2/models/pageContentProperties.d.ts +2 -0
  115. package/dist/v2/models/pageContentProperties.d.ts.map +1 -1
  116. package/dist/v2/models/pageFooterComments.d.ts +2 -0
  117. package/dist/v2/models/pageFooterComments.d.ts.map +1 -1
  118. package/dist/v2/models/pageInlineComment.d.ts +4 -0
  119. package/dist/v2/models/pageInlineComment.d.ts.map +1 -1
  120. package/dist/v2/models/pageInlineComments.d.ts +4 -0
  121. package/dist/v2/models/pageInlineComments.d.ts.map +1 -1
  122. package/dist/v2/models/pageSummary.d.ts +2 -0
  123. package/dist/v2/models/pageSummary.d.ts.map +1 -1
  124. package/dist/v2/models/pages.d.ts +2 -0
  125. package/dist/v2/models/pages.d.ts.map +1 -1
  126. package/dist/v2/models/pagesInSpace.d.ts +2 -0
  127. package/dist/v2/models/pagesInSpace.d.ts.map +1 -1
  128. package/dist/v2/models/smartLink.d.ts +2 -0
  129. package/dist/v2/models/smartLink.d.ts.map +1 -1
  130. package/dist/v2/models/smartLinkContentProperties.d.ts +2 -0
  131. package/dist/v2/models/smartLinkContentProperties.d.ts.map +1 -1
  132. package/dist/v2/models/space.d.ts +4 -0
  133. package/dist/v2/models/space.d.ts.map +1 -1
  134. package/dist/v2/models/version.d.ts +2 -0
  135. package/dist/v2/models/version.d.ts.map +1 -1
  136. package/dist/v2/models/version.js +2 -0
  137. package/dist/v2/models/version.js.map +1 -1
  138. package/dist/v2/models/whiteboard.d.ts +2 -0
  139. package/dist/v2/models/whiteboard.d.ts.map +1 -1
  140. package/dist/v2/models/whiteboardContentProperties.d.ts +2 -0
  141. package/dist/v2/models/whiteboardContentProperties.d.ts.map +1 -1
  142. package/package.json +2 -2
package/dist/browser.js CHANGED
@@ -1,17 +1,17 @@
1
1
  var Ei = Object.defineProperty;
2
2
  var o = (t, e) => Ei(t, "name", { value: e, configurable: !0 });
3
- var je = {
3
+ var Me = {
4
4
  packageName: "confluence.js",
5
5
  gatewaySlug: "confluence",
6
6
  scopeHint: "Note that v2 endpoints need granular scopes (read:page:confluence) while v1 endpoints need classic ones (read:confluence-content.all)."
7
- }, Ri = je.packageName.replace(/[^a-zA-Z0-9]+/g, "-"), ne = /* @__PURE__ */ Symbol.for(`${je.packageName}:error-kinds`);
7
+ }, Ri = Me.packageName.replace(/[^a-zA-Z0-9]+/g, "-"), ne = /* @__PURE__ */ Symbol.for(`${Me.packageName}:error-kinds`);
8
8
  function U(t, e) {
9
9
  if (typeof t != "object" || t === null) return !1;
10
10
  const n = t[ne];
11
11
  return Array.isArray(n) && n.includes(e);
12
12
  }
13
13
  o(U, "hasErrorKind");
14
- var Le = class extends Error {
14
+ var De = class extends Error {
15
15
  static {
16
16
  o(this, "ApiError");
17
17
  }
@@ -25,7 +25,7 @@ var Le = class extends Error {
25
25
  static [Symbol.hasInstance](t) {
26
26
  return U(t, "api");
27
27
  }
28
- }, Hn = class extends Le {
28
+ }, Hn = class extends De {
29
29
  static {
30
30
  o(this, "AuthError");
31
31
  }
@@ -51,7 +51,7 @@ var Le = class extends Error {
51
51
  static [Symbol.hasInstance](t) {
52
52
  return U(t, "scope");
53
53
  }
54
- }, Ci = class extends Le {
54
+ }, Ci = class extends De {
55
55
  static {
56
56
  o(this, "ForbiddenError");
57
57
  }
@@ -62,7 +62,7 @@ var Le = class extends Error {
62
62
  static [Symbol.hasInstance](t) {
63
63
  return U(t, "forbidden");
64
64
  }
65
- }, Ai = class extends Le {
65
+ }, Ai = class extends De {
66
66
  static {
67
67
  o(this, "NotFoundError");
68
68
  }
@@ -73,7 +73,7 @@ var Le = class extends Error {
73
73
  static [Symbol.hasInstance](t) {
74
74
  return U(t, "notFound");
75
75
  }
76
- }, zi = class extends Le {
76
+ }, zi = class extends De {
77
77
  static {
78
78
  o(this, "RateLimitError");
79
79
  }
@@ -85,7 +85,7 @@ var Le = class extends Error {
85
85
  static [Symbol.hasInstance](t) {
86
86
  return U(t, "rateLimit");
87
87
  }
88
- }, Oi = class extends Le {
88
+ }, Oi = class extends De {
89
89
  static {
90
90
  o(this, "ServerError");
91
91
  }
@@ -264,10 +264,10 @@ o(Ui, "isScopeMismatch");
264
264
  function ji(t, e, n, s, a, c) {
265
265
  return e === 401 ? Ui(s) ? new $i(`${t}
266
266
 
267
- The token is missing a scope this endpoint requires. Refreshing will not help: add the scope in the developer console and have the user authorize again.${je.scopeHint ? ` ${je.scopeHint}` : ""}`, n, s, c) : new Hn(t, n, s, c) : e === 403 ? new Ci(t, n, s, c) : e === 404 ? new Ai(t, n, s, c) : e === 429 ? new zi(t, n, s, {
267
+ The token is missing a scope this endpoint requires. Refreshing will not help: add the scope in the developer console and have the user authorize again.${Me.scopeHint ? ` ${Me.scopeHint}` : ""}`, n, s, c) : new Hn(t, n, s, c) : e === 403 ? new Ci(t, n, s, c) : e === 404 ? new Ai(t, n, s, c) : e === 429 ? new zi(t, n, s, {
268
268
  ...c,
269
269
  retryAfterMs: Ni(a?.get("retry-after") ?? null)
270
- }) : e >= 500 ? new Oi(t, e, n, s, c) : new Le(t, e, n, s, c);
270
+ }) : e >= 500 ? new Oi(t, e, n, s, c) : new De(t, e, n, s, c);
271
271
  }
272
272
  o(ji, "createApiError");
273
273
  var kn;
@@ -306,7 +306,7 @@ function h(t, e, n) {
306
306
  return o(l, "_"), Object.defineProperty(l, "init", { value: s }), Object.defineProperty(l, Symbol.hasInstance, { value: /* @__PURE__ */ o((u) => n?.Parent && u instanceof n.Parent ? !0 : u?._zod?.traits?.has(t), "value") }), Object.defineProperty(l, "name", { value: t }), l;
307
307
  }
308
308
  o(h, "$constructor");
309
- var Ce = class extends Error {
309
+ var Ae = class extends Error {
310
310
  static {
311
311
  o(this, "$ZodAsyncError");
312
312
  }
@@ -361,7 +361,7 @@ function Mi(t, e) {
361
361
  }
362
362
  o(Mi, "floatSafeRemainder");
363
363
  var bn = /* @__PURE__ */ Symbol("evaluating");
364
- function C(t, e, n) {
364
+ function A(t, e, n) {
365
365
  let s;
366
366
  Object.defineProperty(t, e, {
367
367
  get() {
@@ -374,8 +374,8 @@ function C(t, e, n) {
374
374
  configurable: !0
375
375
  });
376
376
  }
377
- o(C, "defineLazy");
378
- function we(t, e, n) {
377
+ o(A, "defineLazy");
378
+ function Se(t, e, n) {
379
379
  Object.defineProperty(t, e, {
380
380
  value: n,
381
381
  writable: !0,
@@ -383,7 +383,7 @@ function we(t, e, n) {
383
383
  configurable: !0
384
384
  });
385
385
  }
386
- o(we, "assignProp");
386
+ o(Se, "assignProp");
387
387
  function fe(...t) {
388
388
  const e = {};
389
389
  for (const n of t) {
@@ -415,16 +415,16 @@ var Ki = /* @__PURE__ */ jt(() => {
415
415
  return !1;
416
416
  }
417
417
  });
418
- function ze(t) {
418
+ function Oe(t) {
419
419
  if (ht(t) === !1) return !1;
420
420
  const e = t.constructor;
421
421
  if (e === void 0 || typeof e != "function") return !0;
422
422
  const n = e.prototype;
423
423
  return !(ht(n) === !1 || Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") === !1);
424
424
  }
425
- o(ze, "isPlainObject");
425
+ o(Oe, "isPlainObject");
426
426
  function no(t) {
427
- return ze(t) ? { ...t } : Array.isArray(t) ? [...t] : t instanceof Map ? new Map(t) : t instanceof Set ? new Set(t) : t;
427
+ return Oe(t) ? { ...t } : Array.isArray(t) ? [...t] : t instanceof Map ? new Map(t) : t instanceof Set ? new Set(t) : t;
428
428
  }
429
429
  o(no, "shallowClone");
430
430
  var Wi = /* @__PURE__ */ new Set([
@@ -432,10 +432,10 @@ var Wi = /* @__PURE__ */ new Set([
432
432
  "number",
433
433
  "symbol"
434
434
  ]);
435
- function Oe(t) {
435
+ function qe(t) {
436
436
  return t.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
437
437
  }
438
- o(Oe, "escapeRegex");
438
+ o(qe, "escapeRegex");
439
439
  function ye(t, e, n) {
440
440
  const s = new t._zod.constr(e ?? t._zod.def);
441
441
  return (!e || n?.parent) && (s._zod.parent = t), s;
@@ -476,7 +476,7 @@ function Hi(t, e) {
476
476
  if (!(c in n.shape)) throw new Error(`Unrecognized key: "${c}"`);
477
477
  e[c] && (a[c] = n.shape[c]);
478
478
  }
479
- return we(this, "shape", a), a;
479
+ return Se(this, "shape", a), a;
480
480
  },
481
481
  checks: []
482
482
  }));
@@ -492,14 +492,14 @@ function Yi(t, e) {
492
492
  if (!(c in n.shape)) throw new Error(`Unrecognized key: "${c}"`);
493
493
  e[c] && delete a[c];
494
494
  }
495
- return we(this, "shape", a), a;
495
+ return Se(this, "shape", a), a;
496
496
  },
497
497
  checks: []
498
498
  }));
499
499
  }
500
500
  o(Yi, "omit");
501
501
  function Qi(t, e) {
502
- if (!ze(e)) throw new Error("Invalid input to extend: expected a plain object");
502
+ if (!Oe(e)) throw new Error("Invalid input to extend: expected a plain object");
503
503
  const n = t._zod.def.checks;
504
504
  if (n && n.length > 0) {
505
505
  const s = t._zod.def.shape;
@@ -510,18 +510,18 @@ function Qi(t, e) {
510
510
  ...t._zod.def.shape,
511
511
  ...e
512
512
  };
513
- return we(this, "shape", s), s;
513
+ return Se(this, "shape", s), s;
514
514
  } }));
515
515
  }
516
516
  o(Qi, "extend");
517
517
  function es(t, e) {
518
- if (!ze(e)) throw new Error("Invalid input to safeExtend: expected a plain object");
518
+ if (!Oe(e)) throw new Error("Invalid input to safeExtend: expected a plain object");
519
519
  return ye(t, fe(t._zod.def, { get shape() {
520
520
  const n = {
521
521
  ...t._zod.def.shape,
522
522
  ...e
523
523
  };
524
- return we(this, "shape", n), n;
524
+ return Se(this, "shape", n), n;
525
525
  } }));
526
526
  }
527
527
  o(es, "safeExtend");
@@ -533,7 +533,7 @@ function ts(t, e) {
533
533
  ...t._zod.def.shape,
534
534
  ...e._zod.def.shape
535
535
  };
536
- return we(this, "shape", n), n;
536
+ return Se(this, "shape", n), n;
537
537
  },
538
538
  get catchall() {
539
539
  return e._zod.def.catchall;
@@ -559,7 +559,7 @@ function ns(t, e, n) {
559
559
  type: "optional",
560
560
  innerType: a[l]
561
561
  }) : a[l];
562
- return we(this, "shape", c), c;
562
+ return Se(this, "shape", c), c;
563
563
  },
564
564
  checks: []
565
565
  }));
@@ -579,29 +579,29 @@ function os(t, e, n) {
579
579
  type: "nonoptional",
580
580
  innerType: s[c]
581
581
  });
582
- return we(this, "shape", a), a;
582
+ return Se(this, "shape", a), a;
583
583
  } }));
584
584
  }
585
585
  o(os, "required");
586
- function Re(t, e = 0) {
586
+ function $e(t, e = 0) {
587
587
  if (t.aborted === !0) return !0;
588
588
  for (let n = e; n < t.issues.length; n++) if (t.issues[n]?.continue !== !0) return !0;
589
589
  return !1;
590
590
  }
591
- o(Re, "aborted");
591
+ o($e, "aborted");
592
592
  function is(t, e = 0) {
593
593
  if (t.aborted === !0) return !0;
594
594
  for (let n = e; n < t.issues.length; n++) if (t.issues[n]?.continue === !1) return !0;
595
595
  return !1;
596
596
  }
597
597
  o(is, "explicitlyAborted");
598
- function $e(t, e) {
598
+ function Ce(t, e) {
599
599
  return e.map((n) => {
600
600
  var s;
601
601
  return (s = n).path ?? (s.path = []), n.path.unshift(t), n;
602
602
  });
603
603
  }
604
- o($e, "prefixIssues");
604
+ o(Ce, "prefixIssues");
605
605
  function at(t) {
606
606
  return typeof t == "string" ? t : t?.message;
607
607
  }
@@ -615,7 +615,7 @@ function Kt(t) {
615
615
  return Array.isArray(t) ? "array" : typeof t == "string" ? "string" : "unknown";
616
616
  }
617
617
  o(Kt, "getLengthableOrigin");
618
- function Me(...t) {
618
+ function Ve(...t) {
619
619
  const [e, n, s] = t;
620
620
  return typeof e == "string" ? {
621
621
  message: e,
@@ -624,7 +624,7 @@ function Me(...t) {
624
624
  inst: s
625
625
  } : { ...e };
626
626
  }
627
- o(Me, "issue");
627
+ o(Ve, "issue");
628
628
  var oo = /* @__PURE__ */ o((t, e) => {
629
629
  t.name = "$ZodError", Object.defineProperty(t, "_zod", {
630
630
  value: t._zod,
@@ -674,7 +674,7 @@ var Wt = /* @__PURE__ */ o((t) => (e, n, s, a) => {
674
674
  value: n,
675
675
  issues: []
676
676
  }, c);
677
- if (l instanceof Promise) throw new Ce();
677
+ if (l instanceof Promise) throw new Ae();
678
678
  if (l.issues.length) {
679
679
  const u = new (a?.Err ?? t)(l.issues.map((p) => de(p, c, ue())));
680
680
  throw to(u, a?.callee), u;
@@ -702,7 +702,7 @@ var Wt = /* @__PURE__ */ o((t) => (e, n, s, a) => {
702
702
  value: n,
703
703
  issues: []
704
704
  }, a);
705
- if (c instanceof Promise) throw new Ce();
705
+ if (c instanceof Promise) throw new Ae();
706
706
  return c.issues.length ? {
707
707
  success: !1,
708
708
  error: new (t ?? io)(c.issues.map((l) => de(l, a, ue())))
@@ -999,7 +999,7 @@ var xs = /* @__PURE__ */ o((t) => {
999
999
  e.pattern ?? (e.pattern = Ns), wt.init(t, e);
1000
1000
  }), Hs = /* @__PURE__ */ h("$ZodCheckIncludes", (t, e) => {
1001
1001
  Y.init(t, e);
1002
- const n = Oe(e.includes), s = new RegExp(typeof e.position == "number" ? `^.{${e.position}}${n}` : n);
1002
+ const n = qe(e.includes), s = new RegExp(typeof e.position == "number" ? `^.{${e.position}}${n}` : n);
1003
1003
  e.pattern = s, t._zod.onattach.push((a) => {
1004
1004
  const c = a._zod.bag;
1005
1005
  c.patterns ?? (c.patterns = /* @__PURE__ */ new Set()), c.patterns.add(s);
@@ -1016,7 +1016,7 @@ var xs = /* @__PURE__ */ o((t) => {
1016
1016
  };
1017
1017
  }), Ys = /* @__PURE__ */ h("$ZodCheckStartsWith", (t, e) => {
1018
1018
  Y.init(t, e);
1019
- const n = new RegExp(`^${Oe(e.prefix)}.*`);
1019
+ const n = new RegExp(`^${qe(e.prefix)}.*`);
1020
1020
  e.pattern ?? (e.pattern = n), t._zod.onattach.push((s) => {
1021
1021
  const a = s._zod.bag;
1022
1022
  a.patterns ?? (a.patterns = /* @__PURE__ */ new Set()), a.patterns.add(n);
@@ -1033,7 +1033,7 @@ var xs = /* @__PURE__ */ o((t) => {
1033
1033
  };
1034
1034
  }), Qs = /* @__PURE__ */ h("$ZodCheckEndsWith", (t, e) => {
1035
1035
  Y.init(t, e);
1036
- const n = new RegExp(`.*${Oe(e.suffix)}$`);
1036
+ const n = new RegExp(`.*${qe(e.suffix)}$`);
1037
1037
  e.pattern ?? (e.pattern = n), t._zod.onattach.push((s) => {
1038
1038
  const a = s._zod.bag;
1039
1039
  a.patterns ?? (a.patterns = /* @__PURE__ */ new Set()), a.patterns.add(n);
@@ -1092,28 +1092,28 @@ var xs = /* @__PURE__ */ o((t) => {
1092
1092
  });
1093
1093
  else {
1094
1094
  const a = /* @__PURE__ */ o((l, u, p) => {
1095
- let f = Re(l), y;
1095
+ let f = $e(l), y;
1096
1096
  for (const S of u) {
1097
1097
  if (S._zod.def.when) {
1098
1098
  if (is(l) || !S._zod.def.when(l)) continue;
1099
1099
  } else if (f) continue;
1100
1100
  const k = l.issues.length, b = S._zod.check(l);
1101
- if (b instanceof Promise && p?.async === !1) throw new Ce();
1101
+ if (b instanceof Promise && p?.async === !1) throw new Ae();
1102
1102
  if (y || b instanceof Promise) y = (y ?? Promise.resolve()).then(async () => {
1103
- await b, l.issues.length !== k && (f || (f = Re(l, k)));
1103
+ await b, l.issues.length !== k && (f || (f = $e(l, k)));
1104
1104
  });
1105
1105
  else {
1106
1106
  if (l.issues.length === k) continue;
1107
- f || (f = Re(l, k));
1107
+ f || (f = $e(l, k));
1108
1108
  }
1109
1109
  }
1110
1110
  return y ? y.then(() => l) : l;
1111
1111
  }, "runChecks"), c = /* @__PURE__ */ o((l, u, p) => {
1112
- if (Re(l))
1112
+ if ($e(l))
1113
1113
  return l.aborted = !0, l;
1114
1114
  const f = a(u, s, p);
1115
1115
  if (f instanceof Promise) {
1116
- if (p.async === !1) throw new Ce();
1116
+ if (p.async === !1) throw new Ae();
1117
1117
  return f.then((y) => t._zod.parse(y, p));
1118
1118
  }
1119
1119
  return t._zod.parse(f, p);
@@ -1132,13 +1132,13 @@ var xs = /* @__PURE__ */ o((t) => {
1132
1132
  }
1133
1133
  const p = t._zod.parse(l, u);
1134
1134
  if (p instanceof Promise) {
1135
- if (u.async === !1) throw new Ce();
1135
+ if (u.async === !1) throw new Ae();
1136
1136
  return p.then((f) => a(f, s, u));
1137
1137
  }
1138
1138
  return a(p, s, u);
1139
1139
  };
1140
1140
  }
1141
- C(t, "~standard", () => ({
1141
+ A(t, "~standard", () => ({
1142
1142
  validate: /* @__PURE__ */ o((a) => {
1143
1143
  try {
1144
1144
  const c = rs(t, a);
@@ -1415,7 +1415,7 @@ var Ea = /* @__PURE__ */ h("$ZodJWT", (t, e) => {
1415
1415
  };
1416
1416
  });
1417
1417
  function _n(t, e, n) {
1418
- t.issues.length && e.issues.push(...$e(n, t.issues)), e.value[n] = t.value;
1418
+ t.issues.length && e.issues.push(...Ce(n, t.issues)), e.value[n] = t.value;
1419
1419
  }
1420
1420
  o(_n, "handleArrayResult");
1421
1421
  var qa = /* @__PURE__ */ h("$ZodArray", (t, e) => {
@@ -1444,7 +1444,7 @@ function mt(t, e, n, s, a, c) {
1444
1444
  const l = n in s;
1445
1445
  if (t.issues.length) {
1446
1446
  if (a && c && !l) return;
1447
- e.issues.push(...$e(n, t.issues));
1447
+ e.issues.push(...Ce(n, t.issues));
1448
1448
  }
1449
1449
  if (!l && !a) {
1450
1450
  t.issues.length || e.issues.push({
@@ -1502,7 +1502,7 @@ var La = /* @__PURE__ */ h("$ZodObject", (t, e) => {
1502
1502
  }, "get") });
1503
1503
  }
1504
1504
  const n = jt(() => yo(e));
1505
- C(t._zod, "propValues", () => {
1505
+ A(t._zod, "propValues", () => {
1506
1506
  const l = e.shape, u = {};
1507
1507
  for (const p in l) {
1508
1508
  const f = l[p]._zod;
@@ -1549,12 +1549,12 @@ var La = /* @__PURE__ */ h("$ZodObject", (t, e) => {
1549
1549
  }, "parseStr");
1550
1550
  b.write("const input = payload.value;");
1551
1551
  const me = /* @__PURE__ */ Object.create(null);
1552
- let Ze = 0;
1553
- for (const z of O.keys) me[z] = `key_${Ze++}`;
1552
+ let Ne = 0;
1553
+ for (const z of O.keys) me[z] = `key_${Ne++}`;
1554
1554
  b.write("const newResult = {};");
1555
1555
  for (const z of O.keys) {
1556
- const P = me[z], x = wn(z), se = k[z], Te = se?._zod?.optin === "optional", Ie = se?._zod?.optout === "optional";
1557
- b.write(`const ${P} = ${B(z)};`), Te && Ie ? b.write(`
1556
+ const P = me[z], x = wn(z), se = k[z], Ie = se?._zod?.optin === "optional", Ee = se?._zod?.optout === "optional";
1557
+ b.write(`const ${P} = ${B(z)};`), Ie && Ee ? b.write(`
1558
1558
  if (${P}.issues.length) {
1559
1559
  if (${x} in input) {
1560
1560
  payload.issues = payload.issues.concat(${P}.issues.map(iss => ({
@@ -1572,7 +1572,7 @@ var La = /* @__PURE__ */ h("$ZodObject", (t, e) => {
1572
1572
  newResult[${x}] = ${P}.value;
1573
1573
  }
1574
1574
 
1575
- `) : Te ? b.write(`
1575
+ `) : Ie ? b.write(`
1576
1576
  if (${P}.issues.length) {
1577
1577
  payload.issues = payload.issues.concat(${P}.issues.map(iss => ({
1578
1578
  ...iss,
@@ -1616,8 +1616,8 @@ var La = /* @__PURE__ */ h("$ZodObject", (t, e) => {
1616
1616
  `);
1617
1617
  }
1618
1618
  b.write("payload.value = newResult;"), b.write("return payload;");
1619
- const Pe = b.compile();
1620
- return (z, P) => Pe(k, z, P);
1619
+ const Te = b.compile();
1620
+ return (z, P) => Te(k, z, P);
1621
1621
  }, "generateFastpass");
1622
1622
  let c;
1623
1623
  const l = ht, u = !pt.jitless, f = u && Ki.value, y = e.catchall;
@@ -1636,7 +1636,7 @@ var La = /* @__PURE__ */ h("$ZodObject", (t, e) => {
1636
1636
  function Pn(t, e, n, s) {
1637
1637
  for (const c of t) if (c.issues.length === 0)
1638
1638
  return e.value = c.value, e;
1639
- const a = t.filter((c) => !Re(c));
1639
+ const a = t.filter((c) => !$e(c));
1640
1640
  return a.length === 1 ? (e.value = a[0].value, a[0]) : (e.issues.push({
1641
1641
  code: "invalid_union",
1642
1642
  input: e.value,
@@ -1646,9 +1646,9 @@ function Pn(t, e, n, s) {
1646
1646
  }
1647
1647
  o(Pn, "handleUnionResults");
1648
1648
  var Ba = /* @__PURE__ */ h("$ZodUnion", (t, e) => {
1649
- G.init(t, e), C(t._zod, "optin", () => e.options.some((s) => s._zod.optin === "optional") ? "optional" : void 0), C(t._zod, "optout", () => e.options.some((s) => s._zod.optout === "optional") ? "optional" : void 0), C(t._zod, "values", () => {
1649
+ G.init(t, e), A(t._zod, "optin", () => e.options.some((s) => s._zod.optin === "optional") ? "optional" : void 0), A(t._zod, "optout", () => e.options.some((s) => s._zod.optout === "optional") ? "optional" : void 0), A(t._zod, "values", () => {
1650
1650
  if (e.options.every((s) => s._zod.values)) return new Set(e.options.flatMap((s) => Array.from(s._zod.values)));
1651
- }), C(t._zod, "pattern", () => {
1651
+ }), A(t._zod, "pattern", () => {
1652
1652
  if (e.options.every((s) => s._zod.pattern)) {
1653
1653
  const s = e.options.map((a) => a._zod.pattern);
1654
1654
  return new RegExp(`^(${s.map((a) => Vt(a.source)).join("|")})$`);
@@ -1694,7 +1694,7 @@ function Ft(t, e) {
1694
1694
  valid: !0,
1695
1695
  data: t
1696
1696
  };
1697
- if (ze(t) && ze(e)) {
1697
+ if (Oe(t) && Oe(e)) {
1698
1698
  const n = Object.keys(e), s = Object.keys(t).filter((c) => n.indexOf(c) !== -1), a = {
1699
1699
  ...t,
1700
1700
  ...e
@@ -1752,7 +1752,7 @@ function Tn(t, e, n) {
1752
1752
  if (c.length && a && t.issues.push({
1753
1753
  ...a,
1754
1754
  keys: c
1755
- }), Re(t)) return t;
1755
+ }), $e(t)) return t;
1756
1756
  const l = Ft(e.value, n.value);
1757
1757
  if (!l.valid) throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(l.mergeErrorPath)}`);
1758
1758
  return t.value = l.data, t;
@@ -1761,7 +1761,7 @@ o(Tn, "handleIntersectionResults");
1761
1761
  var Ga = /* @__PURE__ */ h("$ZodRecord", (t, e) => {
1762
1762
  G.init(t, e), t._zod.parse = (n, s) => {
1763
1763
  const a = n.value;
1764
- if (!ze(a))
1764
+ if (!Oe(a))
1765
1765
  return n.issues.push({
1766
1766
  expected: "record",
1767
1767
  code: "invalid_type",
@@ -1795,8 +1795,8 @@ var Ga = /* @__PURE__ */ h("$ZodRecord", (t, e) => {
1795
1795
  issues: []
1796
1796
  }, s);
1797
1797
  k instanceof Promise ? c.push(k.then((b) => {
1798
- b.issues.length && n.issues.push(...$e(f, b.issues)), n.value[S] = b.value;
1799
- })) : (k.issues.length && n.issues.push(...$e(f, k.issues)), n.value[S] = k.value);
1798
+ b.issues.length && n.issues.push(...Ce(f, b.issues)), n.value[S] = b.value;
1799
+ })) : (k.issues.length && n.issues.push(...Ce(f, k.issues)), n.value[S] = k.value);
1800
1800
  }
1801
1801
  let p;
1802
1802
  for (const f in a) u.has(f) || (p = p ?? [], p.push(f));
@@ -1839,8 +1839,8 @@ var Ga = /* @__PURE__ */ h("$ZodRecord", (t, e) => {
1839
1839
  issues: []
1840
1840
  }, s);
1841
1841
  f instanceof Promise ? c.push(f.then((y) => {
1842
- y.issues.length && n.issues.push(...$e(u, y.issues)), n.value[p.value] = y.value;
1843
- })) : (f.issues.length && n.issues.push(...$e(u, f.issues)), n.value[p.value] = f.value);
1842
+ y.issues.length && n.issues.push(...Ce(u, y.issues)), n.value[p.value] = y.value;
1843
+ })) : (f.issues.length && n.issues.push(...Ce(u, f.issues)), n.value[p.value] = f.value);
1844
1844
  }
1845
1845
  }
1846
1846
  return c.length ? Promise.all(c).then(() => n) : n;
@@ -1848,7 +1848,7 @@ var Ga = /* @__PURE__ */ h("$ZodRecord", (t, e) => {
1848
1848
  }), Fa = /* @__PURE__ */ h("$ZodEnum", (t, e) => {
1849
1849
  G.init(t, e);
1850
1850
  const n = eo(e.entries), s = new Set(n);
1851
- t._zod.values = s, t._zod.pattern = new RegExp(`^(${n.filter((a) => Wi.has(typeof a)).map((a) => typeof a == "string" ? Oe(a) : a.toString()).join("|")})$`), t._zod.parse = (a, c) => {
1851
+ t._zod.values = s, t._zod.pattern = new RegExp(`^(${n.filter((a) => Wi.has(typeof a)).map((a) => typeof a == "string" ? qe(a) : a.toString()).join("|")})$`), t._zod.parse = (a, c) => {
1852
1852
  const l = a.value;
1853
1853
  return s.has(l) || a.issues.push({
1854
1854
  code: "invalid_value",
@@ -1860,7 +1860,7 @@ var Ga = /* @__PURE__ */ h("$ZodRecord", (t, e) => {
1860
1860
  }), Za = /* @__PURE__ */ h("$ZodLiteral", (t, e) => {
1861
1861
  if (G.init(t, e), e.values.length === 0) throw new Error("Cannot create literal schema with no valid values");
1862
1862
  const n = new Set(e.values);
1863
- t._zod.values = n, t._zod.pattern = new RegExp(`^(${e.values.map((s) => typeof s == "string" ? Oe(s) : s ? Oe(s.toString()) : String(s)).join("|")})$`), t._zod.parse = (s, a) => {
1863
+ t._zod.values = n, t._zod.pattern = new RegExp(`^(${e.values.map((s) => typeof s == "string" ? qe(s) : s ? qe(s.toString()) : String(s)).join("|")})$`), t._zod.parse = (s, a) => {
1864
1864
  const c = s.value;
1865
1865
  return n.has(c) || s.issues.push({
1866
1866
  code: "invalid_value",
@@ -1874,7 +1874,7 @@ var Ga = /* @__PURE__ */ h("$ZodRecord", (t, e) => {
1874
1874
  if (s.direction === "backward") throw new Qn(t.constructor.name);
1875
1875
  const a = e.transform(n.value, n);
1876
1876
  if (s.async) return (a instanceof Promise ? a : Promise.resolve(a)).then((c) => (n.value = c, n.fallback = !0, n));
1877
- if (a instanceof Promise) throw new Ce();
1877
+ if (a instanceof Promise) throw new Ae();
1878
1878
  return n.value = a, n.fallback = !0, n;
1879
1879
  };
1880
1880
  });
@@ -1886,7 +1886,7 @@ function In(t, e) {
1886
1886
  }
1887
1887
  o(In, "handleOptionalResult");
1888
1888
  var vo = /* @__PURE__ */ h("$ZodOptional", (t, e) => {
1889
- G.init(t, e), t._zod.optin = "optional", t._zod.optout = "optional", C(t._zod, "values", () => e.innerType._zod.values ? /* @__PURE__ */ new Set([...e.innerType._zod.values, void 0]) : void 0), C(t._zod, "pattern", () => {
1889
+ G.init(t, e), t._zod.optin = "optional", t._zod.optout = "optional", A(t._zod, "values", () => e.innerType._zod.values ? /* @__PURE__ */ new Set([...e.innerType._zod.values, void 0]) : void 0), A(t._zod, "pattern", () => {
1890
1890
  const n = e.innerType._zod.pattern;
1891
1891
  return n ? new RegExp(`^(${Vt(n.source)})?$`) : void 0;
1892
1892
  }), t._zod.parse = (n, s) => {
@@ -1897,14 +1897,14 @@ var vo = /* @__PURE__ */ h("$ZodOptional", (t, e) => {
1897
1897
  return n.value === void 0 ? n : e.innerType._zod.run(n, s);
1898
1898
  };
1899
1899
  }), Ua = /* @__PURE__ */ h("$ZodExactOptional", (t, e) => {
1900
- vo.init(t, e), C(t._zod, "values", () => e.innerType._zod.values), C(t._zod, "pattern", () => e.innerType._zod.pattern), t._zod.parse = (n, s) => e.innerType._zod.run(n, s);
1900
+ vo.init(t, e), A(t._zod, "values", () => e.innerType._zod.values), A(t._zod, "pattern", () => e.innerType._zod.pattern), t._zod.parse = (n, s) => e.innerType._zod.run(n, s);
1901
1901
  }), ja = /* @__PURE__ */ h("$ZodNullable", (t, e) => {
1902
- G.init(t, e), C(t._zod, "optin", () => e.innerType._zod.optin), C(t._zod, "optout", () => e.innerType._zod.optout), C(t._zod, "pattern", () => {
1902
+ G.init(t, e), A(t._zod, "optin", () => e.innerType._zod.optin), A(t._zod, "optout", () => e.innerType._zod.optout), A(t._zod, "pattern", () => {
1903
1903
  const n = e.innerType._zod.pattern;
1904
1904
  return n ? new RegExp(`^(${Vt(n.source)}|null)$`) : void 0;
1905
- }), C(t._zod, "values", () => e.innerType._zod.values ? /* @__PURE__ */ new Set([...e.innerType._zod.values, null]) : void 0), t._zod.parse = (n, s) => n.value === null ? n : e.innerType._zod.run(n, s);
1905
+ }), A(t._zod, "values", () => e.innerType._zod.values ? /* @__PURE__ */ new Set([...e.innerType._zod.values, null]) : void 0), t._zod.parse = (n, s) => n.value === null ? n : e.innerType._zod.run(n, s);
1906
1906
  }), Ma = /* @__PURE__ */ h("$ZodDefault", (t, e) => {
1907
- G.init(t, e), t._zod.optin = "optional", C(t._zod, "values", () => e.innerType._zod.values), t._zod.parse = (n, s) => {
1907
+ G.init(t, e), t._zod.optin = "optional", A(t._zod, "values", () => e.innerType._zod.values), t._zod.parse = (n, s) => {
1908
1908
  if (s.direction === "backward") return e.innerType._zod.run(n, s);
1909
1909
  if (n.value === void 0)
1910
1910
  return n.value = e.defaultValue, n;
@@ -1917,9 +1917,9 @@ function En(t, e) {
1917
1917
  }
1918
1918
  o(En, "handleDefaultResult");
1919
1919
  var Va = /* @__PURE__ */ h("$ZodPrefault", (t, e) => {
1920
- G.init(t, e), t._zod.optin = "optional", C(t._zod, "values", () => e.innerType._zod.values), t._zod.parse = (n, s) => (s.direction === "backward" || n.value === void 0 && (n.value = e.defaultValue), e.innerType._zod.run(n, s));
1920
+ G.init(t, e), t._zod.optin = "optional", A(t._zod, "values", () => e.innerType._zod.values), t._zod.parse = (n, s) => (s.direction === "backward" || n.value === void 0 && (n.value = e.defaultValue), e.innerType._zod.run(n, s));
1921
1921
  }), Ka = /* @__PURE__ */ h("$ZodNonOptional", (t, e) => {
1922
- G.init(t, e), C(t._zod, "values", () => {
1922
+ G.init(t, e), A(t._zod, "values", () => {
1923
1923
  const n = e.innerType._zod.values;
1924
1924
  return n ? new Set([...n].filter((s) => s !== void 0)) : void 0;
1925
1925
  }), t._zod.parse = (n, s) => {
@@ -1937,7 +1937,7 @@ function Rn(t, e) {
1937
1937
  }
1938
1938
  o(Rn, "handleNonOptionalResult");
1939
1939
  var Wa = /* @__PURE__ */ h("$ZodCatch", (t, e) => {
1940
- G.init(t, e), t._zod.optin = "optional", C(t._zod, "optout", () => e.innerType._zod.optout), C(t._zod, "values", () => e.innerType._zod.values), t._zod.parse = (n, s) => {
1940
+ G.init(t, e), t._zod.optin = "optional", A(t._zod, "optout", () => e.innerType._zod.optout), A(t._zod, "values", () => e.innerType._zod.values), t._zod.parse = (n, s) => {
1941
1941
  if (s.direction === "backward") return e.innerType._zod.run(n, s);
1942
1942
  const a = e.innerType._zod.run(n, s);
1943
1943
  return a instanceof Promise ? a.then((c) => (n.value = c.value, c.issues.length && (n.value = e.catchValue({
@@ -1951,7 +1951,7 @@ var Wa = /* @__PURE__ */ h("$ZodCatch", (t, e) => {
1951
1951
  }), n.issues = [], n.fallback = !0), n);
1952
1952
  };
1953
1953
  }), Ja = /* @__PURE__ */ h("$ZodPipe", (t, e) => {
1954
- G.init(t, e), C(t._zod, "values", () => e.in._zod.values), C(t._zod, "optin", () => e.in._zod.optin), C(t._zod, "optout", () => e.out._zod.optout), C(t._zod, "propValues", () => e.in._zod.propValues), t._zod.parse = (n, s) => {
1954
+ G.init(t, e), A(t._zod, "values", () => e.in._zod.values), A(t._zod, "optin", () => e.in._zod.optin), A(t._zod, "optout", () => e.out._zod.optout), A(t._zod, "propValues", () => e.in._zod.propValues), t._zod.parse = (n, s) => {
1955
1955
  if (s.direction === "backward") {
1956
1956
  const c = e.out._zod.run(n, s);
1957
1957
  return c instanceof Promise ? c.then((l) => rt(l, e.in, s)) : rt(c, e.in, s);
@@ -1969,7 +1969,7 @@ function rt(t, e, n) {
1969
1969
  }
1970
1970
  o(rt, "handlePipeResult");
1971
1971
  var Xa = /* @__PURE__ */ h("$ZodReadonly", (t, e) => {
1972
- G.init(t, e), C(t._zod, "propValues", () => e.innerType._zod.propValues), C(t._zod, "values", () => e.innerType._zod.values), C(t._zod, "optin", () => e.innerType?._zod?.optin), C(t._zod, "optout", () => e.innerType?._zod?.optout), t._zod.parse = (n, s) => {
1972
+ G.init(t, e), A(t._zod, "propValues", () => e.innerType._zod.propValues), A(t._zod, "values", () => e.innerType._zod.values), A(t._zod, "optin", () => e.innerType?._zod?.optin), A(t._zod, "optout", () => e.innerType?._zod?.optout), t._zod.parse = (n, s) => {
1973
1973
  if (s.direction === "backward") return e.innerType._zod.run(n, s);
1974
1974
  const a = e.innerType._zod.run(n, s);
1975
1975
  return a instanceof Promise ? a.then($n) : $n(a);
@@ -1980,10 +1980,10 @@ function $n(t) {
1980
1980
  }
1981
1981
  o($n, "handleReadonlyResult");
1982
1982
  var Ha = /* @__PURE__ */ h("$ZodLazy", (t, e) => {
1983
- G.init(t, e), C(t._zod, "innerType", () => {
1983
+ G.init(t, e), A(t._zod, "innerType", () => {
1984
1984
  const n = e;
1985
1985
  return n._cachedInner || (n._cachedInner = e.getter()), n._cachedInner;
1986
- }), C(t._zod, "pattern", () => t._zod.innerType?._zod?.pattern), C(t._zod, "propValues", () => t._zod.innerType?._zod?.propValues), C(t._zod, "optin", () => t._zod.innerType?._zod?.optin ?? void 0), C(t._zod, "optout", () => t._zod.innerType?._zod?.optout ?? void 0), t._zod.parse = (n, s) => t._zod.innerType._zod.run(n, s);
1986
+ }), A(t._zod, "pattern", () => t._zod.innerType?._zod?.pattern), A(t._zod, "propValues", () => t._zod.innerType?._zod?.propValues), A(t._zod, "optin", () => t._zod.innerType?._zod?.optin ?? void 0), A(t._zod, "optout", () => t._zod.innerType?._zod?.optout ?? void 0), t._zod.parse = (n, s) => t._zod.innerType._zod.run(n, s);
1987
1987
  }), Ya = /* @__PURE__ */ h("$ZodCustom", (t, e) => {
1988
1988
  Y.init(t, e), G.init(t, e), t._zod.parse = (n, s) => n, t._zod.check = (n) => {
1989
1989
  const s = n.value, a = e.fn(s);
@@ -2000,7 +2000,7 @@ function Cn(t, e, n, s) {
2000
2000
  path: [...s._zod.def.path ?? []],
2001
2001
  continue: !s._zod.def.abort
2002
2002
  };
2003
- s._zod.def.params && (a.params = s._zod.def.params), e.issues.push(Me(a));
2003
+ s._zod.def.params && (a.params = s._zod.def.params), e.issues.push(Ve(a));
2004
2004
  }
2005
2005
  }
2006
2006
  o(Cn, "handleRefineResult");
@@ -2044,7 +2044,7 @@ function er() {
2044
2044
  }
2045
2045
  o(er, "registry");
2046
2046
  (An = globalThis).__zod_globalRegistry ?? (An.__zod_globalRegistry = er());
2047
- var Ne = globalThis.__zod_globalRegistry;
2047
+ var Ue = globalThis.__zod_globalRegistry;
2048
2048
  // @__NO_SIDE_EFFECTS__
2049
2049
  function tr(t, e) {
2050
2050
  return new t({
@@ -2532,36 +2532,36 @@ function xr(t, e) {
2532
2532
  }
2533
2533
  o(xr, "_endsWith");
2534
2534
  // @__NO_SIDE_EFFECTS__
2535
- function De(t) {
2535
+ function Be(t) {
2536
2536
  return new ea({
2537
2537
  check: "overwrite",
2538
2538
  tx: t
2539
2539
  });
2540
2540
  }
2541
- o(De, "_overwrite");
2541
+ o(Be, "_overwrite");
2542
2542
  // @__NO_SIDE_EFFECTS__
2543
2543
  function Gr(t) {
2544
- return /* @__PURE__ */ De((e) => e.normalize(t));
2544
+ return /* @__PURE__ */ Be((e) => e.normalize(t));
2545
2545
  }
2546
2546
  o(Gr, "_normalize");
2547
2547
  // @__NO_SIDE_EFFECTS__
2548
2548
  function Fr() {
2549
- return /* @__PURE__ */ De((t) => t.trim());
2549
+ return /* @__PURE__ */ Be((t) => t.trim());
2550
2550
  }
2551
2551
  o(Fr, "_trim");
2552
2552
  // @__NO_SIDE_EFFECTS__
2553
2553
  function Zr() {
2554
- return /* @__PURE__ */ De((t) => t.toLowerCase());
2554
+ return /* @__PURE__ */ Be((t) => t.toLowerCase());
2555
2555
  }
2556
2556
  o(Zr, "_toLowerCase");
2557
2557
  // @__NO_SIDE_EFFECTS__
2558
2558
  function Nr() {
2559
- return /* @__PURE__ */ De((t) => t.toUpperCase());
2559
+ return /* @__PURE__ */ Be((t) => t.toUpperCase());
2560
2560
  }
2561
2561
  o(Nr, "_toUpperCase");
2562
2562
  // @__NO_SIDE_EFFECTS__
2563
2563
  function Ur() {
2564
- return /* @__PURE__ */ De((t) => Vi(t));
2564
+ return /* @__PURE__ */ Be((t) => Vi(t));
2565
2565
  }
2566
2566
  o(Ur, "_slugify");
2567
2567
  // @__NO_SIDE_EFFECTS__
@@ -2597,10 +2597,10 @@ o(Vr, "_refine");
2597
2597
  // @__NO_SIDE_EFFECTS__
2598
2598
  function Kr(t, e) {
2599
2599
  const n = /* @__PURE__ */ Wr((s) => (s.addIssue = (a) => {
2600
- if (typeof a == "string") s.issues.push(Me(a, s.value, n._zod.def));
2600
+ if (typeof a == "string") s.issues.push(Ve(a, s.value, n._zod.def));
2601
2601
  else {
2602
2602
  const c = a;
2603
- c.fatal && (c.continue = !1), c.code ?? (c.code = "custom"), c.input ?? (c.input = s.value), c.inst ?? (c.inst = n), c.continue ?? (c.continue = !n._zod.def.abort), s.issues.push(Me(c));
2603
+ c.fatal && (c.continue = !1), c.code ?? (c.code = "custom"), c.input ?? (c.input = s.value), c.inst ?? (c.inst = n), c.continue ?? (c.continue = !n._zod.def.abort), s.issues.push(Ve(c));
2604
2604
  }
2605
2605
  }, t(s.value, s)), e);
2606
2606
  return n;
@@ -2619,7 +2619,7 @@ function So(t) {
2619
2619
  let e = t?.target ?? "draft-2020-12";
2620
2620
  return e === "draft-4" && (e = "draft-04"), e === "draft-7" && (e = "draft-07"), {
2621
2621
  processors: t.processors ?? {},
2622
- metadataRegistry: t?.metadata ?? Ne,
2622
+ metadataRegistry: t?.metadata ?? Ue,
2623
2623
  target: e,
2624
2624
  unrepresentable: t?.unrepresentable ?? "throw",
2625
2625
  override: t?.override ?? (() => {
@@ -3134,7 +3134,7 @@ var F = /* @__PURE__ */ h("ZodType", (t, e) => (G.init(t, e), Object.assign(t["~
3134
3134
  return this.check(Ll(n, s));
3135
3135
  },
3136
3136
  overwrite(n) {
3137
- return this.check(/* @__PURE__ */ De(n));
3137
+ return this.check(/* @__PURE__ */ Be(n));
3138
3138
  },
3139
3139
  optional() {
3140
3140
  return Fn(this);
@@ -3180,12 +3180,12 @@ var F = /* @__PURE__ */ h("ZodType", (t, e) => (G.init(t, e), Object.assign(t["~
3180
3180
  },
3181
3181
  describe(n) {
3182
3182
  const s = this.clone();
3183
- return Ne.add(s, { description: n }), s;
3183
+ return Ue.add(s, { description: n }), s;
3184
3184
  },
3185
3185
  meta(...n) {
3186
- if (n.length === 0) return Ne.get(this);
3186
+ if (n.length === 0) return Ue.get(this);
3187
3187
  const s = this.clone();
3188
- return Ne.add(s, n[0]), s;
3188
+ return Ue.add(s, n[0]), s;
3189
3189
  },
3190
3190
  isOptional() {
3191
3191
  return this.safeParse(void 0).success;
@@ -3198,7 +3198,7 @@ var F = /* @__PURE__ */ h("ZodType", (t, e) => (G.init(t, e), Object.assign(t["~
3198
3198
  }
3199
3199
  }), Object.defineProperty(t, "description", {
3200
3200
  get() {
3201
- return Ne.get(t)?.description;
3201
+ return Ue.get(t)?.description;
3202
3202
  },
3203
3203
  configurable: !0
3204
3204
  }), t)), Io = /* @__PURE__ */ h("_ZodString", (t, e) => {
@@ -3375,17 +3375,17 @@ o(w, "boolean");
3375
3375
  var cl = /* @__PURE__ */ h("ZodAny", (t, e) => {
3376
3376
  Ca.init(t, e), F.init(t, e), t._zod.processJSONSchema = (n, s, a) => tc(t, n, s, a);
3377
3377
  });
3378
- function A() {
3378
+ function C() {
3379
3379
  return /* @__PURE__ */ $r(cl);
3380
3380
  }
3381
- o(A, "any");
3381
+ o(C, "any");
3382
3382
  var ll = /* @__PURE__ */ h("ZodUnknown", (t, e) => {
3383
3383
  Aa.init(t, e), F.init(t, e), t._zod.processJSONSchema = (n, s, a) => nc(t, n, s, a);
3384
3384
  });
3385
- function Ve() {
3385
+ function we() {
3386
3386
  return /* @__PURE__ */ Cr(ll);
3387
3387
  }
3388
- o(Ve, "unknown");
3388
+ o(we, "unknown");
3389
3389
  var ul = /* @__PURE__ */ h("ZodNever", (t, e) => {
3390
3390
  za.init(t, e), F.init(t, e), t._zod.processJSONSchema = (n, s, a) => ec(t, n, s, a);
3391
3391
  });
@@ -3421,7 +3421,7 @@ function d(t, e) {
3421
3421
  }
3422
3422
  o(d, "array");
3423
3423
  var Co = /* @__PURE__ */ h("ZodObject", (t, e) => {
3424
- Da.init(t, e), F.init(t, e), t._zod.processJSONSchema = (n, s, a) => lc(t, n, s, a), C(t, "shape", () => e.shape), We(t, "ZodObject", {
3424
+ Da.init(t, e), F.init(t, e), t._zod.processJSONSchema = (n, s, a) => lc(t, n, s, a), A(t, "shape", () => e.shape), We(t, "ZodObject", {
3425
3425
  keyof() {
3426
3426
  return I(Object.keys(this._zod.def.shape));
3427
3427
  },
@@ -3434,13 +3434,13 @@ var Co = /* @__PURE__ */ h("ZodObject", (t, e) => {
3434
3434
  passthrough() {
3435
3435
  return this.clone({
3436
3436
  ...this._zod.def,
3437
- catchall: Ve()
3437
+ catchall: we()
3438
3438
  });
3439
3439
  },
3440
3440
  loose() {
3441
3441
  return this.clone({
3442
3442
  ...this._zod.def,
3443
- catchall: Ve()
3443
+ catchall: we()
3444
3444
  });
3445
3445
  },
3446
3446
  strict() {
@@ -3478,7 +3478,7 @@ var Co = /* @__PURE__ */ h("ZodObject", (t, e) => {
3478
3478
  }
3479
3479
  });
3480
3480
  });
3481
- function Se(t, e) {
3481
+ function _e(t, e) {
3482
3482
  const n = {
3483
3483
  type: "object",
3484
3484
  shape: t ?? {},
@@ -3486,7 +3486,7 @@ function Se(t, e) {
3486
3486
  };
3487
3487
  return new Co(n);
3488
3488
  }
3489
- o(Se, "object");
3489
+ o(_e, "object");
3490
3490
  function hl(t, e) {
3491
3491
  return new Co({
3492
3492
  type: "object",
@@ -3587,10 +3587,10 @@ var vl = /* @__PURE__ */ h("ZodTransform", (t, e) => {
3587
3587
  Na.init(t, e), F.init(t, e), t._zod.processJSONSchema = (n, s, a) => rc(t, n, s, a), t._zod.parse = (n, s) => {
3588
3588
  if (s.direction === "backward") throw new Qn(t.constructor.name);
3589
3589
  n.addIssue = (c) => {
3590
- if (typeof c == "string") n.issues.push(Me(c, n.value, e));
3590
+ if (typeof c == "string") n.issues.push(Ve(c, n.value, e));
3591
3591
  else {
3592
3592
  const l = c;
3593
- l.fatal && (l.continue = !1), l.code ?? (l.code = "custom"), l.input ?? (l.input = n.value), l.inst ?? (l.inst = t), n.issues.push(Me(l));
3593
+ l.fatal && (l.continue = !1), l.code ?? (l.code = "custom"), l.input ?? (l.input = n.value), l.inst ?? (l.inst = t), n.issues.push(Ve(l));
3594
3594
  }
3595
3595
  };
3596
3596
  const a = e.transform(n.value, n);
@@ -3743,7 +3743,7 @@ function Bl(t) {
3743
3743
  }
3744
3744
  o(Bl, "recordSchemaDrift");
3745
3745
  function r(t) {
3746
- const e = Se(t).loose();
3746
+ const e = _e(t).loose();
3747
3747
  return qo() ? hl(t) : e;
3748
3748
  }
3749
3749
  o(r, "apiObject");
@@ -3829,11 +3829,11 @@ function Bo(t) {
3829
3829
  return e <= 0 ? Nl : Zl[t.slice(e + 1).toLowerCase()] ?? "application/octet-stream";
3830
3830
  }
3831
3831
  o(Bo, "mimeTypeFor");
3832
- var Ue = new TextEncoder(), Ee;
3832
+ var je = new TextEncoder(), Re;
3833
3833
  function Ul() {
3834
- if (Ee !== void 0) return Ee;
3834
+ if (Re !== void 0) return Re;
3835
3835
  if (typeof Request > "u" || typeof ReadableStream > "u")
3836
- return Ee = !1, Ee;
3836
+ return Re = !1, Re;
3837
3837
  let t = !1;
3838
3838
  try {
3839
3839
  new Request("https://streaming.probe.invalid", {
@@ -3846,7 +3846,7 @@ function Ul() {
3846
3846
  } catch {
3847
3847
  t = !1;
3848
3848
  }
3849
- return Ee = t, Ee;
3849
+ return Re = t, Re;
3850
3850
  }
3851
3851
  o(Ul, "supportsRequestStreaming");
3852
3852
  function xo(t) {
@@ -3866,7 +3866,7 @@ function Ml(t) {
3866
3866
  }
3867
3867
  o(Ml, "escapeQuotes");
3868
3868
  function Fo(t) {
3869
- return typeof t == "string" ? Ue.encode(t) : t;
3869
+ return typeof t == "string" ? je.encode(t) : t;
3870
3870
  }
3871
3871
  o(Fo, "normalizeChunk");
3872
3872
  async function* Un(t) {
@@ -3884,7 +3884,7 @@ async function* Un(t) {
3884
3884
  o(Un, "readableStreamToAsyncIterable");
3885
3885
  async function* Zo(t) {
3886
3886
  if (typeof t == "string") {
3887
- yield Ue.encode(t);
3887
+ yield je.encode(t);
3888
3888
  return;
3889
3889
  }
3890
3890
  if (t instanceof Blob) {
@@ -3934,12 +3934,12 @@ Content-Disposition: form-data; name="file"; filename="${Ml(n.filename)}"\r
3934
3934
  Content-Type: ${s}\r
3935
3935
  \r
3936
3936
  `;
3937
- yield Ue.encode(a);
3937
+ yield je.encode(a);
3938
3938
  for await (const c of Zo(n.content)) yield c;
3939
- yield Ue.encode(`\r
3939
+ yield je.encode(`\r
3940
3940
  `);
3941
3941
  }
3942
- yield Ue.encode(`--${e}--\r
3942
+ yield je.encode(`--${e}--\r
3943
3943
  `);
3944
3944
  }
3945
3945
  o(Wl, "encodeMultipart");
@@ -3983,17 +3983,17 @@ function Xl(t, e) {
3983
3983
  return s ? `${t}${t.includes("?") ? "&" : "?"}${s}` : t;
3984
3984
  }
3985
3985
  o(Xl, "buildUrlWithSearchParams");
3986
- var Hl = Se({
3986
+ var Hl = _e({
3987
3987
  type: St("basic"),
3988
3988
  email: i().email(),
3989
3989
  apiToken: i().min(1)
3990
- }), Yl = Se({
3990
+ }), Yl = _e({
3991
3991
  type: St("bearer"),
3992
3992
  token: i().min(1)
3993
- }), Ql = Se({
3993
+ }), Ql = _e({
3994
3994
  type: St("bearer"),
3995
3995
  getToken: _t((t) => typeof t == "function", { message: "getToken must be a function" })
3996
- }), eu = W([Yl, Ql]), tu = Se({
3996
+ }), eu = W([Yl, Ql]), tu = _e({
3997
3997
  type: St("oauth2"),
3998
3998
  accessToken: i().min(1).optional(),
3999
3999
  refreshToken: i().min(1).optional(),
@@ -4007,11 +4007,11 @@ var Hl = Se({
4007
4007
  Hl,
4008
4008
  eu,
4009
4009
  tu
4010
- ]), ou = Se({
4010
+ ]), ou = _e({
4011
4011
  maxAttempts: m().int().positive().optional(),
4012
4012
  initialDelayMs: m().int().nonnegative().optional(),
4013
4013
  backoffFactor: m().positive().optional()
4014
- }), iu = Se({
4014
+ }), iu = _e({
4015
4015
  host: jc().optional(),
4016
4016
  auth: nu.optional(),
4017
4017
  headers: $(i(), i()).optional(),
@@ -4133,7 +4133,7 @@ function Tb(t, e) {
4133
4133
  };
4134
4134
  }
4135
4135
  o(Tb, "parseCallbackUrl");
4136
- var uu = `https://api.atlassian.com/ex/${je.gatewaySlug}`, du = 6e4;
4136
+ var uu = `https://api.atlassian.com/ex/${Me.gatewaySlug}`, du = 6e4;
4137
4137
  function Mn(t) {
4138
4138
  return t.replace(/\/+$/, "").toLowerCase();
4139
4139
  }
@@ -4170,7 +4170,7 @@ function pu(t) {
4170
4170
  if (!Yn(z) || z.status !== 401 || !S()) throw z;
4171
4171
  return await O(), jn(await B());
4172
4172
  }
4173
- }, "listResources"), Ze = /* @__PURE__ */ o((z) => {
4173
+ }, "listResources"), Ne = /* @__PURE__ */ o((z) => {
4174
4174
  if (z.length === 0) throw new re("No accessible Confluence resources were returned for this OAuth 2.0 token. Check the granted scopes and that the user has access to at least one Confluence site.");
4175
4175
  if (s !== void 0) {
4176
4176
  const P = Mn(s), x = z.find((se) => Mn(se.url) === P);
@@ -4179,11 +4179,11 @@ function pu(t) {
4179
4179
  }
4180
4180
  if (z.length > 1) throw new re(`Multiple accessible Confluence resources found; pass \`cloudId\` or \`siteUrl\` to disambiguate. Available: ${z.map((P) => P.url).join(", ")}.`);
4181
4181
  return z[0];
4182
- }, "selectResource"), Pe = /* @__PURE__ */ o(async () => {
4182
+ }, "selectResource"), Te = /* @__PURE__ */ o(async () => {
4183
4183
  if (p !== void 0) return p;
4184
4184
  y ??= (async () => {
4185
4185
  const z = await me();
4186
- return p = Ze(z).id, p;
4186
+ return p = Ne(z).id, p;
4187
4187
  })();
4188
4188
  try {
4189
4189
  return await y;
@@ -4197,7 +4197,7 @@ function pu(t) {
4197
4197
  return `Bearer ${await B()}`;
4198
4198
  },
4199
4199
  async getBaseUrl() {
4200
- return `${uu}/${await Pe()}`;
4200
+ return `${uu}/${await Te()}`;
4201
4201
  },
4202
4202
  forceRefresh: O
4203
4203
  };
@@ -4274,7 +4274,7 @@ function Ko(t) {
4274
4274
  iu.parse(t);
4275
4275
  const { host: e, auth: n, headers: s = {}, getAuthOn401: a, retry: c } = t, l = Math.max(1, c?.maxAttempts ?? 1), u = c?.initialDelayMs ?? 500, p = c?.backoffFactor ?? 2, f = n?.type === "oauth2" ? pu(n) : void 0;
4276
4276
  return { async sendRequest(y) {
4277
- const S = y.url.startsWith("/") ? y.url : `/${y.url}`, k = f ? await f.getBaseUrl() : e, b = k && (k.endsWith("/") ? k.slice(0, -1) : k), O = Xl(b ? b + S : y.url, y.searchParams), B = y.body, me = B == null ? void 0 : xl(B), Ze = /* @__PURE__ */ o(async (V) => {
4277
+ const S = y.url.startsWith("/") ? y.url : `/${y.url}`, k = f ? await f.getBaseUrl() : e, b = k && (k.endsWith("/") ? k.slice(0, -1) : k), O = Xl(b ? b + S : y.url, y.searchParams), B = y.body, me = B == null ? void 0 : xl(B), Ne = /* @__PURE__ */ o(async (V) => {
4278
4278
  const Q = {
4279
4279
  Accept: "application/json",
4280
4280
  ...Gl(B, y.method) ? { "Content-Type": "application/json" } : {},
@@ -4287,11 +4287,11 @@ function Ko(t) {
4287
4287
  body: me
4288
4288
  };
4289
4289
  return Fl(B) && (be.duplex = "half"), fetch(O, be);
4290
- }, "doRequest"), Pe = /* @__PURE__ */ o(async () => f ? { Authorization: await f.getAuthorizationHeader() } : n ? Vn(n) : {}, "currentAuthHeaders");
4291
- let z = await Pe(), P, x = u, se = 0, Te = !1;
4290
+ }, "doRequest"), Te = /* @__PURE__ */ o(async () => f ? { Authorization: await f.getAuthorizationHeader() } : n ? Vn(n) : {}, "currentAuthHeaders");
4291
+ let z = await Te(), P, x = u, se = 0, Ie = !1;
4292
4292
  for (; ; ) {
4293
4293
  try {
4294
- P = await Ze(z);
4294
+ P = await Ne(z);
4295
4295
  } catch (V) {
4296
4296
  const Q = Di(V) ? V : Zi(V, O);
4297
4297
  if (se + 1 < l && Q.transient) {
@@ -4300,13 +4300,13 @@ function Ko(t) {
4300
4300
  }
4301
4301
  throw Q;
4302
4302
  }
4303
- if (P.status === 401 && !Te && !await hu(P)) {
4303
+ if (P.status === 401 && !Ie && !await hu(P)) {
4304
4304
  if (f?.canRefresh()) {
4305
- Te = !0, await f.forceRefresh(), z = await Pe();
4305
+ Ie = !0, await f.forceRefresh(), z = await Te();
4306
4306
  continue;
4307
4307
  }
4308
4308
  if (a) {
4309
- Te = !0, z = await Vn(await a());
4309
+ Ie = !0, z = await Vn(await a());
4310
4310
  continue;
4311
4311
  }
4312
4312
  }
@@ -4325,15 +4325,15 @@ function Ko(t) {
4325
4325
  }
4326
4326
  throw ji(`Request failed: ${P.status} ${P.statusText}${V ? ` - ${V}` : ""}`, P.status, P.statusText, Q, P.headers);
4327
4327
  }
4328
- const Ie = P.headers.get("content-type");
4328
+ const Ee = P.headers.get("content-type");
4329
4329
  if (P.status === 204) return;
4330
4330
  if (y.schema === gt) return gt.parse(new Uint8Array(await P.arrayBuffer()));
4331
- if (Ie && !Ie.includes("application/json")) {
4332
- if (y.schema) throw new vn(`Expected a JSON response to validate against the schema, got ${Ie}`, await P.text());
4331
+ if (Ee && !Ee.includes("application/json")) {
4332
+ if (y.schema) throw new vn(`Expected a JSON response to validate against the schema, got ${Ee}`, await P.text());
4333
4333
  return;
4334
4334
  }
4335
4335
  let le;
4336
- if (Ie?.includes("application/json")) {
4336
+ if (Ee?.includes("application/json")) {
4337
4337
  const V = await P.text();
4338
4338
  try {
4339
4339
  le = JSON.parse(V);
@@ -4535,7 +4535,7 @@ var Rt = r({
4535
4535
  ari: i().optional(),
4536
4536
  id: i(),
4537
4537
  links: r({ status: i().optional() })
4538
- }), _e = r({
4538
+ }), Pe = r({
4539
4539
  path: i(),
4540
4540
  width: m(),
4541
4541
  height: m(),
@@ -4543,7 +4543,7 @@ var Rt = r({
4543
4543
  }), Wn = r({
4544
4544
  value: i(),
4545
4545
  representation: I(["plain", "view"]),
4546
- embeddedContent: d($(i(), A()))
4546
+ embeddedContent: d($(i(), C()))
4547
4547
  }), Je = r({
4548
4548
  prefix: i(),
4549
4549
  name: i(),
@@ -4584,7 +4584,7 @@ var Rt = r({
4584
4584
  ]).optional(),
4585
4585
  email: i().nullish(),
4586
4586
  publicName: i().optional(),
4587
- profilePicture: _e.optional(),
4587
+ profilePicture: Pe.optional(),
4588
4588
  displayName: i().nullish(),
4589
4589
  timeZone: i().nullish(),
4590
4590
  externalCollaborator: w().optional(),
@@ -4651,7 +4651,7 @@ var Rt = r({
4651
4651
  themeKey: i(),
4652
4652
  name: i().optional(),
4653
4653
  description: i().optional(),
4654
- icon: _e.optional(),
4654
+ icon: Pe.optional(),
4655
4655
  _links: _.optional()
4656
4656
  }), Tu = r({
4657
4657
  hoverOrFocus: r({ backgroundColor: i() }),
@@ -4733,13 +4733,13 @@ var Rt = r({
4733
4733
  horizontalHeader: Ru.optional(),
4734
4734
  content: Cu,
4735
4735
  bordersAndDividers: r({ color: i() }),
4736
- spaceReference: $(i(), A()).nullish()
4736
+ spaceReference: $(i(), C()).nullish()
4737
4737
  }), pe = r({
4738
4738
  id: m().optional(),
4739
4739
  key: i(),
4740
4740
  alias: i().optional(),
4741
4741
  name: i(),
4742
- icon: _e.optional(),
4742
+ icon: Pe.optional(),
4743
4743
  description: r({
4744
4744
  plain: Wn.optional(),
4745
4745
  view: Wn.optional(),
@@ -4752,7 +4752,7 @@ var Rt = r({
4752
4752
  type: i(),
4753
4753
  metadata: r({
4754
4754
  labels: Xe.optional(),
4755
- _expandable: $(i(), A()).optional()
4755
+ _expandable: $(i(), C()).optional()
4756
4756
  }).optional(),
4757
4757
  operations: d(ge).optional(),
4758
4758
  permissions: d(R(() => Pu)).optional(),
@@ -4785,7 +4785,7 @@ var Rt = r({
4785
4785
  users: d(R(() => H)).optional(),
4786
4786
  userKeys: d(i()).optional(),
4787
4787
  _links: _.optional()
4788
- }), Ae = r({
4788
+ }), ze = r({
4789
4789
  by: R(() => H).optional(),
4790
4790
  when: E().nullable(),
4791
4791
  friendlyWhen: i().nullish(),
@@ -4811,10 +4811,10 @@ var Rt = r({
4811
4811
  ownedBy: R(() => H).optional(),
4812
4812
  lastOwnedBy: R(() => H).optional(),
4813
4813
  createdDate: E().optional(),
4814
- lastUpdated: R(() => Ae).optional(),
4815
- previousVersion: R(() => Ae).optional(),
4814
+ lastUpdated: R(() => ze).optional(),
4815
+ previousVersion: R(() => ze).optional(),
4816
4816
  contributors: r({ publishers: R(() => Qo).optional() }).optional(),
4817
- nextVersion: R(() => Ae).optional(),
4817
+ nextVersion: R(() => ze).optional(),
4818
4818
  _expandable: r({
4819
4819
  lastUpdated: i().optional(),
4820
4820
  previousVersion: i().optional(),
@@ -4879,10 +4879,10 @@ var Rt = r({
4879
4879
  title: i().optional(),
4880
4880
  ari: i().optional(),
4881
4881
  base64EncodedAri: i().optional(),
4882
- extensions: $(i(), A()).optional(),
4883
- macroRenderedOutput: $(i(), A()).optional(),
4882
+ extensions: $(i(), C()).optional(),
4883
+ macroRenderedOutput: $(i(), C()).optional(),
4884
4884
  _links: _.optional(),
4885
- _expandable: $(i(), A()).optional()
4885
+ _expandable: $(i(), C()).optional()
4886
4886
  }), qu = r({}), ei = r({
4887
4887
  entityId: m().optional(),
4888
4888
  entityType: i().optional(),
@@ -4900,9 +4900,9 @@ var Rt = r({
4900
4900
  js: i().optional()
4901
4901
  }).optional(),
4902
4902
  metatags: i().optional(),
4903
- _expandable: $(i(), A()).optional()
4903
+ _expandable: $(i(), C()).optional()
4904
4904
  }), ti = r({
4905
- _expandable: r({ uris: W([i(), $(i(), A())]).optional() }).optional(),
4905
+ _expandable: r({ uris: W([i(), $(i(), C())]).optional() }).optional(),
4906
4906
  keys: d(i()).optional(),
4907
4907
  contexts: d(i()).optional(),
4908
4908
  uris: r({
@@ -4919,7 +4919,7 @@ var Rt = r({
4919
4919
  css: i().optional(),
4920
4920
  data: i().optional(),
4921
4921
  js: i().optional(),
4922
- _expandable: $(i(), A()).optional()
4922
+ _expandable: $(i(), C()).optional()
4923
4923
  }).optional(),
4924
4924
  superbatch: Lu.optional()
4925
4925
  }), j = r({
@@ -5000,7 +5000,7 @@ var Rt = r({
5000
5000
  favouritedDate: E().optional()
5001
5001
  }).optional(),
5002
5002
  lastmodified: r({
5003
- version: R(() => Ae).optional(),
5003
+ version: R(() => ze).optional(),
5004
5004
  friendlyLastModified: i().optional()
5005
5005
  }).optional(),
5006
5006
  lastcontributed: r({
@@ -5011,7 +5011,7 @@ var Rt = r({
5011
5011
  lastSeen: E().optional(),
5012
5012
  friendlyLastSeen: i().optional()
5013
5013
  }).optional(),
5014
- scheduled: $(i(), A()).optional(),
5014
+ scheduled: $(i(), C()).optional(),
5015
5015
  _expandable: r({
5016
5016
  favourited: i().optional(),
5017
5017
  lastmodified: i().optional(),
@@ -5021,10 +5021,10 @@ var Rt = r({
5021
5021
  }).optional()
5022
5022
  }).optional(),
5023
5023
  properties: _.optional(),
5024
- frontend: $(i(), A()).optional(),
5024
+ frontend: $(i(), C()).optional(),
5025
5025
  labels: W([Xe, d(Je)]).optional(),
5026
5026
  mediaType: i().optional(),
5027
- _expandable: $(i(), A()).optional()
5027
+ _expandable: $(i(), C()).optional()
5028
5028
  }), ee = r({
5029
5029
  id: i().optional(),
5030
5030
  type: i(),
@@ -5032,7 +5032,7 @@ var Rt = r({
5032
5032
  title: i().optional(),
5033
5033
  space: R(() => pe).optional(),
5034
5034
  history: R(() => Au).optional(),
5035
- version: R(() => Ae).optional(),
5035
+ version: R(() => ze).optional(),
5036
5036
  ancestors: d(R(() => ee)).nullish(),
5037
5037
  operations: d(ge).optional(),
5038
5038
  children: R(() => Ut).optional(),
@@ -5075,8 +5075,8 @@ var Rt = r({
5075
5075
  _links: _.optional()
5076
5076
  }).optional(),
5077
5077
  metadata: R(() => Bu).optional(),
5078
- macroRenderedOutput: $(i(), A()).optional(),
5079
- extensions: $(i(), A()).optional(),
5078
+ macroRenderedOutput: $(i(), C()).optional(),
5079
+ extensions: $(i(), C()).optional(),
5080
5080
  _expandable: r({
5081
5081
  childTypes: i().optional(),
5082
5082
  container: i().optional(),
@@ -5350,7 +5350,7 @@ o(od, "downloadAttatchment");
5350
5350
  var id = r({
5351
5351
  name: i().optional(),
5352
5352
  body: i().optional(),
5353
- parameters: $(i(), A()).optional(),
5353
+ parameters: $(i(), C()).optional(),
5354
5354
  _links: _.optional()
5355
5355
  }), en = r({ asyncId: i() });
5356
5356
  async function sd(t, e) {
@@ -5426,7 +5426,7 @@ var oi = r({
5426
5426
  username: Tt.optional(),
5427
5427
  userKey: It.optional(),
5428
5428
  accountId: Et,
5429
- profilePicture: _e,
5429
+ profilePicture: Pe,
5430
5430
  displayName: i(),
5431
5431
  timeZone: i().nullish(),
5432
5432
  operations: d(ge).nullable(),
@@ -5437,7 +5437,7 @@ var oi = r({
5437
5437
  accountType: i(),
5438
5438
  email: i(),
5439
5439
  publicName: i(),
5440
- personalSpace: $(i(), A()).nullable(),
5440
+ personalSpace: $(i(), C()).nullable(),
5441
5441
  accountStatus: i().optional(),
5442
5442
  locale: i().optional(),
5443
5443
  guest: w().optional()
@@ -5631,7 +5631,7 @@ async function Td(t, e) {
5631
5631
  o(Td, "removeSpaceWatch");
5632
5632
  var Ke = r({
5633
5633
  translation: i().optional(),
5634
- args: d(W([i(), $(i(), A())])),
5634
+ args: d(W([i(), $(i(), C())])),
5635
5635
  key: i().optional()
5636
5636
  }), Id = r({
5637
5637
  hasPermission: w(),
@@ -5799,21 +5799,21 @@ async function Gd(t, e) {
5799
5799
  return await t.sendRequest(n);
5800
5800
  }
5801
5801
  o(Gd, "removeUserFromContentRestriction");
5802
- var qe = r({
5802
+ var Le = r({
5803
5803
  id: m(),
5804
5804
  name: i(),
5805
5805
  color: i()
5806
5806
  }), nn = r({
5807
- contentState: qe.optional(),
5807
+ contentState: Le.optional(),
5808
5808
  lastUpdated: i().optional()
5809
5809
  }), Fd = r({
5810
- spaceContentStates: d(qe),
5811
- customContentStates: d(qe)
5810
+ spaceContentStates: d(Le),
5811
+ customContentStates: d(Le)
5812
5812
  }), Zd = r({
5813
5813
  contentStatesAllowed: w(),
5814
5814
  customContentStatesAllowed: w(),
5815
5815
  spaceContentStatesAllowed: w(),
5816
- spaceContentStates: d(qe).optional()
5816
+ spaceContentStates: d(Le).optional()
5817
5817
  });
5818
5818
  async function Nd(t, e) {
5819
5819
  const n = {
@@ -5861,7 +5861,7 @@ async function Vd(t) {
5861
5861
  const e = {
5862
5862
  url: "/wiki/rest/api/content-states",
5863
5863
  method: "GET",
5864
- schema: d(qe)
5864
+ schema: d(Le)
5865
5865
  };
5866
5866
  return await t.sendRequest(e);
5867
5867
  }
@@ -5870,7 +5870,7 @@ async function Kd(t, e) {
5870
5870
  const n = {
5871
5871
  url: `/wiki/rest/api/space/${e.spaceKey}/state`,
5872
5872
  method: "GET",
5873
- schema: d(qe)
5873
+ schema: d(Le)
5874
5874
  };
5875
5875
  return await t.sendRequest(n);
5876
5876
  }
@@ -5909,7 +5909,7 @@ async function Xd(t, e) {
5909
5909
  operationKey: e.operationKey,
5910
5910
  params: e.params
5911
5911
  },
5912
- schema: Ae
5912
+ schema: ze
5913
5913
  };
5914
5914
  return await t.sendRequest(n);
5915
5915
  }
@@ -5960,7 +5960,8 @@ var si = r({
5960
5960
  webresource: i().optional(),
5961
5961
  mediaToken: i().optional()
5962
5962
  }).optional(),
5963
- _links: _.optional()
5963
+ _links: _.optional(),
5964
+ content: we().optional()
5964
5965
  }), Yd = d(si), Qd = d(en);
5965
5966
  async function ep(t, e) {
5966
5967
  const n = {
@@ -6160,7 +6161,7 @@ var gp = r({
6160
6161
  id: i(),
6161
6162
  name: r({
6162
6163
  key: i(),
6163
- args: d($(i(), A()))
6164
+ args: d($(i(), C()))
6164
6165
  }),
6165
6166
  elapsedTime: m(),
6166
6167
  percentageComplete: m(),
@@ -6186,7 +6187,7 @@ var gp = r({
6186
6187
  id: i(),
6187
6188
  name: r({
6188
6189
  key: i(),
6189
- args: d($(i(), A()))
6190
+ args: d($(i(), C()))
6190
6191
  }),
6191
6192
  elapsedTime: m(),
6192
6193
  percentageComplete: m(),
@@ -6503,7 +6504,7 @@ var Zp = r({
6503
6504
  themeKey: i(),
6504
6505
  name: i().optional(),
6505
6506
  description: i().optional(),
6506
- icon: _e.optional()
6507
+ icon: Pe.optional()
6507
6508
  }), Np = r({
6508
6509
  results: d(Zp),
6509
6510
  start: m(),
@@ -6744,7 +6745,7 @@ var ci = r({
6744
6745
  referencingBlueprint: i().optional(),
6745
6746
  name: i(),
6746
6747
  description: i(),
6747
- space: $(i(), A()).optional(),
6748
+ space: $(i(), C()).optional(),
6748
6749
  labels: d(Je),
6749
6750
  templateType: i(),
6750
6751
  editorVersion: i().optional(),
@@ -6760,7 +6761,7 @@ var ci = r({
6760
6761
  referencingBlueprint: i(),
6761
6762
  name: i(),
6762
6763
  description: i(),
6763
- space: $(i(), A()).optional(),
6764
+ space: $(i(), C()).optional(),
6764
6765
  labels: d(Je),
6765
6766
  templateType: i(),
6766
6767
  editorVersion: i().optional(),
@@ -6868,7 +6869,7 @@ async function mh(t, e) {
6868
6869
  o(mh, "removeTemplate");
6869
6870
  var fh = r({
6870
6871
  type: i(),
6871
- profilePicture: _e,
6872
+ profilePicture: Pe,
6872
6873
  displayName: i(),
6873
6874
  operations: d(ge).optional(),
6874
6875
  _expandable: r({ operations: i().optional() }).optional(),
@@ -6889,7 +6890,7 @@ var fh = r({
6889
6890
  accountType: i(),
6890
6891
  email: i(),
6891
6892
  publicName: i(),
6892
- profilePicture: _e,
6893
+ profilePicture: Pe,
6893
6894
  displayName: i(),
6894
6895
  timeZone: i().nullish(),
6895
6896
  isExternalCollaborator: w().optional(),
@@ -7057,7 +7058,7 @@ var Oh = r({
7057
7058
  _links: _.optional()
7058
7059
  }), qh = r({
7059
7060
  key: i(),
7060
- value: $(i(), A()),
7061
+ value: $(i(), C()),
7061
7062
  id: i(),
7062
7063
  lastModifiedDate: E(),
7063
7064
  createdDate: E(),
@@ -7347,7 +7348,9 @@ var K = I([
7347
7348
  minorEdit: w().optional(),
7348
7349
  authorId: i().optional(),
7349
7350
  ncsStepVersion: i().nullish(),
7350
- contributorIds: d(Ve()).optional()
7351
+ contributorIds: d(we()).optional(),
7352
+ comment: $(i(), C()).optional(),
7353
+ attachment: $(i(), C()).optional()
7351
7354
  }), di = r({
7352
7355
  webui: i().optional(),
7353
7356
  download: i().optional(),
@@ -7400,7 +7403,8 @@ var K = I([
7400
7403
  prefix: i().optional()
7401
7404
  }), q = r({
7402
7405
  hasMore: w().optional(),
7403
- cursor: i().optional()
7406
+ cursor: i().optional(),
7407
+ count: m().optional()
7404
7408
  }), L = r({
7405
7409
  self: i().optional(),
7406
7410
  base: i().optional(),
@@ -7417,7 +7421,7 @@ var K = I([
7417
7421
  }), T = r({
7418
7422
  id: i().optional(),
7419
7423
  key: i().optional(),
7420
- value: Ve().optional(),
7424
+ value: we().optional(),
7421
7425
  version: D.nullish()
7422
7426
  }), ve = r({
7423
7427
  operation: i().optional(),
@@ -7876,7 +7880,7 @@ var J = r({
7876
7880
  }), Lm = r({
7877
7881
  results: d(pi).optional(),
7878
7882
  _links: g.optional()
7879
- }), Be = r({
7883
+ }), xe = r({
7880
7884
  number: m().optional(),
7881
7885
  authorId: i().optional(),
7882
7886
  message: i().optional(),
@@ -7975,7 +7979,7 @@ async function Um(t, e) {
7975
7979
  const n = {
7976
7980
  url: `/wiki/api/v2/attachments/${e.attachmentId}/versions/${e.versionNumber}`,
7977
7981
  method: "GET",
7978
- schema: Be
7982
+ schema: xe
7979
7983
  };
7980
7984
  return await t.sendRequest(n);
7981
7985
  }
@@ -7984,7 +7988,7 @@ async function jm(t, e) {
7984
7988
  const n = {
7985
7989
  url: `/wiki/api/v2/blogposts/${e.blogpostId}/versions/${e.versionNumber}`,
7986
7990
  method: "GET",
7987
- schema: Be
7991
+ schema: xe
7988
7992
  };
7989
7993
  return await t.sendRequest(n);
7990
7994
  }
@@ -7993,7 +7997,7 @@ async function Mm(t, e) {
7993
7997
  const n = {
7994
7998
  url: `/wiki/api/v2/pages/${e.pageId}/versions/${e.versionNumber}`,
7995
7999
  method: "GET",
7996
- schema: Be
8000
+ schema: xe
7997
8001
  };
7998
8002
  return await t.sendRequest(n);
7999
8003
  }
@@ -8017,7 +8021,7 @@ async function Km(t, e) {
8017
8021
  const n = {
8018
8022
  url: `/wiki/api/v2/custom-content/${e.customContentId}/versions/${e.versionNumber}`,
8019
8023
  method: "GET",
8020
- schema: Be
8024
+ schema: xe
8021
8025
  };
8022
8026
  return await t.sendRequest(n);
8023
8027
  }
@@ -8026,7 +8030,7 @@ async function Wm(t, e) {
8026
8030
  const n = {
8027
8031
  url: `/wiki/api/v2/footer-comments/${e.id}/versions/${e.versionNumber}`,
8028
8032
  method: "GET",
8029
- schema: Be
8033
+ schema: xe
8030
8034
  };
8031
8035
  return await t.sendRequest(n);
8032
8036
  }
@@ -8035,12 +8039,12 @@ async function Jm(t, e) {
8035
8039
  const n = {
8036
8040
  url: `/wiki/api/v2/inline-comments/${e.id}/versions/${e.versionNumber}`,
8037
8041
  method: "GET",
8038
- schema: Be
8042
+ schema: xe
8039
8043
  };
8040
8044
  return await t.sendRequest(n);
8041
8045
  }
8042
8046
  o(Jm, "getInlineCommentVersionDetails");
8043
- var xe = r({
8047
+ var Ge = r({
8044
8048
  storage: J.nullish(),
8045
8049
  atlas_doc_format: J.nullish(),
8046
8050
  view: J.nullish()
@@ -8063,7 +8067,7 @@ var xe = r({
8063
8067
  title: i().optional(),
8064
8068
  attachmentId: i().optional(),
8065
8069
  version: D.nullish(),
8066
- body: xe.nullish(),
8070
+ body: Ge.nullish(),
8067
8071
  _links: ce.nullish()
8068
8072
  }), Hm = r({
8069
8073
  results: d(Xm).optional(),
@@ -8074,7 +8078,7 @@ var xe = r({
8074
8078
  title: i().optional(),
8075
8079
  customContentId: i().optional(),
8076
8080
  version: D.nullish(),
8077
- body: xe.nullish(),
8081
+ body: Ge.nullish(),
8078
8082
  _links: ce.nullish()
8079
8083
  }), Qm = r({
8080
8084
  results: d(Ym).optional(),
@@ -8098,7 +8102,9 @@ var xe = r({
8098
8102
  "dangling"
8099
8103
  ]), an = r({
8100
8104
  inlineMarkerRef: i().optional(),
8101
- inlineOriginalSelection: i().optional()
8105
+ inlineOriginalSelection: i().optional(),
8106
+ "inline-marker-ref": i().optional(),
8107
+ "inline-original-selection": i().optional()
8102
8108
  }), nf = r({
8103
8109
  id: i().optional(),
8104
8110
  status: K.optional(),
@@ -8167,7 +8173,7 @@ var xe = r({
8167
8173
  meta: q.nullish(),
8168
8174
  _links: L.nullish()
8169
8175
  }).nullish(),
8170
- body: xe.nullish(),
8176
+ body: Ge.nullish(),
8171
8177
  _links: ce.nullish(),
8172
8178
  resolutionStatus: i().optional()
8173
8179
  }), lf = r({
@@ -8194,7 +8200,7 @@ var xe = r({
8194
8200
  pageId: i().optional(),
8195
8201
  parentCommentId: i().optional(),
8196
8202
  version: D.nullish(),
8197
- body: xe.nullish(),
8203
+ body: Ge.nullish(),
8198
8204
  resolutionLastModifierId: i().optional(),
8199
8205
  resolutionLastModifiedAt: E().optional(),
8200
8206
  resolutionStatus: At.optional(),
@@ -8548,7 +8554,7 @@ var hi = I([
8548
8554
  authorId: i().optional(),
8549
8555
  createdAt: E().optional(),
8550
8556
  version: D.nullish(),
8551
- body: xe.nullish(),
8557
+ body: Ge.nullish(),
8552
8558
  labels: r({
8553
8559
  results: d(ie).nullish(),
8554
8560
  meta: q.nullish(),
@@ -8989,7 +8995,7 @@ async function vy(t, e) {
8989
8995
  return await t.sendRequest(n);
8990
8996
  }
8991
8997
  o(vy, "getInlineLikeUsers");
8992
- var ky = r({ results: $(i(), A()).nullish() });
8998
+ var ky = r({ results: $(i(), C()).nullish() });
8993
8999
  async function by(t, e) {
8994
9000
  const n = {
8995
9001
  url: "/wiki/api/v2/content/convert-ids-to-types",
@@ -9000,7 +9006,7 @@ async function by(t, e) {
9000
9006
  return await t.sendRequest(n);
9001
9007
  }
9002
9008
  o(by, "convertContentIdsToContentTypes");
9003
- var Ge = I([
9009
+ var Fe = I([
9004
9010
  "page",
9005
9011
  "whiteboard",
9006
9012
  "database",
@@ -9012,7 +9018,7 @@ var Ge = I([
9012
9018
  title: i().optional(),
9013
9019
  spaceId: i().optional(),
9014
9020
  parentId: i().nullish(),
9015
- parentType: Ge.nullish(),
9021
+ parentType: Fe.nullish(),
9016
9022
  position: m().nullish(),
9017
9023
  authorId: i().optional(),
9018
9024
  ownerId: i().nullish(),
@@ -9035,14 +9041,14 @@ var Ge = I([
9035
9041
  title: i().optional(),
9036
9042
  spaceId: i().optional(),
9037
9043
  parentId: i().nullish(),
9038
- parentType: Ge.nullish(),
9044
+ parentType: Fe.nullish(),
9039
9045
  position: m().nullish(),
9040
9046
  authorId: i().optional(),
9041
9047
  ownerId: i().nullish(),
9042
9048
  lastOwnerId: i().nullish(),
9043
9049
  createdAt: E().optional(),
9044
9050
  version: D.nullish(),
9045
- body: xe.nullish(),
9051
+ body: Ge.nullish(),
9046
9052
  labels: r({
9047
9053
  results: d(ie).nullish(),
9048
9054
  meta: q.nullish(),
@@ -9249,7 +9255,7 @@ var Ly = r({
9249
9255
  status: K.optional(),
9250
9256
  title: i().optional(),
9251
9257
  parentId: i().nullish(),
9252
- parentType: Ge.nullish(),
9258
+ parentType: Fe.nullish(),
9253
9259
  position: m().nullish(),
9254
9260
  authorId: i().optional(),
9255
9261
  ownerId: i().optional(),
@@ -9257,8 +9263,8 @@ var Ly = r({
9257
9263
  spaceId: i().optional(),
9258
9264
  version: D.nullish(),
9259
9265
  _links: Ly.nullish(),
9260
- operations: $(i(), A()).optional(),
9261
- properties: $(i(), A()).optional()
9266
+ operations: $(i(), C()).optional(),
9267
+ properties: $(i(), C()).optional()
9262
9268
  });
9263
9269
  async function Dy(t, e) {
9264
9270
  const n = {
@@ -10169,7 +10175,7 @@ var Sv = r({
10169
10175
  status: K.optional(),
10170
10176
  title: i().optional(),
10171
10177
  parentId: i().nullish(),
10172
- parentType: Ge.nullish(),
10178
+ parentType: Fe.nullish(),
10173
10179
  position: m().nullish(),
10174
10180
  authorId: i().optional(),
10175
10181
  ownerId: i().optional(),
@@ -10177,8 +10183,8 @@ var Sv = r({
10177
10183
  spaceId: i().optional(),
10178
10184
  version: D.nullish(),
10179
10185
  _links: Sv.nullish(),
10180
- operations: $(i(), A()).optional(),
10181
- properties: $(i(), A()).optional()
10186
+ operations: $(i(), C()).optional(),
10187
+ properties: $(i(), C()).optional()
10182
10188
  });
10183
10189
  async function _v(t, e) {
10184
10190
  const n = {
@@ -10233,7 +10239,7 @@ var Iv = r({
10233
10239
  status: K.optional(),
10234
10240
  title: i().optional(),
10235
10241
  parentId: i().nullish(),
10236
- parentType: Ge.nullish(),
10242
+ parentType: Fe.nullish(),
10237
10243
  position: m().nullish(),
10238
10244
  authorId: i().optional(),
10239
10245
  ownerId: i().optional(),
@@ -10242,8 +10248,8 @@ var Iv = r({
10242
10248
  spaceId: i().optional(),
10243
10249
  version: D.nullish(),
10244
10250
  _links: Iv.nullish(),
10245
- operations: $(i(), A()).optional(),
10246
- properties: $(i(), A()).optional()
10251
+ operations: $(i(), C()).optional(),
10252
+ properties: $(i(), C()).optional()
10247
10253
  });
10248
10254
  async function Ev(t, e) {
10249
10255
  const n = {
@@ -10297,7 +10303,7 @@ var Cv = r({
10297
10303
  status: K.optional(),
10298
10304
  title: i().optional(),
10299
10305
  parentId: i().nullish(),
10300
- parentType: Ge.nullish(),
10306
+ parentType: Fe.nullish(),
10301
10307
  position: m().nullish(),
10302
10308
  authorId: i().optional(),
10303
10309
  ownerId: i().optional(),
@@ -10305,8 +10311,8 @@ var Cv = r({
10305
10311
  spaceId: i().optional(),
10306
10312
  version: D.nullish(),
10307
10313
  _links: Cv.nullish(),
10308
- operations: $(i(), A()).optional(),
10309
- properties: $(i(), A()).optional()
10314
+ operations: $(i(), C()).optional(),
10315
+ properties: $(i(), C()).optional()
10310
10316
  });
10311
10317
  async function Av(t, e) {
10312
10318
  const n = {
@@ -10388,7 +10394,7 @@ var bi = I([
10388
10394
  }), it = r({
10389
10395
  id: i().optional(),
10390
10396
  key: i().optional(),
10391
- value: Ve().optional(),
10397
+ value: we().optional(),
10392
10398
  createdAt: E().optional(),
10393
10399
  version: r({
10394
10400
  createdAt: E().optional(),
@@ -10877,7 +10883,8 @@ var bk = I([
10877
10883
  _links: g.optional()
10878
10884
  }), Tk = r({
10879
10885
  emailsWithoutAccess: d(i()).optional(),
10880
- invalidEmails: d(i()).optional()
10886
+ invalidEmails: d(i()).optional(),
10887
+ noAccessEmails: d(we()).optional()
10881
10888
  });
10882
10889
  async function Ik(t, e) {
10883
10890
  const n = {
@@ -10961,7 +10968,7 @@ var qk = I([
10961
10968
  "PURPLE",
10962
10969
  "GREY",
10963
10970
  "LIME"
10964
- ]), Fe = r({
10971
+ ]), Ze = r({
10965
10972
  id: i().optional(),
10966
10973
  status: qk.optional(),
10967
10974
  order: m().optional(),
@@ -10974,7 +10981,7 @@ async function Dk(t) {
10974
10981
  const e = {
10975
10982
  url: "/wiki/api/v2/classification-levels",
10976
10983
  method: "GET",
10977
- schema: d(Fe)
10984
+ schema: d(Ze)
10978
10985
  };
10979
10986
  return await t.sendRequest(e);
10980
10987
  }
@@ -10983,7 +10990,7 @@ async function Bk(t, e) {
10983
10990
  const n = {
10984
10991
  url: `/wiki/api/v2/spaces/${e.id}/classification-level/default`,
10985
10992
  method: "GET",
10986
- schema: Fe
10993
+ schema: Ze
10987
10994
  };
10988
10995
  return await t.sendRequest(n);
10989
10996
  }
@@ -11010,7 +11017,7 @@ async function Fk(t, e) {
11010
11017
  url: `/wiki/api/v2/pages/${e.id}/classification-level`,
11011
11018
  method: "GET",
11012
11019
  searchParams: { status: e.status },
11013
- schema: Fe
11020
+ schema: Ze
11014
11021
  };
11015
11022
  return await t.sendRequest(n);
11016
11023
  }
@@ -11038,7 +11045,7 @@ async function Uk(t, e) {
11038
11045
  url: `/wiki/api/v2/blogposts/${e.id}/classification-level`,
11039
11046
  method: "GET",
11040
11047
  searchParams: { status: e.status },
11041
- schema: Fe
11048
+ schema: Ze
11042
11049
  };
11043
11050
  return await t.sendRequest(n);
11044
11051
  }
@@ -11065,7 +11072,7 @@ async function Vk(t, e) {
11065
11072
  const n = {
11066
11073
  url: `/wiki/api/v2/whiteboards/${e.id}/classification-level`,
11067
11074
  method: "GET",
11068
- schema: Fe
11075
+ schema: Ze
11069
11076
  };
11070
11077
  return await t.sendRequest(n);
11071
11078
  }
@@ -11092,7 +11099,7 @@ async function Jk(t, e) {
11092
11099
  const n = {
11093
11100
  url: `/wiki/api/v2/databases/${e.id}/classification-level`,
11094
11101
  method: "GET",
11095
- schema: Fe
11102
+ schema: Ze
11096
11103
  };
11097
11104
  return await t.sendRequest(n);
11098
11105
  }
@@ -11118,12 +11125,12 @@ o(Hk, "postDatabaseClassificationLevel");
11118
11125
  var Yk = r({
11119
11126
  results: d(r({
11120
11127
  key: i().optional(),
11121
- value: $(i(), A()).optional()
11128
+ value: $(i(), C()).optional()
11122
11129
  })).optional(),
11123
11130
  _links: g.optional()
11124
11131
  }), Qk = r({
11125
11132
  key: i().optional(),
11126
- value: $(i(), A()).optional()
11133
+ value: $(i(), C()).optional()
11127
11134
  });
11128
11135
  async function eb(t, e) {
11129
11136
  const n = {
@@ -11509,7 +11516,7 @@ function Eb(t) {
11509
11516
  }
11510
11517
  o(Eb, "createV2Client");
11511
11518
  export {
11512
- Le as ApiError,
11519
+ De as ApiError,
11513
11520
  Hn as AuthError,
11514
11521
  db as ConfigError,
11515
11522
  Ci as ForbiddenError,