@wirecat/tg-cli 0.110.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-JWUCHTXU.js → adapter-ILDV2YSZ.js} +70 -50
- package/dist/bundle/{all-profiles-OMRCKP54.js → all-profiles-4SH2Q4WV.js} +8 -8
- package/dist/bundle/{anthropic-WXFHH74P.js → anthropic-64SM23YO.js} +5 -5
- package/dist/bundle/{app-server-ILIPNO6T.js → app-server-SSYZWCDJ.js} +40 -40
- package/dist/bundle/{bot-api-KV765AZK.js → bot-api-OHAGQMES.js} +46 -46
- package/dist/bundle/{bot-history-3P6EIM5L.js → bot-history-AUFO7UL2.js} +15 -15
- package/dist/bundle/{bun-MJOYPPEN.js → bun-AHZX63TR.js} +2 -2
- package/dist/bundle/{bun-sqlite-GFRVRRDZ.js → bun-sqlite-KBIIODPV.js} +4 -4
- package/dist/bundle/{chunk-XLNYDJKG.js → chunk-2IGZLBTE.js} +2 -2
- package/dist/bundle/{chunk-ABVHA4K6.js → chunk-3AJO4GER.js} +5 -5
- package/dist/bundle/{chunk-RARYRHQA.js → chunk-3GL4AOOG.js} +1 -1
- package/dist/bundle/{chunk-SLAPUEMZ.js → chunk-3W7BU2BL.js} +6 -6
- package/dist/bundle/{chunk-MXIBRT6W.js → chunk-4IDJ7QCG.js} +4 -4
- package/dist/bundle/{chunk-QRH2AWBZ.js → chunk-4JXZKMXV.js} +77 -54
- package/dist/bundle/{chunk-6KESAYMZ.js → chunk-5BNYW5RA.js} +2 -2
- package/dist/bundle/{chunk-6WTLP2SI.js → chunk-5W72OARG.js} +8 -8
- package/dist/bundle/{chunk-RSZEEWOW.js → chunk-6KGENDPF.js} +2 -2
- package/dist/bundle/{chunk-4GOF43MW.js → chunk-7MFJFVUN.js} +1 -1
- package/dist/bundle/{chunk-4YOPRYEY.js → chunk-B3Y2KZRS.js} +109 -94
- package/dist/bundle/{chunk-RXWG7OWT.js → chunk-BIERCQVG.js} +1221 -557
- package/dist/bundle/{chunk-AXNBGLO5.js → chunk-BTAET4U3.js} +1 -1
- package/dist/bundle/{chunk-UIPT6IAU.js → chunk-COTC7HF3.js} +1 -1
- package/dist/bundle/{chunk-F7RWNBC2.js → chunk-D5JP2YWG.js} +2 -2
- package/dist/bundle/{chunk-W3B6EEZU.js → chunk-DFUTZGEV.js} +1 -1
- package/dist/bundle/{chunk-3KOF5T4N.js → chunk-DNYGJAEP.js} +4 -4
- package/dist/bundle/{chunk-3L2JTAVD.js → chunk-E4EJ2UTT.js} +2 -2
- package/dist/bundle/{chunk-YPLL3Q3M.js → chunk-EO7PQE3J.js} +119 -65
- package/dist/bundle/{chunk-YPEAEEHF.js → chunk-EPAOLRUL.js} +2 -2
- package/dist/bundle/{chunk-TJA3BWY3.js → chunk-GM44UNGL.js} +1 -1
- package/dist/bundle/{chunk-4I6HTOCM.js → chunk-GSGS62LX.js} +1 -1
- package/dist/bundle/{chunk-7ABA4EXC.js → chunk-GW7JRFTF.js} +3 -3
- package/dist/bundle/{chunk-5CMOXHQS.js → chunk-ICEJKOKO.js} +7 -7
- package/dist/bundle/{chunk-GPIORQAD.js → chunk-JIGYVVWA.js} +22 -22
- package/dist/bundle/{chunk-AZYVTDAE.js → chunk-JLB5LEXJ.js} +3 -3
- package/dist/bundle/{chunk-VOBMR7E5.js → chunk-JPRYFDOJ.js} +45 -44
- package/dist/bundle/{chunk-FYAHTTOB.js → chunk-JXTYTAWE.js} +11 -11
- package/dist/bundle/{chunk-F24EAGOU.js → chunk-JYOQMYNJ.js} +28 -28
- package/dist/bundle/{chunk-YWSNUUW5.js → chunk-K7VOCHVS.js} +6 -6
- package/dist/bundle/{chunk-KLOFBUXA.js → chunk-KGYPSBTI.js} +33 -23
- package/dist/bundle/{chunk-BWRCPMMC.js → chunk-KLNQXUDX.js} +18 -18
- package/dist/bundle/{chunk-3XTMVGTS.js → chunk-KYYAHIG2.js} +246 -229
- package/dist/bundle/{chunk-TDQVVXPF.js → chunk-MCXVGHL6.js} +85 -31
- package/dist/bundle/{chunk-32HEOKI2.js → chunk-NKACHGB2.js} +27 -14
- package/dist/bundle/{chunk-HCAYTAJN.js → chunk-NQKPXVLX.js} +2 -2
- package/dist/bundle/{chunk-L3YDXUDK.js → chunk-PDVSMGWO.js} +2 -2
- package/dist/bundle/{chunk-2YWQEG2P.js → chunk-PXUHQO66.js} +11 -11
- package/dist/bundle/{chunk-EO563SUX.js → chunk-QL4WBCL5.js} +7 -7
- package/dist/bundle/{chunk-MZRD776E.js → chunk-QMJGHSGN.js} +3 -3
- package/dist/bundle/{chunk-M3XIME74.js → chunk-RANORATG.js} +4 -4
- package/dist/bundle/{chunk-Q35J5LCO.js → chunk-RC7EBLHM.js} +10 -9
- package/dist/bundle/{chunk-VM7I5VKX.js → chunk-RHYMEHYK.js} +2 -2
- package/dist/bundle/{chunk-NDT22GBK.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-SD5J5T7M.js → chunk-TOBJGMMA.js} +11 -11
- package/dist/bundle/{chunk-5ASW5BNM.js → chunk-TUJEJ4D5.js} +26 -13
- package/dist/bundle/{chunk-BYOEVYY2.js → chunk-UQOSZ2XX.js} +468 -351
- package/dist/bundle/{chunk-JDOSIWPN.js → chunk-UVRD447S.js} +3 -3
- package/dist/bundle/{chunk-4BMXELWN.js → chunk-UXCWUEN7.js} +5 -5
- package/dist/bundle/{chunk-54CWOD7V.js → chunk-WI2S6INJ.js} +6 -6
- package/dist/bundle/{chunk-NFBOZT7H.js → chunk-WWKXTKCE.js} +4 -4
- package/dist/bundle/{chunk-7LZBMZQM.js → chunk-XSYJKEA5.js} +4 -4
- package/dist/bundle/command-contract-4KVJJZ46.js +32 -0
- package/dist/bundle/{decode-3KBXZCFM.js → decode-FR3QHHJI.js} +4 -4
- package/dist/bundle/{echarts-24TVPFGC.js → echarts-VTV4C2OS.js} +2 -2
- package/dist/bundle/{embed-3BDPZ4Q7.js → embed-US7X5P5D.js} +5 -5
- package/dist/bundle/{embedder-EMVDEZFR.js → embedder-63Z7ZBYG.js} +8 -8
- package/dist/bundle/{entry-NQD6Z2BM.js → entry-B4J7IAG3.js} +5 -5
- package/dist/bundle/{first-run-ZBIO6C67.js → first-run-MXPPUGII.js} +9 -9
- package/dist/bundle/first-screen-GFYHUBBD.js +30 -0
- package/dist/bundle/{identity-EDGOOTOM.js → identity-AQWKU7SM.js} +3 -3
- package/dist/bundle/{instructions-N2WVMNFZ.js → instructions-GBR6DJTK.js} +1 -1
- package/dist/bundle/{mcp-EMNFFY4N.js → mcp-YJEQYYTR.js} +2 -2
- package/dist/bundle/{node-VBZAZHUS.js → node-QXGPMDH2.js} +2 -2
- package/dist/bundle/{node-sqlite-C3V64OAL.js → node-sqlite-L6CAMXQ2.js} +4 -4
- package/dist/bundle/{oauth-NZXELYDA.js → oauth-5RK6J4SG.js} +6 -6
- package/dist/bundle/{open-2XRUGMV7.js → open-A3IAG7U6.js} +3 -3
- package/dist/bundle/{openai-OLGTN3ZB.js → openai-YKNGCHVV.js} +13 -13
- package/dist/bundle/{process-CASPZ2DH.js → process-CGLNXFIU.js} +1 -1
- package/dist/bundle/{program-QPQDSGYA.js → program-AEDR6R5P.js} +48 -48
- package/dist/bundle/{prompt-ESZL7SGX.js → prompt-65CSCL2T.js} +4 -4
- package/dist/bundle/{proxy-transport-OROEVBCG.js → proxy-transport-U3QOYMQF.js} +4 -4
- package/dist/bundle/{recognize-LQ7QOG4T.js → recognize-ECRO6CFK.js} +3 -3
- package/dist/bundle/{remote-34XP4EDN.js → remote-6IEFZFGO.js} +6 -6
- package/dist/bundle/{rerank-7F6NLBCW.js → rerank-23GXWT2V.js} +6 -6
- package/dist/bundle/{serve-M6TTKXI4.js → serve-S65YTPZN.js} +8 -8
- package/dist/bundle/server-IH24WEAC.js +56 -0
- package/dist/bundle/{server-GLZ5M7PE.js → server-MVTBK7GV.js} +32 -32
- package/dist/bundle/{state-UKKPLMHS.js → state-TH3UVQAW.js} +5 -5
- package/dist/bundle/{store-J2MBIDJK.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 +16 -9
- package/dist/bundle/command-contract-TNSW7W6G.js +0 -32
- package/dist/bundle/first-screen-4HRCG7OX.js +0 -30
- package/dist/bundle/server-KOW7OKE2.js +0 -56
- package/dist/bundle/store-maintenance-command-64B57C3U.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,
|
|
@@ -41,6 +41,7 @@ import {
|
|
|
41
41
|
MEMORY_KINDS,
|
|
42
42
|
MEMORY_SCOPES,
|
|
43
43
|
MEMORY_STATUSES,
|
|
44
|
+
PRIORITY_LABELS,
|
|
44
45
|
RELATION_KINDS,
|
|
45
46
|
TASK_KINDS,
|
|
46
47
|
TASK_ORIGINS,
|
|
@@ -61,11 +62,11 @@ import {
|
|
|
61
62
|
meetingStats,
|
|
62
63
|
meetingSummary,
|
|
63
64
|
meetingTranscript
|
|
64
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-EO7PQE3J.js";
|
|
65
66
|
import {
|
|
66
67
|
resolvePaths,
|
|
67
68
|
writeSecurely
|
|
68
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-KLNQXUDX.js";
|
|
69
70
|
import {
|
|
70
71
|
CliError,
|
|
71
72
|
array,
|
|
@@ -99,12 +100,12 @@ import {
|
|
|
99
100
|
unknown,
|
|
100
101
|
unwrap,
|
|
101
102
|
variant
|
|
102
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-QL4WBCL5.js";
|
|
103
104
|
import {
|
|
104
105
|
__name
|
|
105
106
|
} from "./chunk-ZVVMGPBJ.js";
|
|
106
107
|
|
|
107
|
-
// 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
|
|
108
109
|
var member = strictObject({
|
|
109
110
|
id,
|
|
110
111
|
name: nullable(text),
|
|
@@ -127,7 +128,7 @@ var member = strictObject({
|
|
|
127
128
|
check: optional(record(string(), unknown()))
|
|
128
129
|
});
|
|
129
130
|
|
|
130
|
-
// 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
|
|
131
132
|
var setting = optional(nullable(boolean()));
|
|
132
133
|
var chat = strictObject({
|
|
133
134
|
ref: reference,
|
|
@@ -168,7 +169,7 @@ var chat = strictObject({
|
|
|
168
169
|
members: optional(array(member))
|
|
169
170
|
});
|
|
170
171
|
|
|
171
|
-
// 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
|
|
172
173
|
var botProfile = strictObject({
|
|
173
174
|
name: text,
|
|
174
175
|
token: text,
|
|
@@ -193,6 +194,7 @@ var botAdmin = strictObject({
|
|
|
193
194
|
title: nullable(text)
|
|
194
195
|
});
|
|
195
196
|
var botMenuEntry = strictObject({ name: text, description: nullable(text) });
|
|
197
|
+
var topicIcon = strictObject({ emoji: text });
|
|
196
198
|
var botWebhook = strictObject({ url: text, types: optional(array(text)) });
|
|
197
199
|
var scheduledJob = strictObject({
|
|
198
200
|
name: text,
|
|
@@ -235,7 +237,7 @@ var stickerInventory = strictObject({
|
|
|
235
237
|
url: optional(nullable(text))
|
|
236
238
|
});
|
|
237
239
|
|
|
238
|
-
// 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
|
|
239
241
|
var actionableError = objectWithRest({
|
|
240
242
|
code: text,
|
|
241
243
|
message: text,
|
|
@@ -252,7 +254,7 @@ var batchResult = strictObject({
|
|
|
252
254
|
max_error_percent: count
|
|
253
255
|
});
|
|
254
256
|
|
|
255
|
-
// 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
|
|
256
258
|
var conversationBuild = strictObject({
|
|
257
259
|
chat: id,
|
|
258
260
|
messages: count,
|
|
@@ -277,13 +279,13 @@ var catchUpPreparation = strictObject({
|
|
|
277
279
|
prepared: optional(conversationPreparation)
|
|
278
280
|
});
|
|
279
281
|
|
|
280
|
-
// 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
|
|
281
283
|
import { spawn } from "node:child_process";
|
|
282
284
|
import { randomBytes } from "node:crypto";
|
|
283
285
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
284
286
|
import { dirname, join } from "node:path";
|
|
285
287
|
|
|
286
|
-
// 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
|
|
287
289
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
288
290
|
const total = input.total ?? null;
|
|
289
291
|
const updated = input.updatedAt ?? null;
|
|
@@ -299,7 +301,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
299
301
|
};
|
|
300
302
|
}, "progressOf");
|
|
301
303
|
|
|
302
|
-
// 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
|
|
303
305
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
304
306
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
305
307
|
const out = openSync(log, "a", 384);
|
|
@@ -454,7 +456,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
454
456
|
return { job: id6, pid, chat: input.chat, log };
|
|
455
457
|
}, "startArchiveJob");
|
|
456
458
|
|
|
457
|
-
// 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
|
|
458
460
|
var problem = strictObject({ code: text, message: text });
|
|
459
461
|
var job = strictObject({
|
|
460
462
|
id,
|
|
@@ -477,7 +479,7 @@ var job = strictObject({
|
|
|
477
479
|
error: optional(problem)
|
|
478
480
|
});
|
|
479
481
|
|
|
480
|
-
// 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
|
|
481
483
|
var quoted = strictObject({
|
|
482
484
|
id,
|
|
483
485
|
sender_id: nullable(id),
|
|
@@ -584,7 +586,7 @@ var message = strictObject({
|
|
|
584
586
|
provider_metadata: providerMetadata
|
|
585
587
|
});
|
|
586
588
|
|
|
587
|
-
// 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
|
|
588
590
|
var extractionItem = strictObject({
|
|
589
591
|
ref: reference,
|
|
590
592
|
attachment: count,
|
|
@@ -617,7 +619,7 @@ var extractionReport = strictObject({
|
|
|
617
619
|
cursor: optional(text)
|
|
618
620
|
});
|
|
619
621
|
|
|
620
|
-
// 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
|
|
621
623
|
var savedMessageFile = strictObject({
|
|
622
624
|
kind: text,
|
|
623
625
|
path: text,
|
|
@@ -696,7 +698,7 @@ var messageSyncAll = strictObject({
|
|
|
696
698
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
697
699
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
698
700
|
|
|
699
|
-
// 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
|
|
700
702
|
var range = strictObject({ from: number(), to: number() });
|
|
701
703
|
var storeChatStatus = strictObject({
|
|
702
704
|
chat_id: id,
|
|
@@ -787,7 +789,7 @@ var storeJobRetry = union([
|
|
|
787
789
|
]);
|
|
788
790
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
789
791
|
|
|
790
|
-
// 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
|
|
791
793
|
var account = strictObject({
|
|
792
794
|
provider: text,
|
|
793
795
|
id,
|
|
@@ -797,7 +799,7 @@ var account = strictObject({
|
|
|
797
799
|
scope: optional(picklist(["personal", "work"]))
|
|
798
800
|
});
|
|
799
801
|
|
|
800
|
-
// 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
|
|
801
803
|
var accountSession = strictObject({
|
|
802
804
|
current: boolean(),
|
|
803
805
|
client: nullable(text),
|
|
@@ -807,7 +809,7 @@ var accountSession = strictObject({
|
|
|
807
809
|
created_at: optional(nullable(time))
|
|
808
810
|
});
|
|
809
811
|
|
|
810
|
-
// 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
|
|
811
813
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
812
814
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
813
815
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -825,7 +827,7 @@ var accountPrivacy = strictObject({
|
|
|
825
827
|
});
|
|
826
828
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
827
829
|
|
|
828
|
-
// 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
|
|
829
831
|
var accountProfile = strictObject({
|
|
830
832
|
profile: id,
|
|
831
833
|
current: boolean(),
|
|
@@ -835,7 +837,7 @@ var accountProfile = strictObject({
|
|
|
835
837
|
signed_in: optional(boolean())
|
|
836
838
|
});
|
|
837
839
|
|
|
838
|
-
// 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
|
|
839
841
|
var milliseconds = pipe(number(), minValue(0));
|
|
840
842
|
var counterReading = strictObject({
|
|
841
843
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -847,7 +849,7 @@ var counterReading = strictObject({
|
|
|
847
849
|
});
|
|
848
850
|
var selection = record(string(), unknown());
|
|
849
851
|
|
|
850
|
-
// 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
|
|
851
853
|
var adminRow = strictObject({
|
|
852
854
|
ref: reference,
|
|
853
855
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -900,11 +902,11 @@ var adminReport = strictObject({
|
|
|
900
902
|
rows: array(adminRow)
|
|
901
903
|
});
|
|
902
904
|
|
|
903
|
-
// 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
|
|
904
906
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
905
907
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
906
908
|
|
|
907
|
-
// 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
|
|
908
910
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
909
911
|
var attachmentBytes = strictObject({
|
|
910
912
|
ref: reference,
|
|
@@ -932,7 +934,7 @@ var attachmentTextChange = strictObject({
|
|
|
932
934
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
933
935
|
});
|
|
934
936
|
|
|
935
|
-
// 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
|
|
936
938
|
var chart = strictObject({
|
|
937
939
|
version: literal(1),
|
|
938
940
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -947,7 +949,7 @@ var chart = strictObject({
|
|
|
947
949
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
948
950
|
});
|
|
949
951
|
|
|
950
|
-
// 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
|
|
951
953
|
var named = strictObject({
|
|
952
954
|
id,
|
|
953
955
|
title: nullable(text),
|
|
@@ -970,7 +972,7 @@ var folder = strictObject({
|
|
|
970
972
|
excluded_chats: optional(array(named))
|
|
971
973
|
});
|
|
972
974
|
|
|
973
|
-
// 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
|
|
974
976
|
var inviteLink = strictObject({
|
|
975
977
|
link: text,
|
|
976
978
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -986,7 +988,7 @@ var inviteLink = strictObject({
|
|
|
986
988
|
joined_count: optional(count)
|
|
987
989
|
});
|
|
988
990
|
|
|
989
|
-
// 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
|
|
990
992
|
var operated = { operation_id: id, chat_id: id };
|
|
991
993
|
var group = strictObject({
|
|
992
994
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -1066,7 +1068,7 @@ var chatFolderOrder = strictObject({
|
|
|
1066
1068
|
folders: array(strictObject({ id, title: text }))
|
|
1067
1069
|
});
|
|
1068
1070
|
|
|
1069
|
-
// 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
|
|
1070
1072
|
var operated2 = { operation_id: id, chat_id: id };
|
|
1071
1073
|
var chatRemoval = strictObject(operated2);
|
|
1072
1074
|
var chatMuting = strictObject({
|
|
@@ -1077,7 +1079,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
1077
1079
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
1078
1080
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
1079
1081
|
|
|
1080
|
-
// 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
|
|
1081
1083
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
1082
1084
|
var chatEvent = strictObject({
|
|
1083
1085
|
chat_id: id,
|
|
@@ -1094,7 +1096,7 @@ var chatEvent = strictObject({
|
|
|
1094
1096
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
1095
1097
|
});
|
|
1096
1098
|
|
|
1097
|
-
// 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
|
|
1098
1100
|
var chatMetadata = strictObject({
|
|
1099
1101
|
chat_id: id,
|
|
1100
1102
|
title: nullable(text),
|
|
@@ -1109,7 +1111,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
1109
1111
|
has_more: boolean()
|
|
1110
1112
|
});
|
|
1111
1113
|
|
|
1112
|
-
// 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
|
|
1113
1115
|
var action = picklist(["report", "delete", "remove"]);
|
|
1114
1116
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
1115
1117
|
var chatRules = strictObject({
|
|
@@ -1146,7 +1148,7 @@ var chatModeration = strictObject({
|
|
|
1146
1148
|
}))
|
|
1147
1149
|
});
|
|
1148
1150
|
|
|
1149
|
-
// 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
|
|
1150
1152
|
var optionalCount = optional(count);
|
|
1151
1153
|
var minutes = nullable(number());
|
|
1152
1154
|
var chatStats = strictObject({
|
|
@@ -1208,7 +1210,7 @@ var taskStats = strictObject({
|
|
|
1208
1210
|
}))
|
|
1209
1211
|
});
|
|
1210
1212
|
|
|
1211
|
-
// 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
|
|
1212
1214
|
var memberCount = strictObject({
|
|
1213
1215
|
day: pipe(text, isoDate()),
|
|
1214
1216
|
participants: nullable(count),
|
|
@@ -1231,7 +1233,7 @@ var chatTracking = strictObject({
|
|
|
1231
1233
|
tracked: boolean()
|
|
1232
1234
|
});
|
|
1233
1235
|
|
|
1234
|
-
// 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
|
|
1235
1237
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1236
1238
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
1237
1239
|
var profileFields = {
|
|
@@ -1269,7 +1271,7 @@ var profileFields = {
|
|
|
1269
1271
|
}))
|
|
1270
1272
|
};
|
|
1271
1273
|
|
|
1272
|
-
// 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
|
|
1273
1275
|
var contact = strictObject({
|
|
1274
1276
|
ref: reference,
|
|
1275
1277
|
id,
|
|
@@ -1300,7 +1302,7 @@ var contact = strictObject({
|
|
|
1300
1302
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
1301
1303
|
});
|
|
1302
1304
|
|
|
1303
|
-
// 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
|
|
1304
1306
|
var linkedIdentity = strictObject({
|
|
1305
1307
|
provider: text,
|
|
1306
1308
|
id,
|
|
@@ -1341,7 +1343,7 @@ var contactCheck = strictObject({
|
|
|
1341
1343
|
checked_at: time
|
|
1342
1344
|
});
|
|
1343
1345
|
|
|
1344
|
-
// 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
|
|
1345
1347
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
1346
1348
|
var contextMessage = strictObject({
|
|
1347
1349
|
locator: reference,
|
|
@@ -1539,7 +1541,7 @@ var contactPreparation = strictObject({
|
|
|
1539
1541
|
})
|
|
1540
1542
|
});
|
|
1541
1543
|
|
|
1542
|
-
// 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
|
|
1543
1545
|
var contactNote = strictObject({
|
|
1544
1546
|
id,
|
|
1545
1547
|
/** The contact, as a `contact:` reference. */
|
|
@@ -1551,13 +1553,13 @@ var contactNote = strictObject({
|
|
|
1551
1553
|
updated_at: time
|
|
1552
1554
|
});
|
|
1553
1555
|
|
|
1554
|
-
// 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
|
|
1555
1557
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1556
1558
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
1557
1559
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
1558
1560
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
1559
1561
|
|
|
1560
|
-
// 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
|
|
1561
1563
|
var conversationDetails = union([
|
|
1562
1564
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
1563
1565
|
message
|
|
@@ -1647,7 +1649,7 @@ var conversationHit = strictObject({
|
|
|
1647
1649
|
stale: boolean()
|
|
1648
1650
|
});
|
|
1649
1651
|
|
|
1650
|
-
// 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
|
|
1651
1653
|
var counters = strictObject({
|
|
1652
1654
|
cutoff: time,
|
|
1653
1655
|
max_age_ms: milliseconds,
|
|
@@ -1677,7 +1679,7 @@ var counterRefresh = strictObject({
|
|
|
1677
1679
|
complete: optional(boolean())
|
|
1678
1680
|
});
|
|
1679
1681
|
|
|
1680
|
-
// 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
|
|
1681
1683
|
var document = strictObject({
|
|
1682
1684
|
ref: reference,
|
|
1683
1685
|
id,
|
|
@@ -1692,7 +1694,7 @@ var document = strictObject({
|
|
|
1692
1694
|
owners: optional(array(text))
|
|
1693
1695
|
});
|
|
1694
1696
|
|
|
1695
|
-
// 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
|
|
1696
1698
|
var documentLink = strictObject({
|
|
1697
1699
|
ref: reference,
|
|
1698
1700
|
url: text,
|
|
@@ -1703,7 +1705,7 @@ var documentLink = strictObject({
|
|
|
1703
1705
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
1704
1706
|
});
|
|
1705
1707
|
|
|
1706
|
-
// 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
|
|
1707
1709
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
1708
1710
|
var contribution = strictObject({
|
|
1709
1711
|
message: evidenceMessage,
|
|
@@ -1733,7 +1735,7 @@ var retentionStay = strictObject({
|
|
|
1733
1735
|
});
|
|
1734
1736
|
var evidence = union([contribution, retentionStay]);
|
|
1735
1737
|
|
|
1736
|
-
// 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
|
|
1737
1739
|
var fact = strictObject({
|
|
1738
1740
|
ref: reference,
|
|
1739
1741
|
id,
|
|
@@ -1741,6 +1743,8 @@ var fact = strictObject({
|
|
|
1741
1743
|
text,
|
|
1742
1744
|
status: picklist(FACT_STATUSES),
|
|
1743
1745
|
project: nullable(text),
|
|
1746
|
+
/** What the project is called. */
|
|
1747
|
+
project_name: optional(nullable(text)),
|
|
1744
1748
|
subject: nullable(reference),
|
|
1745
1749
|
/** What the subject is called; `null` for the owner and for a row with no name. */
|
|
1746
1750
|
subject_name: optional(nullable(text)),
|
|
@@ -1761,7 +1765,7 @@ var fact = strictObject({
|
|
|
1761
1765
|
updated_at: time
|
|
1762
1766
|
});
|
|
1763
1767
|
|
|
1764
|
-
// 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
|
|
1765
1769
|
var hit = strictObject({
|
|
1766
1770
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
1767
1771
|
ref: reference,
|
|
@@ -1790,7 +1794,7 @@ var hit = strictObject({
|
|
|
1790
1794
|
untrusted
|
|
1791
1795
|
});
|
|
1792
1796
|
|
|
1793
|
-
// 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
|
|
1794
1798
|
var identity = strictObject({
|
|
1795
1799
|
ref: reference,
|
|
1796
1800
|
provider: text,
|
|
@@ -1803,7 +1807,7 @@ var identity = strictObject({
|
|
|
1803
1807
|
person: optional(nullable(reference))
|
|
1804
1808
|
});
|
|
1805
1809
|
|
|
1806
|
-
// 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
|
|
1807
1811
|
var imageEmbedding = strictObject({
|
|
1808
1812
|
model: text,
|
|
1809
1813
|
embedded: count,
|
|
@@ -1812,7 +1816,7 @@ var imageEmbedding = strictObject({
|
|
|
1812
1816
|
more: boolean()
|
|
1813
1817
|
});
|
|
1814
1818
|
|
|
1815
|
-
// 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
|
|
1816
1820
|
var joinRequest = strictObject({
|
|
1817
1821
|
person_id: id,
|
|
1818
1822
|
name: nullable(text),
|
|
@@ -1823,7 +1827,7 @@ var joinRequest = strictObject({
|
|
|
1823
1827
|
about: optional(text)
|
|
1824
1828
|
});
|
|
1825
1829
|
|
|
1826
|
-
// 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
|
|
1827
1831
|
var pollVote = strictObject({
|
|
1828
1832
|
person_id: id,
|
|
1829
1833
|
name: nullable(text),
|
|
@@ -1833,7 +1837,7 @@ var pollVote = strictObject({
|
|
|
1833
1837
|
voted_at: time
|
|
1834
1838
|
});
|
|
1835
1839
|
|
|
1836
|
-
// 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
|
|
1837
1841
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
1838
1842
|
var observation = strictObject({
|
|
1839
1843
|
value: pipe(number(), minValue(0)),
|
|
@@ -1874,7 +1878,7 @@ var serveSummary = strictObject({
|
|
|
1874
1878
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
1875
1879
|
});
|
|
1876
1880
|
|
|
1877
|
-
// 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
|
|
1878
1882
|
var mediaArchive = strictObject({
|
|
1879
1883
|
directory: text,
|
|
1880
1884
|
chats: count,
|
|
@@ -1906,7 +1910,7 @@ var mediaArchiveTimer = union([
|
|
|
1906
1910
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
1907
1911
|
]);
|
|
1908
1912
|
|
|
1909
|
-
// 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
|
|
1910
1914
|
var preparationId = pipe(string(), minLength(1));
|
|
1911
1915
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
1912
1916
|
var preparationTime = nullable(isoTime);
|
|
@@ -1998,7 +2002,7 @@ var preparationMeeting = strictObject({
|
|
|
1998
2002
|
updated_at: isoTime
|
|
1999
2003
|
});
|
|
2000
2004
|
|
|
2001
|
-
// 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
|
|
2002
2006
|
var meetingEvidence = preparationEvidence;
|
|
2003
2007
|
var meetingPersonContext = strictObject({
|
|
2004
2008
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -2020,7 +2024,7 @@ var meetingPersonContext = strictObject({
|
|
|
2020
2024
|
})
|
|
2021
2025
|
});
|
|
2022
2026
|
|
|
2023
|
-
// 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
|
|
2024
2028
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
2025
2029
|
var base = { id, project: reference, evidence: array(evidence2) };
|
|
2026
2030
|
var finding = variant("kind", [
|
|
@@ -2058,7 +2062,7 @@ var meetingFindings = strictObject({
|
|
|
2058
2062
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
2059
2063
|
});
|
|
2060
2064
|
|
|
2061
|
-
// 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
|
|
2062
2066
|
var communicationCoverage = strictObject({
|
|
2063
2067
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
2064
2068
|
query: string(),
|
|
@@ -2103,7 +2107,7 @@ var preparationCommunications = strictObject({
|
|
|
2103
2107
|
}))
|
|
2104
2108
|
});
|
|
2105
2109
|
|
|
2106
|
-
// 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
|
|
2107
2111
|
var meetingPreparation = strictObject({
|
|
2108
2112
|
communications: optional(preparationCommunications),
|
|
2109
2113
|
schema_version: literal(1),
|
|
@@ -2216,7 +2220,7 @@ var meetingPreparation = strictObject({
|
|
|
2216
2220
|
})
|
|
2217
2221
|
});
|
|
2218
2222
|
|
|
2219
|
-
// 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
|
|
2220
2224
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2221
2225
|
var id3 = pipe(string(), minLength(1));
|
|
2222
2226
|
var text3 = string();
|
|
@@ -2280,7 +2284,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
2280
2284
|
})
|
|
2281
2285
|
});
|
|
2282
2286
|
|
|
2283
|
-
// 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
|
|
2284
2288
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2285
2289
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
2286
2290
|
var meetingSeriesInventory = strictObject({
|
|
@@ -2310,7 +2314,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
2310
2314
|
})
|
|
2311
2315
|
});
|
|
2312
2316
|
|
|
2313
|
-
// 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
|
|
2314
2318
|
var text4 = string();
|
|
2315
2319
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
2316
2320
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -2327,7 +2331,7 @@ var meetingTaskProposal = strictObject({
|
|
|
2327
2331
|
persistence: literal("proposal-only")
|
|
2328
2332
|
});
|
|
2329
2333
|
|
|
2330
|
-
// 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
|
|
2331
2335
|
var memory = strictObject({
|
|
2332
2336
|
ref: reference,
|
|
2333
2337
|
id,
|
|
@@ -2337,6 +2341,9 @@ var memory = strictObject({
|
|
|
2337
2341
|
/** What the subject is called; `null` for the owner and for a row with no name. */
|
|
2338
2342
|
subject_name: optional(nullable(text)),
|
|
2339
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)),
|
|
2340
2347
|
author,
|
|
2341
2348
|
model: nullable(text),
|
|
2342
2349
|
confidence: nullable(number()),
|
|
@@ -2351,7 +2358,7 @@ var memory = strictObject({
|
|
|
2351
2358
|
updated_at: time
|
|
2352
2359
|
});
|
|
2353
2360
|
|
|
2354
|
-
// 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
|
|
2355
2362
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
2356
2363
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
2357
2364
|
var mention = strictObject({
|
|
@@ -2394,13 +2401,13 @@ var mentionRebuild = strictObject({
|
|
|
2394
2401
|
mentions: count
|
|
2395
2402
|
});
|
|
2396
2403
|
|
|
2397
|
-
// 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
|
|
2398
2405
|
var operated3 = { operation_id: id, chat_id: id };
|
|
2399
2406
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
2400
2407
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
2401
2408
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
2402
2409
|
|
|
2403
|
-
// 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
|
|
2404
2411
|
var messageTranscript = strictObject({
|
|
2405
2412
|
message_id: id,
|
|
2406
2413
|
text,
|
|
@@ -2458,7 +2465,7 @@ var evidencePacket = strictObject({
|
|
|
2458
2465
|
}))
|
|
2459
2466
|
});
|
|
2460
2467
|
|
|
2461
|
-
// 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
|
|
2462
2469
|
var messageThread = strictObject({
|
|
2463
2470
|
ref: reference,
|
|
2464
2471
|
chat: id,
|
|
@@ -2475,7 +2482,7 @@ var messageThread = strictObject({
|
|
|
2475
2482
|
});
|
|
2476
2483
|
var messageContext = union([message, messageThread]);
|
|
2477
2484
|
|
|
2478
|
-
// 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
|
|
2479
2486
|
var messageCounts = strictObject({
|
|
2480
2487
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
2481
2488
|
total: count,
|
|
@@ -2488,7 +2495,7 @@ var messageCounts = strictObject({
|
|
|
2488
2495
|
}))
|
|
2489
2496
|
});
|
|
2490
2497
|
|
|
2491
|
-
// 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
|
|
2492
2499
|
var messageLink = strictObject({
|
|
2493
2500
|
ref: reference,
|
|
2494
2501
|
url: nullable(text),
|
|
@@ -2497,7 +2504,7 @@ var messageLink = strictObject({
|
|
|
2497
2504
|
reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"]))
|
|
2498
2505
|
});
|
|
2499
2506
|
|
|
2500
|
-
// 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
|
|
2501
2508
|
var messageWrite = strictObject({
|
|
2502
2509
|
operation_id: id,
|
|
2503
2510
|
message,
|
|
@@ -2512,7 +2519,7 @@ var draftWrite = strictObject({
|
|
|
2512
2519
|
});
|
|
2513
2520
|
var messageSend = union([messageWrite, draftWrite]);
|
|
2514
2521
|
|
|
2515
|
-
// 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
|
|
2516
2523
|
var model = strictObject({
|
|
2517
2524
|
id,
|
|
2518
2525
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -2529,7 +2536,7 @@ var model = strictObject({
|
|
|
2529
2536
|
path: text
|
|
2530
2537
|
});
|
|
2531
2538
|
|
|
2532
|
-
// 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
|
|
2533
2540
|
var source = picklist(["environment", "keyring", "file"]);
|
|
2534
2541
|
var modelKey = strictObject({
|
|
2535
2542
|
provider: text,
|
|
@@ -2539,7 +2546,7 @@ var modelKey = strictObject({
|
|
|
2539
2546
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
2540
2547
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
2541
2548
|
|
|
2542
|
-
// 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
|
|
2543
2550
|
var versus = strictObject({ current: number(), previous: number() });
|
|
2544
2551
|
var person = { person_ref: reference, name: nullable(text) };
|
|
2545
2552
|
var graph = strictObject({
|
|
@@ -2573,14 +2580,14 @@ var officialStats = strictObject({
|
|
|
2573
2580
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
2574
2581
|
});
|
|
2575
2582
|
|
|
2576
|
-
// 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
|
|
2577
2584
|
var person2 = strictObject({
|
|
2578
2585
|
ref: reference,
|
|
2579
2586
|
name: nullable(text),
|
|
2580
2587
|
identities: optional(array(identity))
|
|
2581
2588
|
});
|
|
2582
2589
|
|
|
2583
|
-
// 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
|
|
2584
2591
|
var poll = strictObject({
|
|
2585
2592
|
chat_id: id,
|
|
2586
2593
|
message_id: id,
|
|
@@ -2596,11 +2603,11 @@ var poll = strictObject({
|
|
|
2596
2603
|
});
|
|
2597
2604
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
2598
2605
|
|
|
2599
|
-
// 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
|
|
2600
2607
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
2601
2608
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
2602
2609
|
|
|
2603
|
-
// 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
|
|
2604
2611
|
var figures = record(string(), number());
|
|
2605
2612
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
2606
2613
|
var rankingRow = strictObject({
|
|
@@ -2647,7 +2654,7 @@ var ranking = strictObject({
|
|
|
2647
2654
|
rows: array(rankingRow)
|
|
2648
2655
|
});
|
|
2649
2656
|
|
|
2650
|
-
// 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
|
|
2651
2658
|
var reaction = strictObject({
|
|
2652
2659
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
2653
2660
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -2655,7 +2662,7 @@ var reaction = strictObject({
|
|
|
2655
2662
|
reacted_at: time
|
|
2656
2663
|
});
|
|
2657
2664
|
|
|
2658
|
-
// 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
|
|
2659
2666
|
var reactionChange = strictObject({
|
|
2660
2667
|
operation_id: id,
|
|
2661
2668
|
chat_id: id,
|
|
@@ -2663,7 +2670,7 @@ var reactionChange = strictObject({
|
|
|
2663
2670
|
reaction: nullable(text)
|
|
2664
2671
|
});
|
|
2665
2672
|
|
|
2666
|
-
// 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
|
|
2667
2674
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
2668
2675
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
2669
2676
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -2674,7 +2681,7 @@ var recipientChange = strictObject({
|
|
|
2674
2681
|
...partial(recipientOff).entries
|
|
2675
2682
|
});
|
|
2676
2683
|
|
|
2677
|
-
// 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
|
|
2678
2685
|
var events = array(record(string(), unknown()));
|
|
2679
2686
|
var recordedRun = strictObject({
|
|
2680
2687
|
run_id: id,
|
|
@@ -2746,7 +2753,7 @@ var runHit = strictObject({
|
|
|
2746
2753
|
});
|
|
2747
2754
|
var runLocation = strictObject({ path: text });
|
|
2748
2755
|
|
|
2749
|
-
// 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
|
|
2750
2757
|
var relationship = strictObject({
|
|
2751
2758
|
id,
|
|
2752
2759
|
from: reference,
|
|
@@ -2761,7 +2768,7 @@ var relationship = strictObject({
|
|
|
2761
2768
|
created_at: time
|
|
2762
2769
|
});
|
|
2763
2770
|
|
|
2764
|
-
// 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
|
|
2765
2772
|
var retentionCohort = strictObject({
|
|
2766
2773
|
/** The first day of the joining day or week. */
|
|
2767
2774
|
cohort: text,
|
|
@@ -2809,7 +2816,7 @@ var retention = strictObject({
|
|
|
2809
2816
|
rows: array(retentionCohort)
|
|
2810
2817
|
});
|
|
2811
2818
|
|
|
2812
|
-
// 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
|
|
2813
2820
|
var savedSearch = strictObject({
|
|
2814
2821
|
id,
|
|
2815
2822
|
/** `null` for a run in the history. */
|
|
@@ -2826,7 +2833,7 @@ var savedSearch = strictObject({
|
|
|
2826
2833
|
});
|
|
2827
2834
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
2828
2835
|
|
|
2829
|
-
// 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
|
|
2830
2837
|
var sendAttempt = strictObject({
|
|
2831
2838
|
at: time,
|
|
2832
2839
|
profile: text,
|
|
@@ -2854,7 +2861,7 @@ var sendAttempt = strictObject({
|
|
|
2854
2861
|
error_code: optional(text)
|
|
2855
2862
|
});
|
|
2856
2863
|
|
|
2857
|
-
// 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
|
|
2858
2865
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
2859
2866
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
2860
2867
|
var infoSchema = strictObject({
|
|
@@ -3062,7 +3069,7 @@ var storeRepair = union([
|
|
|
3062
3069
|
]);
|
|
3063
3070
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
3064
3071
|
|
|
3065
|
-
// 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
|
|
3066
3073
|
var tagTarget = variant("type", [
|
|
3067
3074
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
3068
3075
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -3093,7 +3100,7 @@ var automaticTags = strictObject({
|
|
|
3093
3100
|
dry_run: boolean()
|
|
3094
3101
|
});
|
|
3095
3102
|
|
|
3096
|
-
// 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
|
|
3097
3104
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
3098
3105
|
var taskPair = strictObject({
|
|
3099
3106
|
task: nullable(side),
|
|
@@ -3116,7 +3123,7 @@ var taskPair = strictObject({
|
|
|
3116
3123
|
created_at: time
|
|
3117
3124
|
});
|
|
3118
3125
|
|
|
3119
|
-
// 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
|
|
3120
3127
|
var nullableTime = nullable(time);
|
|
3121
3128
|
var link = strictObject({
|
|
3122
3129
|
id,
|
|
@@ -3137,11 +3144,17 @@ var taskCard = strictObject({
|
|
|
3137
3144
|
ref: reference,
|
|
3138
3145
|
key: text,
|
|
3139
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() })),
|
|
3140
3150
|
title: text,
|
|
3141
3151
|
description: nullable(text),
|
|
3142
3152
|
type: picklist(TASK_TYPES),
|
|
3143
3153
|
status: picklist(TASK_STATES),
|
|
3144
3154
|
priority: nullable(number()),
|
|
3155
|
+
priority_label: nullable(picklist(PRIORITY_LABELS)),
|
|
3156
|
+
agent: nullable(text),
|
|
3157
|
+
revision: number(),
|
|
3145
3158
|
parent: nullable(reference),
|
|
3146
3159
|
source: nullable(text),
|
|
3147
3160
|
due_at: nullableTime,
|
|
@@ -3240,7 +3253,7 @@ var taskScan = strictObject({
|
|
|
3240
3253
|
tasks: array(strictObject({ source: text, kind: picklist(TASK_KINDS), category: nullable(text) }))
|
|
3241
3254
|
});
|
|
3242
3255
|
|
|
3243
|
-
// 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
|
|
3244
3257
|
var topic = strictObject({
|
|
3245
3258
|
id,
|
|
3246
3259
|
title: text,
|
|
@@ -3254,7 +3267,7 @@ var topic = strictObject({
|
|
|
3254
3267
|
untrusted
|
|
3255
3268
|
});
|
|
3256
3269
|
|
|
3257
|
-
// 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
|
|
3258
3271
|
var ENTITIES = {
|
|
3259
3272
|
sync_progress: progress,
|
|
3260
3273
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -3343,6 +3356,7 @@ var ENTITIES = {
|
|
|
3343
3356
|
bot_seen_chat: botSeenChat,
|
|
3344
3357
|
bot_admin: botAdmin,
|
|
3345
3358
|
bot_menu_entry: botMenuEntry,
|
|
3359
|
+
topic_icon: topicIcon,
|
|
3346
3360
|
bot_webhook: botWebhook,
|
|
3347
3361
|
scheduled_job: scheduledJob,
|
|
3348
3362
|
call_record: callRecord,
|
|
@@ -3553,6 +3567,7 @@ export {
|
|
|
3553
3567
|
botSeenChat,
|
|
3554
3568
|
botAdmin,
|
|
3555
3569
|
botMenuEntry,
|
|
3570
|
+
topicIcon,
|
|
3556
3571
|
botWebhook,
|
|
3557
3572
|
scheduledJob,
|
|
3558
3573
|
callRecord,
|