@doist/automations-cli 1.12.0 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  collectSkillStatus,
6
6
  getInstaller,
7
7
  updateAllInstalledSkills
8
- } from "./chunk-V2MDWCIW.js";
8
+ } from "./chunk-AUJ5ELT3.js";
9
9
 
10
10
  // src/index.ts
11
11
  import { Command } from "commander";
@@ -15,7 +15,7 @@ import { fileURLToPath } from "node:url";
15
15
  // package.json
16
16
  var package_default = {
17
17
  name: "@doist/automations-cli",
18
- version: "1.12.0",
18
+ version: "1.13.0",
19
19
  description: "Command-line client for Todoist Automations",
20
20
  type: "module",
21
21
  bin: {
@@ -296,7 +296,6 @@ __export(external_exports, {
296
296
  ZodPrefault: () => ZodPrefault,
297
297
  ZodPreprocess: () => ZodPreprocess,
298
298
  ZodPromise: () => ZodPromise,
299
- ZodProperties: () => ZodProperties,
300
299
  ZodReadonly: () => ZodReadonly,
301
300
  ZodRealError: () => ZodRealError,
302
301
  ZodRecord: () => ZodRecord,
@@ -340,6 +339,7 @@ __export(external_exports, {
340
339
  creditCard: () => creditCard2,
341
340
  cuid: () => cuid3,
342
341
  cuid2: () => cuid22,
342
+ currencyCode: () => currencyCode2,
343
343
  custom: () => custom,
344
344
  date: () => date2,
345
345
  decode: () => decode2,
@@ -433,7 +433,7 @@ __export(external_exports, {
433
433
  preprocess: () => preprocess,
434
434
  prettifyError: () => prettifyError,
435
435
  promise: () => promise,
436
- properties: () => properties,
436
+ properties: () => _properties,
437
437
  property: () => _property,
438
438
  readonly: () => readonly,
439
439
  record: () => record,
@@ -521,6 +521,7 @@ __export(core_exports2, {
521
521
  $ZodCheckMultipleOf: () => $ZodCheckMultipleOf,
522
522
  $ZodCheckNumberFormat: () => $ZodCheckNumberFormat,
523
523
  $ZodCheckOverwrite: () => $ZodCheckOverwrite,
524
+ $ZodCheckProperties: () => $ZodCheckProperties,
524
525
  $ZodCheckProperty: () => $ZodCheckProperty,
525
526
  $ZodCheckRegex: () => $ZodCheckRegex,
526
527
  $ZodCheckSizeEquals: () => $ZodCheckSizeEquals,
@@ -574,7 +575,6 @@ __export(core_exports2, {
574
575
  $ZodPrefault: () => $ZodPrefault,
575
576
  $ZodPreprocess: () => $ZodPreprocess,
576
577
  $ZodPromise: () => $ZodPromise,
577
- $ZodProperties: () => $ZodProperties,
578
578
  $ZodReadonly: () => $ZodReadonly,
579
579
  $ZodRealError: () => $ZodRealError,
580
580
  $ZodRecord: () => $ZodRecord,
@@ -742,6 +742,7 @@ __export(core_exports2, {
742
742
  _xor: () => _xor,
743
743
  base64Charset: () => base64Charset,
744
744
  base64urlCharset: () => base64urlCharset,
745
+ canParseURL: () => canParseURL,
745
746
  clone: () => clone,
746
747
  compile: () => compile,
747
748
  compileFn: () => compileFn,
@@ -764,7 +765,6 @@ __export(core_exports2, {
764
765
  initializeContext: () => initializeContext,
765
766
  isBackEdge: () => isBackEdge,
766
767
  isRecursiveSchema: () => isRecursiveSchema,
767
- isTransforming: () => isTransforming,
768
768
  isValidBase64: () => isValidBase64,
769
769
  isValidBase64URL: () => isValidBase64URL,
770
770
  isValidCIDRv6: () => isValidCIDRv6,
@@ -801,6 +801,7 @@ __export(core_exports2, {
801
801
  util: () => util_exports,
802
802
  validate: () => validate,
803
803
  validateAsync: () => validateAsync,
804
+ validateURL: () => validateURL,
804
805
  version: () => version,
805
806
  withParser: () => withParser
806
807
  });
@@ -1542,9 +1543,6 @@ function members(proto, table) {
1542
1543
  else
1543
1544
  defineBound(proto, key, desc.value);
1544
1545
  }
1545
- for (const sym of Object.getOwnPropertySymbols(table)) {
1546
- defineBound(proto, sym, table[sym]);
1547
- }
1548
1546
  }
1549
1547
  function own(inst, key, value, enumerable = true) {
1550
1548
  Object.defineProperty(inst, key, { configurable: true, writable: true, enumerable, value });
@@ -1697,8 +1695,7 @@ function $constructor(name, initializer3, proto, params) {
1697
1695
  } finally {
1698
1696
  _zodDesc.value = void 0;
1699
1697
  }
1700
- }
1701
- if (inst._zod.traits.has(name)) {
1698
+ } else if (inst._zod.traits.has(name)) {
1702
1699
  return;
1703
1700
  }
1704
1701
  inst._zod.traits.add(name);
@@ -2140,6 +2137,7 @@ __export(regexes_exports, {
2140
2137
  creditCard: () => creditCard,
2141
2138
  cuid: () => cuid,
2142
2139
  cuid2: () => cuid2,
2140
+ currencyCode: () => currencyCode,
2143
2141
  date: () => date,
2144
2142
  datetime: () => datetime,
2145
2143
  domain: () => domain,
@@ -2238,6 +2236,7 @@ var domain = /^(?=.{1,253}$)([a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a
2238
2236
  var httpProtocol = /^https?$/;
2239
2237
  var e164 = /^\+[1-9]\d{6,14}$/;
2240
2238
  var creditCard = /^\d(?:[ -]?\d){11,18}$/;
2239
+ 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)$/;
2241
2240
  var iban = /^[A-Z]{2}(?!00|01|99)\d{2}[A-Z0-9]{11,30}$/;
2242
2241
  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])))`;
2243
2242
  function anchor(source) {
@@ -2722,6 +2721,34 @@ var $ZodCheckProperty = /* @__PURE__ */ $constructor("$ZodCheckProperty", (inst,
2722
2721
  return;
2723
2722
  };
2724
2723
  });
2724
+ var $ZodCheckProperties = /* @__PURE__ */ $constructor("$ZodCheckProperties", (inst, def) => {
2725
+ $ZodCheck.init(inst, def);
2726
+ hide(inst, Symbol.iterator, function* () {
2727
+ yield inst;
2728
+ });
2729
+ let entries;
2730
+ inst._zod.check = (payload) => {
2731
+ if (payload.value == null) {
2732
+ payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
2733
+ return void 0;
2734
+ }
2735
+ entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
2736
+ const input2 = payload.value;
2737
+ let proms;
2738
+ for (const [key, schema] of entries) {
2739
+ const result = schema._zod.run({ value: input2[key], issues: [] }, {});
2740
+ if (result instanceof Promise) {
2741
+ proms ?? (proms = []);
2742
+ proms.push(result.then((result2) => handleCheckPropertyResult(result2, payload, key)));
2743
+ } else {
2744
+ handleCheckPropertyResult(result, payload, key);
2745
+ }
2746
+ }
2747
+ if (proms)
2748
+ return Promise.all(proms).then(() => void 0);
2749
+ return void 0;
2750
+ };
2751
+ });
2725
2752
  var $ZodCheckMimeType = /* @__PURE__ */ $constructor("$ZodCheckMimeType", (inst, def) => {
2726
2753
  $ZodCheck.init(inst, def);
2727
2754
  const mimeSet = new Set(def.mime);
@@ -2789,7 +2816,7 @@ ${content.join("\n")}
2789
2816
  var version = {
2790
2817
  major: 4,
2791
2818
  minor: 6,
2792
- patch: 2
2819
+ patch: 4
2793
2820
  };
2794
2821
 
2795
2822
  // ../../node_modules/zod/v4/core/schemas.js
@@ -2977,11 +3004,32 @@ var $ZodEmail = /* @__PURE__ */ $constructor("$ZodEmail", (inst, def) => {
2977
3004
  });
2978
3005
  var URL_BAD_FORMAT = 1;
2979
3006
  var URL_UNPARSEABLE = 2;
3007
+ function canParseURL(input2) {
3008
+ try {
3009
+ if (typeof URL !== "undefined" && typeof URL.canParse === "function")
3010
+ return URL.canParse(input2);
3011
+ new URL(input2);
3012
+ return true;
3013
+ } catch {
3014
+ return false;
3015
+ }
3016
+ }
3017
+ function validateURL(trimmed, def) {
3018
+ if (!("normalize" in def) && !("hostname" in def) && !("protocol" in def)) {
3019
+ return canParseURL(trimmed) || URL_UNPARSEABLE;
3020
+ }
3021
+ return parseURLObject(trimmed, def);
3022
+ }
2980
3023
  function parseURLObject(trimmed, def) {
2981
3024
  if (!def.normalize && def.protocol?.source === httpProtocol.source && !/^https?:\/\//i.test(trimmed)) {
2982
3025
  return URL_BAD_FORMAT;
2983
3026
  }
2984
3027
  try {
3028
+ if (typeof URL !== "undefined") {
3029
+ const URLStatic = URL;
3030
+ if (typeof URLStatic.parse === "function")
3031
+ return URLStatic.parse(trimmed) ?? URL_UNPARSEABLE;
3032
+ }
2985
3033
  return new URL(trimmed);
2986
3034
  } catch {
2987
3035
  return URL_UNPARSEABLE;
@@ -3004,7 +3052,7 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
3004
3052
  inst._zod.check = (payload) => {
3005
3053
  try {
3006
3054
  const trimmed = payload.value.trim();
3007
- const url2 = parseURLObject(trimmed, def);
3055
+ const url2 = validateURL(trimmed, def);
3008
3056
  if (url2 === URL_BAD_FORMAT) {
3009
3057
  payload.issues.push({
3010
3058
  code: "invalid_format",
@@ -3026,6 +3074,10 @@ var $ZodURL = /* @__PURE__ */ $constructor("$ZodURL", (inst, def) => {
3026
3074
  });
3027
3075
  return;
3028
3076
  }
3077
+ if (url2 === true) {
3078
+ payload.value = stripTabAndNewline(trimmed);
3079
+ return;
3080
+ }
3029
3081
  if (def.hostname && !urlHostnameOk(url2, def.hostname)) {
3030
3082
  payload.issues.push({
3031
3083
  code: "invalid_format",
@@ -3115,12 +3167,7 @@ var ipv6Alphabet = /^[0-9a-fA-F:.]+$/;
3115
3167
  function isValidIPv6(value) {
3116
3168
  if (!ipv6Alphabet.test(value))
3117
3169
  return false;
3118
- try {
3119
- new URL(`http://[${value}]`);
3120
- return true;
3121
- } catch {
3122
- return false;
3123
- }
3170
+ return canParseURL(`http://[${value}]`);
3124
3171
  }
3125
3172
  var $ZodIPv6 = /* @__PURE__ */ $constructor("$ZodIPv6", (inst, def) => {
3126
3173
  def.pattern ?? (def.pattern = ipv6);
@@ -5185,59 +5232,6 @@ function handleRefineResult(result, payload, input2, inst) {
5185
5232
  payload.issues.push(issue(_iss));
5186
5233
  }
5187
5234
  }
5188
- function handlePropertiesResult(result, payload, key) {
5189
- if (result.issues.length) {
5190
- payload.issues.push(...prefixIssues(key, result.issues));
5191
- }
5192
- }
5193
- var $ZodProperties = /* @__PURE__ */ $constructor("$ZodProperties", (inst, def) => {
5194
- $ZodType.init(inst, def);
5195
- $ZodCheck.init(inst, def);
5196
- const memo2 = globalConfig.memoizer;
5197
- memo2?.attach(inst);
5198
- let entries;
5199
- const runShape = (payload, ctx) => {
5200
- entries ?? (entries = Reflect.ownKeys(def.shape).map((key) => [key, def.shape[key]]));
5201
- const input2 = payload.value;
5202
- let proms;
5203
- for (const [key, schema] of entries) {
5204
- const result = schema._zod.run({ value: input2[key], issues: [] }, ctx);
5205
- if (result instanceof Promise) {
5206
- proms ?? (proms = []);
5207
- proms.push(result.then((result2) => handlePropertiesResult(result2, payload, key)));
5208
- } else {
5209
- handlePropertiesResult(result, payload, key);
5210
- }
5211
- }
5212
- if (proms)
5213
- return Promise.all(proms).then(() => void 0);
5214
- return void 0;
5215
- };
5216
- inst._zod.parse = (payload, ctx) => {
5217
- const input2 = payload.value;
5218
- if (input2 === null || typeof input2 !== "object" && typeof input2 !== "function") {
5219
- payload.issues.push({ expected: "object", code: "invalid_type", input: input2, inst });
5220
- return payload;
5221
- }
5222
- if (ctx.direction === "backward")
5223
- ctx = { ...ctx, direction: "forward" };
5224
- if (memo2)
5225
- memo2.alloc(inst, payload, input2, ctx);
5226
- const result = runShape(payload, ctx);
5227
- return result instanceof Promise ? result.then(() => payload) : payload;
5228
- };
5229
- inst._zod.check = (payload) => {
5230
- if (payload.value == null) {
5231
- payload.issues.push({ expected: "object", code: "invalid_type", input: payload.value, inst });
5232
- return void 0;
5233
- }
5234
- return runShape(payload, {});
5235
- };
5236
- }, {
5237
- *[Symbol.iterator]() {
5238
- yield this;
5239
- }
5240
- });
5241
5235
 
5242
5236
  // ../../node_modules/zod/v4/core/memoizer.js
5243
5237
  var $ZodCyclicError = class extends Error {
@@ -5249,7 +5243,7 @@ var $ZodCyclicError = class extends Error {
5249
5243
  var STATE = "~memo";
5250
5244
  var NO_ISSUES = [];
5251
5245
  function isRef(value) {
5252
- return value !== null && (typeof value === "object" || typeof value === "function");
5246
+ return value !== null && typeof value === "object";
5253
5247
  }
5254
5248
  function cloneIssues(issues) {
5255
5249
  return issues.map((iss) => iss.path ? { ...iss, path: iss.path.slice() } : { ...iss });
@@ -5298,9 +5292,6 @@ function isRecursive(inst, stack, resolve) {
5298
5292
  check2(def.catchall);
5299
5293
  break;
5300
5294
  }
5301
- case "properties":
5302
- merge2(shape(def.shape, false));
5303
- break;
5304
5295
  case "array":
5305
5296
  check2(def.element);
5306
5297
  break;
@@ -5628,6 +5619,7 @@ var error = () => {
5628
5619
  json_string: "\u0646\u064E\u0635 \u0639\u0644\u0649 \u0647\u064A\u0626\u0629 JSON",
5629
5620
  e164: "\u0631\u0642\u0645 \u0647\u0627\u062A\u0641 \u0628\u0645\u0639\u064A\u0627\u0631 E.164",
5630
5621
  credit_card: "\u0631\u0642\u0645 \u0628\u0637\u0627\u0642\u0629 \u0627\u0644\u0627\u0626\u062A\u0645\u0627\u0646",
5622
+ currency_code: "\u0631\u0645\u0632 \u0627\u0644\u0639\u0645\u0644\u0629",
5631
5623
  iban: "IBAN",
5632
5624
  jwt: "JWT",
5633
5625
  template_literal: "\u0645\u062F\u062E\u0644"
@@ -5739,6 +5731,7 @@ var error2 = () => {
5739
5731
  json_string: "JSON string",
5740
5732
  e164: "E.164 number",
5741
5733
  credit_card: "kredit kart\u0131 n\xF6mr\u0259si",
5734
+ currency_code: "valyuta kodu",
5742
5735
  iban: "IBAN",
5743
5736
  jwt: "JWT",
5744
5737
  template_literal: "input"
@@ -5899,6 +5892,7 @@ var error3 = () => {
5899
5892
  json_string: "JSON \u0440\u0430\u0434\u043E\u043A",
5900
5893
  e164: "\u043D\u0443\u043C\u0430\u0440 E.164",
5901
5894
  credit_card: "\u043D\u0443\u043C\u0430\u0440 \u043A\u0440\u044D\u0434\u044B\u0442\u043D\u0430\u0439 \u043A\u0430\u0440\u0442\u044B",
5895
+ currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
5902
5896
  iban: "IBAN",
5903
5897
  jwt: "JWT",
5904
5898
  template_literal: "\u0443\u0432\u043E\u0434"
@@ -6017,6 +6011,7 @@ var error4 = () => {
6017
6011
  json_string: "JSON \u043D\u0438\u0437",
6018
6012
  e164: "E.164 \u043D\u043E\u043C\u0435\u0440",
6019
6013
  credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0430",
6014
+ currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
6020
6015
  iban: "IBAN",
6021
6016
  jwt: "JWT",
6022
6017
  template_literal: "\u0432\u0445\u043E\u0434"
@@ -6142,6 +6137,7 @@ var error5 = () => {
6142
6137
  json_string: "JSON \u09B8\u09CD\u099F\u09CD\u09B0\u09BF\u0982",
6143
6138
  e164: "E.164 \u09A8\u09AE\u09CD\u09AC\u09B0",
6144
6139
  credit_card: "\u0995\u09CD\u09B0\u09C7\u09A1\u09BF\u099F \u0995\u09BE\u09B0\u09CD\u09A1 \u09A8\u09AE\u09CD\u09AC\u09B0",
6140
+ currency_code: "\u09AE\u09C1\u09A6\u09CD\u09B0\u09BE \u0995\u09CB\u09A1",
6145
6141
  iban: "IBAN",
6146
6142
  jwt: "JWT",
6147
6143
  template_literal: "\u0987\u09A8\u09AA\u09C1\u099F"
@@ -6255,6 +6251,7 @@ var error6 = () => {
6255
6251
  json_string: "cadena JSON",
6256
6252
  e164: "n\xFAmero E.164",
6257
6253
  credit_card: "n\xFAmero de targeta de cr\xE8dit",
6254
+ currency_code: "codi de moneda",
6258
6255
  iban: "IBAN",
6259
6256
  jwt: "JWT",
6260
6257
  template_literal: "entrada"
@@ -6368,6 +6365,7 @@ var error7 = () => {
6368
6365
  json_string: "\u062F\u06D5\u0642\u06CC JSON",
6369
6366
  e164: "\u0698\u0645\u0627\u0631\u06D5\u06CC E.164",
6370
6367
  credit_card: "\u0698\u0645\u0627\u0631\u06D5\u06CC \u06A9\u0627\u0631\u062A\u06CC \u06A9\u0631\u06CE\u062F\u06CC\u062A",
6368
+ currency_code: "\u06A9\u06C6\u062F\u06CC \u062F\u0631\u0627\u0648",
6371
6369
  iban: "IBAN",
6372
6370
  jwt: "JWT",
6373
6371
  template_literal: "\u062A\u06CE\u06A9\u0631\u062F\u06D5"
@@ -6500,6 +6498,7 @@ var error8 = () => {
6500
6498
  json_string: "\u0159et\u011Bzec ve form\xE1tu JSON",
6501
6499
  e164: "\u010D\xEDslo E.164",
6502
6500
  credit_card: "\u010D\xEDslo kreditn\xED karty",
6501
+ currency_code: "k\xF3d m\u011Bny",
6503
6502
  iban: "IBAN",
6504
6503
  jwt: "JWT",
6505
6504
  template_literal: "vstup"
@@ -6616,6 +6615,7 @@ var error9 = () => {
6616
6615
  json_string: "JSON-streng",
6617
6616
  e164: "E.164-nummer",
6618
6617
  credit_card: "kreditkortnummer",
6618
+ currency_code: "valutakode",
6619
6619
  iban: "IBAN",
6620
6620
  jwt: "JWT",
6621
6621
  template_literal: "input"
@@ -6736,6 +6736,7 @@ var error10 = () => {
6736
6736
  json_string: "JSON-String",
6737
6737
  e164: "E.164-Nummer",
6738
6738
  credit_card: "Kreditkartennummer",
6739
+ currency_code: "W\xE4hrungscode",
6739
6740
  iban: "IBAN",
6740
6741
  jwt: "JWT",
6741
6742
  template_literal: "Eingabe"
@@ -6849,6 +6850,7 @@ var error11 = () => {
6849
6850
  json_string: "\u03C3\u03C5\u03BC\u03B2\u03BF\u03BB\u03BF\u03C3\u03B5\u03B9\u03C1\u03AC JSON",
6850
6851
  e164: "\u03B1\u03C1\u03B9\u03B8\u03BC\u03CC\u03C2 E.164",
6851
6852
  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",
6853
+ currency_code: "\u03BA\u03C9\u03B4\u03B9\u03BA\u03CC\u03C2 \u03BD\u03BF\u03BC\u03AF\u03C3\u03BC\u03B1\u03C4\u03BF\u03C2",
6852
6854
  iban: "IBAN",
6853
6855
  jwt: "JWT",
6854
6856
  template_literal: "\u03B5\u03AF\u03C3\u03BF\u03B4\u03BF\u03C2"
@@ -6960,6 +6962,7 @@ var error12 = () => {
6960
6962
  base64url: "base64url-encoded string",
6961
6963
  json_string: "JSON string",
6962
6964
  e164: "E.164 number",
6965
+ currency_code: "currency code",
6963
6966
  credit_card: "credit card number",
6964
6967
  iban: "IBAN",
6965
6968
  jwt: "JWT",
@@ -7085,6 +7088,7 @@ var error13 = () => {
7085
7088
  json_string: "JSON-karaktraro",
7086
7089
  e164: "E.164-nombro",
7087
7090
  credit_card: "kreditkarta numero",
7091
+ currency_code: "valuta kodo",
7088
7092
  iban: "IBAN",
7089
7093
  jwt: "JWT",
7090
7094
  template_literal: "enigo"
@@ -7198,6 +7202,7 @@ var error14 = () => {
7198
7202
  json_string: "cadena JSON",
7199
7203
  e164: "n\xFAmero E.164",
7200
7204
  credit_card: "n\xFAmero de tarjeta de cr\xE9dito",
7205
+ currency_code: "c\xF3digo de moneda",
7201
7206
  iban: "IBAN",
7202
7207
  jwt: "JWT",
7203
7208
  template_literal: "entrada"
@@ -7335,6 +7340,7 @@ var error15 = () => {
7335
7340
  json_string: "JSON \u0631\u0634\u062A\u0647",
7336
7341
  e164: "E.164 \u0639\u062F\u062F",
7337
7342
  credit_card: "\u0634\u0645\u0627\u0631\u0647 \u06A9\u0627\u0631\u062A \u0627\u0639\u062A\u0628\u0627\u0631\u06CC",
7343
+ currency_code: "\u06A9\u062F \u0627\u0631\u0632",
7338
7344
  iban: "IBAN",
7339
7345
  jwt: "JWT",
7340
7346
  template_literal: "\u0648\u0631\u0648\u062F\u06CC"
@@ -7458,6 +7464,7 @@ var error16 = () => {
7458
7464
  json_string: "JSON-merkkijono",
7459
7465
  e164: "E.164-luku",
7460
7466
  credit_card: "luottokortin numero",
7467
+ currency_code: "valuuttakoodi",
7461
7468
  iban: "IBAN",
7462
7469
  jwt: "JWT",
7463
7470
  template_literal: "templaattimerkkijono"
@@ -7570,6 +7577,7 @@ var error17 = () => {
7570
7577
  json_string: "cha\xEEne de caract\xE8res JSON",
7571
7578
  e164: "num\xE9ro au format E.164",
7572
7579
  credit_card: "num\xE9ro de carte de cr\xE9dit",
7580
+ currency_code: "code de devise",
7573
7581
  iban: "IBAN",
7574
7582
  jwt: "JWT",
7575
7583
  template_literal: "entr\xE9e"
@@ -7700,6 +7708,7 @@ var error18 = () => {
7700
7708
  json_string: "cha\xEEne JSON",
7701
7709
  e164: "num\xE9ro E.164",
7702
7710
  credit_card: "num\xE9ro de carte de cr\xE9dit",
7711
+ currency_code: "code de devise",
7703
7712
  iban: "IBAN",
7704
7713
  jwt: "JWT",
7705
7714
  template_literal: "entr\xE9e"
@@ -7812,6 +7821,7 @@ var error19 = () => {
7812
7821
  json_string: "JSON \u0AB8\u0ACD\u0A9F\u0ACD\u0AB0\u0ABF\u0A82\u0A97",
7813
7822
  e164: "E.164 \u0AA8\u0A82\u0AAC\u0AB0",
7814
7823
  credit_card: "\u0A95\u0ACD\u0AB0\u0AC7\u0AA1\u0ABF\u0A9F \u0A95\u0ABE\u0AB0\u0ACD\u0AA1 \u0AA8\u0A82\u0AAC\u0AB0",
7824
+ currency_code: "\u0A9A\u0AB2\u0AA3 \u0A95\u0ACB\u0AA1",
7815
7825
  iban: "IBAN",
7816
7826
  jwt: "JWT",
7817
7827
  template_literal: "\u0A87\u0AA8\u0AAA\u0AC1\u0A9F"
@@ -7961,6 +7971,7 @@ var error20 = () => {
7961
7971
  json_string: { label: "\u05DE\u05D7\u05E8\u05D5\u05D6\u05EA JSON", gender: "f" },
7962
7972
  e164: { label: "\u05DE\u05E1\u05E4\u05E8 E.164", gender: "m" },
7963
7973
  credit_card: { label: "\u05DE\u05E1\u05E4\u05E8 \u05DB\u05E8\u05D8\u05D9\u05E1 \u05D0\u05E9\u05E8\u05D0\u05D9", gender: "m" },
7974
+ currency_code: { label: "\u05E7\u05D5\u05D3 \u05DE\u05D8\u05D1\u05E2", gender: "m" },
7964
7975
  iban: { label: "IBAN", gender: "m" },
7965
7976
  jwt: { label: "JWT", gender: "m" },
7966
7977
  template_literal: { label: "\u05E7\u05DC\u05D8", gender: "m" },
@@ -8126,6 +8137,7 @@ var error21 = () => {
8126
8137
  json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0902\u0917",
8127
8138
  e164: "E.164 \u0938\u0902\u0916\u094D\u092F\u093E",
8128
8139
  credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0938\u0902\u0916\u094D\u092F\u093E",
8140
+ currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
8129
8141
  iban: "IBAN",
8130
8142
  jwt: "JWT",
8131
8143
  template_literal: "\u0907\u0928\u092A\u0941\u091F"
@@ -8236,6 +8248,7 @@ var error22 = () => {
8236
8248
  json_string: "JSON tekst",
8237
8249
  e164: "E.164 broj",
8238
8250
  credit_card: "broj kreditne kartice",
8251
+ currency_code: "kod valute",
8239
8252
  iban: "IBAN",
8240
8253
  jwt: "JWT",
8241
8254
  template_literal: "unos"
@@ -8363,6 +8376,7 @@ var error23 = () => {
8363
8376
  json_string: "JSON string",
8364
8377
  e164: "E.164 sz\xE1m",
8365
8378
  credit_card: "hitelk\xE1rtyasz\xE1m",
8379
+ currency_code: "p\xE9nznemk\xF3d",
8366
8380
  iban: "IBAN",
8367
8381
  jwt: "JWT",
8368
8382
  template_literal: "bemenet"
@@ -8516,6 +8530,7 @@ var error24 = () => {
8516
8530
  json_string: "JSON \u057F\u0578\u0572",
8517
8531
  e164: "E.164 \u0570\u0561\u0574\u0561\u0580",
8518
8532
  credit_card: "\u056F\u0580\u0565\u0564\u056B\u057F \u0584\u0561\u0580\u057F\u056B \u0570\u0561\u0574\u0561\u0580",
8533
+ currency_code: "\u0561\u0580\u056A\u0578\u0582\u0575\u0569\u056B \u056F\u0578\u0564",
8519
8534
  iban: "IBAN",
8520
8535
  jwt: "JWT",
8521
8536
  template_literal: "\u0574\u0578\u0582\u057F\u0584"
@@ -8634,6 +8649,7 @@ var error25 = () => {
8634
8649
  json_string: "string JSON",
8635
8650
  e164: "angka E.164",
8636
8651
  credit_card: "nomor kartu kredit",
8652
+ currency_code: "kode mata uang",
8637
8653
  iban: "IBAN",
8638
8654
  jwt: "JWT",
8639
8655
  template_literal: "input"
@@ -8745,6 +8761,7 @@ var error26 = () => {
8745
8761
  json_string: "JSON strengur",
8746
8762
  e164: "E.164 t\xF6lugildi",
8747
8763
  credit_card: "kreditkortan\xFAmer",
8764
+ currency_code: "gjaldmi\xF0ilsk\xF3\xF0i",
8748
8765
  iban: "IBAN",
8749
8766
  jwt: "JWT",
8750
8767
  template_literal: "gildi"
@@ -8859,6 +8876,7 @@ var error27 = () => {
8859
8876
  json_string: "stringa JSON",
8860
8877
  e164: "numero E.164",
8861
8878
  credit_card: "numero di carta di credito",
8879
+ currency_code: "codice valuta",
8862
8880
  iban: "IBAN",
8863
8881
  jwt: "JWT",
8864
8882
  template_literal: "input"
@@ -8972,6 +8990,7 @@ var error28 = () => {
8972
8990
  json_string: "JSON\u6587\u5B57\u5217",
8973
8991
  e164: "E.164\u756A\u53F7",
8974
8992
  credit_card: "\u30AF\u30EC\u30B8\u30C3\u30C8\u30AB\u30FC\u30C9\u756A\u53F7",
8993
+ currency_code: "\u901A\u8CA8\u30B3\u30FC\u30C9",
8975
8994
  iban: "IBAN",
8976
8995
  jwt: "JWT",
8977
8996
  template_literal: "\u5165\u529B\u5024"
@@ -9084,6 +9103,7 @@ var error29 = () => {
9084
9103
  json_string: "JSON \u10D5\u10D4\u10DA\u10D8",
9085
9104
  e164: "E.164 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
9086
9105
  credit_card: "\u10E1\u10D0\u10D9\u10E0\u10D4\u10D3\u10D8\u10E2\u10DD \u10D1\u10D0\u10E0\u10D0\u10D7\u10D8\u10E1 \u10DC\u10DD\u10DB\u10D4\u10E0\u10D8",
9106
+ currency_code: "\u10D5\u10D0\u10DA\u10E3\u10E2\u10D8\u10E1 \u10D9\u10DD\u10D3\u10D8",
9087
9107
  iban: "IBAN",
9088
9108
  jwt: "JWT",
9089
9109
  template_literal: "\u10E8\u10D4\u10E7\u10D5\u10D0\u10DC\u10D0"
@@ -9201,6 +9221,7 @@ var error30 = () => {
9201
9221
  json_string: "\u1781\u17D2\u179F\u17C2\u17A2\u1780\u17D2\u179F\u179A JSON",
9202
9222
  e164: "\u179B\u17C1\u1781 E.164",
9203
9223
  credit_card: "\u179B\u17C1\u1781\u1794\u17D0\u178E\u17D2\u178E\u17A5\u178E\u1791\u17B6\u1793",
9224
+ currency_code: "\u1780\u17BC\u178A\u179A\u17BC\u1794\u17B7\u1799\u1794\u17D0\u178E\u17D2\u178E",
9204
9225
  iban: "IBAN",
9205
9226
  jwt: "JWT",
9206
9227
  template_literal: "\u1791\u17B7\u1793\u17D2\u1793\u1793\u17D0\u1799\u1794\u1789\u17D2\u1785\u17BC\u179B"
@@ -9321,6 +9342,7 @@ var error31 = () => {
9321
9342
  json_string: "JSON\u0CB8\u0CCD\u0C9F\u0CCD\u0CB0\u0CBF\u0C82\u0C97\u0CCD",
9322
9343
  e164: "E.164 \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
9323
9344
  credit_card: "\u0C95\u0CCD\u0CB0\u0CC6\u0CA1\u0CBF\u0C9F\u0CCD \u0C95\u0CBE\u0CB0\u0CCD\u0CA1\u0CCD \u0CB8\u0C82\u0C96\u0CCD\u0CAF\u0CC6",
9345
+ currency_code: "\u0C95\u0CB0\u0CC6\u0CA8\u0CCD\u0CB8\u0CBF \u0C95\u0CCB\u0CA1\u0CCD",
9324
9346
  iban: "IBAN",
9325
9347
  jwt: "JWT",
9326
9348
  template_literal: "\u0C87\u0CA8\u0CCD\u0CAA\u0CC1\u0C9F\u0CCD"
@@ -9436,6 +9458,7 @@ var error32 = () => {
9436
9458
  json_string: "JSON \uBB38\uC790\uC5F4",
9437
9459
  e164: "E.164 \uBC88\uD638",
9438
9460
  credit_card: "\uC2E0\uC6A9\uCE74\uB4DC \uBC88\uD638",
9461
+ currency_code: "\uD1B5\uD654 \uCF54\uB4DC",
9439
9462
  iban: "IBAN",
9440
9463
  jwt: "JWT",
9441
9464
  template_literal: "\uC785\uB825"
@@ -9634,6 +9657,7 @@ var error33 = () => {
9634
9657
  json_string: "JSON eilut\u0117",
9635
9658
  e164: "E.164 numeris",
9636
9659
  credit_card: "kredito kortel\u0117s numeris",
9660
+ currency_code: "valiutos kodas",
9637
9661
  iban: "IBAN",
9638
9662
  jwt: "JWT",
9639
9663
  template_literal: "\u012Fvestis"
@@ -9759,6 +9783,7 @@ var error34 = () => {
9759
9783
  json_string: "JSON \u043D\u0438\u0437\u0430",
9760
9784
  e164: "E.164 \u0431\u0440\u043E\u0458",
9761
9785
  credit_card: "\u0431\u0440\u043E\u0458 \u043D\u0430 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u0430 \u043A\u0430\u0440\u0442\u0438\u0447\u043A\u0430",
9786
+ currency_code: "\u043A\u043E\u0434 \u043D\u0430 \u0432\u0430\u043B\u0443\u0442\u0430",
9762
9787
  iban: "IBAN",
9763
9788
  jwt: "JWT",
9764
9789
  template_literal: "\u0432\u043D\u0435\u0441"
@@ -9873,6 +9898,7 @@ var error35 = () => {
9873
9898
  json_string: "string JSON",
9874
9899
  e164: "nombor E.164",
9875
9900
  credit_card: "nombor kad kredit",
9901
+ currency_code: "kod mata wang",
9876
9902
  iban: "IBAN",
9877
9903
  jwt: "JWT",
9878
9904
  template_literal: "input"
@@ -9985,6 +10011,7 @@ var error36 = () => {
9985
10011
  json_string: "JSON \u0938\u094D\u091F\u094D\u0930\u093F\u0919",
9986
10012
  e164: "E.164 \u0928\u092E\u094D\u092C\u0930",
9987
10013
  credit_card: "\u0915\u094D\u0930\u0947\u0921\u093F\u091F \u0915\u093E\u0930\u094D\u0921 \u0928\u092E\u094D\u092C\u0930",
10014
+ currency_code: "\u092E\u0941\u0926\u094D\u0930\u093E \u0915\u094B\u0921",
9988
10015
  iban: "IBAN",
9989
10016
  jwt: "JWT",
9990
10017
  template_literal: "\u0907\u0928\u092A\u0941\u091F"
@@ -10096,6 +10123,7 @@ var error37 = () => {
10096
10123
  json_string: "JSON string",
10097
10124
  e164: "E.164-nummer",
10098
10125
  credit_card: "creditcardnummer",
10126
+ currency_code: "valutacode",
10099
10127
  iban: "IBAN",
10100
10128
  jwt: "JWT",
10101
10129
  template_literal: "invoer"
@@ -10211,6 +10239,7 @@ var error38 = () => {
10211
10239
  json_string: "JSON-streng",
10212
10240
  e164: "E.164-nummer",
10213
10241
  credit_card: "kredittkortnummer",
10242
+ currency_code: "valutakode",
10214
10243
  iban: "IBAN",
10215
10244
  jwt: "JWT",
10216
10245
  template_literal: "input"
@@ -10324,6 +10353,7 @@ var error39 = () => {
10324
10353
  json_string: "JSON-streng",
10325
10354
  e164: "E.164-nummer",
10326
10355
  credit_card: "kredittkortnummer",
10356
+ currency_code: "valutakode",
10327
10357
  iban: "IBAN",
10328
10358
  jwt: "JWT",
10329
10359
  template_literal: "input"
@@ -10437,6 +10467,7 @@ var error40 = () => {
10437
10467
  json_string: "JSON metin",
10438
10468
  e164: "E.164 say\u0131s\u0131",
10439
10469
  credit_card: "i'tib\xE2r kart\u0131 numaras\u0131",
10470
+ currency_code: "para birimi kodu",
10440
10471
  iban: "IBAN",
10441
10472
  jwt: "JWT",
10442
10473
  template_literal: "giren"
@@ -10551,6 +10582,7 @@ var error41 = () => {
10551
10582
  json_string: "JSON \u0645\u062A\u0646",
10552
10583
  e164: "\u062F E.164 \u0634\u0645\u06D0\u0631\u0647",
10553
10584
  credit_card: "\u062F \u06A9\u0631\u06CC\u0689\u06CC\u067C \u06A9\u0627\u0631\u062A \u0634\u0645\u06CC\u0631\u0647",
10585
+ currency_code: "\u062F \u0627\u0633\u0639\u0627\u0631\u0648 \u06A9\u0648\u0689",
10554
10586
  iban: "IBAN",
10555
10587
  jwt: "JWT",
10556
10588
  template_literal: "\u0648\u0631\u0648\u062F\u064A"
@@ -10670,6 +10702,7 @@ var error42 = () => {
10670
10702
  json_string: "ci\u0105g znak\xF3w w formacie JSON",
10671
10703
  e164: "liczba E.164",
10672
10704
  credit_card: "numer karty kredytowej",
10705
+ currency_code: "kod waluty",
10673
10706
  iban: "IBAN",
10674
10707
  jwt: "JWT",
10675
10708
  template_literal: "wej\u015Bcie"
@@ -10784,6 +10817,7 @@ var error43 = () => {
10784
10817
  json_string: "o texto JSON",
10785
10818
  e164: "o n\xFAmero E.164",
10786
10819
  credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
10820
+ currency_code: "o c\xF3digo de moeda",
10787
10821
  iban: "o IBAN",
10788
10822
  jwt: "o JWT",
10789
10823
  template_literal: "a entrada"
@@ -10927,6 +10961,7 @@ var error44 = () => {
10927
10961
  json_string: "o texto JSON",
10928
10962
  e164: "o n\xFAmero E.164",
10929
10963
  credit_card: "o n\xFAmero de cart\xE3o de cr\xE9dito",
10964
+ currency_code: "o c\xF3digo de moeda",
10930
10965
  iban: "o IBAN",
10931
10966
  jwt: "o JWT",
10932
10967
  template_literal: "a entrada"
@@ -11071,6 +11106,7 @@ var error45 = () => {
11071
11106
  json_string: "\u0219ir JSON",
11072
11107
  e164: "num\u0103r E.164",
11073
11108
  credit_card: "num\u0103r de card de credit",
11109
+ currency_code: "cod valutar",
11074
11110
  iban: "IBAN",
11075
11111
  jwt: "JWT",
11076
11112
  template_literal: "intrare"
@@ -11243,6 +11279,7 @@ var error46 = () => {
11243
11279
  json_string: "JSON \u0441\u0442\u0440\u043E\u043A\u0430",
11244
11280
  e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
11245
11281
  credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0439 \u043A\u0430\u0440\u0442\u044B",
11282
+ currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u044B",
11246
11283
  iban: "IBAN",
11247
11284
  jwt: "JWT",
11248
11285
  template_literal: "\u0432\u0432\u043E\u0434"
@@ -11361,6 +11398,7 @@ var error47 = () => {
11361
11398
  json_string: "re\u0165azec vo form\xE1te JSON",
11362
11399
  e164: "\u010D\xEDslo E.164",
11363
11400
  credit_card: "\u010D\xEDslo kreditnej karty",
11401
+ currency_code: "k\xF3d meny",
11364
11402
  iban: "IBAN",
11365
11403
  jwt: "JWT",
11366
11404
  template_literal: "vstup"
@@ -11477,6 +11515,7 @@ var error48 = () => {
11477
11515
  json_string: "JSON niz",
11478
11516
  e164: "E.164 \u0161tevilka",
11479
11517
  credit_card: "\u0161tevilka kreditne kartice",
11518
+ currency_code: "koda valute",
11480
11519
  iban: "IBAN",
11481
11520
  jwt: "JWT",
11482
11521
  template_literal: "vnos"
@@ -11591,6 +11630,7 @@ var error49 = () => {
11591
11630
  json_string: "JSON-str\xE4ng",
11592
11631
  e164: "E.164-nummer",
11593
11632
  credit_card: "kreditkortsnummer",
11633
+ currency_code: "valutakod",
11594
11634
  iban: "IBAN",
11595
11635
  jwt: "JWT",
11596
11636
  template_literal: "mall-literal"
@@ -11706,6 +11746,7 @@ var error50 = () => {
11706
11746
  json_string: "JSON \u0B9A\u0BB0\u0BAE\u0BCD",
11707
11747
  e164: "E.164 \u0B8E\u0BA3\u0BCD",
11708
11748
  credit_card: "\u0B95\u0B9F\u0BA9\u0BCD \u0B85\u0B9F\u0BCD\u0B9F\u0BC8 \u0B8E\u0BA3\u0BCD",
11749
+ currency_code: "\u0BA8\u0BBE\u0BA3\u0BAF\u0B95\u0BCD \u0B95\u0BC1\u0BB1\u0BBF\u0BAF\u0BC0\u0B9F\u0BC1",
11709
11750
  iban: "IBAN",
11710
11751
  jwt: "JWT",
11711
11752
  template_literal: "input"
@@ -11821,6 +11862,7 @@ var error51 = () => {
11821
11862
  json_string: "\u0441\u0430\u0442\u0440\u0438 JSON",
11822
11863
  e164: "\u0440\u0430\u049B\u0430\u043C\u0438 E.164",
11823
11864
  credit_card: "\u0440\u0430\u049B\u0430\u043C\u0438 \u043A\u043E\u0440\u0442\u0438 \u043A\u0440\u0435\u0434\u0438\u0442\u04E3",
11865
+ currency_code: "\u0440\u0430\u043C\u0437\u0438 \u0430\u0441\u044A\u043E\u0440",
11824
11866
  iban: "IBAN",
11825
11867
  jwt: "JWT",
11826
11868
  template_literal: "\u0432\u0443\u0440\u0443\u0434"
@@ -11937,6 +11979,7 @@ var error52 = () => {
11937
11979
  json_string: "\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21\u0E41\u0E1A\u0E1A JSON",
11938
11980
  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)",
11939
11981
  credit_card: "\u0E2B\u0E21\u0E32\u0E22\u0E40\u0E25\u0E02\u0E1A\u0E31\u0E15\u0E23\u0E40\u0E04\u0E23\u0E14\u0E34\u0E15",
11982
+ currency_code: "\u0E23\u0E2B\u0E31\u0E2A\u0E2A\u0E01\u0E38\u0E25\u0E40\u0E07\u0E34\u0E19",
11940
11983
  iban: "IBAN",
11941
11984
  jwt: "\u0E42\u0E17\u0E40\u0E04\u0E19 JWT",
11942
11985
  template_literal: "\u0E02\u0E49\u0E2D\u0E21\u0E39\u0E25\u0E17\u0E35\u0E48\u0E1B\u0E49\u0E2D\u0E19"
@@ -12052,6 +12095,7 @@ var error53 = () => {
12052
12095
  json_string: "JSON setiri",
12053
12096
  e164: "E.164 nomeri",
12054
12097
  credit_card: "kredit kartyny\u0148 nomeri",
12098
+ currency_code: "wal\xFDuta kody",
12055
12099
  iban: "IBAN",
12056
12100
  jwt: "JWT",
12057
12101
  template_literal: "\u015Fablon"
@@ -12159,6 +12203,7 @@ var error54 = () => {
12159
12203
  json_string: "JSON dizesi",
12160
12204
  e164: "E.164 say\u0131s\u0131",
12161
12205
  credit_card: "kredi kart\u0131 numaras\u0131",
12206
+ currency_code: "para birimi kodu",
12162
12207
  iban: "IBAN",
12163
12208
  jwt: "JWT",
12164
12209
  template_literal: "\u015Eablon dizesi"
@@ -12269,6 +12314,7 @@ var error55 = () => {
12269
12314
  json_string: "\u0440\u044F\u0434\u043E\u043A JSON",
12270
12315
  e164: "\u043D\u043E\u043C\u0435\u0440 E.164",
12271
12316
  credit_card: "\u043D\u043E\u043C\u0435\u0440 \u043A\u0440\u0435\u0434\u0438\u0442\u043D\u043E\u0457 \u043A\u0430\u0440\u0442\u043A\u0438",
12317
+ currency_code: "\u043A\u043E\u0434 \u0432\u0430\u043B\u044E\u0442\u0438",
12272
12318
  iban: "IBAN",
12273
12319
  jwt: "JWT",
12274
12320
  template_literal: "\u0432\u0445\u0456\u0434\u043D\u0456 \u0434\u0430\u043D\u0456"
@@ -12387,6 +12433,7 @@ var error56 = () => {
12387
12433
  json_string: "\u062C\u06D2 \u0627\u06CC\u0633 \u0627\u0648 \u0627\u06CC\u0646 \u0633\u0679\u0631\u0646\u06AF",
12388
12434
  e164: "\u0627\u06CC 164 \u0646\u0645\u0628\u0631",
12389
12435
  credit_card: "\u06A9\u0631\u06CC\u0688\u0679 \u06A9\u0627\u0631\u0688 \u0646\u0645\u0628\u0631",
12436
+ currency_code: "\u06A9\u0631\u0646\u0633\u06CC \u06A9\u0648\u0688",
12390
12437
  iban: "IBAN",
12391
12438
  jwt: "\u062C\u06D2 \u0688\u0628\u0644\u06CC\u0648 \u0679\u06CC",
12392
12439
  template_literal: "\u0627\u0646 \u067E\u0679"
@@ -12502,6 +12549,7 @@ var error57 = () => {
12502
12549
  json_string: "JSON satr",
12503
12550
  e164: "E.164 raqam",
12504
12551
  credit_card: "kredit karta raqami",
12552
+ currency_code: "valyuta kodi",
12505
12553
  iban: "IBAN",
12506
12554
  jwt: "JWT",
12507
12555
  template_literal: "kirish"
@@ -12615,6 +12663,7 @@ var error58 = () => {
12615
12663
  json_string: "chu\u1ED7i JSON",
12616
12664
  e164: "s\u1ED1 E.164",
12617
12665
  credit_card: "s\u1ED1 th\u1EBB t\xEDn d\u1EE5ng",
12666
+ currency_code: "m\xE3 ti\u1EC1n t\u1EC7",
12618
12667
  iban: "IBAN",
12619
12668
  jwt: "JWT",
12620
12669
  template_literal: "\u0111\u1EA7u v\xE0o"
@@ -12728,6 +12777,7 @@ var error59 = () => {
12728
12777
  json_string: "JSON\u5B57\u7B26\u4E32",
12729
12778
  e164: "E.164\u53F7\u7801",
12730
12779
  credit_card: "\u4FE1\u7528\u5361\u53F7",
12780
+ currency_code: "\u8D27\u5E01\u4EE3\u7801",
12731
12781
  iban: "IBAN",
12732
12782
  jwt: "JWT",
12733
12783
  template_literal: "\u8F93\u5165"
@@ -12842,6 +12892,7 @@ var error60 = () => {
12842
12892
  json_string: "JSON \u5B57\u4E32",
12843
12893
  e164: "E.164 \u6578\u503C",
12844
12894
  credit_card: "\u4FE1\u7528\u5361\u865F",
12895
+ currency_code: "\u8CA8\u5E63\u4EE3\u78BC",
12845
12896
  iban: "IBAN",
12846
12897
  jwt: "JWT",
12847
12898
  template_literal: "\u8F38\u5165"
@@ -12954,6 +13005,7 @@ var error61 = () => {
12954
13005
  json_string: "\u1ECD\u0300r\u1ECD\u0300 JSON",
12955
13006
  e164: "n\u1ECD\u0301mb\xE0 E.164",
12956
13007
  credit_card: "n\u1ECDmba kaadi gbese",
13008
+ currency_code: "koodu ow\xF3",
12957
13009
  iban: "IBAN",
12958
13010
  jwt: "JWT",
12959
13011
  template_literal: "\u1EB9\u0300r\u1ECD \xECb\xE1w\u1ECDl\xE9"
@@ -13332,7 +13384,7 @@ function generateChecks(doc, ctx, schema, accessor) {
13332
13384
  generatePropertyCheck(doc, ctx, def, currentAccessor);
13333
13385
  break;
13334
13386
  case "properties":
13335
- generatePropertiesChecks(doc, ctx, def, currentAccessor, false);
13387
+ generatePropertiesChecks(doc, ctx, def, currentAccessor);
13336
13388
  break;
13337
13389
  case "overwrite": {
13338
13390
  const newAccessor = newVar(ctx);
@@ -13442,11 +13494,11 @@ function generateMimeTypeCheck(doc, ctx, def, accessor) {
13442
13494
  doc.write(`if (!${mimeSet}.has(${accessor}.type)) return INVALID;`);
13443
13495
  }
13444
13496
  }
13445
- function generatePropertiesChecks(doc, ctx, def, accessor, schemaRole) {
13497
+ function generatePropertiesChecks(doc, ctx, def, accessor) {
13446
13498
  if (def.when) {
13447
13499
  throw new ZodCompileUnsupportedError(`check with a custom "when" condition`);
13448
13500
  }
13449
- doc.write(schemaRole ? `if (${accessor} === null || (typeof ${accessor} !== "object" && typeof ${accessor} !== "function")) return INVALID;` : `if (${accessor} == null) return INVALID;`);
13501
+ doc.write(`if (${accessor} == null) return INVALID;`);
13450
13502
  const shape = def.shape;
13451
13503
  for (const key of Reflect.ownKeys(shape)) {
13452
13504
  const keyExpr = typeof key === "symbol" ? addConstant(ctx, key) : esc(key);
@@ -13536,7 +13588,7 @@ var PATTERN_IS_COMPLETE = /* @__PURE__ */ new Set([
13536
13588
  "uuid",
13537
13589
  "xid"
13538
13590
  ]);
13539
- function generateStringFormatCheck(doc, ctx, def, accessor) {
13591
+ function generateStringFormatCheck(doc, ctx, def, accessor, needsValue = true) {
13540
13592
  const fmt = def.format;
13541
13593
  if (fmt === "base64") {
13542
13594
  const validator = addConstant(ctx, isValidBase64);
@@ -13576,7 +13628,7 @@ function generateStringFormatCheck(doc, ctx, def, accessor) {
13576
13628
  }
13577
13629
  const formatDef = def;
13578
13630
  if (fmt === "url" || fmt === "httpurl" || formatDef.normalize || formatDef.hostname !== void 0 || formatDef.protocol !== void 0) {
13579
- const parseConst = addConstant(ctx, parseURLObject);
13631
+ const parseConst = addConstant(ctx, validateURL);
13580
13632
  const defConst = addConstant(ctx, def);
13581
13633
  const trimVar = newVar(ctx);
13582
13634
  const urlVar = newVar(ctx);
@@ -13591,6 +13643,8 @@ function generateStringFormatCheck(doc, ctx, def, accessor) {
13591
13643
  const protocolConst = addConstant(ctx, urlProtocolOk);
13592
13644
  doc.write(`if (!${protocolConst}(${urlVar}, ${defConst}.protocol)) return INVALID;`);
13593
13645
  }
13646
+ if (!needsValue)
13647
+ return null;
13594
13648
  const outputVar = newVar(ctx);
13595
13649
  const outputExpr = formatDef.normalize ? `${urlVar}.href` : `${addConstant(ctx, stripTabAndNewline)}(${trimVar})`;
13596
13650
  doc.write(`const ${outputVar} = ${outputExpr};`);
@@ -13650,7 +13704,7 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
13650
13704
  let typeAccessor;
13651
13705
  switch (type) {
13652
13706
  case "string":
13653
- typeAccessor = generateStringCheck(doc, ctx, schema, accessor);
13707
+ typeAccessor = generateStringCheck(doc, ctx, schema, accessor, buildsValue);
13654
13708
  break;
13655
13709
  case "number":
13656
13710
  typeAccessor = generateNumberCheck(doc, schema, accessor);
@@ -13756,10 +13810,6 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
13756
13810
  case "custom":
13757
13811
  typeAccessor = generateCustomCheck(doc, ctx, schema, accessor);
13758
13812
  break;
13759
- case "properties":
13760
- generatePropertiesChecks(doc, ctx, schema._zod.def, accessor, true);
13761
- typeAccessor = accessor;
13762
- break;
13763
13813
  case "transform":
13764
13814
  typeAccessor = generateTransformCheck(doc, ctx, schema, accessor);
13765
13815
  break;
@@ -13775,12 +13825,12 @@ function generateCheck(doc, ctx, schema, accessor, needsValue = true) {
13775
13825
  return null;
13776
13826
  return generateChecks(doc, ctx, schema, typeAccessor);
13777
13827
  }
13778
- function generateStringCheck(doc, ctx, schema, accessor) {
13828
+ function generateStringCheck(doc, ctx, schema, accessor, needsValue = true) {
13779
13829
  doc.write(`if (typeof ${accessor} !== "string") return INVALID;`);
13780
13830
  const def = schema._zod.def;
13781
13831
  if (def.format === void 0)
13782
13832
  return accessor;
13783
- return generateStringFormatCheck(doc, ctx, def, accessor);
13833
+ return generateStringFormatCheck(doc, ctx, def, accessor, needsValue);
13784
13834
  }
13785
13835
  function generateNumberCheck(doc, schema, accessor) {
13786
13836
  doc.write(`if (typeof ${accessor} !== "number" || !Number.isFinite(${accessor})) return INVALID;`);
@@ -14680,20 +14730,18 @@ function generateTransformCheck(doc, ctx, schema, accessor) {
14680
14730
  }
14681
14731
 
14682
14732
  // ../../node_modules/zod/v4/core/api.js
14733
+ function snapshotChecks(def) {
14734
+ if (def.checks)
14735
+ def.checks = [...def.checks];
14736
+ return def;
14737
+ }
14683
14738
  // @__NO_SIDE_EFFECTS__
14684
14739
  function _string(Class2, params) {
14685
- return new Class2({
14686
- type: "string",
14687
- ...normalizeParams(params)
14688
- });
14740
+ return new Class2(snapshotChecks({ type: "string", ...normalizeParams(params) }));
14689
14741
  }
14690
14742
  // @__NO_SIDE_EFFECTS__
14691
14743
  function _coercedString(Class2, params) {
14692
- return new Class2({
14693
- type: "string",
14694
- coerce: true,
14695
- ...normalizeParams(params)
14696
- });
14744
+ return new Class2(snapshotChecks({ type: "string", coerce: true, ...normalizeParams(params) }));
14697
14745
  }
14698
14746
  // @__NO_SIDE_EFFECTS__
14699
14747
  function _email(Class2, params) {
@@ -14997,20 +15045,11 @@ function _isoDuration(Class2, params) {
14997
15045
  }
14998
15046
  // @__NO_SIDE_EFFECTS__
14999
15047
  function _number(Class2, params) {
15000
- return new Class2({
15001
- type: "number",
15002
- checks: [],
15003
- ...normalizeParams(params)
15004
- });
15048
+ return new Class2(snapshotChecks({ type: "number", checks: [], ...normalizeParams(params) }));
15005
15049
  }
15006
15050
  // @__NO_SIDE_EFFECTS__
15007
15051
  function _coercedNumber(Class2, params) {
15008
- return new Class2({
15009
- type: "number",
15010
- coerce: true,
15011
- checks: [],
15012
- ...normalizeParams(params)
15013
- });
15052
+ return new Class2(snapshotChecks({ type: "number", coerce: true, checks: [], ...normalizeParams(params) }));
15014
15053
  }
15015
15054
  // @__NO_SIDE_EFFECTS__
15016
15055
  function _int(Class2, params) {
@@ -15352,9 +15391,8 @@ function _property(property, schema, params) {
15352
15391
  });
15353
15392
  }
15354
15393
  // @__NO_SIDE_EFFECTS__
15355
- function _properties(Class2, shape, params) {
15356
- return new Class2({
15357
- type: "properties",
15394
+ function _properties(shape, params) {
15395
+ return new $ZodCheckProperties({
15358
15396
  check: "properties",
15359
15397
  shape,
15360
15398
  ...normalizeParams(params)
@@ -15989,11 +16027,11 @@ function foldObjects(members2) {
15989
16027
  }
15990
16028
  objects.push(member);
15991
16029
  }
15992
- const properties2 = {};
16030
+ const properties = {};
15993
16031
  const required2 = /* @__PURE__ */ new Set();
15994
16032
  for (const object2 of objects) {
15995
16033
  for (const key in object2.properties) {
15996
- if (Object.prototype.hasOwnProperty.call(properties2, key))
16034
+ if (Object.prototype.hasOwnProperty.call(properties, key))
15997
16035
  continue;
15998
16036
  const parts = [];
15999
16037
  for (const other of objects) {
@@ -16004,12 +16042,12 @@ function foldObjects(members2) {
16004
16042
  parts.push(part);
16005
16043
  }
16006
16044
  const merged = parts.length === 1 ? parts[0] : foldObjects(parts) ?? { allOf: parts };
16007
- assignProp(properties2, key, merged);
16045
+ assignProp(properties, key, merged);
16008
16046
  }
16009
16047
  for (const key of object2.required ?? [])
16010
16048
  required2.add(key);
16011
16049
  }
16012
- const folded = { type: "object", properties: properties2 };
16050
+ const folded = { type: "object", properties };
16013
16051
  if (required2.size)
16014
16052
  folded.required = [...required2];
16015
16053
  if (objects.every((object2) => object2.additionalProperties === false)) {
@@ -16631,17 +16669,15 @@ var objectProcessor = (schema, ctx, _json, params) => {
16631
16669
  path: [...params.path, "properties", key]
16632
16670
  }));
16633
16671
  }
16634
- const allKeys = new Set(Object.keys(shape));
16635
- const requiredKeys = new Set([...allKeys].filter((key) => {
16672
+ const requiredKeys = [];
16673
+ for (const key of Object.keys(shape)) {
16636
16674
  const field = def.shape[key];
16637
- if (ctx.io === "input") {
16638
- return inputOptin(field) === void 0;
16639
- } else {
16640
- return field._zod.optout === void 0;
16675
+ if (ctx.io === "input" ? inputOptin(field) === void 0 : field._zod.optout === void 0) {
16676
+ requiredKeys.push(key);
16641
16677
  }
16642
- }));
16643
- if (requiredKeys.size > 0) {
16644
- json2.required = Array.from(requiredKeys);
16678
+ }
16679
+ if (requiredKeys.length > 0) {
16680
+ json2.required = requiredKeys;
16645
16681
  }
16646
16682
  if (def.catchall?._zod.def.type === "never") {
16647
16683
  json2.additionalProperties = false;
@@ -16655,31 +16691,6 @@ var objectProcessor = (schema, ctx, _json, params) => {
16655
16691
  });
16656
16692
  }
16657
16693
  };
16658
- var propertiesProcessor = (schema, ctx, _json, params) => {
16659
- const json2 = _json;
16660
- const def = schema._zod.def;
16661
- if (Object.getOwnPropertySymbols(def.shape).length && handleUnrepresentable(schema, ctx, json2, params, "Symbol keys cannot be represented in JSON Schema")) {
16662
- return;
16663
- }
16664
- if (ctx.io === "output") {
16665
- for (const key in def.shape) {
16666
- 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`)) {
16667
- return;
16668
- }
16669
- }
16670
- }
16671
- json2.type = "object";
16672
- json2.properties = {};
16673
- for (const key in def.shape) {
16674
- assignProp(json2.properties, key, processSchema(def.shape[key], ctx, {
16675
- ...params,
16676
- path: [...params.path, "properties", key]
16677
- }));
16678
- }
16679
- const required2 = Object.keys(def.shape).filter((key) => inputOptin(def.shape[key]) === void 0);
16680
- if (required2.length > 0)
16681
- json2.required = required2;
16682
- };
16683
16694
  var unionProcessor = (schema, ctx, json2, params) => {
16684
16695
  const def = schema._zod.def;
16685
16696
  const isExclusive = def.inclusive === false;
@@ -16999,7 +17010,6 @@ var allProcessors = {
16999
17010
  file: fileProcessor,
17000
17011
  success: successProcessor,
17001
17012
  custom: customProcessor,
17002
- properties: propertiesProcessor,
17003
17013
  function: functionProcessor,
17004
17014
  transform: transformProcessor,
17005
17015
  map: mapProcessor,
@@ -17196,7 +17206,6 @@ __export(schemas_exports2, {
17196
17206
  ZodPrefault: () => ZodPrefault,
17197
17207
  ZodPreprocess: () => ZodPreprocess,
17198
17208
  ZodPromise: () => ZodPromise,
17199
- ZodProperties: () => ZodProperties,
17200
17209
  ZodReadonly: () => ZodReadonly,
17201
17210
  ZodRecord: () => ZodRecord,
17202
17211
  ZodSet: () => ZodSet,
@@ -17234,6 +17243,7 @@ __export(schemas_exports2, {
17234
17243
  creditCard: () => creditCard2,
17235
17244
  cuid: () => cuid3,
17236
17245
  cuid2: () => cuid22,
17246
+ currencyCode: () => currencyCode2,
17237
17247
  custom: () => custom,
17238
17248
  date: () => date2,
17239
17249
  describe: () => describe2,
@@ -17288,7 +17298,6 @@ __export(schemas_exports2, {
17288
17298
  prefault: () => prefault,
17289
17299
  preprocess: () => preprocess,
17290
17300
  promise: () => promise,
17291
- properties: () => properties,
17292
17301
  readonly: () => readonly,
17293
17302
  record: () => record,
17294
17303
  refine: () => refine,
@@ -17342,6 +17351,7 @@ __export(checks_exports2, {
17342
17351
  normalize: () => _normalize,
17343
17352
  overwrite: () => _overwrite,
17344
17353
  positive: () => _positive,
17354
+ properties: () => _properties,
17345
17355
  property: () => _property,
17346
17356
  regex: () => _regex,
17347
17357
  size: () => _size,
@@ -17801,8 +17811,8 @@ function url(params) {
17801
17811
  }
17802
17812
  function httpUrl(params) {
17803
17813
  return _url(ZodURL, {
17804
- protocol: regexes_exports.httpProtocol,
17805
- hostname: regexes_exports.domain,
17814
+ protocol: httpProtocol,
17815
+ hostname: domain,
17806
17816
  ...util_exports.normalizeParams(params)
17807
17817
  });
17808
17818
  }
@@ -17940,10 +17950,13 @@ function stringFormat(format, fnOrRegex, _params = {}) {
17940
17950
  return _stringFormat(ZodCustomStringFormat, format, fnOrRegex, _params);
17941
17951
  }
17942
17952
  function hostname2(_params) {
17943
- return _stringFormat(ZodCustomStringFormat, "hostname", regexes_exports.hostname, _params);
17953
+ return _stringFormat(ZodCustomStringFormat, "hostname", hostname, _params);
17944
17954
  }
17945
17955
  function hex2(_params) {
17946
- return _stringFormat(ZodCustomStringFormat, "hex", regexes_exports.hex, _params);
17956
+ return _stringFormat(ZodCustomStringFormat, "hex", hex, _params);
17957
+ }
17958
+ function currencyCode2(_params) {
17959
+ return _stringFormat(ZodCustomStringFormat, "currency_code", currencyCode, _params);
17947
17960
  }
17948
17961
  function hash(alg, params) {
17949
17962
  const enc = params?.enc ?? "hex";
@@ -18808,14 +18821,6 @@ var ZodCustom = /* @__PURE__ */ $constructor("ZodCustom", (inst, def) => {
18808
18821
  ZodType.init(inst, def);
18809
18822
  inst._zod.processJSONSchema = (ctx, json2, params) => customProcessor(inst, ctx, json2, params);
18810
18823
  });
18811
- var ZodProperties = /* @__PURE__ */ $constructor("ZodProperties", (inst, def) => {
18812
- _ensureDefaultMemoizer();
18813
- $ZodProperties.init(inst, def);
18814
- ZodType.init(inst, def);
18815
- });
18816
- function properties(shape, params) {
18817
- return _properties(ZodProperties, shape, params);
18818
- }
18819
18824
  function check(fn) {
18820
18825
  const ch = new $ZodCheck({
18821
18826
  check: "custom"
@@ -18839,7 +18844,7 @@ var ZodInstanceOf = /* @__PURE__ */ $constructor("ZodInstanceOf", (inst, def) =>
18839
18844
  ZodCustom.init(inst, def);
18840
18845
  }, {
18841
18846
  properties(shape, params) {
18842
- return this.check(properties(shape, params));
18847
+ return this.check(_properties(shape, params));
18843
18848
  }
18844
18849
  });
18845
18850
  function _instanceof(cls, params = {}) {
@@ -19426,10 +19431,10 @@ function convertBaseSchema(schema, ctx) {
19426
19431
  }
19427
19432
  case "object": {
19428
19433
  const shape = {};
19429
- const properties2 = schema.properties || {};
19434
+ const properties = schema.properties || {};
19430
19435
  const requiredSet = new Set(schema.required || []);
19431
19436
  const additionalSchema = typeof schema.additionalProperties === "object" ? convertSchema(schema.additionalProperties, ctx) : void 0;
19432
- for (const [key, propSchema] of Object.entries(properties2)) {
19437
+ for (const [key, propSchema] of Object.entries(properties)) {
19433
19438
  const propZodSchema = convertSchema(propSchema, ctx);
19434
19439
  assignProp(shape, key, requiredSet.has(key) ? propZodSchema : propZodSchema.optional());
19435
19440
  }
@@ -19790,18 +19795,6 @@ function visit(schema, fnOrHandlers) {
19790
19795
  const { _cachedInner, ...rest } = def;
19791
19796
  return clone(s, { ...rest, getter: () => run(original()) });
19792
19797
  }
19793
- case "properties": {
19794
- const oldShape = def.shape;
19795
- let changed = false;
19796
- const newShape = {};
19797
- for (const k of Reflect.ownKeys(oldShape)) {
19798
- const mapped = run(oldShape[k]);
19799
- if (mapped !== oldShape[k])
19800
- changed = true;
19801
- newShape[k] = mapped;
19802
- }
19803
- return changed ? clone(s, { ...def, shape: newShape }) : s;
19804
- }
19805
19798
  // A leaf by choice: `parts` are regex fragments, not data positions.
19806
19799
  case "template_literal":
19807
19800
  // Leaves.
@@ -19953,6 +19946,9 @@ var FAILURE_CATEGORIES = [
19953
19946
  ];
19954
19947
  var SKIP_CATEGORIES = ["insufficient_credit"];
19955
19948
 
19949
+ // ../../packages/core/dist/esm/schemas/shared.schema.js
19950
+ var RolloutCompatibleNullableStringSchema = external_exports.string().nullish().transform((value) => value ?? null);
19951
+
19956
19952
  // ../../packages/core/dist/esm/schemas/query-param.schema.js
19957
19953
  var isoDateTimeOrDateQueryParamSchema = external_exports.union([
19958
19954
  external_exports.iso.datetime({ offset: true }),
@@ -19999,7 +19995,6 @@ var AutomationRunResultSchema = external_exports.object({
19999
19995
  var RolloutCompatibleAutomationRunResultSchema = AutomationRunResultSchema.nullish().transform((result) => {
20000
19996
  return result ?? null;
20001
19997
  });
20002
- var RolloutCompatibleTriggeredBySchema = external_exports.string().nullish().transform((triggeredBy) => triggeredBy ?? null);
20003
19998
  var automationRunDtoBaseShape = {
20004
19999
  id: external_exports.string(),
20005
20000
  automationId: external_exports.string(),
@@ -20007,7 +20002,9 @@ var automationRunDtoBaseShape = {
20007
20002
  updatedAt: external_exports.string(),
20008
20003
  result: RolloutCompatibleAutomationRunResultSchema,
20009
20004
  temporalUrl: external_exports.string().nullish(),
20010
- triggeredBy: RolloutCompatibleTriggeredBySchema
20005
+ // Whoever started the run from the app; null for schedules, webhooks and
20006
+ // API triggers, and for a worker that predates the field.
20007
+ triggeredBy: RolloutCompatibleNullableStringSchema
20011
20008
  };
20012
20009
  var AutomationRunDtoSchema = external_exports.discriminatedUnion("status", [
20013
20010
  external_exports.object({ ...automationRunDtoBaseShape, status: external_exports.literal("pending") }),
@@ -20705,13 +20702,13 @@ function validatePropertyPathInSchema(schema, propertyPath) {
20705
20702
  if (!schema.type || schema.type !== "object") {
20706
20703
  return false;
20707
20704
  }
20708
- const properties2 = schema.properties;
20709
- if (!properties2)
20705
+ const properties = schema.properties;
20706
+ if (!properties)
20710
20707
  return true;
20711
20708
  const [currentProperty, ...remainingPath] = propertyPath;
20712
20709
  if (!currentProperty)
20713
20710
  return false;
20714
- const propertySchema = properties2[currentProperty];
20711
+ const propertySchema = properties[currentProperty];
20715
20712
  if (!propertySchema || typeof propertySchema !== "object") {
20716
20713
  return false;
20717
20714
  }
@@ -20725,13 +20722,13 @@ function resolvePropertySchemaInSchema(schema, propertyPath) {
20725
20722
  return schema;
20726
20723
  if (!schema.type || schema.type !== "object")
20727
20724
  return null;
20728
- const properties2 = schema.properties;
20729
- if (!properties2)
20725
+ const properties = schema.properties;
20726
+ if (!properties)
20730
20727
  return null;
20731
20728
  const [currentProperty, ...remainingPath] = propertyPath;
20732
20729
  if (!currentProperty)
20733
20730
  return null;
20734
- const propertySchema = properties2[currentProperty];
20731
+ const propertySchema = properties[currentProperty];
20735
20732
  if (!propertySchema || typeof propertySchema !== "object")
20736
20733
  return null;
20737
20734
  return resolvePropertySchemaInSchema(propertySchema, remainingPath);
@@ -21045,8 +21042,8 @@ var askOptionsSchema = external_exports.array(askOptionSchema).min(2, "An ask st
21045
21042
  }
21046
21043
  }).meta({ description: "Two or more options the user chooses between." });
21047
21044
  var askStepOutputSchema = stepOutputSchema.refine((schema) => {
21048
- const properties2 = schema.properties;
21049
- return schema.type === "object" && typeof properties2 === "object" && properties2 !== null && "choice" in properties2;
21045
+ const properties = schema.properties;
21046
+ return schema.type === "object" && typeof properties === "object" && properties !== null && "choice" in properties;
21050
21047
  }, {
21051
21048
  message: 'Ask steps must declare an outputSchema of type "object" with a "choice" property.'
21052
21049
  }).meta({
@@ -21746,6 +21743,8 @@ var automationSchema = external_exports.object({
21746
21743
  draftId: external_exports.string().nullable(),
21747
21744
  manifest: external_exports.union([manifestSchema, external_exports.record(external_exports.string(), external_exports.unknown())]).nullable(),
21748
21745
  updatedAt: external_exports.iso.datetime(),
21746
+ // The last person who changed the automation; null until someone has.
21747
+ updatedBy: RolloutCompatibleNullableStringSchema,
21749
21748
  // null means the automation belongs to the creator's personal space
21750
21749
  workspaceId: external_exports.string().nullable(),
21751
21750
  visibility: external_exports.enum(AUTOMATION_VISIBILITIES),
@@ -21927,7 +21926,7 @@ var automationDraftSchema = external_exports.object({
21927
21926
  partialManifest: external_exports.record(external_exports.string(), external_exports.unknown()),
21928
21927
  isComplete: external_exports.boolean(),
21929
21928
  automationId: external_exports.string().nullable(),
21930
- conversationId: external_exports.string().nullish().transform((value) => value ?? null),
21929
+ conversationId: RolloutCompatibleNullableStringSchema,
21931
21930
  // null means the draft was authored in the creator's personal space
21932
21931
  workspaceId: external_exports.string().nullable(),
21933
21932
  createdAt: external_exports.string(),
@@ -26524,7 +26523,11 @@ function formatAutomation(automation) {
26524
26523
  ...automation.workspaceId === null ? [] : [
26525
26524
  `Workspace: ${automation.workspaceId}`,
26526
26525
  `Visibility: ${automation.visibility}`,
26527
- `Created by: ${automation.isOwner ? "you" : "another member"}`
26526
+ `Created by: ${automation.isOwner ? "you" : "another member"}`,
26527
+ // A shared automation can be changed by its creator or a workspace
26528
+ // admin, so the last person to do so is worth naming; a bare id,
26529
+ // as `Triggered by` is on runs.
26530
+ ...automation.updatedBy === null ? [] : [`Last changed by: ${automation.updatedBy}`]
26528
26531
  ],
26529
26532
  `Enabled: ${automation.enabled}`,
26530
26533
  `Run status: ${automation.status.status}`,