simplepractice-mcp 1.1.0 → 1.1.2

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.
package/dist/bundle.js CHANGED
@@ -6,6 +6,20 @@ var __export = (target, all) => {
6
6
  __defProp(target, name, { get: all[name], enumerable: true });
7
7
  };
8
8
 
9
+ // node_modules/@chrischall/mcp-utils/dist/cancel/index.js
10
+ import { AsyncLocalStorage } from "node:async_hooks";
11
+ var storage = new AsyncLocalStorage();
12
+ function withCallSignal(signal, fn, request) {
13
+ return signal ? storage.run({ signal, ...request ? { request } : {} }, fn) : fn();
14
+ }
15
+
16
+ // node_modules/@chrischall/mcp-utils/dist/caller/index.js
17
+ import { AsyncLocalStorage as AsyncLocalStorage2 } from "node:async_hooks";
18
+ var storage2 = new AsyncLocalStorage2();
19
+ function withCallerCapabilities(capabilities, fn) {
20
+ return capabilities ? storage2.run(capabilities, fn) : fn();
21
+ }
22
+
9
23
  // node_modules/@modelcontextprotocol/server/dist/chunk-Br0eD_fh.mjs
10
24
  var __create = Object.create;
11
25
  var __defProp2 = Object.defineProperty;
@@ -133,7 +147,6 @@ __export(external_exports, {
133
147
  ZodPrefault: () => ZodPrefault,
134
148
  ZodPreprocess: () => ZodPreprocess,
135
149
  ZodPromise: () => ZodPromise,
136
- ZodProperties: () => ZodProperties,
137
150
  ZodReadonly: () => ZodReadonly,
138
151
  ZodRealError: () => ZodRealError,
139
152
  ZodRecord: () => ZodRecord,
@@ -177,6 +190,7 @@ __export(external_exports, {
177
190
  creditCard: () => creditCard2,
178
191
  cuid: () => cuid3,
179
192
  cuid2: () => cuid22,
193
+ currencyCode: () => currencyCode2,
180
194
  custom: () => custom,
181
195
  date: () => date2,
182
196
  decode: () => decode2,
@@ -270,7 +284,7 @@ __export(external_exports, {
270
284
  preprocess: () => preprocess,
271
285
  prettifyError: () => prettifyError,
272
286
  promise: () => promise,
273
- properties: () => properties,
287
+ properties: () => _properties,
274
288
  property: () => _property,
275
289
  readonly: () => readonly,
276
290
  record: () => record,
@@ -358,6 +372,7 @@ __export(core_exports2, {
358
372
  $ZodCheckMultipleOf: () => $ZodCheckMultipleOf,
359
373
  $ZodCheckNumberFormat: () => $ZodCheckNumberFormat,
360
374
  $ZodCheckOverwrite: () => $ZodCheckOverwrite,
375
+ $ZodCheckProperties: () => $ZodCheckProperties,
361
376
  $ZodCheckProperty: () => $ZodCheckProperty,
362
377
  $ZodCheckRegex: () => $ZodCheckRegex,
363
378
  $ZodCheckSizeEquals: () => $ZodCheckSizeEquals,
@@ -411,7 +426,6 @@ __export(core_exports2, {
411
426
  $ZodPrefault: () => $ZodPrefault,
412
427
  $ZodPreprocess: () => $ZodPreprocess,
413
428
  $ZodPromise: () => $ZodPromise,
414
- $ZodProperties: () => $ZodProperties,
415
429
  $ZodReadonly: () => $ZodReadonly,
416
430
  $ZodRealError: () => $ZodRealError,
417
431
  $ZodRecord: () => $ZodRecord,
@@ -579,6 +593,7 @@ __export(core_exports2, {
579
593
  _xor: () => _xor,
580
594
  base64Charset: () => base64Charset,
581
595
  base64urlCharset: () => base64urlCharset,
596
+ canParseURL: () => canParseURL,
582
597
  clone: () => clone,
583
598
  compile: () => compile,
584
599
  compileFn: () => compileFn,
@@ -601,7 +616,6 @@ __export(core_exports2, {
601
616
  initializeContext: () => initializeContext,
602
617
  isBackEdge: () => isBackEdge,
603
618
  isRecursiveSchema: () => isRecursiveSchema,
604
- isTransforming: () => isTransforming,
605
619
  isValidBase64: () => isValidBase64,
606
620
  isValidBase64URL: () => isValidBase64URL,
607
621
  isValidCIDRv6: () => isValidCIDRv6,
@@ -638,6 +652,7 @@ __export(core_exports2, {
638
652
  util: () => util_exports,
639
653
  validate: () => validate,
640
654
  validateAsync: () => validateAsync,
655
+ validateURL: () => validateURL,
641
656
  version: () => version,
642
657
  withParser: () => withParser
643
658
  });
@@ -1379,9 +1394,6 @@ function members(proto, table) {
1379
1394
  else
1380
1395
  defineBound(proto, key, desc.value);
1381
1396
  }
1382
- for (const sym of Object.getOwnPropertySymbols(table)) {
1383
- defineBound(proto, sym, table[sym]);
1384
- }
1385
1397
  }
1386
1398
  function own(inst, key, value, enumerable = true) {
1387
1399
  Object.defineProperty(inst, key, { configurable: true, writable: true, enumerable, value });
@@ -1534,8 +1546,7 @@ function $constructor(name, initializer3, proto, params) {
1534
1546
  } finally {
1535
1547
  _zodDesc.value = void 0;
1536
1548
  }
1537
- }
1538
- if (inst._zod.traits.has(name)) {
1549
+ } else if (inst._zod.traits.has(name)) {
1539
1550
  return;
1540
1551
  }
1541
1552
  inst._zod.traits.add(name);
@@ -1977,6 +1988,7 @@ __export(regexes_exports, {
1977
1988
  creditCard: () => creditCard,
1978
1989
  cuid: () => cuid,
1979
1990
  cuid2: () => cuid2,
1991
+ currencyCode: () => currencyCode,
1980
1992
  date: () => date,
1981
1993
  datetime: () => datetime,
1982
1994
  domain: () => domain,
@@ -2075,6 +2087,7 @@ var domain = /^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a
2075
2087
  var httpProtocol = /^https?$/;
2076
2088
  var e164 = /^\+[1-9]\d{6,14}$/;
2077
2089
  var creditCard = /^\d(?:[ -]?\d){11,18}$/;
2090
+ var currencyCode = /^(?:AED|AFN|ALL|AMD|AOA|ARS|AUD|AWG|AZN|BAM|BBD|BDT|BHD|BIF|BMD|BND|BOB|BOV|BRL|BSD|BTN|BWP|BYN|BZD|CAD|CDF|CHE|CHF|CHW|CLF|CLP|CNY|COP|COU|CRC|CUP|CVE|CZK|DJF|DKK|DOP|DZD|EGP|ERN|ETB|EUR|FJD|FKP|GBP|GEL|GHS|GIP|GMD|GNF|GTQ|GYD|HKD|HNL|HTG|HUF|IDR|ILS|INR|IQD|IRR|ISK|JMD|JOD|JPY|KES|KGS|KHR|KMF|KPW|KRW|KWD|KYD|KZT|LAK|LBP|LKR|LRD|LSL|LYD|MAD|MDL|MGA|MKD|MMK|MNT|MOP|MRU|MUR|MVR|MWK|MXN|MXV|MYR|MZN|NAD|NGN|NIO|NOK|NPR|NZD|OMR|PAB|PEN|PGK|PHP|PKR|PLN|PYG|QAR|RON|RSD|RUB|RWF|SAR|SBD|SCR|SDG|SEK|SGD|SHP|SLE|SOS|SRD|SSP|STN|SVC|SYP|SZL|THB|TJS|TMT|TND|TOP|TRY|TTD|TWD|TZS|UAH|UGX|USD|USN|UYI|UYU|UYW|UZS|VED|VES|VND|VUV|WST|XAD|XAF|XAG|XAU|XBA|XBB|XBC|XBD|XCD|XCG|XDR|XOF|XPD|XPF|XPT|XSU|XTS|XUA|XXX|YER|ZAR|ZMW|ZWG)$/;
2078
2091
  var iban = /^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/;
2079
2092
  var dateSource = `(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`;
2080
2093
  function anchor(source) {
@@ -2559,6 +2572,34 @@ var $ZodCheckProperty = /* @__PURE__ */ $constructor("$ZodCheckProperty", (inst,
2559
2572
  return;
2560
2573
  };
2561
2574
  });
2575
+ var $ZodCheckProperties = /* @__PURE__ */ $constructor("$ZodCheckProperties", (inst, def) => {
2576
+ $ZodCheck.init(inst, def);
2577
+ hide(inst, Symbol.iterator, function* () {
2578
+ yield inst;
2579
+ });
2580
+ let entries;
2581
+ inst._zod.check = (payload) => {
2582
+ if (payload.value == null) {
2583
+ payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
2584
+ return void 0;
2585
+ }
2586
+ entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
2587
+ const input2 = payload.value;
2588
+ let proms;
2589
+ for (const [key, schema] of entries) {
2590
+ const result = schema._zod.run({ value: input2[key], issues: [] }, {});
2591
+ if (result instanceof Promise) {
2592
+ proms ?? (proms = []);
2593
+ proms.push(result.then((result2) => handleCheckPropertyResult(result2, payload, key)));
2594
+ } else {
2595
+ handleCheckPropertyResult(result, payload, key);
2596
+ }
2597
+ }
2598
+ if (proms)
2599
+ return Promise.all(proms).then(() => void 0);
2600
+ return void 0;
2601
+ };
2602
+ });
2562
2603
  var $ZodCheckMimeType = /* @__PURE__ */ $constructor("$ZodCheckMimeType", (inst, def) => {
2563
2604
  $ZodCheck.init(inst, def);
2564
2605
  const mimeSet = new Set(def.mime);
@@ -2626,7 +2667,7 @@ ${content.join("\n")}
2626
2667
  var version = {
2627
2668
  major: 4,
2628
2669
  minor: 6,
2629
- patch: 2
2670
+ patch: 5
2630
2671
  };
2631
2672
 
2632
2673
  // node_modules/zod/v4/core/schemas.js
@@ -2814,11 +2855,32 @@ var $ZodEmail = /* @__PURE__ */ $constructor("$ZodEmail", (inst, def) => {
2814
2855
  });
2815
2856
  var URL_BAD_FORMAT = 1;
2816
2857
  var URL_UNPARSEABLE = 2;
2858
+ function canParseURL(input2) {
2859
+ try {
2860
+ if (typeof URL !== "undefined" && typeof URL.canParse === "function")
2861
+ return URL.canParse(input2);
2862
+ new URL(input2);
2863
+ return true;
2864
+ } catch {
2865
+ return false;
2866
+ }
2867
+ }
2868
+ function validateURL(trimmed, def) {
2869
+ if (!("normalize" in def) && !("hostname" in def) && !("protocol" in def)) {
2870
+ return canParseURL(trimmed) || URL_UNPARSEABLE;
2871
+ }
2872
+ return parseURLObject(trimmed, def);
2873
+ }
2817
2874
  function parseURLObject(trimmed, def) {
2818
2875
  if (!def.normalize && def.protocol?.source === httpProtocol.source && !/^https?:\/\//i.test(trimmed)) {
2819
2876
  return URL_BAD_FORMAT;
2820
2877
  }
2821
2878
  try {
2879
+ if (typeof URL !== "undefined") {
2880
+ const URLStatic = URL;
2881
+ if (typeof URLStatic.parse === "function")
2882
+ return URLStatic.parse(trimmed) ?? URL_UNPARSEABLE;
2883
+ }
2822
2884
  return new URL(trimmed);
2823
2885
  } catch {
2824
2886
  return URL_UNPARSEABLE;
@@ -2841,7 +2903,7 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
2841
2903
  inst._zod.check = (payload) => {
2842
2904
  try {
2843
2905
  const trimmed = payload.value.trim();
2844
- const url2 = parseURLObject(trimmed, def);
2906
+ const url2 = validateURL(trimmed, def);
2845
2907
  if (url2 === URL_BAD_FORMAT) {
2846
2908
  payload.issues.push({
2847
2909
  code: "invalid_format",
@@ -2863,6 +2925,10 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
2863
2925
  });
2864
2926
  return;
2865
2927
  }
2928
+ if (url2 === true) {
2929
+ payload.value = stripTabAndNewline(trimmed);
2930
+ return;
2931
+ }
2866
2932
  if (def.hostname && !urlHostnameOk(url2, def.hostname)) {
2867
2933
  payload.issues.push({
2868
2934
  code: "invalid_format",
@@ -2952,12 +3018,7 @@ var ipv6Alphabet = /^[0-9a-fA-F:.]+$/;
2952
3018
  function isValidIPv6(value) {
2953
3019
  if (!ipv6Alphabet.test(value))
2954
3020
  return false;
2955
- try {
2956
- new URL(`http://[${value}]`);
2957
- return true;
2958
- } catch {
2959
- return false;
2960
- }
3021
+ return canParseURL(`http://[${value}]`);
2961
3022
  }
2962
3023
  var $ZodIPv6 = /* @__PURE__ */ $constructor("$ZodIPv6", (inst, def) => {
2963
3024
  def.pattern ?? (def.pattern = ipv6);
@@ -5022,59 +5083,6 @@ function handleRefineResult(result, payload, input2, inst) {
5022
5083
  payload.issues.push(issue(_iss));
5023
5084
  }
5024
5085
  }
5025
- function handlePropertiesResult(result, payload, key) {
5026
- if (result.issues.length) {
5027
- payload.issues.push(...prefixIssues(key, result.issues));
5028
- }
5029
- }
5030
- var $ZodProperties = /* @__PURE__ */ $constructor("$ZodProperties", (inst, def) => {
5031
- $ZodType.init(inst, def);
5032
- $ZodCheck.init(inst, def);
5033
- const memo3 = globalConfig.memoizer;
5034
- memo3?.attach(inst);
5035
- let entries;
5036
- const runShape = (payload, ctx) => {
5037
- entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
5038
- const input2 = payload.value;
5039
- let proms;
5040
- for (const [key, schema] of entries) {
5041
- const result = schema._zod.run({ value: input2[key], issues: [] }, ctx);
5042
- if (result instanceof Promise) {
5043
- proms ?? (proms = []);
5044
- proms.push(result.then((result2) => handlePropertiesResult(result2, payload, key)));
5045
- } else {
5046
- handlePropertiesResult(result, payload, key);
5047
- }
5048
- }
5049
- if (proms)
5050
- return Promise.all(proms).then(() => void 0);
5051
- return void 0;
5052
- };
5053
- inst._zod.parse = (payload, ctx) => {
5054
- const input2 = payload.value;
5055
- if (input2 === null || typeof input2 !== "object" && typeof input2 !== "function") {
5056
- payload.issues.push({ expected: "object", code: "invalid_type", input: input2, inst });
5057
- return payload;
5058
- }
5059
- if (ctx.direction === "backward")
5060
- ctx = { ...ctx, direction: "forward" };
5061
- if (memo3)
5062
- memo3.alloc(inst, payload, input2, ctx);
5063
- const result = runShape(payload, ctx);
5064
- return result instanceof Promise ? result.then(() => payload) : payload;
5065
- };
5066
- inst._zod.check = (payload) => {
5067
- if (payload.value == null) {
5068
- payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
5069
- return void 0;
5070
- }
5071
- return runShape(payload, {});
5072
- };
5073
- }, {
5074
- *[Symbol.iterator]() {
5075
- yield this;
5076
- }
5077
- });
5078
5086
 
5079
5087
  // node_modules/zod/v4/core/memoizer.js
5080
5088
  var $ZodCyclicError = class extends Error {
@@ -5086,7 +5094,7 @@ var $ZodCyclicError = class extends Error {
5086
5094
  var STATE = "~memo";
5087
5095
  var NO_ISSUES = [];
5088
5096
  function isRef(value) {
5089
- return value !== null && (typeof value === "object" || typeof value === "function");
5097
+ return value !== null && typeof value === "object";
5090
5098
  }
5091
5099
  function cloneIssues(issues) {
5092
5100
  return issues.map((iss) => iss.path ? { ...iss, path: iss.path.slice() } : { ...iss });
@@ -5135,9 +5143,6 @@ function isRecursive(inst, stack, resolve3) {
5135
5143
  check2(def.catchall);
5136
5144
  break;
5137
5145
  }
5138
- case "properties":
5139
- merge2(shape(def.shape, false));
5140
- break;
5141
5146
  case "array":
5142
5147
  check2(def.element);
5143
5148
  break;
@@ -5465,6 +5470,7 @@ var error = () => {
5465
5470
  json_string: "\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",
5466
5471
  e164: "\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",
5467
5472
  credit_card: "\u0631\u0642\u0645 \u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0627\u0626\u062A\u0645\u0627\u0646",
5473
+ currency_code: "\u0631\u0645\u0632 \u0627\u0644\u0639\u0645\u0644\u0629",
5468
5474
  iban: "IBAN",
5469
5475
  jwt: "JWT",
5470
5476
  template_literal: "\u0645\u062F\u062E\u0644"
@@ -5576,6 +5582,7 @@ var error2 = () => {
5576
5582
  json_string: "JSON string",
5577
5583
  e164: "E.164 number",
5578
5584
  credit_card: "kredit kart\u0131 n\xF6mr\u0259si",
5585
+ currency_code: "valyuta kodu",
5579
5586
  iban: "IBAN",
5580
5587
  jwt: "JWT",
5581
5588
  template_literal: "input"
@@ -5736,6 +5743,7 @@ var error3 = () => {
5736
5743
  json_string: "JSON \u0440\u0430\u0434\u043E\u043A",
5737
5744
  e164: "\u043D\u0443\u043C\u0430\u0440 E.164",
5738
5745
  credit_card: "\u043D\u0443\u043C\u0430\u0440 \u043A\u0440\u044D\u0434\u044B\u0442\u043D\u0430\u0439 \u043A\u0430\u0440\u0442\u044B",
5746
+ currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
5739
5747
  iban: "IBAN",
5740
5748
  jwt: "JWT",
5741
5749
  template_literal: "\u0443\u0432\u043E\u0434"
@@ -5854,6 +5862,7 @@ var error4 = () => {
5854
5862
  json_string: "JSON \u043D\u0438\u0437",
5855
5863
  e164: "E.164 \u043D\u043E\u043C\u0435\u0440",
5856
5864
  credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0430",
5865
+ currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
5857
5866
  iban: "IBAN",
5858
5867
  jwt: "JWT",
5859
5868
  template_literal: "\u0432\u0445\u043E\u0434"
@@ -5979,6 +5988,7 @@ var error5 = () => {
5979
5988
  json_string: "JSON \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982",
5980
5989
  e164: "E.164 \u09A8\u09AE\u09CD\u09AC\u09B0",
5981
5990
  credit_card: "\u0995\u09CD\u09B0\u09C7\u09A1\u09BF\u099F \u0995\u09BE\u09B0\u09CD\u09A1 \u09A8\u09AE\u09CD\u09AC\u09B0",
5991
+ currency_code: "\u09AE\u09C1\u09A6\u09CD\u09B0\u09BE \u0995\u09CB\u09A1",
5982
5992
  iban: "IBAN",
5983
5993
  jwt: "JWT",
5984
5994
  template_literal: "\u0987\u09A8\u09AA\u09C1\u099F"
@@ -6092,6 +6102,7 @@ var error6 = () => {
6092
6102
  json_string: "cadena JSON",
6093
6103
  e164: "n\xFAmero E.164",
6094
6104
  credit_card: "n\xFAmero de targeta de cr\xE8dit",
6105
+ currency_code: "codi de moneda",
6095
6106
  iban: "IBAN",
6096
6107
  jwt: "JWT",
6097
6108
  template_literal: "entrada"
@@ -6205,6 +6216,7 @@ var error7 = () => {
6205
6216
  json_string: "\u062F\u06D5\u0642\u06CC JSON",
6206
6217
  e164: "\u0698\u0645\u0627\u0631\u06D5\u06CC E.164",
6207
6218
  credit_card: "\u0698\u0645\u0627\u0631\u06D5\u06CC \u06A9\u0627\u0631\u062A\u06CC \u06A9\u0631\u06CE\u062F\u06CC\u062A",
6219
+ currency_code: "\u06A9\u06C6\u062F\u06CC \u062F\u0631\u0627\u0648",
6208
6220
  iban: "IBAN",
6209
6221
  jwt: "JWT",
6210
6222
  template_literal: "\u062A\u06CE\u06A9\u0631\u062F\u06D5"
@@ -6337,6 +6349,7 @@ var error8 = () => {
6337
6349
  json_string: "\u0159et\u011Bzec ve form\xE1tu JSON",
6338
6350
  e164: "\u010D\xEDslo E.164",
6339
6351
  credit_card: "\u010D\xEDslo kreditn\xED karty",
6352
+ currency_code: "k\xF3d m\u011Bny",
6340
6353
  iban: "IBAN",
6341
6354
  jwt: "JWT",
6342
6355
  template_literal: "vstup"
@@ -6453,6 +6466,7 @@ var error9 = () => {
6453
6466
  json_string: "JSON-streng",
6454
6467
  e164: "E.164-nummer",
6455
6468
  credit_card: "kreditkortnummer",
6469
+ currency_code: "valutakode",
6456
6470
  iban: "IBAN",
6457
6471
  jwt: "JWT",
6458
6472
  template_literal: "input"
@@ -6573,6 +6587,7 @@ var error10 = () => {
6573
6587
  json_string: "JSON-String",
6574
6588
  e164: "E.164-Nummer",
6575
6589
  credit_card: "Kreditkartennummer",
6590
+ currency_code: "W\xE4hrungscode",
6576
6591
  iban: "IBAN",
6577
6592
  jwt: "JWT",
6578
6593
  template_literal: "Eingabe"
@@ -6686,6 +6701,7 @@ var error11 = () => {
6686
6701
  json_string: "\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",
6687
6702
  e164: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",
6688
6703
  credit_card: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 \u03C0\u03B9\u03C3\u03C4\u03C9\u03C4\u03B9\u03BA\u03AE\u03C2 \u03BA\u03AC\u03C1\u03C4\u03B1\u03C2",
6704
+ currency_code: "\u03BA\u03C9\u03B4\u03B9\u03BA\u03CC\u03C2 \u03BD\u03BF\u03BC\u03AF\u03C3\u03BC\u03B1\u03C4\u03BF\u03C2",
6689
6705
  iban: "IBAN",
6690
6706
  jwt: "JWT",
6691
6707
  template_literal: "\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"
@@ -6797,6 +6813,7 @@ var error12 = () => {
6797
6813
  base64url: "base64url-encoded string",
6798
6814
  json_string: "JSON string",
6799
6815
  e164: "E.164 number",
6816
+ currency_code: "currency code",
6800
6817
  credit_card: "credit card number",
6801
6818
  iban: "IBAN",
6802
6819
  jwt: "JWT",
@@ -6922,6 +6939,7 @@ var error13 = () => {
6922
6939
  json_string: "JSON-karaktraro",
6923
6940
  e164: "E.164-nombro",
6924
6941
  credit_card: "kreditkarta numero",
6942
+ currency_code: "valuta kodo",
6925
6943
  iban: "IBAN",
6926
6944
  jwt: "JWT",
6927
6945
  template_literal: "enigo"
@@ -7035,6 +7053,7 @@ var error14 = () => {
7035
7053
  json_string: "cadena JSON",
7036
7054
  e164: "n\xFAmero E.164",
7037
7055
  credit_card: "n\xFAmero de tarjeta de cr\xE9dito",
7056
+ currency_code: "c\xF3digo de moneda",
7038
7057
  iban: "IBAN",
7039
7058
  jwt: "JWT",
7040
7059
  template_literal: "entrada"
@@ -7172,6 +7191,7 @@ var error15 = () => {
7172
7191
  json_string: "JSON \u0631\u0634\u062A\u0647",
7173
7192
  e164: "E.164 \u0639\u062F\u062F",
7174
7193
  credit_card: "\u0634\u0645\u0627\u0631\u0647 \u06A9\u0627\u0631\u062A \u0627\u0639\u062A\u0628\u0627\u0631\u06CC",
7194
+ currency_code: "\u06A9\u062F \u0627\u0631\u0632",
7175
7195
  iban: "IBAN",
7176
7196
  jwt: "JWT",
7177
7197
  template_literal: "\u0648\u0631\u0648\u062F\u06CC"
@@ -7295,6 +7315,7 @@ var error16 = () => {
7295
7315
  json_string: "JSON-merkkijono",
7296
7316
  e164: "E.164-luku",
7297
7317
  credit_card: "luottokortin numero",
7318
+ currency_code: "valuuttakoodi",
7298
7319
  iban: "IBAN",
7299
7320
  jwt: "JWT",
7300
7321
  template_literal: "templaattimerkkijono"
@@ -7407,6 +7428,7 @@ var error17 = () => {
7407
7428
  json_string: "cha\xEEne de caract\xE8res JSON",
7408
7429
  e164: "num\xE9ro au format E.164",
7409
7430
  credit_card: "num\xE9ro de carte de cr\xE9dit",
7431
+ currency_code: "code de devise",
7410
7432
  iban: "IBAN",
7411
7433
  jwt: "JWT",
7412
7434
  template_literal: "entr\xE9e"
@@ -7537,6 +7559,7 @@ var error18 = () => {
7537
7559
  json_string: "cha\xEEne JSON",
7538
7560
  e164: "num\xE9ro E.164",
7539
7561
  credit_card: "num\xE9ro de carte de cr\xE9dit",
7562
+ currency_code: "code de devise",
7540
7563
  iban: "IBAN",
7541
7564
  jwt: "JWT",
7542
7565
  template_literal: "entr\xE9e"
@@ -7649,6 +7672,7 @@ var error19 = () => {
7649
7672
  json_string: "JSON \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97",
7650
7673
  e164: "E.164 \u0AA8\u0A82\u0AAC\u0AB0",
7651
7674
  credit_card: "\u0A95\u0ACD\u0AB0\u0AC7\u0AA1\u0ABF\u0A9F \u0A95\u0ABE\u0AB0\u0ACD\u0AA1 \u0AA8\u0A82\u0AAC\u0AB0",
7675
+ currency_code: "\u0A9A\u0AB2\u0AA3 \u0A95\u0ACB\u0AA1",
7652
7676
  iban: "IBAN",
7653
7677
  jwt: "JWT",
7654
7678
  template_literal: "\u0A87\u0AA8\u0AAA\u0AC1\u0A9F"
@@ -7798,6 +7822,7 @@ var error20 = () => {
7798
7822
  json_string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON", gender: "f" },
7799
7823
  e164: { label: "\u05DE\u05E1\u05E4\u05E8 E.164", gender: "m" },
7800
7824
  credit_card: { label: "\u05DE\u05E1\u05E4\u05E8 \u05DB\u05E8\u05D8\u05D9\u05E1 \u05D0\u05E9\u05E8\u05D0\u05D9", gender: "m" },
7825
+ currency_code: { label: "\u05E7\u05D5\u05D3 \u05DE\u05D8\u05D1\u05E2", gender: "m" },
7801
7826
  iban: { label: "IBAN", gender: "m" },
7802
7827
  jwt: { label: "JWT", gender: "m" },
7803
7828
  template_literal: { label: "\u05E7\u05DC\u05D8", gender: "m" },
@@ -7963,6 +7988,7 @@ var error21 = () => {
7963
7988
  json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917",
7964
7989
  e164: "E.164 \u0938\u0902\u0916\u094D\u092F\u093E",
7965
7990
  credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0938\u0902\u0916\u094D\u092F\u093E",
7991
+ currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
7966
7992
  iban: "IBAN",
7967
7993
  jwt: "JWT",
7968
7994
  template_literal: "\u0907\u0928\u092A\u0941\u091F"
@@ -8073,6 +8099,7 @@ var error22 = () => {
8073
8099
  json_string: "JSON tekst",
8074
8100
  e164: "E.164 broj",
8075
8101
  credit_card: "broj kreditne kartice",
8102
+ currency_code: "kod valute",
8076
8103
  iban: "IBAN",
8077
8104
  jwt: "JWT",
8078
8105
  template_literal: "unos"
@@ -8200,6 +8227,7 @@ var error23 = () => {
8200
8227
  json_string: "JSON string",
8201
8228
  e164: "E.164 sz\xE1m",
8202
8229
  credit_card: "hitelk\xE1rtyasz\xE1m",
8230
+ currency_code: "p\xE9nznemk\xF3d",
8203
8231
  iban: "IBAN",
8204
8232
  jwt: "JWT",
8205
8233
  template_literal: "bemenet"
@@ -8353,6 +8381,7 @@ var error24 = () => {
8353
8381
  json_string: "JSON \u057F\u0578\u0572",
8354
8382
  e164: "E.164 \u0570\u0561\u0574\u0561\u0580",
8355
8383
  credit_card: "\u056F\u0580\u0565\u0564\u056B\u057F \u0584\u0561\u0580\u057F\u056B \u0570\u0561\u0574\u0561\u0580",
8384
+ currency_code: "\u0561\u0580\u056A\u0578\u0582\u0575\u0569\u056B \u056F\u0578\u0564",
8356
8385
  iban: "IBAN",
8357
8386
  jwt: "JWT",
8358
8387
  template_literal: "\u0574\u0578\u0582\u057F\u0584"
@@ -8471,6 +8500,7 @@ var error25 = () => {
8471
8500
  json_string: "string JSON",
8472
8501
  e164: "angka E.164",
8473
8502
  credit_card: "nomor kartu kredit",
8503
+ currency_code: "kode mata uang",
8474
8504
  iban: "IBAN",
8475
8505
  jwt: "JWT",
8476
8506
  template_literal: "input"
@@ -8582,6 +8612,7 @@ var error26 = () => {
8582
8612
  json_string: "JSON strengur",
8583
8613
  e164: "E.164 t\xF6lugildi",
8584
8614
  credit_card: "kreditkortan\xFAmer",
8615
+ currency_code: "gjaldmi\xF0ilsk\xF3\xF0i",
8585
8616
  iban: "IBAN",
8586
8617
  jwt: "JWT",
8587
8618
  template_literal: "gildi"
@@ -8696,6 +8727,7 @@ var error27 = () => {
8696
8727
  json_string: "stringa JSON",
8697
8728
  e164: "numero E.164",
8698
8729
  credit_card: "numero di carta di credito",
8730
+ currency_code: "codice valuta",
8699
8731
  iban: "IBAN",
8700
8732
  jwt: "JWT",
8701
8733
  template_literal: "input"
@@ -8809,6 +8841,7 @@ var error28 = () => {
8809
8841
  json_string: "JSON\u6587\u5B57\u5217",
8810
8842
  e164: "E.164\u756A\u53F7",
8811
8843
  credit_card: "\u30AF\u30EC\u30B8\u30C3\u30C8\u30AB\u30FC\u30C9\u756A\u53F7",
8844
+ currency_code: "\u901A\u8CA8\u30B3\u30FC\u30C9",
8812
8845
  iban: "IBAN",
8813
8846
  jwt: "JWT",
8814
8847
  template_literal: "\u5165\u529B\u5024"
@@ -8921,6 +8954,7 @@ var error29 = () => {
8921
8954
  json_string: "JSON \u10D5\u10D4\u10DA\u10D8",
8922
8955
  e164: "E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
8923
8956
  credit_card: "\u10E1\u10D0\u10D9\u10E0\u10D4\u10D3\u10D8\u10E2\u10DD \u10D1\u10D0\u10E0\u10D0\u10D7\u10D8\u10E1 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
8957
+ currency_code: "\u10D5\u10D0\u10DA\u10E3\u10E2\u10D8\u10E1 \u10D9\u10DD\u10D3\u10D8",
8924
8958
  iban: "IBAN",
8925
8959
  jwt: "JWT",
8926
8960
  template_literal: "\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"
@@ -9038,6 +9072,7 @@ var error30 = () => {
9038
9072
  json_string: "\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",
9039
9073
  e164: "\u179B\u17C1\u1781 E.164",
9040
9074
  credit_card: "\u179B\u17C1\u1781\u1794\u17D0\u178E\u17D2\u178E\u17A5\u178E\u1791\u17B6\u1793",
9075
+ currency_code: "\u1780\u17BC\u178A\u179A\u17BC\u1794\u17B7\u1799\u1794\u17D0\u178E\u17D2\u178E",
9041
9076
  iban: "IBAN",
9042
9077
  jwt: "JWT",
9043
9078
  template_literal: "\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"
@@ -9158,6 +9193,7 @@ var error31 = () => {
9158
9193
  json_string: "JSON\u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD",
9159
9194
  e164: "E.164 \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
9160
9195
  credit_card: "\u0C95\u0CCD\u0CB0\u0CC6\u0CA1\u0CBF\u0C9F\u0CCD \u0C95\u0CBE\u0CB0\u0CCD\u0CA1\u0CCD \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
9196
+ currency_code: "\u0C95\u0CB0\u0CC6\u0CA8\u0CCD\u0CB8\u0CBF \u0C95\u0CCB\u0CA1\u0CCD",
9161
9197
  iban: "IBAN",
9162
9198
  jwt: "JWT",
9163
9199
  template_literal: "\u0C87\u0CA8\u0CCD\u0CAA\u0CC1\u0C9F\u0CCD"
@@ -9273,6 +9309,7 @@ var error32 = () => {
9273
9309
  json_string: "JSON \uBB38\uC790\uC5F4",
9274
9310
  e164: "E.164 \uBC88\uD638",
9275
9311
  credit_card: "\uC2E0\uC6A9\uCE74\uB4DC \uBC88\uD638",
9312
+ currency_code: "\uD1B5\uD654 \uCF54\uB4DC",
9276
9313
  iban: "IBAN",
9277
9314
  jwt: "JWT",
9278
9315
  template_literal: "\uC785\uB825"
@@ -9471,6 +9508,7 @@ var error33 = () => {
9471
9508
  json_string: "JSON eilut\u0117",
9472
9509
  e164: "E.164 numeris",
9473
9510
  credit_card: "kredito kortel\u0117s numeris",
9511
+ currency_code: "valiutos kodas",
9474
9512
  iban: "IBAN",
9475
9513
  jwt: "JWT",
9476
9514
  template_literal: "\u012Fvestis"
@@ -9596,6 +9634,7 @@ var error34 = () => {
9596
9634
  json_string: "JSON \u043D\u0438\u0437\u0430",
9597
9635
  e164: "E.164 \u0431\u0440\u043E\u0458",
9598
9636
  credit_card: "\u0431\u0440\u043E\u0458 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u0447\u043A\u0430",
9637
+ currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
9599
9638
  iban: "IBAN",
9600
9639
  jwt: "JWT",
9601
9640
  template_literal: "\u0432\u043D\u0435\u0441"
@@ -9710,6 +9749,7 @@ var error35 = () => {
9710
9749
  json_string: "string JSON",
9711
9750
  e164: "nombor E.164",
9712
9751
  credit_card: "nombor kad kredit",
9752
+ currency_code: "kod mata wang",
9713
9753
  iban: "IBAN",
9714
9754
  jwt: "JWT",
9715
9755
  template_literal: "input"
@@ -9822,6 +9862,7 @@ var error36 = () => {
9822
9862
  json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0919",
9823
9863
  e164: "E.164 \u0928\u092E\u094D\u092C\u0930",
9824
9864
  credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0928\u092E\u094D\u092C\u0930",
9865
+ currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
9825
9866
  iban: "IBAN",
9826
9867
  jwt: "JWT",
9827
9868
  template_literal: "\u0907\u0928\u092A\u0941\u091F"
@@ -9933,6 +9974,7 @@ var error37 = () => {
9933
9974
  json_string: "JSON string",
9934
9975
  e164: "E.164-nummer",
9935
9976
  credit_card: "creditcardnummer",
9977
+ currency_code: "valutacode",
9936
9978
  iban: "IBAN",
9937
9979
  jwt: "JWT",
9938
9980
  template_literal: "invoer"
@@ -10048,6 +10090,7 @@ var error38 = () => {
10048
10090
  json_string: "JSON-streng",
10049
10091
  e164: "E.164-nummer",
10050
10092
  credit_card: "kredittkortnummer",
10093
+ currency_code: "valutakode",
10051
10094
  iban: "IBAN",
10052
10095
  jwt: "JWT",
10053
10096
  template_literal: "input"
@@ -10161,6 +10204,7 @@ var error39 = () => {
10161
10204
  json_string: "JSON-streng",
10162
10205
  e164: "E.164-nummer",
10163
10206
  credit_card: "kredittkortnummer",
10207
+ currency_code: "valutakode",
10164
10208
  iban: "IBAN",
10165
10209
  jwt: "JWT",
10166
10210
  template_literal: "input"
@@ -10274,6 +10318,7 @@ var error40 = () => {
10274
10318
  json_string: "JSON metin",
10275
10319
  e164: "E.164 say\u0131s\u0131",
10276
10320
  credit_card: "i'tib\xE2r kart\u0131 numaras\u0131",
10321
+ currency_code: "para birimi kodu",
10277
10322
  iban: "IBAN",
10278
10323
  jwt: "JWT",
10279
10324
  template_literal: "giren"
@@ -10388,6 +10433,7 @@ var error41 = () => {
10388
10433
  json_string: "JSON \u0645\u062A\u0646",
10389
10434
  e164: "\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",
10390
10435
  credit_card: "\u062F \u06A9\u0631\u06CC\u0689\u06CC\u067C \u06A9\u0627\u0631\u062A \u0634\u0645\u06CC\u0631\u0647",
10436
+ currency_code: "\u062F \u0627\u0633\u0639\u0627\u0631\u0648 \u06A9\u0648\u0689",
10391
10437
  iban: "IBAN",
10392
10438
  jwt: "JWT",
10393
10439
  template_literal: "\u0648\u0631\u0648\u062F\u064A"
@@ -10507,6 +10553,7 @@ var error42 = () => {
10507
10553
  json_string: "ci\u0105g znak\xF3w w formacie JSON",
10508
10554
  e164: "liczba E.164",
10509
10555
  credit_card: "numer karty kredytowej",
10556
+ currency_code: "kod waluty",
10510
10557
  iban: "IBAN",
10511
10558
  jwt: "JWT",
10512
10559
  template_literal: "wej\u015Bcie"
@@ -10621,6 +10668,7 @@ var error43 = () => {
10621
10668
  json_string: "o texto JSON",
10622
10669
  e164: "o n\xFAmero E.164",
10623
10670
  credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
10671
+ currency_code: "o c\xF3digo de moeda",
10624
10672
  iban: "o IBAN",
10625
10673
  jwt: "o JWT",
10626
10674
  template_literal: "a entrada"
@@ -10764,6 +10812,7 @@ var error44 = () => {
10764
10812
  json_string: "o texto JSON",
10765
10813
  e164: "o n\xFAmero E.164",
10766
10814
  credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
10815
+ currency_code: "o c\xF3digo de moeda",
10767
10816
  iban: "o IBAN",
10768
10817
  jwt: "o JWT",
10769
10818
  template_literal: "a entrada"
@@ -10908,6 +10957,7 @@ var error45 = () => {
10908
10957
  json_string: "\u0219ir JSON",
10909
10958
  e164: "num\u0103r E.164",
10910
10959
  credit_card: "num\u0103r de card de credit",
10960
+ currency_code: "cod valutar",
10911
10961
  iban: "IBAN",
10912
10962
  jwt: "JWT",
10913
10963
  template_literal: "intrare"
@@ -11080,6 +11130,7 @@ var error46 = () => {
11080
11130
  json_string: "JSON \u0441\u0442\u0440\u043E\u043A\u0430",
11081
11131
  e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
11082
11132
  credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0439 \u043A\u0430\u0440\u0442\u044B",
11133
+ currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
11083
11134
  iban: "IBAN",
11084
11135
  jwt: "JWT",
11085
11136
  template_literal: "\u0432\u0432\u043E\u0434"
@@ -11198,6 +11249,7 @@ var error47 = () => {
11198
11249
  json_string: "re\u0165azec vo form\xE1te JSON",
11199
11250
  e164: "\u010D\xEDslo E.164",
11200
11251
  credit_card: "\u010D\xEDslo kreditnej karty",
11252
+ currency_code: "k\xF3d meny",
11201
11253
  iban: "IBAN",
11202
11254
  jwt: "JWT",
11203
11255
  template_literal: "vstup"
@@ -11314,6 +11366,7 @@ var error48 = () => {
11314
11366
  json_string: "JSON niz",
11315
11367
  e164: "E.164 \u0161tevilka",
11316
11368
  credit_card: "\u0161tevilka kreditne kartice",
11369
+ currency_code: "koda valute",
11317
11370
  iban: "IBAN",
11318
11371
  jwt: "JWT",
11319
11372
  template_literal: "vnos"
@@ -11428,6 +11481,7 @@ var error49 = () => {
11428
11481
  json_string: "JSON-str\xE4ng",
11429
11482
  e164: "E.164-nummer",
11430
11483
  credit_card: "kreditkortsnummer",
11484
+ currency_code: "valutakod",
11431
11485
  iban: "IBAN",
11432
11486
  jwt: "JWT",
11433
11487
  template_literal: "mall-literal"
@@ -11543,6 +11597,7 @@ var error50 = () => {
11543
11597
  json_string: "JSON \u0B9A\u0BB0\u0BAE\u0BCD",
11544
11598
  e164: "E.164 \u0B8E\u0BA3\u0BCD",
11545
11599
  credit_card: "\u0B95\u0B9F\u0BA9\u0BCD \u0B85\u0B9F\u0BCD\u0B9F\u0BC8 \u0B8E\u0BA3\u0BCD",
11600
+ currency_code: "\u0BA8\u0BBE\u0BA3\u0BAF\u0B95\u0BCD \u0B95\u0BC1\u0BB1\u0BBF\u0BAF\u0BC0\u0B9F\u0BC1",
11546
11601
  iban: "IBAN",
11547
11602
  jwt: "JWT",
11548
11603
  template_literal: "input"
@@ -11658,6 +11713,7 @@ var error51 = () => {
11658
11713
  json_string: "\u0441\u0430\u0442\u0440\u0438 JSON",
11659
11714
  e164: "\u0440\u0430\u049B\u0430\u043C\u0438 E.164",
11660
11715
  credit_card: "\u0440\u0430\u049B\u0430\u043C\u0438 \u043A\u043E\u0440\u0442\u0438 \u043A\u0440\u0435\u0434\u0438\u0442\u04E3",
11716
+ currency_code: "\u0440\u0430\u043C\u0437\u0438 \u0430\u0441\u044A\u043E\u0440",
11661
11717
  iban: "IBAN",
11662
11718
  jwt: "JWT",
11663
11719
  template_literal: "\u0432\u0443\u0440\u0443\u0434"
@@ -11774,6 +11830,7 @@ var error52 = () => {
11774
11830
  json_string: "\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",
11775
11831
  e164: "\u0E40\u0E1A\u0E2D\u0E23\u0E4C\u0E42\u0E17\u0E23\u0E28\u0E31\u0E1E\u0E17\u0E4C\u0E23\u0E30\u0E2B\u0E27\u0E48\u0E32\u0E07\u0E1B\u0E23\u0E30\u0E40\u0E17\u0E28 (E.164)",
11776
11832
  credit_card: "\u0E2B\u0E21\u0E32\u0E22\u0E40\u0E25\u0E02\u0E1A\u0E31\u0E15\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15",
11833
+ currency_code: "\u0E23\u0E2B\u0E31\u0E2A\u0E2A\u0E01\u0E38\u0E25\u0E40\u0E07\u0E34\u0E19",
11777
11834
  iban: "IBAN",
11778
11835
  jwt: "\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",
11779
11836
  template_literal: "\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"
@@ -11889,6 +11946,7 @@ var error53 = () => {
11889
11946
  json_string: "JSON setiri",
11890
11947
  e164: "E.164 nomeri",
11891
11948
  credit_card: "kredit kartyny\u0148 nomeri",
11949
+ currency_code: "wal\xFDuta kody",
11892
11950
  iban: "IBAN",
11893
11951
  jwt: "JWT",
11894
11952
  template_literal: "\u015Fablon"
@@ -11996,6 +12054,7 @@ var error54 = () => {
11996
12054
  json_string: "JSON dizesi",
11997
12055
  e164: "E.164 say\u0131s\u0131",
11998
12056
  credit_card: "kredi kart\u0131 numaras\u0131",
12057
+ currency_code: "para birimi kodu",
11999
12058
  iban: "IBAN",
12000
12059
  jwt: "JWT",
12001
12060
  template_literal: "\u015Eablon dizesi"
@@ -12106,6 +12165,7 @@ var error55 = () => {
12106
12165
  json_string: "\u0440\u044F\u0434\u043E\u043A JSON",
12107
12166
  e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
12108
12167
  credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0457 \u043A\u0430\u0440\u0442\u043A\u0438",
12168
+ currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u0438",
12109
12169
  iban: "IBAN",
12110
12170
  jwt: "JWT",
12111
12171
  template_literal: "\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"
@@ -12224,6 +12284,7 @@ var error56 = () => {
12224
12284
  json_string: "\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",
12225
12285
  e164: "\u0627\u06CC 164 \u0646\u0645\u0628\u0631",
12226
12286
  credit_card: "\u06A9\u0631\u06CC\u0688\u0679 \u06A9\u0627\u0631\u0688 \u0646\u0645\u0628\u0631",
12287
+ currency_code: "\u06A9\u0631\u0646\u0633\u06CC \u06A9\u0648\u0688",
12227
12288
  iban: "IBAN",
12228
12289
  jwt: "\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",
12229
12290
  template_literal: "\u0627\u0646 \u067E\u0679"
@@ -12339,6 +12400,7 @@ var error57 = () => {
12339
12400
  json_string: "JSON satr",
12340
12401
  e164: "E.164 raqam",
12341
12402
  credit_card: "kredit karta raqami",
12403
+ currency_code: "valyuta kodi",
12342
12404
  iban: "IBAN",
12343
12405
  jwt: "JWT",
12344
12406
  template_literal: "kirish"
@@ -12452,6 +12514,7 @@ var error58 = () => {
12452
12514
  json_string: "chu\u1ED7i JSON",
12453
12515
  e164: "s\u1ED1 E.164",
12454
12516
  credit_card: "s\u1ED1 th\u1EBB t\xEDn d\u1EE5ng",
12517
+ currency_code: "m\xE3 ti\u1EC1n t\u1EC7",
12455
12518
  iban: "IBAN",
12456
12519
  jwt: "JWT",
12457
12520
  template_literal: "\u0111\u1EA7u v\xE0o"
@@ -12565,6 +12628,7 @@ var error59 = () => {
12565
12628
  json_string: "JSON\u5B57\u7B26\u4E32",
12566
12629
  e164: "E.164\u53F7\u7801",
12567
12630
  credit_card: "\u4FE1\u7528\u5361\u53F7",
12631
+ currency_code: "\u8D27\u5E01\u4EE3\u7801",
12568
12632
  iban: "IBAN",
12569
12633
  jwt: "JWT",
12570
12634
  template_literal: "\u8F93\u5165"
@@ -12679,6 +12743,7 @@ var error60 = () => {
12679
12743
  json_string: "JSON \u5B57\u4E32",
12680
12744
  e164: "E.164 \u6578\u503C",
12681
12745
  credit_card: "\u4FE1\u7528\u5361\u865F",
12746
+ currency_code: "\u8CA8\u5E63\u4EE3\u78BC",
12682
12747
  iban: "IBAN",
12683
12748
  jwt: "JWT",
12684
12749
  template_literal: "\u8F38\u5165"
@@ -12791,6 +12856,7 @@ var error61 = () => {
12791
12856
  json_string: "\u1ECD\u0300r\u1ECD\u0300 JSON",
12792
12857
  e164: "n\u1ECD\u0301mb\xE0 E.164",
12793
12858
  credit_card: "n\u1ECDmba kaadi gbese",
12859
+ currency_code: "koodu ow\xF3",
12794
12860
  iban: "IBAN",
12795
12861
  jwt: "JWT",
12796
12862
  template_literal: "\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"
@@ -13169,7 +13235,7 @@ function generateChecks(doc, ctx, schema, accessor) {
13169
13235
  generatePropertyCheck(doc, ctx, def, currentAccessor);
13170
13236
  break;
13171
13237
  case "properties":
13172
- generatePropertiesChecks(doc, ctx, def, currentAccessor, false);
13238
+ generatePropertiesChecks(doc, ctx, def, currentAccessor);
13173
13239
  break;
13174
13240
  case "overwrite": {
13175
13241
  const newAccessor = newVar(ctx);
@@ -13279,11 +13345,11 @@ function generateMimeTypeCheck(doc, ctx, def, accessor) {
13279
13345
  doc.write(`if (!${mimeSet}.has(${accessor}.type)) return INVALID;`);
13280
13346
  }
13281
13347
  }
13282
- function generatePropertiesChecks(doc, ctx, def, accessor, schemaRole) {
13348
+ function generatePropertiesChecks(doc, ctx, def, accessor) {
13283
13349
  if (def.when) {
13284
13350
  throw new ZodCompileUnsupportedError(`check with a custom "when" condition`);
13285
13351
  }
13286
- doc.write(schemaRole ? `if (${accessor} === null || (typeof ${accessor} !== "object" && typeof ${accessor} !== "function")) return INVALID;` : `if (${accessor} == null) return INVALID;`);
13352
+ doc.write(`if (${accessor} == null) return INVALID;`);
13287
13353
  const shape = def.shape;
13288
13354
  for (const key of Reflect.ownKeys(shape)) {
13289
13355
  const keyExpr = typeof key === "symbol" ? addConstant(ctx, key) : esc(key);
@@ -13373,7 +13439,7 @@ var PATTERN_IS_COMPLETE = /* @__PURE__ */ new Set([
13373
13439
  "uuid",
13374
13440
  "xid"
13375
13441
  ]);
13376
- function generateStringFormatCheck(doc, ctx, def, accessor) {
13442
+ function generateStringFormatCheck(doc, ctx, def, accessor, needsValue = true) {
13377
13443
  const fmt = def.format;
13378
13444
  if (fmt === "base64") {
13379
13445
  const validator = addConstant(ctx, isValidBase64);
@@ -13413,7 +13479,7 @@ function generateStringFormatCheck(doc, ctx, def, accessor) {
13413
13479
  }
13414
13480
  const formatDef = def;
13415
13481
  if (fmt === "url" || fmt === "httpurl" || formatDef.normalize || formatDef.hostname !== void 0 || formatDef.protocol !== void 0) {
13416
- const parseConst = addConstant(ctx, parseURLObject);
13482
+ const parseConst = addConstant(ctx, validateURL);
13417
13483
  const defConst = addConstant(ctx, def);
13418
13484
  const trimVar = newVar(ctx);
13419
13485
  const urlVar = newVar(ctx);
@@ -13428,6 +13494,8 @@ function generateStringFormatCheck(doc, ctx, def, accessor) {
13428
13494
  const protocolConst = addConstant(ctx, urlProtocolOk);
13429
13495
  doc.write(`if (!${protocolConst}(${urlVar}, ${defConst}.protocol)) return INVALID;`);
13430
13496
  }
13497
+ if (!needsValue)
13498
+ return null;
13431
13499
  const outputVar = newVar(ctx);
13432
13500
  const outputExpr = formatDef.normalize ? `${urlVar}.href` : `${addConstant(ctx, stripTabAndNewline)}(${trimVar})`;
13433
13501
  doc.write(`const ${outputVar} = ${outputExpr};`);
@@ -13487,7 +13555,7 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
13487
13555
  let typeAccessor;
13488
13556
  switch (type) {
13489
13557
  case "string":
13490
- typeAccessor = generateStringCheck(doc, ctx, schema, accessor);
13558
+ typeAccessor = generateStringCheck(doc, ctx, schema, accessor, buildsValue);
13491
13559
  break;
13492
13560
  case "number":
13493
13561
  typeAccessor = generateNumberCheck(doc, schema, accessor);
@@ -13593,10 +13661,6 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
13593
13661
  case "custom":
13594
13662
  typeAccessor = generateCustomCheck(doc, ctx, schema, accessor);
13595
13663
  break;
13596
- case "properties":
13597
- generatePropertiesChecks(doc, ctx, schema._zod.def, accessor, true);
13598
- typeAccessor = accessor;
13599
- break;
13600
13664
  case "transform":
13601
13665
  typeAccessor = generateTransformCheck(doc, ctx, schema, accessor);
13602
13666
  break;
@@ -13612,12 +13676,12 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
13612
13676
  return null;
13613
13677
  return generateChecks(doc, ctx, schema, typeAccessor);
13614
13678
  }
13615
- function generateStringCheck(doc, ctx, schema, accessor) {
13679
+ function generateStringCheck(doc, ctx, schema, accessor, needsValue = true) {
13616
13680
  doc.write(`if (typeof ${accessor} !== "string") return INVALID;`);
13617
13681
  const def = schema._zod.def;
13618
13682
  if (def.format === void 0)
13619
13683
  return accessor;
13620
- return generateStringFormatCheck(doc, ctx, def, accessor);
13684
+ return generateStringFormatCheck(doc, ctx, def, accessor, needsValue);
13621
13685
  }
13622
13686
  function generateNumberCheck(doc, schema, accessor) {
13623
13687
  doc.write(`if (typeof ${accessor} !== "number" || !Number.isFinite(${accessor})) return INVALID;`);
@@ -14517,20 +14581,18 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
14517
14581
  }
14518
14582
 
14519
14583
  // node_modules/zod/v4/core/api.js
14584
+ function snapshotChecks(def) {
14585
+ if (def.checks)
14586
+ def.checks = [...def.checks];
14587
+ return def;
14588
+ }
14520
14589
  // @__NO_SIDE_EFFECTS__
14521
14590
  function _string(Class2, params) {
14522
- return new Class2({
14523
- type: "string",
14524
- ...normalizeParams(params)
14525
- });
14591
+ return new Class2(snapshotChecks({ type: "string", ...normalizeParams(params) }));
14526
14592
  }
14527
14593
  // @__NO_SIDE_EFFECTS__
14528
14594
  function _coercedString(Class2, params) {
14529
- return new Class2({
14530
- type: "string",
14531
- coerce: true,
14532
- ...normalizeParams(params)
14533
- });
14595
+ return new Class2(snapshotChecks({ type: "string", coerce: true, ...normalizeParams(params) }));
14534
14596
  }
14535
14597
  // @__NO_SIDE_EFFECTS__
14536
14598
  function _email(Class2, params) {
@@ -14834,20 +14896,11 @@ function _isoDuration(Class2, params) {
14834
14896
  }
14835
14897
  // @__NO_SIDE_EFFECTS__
14836
14898
  function _number(Class2, params) {
14837
- return new Class2({
14838
- type: "number",
14839
- checks: [],
14840
- ...normalizeParams(params)
14841
- });
14899
+ return new Class2(snapshotChecks({ type: "number", checks: [], ...normalizeParams(params) }));
14842
14900
  }
14843
14901
  // @__NO_SIDE_EFFECTS__
14844
14902
  function _coercedNumber(Class2, params) {
14845
- return new Class2({
14846
- type: "number",
14847
- coerce: true,
14848
- checks: [],
14849
- ...normalizeParams(params)
14850
- });
14903
+ return new Class2(snapshotChecks({ type: "number", coerce: true, checks: [], ...normalizeParams(params) }));
14851
14904
  }
14852
14905
  // @__NO_SIDE_EFFECTS__
14853
14906
  function _int(Class2, params) {
@@ -15189,9 +15242,8 @@ function _property(property, schema, params) {
15189
15242
  });
15190
15243
  }
15191
15244
  // @__NO_SIDE_EFFECTS__
15192
- function _properties(Class2, shape, params) {
15193
- return new Class2({
15194
- type: "properties",
15245
+ function _properties(shape, params) {
15246
+ return new $ZodCheckProperties({
15195
15247
  check: "properties",
15196
15248
  shape,
15197
15249
  ...normalizeParams(params)
@@ -15826,11 +15878,11 @@ function foldObjects(members2) {
15826
15878
  }
15827
15879
  objects.push(member);
15828
15880
  }
15829
- const properties2 = {};
15881
+ const properties = {};
15830
15882
  const required2 = /* @__PURE__ */ new Set();
15831
15883
  for (const object2 of objects) {
15832
15884
  for (const key in object2.properties) {
15833
- if (Object.prototype.hasOwnProperty.call(properties2, key))
15885
+ if (Object.prototype.hasOwnProperty.call(properties, key))
15834
15886
  continue;
15835
15887
  const parts = [];
15836
15888
  for (const other of objects) {
@@ -15841,12 +15893,12 @@ function foldObjects(members2) {
15841
15893
  parts.push(part);
15842
15894
  }
15843
15895
  const merged = parts.length === 1 ? parts[0] : foldObjects(parts) ?? { allOf: parts };
15844
- assignProp(properties2, key, merged);
15896
+ assignProp(properties, key, merged);
15845
15897
  }
15846
15898
  for (const key of object2.required ?? [])
15847
15899
  required2.add(key);
15848
15900
  }
15849
- const folded = { type: "object", properties: properties2 };
15901
+ const folded = { type: "object", properties };
15850
15902
  if (required2.size)
15851
15903
  folded.required = [...required2];
15852
15904
  if (objects.every((object2) => object2.additionalProperties === false)) {
@@ -16468,17 +16520,15 @@ var objectProcessor = (schema, ctx, _json, params) => {
16468
16520
  path: [...params.path, "properties", key]
16469
16521
  }));
16470
16522
  }
16471
- const allKeys = new Set(Object.keys(shape));
16472
- const requiredKeys = new Set([...allKeys].filter((key) => {
16523
+ const requiredKeys = [];
16524
+ for (const key of Object.keys(shape)) {
16473
16525
  const field = def.shape[key];
16474
- if (ctx.io === "input") {
16475
- return inputOptin(field) === void 0;
16476
- } else {
16477
- return field._zod.optout === void 0;
16526
+ if (ctx.io === "input" ? inputOptin(field) === void 0 : field._zod.optout === void 0) {
16527
+ requiredKeys.push(key);
16478
16528
  }
16479
- }));
16480
- if (requiredKeys.size > 0) {
16481
- json2.required = Array.from(requiredKeys);
16529
+ }
16530
+ if (requiredKeys.length > 0) {
16531
+ json2.required = requiredKeys;
16482
16532
  }
16483
16533
  if (def.catchall?._zod.def.type === "never") {
16484
16534
  json2.additionalProperties = false;
@@ -16492,31 +16542,6 @@ var objectProcessor = (schema, ctx, _json, params) => {
16492
16542
  });
16493
16543
  }
16494
16544
  };
16495
- var propertiesProcessor = (schema, ctx, _json, params) => {
16496
- const json2 = _json;
16497
- const def = schema._zod.def;
16498
- if (Object.getOwnPropertySymbols(def.shape).length && handleUnrepresentable(schema, ctx, json2, params, "Symbol keys cannot be represented in JSON Schema")) {
16499
- return;
16500
- }
16501
- if (ctx.io === "output") {
16502
- for (const key in def.shape) {
16503
- if (isTransforming(def.shape[key]) && handleUnrepresentable(schema, ctx, json2, params, `z.properties() returns its input, so the output of a transforming schema at key "${key}" cannot be represented in JSON Schema`)) {
16504
- return;
16505
- }
16506
- }
16507
- }
16508
- json2.type = "object";
16509
- json2.properties = {};
16510
- for (const key in def.shape) {
16511
- assignProp(json2.properties, key, processSchema(def.shape[key], ctx, {
16512
- ...params,
16513
- path: [...params.path, "properties", key]
16514
- }));
16515
- }
16516
- const required2 = Object.keys(def.shape).filter((key) => inputOptin(def.shape[key]) === void 0);
16517
- if (required2.length > 0)
16518
- json2.required = required2;
16519
- };
16520
16545
  var unionProcessor = (schema, ctx, json2, params) => {
16521
16546
  const def = schema._zod.def;
16522
16547
  const isExclusive = def.inclusive === false;
@@ -16836,7 +16861,6 @@ var allProcessors = {
16836
16861
  file: fileProcessor,
16837
16862
  success: successProcessor,
16838
16863
  custom: customProcessor,
16839
- properties: propertiesProcessor,
16840
16864
  function: functionProcessor,
16841
16865
  transform: transformProcessor,
16842
16866
  map: mapProcessor,
@@ -17033,7 +17057,6 @@ __export(schemas_exports2, {
17033
17057
  ZodPrefault: () => ZodPrefault,
17034
17058
  ZodPreprocess: () => ZodPreprocess,
17035
17059
  ZodPromise: () => ZodPromise,
17036
- ZodProperties: () => ZodProperties,
17037
17060
  ZodReadonly: () => ZodReadonly,
17038
17061
  ZodRecord: () => ZodRecord,
17039
17062
  ZodSet: () => ZodSet,
@@ -17071,6 +17094,7 @@ __export(schemas_exports2, {
17071
17094
  creditCard: () => creditCard2,
17072
17095
  cuid: () => cuid3,
17073
17096
  cuid2: () => cuid22,
17097
+ currencyCode: () => currencyCode2,
17074
17098
  custom: () => custom,
17075
17099
  date: () => date2,
17076
17100
  describe: () => describe2,
@@ -17125,7 +17149,6 @@ __export(schemas_exports2, {
17125
17149
  prefault: () => prefault,
17126
17150
  preprocess: () => preprocess,
17127
17151
  promise: () => promise,
17128
- properties: () => properties,
17129
17152
  readonly: () => readonly,
17130
17153
  record: () => record,
17131
17154
  refine: () => refine,
@@ -17179,6 +17202,7 @@ __export(checks_exports2, {
17179
17202
  normalize: () => _normalize,
17180
17203
  overwrite: () => _overwrite,
17181
17204
  positive: () => _positive,
17205
+ properties: () => _properties,
17182
17206
  property: () => _property,
17183
17207
  regex: () => _regex,
17184
17208
  size: () => _size,
@@ -17638,8 +17662,8 @@ function url(params) {
17638
17662
  }
17639
17663
  function httpUrl(params) {
17640
17664
  return _url(ZodURL, {
17641
- protocol: regexes_exports.httpProtocol,
17642
- hostname: regexes_exports.domain,
17665
+ protocol: httpProtocol,
17666
+ hostname: domain,
17643
17667
  ...util_exports.normalizeParams(params)
17644
17668
  });
17645
17669
  }
@@ -17777,10 +17801,13 @@ function stringFormat(format, fnOrRegex, _params = {}) {
17777
17801
  return _stringFormat(ZodCustomStringFormat, format, fnOrRegex, _params);
17778
17802
  }
17779
17803
  function hostname2(_params) {
17780
- return _stringFormat(ZodCustomStringFormat, "hostname", regexes_exports.hostname, _params);
17804
+ return _stringFormat(ZodCustomStringFormat, "hostname", hostname, _params);
17781
17805
  }
17782
17806
  function hex2(_params) {
17783
- return _stringFormat(ZodCustomStringFormat, "hex", regexes_exports.hex, _params);
17807
+ return _stringFormat(ZodCustomStringFormat, "hex", hex, _params);
17808
+ }
17809
+ function currencyCode2(_params) {
17810
+ return _stringFormat(ZodCustomStringFormat, "currency_code", currencyCode, _params);
17784
17811
  }
17785
17812
  function hash(alg, params) {
17786
17813
  const enc = params?.enc ?? "hex";
@@ -18645,14 +18672,6 @@ var ZodCustom = /* @__PURE__ */ $constructor("ZodCustom", (inst, def) => {
18645
18672
  ZodType.init(inst, def);
18646
18673
  inst._zod.processJSONSchema = (ctx, json2, params) => customProcessor(inst, ctx, json2, params);
18647
18674
  });
18648
- var ZodProperties = /* @__PURE__ */ $constructor("ZodProperties", (inst, def) => {
18649
- _ensureDefaultMemoizer();
18650
- $ZodProperties.init(inst, def);
18651
- ZodType.init(inst, def);
18652
- });
18653
- function properties(shape, params) {
18654
- return _properties(ZodProperties, shape, params);
18655
- }
18656
18675
  function check(fn) {
18657
18676
  const ch = new $ZodCheck({
18658
18677
  check: "custom"
@@ -18676,7 +18695,7 @@ var ZodInstanceOf = /* @__PURE__ */ $constructor("ZodInstanceOf", (inst, def) =>
18676
18695
  ZodCustom.init(inst, def);
18677
18696
  }, {
18678
18697
  properties(shape, params) {
18679
- return this.check(properties(shape, params));
18698
+ return this.check(_properties(shape, params));
18680
18699
  }
18681
18700
  });
18682
18701
  function _instanceof(cls, params = {}) {
@@ -19263,10 +19282,10 @@ function convertBaseSchema(schema, ctx) {
19263
19282
  }
19264
19283
  case "object": {
19265
19284
  const shape = {};
19266
- const properties2 = schema.properties || {};
19285
+ const properties = schema.properties || {};
19267
19286
  const requiredSet = new Set(schema.required || []);
19268
19287
  const additionalSchema = typeof schema.additionalProperties === "object" ? convertSchema(schema.additionalProperties, ctx) : void 0;
19269
- for (const [key, propSchema] of Object.entries(properties2)) {
19288
+ for (const [key, propSchema] of Object.entries(properties)) {
19270
19289
  const propZodSchema = convertSchema(propSchema, ctx);
19271
19290
  assignProp(shape, key, requiredSet.has(key) ? propZodSchema : propZodSchema.optional());
19272
19291
  }
@@ -19627,18 +19646,6 @@ function visit(schema, fnOrHandlers) {
19627
19646
  const { _cachedInner, ...rest } = def;
19628
19647
  return clone(s, { ...rest, getter: () => run(original()) });
19629
19648
  }
19630
- case "properties": {
19631
- const oldShape = def.shape;
19632
- let changed = false;
19633
- const newShape = {};
19634
- for (const k of Reflect.ownKeys(oldShape)) {
19635
- const mapped = run(oldShape[k]);
19636
- if (mapped !== oldShape[k])
19637
- changed = true;
19638
- newShape[k] = mapped;
19639
- }
19640
- return changed ? clone(s, { ...def, shape: newShape }) : s;
19641
- }
19642
19649
  // A leaf by choice: `parts` are regex fragments, not data positions.
19643
19650
  case "template_literal":
19644
19651
  // Leaves.
@@ -23641,8 +23648,8 @@ function scanXMcpHeaderDeclarations(inputSchema) {
23641
23648
  type
23642
23649
  });
23643
23650
  }
23644
- const properties2 = schema.properties;
23645
- if (properties2 !== null && typeof properties2 === "object") for (const [key, child] of Object.entries(properties2)) {
23651
+ const properties = schema.properties;
23652
+ if (properties !== null && typeof properties === "object") for (const [key, child] of Object.entries(properties)) {
23646
23653
  const fault$1 = visit2(child, [...path, key], reachable);
23647
23654
  if (fault$1 !== void 0) return fault$1;
23648
23655
  }
@@ -23936,9 +23943,9 @@ function isLibraryFormatPattern(format, pattern, vendor) {
23936
23943
  }
23937
23944
  function promptArgumentsFromStandardSchema(schema) {
23938
23945
  const jsonSchema = standardSchemaToJsonSchema(schema, "input");
23939
- const properties2 = jsonSchema.properties || {};
23946
+ const properties = jsonSchema.properties || {};
23940
23947
  const required2 = jsonSchema.required || [];
23941
- return Object.entries(properties2).map(([name, prop]) => ({
23948
+ return Object.entries(properties).map(([name, prop]) => ({
23942
23949
  name,
23943
23950
  description: prop?.description,
23944
23951
  required: required2.includes(name)
@@ -26785,8 +26792,8 @@ var require_defaults = /* @__PURE__ */ __commonJSMin(((exports) => {
26785
26792
  const codegen_1 = require_codegen();
26786
26793
  const util_1 = require_util();
26787
26794
  function assignDefaults(it, ty) {
26788
- const { properties: properties2, items } = it.schema;
26789
- if (ty === "object" && properties2) for (const key in properties2) assignDefault(it, key, properties2[key].default);
26795
+ const { properties, items } = it.schema;
26796
+ if (ty === "object" && properties) for (const key in properties) assignDefault(it, key, properties[key].default);
26790
26797
  else if (ty === "array" && Array.isArray(items)) items.forEach((sch, i) => assignDefault(it, i, sch.default));
26791
26798
  }
26792
26799
  exports.assignDefaults = assignDefaults;
@@ -26818,8 +26825,8 @@ var require_code = /* @__PURE__ */ __commonJSMin(((exports) => {
26818
26825
  });
26819
26826
  }
26820
26827
  exports.checkReportMissingProp = checkReportMissingProp;
26821
- function checkMissingProp({ gen, data, it: { opts } }, properties2, missing) {
26822
- return (0, codegen_1.or)(...properties2.map((prop) => (0, codegen_1.and)(noPropertyInData(gen, data, prop, opts.ownProperties), (0, codegen_1._)`${missing} = ${prop}`)));
26828
+ function checkMissingProp({ gen, data, it: { opts } }, properties, missing) {
26829
+ return (0, codegen_1.or)(...properties.map((prop) => (0, codegen_1.and)(noPropertyInData(gen, data, prop, opts.ownProperties), (0, codegen_1._)`${missing} = ${prop}`)));
26823
26830
  }
26824
26831
  exports.checkMissingProp = checkMissingProp;
26825
26832
  function reportMissingProp(cxt, missing) {
@@ -30095,10 +30102,10 @@ var require_properties = /* @__PURE__ */ __commonJSMin(((exports) => {
30095
30102
  const allProps = (0, code_1.allSchemaProperties)(schema);
30096
30103
  for (const prop of allProps) it.definedProperties.add(prop);
30097
30104
  if (it.opts.unevaluated && allProps.length && it.props !== true) it.props = util_1.mergeEvaluated.props(gen, (0, util_1.toHash)(allProps), it.props);
30098
- const properties2 = allProps.filter((p) => !(0, util_1.alwaysValidSchema)(it, schema[p]));
30099
- if (properties2.length === 0) return;
30105
+ const properties = allProps.filter((p) => !(0, util_1.alwaysValidSchema)(it, schema[p]));
30106
+ if (properties.length === 0) return;
30100
30107
  const valid = gen.name("valid");
30101
- for (const prop of properties2) {
30108
+ for (const prop of properties) {
30102
30109
  if (hasDefault(prop)) applyPropertySchema(prop);
30103
30110
  else {
30104
30111
  gen.if((0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties));
@@ -34472,17 +34479,73 @@ Hint: ${err.hint}`);
34472
34479
  }
34473
34480
  throw err;
34474
34481
  }
34482
+ function mcpRequestFrom(args) {
34483
+ const ctx = args.at(-1);
34484
+ if (typeof ctx !== "object" || ctx === null)
34485
+ return void 0;
34486
+ const req = ctx.mcpReq;
34487
+ if (typeof req !== "object" || req === null)
34488
+ return void 0;
34489
+ return typeof req.notify === "function" ? req : void 0;
34490
+ }
34491
+ function callSignalFrom(args) {
34492
+ const ctx = args.at(-1);
34493
+ if (typeof ctx !== "object" || ctx === null)
34494
+ return void 0;
34495
+ const req = ctx.mcpReq;
34496
+ if (typeof req !== "object" || req === null)
34497
+ return void 0;
34498
+ const signal = req.signal;
34499
+ return signal instanceof AbortSignal ? signal : void 0;
34500
+ }
34501
+ function declaredCapabilitiesFrom(server) {
34502
+ const inner = server.server;
34503
+ if (typeof inner !== "object" || inner === null)
34504
+ return void 0;
34505
+ const read = inner.getClientCapabilities;
34506
+ if (typeof read !== "function")
34507
+ return void 0;
34508
+ try {
34509
+ const declared = read.call(inner);
34510
+ return typeof declared === "object" && declared !== null ? declared : void 0;
34511
+ } catch {
34512
+ return void 0;
34513
+ }
34514
+ }
34475
34515
  function surfaceToolHints(server) {
34476
34516
  const register2 = server.registerTool.bind(server);
34477
- server.registerTool = (name, config2, cb) => register2(name, config2, (...args) => {
34478
- let result;
34479
- try {
34480
- result = cb(...args);
34481
- } catch (err) {
34482
- return hintResultOrRethrow(err);
34483
- }
34484
- return result instanceof Promise ? result.catch(hintResultOrRethrow) : result;
34485
- });
34517
+ server.registerTool = (name, config2, cb) => register2(name, config2, (...args) => (
34518
+ // THE CALLER'S CANCELLATION, made ambient for the whole handler
34519
+ // (`cancel/index.ts`). The SDK delivers it and the fleet ignored it:
34520
+ // measured against @modelcontextprotocol/server 2.0.0, a cancelled
34521
+ // call aborts `ctx.mcpReq.signal` with the caller's reason and the
34522
+ // handler runs to completion regardless — so the HTTP request stays
34523
+ // in flight, the child keeps burning metered CPU, and the upstream
34524
+ // keeps being hit for somebody who has gone. claude.ai sent 101
34525
+ // cancellations in the week to 2026-09-20.
34526
+ //
34527
+ // Here because this is the one wrapper every tool already passes
34528
+ // through: threading the signal by hand would mean editing several
34529
+ // hundred handlers and missing exactly the ones nobody edits.
34530
+ withCallSignal(callSignalFrom(args), () => (
34531
+ // WHAT THE CALLER CAN DO, made ambient for the same reason and in
34532
+ // the same place (`caller/index.ts`). Only the 2025-era half needs
34533
+ // the wrapper — a 2026-07-28 request answers for itself off its own
34534
+ // envelope — but a guarded tool that cannot tell whether the caller
34535
+ // can be shown a prompt returns one the SDK then refuses to deliver,
34536
+ // and that refusal reaches the caller as an unexplained protocol
34537
+ // error it had no chance to catch.
34538
+ withCallerCapabilities(declaredCapabilitiesFrom(server), () => {
34539
+ let result;
34540
+ try {
34541
+ result = cb(...args);
34542
+ } catch (err) {
34543
+ return hintResultOrRethrow(err);
34544
+ }
34545
+ return result instanceof Promise ? result.catch(hintResultOrRethrow) : result;
34546
+ })
34547
+ ), mcpRequestFrom(args))
34548
+ ));
34486
34549
  }
34487
34550
  async function createMcpServer(opts) {
34488
34551
  const server = new McpServer({ name: opts.name, version: opts.version }, { supportedProtocolVersions: [...SERVER_PROTOCOL_VERSIONS] });
@@ -34659,12 +34722,13 @@ function toolAnnotations(opts = {}) {
34659
34722
  ...opts.title !== void 0 ? { title: opts.title } : {},
34660
34723
  readOnlyHint: opts.readOnly ?? true,
34661
34724
  ...opts.idempotent !== void 0 ? { idempotentHint: opts.idempotent } : {},
34725
+ ...opts.destructive !== void 0 ? { destructiveHint: opts.destructive } : {},
34662
34726
  ...opts.openWorld !== void 0 ? { openWorldHint: opts.openWorld } : {}
34663
34727
  };
34664
34728
  }
34665
34729
 
34666
34730
  // src/version.ts
34667
- var VERSION = "1.1.0";
34731
+ var VERSION = "1.1.2";
34668
34732
 
34669
34733
  // node_modules/@chrischall/mcp-utils/dist/session/index.js
34670
34734
  import { existsSync, readFileSync, writeFileSync, mkdirSync, chmodSync, renameSync, unlinkSync } from "node:fs";
@@ -35251,7 +35315,7 @@ function registerAuthTools(server, client2) {
35251
35315
  "simplepractice_request_sign_in_link",
35252
35316
  {
35253
35317
  description: "Ask SimplePractice to email a sign-in link to a Client Portal address. The portal has no password \u2014 this is how you sign in. Sends a real email and is rate-limited per email address AND per IP, so it requires confirm:true. A success does not prove the address has an account: the API answers identically for unknown addresses by design.",
35254
- annotations: toolAnnotations({ readOnly: false, idempotent: false }),
35318
+ annotations: toolAnnotations({ readOnly: false, idempotent: false, destructive: true }),
35255
35319
  inputSchema: external_exports.object({
35256
35320
  email: external_exports.string().email().describe("The email address the Client Portal is registered to."),
35257
35321
  practice: external_exports.string().min(1).optional().describe(
@@ -35291,7 +35355,7 @@ function registerAuthTools(server, client2) {
35291
35355
  "simplepractice_verify_sign_in_token",
35292
35356
  {
35293
35357
  description: 'Exchange an emailed sign-in link (or the token in it) for a Client Portal session. Accepts the whole link or just the part after the "#". Prefer passing the WHOLE link: its address names the practice, so no practice has to be configured, and this server remembers it afterwards. Tokens are single-use and last 24 hours.',
35294
- annotations: toolAnnotations({ readOnly: false, idempotent: false }),
35358
+ annotations: toolAnnotations({ readOnly: false, idempotent: false, destructive: true }),
35295
35359
  inputSchema: external_exports.object({
35296
35360
  link: external_exports.string().min(1).describe('The sign-in link from the email, or just the token after the "#".')
35297
35361
  })
@@ -35302,7 +35366,7 @@ function registerAuthTools(server, client2) {
35302
35366
  "simplepractice_verify_sign_in_pin",
35303
35367
  {
35304
35368
  description: "Exchange a 6-digit Client Portal sign-in PIN for a session, for practices that email a code instead of a link. Single-use.",
35305
- annotations: toolAnnotations({ readOnly: false, idempotent: false }),
35369
+ annotations: toolAnnotations({ readOnly: false, idempotent: false, destructive: true }),
35306
35370
  inputSchema: external_exports.object({
35307
35371
  email: external_exports.string().email().describe("The address the PIN was sent to."),
35308
35372
  pin: external_exports.string().regex(/^\d{6}$/, "The PIN is exactly 6 digits.")
@@ -35314,7 +35378,7 @@ function registerAuthTools(server, client2) {
35314
35378
  "simplepractice_sign_out",
35315
35379
  {
35316
35380
  description: "Discard the stored Client Portal session from local state.",
35317
- annotations: toolAnnotations({ readOnly: false, idempotent: true }),
35381
+ annotations: toolAnnotations({ readOnly: false, idempotent: true, destructive: false }),
35318
35382
  inputSchema: external_exports.object({})
35319
35383
  },
35320
35384
  async () => minifiedResult({ signedOut: client2.clearSession() })