@wirecat/tg-cli 0.104.0 → 0.106.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-QTAHA2JC.js → adapter-TIGHDHUK.js} +115 -55
- package/dist/bundle/{all-profiles-7CXBVRFU.js → all-profiles-N4DLSGWY.js} +5 -5
- package/dist/bundle/{anthropic-FWBQ7JHT.js → anthropic-D2T2QRLR.js} +3 -3
- package/dist/bundle/{app-server-XF4GY2Y6.js → app-server-FZTDNSPB.js} +34 -34
- package/dist/bundle/{bot-api-XDMMWRYI.js → bot-api-OMUV6EIK.js} +38 -38
- package/dist/bundle/{bot-history-TU2X7RNN.js → bot-history-P2MWYLXW.js} +10 -10
- package/dist/bundle/{bun-6GSDPKNZ.js → bun-UA5PRMLC.js} +2 -2
- package/dist/bundle/{bun-sqlite-AO27E35V.js → bun-sqlite-XVRVJ7A2.js} +2 -2
- package/dist/bundle/{chunk-B7TTM75D.js → chunk-2GQCWNX5.js} +1 -1
- package/dist/bundle/{chunk-54RJDS3X.js → chunk-2J3TUUCO.js} +2 -2
- package/dist/bundle/{chunk-UDXRDFHN.js → chunk-67GS5BZI.js} +154 -142
- package/dist/bundle/{chunk-PHQTSF44.js → chunk-6BQUCCBD.js} +4 -4
- package/dist/bundle/{chunk-C5N7G6UH.js → chunk-6XXI3AHJ.js} +1 -1
- package/dist/bundle/{chunk-QY7MW7HK.js → chunk-7P6ZCUPN.js} +2 -2
- package/dist/bundle/{chunk-MB3PCNRL.js → chunk-ADLIUGL2.js} +2 -2
- package/dist/bundle/{chunk-FRZHF2X6.js → chunk-AQSKZMBD.js} +7 -7
- package/dist/bundle/{chunk-ZBH7Z6WX.js → chunk-BLWCHZCW.js} +2 -2
- package/dist/bundle/{chunk-LSQUNABH.js → chunk-BZUO2KFV.js} +1 -1
- package/dist/bundle/{chunk-7WHM3KNI.js → chunk-C2MKA7SX.js} +1 -1
- package/dist/bundle/{chunk-TJR37WKA.js → chunk-C6NTI37N.js} +10 -10
- package/dist/bundle/{chunk-LOFG3Q35.js → chunk-DC7O7TVJ.js} +1 -1
- package/dist/bundle/{chunk-BKVJNPA6.js → chunk-DECFDUNW.js} +11 -11
- package/dist/bundle/{chunk-HOR7DS3P.js → chunk-E5Z4FGRD.js} +25 -21
- package/dist/bundle/{chunk-P3WU6UYJ.js → chunk-ELQ5ORY2.js} +2929 -2852
- package/dist/bundle/{chunk-YBQ753RP.js → chunk-EPKGNUOZ.js} +26 -22
- package/dist/bundle/{chunk-BI2AXVHY.js → chunk-EUTOFAUT.js} +2 -2
- package/dist/bundle/{chunk-FUWSIEYY.js → chunk-EW3Y44NV.js} +9 -9
- package/dist/bundle/{chunk-MCD2GANK.js → chunk-FO33YFWF.js} +5 -5
- package/dist/bundle/{chunk-DANCAYRP.js → chunk-GD6BOLZP.js} +8 -6
- package/dist/bundle/{chunk-UVYY5EIS.js → chunk-GHAQXUH3.js} +1 -1
- package/dist/bundle/{chunk-RRWMYR2H.js → chunk-ID6TO5P5.js} +11 -9
- package/dist/bundle/{chunk-UTVANQN5.js → chunk-JOSUY2NX.js} +1 -1
- package/dist/bundle/{chunk-PWIE7VBL.js → chunk-LGKLQE2I.js} +1 -1
- package/dist/bundle/{chunk-GE22MYA6.js → chunk-LSP2NCNL.js} +55 -47
- package/dist/bundle/{chunk-6K4QGBXU.js → chunk-ONK66VVG.js} +18 -1
- package/dist/bundle/{chunk-3XZQQGCB.js → chunk-PAHBZPZN.js} +51 -47
- package/dist/bundle/{chunk-Y5PJQPMQ.js → chunk-PEIDCYF5.js} +1 -1
- package/dist/bundle/{chunk-QVTCOBN5.js → chunk-PHPXTRMS.js} +314 -263
- package/dist/bundle/{chunk-SZE6425L.js → chunk-QI75LME5.js} +26 -26
- package/dist/bundle/{chunk-Y3VNNLUT.js → chunk-QQYM26DA.js} +1 -1
- package/dist/bundle/{chunk-3GGU65YR.js → chunk-QWTHUKS4.js} +4 -4
- package/dist/bundle/{chunk-GZ5CR5QB.js → chunk-R2F6U4F3.js} +7 -7
- package/dist/bundle/{chunk-ADMV4WGV.js → chunk-T3ZLOMWW.js} +4 -4
- package/dist/bundle/{chunk-N6VHHMSZ.js → chunk-T4UTTH3A.js} +1 -1
- package/dist/bundle/{chunk-KRLCUBII.js → chunk-T5OFRHDS.js} +5 -5
- package/dist/bundle/{chunk-UT6G2X7T.js → chunk-V7OXTQBY.js} +3 -3
- package/dist/bundle/{chunk-YD6ZQ6LM.js → chunk-VYFKWPIS.js} +56 -46
- package/dist/bundle/{chunk-5K7E36ND.js → chunk-WLGQTYIO.js} +2 -2
- package/dist/bundle/{chunk-RTAV5XNT.js → chunk-WPRLG5SL.js} +9 -8
- package/dist/bundle/{chunk-U2AK4QXY.js → chunk-XFXTB522.js} +1 -1
- package/dist/bundle/{chunk-MR4LW4EC.js → chunk-XMKKBDEW.js} +315 -283
- package/dist/bundle/{chunk-6YUFPSSE.js → chunk-XQV7EMAI.js} +4 -4
- package/dist/bundle/{chunk-LJCGQMGN.js → chunk-XX37LKXG.js} +4 -4
- package/dist/bundle/{chunk-BIWJK5YU.js → chunk-XXLAGQDN.js} +1 -1
- package/dist/bundle/{command-contract-RICU4OWW.js → command-contract-N5FA573V.js} +12 -12
- package/dist/bundle/{echarts-2YP32GX5.js → echarts-WLPTUTMR.js} +2 -2
- package/dist/bundle/{embed-QNWVBCL5.js → embed-IALJOWZJ.js} +3 -3
- package/dist/bundle/{embedder-ENS7ARPP.js → embedder-ZY2TS2XJ.js} +6 -6
- package/dist/bundle/{entry-MPYSQPZO.js → entry-67RA75VS.js} +3 -3
- package/dist/bundle/{first-run-YLB7RNGP.js → first-run-QN3UUBJW.js} +5 -5
- package/dist/bundle/{first-screen-AYOE4JFC.js → first-screen-FK4ZJQJY.js} +13 -13
- package/dist/bundle/{identity-XQLO7NYW.js → identity-X3YA364I.js} +1 -1
- package/dist/bundle/{instructions-5F4XG3B6.js → instructions-355MU4CT.js} +1 -1
- package/dist/bundle/{node-JOUDFPFN.js → node-UGJWZLVB.js} +2 -2
- package/dist/bundle/{node-sqlite-ZY6ZFFXS.js → node-sqlite-FJFIOC3K.js} +2 -2
- package/dist/bundle/{oauth-KOR3ZNTA.js → oauth-EZGVL3PP.js} +4 -4
- package/dist/bundle/{open-JACXAGY5.js → open-ANYJ5AKD.js} +1 -1
- package/dist/bundle/{process-7W3X5VME.js → process-JVAQXITD.js} +1 -1
- package/dist/bundle/{program-NSZWGHNJ.js → program-QGSZY5SZ.js} +40 -40
- package/dist/bundle/{prompt-CRRG5UB6.js → prompt-EWF4ZSJO.js} +2 -2
- package/dist/bundle/{recognize-ASXEB45M.js → recognize-T5TPTI6P.js} +3 -3
- package/dist/bundle/{remote-CB3GAXGJ.js → remote-KOAALKIC.js} +4 -4
- package/dist/bundle/{rerank-PDD5BPID.js → rerank-MCXFZFRH.js} +4 -4
- package/dist/bundle/{serve-M4XFAYUM.js → serve-QEVXXJ2G.js} +6 -6
- package/dist/bundle/server-6QM3GFZX.js +55 -0
- package/dist/bundle/{server-IN673OYO.js → server-Y3ZLG44J.js} +26 -26
- package/dist/bundle/{state-626GOOVZ.js → state-F2ZJV2VP.js} +3 -3
- package/dist/bundle/{store-6JM4HJU5.js → store-QX7HBTOW.js} +7 -7
- package/dist/bundle/store-maintenance-command-ZBOQSTHY.js +44 -0
- package/dist/bundle/tg.js +2 -2
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +1 -0
- package/dist/commands/context.js.map +1 -1
- package/dist/telegram/adapter.d.ts +7 -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/contacts.d.ts +3 -1
- package/dist/telegram/contacts.d.ts.map +1 -1
- package/dist/telegram/contacts.js +4 -1
- package/dist/telegram/contacts.js.map +1 -1
- package/dist/telegram/map.d.ts.map +1 -1
- package/dist/telegram/map.js +17 -0
- package/dist/telegram/map.js.map +1 -1
- package/dist/telegram/messages.d.ts +7 -0
- package/dist/telegram/messages.d.ts.map +1 -1
- package/dist/telegram/messages.js +5 -0
- package/dist/telegram/messages.js.map +1 -1
- package/dist/telegram/reactors.d.ts +16 -0
- package/dist/telegram/reactors.d.ts.map +1 -0
- package/dist/telegram/reactors.js +58 -0
- package/dist/telegram/reactors.js.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/skills/tg-cli/SKILL.md +3 -2
- package/dist/bundle/server-ISWPSKQ6.js +0 -55
- package/dist/bundle/store-maintenance-command-DI2UX4V3.js +0 -44
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
storeTable,
|
|
12
12
|
tagging,
|
|
13
13
|
task
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-LSP2NCNL.js";
|
|
15
15
|
import {
|
|
16
16
|
author,
|
|
17
17
|
count,
|
|
@@ -24,13 +24,13 @@ import {
|
|
|
24
24
|
text,
|
|
25
25
|
time,
|
|
26
26
|
untrusted
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-V7OXTQBY.js";
|
|
28
28
|
import {
|
|
29
29
|
envName
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-T4UTTH3A.js";
|
|
31
31
|
import {
|
|
32
32
|
carries
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-2GQCWNX5.js";
|
|
34
34
|
import {
|
|
35
35
|
FACT_STATUSES,
|
|
36
36
|
FACT_TYPES,
|
|
@@ -60,7 +60,7 @@ import {
|
|
|
60
60
|
meetingStats,
|
|
61
61
|
meetingSummary,
|
|
62
62
|
meetingTranscript
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-PAHBZPZN.js";
|
|
64
64
|
import {
|
|
65
65
|
resolvePaths,
|
|
66
66
|
writeSecurely
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
__name
|
|
104
104
|
} from "./chunk-ZVVMGPBJ.js";
|
|
105
105
|
|
|
106
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
106
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
107
107
|
var member = strictObject({
|
|
108
108
|
id,
|
|
109
109
|
name: nullable(text),
|
|
@@ -126,7 +126,7 @@ var member = strictObject({
|
|
|
126
126
|
check: optional(record(string(), unknown()))
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
129
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
130
130
|
var setting = optional(nullable(boolean()));
|
|
131
131
|
var chat = strictObject({
|
|
132
132
|
ref: reference,
|
|
@@ -167,7 +167,7 @@ var chat = strictObject({
|
|
|
167
167
|
members: optional(array(member))
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
170
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
171
171
|
var botProfile = strictObject({
|
|
172
172
|
name: text,
|
|
173
173
|
token: text,
|
|
@@ -234,7 +234,7 @@ var stickerInventory = strictObject({
|
|
|
234
234
|
url: optional(nullable(text))
|
|
235
235
|
});
|
|
236
236
|
|
|
237
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
238
238
|
var actionableError = objectWithRest({
|
|
239
239
|
code: text,
|
|
240
240
|
message: text,
|
|
@@ -251,7 +251,7 @@ var batchResult = strictObject({
|
|
|
251
251
|
max_error_percent: count
|
|
252
252
|
});
|
|
253
253
|
|
|
254
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
254
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
255
255
|
var conversationBuild = strictObject({
|
|
256
256
|
chat: id,
|
|
257
257
|
messages: count,
|
|
@@ -276,13 +276,13 @@ var catchUpPreparation = strictObject({
|
|
|
276
276
|
prepared: optional(conversationPreparation)
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
279
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
280
280
|
import { spawn } from "node:child_process";
|
|
281
281
|
import { randomBytes } from "node:crypto";
|
|
282
282
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
283
283
|
import { dirname, join } from "node:path";
|
|
284
284
|
|
|
285
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
285
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
286
286
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
287
287
|
const total = input.total ?? null;
|
|
288
288
|
const updated = input.updatedAt ?? null;
|
|
@@ -298,7 +298,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
298
298
|
};
|
|
299
299
|
}, "progressOf");
|
|
300
300
|
|
|
301
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
301
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
302
302
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
303
303
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
304
304
|
const out = openSync(log, "a", 384);
|
|
@@ -453,7 +453,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
453
453
|
return { job: id6, pid, chat: input.chat, log };
|
|
454
454
|
}, "startArchiveJob");
|
|
455
455
|
|
|
456
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
457
457
|
var problem = strictObject({ code: text, message: text });
|
|
458
458
|
var job = strictObject({
|
|
459
459
|
id,
|
|
@@ -476,7 +476,7 @@ var job = strictObject({
|
|
|
476
476
|
error: optional(problem)
|
|
477
477
|
});
|
|
478
478
|
|
|
479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
479
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
480
480
|
var quoted = strictObject({
|
|
481
481
|
id,
|
|
482
482
|
sender_id: nullable(id),
|
|
@@ -572,7 +572,7 @@ var message = strictObject({
|
|
|
572
572
|
provider_metadata: providerMetadata
|
|
573
573
|
});
|
|
574
574
|
|
|
575
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
575
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
576
576
|
var extractionItem = strictObject({
|
|
577
577
|
ref: reference,
|
|
578
578
|
attachment: count,
|
|
@@ -605,7 +605,7 @@ var extractionReport = strictObject({
|
|
|
605
605
|
cursor: optional(text)
|
|
606
606
|
});
|
|
607
607
|
|
|
608
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
608
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
609
609
|
var savedMessageFile = strictObject({
|
|
610
610
|
kind: text,
|
|
611
611
|
path: text,
|
|
@@ -684,7 +684,7 @@ var messageSyncAll = strictObject({
|
|
|
684
684
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
685
685
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
686
686
|
|
|
687
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
687
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
688
688
|
var range = strictObject({ from: number(), to: number() });
|
|
689
689
|
var storeChatStatus = strictObject({
|
|
690
690
|
chat_id: id,
|
|
@@ -775,7 +775,7 @@ var storeJobRetry = union([
|
|
|
775
775
|
]);
|
|
776
776
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
777
777
|
|
|
778
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
778
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
779
779
|
var account = strictObject({
|
|
780
780
|
provider: text,
|
|
781
781
|
id,
|
|
@@ -785,7 +785,7 @@ var account = strictObject({
|
|
|
785
785
|
scope: optional(picklist(["personal", "work"]))
|
|
786
786
|
});
|
|
787
787
|
|
|
788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
788
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
789
789
|
var accountSession = strictObject({
|
|
790
790
|
current: boolean(),
|
|
791
791
|
client: nullable(text),
|
|
@@ -795,7 +795,7 @@ var accountSession = strictObject({
|
|
|
795
795
|
created_at: optional(nullable(time))
|
|
796
796
|
});
|
|
797
797
|
|
|
798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
799
799
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
800
800
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
801
801
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -813,7 +813,7 @@ var accountPrivacy = strictObject({
|
|
|
813
813
|
});
|
|
814
814
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
815
815
|
|
|
816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
816
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
817
817
|
var accountProfile = strictObject({
|
|
818
818
|
profile: id,
|
|
819
819
|
current: boolean(),
|
|
@@ -823,7 +823,7 @@ var accountProfile = strictObject({
|
|
|
823
823
|
signed_in: optional(boolean())
|
|
824
824
|
});
|
|
825
825
|
|
|
826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
826
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
827
827
|
var milliseconds = pipe(number(), minValue(0));
|
|
828
828
|
var counterReading = strictObject({
|
|
829
829
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -835,7 +835,7 @@ var counterReading = strictObject({
|
|
|
835
835
|
});
|
|
836
836
|
var selection = record(string(), unknown());
|
|
837
837
|
|
|
838
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
838
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
839
839
|
var adminRow = strictObject({
|
|
840
840
|
ref: reference,
|
|
841
841
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -888,11 +888,11 @@ var adminReport = strictObject({
|
|
|
888
888
|
rows: array(adminRow)
|
|
889
889
|
});
|
|
890
890
|
|
|
891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
891
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
892
892
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
893
893
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
894
894
|
|
|
895
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
895
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
896
896
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
897
897
|
var attachmentBytes = strictObject({
|
|
898
898
|
ref: reference,
|
|
@@ -920,7 +920,7 @@ var attachmentTextChange = strictObject({
|
|
|
920
920
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
921
921
|
});
|
|
922
922
|
|
|
923
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
923
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
924
924
|
var chart = strictObject({
|
|
925
925
|
version: literal(1),
|
|
926
926
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -935,7 +935,7 @@ var chart = strictObject({
|
|
|
935
935
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
936
936
|
});
|
|
937
937
|
|
|
938
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
939
939
|
var named = strictObject({
|
|
940
940
|
id,
|
|
941
941
|
title: nullable(text),
|
|
@@ -958,7 +958,7 @@ var folder = strictObject({
|
|
|
958
958
|
excluded_chats: optional(array(named))
|
|
959
959
|
});
|
|
960
960
|
|
|
961
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
961
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
962
962
|
var inviteLink = strictObject({
|
|
963
963
|
link: text,
|
|
964
964
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -974,7 +974,7 @@ var inviteLink = strictObject({
|
|
|
974
974
|
joined_count: optional(count)
|
|
975
975
|
});
|
|
976
976
|
|
|
977
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
977
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
978
978
|
var operated = { operation_id: id, chat_id: id };
|
|
979
979
|
var group = strictObject({
|
|
980
980
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -1054,7 +1054,7 @@ var chatFolderOrder = strictObject({
|
|
|
1054
1054
|
folders: array(strictObject({ id, title: text }))
|
|
1055
1055
|
});
|
|
1056
1056
|
|
|
1057
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1057
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
1058
1058
|
var operated2 = { operation_id: id, chat_id: id };
|
|
1059
1059
|
var chatRemoval = strictObject(operated2);
|
|
1060
1060
|
var chatMuting = strictObject({
|
|
@@ -1065,7 +1065,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
1065
1065
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
1066
1066
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
1067
1067
|
|
|
1068
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1068
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
1069
1069
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
1070
1070
|
var chatEvent = strictObject({
|
|
1071
1071
|
chat_id: id,
|
|
@@ -1082,7 +1082,7 @@ var chatEvent = strictObject({
|
|
|
1082
1082
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
1083
1083
|
});
|
|
1084
1084
|
|
|
1085
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
1086
1086
|
var chatMetadata = strictObject({
|
|
1087
1087
|
chat_id: id,
|
|
1088
1088
|
title: nullable(text),
|
|
@@ -1097,7 +1097,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
1097
1097
|
has_more: boolean()
|
|
1098
1098
|
});
|
|
1099
1099
|
|
|
1100
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1100
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
1101
1101
|
var action = picklist(["report", "delete", "remove"]);
|
|
1102
1102
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
1103
1103
|
var chatRules = strictObject({
|
|
@@ -1134,7 +1134,7 @@ var chatModeration = strictObject({
|
|
|
1134
1134
|
}))
|
|
1135
1135
|
});
|
|
1136
1136
|
|
|
1137
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1137
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
1138
1138
|
var optionalCount = optional(count);
|
|
1139
1139
|
var minutes = nullable(number());
|
|
1140
1140
|
var chatStats = strictObject({
|
|
@@ -1196,7 +1196,7 @@ var taskStats = strictObject({
|
|
|
1196
1196
|
}))
|
|
1197
1197
|
});
|
|
1198
1198
|
|
|
1199
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1199
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
1200
1200
|
var memberCount = strictObject({
|
|
1201
1201
|
day: pipe(text, isoDate()),
|
|
1202
1202
|
participants: nullable(count),
|
|
@@ -1219,7 +1219,45 @@ var chatTracking = strictObject({
|
|
|
1219
1219
|
tracked: boolean()
|
|
1220
1220
|
});
|
|
1221
1221
|
|
|
1222
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1222
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
1223
|
+
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1224
|
+
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
1225
|
+
var profileFields = {
|
|
1226
|
+
usernames: array(text),
|
|
1227
|
+
birthday: optional(nullable(text)),
|
|
1228
|
+
phone: optional(nullable(text)),
|
|
1229
|
+
flags: partial(strictObject({
|
|
1230
|
+
bot: boolean(),
|
|
1231
|
+
verified: boolean(),
|
|
1232
|
+
premium: boolean(),
|
|
1233
|
+
scam: boolean(),
|
|
1234
|
+
fake: boolean(),
|
|
1235
|
+
restricted: boolean(),
|
|
1236
|
+
deleted: boolean(),
|
|
1237
|
+
support: boolean()
|
|
1238
|
+
})),
|
|
1239
|
+
seen: optional(text),
|
|
1240
|
+
contact: optional(boolean()),
|
|
1241
|
+
mutual_contact: optional(boolean()),
|
|
1242
|
+
common_chats_count: optional(nullable(count)),
|
|
1243
|
+
registered: optional(nullable(strictObject({
|
|
1244
|
+
at: text,
|
|
1245
|
+
source: picklist(["telegram", "max", "estimate"]),
|
|
1246
|
+
precision: picklist(["day", "month"])
|
|
1247
|
+
}))),
|
|
1248
|
+
has_photo: optional(boolean()),
|
|
1249
|
+
/** Earlier names and usernames, oldest first; the current ones are not repeated. */
|
|
1250
|
+
aliases: array(strictObject({
|
|
1251
|
+
name: optional(text),
|
|
1252
|
+
username: optional(text),
|
|
1253
|
+
link: optional(text),
|
|
1254
|
+
first_seen_at: time,
|
|
1255
|
+
last_seen_at: time,
|
|
1256
|
+
source: picklist(["profile", "messages"])
|
|
1257
|
+
}))
|
|
1258
|
+
};
|
|
1259
|
+
|
|
1260
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
1223
1261
|
var contact = strictObject({
|
|
1224
1262
|
ref: reference,
|
|
1225
1263
|
id,
|
|
@@ -1234,13 +1272,23 @@ var contact = strictObject({
|
|
|
1234
1272
|
/** For a source that knows it, such as a Zoom contact. */
|
|
1235
1273
|
email: optional(nullable(text)),
|
|
1236
1274
|
phones: optional(array(strictObject({ number: text, label: nullable(text) }))),
|
|
1237
|
-
/** `contacts show`: the chats shared with them. */
|
|
1238
|
-
chats: optional(array(
|
|
1275
|
+
/** `contacts show`: the chats shared with them, and what the store holds of their messages in each. */
|
|
1276
|
+
chats: optional(array(strictObject({
|
|
1277
|
+
...pick(chat, ["ref", "id", "title", "kind", "last_message_at"]).entries,
|
|
1278
|
+
/** Their messages stored; a floor unless `complete`. */
|
|
1279
|
+
their_messages: optional(count),
|
|
1280
|
+
first_at: optional(nullable(time)),
|
|
1281
|
+
last_at: optional(nullable(time)),
|
|
1282
|
+
/** The store holds the whole chat, so the count is the real one. */
|
|
1283
|
+
complete: optional(boolean())
|
|
1284
|
+
}))),
|
|
1285
|
+
/** `contacts show`: what the messenger says about them, or with `--offline` what the store saw of them. */
|
|
1286
|
+
...partial(strictObject(profileFields)).entries,
|
|
1239
1287
|
/** `contacts show --with-notes`: the owner's private notes about them. */
|
|
1240
1288
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
1241
1289
|
});
|
|
1242
1290
|
|
|
1243
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1291
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
1244
1292
|
var linkedIdentity = strictObject({
|
|
1245
1293
|
provider: text,
|
|
1246
1294
|
id,
|
|
@@ -1281,7 +1329,7 @@ var contactCheck = strictObject({
|
|
|
1281
1329
|
checked_at: time
|
|
1282
1330
|
});
|
|
1283
1331
|
|
|
1284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1332
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
1285
1333
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
1286
1334
|
var contextMessage = strictObject({
|
|
1287
1335
|
locator: reference,
|
|
@@ -1479,7 +1527,7 @@ var contactPreparation = strictObject({
|
|
|
1479
1527
|
})
|
|
1480
1528
|
});
|
|
1481
1529
|
|
|
1482
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1530
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
1483
1531
|
var contactNote = strictObject({
|
|
1484
1532
|
id,
|
|
1485
1533
|
/** The contact, as a `contact:` reference. */
|
|
@@ -1491,62 +1539,13 @@ var contactNote = strictObject({
|
|
|
1491
1539
|
updated_at: time
|
|
1492
1540
|
});
|
|
1493
1541
|
|
|
1494
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1495
|
-
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1496
|
-
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
1497
|
-
var contactProfile = strictObject({
|
|
1498
|
-
id,
|
|
1499
|
-
name: nullable(text),
|
|
1500
|
-
usernames: array(text),
|
|
1501
|
-
bio: nullable(text),
|
|
1502
|
-
birthday: optional(nullable(text)),
|
|
1503
|
-
phone: optional(nullable(text)),
|
|
1504
|
-
flags: partial(strictObject({
|
|
1505
|
-
bot: boolean(),
|
|
1506
|
-
verified: boolean(),
|
|
1507
|
-
premium: boolean(),
|
|
1508
|
-
scam: boolean(),
|
|
1509
|
-
fake: boolean(),
|
|
1510
|
-
restricted: boolean(),
|
|
1511
|
-
deleted: boolean(),
|
|
1512
|
-
support: boolean()
|
|
1513
|
-
})),
|
|
1514
|
-
seen: optional(text),
|
|
1515
|
-
contact: optional(boolean()),
|
|
1516
|
-
mutual_contact: optional(boolean()),
|
|
1517
|
-
common_chats_count: optional(nullable(count)),
|
|
1518
|
-
registered: optional(nullable(strictObject({
|
|
1519
|
-
at: text,
|
|
1520
|
-
source: picklist(["telegram", "max", "estimate"]),
|
|
1521
|
-
precision: picklist(["day", "month"])
|
|
1522
|
-
}))),
|
|
1523
|
-
has_photo: optional(boolean()),
|
|
1524
|
-
chats: array(strictObject({
|
|
1525
|
-
id,
|
|
1526
|
-
title: nullable(text),
|
|
1527
|
-
kind: chat.entries.kind,
|
|
1528
|
-
their_messages: count,
|
|
1529
|
-
first_at: nullable(time),
|
|
1530
|
-
last_at: nullable(time),
|
|
1531
|
-
complete: boolean()
|
|
1532
|
-
})),
|
|
1533
|
-
aliases: array(strictObject({
|
|
1534
|
-
name: optional(text),
|
|
1535
|
-
username: optional(text),
|
|
1536
|
-
link: optional(text),
|
|
1537
|
-
first_seen_at: time,
|
|
1538
|
-
last_seen_at: time,
|
|
1539
|
-
source: picklist(["profile", "messages"])
|
|
1540
|
-
}))
|
|
1541
|
-
});
|
|
1542
|
-
|
|
1543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.473.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._b1c2181cd33bddb10eb51dd3b7fa80c8/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
1542
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
1544
1543
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1545
1544
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
1546
1545
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
1547
1546
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
1548
1547
|
|
|
1549
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1548
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
1550
1549
|
var conversationDetails = union([
|
|
1551
1550
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
1552
1551
|
message
|
|
@@ -1636,7 +1635,7 @@ var conversationHit = strictObject({
|
|
|
1636
1635
|
stale: boolean()
|
|
1637
1636
|
});
|
|
1638
1637
|
|
|
1639
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1638
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
1640
1639
|
var counters = strictObject({
|
|
1641
1640
|
cutoff: time,
|
|
1642
1641
|
max_age_ms: milliseconds,
|
|
@@ -1666,7 +1665,7 @@ var counterRefresh = strictObject({
|
|
|
1666
1665
|
complete: optional(boolean())
|
|
1667
1666
|
});
|
|
1668
1667
|
|
|
1669
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1668
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
1670
1669
|
var document = strictObject({
|
|
1671
1670
|
ref: reference,
|
|
1672
1671
|
id,
|
|
@@ -1681,7 +1680,7 @@ var document = strictObject({
|
|
|
1681
1680
|
owners: optional(array(text))
|
|
1682
1681
|
});
|
|
1683
1682
|
|
|
1684
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
1685
1684
|
var documentLink = strictObject({
|
|
1686
1685
|
ref: reference,
|
|
1687
1686
|
url: text,
|
|
@@ -1692,7 +1691,7 @@ var documentLink = strictObject({
|
|
|
1692
1691
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
1693
1692
|
});
|
|
1694
1693
|
|
|
1695
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1694
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
1696
1695
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
1697
1696
|
var contribution = strictObject({
|
|
1698
1697
|
message: evidenceMessage,
|
|
@@ -1722,7 +1721,7 @@ var retentionStay = strictObject({
|
|
|
1722
1721
|
});
|
|
1723
1722
|
var evidence = union([contribution, retentionStay]);
|
|
1724
1723
|
|
|
1725
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1724
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
1726
1725
|
var fact = strictObject({
|
|
1727
1726
|
ref: reference,
|
|
1728
1727
|
id,
|
|
@@ -1745,7 +1744,7 @@ var fact = strictObject({
|
|
|
1745
1744
|
updated_at: time
|
|
1746
1745
|
});
|
|
1747
1746
|
|
|
1748
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1747
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
1749
1748
|
var hit = strictObject({
|
|
1750
1749
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
1751
1750
|
ref: reference,
|
|
@@ -1759,6 +1758,8 @@ var hit = strictObject({
|
|
|
1759
1758
|
timestamp: nullable(time),
|
|
1760
1759
|
excerpt: text,
|
|
1761
1760
|
sender_name: optional(nullable(text)),
|
|
1761
|
+
/** A message's or a mail's: whether the owner wrote it. */
|
|
1762
|
+
sender_is_me: optional(boolean()),
|
|
1762
1763
|
/** The writer's `person:` reference, where the store has one. */
|
|
1763
1764
|
sender_ref: optional(nullable(reference)),
|
|
1764
1765
|
found_by: optional(array(picklist(["title", "words", "meaning"]))),
|
|
@@ -1772,7 +1773,7 @@ var hit = strictObject({
|
|
|
1772
1773
|
untrusted
|
|
1773
1774
|
});
|
|
1774
1775
|
|
|
1775
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1776
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
1776
1777
|
var identity = strictObject({
|
|
1777
1778
|
ref: reference,
|
|
1778
1779
|
provider: text,
|
|
@@ -1785,7 +1786,7 @@ var identity = strictObject({
|
|
|
1785
1786
|
person: optional(nullable(reference))
|
|
1786
1787
|
});
|
|
1787
1788
|
|
|
1788
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1789
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
1789
1790
|
var imageEmbedding = strictObject({
|
|
1790
1791
|
model: text,
|
|
1791
1792
|
embedded: count,
|
|
@@ -1794,7 +1795,7 @@ var imageEmbedding = strictObject({
|
|
|
1794
1795
|
more: boolean()
|
|
1795
1796
|
});
|
|
1796
1797
|
|
|
1797
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1798
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
1798
1799
|
var joinRequest = strictObject({
|
|
1799
1800
|
person_id: id,
|
|
1800
1801
|
name: nullable(text),
|
|
@@ -1805,7 +1806,7 @@ var joinRequest = strictObject({
|
|
|
1805
1806
|
about: optional(text)
|
|
1806
1807
|
});
|
|
1807
1808
|
|
|
1808
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1809
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
1809
1810
|
var pollVote = strictObject({
|
|
1810
1811
|
person_id: id,
|
|
1811
1812
|
name: nullable(text),
|
|
@@ -1815,7 +1816,7 @@ var pollVote = strictObject({
|
|
|
1815
1816
|
voted_at: time
|
|
1816
1817
|
});
|
|
1817
1818
|
|
|
1818
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1819
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
1819
1820
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
1820
1821
|
var observation = strictObject({
|
|
1821
1822
|
value: pipe(number(), minValue(0)),
|
|
@@ -1856,7 +1857,7 @@ var serveSummary = strictObject({
|
|
|
1856
1857
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
1857
1858
|
});
|
|
1858
1859
|
|
|
1859
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1860
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
1860
1861
|
var mediaArchive = strictObject({
|
|
1861
1862
|
directory: text,
|
|
1862
1863
|
chats: count,
|
|
@@ -1888,7 +1889,7 @@ var mediaArchiveTimer = union([
|
|
|
1888
1889
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
1889
1890
|
]);
|
|
1890
1891
|
|
|
1891
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1892
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
1892
1893
|
var preparationId = pipe(string(), minLength(1));
|
|
1893
1894
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
1894
1895
|
var preparationTime = nullable(isoTime);
|
|
@@ -1980,7 +1981,7 @@ var preparationMeeting = strictObject({
|
|
|
1980
1981
|
updated_at: isoTime
|
|
1981
1982
|
});
|
|
1982
1983
|
|
|
1983
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1984
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
1984
1985
|
var meetingEvidence = preparationEvidence;
|
|
1985
1986
|
var meetingPersonContext = strictObject({
|
|
1986
1987
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -2002,7 +2003,7 @@ var meetingPersonContext = strictObject({
|
|
|
2002
2003
|
})
|
|
2003
2004
|
});
|
|
2004
2005
|
|
|
2005
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2006
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
2006
2007
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
2007
2008
|
var base = { id, project: reference, evidence: array(evidence2) };
|
|
2008
2009
|
var finding = variant("kind", [
|
|
@@ -2040,7 +2041,7 @@ var meetingFindings = strictObject({
|
|
|
2040
2041
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
2041
2042
|
});
|
|
2042
2043
|
|
|
2043
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2044
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
2044
2045
|
var communicationCoverage = strictObject({
|
|
2045
2046
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
2046
2047
|
query: string(),
|
|
@@ -2085,7 +2086,7 @@ var preparationCommunications = strictObject({
|
|
|
2085
2086
|
}))
|
|
2086
2087
|
});
|
|
2087
2088
|
|
|
2088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2089
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
2089
2090
|
var meetingPreparation = strictObject({
|
|
2090
2091
|
communications: optional(preparationCommunications),
|
|
2091
2092
|
schema_version: literal(1),
|
|
@@ -2198,7 +2199,7 @@ var meetingPreparation = strictObject({
|
|
|
2198
2199
|
})
|
|
2199
2200
|
});
|
|
2200
2201
|
|
|
2201
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2202
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
2202
2203
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2203
2204
|
var id3 = pipe(string(), minLength(1));
|
|
2204
2205
|
var text3 = string();
|
|
@@ -2262,7 +2263,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
2262
2263
|
})
|
|
2263
2264
|
});
|
|
2264
2265
|
|
|
2265
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2266
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
2266
2267
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2267
2268
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
2268
2269
|
var meetingSeriesInventory = strictObject({
|
|
@@ -2292,7 +2293,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
2292
2293
|
})
|
|
2293
2294
|
});
|
|
2294
2295
|
|
|
2295
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2296
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
2296
2297
|
var text4 = string();
|
|
2297
2298
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
2298
2299
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -2309,7 +2310,7 @@ var meetingTaskProposal = strictObject({
|
|
|
2309
2310
|
persistence: literal("proposal-only")
|
|
2310
2311
|
});
|
|
2311
2312
|
|
|
2312
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2313
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
2313
2314
|
var memory = strictObject({
|
|
2314
2315
|
ref: reference,
|
|
2315
2316
|
id,
|
|
@@ -2328,7 +2329,7 @@ var memory = strictObject({
|
|
|
2328
2329
|
updated_at: time
|
|
2329
2330
|
});
|
|
2330
2331
|
|
|
2331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2332
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
2332
2333
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
2333
2334
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
2334
2335
|
var mention = strictObject({
|
|
@@ -2371,13 +2372,13 @@ var mentionRebuild = strictObject({
|
|
|
2371
2372
|
mentions: count
|
|
2372
2373
|
});
|
|
2373
2374
|
|
|
2374
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2375
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
2375
2376
|
var operated3 = { operation_id: id, chat_id: id };
|
|
2376
2377
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
2377
2378
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
2378
2379
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
2379
2380
|
|
|
2380
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2381
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
2381
2382
|
var messageTranscript = strictObject({
|
|
2382
2383
|
message_id: id,
|
|
2383
2384
|
text,
|
|
@@ -2435,7 +2436,7 @@ var evidencePacket = strictObject({
|
|
|
2435
2436
|
}))
|
|
2436
2437
|
});
|
|
2437
2438
|
|
|
2438
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2439
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
2439
2440
|
var messageThread = strictObject({
|
|
2440
2441
|
ref: reference,
|
|
2441
2442
|
chat: id,
|
|
@@ -2452,7 +2453,7 @@ var messageThread = strictObject({
|
|
|
2452
2453
|
});
|
|
2453
2454
|
var messageContext = union([message, messageThread]);
|
|
2454
2455
|
|
|
2455
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2456
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
2456
2457
|
var messageCounts = strictObject({
|
|
2457
2458
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
2458
2459
|
total: count,
|
|
@@ -2465,7 +2466,7 @@ var messageCounts = strictObject({
|
|
|
2465
2466
|
}))
|
|
2466
2467
|
});
|
|
2467
2468
|
|
|
2468
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2469
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
2469
2470
|
var messageLink = strictObject({
|
|
2470
2471
|
ref: reference,
|
|
2471
2472
|
url: nullable(text),
|
|
@@ -2474,7 +2475,7 @@ var messageLink = strictObject({
|
|
|
2474
2475
|
reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"]))
|
|
2475
2476
|
});
|
|
2476
2477
|
|
|
2477
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2478
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
2478
2479
|
var messageWrite = strictObject({
|
|
2479
2480
|
operation_id: id,
|
|
2480
2481
|
message,
|
|
@@ -2489,7 +2490,7 @@ var draftWrite = strictObject({
|
|
|
2489
2490
|
});
|
|
2490
2491
|
var messageSend = union([messageWrite, draftWrite]);
|
|
2491
2492
|
|
|
2492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2493
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
2493
2494
|
var model = strictObject({
|
|
2494
2495
|
id,
|
|
2495
2496
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -2506,7 +2507,7 @@ var model = strictObject({
|
|
|
2506
2507
|
path: text
|
|
2507
2508
|
});
|
|
2508
2509
|
|
|
2509
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2510
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
2510
2511
|
var source = picklist(["environment", "keyring", "file"]);
|
|
2511
2512
|
var modelKey = strictObject({
|
|
2512
2513
|
provider: text,
|
|
@@ -2516,7 +2517,7 @@ var modelKey = strictObject({
|
|
|
2516
2517
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
2517
2518
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
2518
2519
|
|
|
2519
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
2520
2521
|
var versus = strictObject({ current: number(), previous: number() });
|
|
2521
2522
|
var person = { person_ref: reference, name: nullable(text) };
|
|
2522
2523
|
var graph = strictObject({
|
|
@@ -2550,14 +2551,14 @@ var officialStats = strictObject({
|
|
|
2550
2551
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
2551
2552
|
});
|
|
2552
2553
|
|
|
2553
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2554
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
2554
2555
|
var person2 = strictObject({
|
|
2555
2556
|
ref: reference,
|
|
2556
2557
|
name: nullable(text),
|
|
2557
2558
|
identities: optional(array(identity))
|
|
2558
2559
|
});
|
|
2559
2560
|
|
|
2560
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2561
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
2561
2562
|
var poll = strictObject({
|
|
2562
2563
|
chat_id: id,
|
|
2563
2564
|
message_id: id,
|
|
@@ -2573,11 +2574,11 @@ var poll = strictObject({
|
|
|
2573
2574
|
});
|
|
2574
2575
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
2575
2576
|
|
|
2576
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2577
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
2577
2578
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
2578
2579
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
2579
2580
|
|
|
2580
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2581
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
2581
2582
|
var figures = record(string(), number());
|
|
2582
2583
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
2583
2584
|
var rankingRow = strictObject({
|
|
@@ -2624,7 +2625,15 @@ var ranking = strictObject({
|
|
|
2624
2625
|
rows: array(rankingRow)
|
|
2625
2626
|
});
|
|
2626
2627
|
|
|
2627
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2628
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
2629
|
+
var reaction = strictObject({
|
|
2630
|
+
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
2631
|
+
/** The emoji, or `custom:<id>` for a custom one. */
|
|
2632
|
+
reaction: text,
|
|
2633
|
+
reacted_at: time
|
|
2634
|
+
});
|
|
2635
|
+
|
|
2636
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
2628
2637
|
var reactionChange = strictObject({
|
|
2629
2638
|
operation_id: id,
|
|
2630
2639
|
chat_id: id,
|
|
@@ -2632,7 +2641,7 @@ var reactionChange = strictObject({
|
|
|
2632
2641
|
reaction: nullable(text)
|
|
2633
2642
|
});
|
|
2634
2643
|
|
|
2635
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2644
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
2636
2645
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
2637
2646
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
2638
2647
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -2643,7 +2652,7 @@ var recipientChange = strictObject({
|
|
|
2643
2652
|
...partial(recipientOff).entries
|
|
2644
2653
|
});
|
|
2645
2654
|
|
|
2646
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2655
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
2647
2656
|
var events = array(record(string(), unknown()));
|
|
2648
2657
|
var recordedRun = strictObject({
|
|
2649
2658
|
run_id: id,
|
|
@@ -2715,7 +2724,7 @@ var runHit = strictObject({
|
|
|
2715
2724
|
});
|
|
2716
2725
|
var runLocation = strictObject({ path: text });
|
|
2717
2726
|
|
|
2718
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2727
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
2719
2728
|
var relationship = strictObject({
|
|
2720
2729
|
id,
|
|
2721
2730
|
from: reference,
|
|
@@ -2730,7 +2739,7 @@ var relationship = strictObject({
|
|
|
2730
2739
|
created_at: time
|
|
2731
2740
|
});
|
|
2732
2741
|
|
|
2733
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2742
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
2734
2743
|
var retentionCohort = strictObject({
|
|
2735
2744
|
/** The first day of the joining day or week. */
|
|
2736
2745
|
cohort: text,
|
|
@@ -2778,7 +2787,7 @@ var retention = strictObject({
|
|
|
2778
2787
|
rows: array(retentionCohort)
|
|
2779
2788
|
});
|
|
2780
2789
|
|
|
2781
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2790
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
2782
2791
|
var savedSearch = strictObject({
|
|
2783
2792
|
id,
|
|
2784
2793
|
/** `null` for a run in the history. */
|
|
@@ -2795,7 +2804,7 @@ var savedSearch = strictObject({
|
|
|
2795
2804
|
});
|
|
2796
2805
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
2797
2806
|
|
|
2798
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2807
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
2799
2808
|
var sendAttempt = strictObject({
|
|
2800
2809
|
at: time,
|
|
2801
2810
|
profile: text,
|
|
@@ -2823,7 +2832,7 @@ var sendAttempt = strictObject({
|
|
|
2823
2832
|
error_code: optional(text)
|
|
2824
2833
|
});
|
|
2825
2834
|
|
|
2826
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
2827
2836
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
2828
2837
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
2829
2838
|
var infoSchema = strictObject({
|
|
@@ -3031,7 +3040,7 @@ var storeRepair = union([
|
|
|
3031
3040
|
]);
|
|
3032
3041
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
3033
3042
|
|
|
3034
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3043
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
3035
3044
|
var tagTarget = variant("type", [
|
|
3036
3045
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
3037
3046
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -3062,7 +3071,7 @@ var automaticTags = strictObject({
|
|
|
3062
3071
|
dry_run: boolean()
|
|
3063
3072
|
});
|
|
3064
3073
|
|
|
3065
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3074
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
3066
3075
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
3067
3076
|
var taskPair = strictObject({
|
|
3068
3077
|
task: nullable(side),
|
|
@@ -3085,7 +3094,7 @@ var taskPair = strictObject({
|
|
|
3085
3094
|
created_at: time
|
|
3086
3095
|
});
|
|
3087
3096
|
|
|
3088
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3097
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
3089
3098
|
var nullableTime = nullable(time);
|
|
3090
3099
|
var link = strictObject({
|
|
3091
3100
|
id,
|
|
@@ -3209,7 +3218,7 @@ var taskScan = strictObject({
|
|
|
3209
3218
|
tasks: array(strictObject({ source: text, kind: picklist(TASK_KINDS), category: nullable(text) }))
|
|
3210
3219
|
});
|
|
3211
3220
|
|
|
3212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3221
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
3213
3222
|
var topic = strictObject({
|
|
3214
3223
|
id,
|
|
3215
3224
|
title: text,
|
|
@@ -3223,7 +3232,7 @@ var topic = strictObject({
|
|
|
3223
3232
|
untrusted
|
|
3224
3233
|
});
|
|
3225
3234
|
|
|
3226
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3235
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.479.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.65.0_commander@15._835150ae4189cac822e446e361e54dd7/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
3227
3236
|
var ENTITIES = {
|
|
3228
3237
|
sync_progress: progress,
|
|
3229
3238
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -3237,6 +3246,7 @@ var ENTITIES = {
|
|
|
3237
3246
|
"chat_title",
|
|
3238
3247
|
"timestamp",
|
|
3239
3248
|
"sender_name",
|
|
3249
|
+
"sender_is_me",
|
|
3240
3250
|
"excerpt",
|
|
3241
3251
|
"matched_in",
|
|
3242
3252
|
"score",
|
|
@@ -3255,6 +3265,7 @@ var ENTITIES = {
|
|
|
3255
3265
|
"chat_title",
|
|
3256
3266
|
"timestamp",
|
|
3257
3267
|
"sender_name",
|
|
3268
|
+
"sender_is_me",
|
|
3258
3269
|
"outgoing",
|
|
3259
3270
|
"text",
|
|
3260
3271
|
"transcript",
|
|
@@ -3288,7 +3299,6 @@ var ENTITIES = {
|
|
|
3288
3299
|
contact,
|
|
3289
3300
|
contact_note: contactNote,
|
|
3290
3301
|
contact_lookup: contactLookup,
|
|
3291
|
-
contact_profile: contactProfile,
|
|
3292
3302
|
contact_sync: contactSync,
|
|
3293
3303
|
contact_update: contactUpdate,
|
|
3294
3304
|
contact_state_change: contactStateChange,
|
|
@@ -3461,6 +3471,7 @@ var ENTITIES = {
|
|
|
3461
3471
|
poll,
|
|
3462
3472
|
poll_change: pollChange,
|
|
3463
3473
|
poll_vote: pollVote,
|
|
3474
|
+
reaction,
|
|
3464
3475
|
reaction_change: reactionChange,
|
|
3465
3476
|
topic,
|
|
3466
3477
|
folder,
|
|
@@ -3528,6 +3539,7 @@ export {
|
|
|
3528
3539
|
meetingProjectCandidates,
|
|
3529
3540
|
meetingSeriesInventory,
|
|
3530
3541
|
model,
|
|
3542
|
+
reaction,
|
|
3531
3543
|
recipient,
|
|
3532
3544
|
recordedRun,
|
|
3533
3545
|
savedSearch,
|