@wirecat/tg-cli 0.111.0 → 0.112.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/README.md +3 -0
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-WFC2JAD4.js → adapter-ILDV2YSZ.js} +70 -50
- package/dist/bundle/{all-profiles-FEUSGHT7.js → all-profiles-4SH2Q4WV.js} +8 -8
- package/dist/bundle/{anthropic-O646SJIJ.js → anthropic-64SM23YO.js} +5 -5
- package/dist/bundle/{app-server-7P23Y45A.js → app-server-SSYZWCDJ.js} +40 -40
- package/dist/bundle/{bot-api-WTJCL6VF.js → bot-api-OHAGQMES.js} +46 -46
- package/dist/bundle/{bot-history-5J2Q4SPC.js → bot-history-AUFO7UL2.js} +15 -15
- package/dist/bundle/{bun-KUKVEKDW.js → bun-AHZX63TR.js} +2 -2
- package/dist/bundle/{bun-sqlite-2G5TXHYE.js → bun-sqlite-KBIIODPV.js} +4 -4
- package/dist/bundle/{chunk-43ZFY6TW.js → chunk-2IGZLBTE.js} +2 -2
- package/dist/bundle/{chunk-ABVHA4K6.js → chunk-3AJO4GER.js} +5 -5
- package/dist/bundle/{chunk-PNUHAHTF.js → chunk-3GL4AOOG.js} +1 -1
- package/dist/bundle/{chunk-TWZTQHP6.js → chunk-3W7BU2BL.js} +6 -6
- package/dist/bundle/{chunk-YFK3DNNP.js → chunk-4IDJ7QCG.js} +4 -4
- package/dist/bundle/{chunk-KLHLWKWC.js → chunk-4JXZKMXV.js} +65 -54
- package/dist/bundle/{chunk-J4QVXR5I.js → chunk-5BNYW5RA.js} +2 -2
- package/dist/bundle/{chunk-33HEHPIK.js → chunk-5W72OARG.js} +8 -8
- package/dist/bundle/{chunk-YG4BO7N3.js → chunk-6KGENDPF.js} +2 -2
- package/dist/bundle/{chunk-HN6ZMUAS.js → chunk-7MFJFVUN.js} +1 -1
- package/dist/bundle/{chunk-3BD24JYK.js → chunk-B3Y2KZRS.js} +105 -94
- package/dist/bundle/{chunk-KE47Y4PW.js → chunk-BIERCQVG.js} +639 -374
- package/dist/bundle/{chunk-J2Z5E7TO.js → chunk-BTAET4U3.js} +1 -1
- package/dist/bundle/{chunk-UIPT6IAU.js → chunk-COTC7HF3.js} +1 -1
- package/dist/bundle/{chunk-MSGYLWCH.js → chunk-D5JP2YWG.js} +2 -2
- package/dist/bundle/{chunk-UDYCZ5KB.js → chunk-DFUTZGEV.js} +1 -1
- package/dist/bundle/{chunk-QVM2HKJP.js → chunk-DNYGJAEP.js} +4 -4
- package/dist/bundle/{chunk-2ZH3PUQX.js → chunk-E4EJ2UTT.js} +2 -2
- package/dist/bundle/{chunk-DREEXESG.js → chunk-EO7PQE3J.js} +82 -64
- package/dist/bundle/{chunk-NIKYFRDQ.js → chunk-EPAOLRUL.js} +2 -2
- package/dist/bundle/{chunk-BNQOUCL2.js → chunk-GM44UNGL.js} +1 -1
- package/dist/bundle/{chunk-NQAV7U7C.js → chunk-GSGS62LX.js} +1 -1
- package/dist/bundle/{chunk-UPRYEDAV.js → chunk-GW7JRFTF.js} +3 -3
- package/dist/bundle/{chunk-QEAMO2TS.js → chunk-ICEJKOKO.js} +7 -7
- package/dist/bundle/{chunk-LLAZSGS7.js → chunk-JIGYVVWA.js} +22 -22
- package/dist/bundle/{chunk-UMUJHC4M.js → chunk-JLB5LEXJ.js} +3 -3
- package/dist/bundle/{chunk-WDRNVSWF.js → chunk-JPRYFDOJ.js} +45 -44
- package/dist/bundle/{chunk-VIEVOF3O.js → chunk-JXTYTAWE.js} +11 -11
- package/dist/bundle/{chunk-XXOJ7PQY.js → chunk-JYOQMYNJ.js} +28 -28
- package/dist/bundle/{chunk-7665YBJ7.js → chunk-K7VOCHVS.js} +6 -6
- package/dist/bundle/{chunk-K457FHD4.js → chunk-KGYPSBTI.js} +22 -22
- package/dist/bundle/{chunk-BWRCPMMC.js → chunk-KLNQXUDX.js} +18 -18
- package/dist/bundle/{chunk-5ZPLOYTP.js → chunk-KYYAHIG2.js} +238 -222
- package/dist/bundle/{chunk-COHMFCHD.js → chunk-MCXVGHL6.js} +85 -31
- package/dist/bundle/{chunk-T6DSAROY.js → chunk-NKACHGB2.js} +25 -14
- package/dist/bundle/{chunk-OYVDWHP5.js → chunk-NQKPXVLX.js} +2 -2
- package/dist/bundle/{chunk-CJUSP5X2.js → chunk-PDVSMGWO.js} +2 -2
- package/dist/bundle/{chunk-XIRASTVS.js → chunk-PXUHQO66.js} +11 -11
- package/dist/bundle/{chunk-EO563SUX.js → chunk-QL4WBCL5.js} +7 -7
- package/dist/bundle/{chunk-PQGWEFJ2.js → chunk-QMJGHSGN.js} +3 -3
- package/dist/bundle/{chunk-UFIUMPXP.js → chunk-RANORATG.js} +4 -4
- package/dist/bundle/{chunk-5FJQG5UZ.js → chunk-RC7EBLHM.js} +8 -8
- package/dist/bundle/{chunk-7GQLD5TJ.js → chunk-RHYMEHYK.js} +2 -2
- package/dist/bundle/{chunk-QAC6Z675.js → chunk-RPNRCFEE.js} +2 -2
- package/dist/bundle/{chunk-EB44Z44U.js → chunk-SC2DUQAK.js} +1 -1
- package/dist/bundle/{chunk-ONHHBPV3.js → chunk-SFJFBIYP.js} +2 -2
- package/dist/bundle/{chunk-ITSSCYLP.js → chunk-TOBJGMMA.js} +11 -11
- package/dist/bundle/{chunk-ZCHC7TYO.js → chunk-TUJEJ4D5.js} +26 -13
- package/dist/bundle/{chunk-DEG4JJHG.js → chunk-UQOSZ2XX.js} +449 -341
- package/dist/bundle/{chunk-ZCV4UEVH.js → chunk-UVRD447S.js} +3 -3
- package/dist/bundle/{chunk-2K6IGVSI.js → chunk-UXCWUEN7.js} +5 -5
- package/dist/bundle/{chunk-3WUTBGZE.js → chunk-WI2S6INJ.js} +6 -6
- package/dist/bundle/{chunk-AUWYMMYL.js → chunk-WWKXTKCE.js} +4 -4
- package/dist/bundle/{chunk-QLLPZWYZ.js → chunk-XSYJKEA5.js} +4 -4
- package/dist/bundle/command-contract-4KVJJZ46.js +32 -0
- package/dist/bundle/{decode-QJNVAAKJ.js → decode-FR3QHHJI.js} +4 -4
- package/dist/bundle/{echarts-2EDY7OUX.js → echarts-VTV4C2OS.js} +2 -2
- package/dist/bundle/{embed-PZSXOQJO.js → embed-US7X5P5D.js} +5 -5
- package/dist/bundle/{embedder-O4EGMMUU.js → embedder-63Z7ZBYG.js} +8 -8
- package/dist/bundle/{entry-DVLMQM6J.js → entry-B4J7IAG3.js} +5 -5
- package/dist/bundle/{first-run-J67KTUWA.js → first-run-MXPPUGII.js} +9 -9
- package/dist/bundle/first-screen-GFYHUBBD.js +30 -0
- package/dist/bundle/{identity-DSYY4FLQ.js → identity-AQWKU7SM.js} +3 -3
- package/dist/bundle/{instructions-O535XB2L.js → instructions-GBR6DJTK.js} +1 -1
- package/dist/bundle/{mcp-EMNFFY4N.js → mcp-YJEQYYTR.js} +2 -2
- package/dist/bundle/{node-S3VEQNTE.js → node-QXGPMDH2.js} +2 -2
- package/dist/bundle/{node-sqlite-3DNWF2BW.js → node-sqlite-L6CAMXQ2.js} +4 -4
- package/dist/bundle/{oauth-IU2RAZ3D.js → oauth-5RK6J4SG.js} +6 -6
- package/dist/bundle/{open-M2IPPXMI.js → open-A3IAG7U6.js} +3 -3
- package/dist/bundle/{openai-GDI7HISL.js → openai-YKNGCHVV.js} +13 -13
- package/dist/bundle/{process-3IGMEATV.js → process-CGLNXFIU.js} +1 -1
- package/dist/bundle/{program-P7YPHVLD.js → program-AEDR6R5P.js} +48 -48
- package/dist/bundle/{prompt-S6R7IHDK.js → prompt-65CSCL2T.js} +4 -4
- package/dist/bundle/{proxy-transport-OROEVBCG.js → proxy-transport-U3QOYMQF.js} +4 -4
- package/dist/bundle/{recognize-PFZRQ3P4.js → recognize-ECRO6CFK.js} +3 -3
- package/dist/bundle/{remote-Q37V7LUX.js → remote-6IEFZFGO.js} +6 -6
- package/dist/bundle/{rerank-V5YQQQAM.js → rerank-23GXWT2V.js} +6 -6
- package/dist/bundle/{serve-5CAD2UVG.js → serve-S65YTPZN.js} +8 -8
- package/dist/bundle/server-IH24WEAC.js +56 -0
- package/dist/bundle/{server-R6YAO2SG.js → server-MVTBK7GV.js} +32 -32
- package/dist/bundle/{state-Y3A2NEM3.js → state-TH3UVQAW.js} +5 -5
- package/dist/bundle/{store-H5K32CNI.js → store-2WFTUSNG.js} +12 -10
- package/dist/bundle/store-maintenance-command-PUOU2CL6.js +45 -0
- package/dist/bundle/tg.js +4 -4
- package/dist/telegram/adapter.d.ts +2 -0
- package/dist/telegram/adapter.d.ts.map +1 -1
- package/dist/telegram/adapter.js +3 -0
- package/dist/telegram/adapter.js.map +1 -1
- package/dist/telegram/topics.d.ts +4 -2
- package/dist/telegram/topics.d.ts.map +1 -1
- package/dist/telegram/topics.js +21 -3
- package/dist/telegram/topics.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +2 -0
- package/dist/bundle/command-contract-JCRVVL7P.js +0 -32
- package/dist/bundle/first-screen-PYEE5NMQ.js +0 -30
- package/dist/bundle/server-RUQLAWWS.js +0 -56
- package/dist/bundle/store-maintenance-command-QZDC4WKW.js +0 -45
- /package/dist/bundle/{chunk-NPGVOZVK.js → chunk-WJWLHLQ7.js} +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
storeTable,
|
|
12
12
|
tagging,
|
|
13
13
|
task
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4JXZKMXV.js";
|
|
15
15
|
import {
|
|
16
16
|
author,
|
|
17
17
|
count,
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
text,
|
|
26
26
|
time,
|
|
27
27
|
untrusted
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XSYJKEA5.js";
|
|
29
29
|
import {
|
|
30
30
|
envName
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2IGZLBTE.js";
|
|
32
32
|
import {
|
|
33
33
|
carries
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-3GL4AOOG.js";
|
|
35
35
|
import {
|
|
36
36
|
FACT_STATUSES,
|
|
37
37
|
FACT_TYPES,
|
|
@@ -62,11 +62,11 @@ import {
|
|
|
62
62
|
meetingStats,
|
|
63
63
|
meetingSummary,
|
|
64
64
|
meetingTranscript
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-EO7PQE3J.js";
|
|
66
66
|
import {
|
|
67
67
|
resolvePaths,
|
|
68
68
|
writeSecurely
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-KLNQXUDX.js";
|
|
70
70
|
import {
|
|
71
71
|
CliError,
|
|
72
72
|
array,
|
|
@@ -100,12 +100,12 @@ import {
|
|
|
100
100
|
unknown,
|
|
101
101
|
unwrap,
|
|
102
102
|
variant
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-QL4WBCL5.js";
|
|
104
104
|
import {
|
|
105
105
|
__name
|
|
106
106
|
} from "./chunk-ZVVMGPBJ.js";
|
|
107
107
|
|
|
108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
108
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
109
109
|
var member = strictObject({
|
|
110
110
|
id,
|
|
111
111
|
name: nullable(text),
|
|
@@ -128,7 +128,7 @@ var member = strictObject({
|
|
|
128
128
|
check: optional(record(string(), unknown()))
|
|
129
129
|
});
|
|
130
130
|
|
|
131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
131
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
132
132
|
var setting = optional(nullable(boolean()));
|
|
133
133
|
var chat = strictObject({
|
|
134
134
|
ref: reference,
|
|
@@ -169,7 +169,7 @@ var chat = strictObject({
|
|
|
169
169
|
members: optional(array(member))
|
|
170
170
|
});
|
|
171
171
|
|
|
172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
172
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
173
173
|
var botProfile = strictObject({
|
|
174
174
|
name: text,
|
|
175
175
|
token: text,
|
|
@@ -194,6 +194,7 @@ var botAdmin = strictObject({
|
|
|
194
194
|
title: nullable(text)
|
|
195
195
|
});
|
|
196
196
|
var botMenuEntry = strictObject({ name: text, description: nullable(text) });
|
|
197
|
+
var topicIcon = strictObject({ emoji: text });
|
|
197
198
|
var botWebhook = strictObject({ url: text, types: optional(array(text)) });
|
|
198
199
|
var scheduledJob = strictObject({
|
|
199
200
|
name: text,
|
|
@@ -236,7 +237,7 @@ var stickerInventory = strictObject({
|
|
|
236
237
|
url: optional(nullable(text))
|
|
237
238
|
});
|
|
238
239
|
|
|
239
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
240
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
240
241
|
var actionableError = objectWithRest({
|
|
241
242
|
code: text,
|
|
242
243
|
message: text,
|
|
@@ -253,7 +254,7 @@ var batchResult = strictObject({
|
|
|
253
254
|
max_error_percent: count
|
|
254
255
|
});
|
|
255
256
|
|
|
256
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
257
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
257
258
|
var conversationBuild = strictObject({
|
|
258
259
|
chat: id,
|
|
259
260
|
messages: count,
|
|
@@ -278,13 +279,13 @@ var catchUpPreparation = strictObject({
|
|
|
278
279
|
prepared: optional(conversationPreparation)
|
|
279
280
|
});
|
|
280
281
|
|
|
281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
282
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
282
283
|
import { spawn } from "node:child_process";
|
|
283
284
|
import { randomBytes } from "node:crypto";
|
|
284
285
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
285
286
|
import { dirname, join } from "node:path";
|
|
286
287
|
|
|
287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
288
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
288
289
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
289
290
|
const total = input.total ?? null;
|
|
290
291
|
const updated = input.updatedAt ?? null;
|
|
@@ -300,7 +301,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
300
301
|
};
|
|
301
302
|
}, "progressOf");
|
|
302
303
|
|
|
303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
304
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
304
305
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
305
306
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
306
307
|
const out = openSync(log, "a", 384);
|
|
@@ -455,7 +456,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
455
456
|
return { job: id6, pid, chat: input.chat, log };
|
|
456
457
|
}, "startArchiveJob");
|
|
457
458
|
|
|
458
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
459
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
459
460
|
var problem = strictObject({ code: text, message: text });
|
|
460
461
|
var job = strictObject({
|
|
461
462
|
id,
|
|
@@ -478,7 +479,7 @@ var job = strictObject({
|
|
|
478
479
|
error: optional(problem)
|
|
479
480
|
});
|
|
480
481
|
|
|
481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
482
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
482
483
|
var quoted = strictObject({
|
|
483
484
|
id,
|
|
484
485
|
sender_id: nullable(id),
|
|
@@ -585,7 +586,7 @@ var message = strictObject({
|
|
|
585
586
|
provider_metadata: providerMetadata
|
|
586
587
|
});
|
|
587
588
|
|
|
588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
589
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
589
590
|
var extractionItem = strictObject({
|
|
590
591
|
ref: reference,
|
|
591
592
|
attachment: count,
|
|
@@ -618,7 +619,7 @@ var extractionReport = strictObject({
|
|
|
618
619
|
cursor: optional(text)
|
|
619
620
|
});
|
|
620
621
|
|
|
621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
622
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
622
623
|
var savedMessageFile = strictObject({
|
|
623
624
|
kind: text,
|
|
624
625
|
path: text,
|
|
@@ -697,7 +698,7 @@ var messageSyncAll = strictObject({
|
|
|
697
698
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
698
699
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
699
700
|
|
|
700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
701
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
701
702
|
var range = strictObject({ from: number(), to: number() });
|
|
702
703
|
var storeChatStatus = strictObject({
|
|
703
704
|
chat_id: id,
|
|
@@ -788,7 +789,7 @@ var storeJobRetry = union([
|
|
|
788
789
|
]);
|
|
789
790
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
790
791
|
|
|
791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
792
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
792
793
|
var account = strictObject({
|
|
793
794
|
provider: text,
|
|
794
795
|
id,
|
|
@@ -798,7 +799,7 @@ var account = strictObject({
|
|
|
798
799
|
scope: optional(picklist(["personal", "work"]))
|
|
799
800
|
});
|
|
800
801
|
|
|
801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
802
803
|
var accountSession = strictObject({
|
|
803
804
|
current: boolean(),
|
|
804
805
|
client: nullable(text),
|
|
@@ -808,7 +809,7 @@ var accountSession = strictObject({
|
|
|
808
809
|
created_at: optional(nullable(time))
|
|
809
810
|
});
|
|
810
811
|
|
|
811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
812
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
812
813
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
813
814
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
814
815
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -826,7 +827,7 @@ var accountPrivacy = strictObject({
|
|
|
826
827
|
});
|
|
827
828
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
828
829
|
|
|
829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
830
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
830
831
|
var accountProfile = strictObject({
|
|
831
832
|
profile: id,
|
|
832
833
|
current: boolean(),
|
|
@@ -836,7 +837,7 @@ var accountProfile = strictObject({
|
|
|
836
837
|
signed_in: optional(boolean())
|
|
837
838
|
});
|
|
838
839
|
|
|
839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
840
841
|
var milliseconds = pipe(number(), minValue(0));
|
|
841
842
|
var counterReading = strictObject({
|
|
842
843
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -848,7 +849,7 @@ var counterReading = strictObject({
|
|
|
848
849
|
});
|
|
849
850
|
var selection = record(string(), unknown());
|
|
850
851
|
|
|
851
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
852
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
852
853
|
var adminRow = strictObject({
|
|
853
854
|
ref: reference,
|
|
854
855
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -901,11 +902,11 @@ var adminReport = strictObject({
|
|
|
901
902
|
rows: array(adminRow)
|
|
902
903
|
});
|
|
903
904
|
|
|
904
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
905
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
905
906
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
906
907
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
907
908
|
|
|
908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
909
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
909
910
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
910
911
|
var attachmentBytes = strictObject({
|
|
911
912
|
ref: reference,
|
|
@@ -933,7 +934,7 @@ var attachmentTextChange = strictObject({
|
|
|
933
934
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
934
935
|
});
|
|
935
936
|
|
|
936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
937
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
937
938
|
var chart = strictObject({
|
|
938
939
|
version: literal(1),
|
|
939
940
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -948,7 +949,7 @@ var chart = strictObject({
|
|
|
948
949
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
949
950
|
});
|
|
950
951
|
|
|
951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
952
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
952
953
|
var named = strictObject({
|
|
953
954
|
id,
|
|
954
955
|
title: nullable(text),
|
|
@@ -971,7 +972,7 @@ var folder = strictObject({
|
|
|
971
972
|
excluded_chats: optional(array(named))
|
|
972
973
|
});
|
|
973
974
|
|
|
974
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
975
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
975
976
|
var inviteLink = strictObject({
|
|
976
977
|
link: text,
|
|
977
978
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -987,7 +988,7 @@ var inviteLink = strictObject({
|
|
|
987
988
|
joined_count: optional(count)
|
|
988
989
|
});
|
|
989
990
|
|
|
990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
991
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
991
992
|
var operated = { operation_id: id, chat_id: id };
|
|
992
993
|
var group = strictObject({
|
|
993
994
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -1067,7 +1068,7 @@ var chatFolderOrder = strictObject({
|
|
|
1067
1068
|
folders: array(strictObject({ id, title: text }))
|
|
1068
1069
|
});
|
|
1069
1070
|
|
|
1070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1071
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
1071
1072
|
var operated2 = { operation_id: id, chat_id: id };
|
|
1072
1073
|
var chatRemoval = strictObject(operated2);
|
|
1073
1074
|
var chatMuting = strictObject({
|
|
@@ -1078,7 +1079,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
1078
1079
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
1079
1080
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
1080
1081
|
|
|
1081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1082
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
1082
1083
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
1083
1084
|
var chatEvent = strictObject({
|
|
1084
1085
|
chat_id: id,
|
|
@@ -1095,7 +1096,7 @@ var chatEvent = strictObject({
|
|
|
1095
1096
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
1096
1097
|
});
|
|
1097
1098
|
|
|
1098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1099
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
1099
1100
|
var chatMetadata = strictObject({
|
|
1100
1101
|
chat_id: id,
|
|
1101
1102
|
title: nullable(text),
|
|
@@ -1110,7 +1111,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
1110
1111
|
has_more: boolean()
|
|
1111
1112
|
});
|
|
1112
1113
|
|
|
1113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1114
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
1114
1115
|
var action = picklist(["report", "delete", "remove"]);
|
|
1115
1116
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
1116
1117
|
var chatRules = strictObject({
|
|
@@ -1147,7 +1148,7 @@ var chatModeration = strictObject({
|
|
|
1147
1148
|
}))
|
|
1148
1149
|
});
|
|
1149
1150
|
|
|
1150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1151
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
1151
1152
|
var optionalCount = optional(count);
|
|
1152
1153
|
var minutes = nullable(number());
|
|
1153
1154
|
var chatStats = strictObject({
|
|
@@ -1209,7 +1210,7 @@ var taskStats = strictObject({
|
|
|
1209
1210
|
}))
|
|
1210
1211
|
});
|
|
1211
1212
|
|
|
1212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1213
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
1213
1214
|
var memberCount = strictObject({
|
|
1214
1215
|
day: pipe(text, isoDate()),
|
|
1215
1216
|
participants: nullable(count),
|
|
@@ -1232,7 +1233,7 @@ var chatTracking = strictObject({
|
|
|
1232
1233
|
tracked: boolean()
|
|
1233
1234
|
});
|
|
1234
1235
|
|
|
1235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1236
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
1236
1237
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1237
1238
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
1238
1239
|
var profileFields = {
|
|
@@ -1270,7 +1271,7 @@ var profileFields = {
|
|
|
1270
1271
|
}))
|
|
1271
1272
|
};
|
|
1272
1273
|
|
|
1273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1274
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
1274
1275
|
var contact = strictObject({
|
|
1275
1276
|
ref: reference,
|
|
1276
1277
|
id,
|
|
@@ -1301,7 +1302,7 @@ var contact = strictObject({
|
|
|
1301
1302
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
1302
1303
|
});
|
|
1303
1304
|
|
|
1304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1305
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
1305
1306
|
var linkedIdentity = strictObject({
|
|
1306
1307
|
provider: text,
|
|
1307
1308
|
id,
|
|
@@ -1342,7 +1343,7 @@ var contactCheck = strictObject({
|
|
|
1342
1343
|
checked_at: time
|
|
1343
1344
|
});
|
|
1344
1345
|
|
|
1345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1346
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
1346
1347
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
1347
1348
|
var contextMessage = strictObject({
|
|
1348
1349
|
locator: reference,
|
|
@@ -1540,7 +1541,7 @@ var contactPreparation = strictObject({
|
|
|
1540
1541
|
})
|
|
1541
1542
|
});
|
|
1542
1543
|
|
|
1543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1544
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
1544
1545
|
var contactNote = strictObject({
|
|
1545
1546
|
id,
|
|
1546
1547
|
/** The contact, as a `contact:` reference. */
|
|
@@ -1552,13 +1553,13 @@ var contactNote = strictObject({
|
|
|
1552
1553
|
updated_at: time
|
|
1553
1554
|
});
|
|
1554
1555
|
|
|
1555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1556
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
1556
1557
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1557
1558
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
1558
1559
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
1559
1560
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
1560
1561
|
|
|
1561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
1562
1563
|
var conversationDetails = union([
|
|
1563
1564
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
1564
1565
|
message
|
|
@@ -1648,7 +1649,7 @@ var conversationHit = strictObject({
|
|
|
1648
1649
|
stale: boolean()
|
|
1649
1650
|
});
|
|
1650
1651
|
|
|
1651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1652
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
1652
1653
|
var counters = strictObject({
|
|
1653
1654
|
cutoff: time,
|
|
1654
1655
|
max_age_ms: milliseconds,
|
|
@@ -1678,7 +1679,7 @@ var counterRefresh = strictObject({
|
|
|
1678
1679
|
complete: optional(boolean())
|
|
1679
1680
|
});
|
|
1680
1681
|
|
|
1681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1682
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
1682
1683
|
var document = strictObject({
|
|
1683
1684
|
ref: reference,
|
|
1684
1685
|
id,
|
|
@@ -1693,7 +1694,7 @@ var document = strictObject({
|
|
|
1693
1694
|
owners: optional(array(text))
|
|
1694
1695
|
});
|
|
1695
1696
|
|
|
1696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1697
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
1697
1698
|
var documentLink = strictObject({
|
|
1698
1699
|
ref: reference,
|
|
1699
1700
|
url: text,
|
|
@@ -1704,7 +1705,7 @@ var documentLink = strictObject({
|
|
|
1704
1705
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
1705
1706
|
});
|
|
1706
1707
|
|
|
1707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1708
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
1708
1709
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
1709
1710
|
var contribution = strictObject({
|
|
1710
1711
|
message: evidenceMessage,
|
|
@@ -1734,7 +1735,7 @@ var retentionStay = strictObject({
|
|
|
1734
1735
|
});
|
|
1735
1736
|
var evidence = union([contribution, retentionStay]);
|
|
1736
1737
|
|
|
1737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1738
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
1738
1739
|
var fact = strictObject({
|
|
1739
1740
|
ref: reference,
|
|
1740
1741
|
id,
|
|
@@ -1742,6 +1743,8 @@ var fact = strictObject({
|
|
|
1742
1743
|
text,
|
|
1743
1744
|
status: picklist(FACT_STATUSES),
|
|
1744
1745
|
project: nullable(text),
|
|
1746
|
+
/** What the project is called. */
|
|
1747
|
+
project_name: optional(nullable(text)),
|
|
1745
1748
|
subject: nullable(reference),
|
|
1746
1749
|
/** What the subject is called; `null` for the owner and for a row with no name. */
|
|
1747
1750
|
subject_name: optional(nullable(text)),
|
|
@@ -1762,7 +1765,7 @@ var fact = strictObject({
|
|
|
1762
1765
|
updated_at: time
|
|
1763
1766
|
});
|
|
1764
1767
|
|
|
1765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1768
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
1766
1769
|
var hit = strictObject({
|
|
1767
1770
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
1768
1771
|
ref: reference,
|
|
@@ -1791,7 +1794,7 @@ var hit = strictObject({
|
|
|
1791
1794
|
untrusted
|
|
1792
1795
|
});
|
|
1793
1796
|
|
|
1794
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1797
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
1795
1798
|
var identity = strictObject({
|
|
1796
1799
|
ref: reference,
|
|
1797
1800
|
provider: text,
|
|
@@ -1804,7 +1807,7 @@ var identity = strictObject({
|
|
|
1804
1807
|
person: optional(nullable(reference))
|
|
1805
1808
|
});
|
|
1806
1809
|
|
|
1807
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1810
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
1808
1811
|
var imageEmbedding = strictObject({
|
|
1809
1812
|
model: text,
|
|
1810
1813
|
embedded: count,
|
|
@@ -1813,7 +1816,7 @@ var imageEmbedding = strictObject({
|
|
|
1813
1816
|
more: boolean()
|
|
1814
1817
|
});
|
|
1815
1818
|
|
|
1816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
1817
1820
|
var joinRequest = strictObject({
|
|
1818
1821
|
person_id: id,
|
|
1819
1822
|
name: nullable(text),
|
|
@@ -1824,7 +1827,7 @@ var joinRequest = strictObject({
|
|
|
1824
1827
|
about: optional(text)
|
|
1825
1828
|
});
|
|
1826
1829
|
|
|
1827
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1830
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
1828
1831
|
var pollVote = strictObject({
|
|
1829
1832
|
person_id: id,
|
|
1830
1833
|
name: nullable(text),
|
|
@@ -1834,7 +1837,7 @@ var pollVote = strictObject({
|
|
|
1834
1837
|
voted_at: time
|
|
1835
1838
|
});
|
|
1836
1839
|
|
|
1837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1840
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
1838
1841
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
1839
1842
|
var observation = strictObject({
|
|
1840
1843
|
value: pipe(number(), minValue(0)),
|
|
@@ -1875,7 +1878,7 @@ var serveSummary = strictObject({
|
|
|
1875
1878
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
1876
1879
|
});
|
|
1877
1880
|
|
|
1878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1881
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
1879
1882
|
var mediaArchive = strictObject({
|
|
1880
1883
|
directory: text,
|
|
1881
1884
|
chats: count,
|
|
@@ -1907,7 +1910,7 @@ var mediaArchiveTimer = union([
|
|
|
1907
1910
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
1908
1911
|
]);
|
|
1909
1912
|
|
|
1910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1913
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
1911
1914
|
var preparationId = pipe(string(), minLength(1));
|
|
1912
1915
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
1913
1916
|
var preparationTime = nullable(isoTime);
|
|
@@ -1999,7 +2002,7 @@ var preparationMeeting = strictObject({
|
|
|
1999
2002
|
updated_at: isoTime
|
|
2000
2003
|
});
|
|
2001
2004
|
|
|
2002
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2005
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
2003
2006
|
var meetingEvidence = preparationEvidence;
|
|
2004
2007
|
var meetingPersonContext = strictObject({
|
|
2005
2008
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -2021,7 +2024,7 @@ var meetingPersonContext = strictObject({
|
|
|
2021
2024
|
})
|
|
2022
2025
|
});
|
|
2023
2026
|
|
|
2024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2027
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
2025
2028
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
2026
2029
|
var base = { id, project: reference, evidence: array(evidence2) };
|
|
2027
2030
|
var finding = variant("kind", [
|
|
@@ -2059,7 +2062,7 @@ var meetingFindings = strictObject({
|
|
|
2059
2062
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
2060
2063
|
});
|
|
2061
2064
|
|
|
2062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2065
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
2063
2066
|
var communicationCoverage = strictObject({
|
|
2064
2067
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
2065
2068
|
query: string(),
|
|
@@ -2104,7 +2107,7 @@ var preparationCommunications = strictObject({
|
|
|
2104
2107
|
}))
|
|
2105
2108
|
});
|
|
2106
2109
|
|
|
2107
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2110
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
2108
2111
|
var meetingPreparation = strictObject({
|
|
2109
2112
|
communications: optional(preparationCommunications),
|
|
2110
2113
|
schema_version: literal(1),
|
|
@@ -2217,7 +2220,7 @@ var meetingPreparation = strictObject({
|
|
|
2217
2220
|
})
|
|
2218
2221
|
});
|
|
2219
2222
|
|
|
2220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2223
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
2221
2224
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2222
2225
|
var id3 = pipe(string(), minLength(1));
|
|
2223
2226
|
var text3 = string();
|
|
@@ -2281,7 +2284,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
2281
2284
|
})
|
|
2282
2285
|
});
|
|
2283
2286
|
|
|
2284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2287
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
2285
2288
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2286
2289
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
2287
2290
|
var meetingSeriesInventory = strictObject({
|
|
@@ -2311,7 +2314,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
2311
2314
|
})
|
|
2312
2315
|
});
|
|
2313
2316
|
|
|
2314
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2317
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
2315
2318
|
var text4 = string();
|
|
2316
2319
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
2317
2320
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -2328,7 +2331,7 @@ var meetingTaskProposal = strictObject({
|
|
|
2328
2331
|
persistence: literal("proposal-only")
|
|
2329
2332
|
});
|
|
2330
2333
|
|
|
2331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2334
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
2332
2335
|
var memory = strictObject({
|
|
2333
2336
|
ref: reference,
|
|
2334
2337
|
id,
|
|
@@ -2338,6 +2341,9 @@ var memory = strictObject({
|
|
|
2338
2341
|
/** What the subject is called; `null` for the owner and for a row with no name. */
|
|
2339
2342
|
subject_name: optional(nullable(text)),
|
|
2340
2343
|
subject_is_owner: optional(boolean()),
|
|
2344
|
+
/** The project it belongs to, and what that project is called. */
|
|
2345
|
+
project: optional(nullable(reference)),
|
|
2346
|
+
project_name: optional(nullable(text)),
|
|
2341
2347
|
author,
|
|
2342
2348
|
model: nullable(text),
|
|
2343
2349
|
confidence: nullable(number()),
|
|
@@ -2352,7 +2358,7 @@ var memory = strictObject({
|
|
|
2352
2358
|
updated_at: time
|
|
2353
2359
|
});
|
|
2354
2360
|
|
|
2355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2361
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
2356
2362
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
2357
2363
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
2358
2364
|
var mention = strictObject({
|
|
@@ -2395,13 +2401,13 @@ var mentionRebuild = strictObject({
|
|
|
2395
2401
|
mentions: count
|
|
2396
2402
|
});
|
|
2397
2403
|
|
|
2398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2404
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
2399
2405
|
var operated3 = { operation_id: id, chat_id: id };
|
|
2400
2406
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
2401
2407
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
2402
2408
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
2403
2409
|
|
|
2404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2410
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
2405
2411
|
var messageTranscript = strictObject({
|
|
2406
2412
|
message_id: id,
|
|
2407
2413
|
text,
|
|
@@ -2459,7 +2465,7 @@ var evidencePacket = strictObject({
|
|
|
2459
2465
|
}))
|
|
2460
2466
|
});
|
|
2461
2467
|
|
|
2462
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2468
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
2463
2469
|
var messageThread = strictObject({
|
|
2464
2470
|
ref: reference,
|
|
2465
2471
|
chat: id,
|
|
@@ -2476,7 +2482,7 @@ var messageThread = strictObject({
|
|
|
2476
2482
|
});
|
|
2477
2483
|
var messageContext = union([message, messageThread]);
|
|
2478
2484
|
|
|
2479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2485
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
2480
2486
|
var messageCounts = strictObject({
|
|
2481
2487
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
2482
2488
|
total: count,
|
|
@@ -2489,7 +2495,7 @@ var messageCounts = strictObject({
|
|
|
2489
2495
|
}))
|
|
2490
2496
|
});
|
|
2491
2497
|
|
|
2492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2498
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
2493
2499
|
var messageLink = strictObject({
|
|
2494
2500
|
ref: reference,
|
|
2495
2501
|
url: nullable(text),
|
|
@@ -2498,7 +2504,7 @@ var messageLink = strictObject({
|
|
|
2498
2504
|
reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"]))
|
|
2499
2505
|
});
|
|
2500
2506
|
|
|
2501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2507
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
2502
2508
|
var messageWrite = strictObject({
|
|
2503
2509
|
operation_id: id,
|
|
2504
2510
|
message,
|
|
@@ -2513,7 +2519,7 @@ var draftWrite = strictObject({
|
|
|
2513
2519
|
});
|
|
2514
2520
|
var messageSend = union([messageWrite, draftWrite]);
|
|
2515
2521
|
|
|
2516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2522
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
2517
2523
|
var model = strictObject({
|
|
2518
2524
|
id,
|
|
2519
2525
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -2530,7 +2536,7 @@ var model = strictObject({
|
|
|
2530
2536
|
path: text
|
|
2531
2537
|
});
|
|
2532
2538
|
|
|
2533
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2539
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
2534
2540
|
var source = picklist(["environment", "keyring", "file"]);
|
|
2535
2541
|
var modelKey = strictObject({
|
|
2536
2542
|
provider: text,
|
|
@@ -2540,7 +2546,7 @@ var modelKey = strictObject({
|
|
|
2540
2546
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
2541
2547
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
2542
2548
|
|
|
2543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2549
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
2544
2550
|
var versus = strictObject({ current: number(), previous: number() });
|
|
2545
2551
|
var person = { person_ref: reference, name: nullable(text) };
|
|
2546
2552
|
var graph = strictObject({
|
|
@@ -2574,14 +2580,14 @@ var officialStats = strictObject({
|
|
|
2574
2580
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
2575
2581
|
});
|
|
2576
2582
|
|
|
2577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2583
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
2578
2584
|
var person2 = strictObject({
|
|
2579
2585
|
ref: reference,
|
|
2580
2586
|
name: nullable(text),
|
|
2581
2587
|
identities: optional(array(identity))
|
|
2582
2588
|
});
|
|
2583
2589
|
|
|
2584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
2585
2591
|
var poll = strictObject({
|
|
2586
2592
|
chat_id: id,
|
|
2587
2593
|
message_id: id,
|
|
@@ -2597,11 +2603,11 @@ var poll = strictObject({
|
|
|
2597
2603
|
});
|
|
2598
2604
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
2599
2605
|
|
|
2600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2606
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
2601
2607
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
2602
2608
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
2603
2609
|
|
|
2604
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2610
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
2605
2611
|
var figures = record(string(), number());
|
|
2606
2612
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
2607
2613
|
var rankingRow = strictObject({
|
|
@@ -2648,7 +2654,7 @@ var ranking = strictObject({
|
|
|
2648
2654
|
rows: array(rankingRow)
|
|
2649
2655
|
});
|
|
2650
2656
|
|
|
2651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2657
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
2652
2658
|
var reaction = strictObject({
|
|
2653
2659
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
2654
2660
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -2656,7 +2662,7 @@ var reaction = strictObject({
|
|
|
2656
2662
|
reacted_at: time
|
|
2657
2663
|
});
|
|
2658
2664
|
|
|
2659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2665
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
2660
2666
|
var reactionChange = strictObject({
|
|
2661
2667
|
operation_id: id,
|
|
2662
2668
|
chat_id: id,
|
|
@@ -2664,7 +2670,7 @@ var reactionChange = strictObject({
|
|
|
2664
2670
|
reaction: nullable(text)
|
|
2665
2671
|
});
|
|
2666
2672
|
|
|
2667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2673
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
2668
2674
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
2669
2675
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
2670
2676
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -2675,7 +2681,7 @@ var recipientChange = strictObject({
|
|
|
2675
2681
|
...partial(recipientOff).entries
|
|
2676
2682
|
});
|
|
2677
2683
|
|
|
2678
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2684
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
2679
2685
|
var events = array(record(string(), unknown()));
|
|
2680
2686
|
var recordedRun = strictObject({
|
|
2681
2687
|
run_id: id,
|
|
@@ -2747,7 +2753,7 @@ var runHit = strictObject({
|
|
|
2747
2753
|
});
|
|
2748
2754
|
var runLocation = strictObject({ path: text });
|
|
2749
2755
|
|
|
2750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2756
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
2751
2757
|
var relationship = strictObject({
|
|
2752
2758
|
id,
|
|
2753
2759
|
from: reference,
|
|
@@ -2762,7 +2768,7 @@ var relationship = strictObject({
|
|
|
2762
2768
|
created_at: time
|
|
2763
2769
|
});
|
|
2764
2770
|
|
|
2765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2771
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
2766
2772
|
var retentionCohort = strictObject({
|
|
2767
2773
|
/** The first day of the joining day or week. */
|
|
2768
2774
|
cohort: text,
|
|
@@ -2810,7 +2816,7 @@ var retention = strictObject({
|
|
|
2810
2816
|
rows: array(retentionCohort)
|
|
2811
2817
|
});
|
|
2812
2818
|
|
|
2813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
2814
2820
|
var savedSearch = strictObject({
|
|
2815
2821
|
id,
|
|
2816
2822
|
/** `null` for a run in the history. */
|
|
@@ -2827,7 +2833,7 @@ var savedSearch = strictObject({
|
|
|
2827
2833
|
});
|
|
2828
2834
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
2829
2835
|
|
|
2830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2836
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
2831
2837
|
var sendAttempt = strictObject({
|
|
2832
2838
|
at: time,
|
|
2833
2839
|
profile: text,
|
|
@@ -2855,7 +2861,7 @@ var sendAttempt = strictObject({
|
|
|
2855
2861
|
error_code: optional(text)
|
|
2856
2862
|
});
|
|
2857
2863
|
|
|
2858
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2864
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
2859
2865
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
2860
2866
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
2861
2867
|
var infoSchema = strictObject({
|
|
@@ -3063,7 +3069,7 @@ var storeRepair = union([
|
|
|
3063
3069
|
]);
|
|
3064
3070
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
3065
3071
|
|
|
3066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
3067
3073
|
var tagTarget = variant("type", [
|
|
3068
3074
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
3069
3075
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -3094,7 +3100,7 @@ var automaticTags = strictObject({
|
|
|
3094
3100
|
dry_run: boolean()
|
|
3095
3101
|
});
|
|
3096
3102
|
|
|
3097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3103
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
3098
3104
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
3099
3105
|
var taskPair = strictObject({
|
|
3100
3106
|
task: nullable(side),
|
|
@@ -3117,7 +3123,7 @@ var taskPair = strictObject({
|
|
|
3117
3123
|
created_at: time
|
|
3118
3124
|
});
|
|
3119
3125
|
|
|
3120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3126
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
3121
3127
|
var nullableTime = nullable(time);
|
|
3122
3128
|
var link = strictObject({
|
|
3123
3129
|
id,
|
|
@@ -3138,6 +3144,9 @@ var taskCard = strictObject({
|
|
|
3138
3144
|
ref: reference,
|
|
3139
3145
|
key: text,
|
|
3140
3146
|
project: reference,
|
|
3147
|
+
project_key: text,
|
|
3148
|
+
project_name: text,
|
|
3149
|
+
created_by: nullable(strictObject({ type: picklist(["person", "bot"]), id, name: nullable(text), owner: boolean() })),
|
|
3141
3150
|
title: text,
|
|
3142
3151
|
description: nullable(text),
|
|
3143
3152
|
type: picklist(TASK_TYPES),
|
|
@@ -3244,7 +3253,7 @@ var taskScan = strictObject({
|
|
|
3244
3253
|
tasks: array(strictObject({ source: text, kind: picklist(TASK_KINDS), category: nullable(text) }))
|
|
3245
3254
|
});
|
|
3246
3255
|
|
|
3247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3256
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
3248
3257
|
var topic = strictObject({
|
|
3249
3258
|
id,
|
|
3250
3259
|
title: text,
|
|
@@ -3258,7 +3267,7 @@ var topic = strictObject({
|
|
|
3258
3267
|
untrusted
|
|
3259
3268
|
});
|
|
3260
3269
|
|
|
3261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3270
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.531.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.71.0_commander@15._cfa5eacb532b7a1817693c3848e83d75/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
3262
3271
|
var ENTITIES = {
|
|
3263
3272
|
sync_progress: progress,
|
|
3264
3273
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -3347,6 +3356,7 @@ var ENTITIES = {
|
|
|
3347
3356
|
bot_seen_chat: botSeenChat,
|
|
3348
3357
|
bot_admin: botAdmin,
|
|
3349
3358
|
bot_menu_entry: botMenuEntry,
|
|
3359
|
+
topic_icon: topicIcon,
|
|
3350
3360
|
bot_webhook: botWebhook,
|
|
3351
3361
|
scheduled_job: scheduledJob,
|
|
3352
3362
|
call_record: callRecord,
|
|
@@ -3557,6 +3567,7 @@ export {
|
|
|
3557
3567
|
botSeenChat,
|
|
3558
3568
|
botAdmin,
|
|
3559
3569
|
botMenuEntry,
|
|
3570
|
+
topicIcon,
|
|
3560
3571
|
botWebhook,
|
|
3561
3572
|
scheduledJob,
|
|
3562
3573
|
callRecord,
|