@wirecat/notion-cli 0.2.0 → 0.3.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/CHANGELOG.md +29 -0
- package/README.md +6 -2
- package/contracts/wirecat.json +48 -0
- package/dist/bin/notion.js +2 -2
- package/dist/bundle/{all-profiles-JGYLQZ5C.js → all-profiles-4IONYZB6.js} +10 -10
- package/dist/bundle/{anthropic-S2VSMIKQ.js → anthropic-OXF74J4P.js} +6 -6
- package/dist/bundle/{app-server-SASYDBCA.js → app-server-M2VF6ABM.js} +59 -59
- package/dist/bundle/{bun-LU5LP3JI.js → bun-DLA6QRLL.js} +2 -2
- package/dist/bundle/{bun-sqlite-JBSINB4O.js → bun-sqlite-F4BYLW3F.js} +7 -7
- package/dist/bundle/{chunk-4HWJOU7N.js → chunk-2MHMKNWD.js} +1 -1
- package/dist/bundle/{chunk-SHJQ6JKG.js → chunk-4KUJTSHG.js} +2 -2
- package/dist/bundle/{chunk-SWAOWNKW.js → chunk-4TQVZXOV.js} +3 -3
- package/dist/bundle/{chunk-ODBZNSZ6.js → chunk-5LBJNTEJ.js} +6 -6
- package/dist/bundle/{chunk-SZOVLP44.js → chunk-5UA2TYMI.js} +2 -2
- package/dist/bundle/{chunk-22QQUKWA.js → chunk-5XP4KQ2F.js} +1 -1
- package/dist/bundle/{chunk-4IPURN72.js → chunk-6GN7KU7X.js} +9 -9
- package/dist/bundle/{chunk-X4TIMMKJ.js → chunk-6JBLIQQN.js} +1 -1
- package/dist/bundle/{chunk-4ZTVJHWU.js → chunk-7NF3V5L2.js} +4 -4
- package/dist/bundle/{chunk-OTV53F34.js → chunk-7NGFGFE5.js} +9 -60
- package/dist/bundle/{chunk-VBHETQVV.js → chunk-7NVPM55S.js} +1908 -1013
- package/dist/bundle/{chunk-Z56QFOBR.js → chunk-7YZPBAQX.js} +1 -1
- package/dist/bundle/{chunk-3AL7QUS3.js → chunk-AYU5TFDU.js} +20 -20
- package/dist/bundle/{chunk-FPY6EJ7B.js → chunk-BEPFGITI.js} +55 -55
- package/dist/bundle/{chunk-VCIALTEM.js → chunk-CBGBFAYJ.js} +12 -4
- package/dist/bundle/{chunk-NQWV4WQO.js → chunk-CDGZZNGY.js} +6 -6
- package/dist/bundle/{chunk-DH5PRHT4.js → chunk-CIVXTBJY.js} +13 -13
- package/dist/bundle/{chunk-B26TQZKZ.js → chunk-COH7OEER.js} +14 -13
- package/dist/bundle/{chunk-XF26XKTS.js → chunk-D6RCRBDH.js} +2 -2
- package/dist/bundle/{chunk-YMYUBZWT.js → chunk-EQPAZ33O.js} +17 -17
- package/dist/bundle/{chunk-LAYPFBOM.js → chunk-EY6S7FV3.js} +6 -6
- package/dist/bundle/chunk-FEMHUSGO.js +88 -0
- package/dist/bundle/{chunk-FWVBPRL4.js → chunk-FSJHASRQ.js} +79 -62
- package/dist/bundle/{chunk-TPX2M45D.js → chunk-GBFEEHQC.js} +10 -10
- package/dist/bundle/{chunk-5IYKVRH2.js → chunk-GCCPFKSU.js} +434 -343
- package/dist/bundle/{chunk-3Z4YTSRY.js → chunk-GK4GLPG2.js} +3 -3
- package/dist/bundle/{chunk-GZOUFX3C.js → chunk-GSNE7OB4.js} +4 -4
- package/dist/bundle/{chunk-TSDBSIFM.js → chunk-HTKSCSJU.js} +4 -4
- package/dist/bundle/{chunk-5NFK5EM2.js → chunk-IJMFG7HB.js} +7 -7
- package/dist/bundle/{chunk-D7QSEEYW.js → chunk-JIRRF6BM.js} +4 -4
- package/dist/bundle/{chunk-5RSC54NA.js → chunk-JODE2XED.js} +25 -25
- package/dist/bundle/{chunk-RV64YUQX.js → chunk-K5I64ZVI.js} +9 -9
- package/dist/bundle/{chunk-AOCUKEAX.js → chunk-KL3P5TQK.js} +4 -4
- package/dist/bundle/{chunk-2LWO3PDX.js → chunk-L62XTC7N.js} +11 -11
- package/dist/bundle/{chunk-LLG2POQ7.js → chunk-L6H7PY4X.js} +3 -3
- package/dist/bundle/{chunk-5RDNBG7D.js → chunk-LIQMUDIZ.js} +2 -2
- package/dist/bundle/{chunk-WF4D56CA.js → chunk-M2EEIYBU.js} +2 -2
- package/dist/bundle/{chunk-MZU2YFBZ.js → chunk-M6DGZ2O6.js} +8 -8
- package/dist/bundle/{chunk-FXEJY4OL.js → chunk-MRA62W5K.js} +233 -167
- package/dist/bundle/{chunk-XYIT2XB3.js → chunk-MVA5HVKL.js} +20 -0
- package/dist/bundle/{chunk-YVI5SQPY.js → chunk-NO2LIHWA.js} +1 -1
- package/dist/bundle/{chunk-WCSOH4JS.js → chunk-OCDJ4FFA.js} +4 -4
- package/dist/bundle/{chunk-2F4QQ7WB.js → chunk-OI5DWZJG.js} +3 -3
- package/dist/bundle/{chunk-EUIVXFLJ.js → chunk-P3P6DA6K.js} +6 -6
- package/dist/bundle/{chunk-MY742GAD.js → chunk-QX3TPFEX.js} +37 -37
- package/dist/bundle/{chunk-6RA3EABS.js → chunk-R6SDRSZK.js} +62 -32
- package/dist/bundle/{chunk-5QIQEUOG.js → chunk-RMJMID5D.js} +8 -8
- package/dist/bundle/{chunk-BNPTZ5ZB.js → chunk-SGBS5QCU.js} +4 -4
- package/dist/bundle/{chunk-YNTLT3Z3.js → chunk-T5UNSFES.js} +8 -8
- package/dist/bundle/{chunk-M7S2NDWB.js → chunk-TFNRCCGR.js} +4 -4
- package/dist/bundle/{chunk-B7ON6KPT.js → chunk-TJCPTRYD.js} +7 -7
- package/dist/bundle/{chunk-KM6WHPHI.js → chunk-TXONV3HW.js} +2 -2
- package/dist/bundle/{chunk-NOQ7B5N7.js → chunk-TZ2QJ53V.js} +2 -2
- package/dist/bundle/{chunk-KGERXYTV.js → chunk-UKE3CGHK.js} +1 -1
- package/dist/bundle/{chunk-6EVKHZKN.js → chunk-UROEWCOG.js} +3 -3
- package/dist/bundle/{chunk-WJHZMR2W.js → chunk-WHJWURZB.js} +6 -6
- package/dist/bundle/{chunk-G3EZFRSS.js → chunk-WU3XHGOB.js} +112 -42
- package/dist/bundle/{chunk-2F6VO5HA.js → chunk-WZEEEQGC.js} +3 -3
- package/dist/bundle/{chunk-M3KB25D3.js → chunk-XCTOCVMW.js} +14 -14
- package/dist/bundle/{chunk-FT3LN3HP.js → chunk-Y5LAJWR5.js} +1 -1
- package/dist/bundle/{chunk-ZZ32DXTH.js → chunk-YAPDU3SV.js} +1 -1
- package/dist/bundle/{chunk-HL52XXZX.js → chunk-YFWLHTNO.js} +1 -1
- package/dist/bundle/{chunk-P7CUM5IB.js → chunk-YGCI3DHS.js} +1 -1
- package/dist/bundle/{chunk-KCLOUUYF.js → chunk-Z53LYX4M.js} +3 -3
- package/dist/bundle/{chunk-ZKAEZXUP.js → chunk-ZC6ZQQ55.js} +36 -37
- package/dist/bundle/command-contract-UBXS6NHI.js +38 -0
- package/dist/bundle/{command-server-entry-UFSG7KRO.js → command-server-entry-2SORMVRM.js} +27 -27
- package/dist/bundle/{decode-7LLWTSPT.js → decode-5O7IEFPN.js} +6 -6
- package/dist/bundle/{dispatch-2GY6JIJH.js → dispatch-YHQX6FEJ.js} +8 -8
- package/dist/bundle/{echarts-BXX4OQWC.js → echarts-ARLMVQC7.js} +2 -2
- package/dist/bundle/{embed-JXFNBTKH.js → embed-FUDUKQ3K.js} +7 -7
- package/dist/bundle/{embedder-57YZ44KO.js → embedder-HDRV7GX3.js} +10 -10
- package/dist/bundle/{failure-MYT4HPE3.js → failure-JHXICWIL.js} +3 -3
- package/dist/bundle/first-run-BGEFTXOE.js +29 -0
- package/dist/bundle/first-screen-F5F3VS6Y.js +38 -0
- package/dist/bundle/{instructions-2VECIDXF.js → instructions-MEFIKCDI.js} +1 -1
- package/dist/bundle/{mcp-O6ACR2DX.js → mcp-VMS6PBCU.js} +2 -2
- package/dist/bundle/meeting-combined-HNSS3FQY.js +24 -0
- package/dist/bundle/meeting-model-REZVYGQW.js +26 -0
- package/dist/bundle/{meeting-semantic-ETN3A4BJ.js → meeting-semantic-R4CSLVRG.js} +7 -7
- package/dist/bundle/{node-MPEQSFI3.js → node-MAQALPLA.js} +2 -2
- package/dist/bundle/{node-sqlite-WA32MYSJ.js → node-sqlite-J7IJYNBO.js} +8 -8
- package/dist/bundle/notion.js +14 -14
- package/dist/bundle/{oauth-IAFZG3IR.js → oauth-AMV4YGJD.js} +8 -8
- package/dist/bundle/{open-M3JQUC5G.js → open-AB27MTGR.js} +6 -6
- package/dist/bundle/{openai-HXUEHUSD.js → openai-D77MU5XV.js} +17 -17
- package/dist/bundle/{process-F6TKXWWA.js → process-SIOWTRJ6.js} +1 -1
- package/dist/bundle/{program-Y7JAB6TG.js → program-QC5MX4ZJ.js} +2816 -1645
- package/dist/bundle/{prompt-IMUQLZD2.js → prompt-W77YDHA6.js} +6 -6
- package/dist/bundle/{recognize-2MZAYHAA.js → recognize-3JAXQQ36.js} +5 -5
- package/dist/bundle/{remote-OV4LB6VR.js → remote-PSOJXCXO.js} +11 -11
- package/dist/bundle/{rerank-ZIULUS34.js → rerank-EE44ZTGL.js} +8 -8
- package/dist/bundle/{schemas-DIVZS6TU.js → schemas-LBYUMBC6.js} +2 -2
- package/dist/bundle/{serve-YU7QBP6L.js → serve-XJMGAMFW.js} +10 -10
- package/dist/bundle/{server-LGMNONSB.js → server-ASU6CP5R.js} +51 -51
- package/dist/bundle/server-WSPQ5EOA.js +72 -0
- package/dist/bundle/{services-5WY4DCPJ.js → services-PT4PA4J6.js} +46 -39
- package/dist/bundle/{sqlite-runtime-5MXZDETH.js → sqlite-runtime-YHXRTVXE.js} +7 -7
- package/dist/bundle/{state-LWMZH2KI.js → state-T6ZKFWGD.js} +7 -7
- package/dist/bundle/{store-EPZYV4VW.js → store-3MUCZEI3.js} +20 -18
- package/dist/bundle/{store-QE6FEIZD.js → store-E5EE25FY.js} +24 -20
- package/dist/bundle/store-maintenance-command-ZZ55BBBG.js +63 -0
- package/dist/commands/api.d.ts.map +1 -1
- package/dist/commands/api.js +13 -4
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/documents.d.ts +8 -0
- package/dist/commands/documents.d.ts.map +1 -1
- package/dist/commands/documents.js +173 -3
- package/dist/commands/documents.js.map +1 -1
- package/dist/commands/library.d.ts.map +1 -1
- package/dist/commands/library.js +3 -1
- package/dist/commands/library.js.map +1 -1
- package/dist/config.d.ts +19 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +73 -5
- package/dist/config.js.map +1 -1
- package/dist/context.d.ts +3 -0
- package/dist/context.d.ts.map +1 -1
- package/dist/context.js +3 -0
- package/dist/context.js.map +1 -1
- package/dist/generated/types.d.ts +485 -375
- package/dist/generated/types.d.ts.map +1 -1
- package/dist/notion/errors.d.ts +5 -0
- package/dist/notion/errors.d.ts.map +1 -1
- package/dist/notion/errors.js +7 -0
- package/dist/notion/errors.js.map +1 -1
- package/dist/notion/writes.d.ts +40 -0
- package/dist/notion/writes.d.ts.map +1 -0
- package/dist/notion/writes.js +112 -0
- package/dist/notion/writes.js.map +1 -0
- package/dist/sync/cursor.d.ts +12 -0
- package/dist/sync/cursor.d.ts.map +1 -1
- package/dist/sync/files.d.ts +10 -0
- package/dist/sync/files.d.ts.map +1 -1
- package/dist/sync/files.js +19 -0
- package/dist/sync/files.js.map +1 -1
- package/dist/sync/source.d.ts.map +1 -1
- package/dist/sync/source.js +43 -25
- package/dist/sync/source.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/notion-cli/SKILL.md +6 -0
- package/dist/bundle/command-contract-JS5V27NX.js +0 -38
- package/dist/bundle/first-run-3PF7T74J.js +0 -29
- package/dist/bundle/first-screen-7BEROEQR.js +0 -36
- package/dist/bundle/meeting-combined-PPUQ3KBR.js +0 -24
- package/dist/bundle/meeting-model-ZNMYKMCD.js +0 -26
- package/dist/bundle/server-FKQET4ZO.js +0 -71
- package/dist/bundle/store-maintenance-command-ZUUUFCHL.js +0 -62
- /package/dist/bundle/{chunk-VKE77B3F.js → chunk-SHTHNBHG.js} +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
pageSchema,
|
|
12
12
|
reference,
|
|
13
13
|
stepOf
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-6GN7KU7X.js";
|
|
15
15
|
import {
|
|
16
16
|
array,
|
|
17
17
|
boolean,
|
|
@@ -34,18 +34,18 @@ import {
|
|
|
34
34
|
string,
|
|
35
35
|
union,
|
|
36
36
|
variant
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-MVA5HVKL.js";
|
|
38
38
|
import {
|
|
39
39
|
CliError,
|
|
40
40
|
isCliError,
|
|
41
41
|
singleLine,
|
|
42
42
|
visibleControls
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-LIQMUDIZ.js";
|
|
44
44
|
import {
|
|
45
45
|
__name
|
|
46
46
|
} from "./chunk-ZVVMGPBJ.js";
|
|
47
47
|
|
|
48
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
48
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/reference.js
|
|
49
49
|
var invalid = /* @__PURE__ */ __name(() => new CliError("validation_error", "expected meeting:<accountId>/<meetingId>[/<transcriptId>[/<cuePosition>]] with safe integer IDs"), "invalid");
|
|
50
50
|
var integer2 = /* @__PURE__ */ __name((value, minimum = 1) => {
|
|
51
51
|
if (!Number.isSafeInteger(value) || value < minimum)
|
|
@@ -82,7 +82,7 @@ var parseMeetingReference = /* @__PURE__ */ __name((text7) => {
|
|
|
82
82
|
}, "parseMeetingReference");
|
|
83
83
|
var canonicalMeetingReference = /* @__PURE__ */ __name((text7) => formatMeetingReference(parseMeetingReference(text7)), "canonicalMeetingReference");
|
|
84
84
|
|
|
85
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
85
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/payment.js
|
|
86
86
|
var FACT_TYPES = ["fact", "statement", "question", "decision", "promise"];
|
|
87
87
|
var PAYMENT_DIRECTIONS = ["to_us", "from_us"];
|
|
88
88
|
var PAYMENT_STATES = ["expected", "paid", "cancelled"];
|
|
@@ -176,7 +176,7 @@ var paymentTitle = /* @__PURE__ */ __name((fact) => {
|
|
|
176
176
|
return `${grouped(payment.amount)} ${payment.currency} ${way}${party}${item}${due} (${payment.state})`;
|
|
177
177
|
}, "paymentTitle");
|
|
178
178
|
|
|
179
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
179
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/types.js
|
|
180
180
|
var QUERY_LIMITS = {
|
|
181
181
|
bytes: 8192,
|
|
182
182
|
depth: 32,
|
|
@@ -220,7 +220,7 @@ function queryError(reason, span, alternative, context3 = {}, details = {}) {
|
|
|
220
220
|
__name(queryError, "queryError");
|
|
221
221
|
var walkQuery = /* @__PURE__ */ __name((node) => node.kind === "predicate" ? [node] : node.clauses.flatMap(({ node: node2 }) => walkQuery(node2)), "walkQuery");
|
|
222
222
|
|
|
223
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
223
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/dates.js
|
|
224
224
|
var timezoneOf = /* @__PURE__ */ __name((given) => {
|
|
225
225
|
const zone = given ?? Intl.DateTimeFormat().resolvedOptions().timeZone ?? "UTC";
|
|
226
226
|
try {
|
|
@@ -370,7 +370,7 @@ var dateRange = /* @__PURE__ */ __name((lower, upper, lowerInclusive, upperInclu
|
|
|
370
370
|
};
|
|
371
371
|
}, "dateRange");
|
|
372
372
|
|
|
373
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
373
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/evaluate.js
|
|
374
374
|
var wordsOf = /* @__PURE__ */ __name((text7) => text7.toLowerCase().match(/[\p{L}\p{N}]+/gu) ?? [], "wordsOf");
|
|
375
375
|
var pattern = /* @__PURE__ */ __name((value) => new RegExp(`^${[...value].map((char) => char === "*" ? ".*" : char === "?" ? "." : char.replace(/[.+^${}()|[\]\\]/, "\\$&")).join("")}$`, "iu"), "pattern");
|
|
376
376
|
var present = /* @__PURE__ */ __name((value) => value !== void 0 && value !== null && value !== "", "present");
|
|
@@ -425,7 +425,7 @@ var matches = /* @__PURE__ */ __name((node, item, byName, options) => {
|
|
|
425
425
|
}, "matches");
|
|
426
426
|
var evaluate = /* @__PURE__ */ __name((ast, fields2, item, options = {}) => matches(ast.root, item, new Map(fields2.map((field) => [field.name, field])), options), "evaluate");
|
|
427
427
|
|
|
428
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
428
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/fields.js
|
|
429
429
|
var FIELD_TYPES = ["kw", "txt", "enum", "num", "time", "bool", "ref"];
|
|
430
430
|
var OPERATORS_BY_TYPE = {
|
|
431
431
|
kw: ["term", "phrase", "wildcard"],
|
|
@@ -504,7 +504,7 @@ var queryFieldsOf = /* @__PURE__ */ __name((schema, annotations = {}) => {
|
|
|
504
504
|
return [...own, ...relations, ...states];
|
|
505
505
|
}, "queryFieldsOf");
|
|
506
506
|
|
|
507
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
507
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/help.js
|
|
508
508
|
var shownOf = /* @__PURE__ */ __name((registry) => registry.backend === "native" ? registry.fields.filter((field) => field.native) : registry.fields, "shownOf");
|
|
509
509
|
var leftOut = /* @__PURE__ */ __name((fields2) => fields2.filter((field) => field.negatable).map((field) => field.name), "leftOut");
|
|
510
510
|
var has = /* @__PURE__ */ __name((fields2, operator) => fields2.some((field) => field.operators.includes(operator)), "has");
|
|
@@ -541,7 +541,7 @@ var queryDescription = /* @__PURE__ */ __name((registry) => {
|
|
|
541
541
|
return `${terms}; fields: ${fields2.join(", ")}; e.g. ${shown[0]?.example ?? ""}${defaults}`;
|
|
542
542
|
}, "queryDescription");
|
|
543
543
|
|
|
544
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
544
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/parser.js
|
|
545
545
|
var whitespace = /* @__PURE__ */ __name((c) => /[ \t\n\r\u3000]/u.test(c), "whitespace");
|
|
546
546
|
var reserved = /* @__PURE__ */ new Set([
|
|
547
547
|
"+",
|
|
@@ -850,7 +850,7 @@ var implicitTextTerms = /* @__PURE__ */ __name((text7) => {
|
|
|
850
850
|
return new Set(tokens.flatMap((token, index) => (token.kind === "term" || token.kind === "number") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index - 1]?.kind ?? "") && ![":", "=", "<", ">", "<=", ">="].includes(tokens[index + 1]?.kind ?? "") ? [token.span.start] : []));
|
|
851
851
|
}, "implicitTextTerms");
|
|
852
852
|
|
|
853
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
853
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/validate.js
|
|
854
854
|
var inContext = /* @__PURE__ */ __name((context3, run2) => {
|
|
855
855
|
try {
|
|
856
856
|
run2();
|
|
@@ -925,7 +925,7 @@ var validateQuery = /* @__PURE__ */ __name((ast, registry, options = {}) => {
|
|
|
925
925
|
}, "validateQuery");
|
|
926
926
|
var fieldsNamed = /* @__PURE__ */ __name((ast) => new Set(walkQuery(ast.root).map((node) => node.field)), "fieldsNamed");
|
|
927
927
|
|
|
928
|
-
// node_modules/.pnpm/@wirecat+cli-base@0.
|
|
928
|
+
// node_modules/.pnpm/@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typescript@7.0.2_vitest@5.0.5/node_modules/@wirecat/cli-base/dist/query/registry.js
|
|
929
929
|
var describeQuery = /* @__PURE__ */ __name((registry) => ({
|
|
930
930
|
entity: registry.entity,
|
|
931
931
|
backend: registry.backend,
|
|
@@ -996,7 +996,7 @@ var QUERY_REASONS = defineReasons([
|
|
|
996
996
|
details: [...SPAN, ...details]
|
|
997
997
|
})));
|
|
998
998
|
|
|
999
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
999
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/hit-query.js
|
|
1000
1000
|
var context = {
|
|
1001
1001
|
command: "search meetings",
|
|
1002
1002
|
guide: "https://github.com/WireCatLabs/cli-core/blob/main/docs/search/query-language.md#\u0432\u0441\u0442\u0440\u0435\u0447\u0438"
|
|
@@ -1118,7 +1118,7 @@ var meetingWordsQuery = /* @__PURE__ */ __name((text7) => {
|
|
|
1118
1118
|
return { version: 1, language: "lucene-v1", root };
|
|
1119
1119
|
}, "meetingWordsQuery");
|
|
1120
1120
|
|
|
1121
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1121
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/passage.js
|
|
1122
1122
|
var meetingHitContextLimits = /* @__PURE__ */ __name((options = {}) => {
|
|
1123
1123
|
const { before = 3, after = 3, bytes = 65536, max_read_bytes = 4194304, expected_fingerprint } = options;
|
|
1124
1124
|
if (![before, after].every((value) => Number.isSafeInteger(value) && value >= 0) || before + after > 999 || !Number.isSafeInteger(bytes) || bytes < 2 || bytes > 4194304 || !Number.isSafeInteger(max_read_bytes) || max_read_bytes < 1 || max_read_bytes > 67108864 || expected_fingerprint !== void 0 && (typeof expected_fingerprint !== "string" || !/^[a-f0-9]{64}$/.test(expected_fingerprint)))
|
|
@@ -1139,7 +1139,7 @@ var validateMeetingPassage = /* @__PURE__ */ __name((reference2, options) => {
|
|
|
1139
1139
|
throw new CliError("validation_error", "choose a cue reference and json, text or markdown output");
|
|
1140
1140
|
}, "validateMeetingPassage");
|
|
1141
1141
|
|
|
1142
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1142
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/search/service-query.js
|
|
1143
1143
|
var BACKENDS = ["archive", "server", "both"];
|
|
1144
1144
|
var MAX_BRANCHES = 64;
|
|
1145
1145
|
var some = /* @__PURE__ */ __name((value) => value === void 0 ? [] : [value], "some");
|
|
@@ -1178,7 +1178,10 @@ var RELATIVE_TIME = /^\d+[mhd]$/i;
|
|
|
1178
1178
|
var OFFSET = /(?:Z|[+-]\d{2}:?\d{2})$/i;
|
|
1179
1179
|
var readsZone = /* @__PURE__ */ __name((ast, times) => walkQuery(ast.root).some((term) => times.has(term.field) && [term.value, term.upper].some((value) => value !== void 0 && value !== "*" && !RELATIVE_TIME.test(value) && !OFFSET.test(value))), "readsZone");
|
|
1180
1180
|
|
|
1181
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1181
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/model.js
|
|
1182
|
+
var MEETING_CALL_DIRECTIONS = ["in", "out"];
|
|
1183
|
+
|
|
1184
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/item.js
|
|
1182
1185
|
var text = string();
|
|
1183
1186
|
var count = pipe(number(), integer(), minValue(0));
|
|
1184
1187
|
var MEETING_ISSUES = ["time_without_zone"];
|
|
@@ -1186,6 +1189,12 @@ var meetingIssuesOf = /* @__PURE__ */ __name((metadata) => {
|
|
|
1186
1189
|
const listed2 = metadata?.issues;
|
|
1187
1190
|
return Array.isArray(listed2) ? MEETING_ISSUES.filter((issue) => listed2.includes(issue)) : [];
|
|
1188
1191
|
}, "meetingIssuesOf");
|
|
1192
|
+
var meetingCall = strictObject({
|
|
1193
|
+
direction: nullable(picklist(MEETING_CALL_DIRECTIONS)),
|
|
1194
|
+
manager: nullable(strictObject({ name: nullable(text), person: nullable(reference) })),
|
|
1195
|
+
client_phone: nullable(text)
|
|
1196
|
+
});
|
|
1197
|
+
var meetingCallItem = /* @__PURE__ */ __name((row) => row.direction == null && row.clientPhone == null ? void 0 : { direction: row.direction ?? null, manager: row.manager ?? null, client_phone: row.clientPhone ?? null }, "meetingCallItem");
|
|
1189
1198
|
var meetingEntries = {
|
|
1190
1199
|
ref: reference,
|
|
1191
1200
|
id: pipe(string(), minLength(1)),
|
|
@@ -1203,6 +1212,8 @@ var meetingEntries = {
|
|
|
1203
1212
|
duration_ms: nullable(count),
|
|
1204
1213
|
timezone: optional(nullable(text)),
|
|
1205
1214
|
participants_count: nullable(count),
|
|
1215
|
+
/** Present only on a phone call. */
|
|
1216
|
+
call: optional(meetingCall),
|
|
1206
1217
|
/** Present only when something about this meeting is doubtful. */
|
|
1207
1218
|
issues: optional(array(picklist(MEETING_ISSUES))),
|
|
1208
1219
|
/**
|
|
@@ -1220,6 +1231,7 @@ var MEETING_UNTRUSTED = ["title", "description", "location"];
|
|
|
1220
1231
|
var iso = /* @__PURE__ */ __name((ms2) => ms2 === null ? null : new Date(ms2).toISOString(), "iso");
|
|
1221
1232
|
var meetingItem = /* @__PURE__ */ __name((row, owner) => {
|
|
1222
1233
|
const issues = meetingIssuesOf(row.metadata);
|
|
1234
|
+
const call = meetingCallItem(row);
|
|
1223
1235
|
return {
|
|
1224
1236
|
ref: formatMeetingReference({ type: "meeting", accountId: row.accountId, meetingId: row.id }),
|
|
1225
1237
|
id: String(row.id),
|
|
@@ -1235,6 +1247,7 @@ var meetingItem = /* @__PURE__ */ __name((row, owner) => {
|
|
|
1235
1247
|
duration_ms: row.durationMs,
|
|
1236
1248
|
timezone: row.timezone,
|
|
1237
1249
|
participants_count: row.participantsCount,
|
|
1250
|
+
...call ? { call } : {},
|
|
1238
1251
|
...issues.length ? { issues } : {},
|
|
1239
1252
|
untrusted: [...MEETING_UNTRUSTED],
|
|
1240
1253
|
created_at: new Date(row.createdAt).toISOString(),
|
|
@@ -1268,7 +1281,7 @@ var MEETING_QUERY = {
|
|
|
1268
1281
|
})
|
|
1269
1282
|
};
|
|
1270
1283
|
|
|
1271
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1284
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/store.js
|
|
1272
1285
|
var MEETING_DOCUMENT_ROLES = ["transcript", "recording", "notes"];
|
|
1273
1286
|
var TRANSCRIPT_WORDS = [
|
|
1274
1287
|
"Transcript",
|
|
@@ -1280,7 +1293,7 @@ var TRANSCRIPT_WORDS = [
|
|
|
1280
1293
|
];
|
|
1281
1294
|
var READ_BUDGET_EXCEEDED = "Meeting search exceeds its stored text byte budget";
|
|
1282
1295
|
|
|
1283
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1296
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/answers.js
|
|
1284
1297
|
var text2 = string();
|
|
1285
1298
|
var count2 = pipe(number(), integer(), minValue(0));
|
|
1286
1299
|
var iso2 = /* @__PURE__ */ __name((ms2) => ms2 === null ? null : new Date(ms2).toISOString(), "iso");
|
|
@@ -1564,7 +1577,7 @@ var meetingHitsList = /* @__PURE__ */ __name((found, limit, command = "search me
|
|
|
1564
1577
|
};
|
|
1565
1578
|
}, "meetingHitsList");
|
|
1566
1579
|
|
|
1567
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1580
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/join-key.js
|
|
1568
1581
|
var joinKeyOf = /* @__PURE__ */ __name((url) => {
|
|
1569
1582
|
const parsed = urlOf(url);
|
|
1570
1583
|
if (!parsed)
|
|
@@ -1598,7 +1611,7 @@ var urlOf = /* @__PURE__ */ __name((url) => {
|
|
|
1598
1611
|
}
|
|
1599
1612
|
}, "urlOf");
|
|
1600
1613
|
|
|
1601
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1614
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/calendar-text.js
|
|
1602
1615
|
var ENTITIES = { amp: "&", lt: "<", gt: ">", quot: '"', "#39": "'", apos: "'", nbsp: " " };
|
|
1603
1616
|
var SECRET_LINE = /(?<![\p{L}\p{N}])(pass ?codes?|passwords?|pwd|pins?|access ?codes?|meeting ?codes?|kennwort|пароль|пин-?код|код доступа)(?![\p{L}\p{N}])|pwd=/iu;
|
|
1604
1617
|
var htmlToText = /* @__PURE__ */ __name((html) => html.replace(/<\s*br\s*\/?>/giu, "\n").replace(/<\/\s*(p|div|li|tr|h[1-6])\s*>/giu, "\n").replace(/<a\s[^>]*href\s*=\s*"([^"]*)"[^>]*>/giu, " $1 ").replace(/<[^>]+>/gu, "").replace(/&(amp|lt|gt|quot|#39|apos|nbsp);/gu, (_, name) => ENTITIES[name] ?? ""), "htmlToText");
|
|
@@ -1635,7 +1648,7 @@ var entryMetadata = /* @__PURE__ */ __name((metadata) => {
|
|
|
1635
1648
|
return kept;
|
|
1636
1649
|
}, "entryMetadata");
|
|
1637
1650
|
|
|
1638
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1651
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/calls.js
|
|
1639
1652
|
var CALL_DIRECTIONS = ["incoming", "outgoing", "internal"];
|
|
1640
1653
|
var CALL_OUTCOMES = ["answered", "voicemail", "busy", "no_answer", "failed"];
|
|
1641
1654
|
var MISSED_OUTCOMES = ["voicemail", "busy", "no_answer"];
|
|
@@ -1704,7 +1717,7 @@ var callOf = /* @__PURE__ */ __name((stored) => {
|
|
|
1704
1717
|
};
|
|
1705
1718
|
}, "callOf");
|
|
1706
1719
|
|
|
1707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1720
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/call-answers.js
|
|
1708
1721
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
1709
1722
|
var ms = count3;
|
|
1710
1723
|
var id = pipe(number(), integer(), minValue(1));
|
|
@@ -1787,7 +1800,7 @@ var callStatsSchema = strictObject({
|
|
|
1787
1800
|
});
|
|
1788
1801
|
var callStats = callStatsSchema;
|
|
1789
1802
|
|
|
1790
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/stats.js
|
|
1791
1804
|
var MEETING_COUNTS_GROUPINGS = ["day", "week", "series"];
|
|
1792
1805
|
var zoneOf = /* @__PURE__ */ __name((timeZone) => {
|
|
1793
1806
|
const zone = timeZone ?? "UTC";
|
|
@@ -1922,7 +1935,7 @@ var aggregateMeetingStats = /* @__PURE__ */ __name((rows, timeZone) => {
|
|
|
1922
1935
|
};
|
|
1923
1936
|
}, "aggregateMeetingStats");
|
|
1924
1937
|
|
|
1925
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/call-stats.js
|
|
1926
1939
|
var CALLBACK_WITHIN_MS = 24 * 60 * 60 * 1e3;
|
|
1927
1940
|
var SHORT_CALL_UNDER_MS = 3e4;
|
|
1928
1941
|
var MOST_MISSED = 100;
|
|
@@ -2112,7 +2125,7 @@ var aggregateCallStats = /* @__PURE__ */ __name((calls, options = {}) => {
|
|
|
2112
2125
|
};
|
|
2113
2126
|
}, "aggregateCallStats");
|
|
2114
2127
|
|
|
2115
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2128
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/cue-fingerprint.js
|
|
2116
2129
|
import { createHash } from "node:crypto";
|
|
2117
2130
|
var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256").update(JSON.stringify({
|
|
2118
2131
|
reference: cue2.reference,
|
|
@@ -2126,7 +2139,7 @@ var meetingCueFingerprint = /* @__PURE__ */ __name((cue2) => createHash("sha256"
|
|
|
2126
2139
|
text: cue2.text
|
|
2127
2140
|
})).digest("hex"), "meetingCueFingerprint");
|
|
2128
2141
|
|
|
2129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2142
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/event-query.js
|
|
2130
2143
|
var EVENT_QUERY = defineQuery({
|
|
2131
2144
|
entity: "event",
|
|
2132
2145
|
backend: "sql",
|
|
@@ -2142,7 +2155,7 @@ var EVENT_QUERY = defineQuery({
|
|
|
2142
2155
|
]
|
|
2143
2156
|
});
|
|
2144
2157
|
|
|
2145
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2158
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/event-store.js
|
|
2146
2159
|
var PARTICIPANT_RESPONSES = ["needs-action", "accepted", "tentative", "declined", "delegated"];
|
|
2147
2160
|
var UNTIL = /(?:^|;)UNTIL=(\d{4})(\d{2})(\d{2})(?:T(\d{2})(\d{2})(\d{2})Z?)?(?:;|$)/iu;
|
|
2148
2161
|
var seriesEnd = /* @__PURE__ */ __name((entry) => {
|
|
@@ -2166,7 +2179,7 @@ var entryInWindow = /* @__PURE__ */ __name((entry, window) => {
|
|
|
2166
2179
|
return Math.max(entry.endsAt ?? start, start + 1) > window.from;
|
|
2167
2180
|
}, "entryInWindow");
|
|
2168
2181
|
|
|
2169
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2182
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/events.js
|
|
2170
2183
|
var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(), { create = true } = {}) => {
|
|
2171
2184
|
const current = await store.meeting(details.meeting.id);
|
|
2172
2185
|
if (!current)
|
|
@@ -2211,7 +2224,7 @@ var linkEvent = /* @__PURE__ */ __name(async (store, details, now = Date.now(),
|
|
|
2211
2224
|
return (await store.events()).find((e) => e.id === linked?.meeting.eventId) ?? null;
|
|
2212
2225
|
}, "linkEvent");
|
|
2213
2226
|
|
|
2214
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2227
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/participant-search.js
|
|
2215
2228
|
var normalizeMeetingParticipantQuery = /* @__PURE__ */ __name((text7) => text7.normalize("NFKC").toLowerCase(), "normalizeMeetingParticipantQuery");
|
|
2216
2229
|
var validateMeetingParticipantQuery = /* @__PURE__ */ __name((query) => {
|
|
2217
2230
|
if (typeof query !== "string" || !query.trim() || query.length > 500 || query.includes("\0"))
|
|
@@ -2235,7 +2248,7 @@ var validateMeetingParticipantSearch = /* @__PURE__ */ __name((query, input) =>
|
|
|
2235
2248
|
};
|
|
2236
2249
|
}, "validateMeetingParticipantSearch");
|
|
2237
2250
|
|
|
2238
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2251
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/reads.js
|
|
2239
2252
|
var MeetingError = class extends CliError {
|
|
2240
2253
|
static {
|
|
2241
2254
|
__name(this, "MeetingError");
|
|
@@ -2374,7 +2387,7 @@ var meetingSummaryAnswer = /* @__PURE__ */ __name(async (store, id5, accountId)
|
|
|
2374
2387
|
return wholeList(details.summaries.map((one) => meetingSummaryItem(details.meeting.accountId, one)));
|
|
2375
2388
|
}, "meetingSummaryAnswer");
|
|
2376
2389
|
|
|
2377
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2390
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/export.js
|
|
2378
2391
|
var timestamp = /* @__PURE__ */ __name((milliseconds2) => {
|
|
2379
2392
|
if (!Number.isSafeInteger(milliseconds2) || milliseconds2 < 0)
|
|
2380
2393
|
throw new MeetingError("validation_error", "transcript times must be nonnegative integer milliseconds");
|
|
@@ -2471,10 +2484,10 @@ var exportMeeting = /* @__PURE__ */ __name(async (store, id5, options) => {
|
|
|
2471
2484
|
};
|
|
2472
2485
|
}, "exportMeeting");
|
|
2473
2486
|
|
|
2474
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2487
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
2475
2488
|
import { createHash as createHash2 } from "node:crypto";
|
|
2476
2489
|
|
|
2477
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/timestamp.js
|
|
2478
2491
|
var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
2479
2492
|
if (typeof value !== "string" || !/^\d{4}-\d{2}-\d{2}T.+(?:Z|[+-]\d{2}:\d{2})$/i.test(value) || !Number.isFinite(Date.parse(value)))
|
|
2480
2493
|
throw new CliError("validation_error", `${name} must be an ISO timestamp with a timezone, such as 2026-11-09T09:00:00Z`);
|
|
@@ -2485,7 +2498,7 @@ var meetingTimestamp = /* @__PURE__ */ __name((value, name) => {
|
|
|
2485
2498
|
return new Date(value).toISOString();
|
|
2486
2499
|
}, "meetingTimestamp");
|
|
2487
2500
|
|
|
2488
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2501
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/findings-rules.js
|
|
2489
2502
|
var TASK_TYPES = ["bug", "feature", "chore"];
|
|
2490
2503
|
var invalid3 = /* @__PURE__ */ __name((message) => {
|
|
2491
2504
|
throw new CliError("validation_error", message);
|
|
@@ -2660,7 +2673,7 @@ var validateBatch = /* @__PURE__ */ __name((input, rules, most, one) => {
|
|
|
2660
2673
|
var validateFindings = /* @__PURE__ */ __name((input, rules) => validateBatch(input, rules, 16, (finding, ids2) => validateFinding(finding, rules, ids2)), "validateFindings");
|
|
2661
2674
|
var findingFingerprint = /* @__PURE__ */ __name(({ id: _id, ...finding }) => findingHash(finding), "findingFingerprint");
|
|
2662
2675
|
|
|
2663
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2676
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/findings.js
|
|
2664
2677
|
var MEETING_FINDINGS_KIND = "meeting_findings";
|
|
2665
2678
|
var cue = /* @__PURE__ */ __name((raw) => {
|
|
2666
2679
|
const reference2 = canonicalMeetingReference(raw);
|
|
@@ -2671,7 +2684,7 @@ var cue = /* @__PURE__ */ __name((raw) => {
|
|
|
2671
2684
|
var validateMeetingFindings = /* @__PURE__ */ __name((input) => validateFindings(input, { plural: "meeting findings", singular: "meeting finding", cited: "cue", reference: cue }), "validateMeetingFindings");
|
|
2672
2685
|
var meetingFindingFingerprint = findingFingerprint;
|
|
2673
2686
|
|
|
2674
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/language.js
|
|
2675
2688
|
var LATIN_WORDS = {
|
|
2676
2689
|
en: ["the", "and", "is", "that", "you", "this", "what", "have", "with", "are"],
|
|
2677
2690
|
es: ["el", "los", "las", "por", "pero", "para", "est\xE1", "muy", "tambi\xE9n", "hay"],
|
|
@@ -2720,7 +2733,7 @@ var transcriptLanguage = /* @__PURE__ */ __name((texts) => {
|
|
|
2720
2733
|
return null;
|
|
2721
2734
|
}, "transcriptLanguage");
|
|
2722
2735
|
|
|
2723
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2736
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/ingest.js
|
|
2724
2737
|
var contentHash = /* @__PURE__ */ __name(async (text7) => {
|
|
2725
2738
|
const bytes = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(text7));
|
|
2726
2739
|
return Array.from(new Uint8Array(bytes), (byte) => byte.toString(16).padStart(2, "0")).join("");
|
|
@@ -2757,7 +2770,7 @@ var timestamp2 = /* @__PURE__ */ __name((value) => {
|
|
|
2757
2770
|
return time;
|
|
2758
2771
|
}, "timestamp");
|
|
2759
2772
|
|
|
2760
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2773
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/transcript-text.js
|
|
2761
2774
|
var TranscriptTextError = class extends Error {
|
|
2762
2775
|
static {
|
|
2763
2776
|
__name(this, "TranscriptTextError");
|
|
@@ -2812,7 +2825,7 @@ var parseTranscriptText = /* @__PURE__ */ __name((input) => {
|
|
|
2812
2825
|
return { header, lines };
|
|
2813
2826
|
}, "parseTranscriptText");
|
|
2814
2827
|
|
|
2815
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2828
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/vtt.js
|
|
2816
2829
|
var VttError = class extends Error {
|
|
2817
2830
|
static {
|
|
2818
2831
|
__name(this, "VttError");
|
|
@@ -2864,7 +2877,7 @@ var parseVtt = /* @__PURE__ */ __name((input) => {
|
|
|
2864
2877
|
return cues;
|
|
2865
2878
|
}, "parseVtt");
|
|
2866
2879
|
|
|
2867
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2880
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/import.js
|
|
2868
2881
|
var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now()) => {
|
|
2869
2882
|
const report = { meetings: 0, participants: 0, transcriptRows: 0, summaries: 0, warnings: [] };
|
|
2870
2883
|
for (const file of files) {
|
|
@@ -2897,10 +2910,10 @@ var importFiles = /* @__PURE__ */ __name(async (files, store, now = Date.now())
|
|
|
2897
2910
|
return report;
|
|
2898
2911
|
}, "importFiles");
|
|
2899
2912
|
|
|
2900
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/links.js
|
|
2901
2914
|
var CHAT_MESSAGES_READ = 1e5;
|
|
2902
2915
|
|
|
2903
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2916
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/provider.js
|
|
2904
2917
|
var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
2905
2918
|
const provider = scope2?.provider;
|
|
2906
2919
|
const account = scope2?.account;
|
|
@@ -2909,7 +2922,7 @@ var snapshotMeetingScope = /* @__PURE__ */ __name((scope2) => {
|
|
|
2909
2922
|
return Object.freeze({ provider, account });
|
|
2910
2923
|
}, "snapshotMeetingScope");
|
|
2911
2924
|
|
|
2912
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2925
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/meeting-management.js
|
|
2913
2926
|
var MEETING_FIELD_KEYS = Object.freeze({
|
|
2914
2927
|
title: "title",
|
|
2915
2928
|
kind: "kind",
|
|
@@ -2941,7 +2954,7 @@ var dispatchMeetingMutation = /* @__PURE__ */ __name(async (options, dispatch) =
|
|
|
2941
2954
|
return { applied: true, value: await dispatch(signal) };
|
|
2942
2955
|
}, "dispatchMeetingMutation");
|
|
2943
2956
|
|
|
2944
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2957
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/meeting-context.js
|
|
2945
2958
|
var id2 = /* @__PURE__ */ __name((value) => {
|
|
2946
2959
|
if (typeof value !== "number" || !Number.isSafeInteger(value) || value < 1)
|
|
2947
2960
|
throw new CliError("validation_error", "meeting context identifiers must be positive integers");
|
|
@@ -3063,7 +3076,7 @@ var createMeetingContext = /* @__PURE__ */ __name((scope2, accountId, ports) =>
|
|
|
3063
3076
|
};
|
|
3064
3077
|
}, "createMeetingContext");
|
|
3065
3078
|
|
|
3066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3079
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/preparation-context.js
|
|
3067
3080
|
var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
3068
3081
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
3069
3082
|
throw new CliError("validation_error", "meeting preparation context is required");
|
|
@@ -3088,7 +3101,7 @@ var validateMeetingPreparationContext = /* @__PURE__ */ __name((original) => {
|
|
|
3088
3101
|
return { ...input, limit, maxReadBytes };
|
|
3089
3102
|
}, "validateMeetingPreparationContext");
|
|
3090
3103
|
|
|
3091
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3104
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-answer.js
|
|
3092
3105
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
3093
3106
|
var id3 = pipe(string(), minLength(1));
|
|
3094
3107
|
var meetingProjectEvidence = strictObject({
|
|
@@ -3209,7 +3222,7 @@ var meetingProjectEvidenceAnswer = /* @__PURE__ */ __name((page, prepared, comma
|
|
|
3209
3222
|
};
|
|
3210
3223
|
}, "meetingProjectEvidenceAnswer");
|
|
3211
3224
|
|
|
3212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3225
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/search-validation.js
|
|
3213
3226
|
var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
3214
3227
|
const integer3 = /* @__PURE__ */ __name((value, low, high) => Number.isSafeInteger(value) && value >= low && value <= high, "integer");
|
|
3215
3228
|
if (typeof query !== "string" || !query.trim() || query.includes("\0") || new TextEncoder().encode(query).byteLength > 65536 || !integer3(options.limit ?? 100, 1, 1e3) || !integer3(options.maxReadBytes ?? 4194304, 1, 67108864) || [
|
|
@@ -3229,7 +3242,7 @@ var validateMeetingHitSearch = /* @__PURE__ */ __name((query, options = {}) => {
|
|
|
3229
3242
|
throw new CliError("validation_error", "choose one project selector and one tag or topic selector");
|
|
3230
3243
|
}, "validateMeetingHitSearch");
|
|
3231
3244
|
|
|
3232
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3245
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/project-evidence-query.js
|
|
3233
3246
|
var ids = {
|
|
3234
3247
|
meeting_id: "meetingId",
|
|
3235
3248
|
identity_id: "participantIdentityId",
|
|
@@ -3320,7 +3333,7 @@ var prepareMeetingProjectEvidence = /* @__PURE__ */ __name((project, request = {
|
|
|
3320
3333
|
return { project: project.trim(), options, query: frozen.join(" AND ") };
|
|
3321
3334
|
}, "prepareMeetingProjectEvidence");
|
|
3322
3335
|
|
|
3323
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3336
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/project-evidence.js
|
|
3324
3337
|
var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, request = {}, now = Date.now()) => {
|
|
3325
3338
|
const prepared = prepareMeetingProjectEvidence(project, request, now);
|
|
3326
3339
|
const page = await read(prepared.project, prepared.options);
|
|
@@ -3328,7 +3341,7 @@ var readMeetingProjectEvidence = /* @__PURE__ */ __name(async (read, project, re
|
|
|
3328
3341
|
return meetingProjectEvidenceAnswer(page, prepared);
|
|
3329
3342
|
}, "readMeetingProjectEvidence");
|
|
3330
3343
|
|
|
3331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3344
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/pull.js
|
|
3332
3345
|
var participantInput = /* @__PURE__ */ __name((p, provider, occurrenceId2, position, accountId) => {
|
|
3333
3346
|
const { identityExternalId, phone, ...fields2 } = p;
|
|
3334
3347
|
const externalId = identityExternalId ?? (p.email ? `email:${p.email.toLowerCase()}` : p.externalId) ?? `name:${p.displayName ?? "unknown"}@${accountId}/${occurrenceId2}:${position}`;
|
|
@@ -3367,6 +3380,7 @@ var sourceMeetingInput = /* @__PURE__ */ __name((m, accountId, participantsCount
|
|
|
3367
3380
|
timezone: m.timezone ?? kept?.timezone ?? null,
|
|
3368
3381
|
hostIdentityId: kept?.hostIdentityId ?? null,
|
|
3369
3382
|
...count7 === void 0 ? {} : { participantsCount: count7 },
|
|
3383
|
+
...m.call ? { direction: m.call.direction ?? null, clientPhone: m.call.clientPhone ?? null } : {},
|
|
3370
3384
|
metadata,
|
|
3371
3385
|
deletedAt: null
|
|
3372
3386
|
};
|
|
@@ -3528,7 +3542,7 @@ var pull = /* @__PURE__ */ __name(async (source, store, options) => {
|
|
|
3528
3542
|
return report;
|
|
3529
3543
|
}, "pull");
|
|
3530
3544
|
|
|
3531
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3545
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/read-answers.js
|
|
3532
3546
|
var text4 = string();
|
|
3533
3547
|
var count5 = pipe(number(), integer(), minValue(0));
|
|
3534
3548
|
var id4 = pipe(number(), integer(), minValue(1));
|
|
@@ -3726,7 +3740,7 @@ var eventItem = /* @__PURE__ */ __name((one) => ({
|
|
|
3726
3740
|
updated_at: new Date(one.updatedAt).toISOString()
|
|
3727
3741
|
}), "eventItem");
|
|
3728
3742
|
|
|
3729
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3743
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/read-through.js
|
|
3730
3744
|
var MEETING_SERVER_BOUNDS = { calls: 3, pages: 2 };
|
|
3731
3745
|
var ISSUES = {
|
|
3732
3746
|
offline: ["permission_error", "meetings.server-offline"],
|
|
@@ -4018,10 +4032,10 @@ var meetingShowThrough = /* @__PURE__ */ __name(async (source, store, accountId,
|
|
|
4018
4032
|
return { details: fresh, foundIn: step.found.get(details.meeting.id) ?? "server", server: step.report };
|
|
4019
4033
|
}, "meetingShowThrough");
|
|
4020
4034
|
|
|
4021
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4035
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/recording-transfer.js
|
|
4022
4036
|
var strongRecordingValidator = /* @__PURE__ */ __name((value) => typeof value === "string" && value.length <= 1024 && /^"[\x21\x23-\x7e\x80-\xff]*"$/.test(value), "strongRecordingValidator");
|
|
4023
4037
|
|
|
4024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4038
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/related-history.js
|
|
4025
4039
|
var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
4026
4040
|
if (!original || typeof original !== "object" || Array.isArray(original))
|
|
4027
4041
|
throw new CliError("validation_error", "related history request is required");
|
|
@@ -4051,7 +4065,7 @@ var validateMeetingRelatedHistory = /* @__PURE__ */ __name((original) => {
|
|
|
4051
4065
|
return { ...input, anchorIds: [...new Set(input.anchorIds)], limit, maxReadBytes };
|
|
4052
4066
|
}, "validateMeetingRelatedHistory");
|
|
4053
4067
|
|
|
4054
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/result-items.js
|
|
4055
4069
|
var text5 = string();
|
|
4056
4070
|
var identifier = pipe(text5, minLength(1));
|
|
4057
4071
|
var nullableText = nullable(text5);
|
|
@@ -4223,14 +4237,14 @@ var MEETING_RESULT_ENTITIES = {
|
|
|
4223
4237
|
meeting_repair: repair
|
|
4224
4238
|
};
|
|
4225
4239
|
|
|
4226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4240
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/review.js
|
|
4227
4241
|
var REVIEW_LIMIT = { default: 50, most: 200 };
|
|
4228
4242
|
|
|
4229
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4243
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/save-hints.js
|
|
4230
4244
|
var SAVE_HELP = `Worth keeping \u2014 a decision, a promise, a preference? Record it with \`memo facts add\` or
|
|
4231
4245
|
\`memo memories add\`, citing the msg: locator or meeting: reference as --evidence.`;
|
|
4232
4246
|
|
|
4233
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4247
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/series-history.js
|
|
4234
4248
|
var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
4235
4249
|
input.signal?.throwIfAborted();
|
|
4236
4250
|
if (!Number.isSafeInteger(input.accountId) || input.accountId <= 0)
|
|
@@ -4251,10 +4265,10 @@ var validateMeetingSeriesHistory = /* @__PURE__ */ __name((input) => {
|
|
|
4251
4265
|
return { ...input, limit, maxReadBytes };
|
|
4252
4266
|
}, "validateMeetingSeriesHistory");
|
|
4253
4267
|
|
|
4254
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4268
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/upcoming-validation.js
|
|
4255
4269
|
var occurrenceId = /* @__PURE__ */ __name((value) => typeof value === "string" && value.trim().length > 0 && value.length <= 1e3 && !/[\0\r\n]/.test(value), "occurrenceId");
|
|
4256
4270
|
|
|
4257
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4271
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/series-inventory-validation.js
|
|
4258
4272
|
function invalid4(field, response = false) {
|
|
4259
4273
|
throw new CliError(response ? "invalid_response" : "validation_error", `invalid meeting inventory ${field}`);
|
|
4260
4274
|
}
|
|
@@ -4283,7 +4297,7 @@ var validateMeetingSeriesInventoryCursor = /* @__PURE__ */ __name((value) => {
|
|
|
4283
4297
|
cursorDetails(value);
|
|
4284
4298
|
}, "validateMeetingSeriesInventoryCursor");
|
|
4285
4299
|
|
|
4286
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
4300
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.680.0_@wirecat+cli-base@0.106.0_commander@15.0.0_esbuild@0.28.2_typ_620ac9b386657c249f5c9038159a7caa/node_modules/@wirecat/cli-core/dist/meetings/tag-answers.js
|
|
4287
4301
|
var text6 = string();
|
|
4288
4302
|
var storeId = pipe(number(), integer(), minValue(1));
|
|
4289
4303
|
var meetingTagChange = strictObject({
|
|
@@ -4331,9 +4345,12 @@ export {
|
|
|
4331
4345
|
rangeOf,
|
|
4332
4346
|
windowOf,
|
|
4333
4347
|
readsZone,
|
|
4348
|
+
MEETING_CALL_DIRECTIONS,
|
|
4334
4349
|
formatMeetingReference,
|
|
4335
4350
|
parseMeetingReference,
|
|
4336
4351
|
canonicalMeetingReference,
|
|
4352
|
+
meetingCall,
|
|
4353
|
+
meetingCallItem,
|
|
4337
4354
|
meeting,
|
|
4338
4355
|
MEETING_QUERY,
|
|
4339
4356
|
MEETING_DOCUMENT_ROLES,
|