@wirecat/tg-cli 0.111.0 → 0.113.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -0
- package/dist/bin/tg.js +2 -2
- package/dist/bundle/{adapter-WFC2JAD4.js → adapter-EQKEFGPB.js} +70 -50
- package/dist/bundle/{all-profiles-FEUSGHT7.js → all-profiles-TTBFF663.js} +8 -8
- package/dist/bundle/{anthropic-O646SJIJ.js → anthropic-XPZS7267.js} +5 -5
- package/dist/bundle/{app-server-7P23Y45A.js → app-server-ZSZ7KRAY.js} +42 -42
- package/dist/bundle/{bot-api-WTJCL6VF.js → bot-api-X7BOVNIO.js} +46 -46
- package/dist/bundle/{bot-history-5J2Q4SPC.js → bot-history-DWIUIPN5.js} +15 -15
- package/dist/bundle/{bun-KUKVEKDW.js → bun-ZGZVAJU2.js} +2 -2
- package/dist/bundle/{bun-sqlite-2G5TXHYE.js → bun-sqlite-UN2UJ6SI.js} +4 -4
- package/dist/bundle/{chunk-UDYCZ5KB.js → chunk-3MAYYFKY.js} +1 -1
- package/dist/bundle/{chunk-3BD24JYK.js → chunk-452UZ2PU.js} +121 -95
- package/dist/bundle/{chunk-EB44Z44U.js → chunk-4GLMEES6.js} +1 -1
- package/dist/bundle/{chunk-J2Z5E7TO.js → chunk-4SQB5VKL.js} +1 -1
- package/dist/bundle/{chunk-BNQOUCL2.js → chunk-5NF7M4MN.js} +1 -1
- package/dist/bundle/{chunk-VIEVOF3O.js → chunk-6F6K3LWV.js} +11 -11
- package/dist/bundle/{chunk-QLLPZWYZ.js → chunk-6OKGHHRL.js} +4 -4
- package/dist/bundle/{chunk-QVM2HKJP.js → chunk-6WJ5M2Q4.js} +4 -4
- package/dist/bundle/{chunk-OYVDWHP5.js → chunk-7IWDS2CM.js} +2 -2
- package/dist/bundle/{chunk-ABVHA4K6.js → chunk-AGUCXSSM.js} +5 -5
- package/dist/bundle/{chunk-2ZH3PUQX.js → chunk-AVUIWZTP.js} +2 -2
- package/dist/bundle/{chunk-LLAZSGS7.js → chunk-BI5YJZJB.js} +31 -27
- package/dist/bundle/{chunk-COHMFCHD.js → chunk-EGR5IJCG.js} +95 -34
- package/dist/bundle/{chunk-7665YBJ7.js → chunk-ENXO43TV.js} +6 -6
- package/dist/bundle/{chunk-MSGYLWCH.js → chunk-G74QMORP.js} +2 -2
- package/dist/bundle/{chunk-KLHLWKWC.js → chunk-GX4LRLVD.js} +80 -60
- package/dist/bundle/{chunk-DREEXESG.js → chunk-HNN7EKIM.js} +114 -79
- package/dist/bundle/{chunk-2K6IGVSI.js → chunk-HO53POQG.js} +5 -5
- package/dist/bundle/{chunk-43ZFY6TW.js → chunk-IDUYRTPF.js} +2 -2
- package/dist/bundle/{chunk-WDRNVSWF.js → chunk-IYKRHDX6.js} +45 -44
- package/dist/bundle/{chunk-KE47Y4PW.js → chunk-J6USEBA6.js} +699 -379
- package/dist/bundle/{chunk-5ZPLOYTP.js → chunk-JDQSX2JQ.js} +453 -358
- package/dist/bundle/{chunk-NIKYFRDQ.js → chunk-JO45BOYE.js} +2 -2
- package/dist/bundle/{chunk-ONHHBPV3.js → chunk-JRTZ5I6M.js} +2 -2
- package/dist/bundle/{chunk-YG4BO7N3.js → chunk-JW7BMJ6O.js} +2 -2
- package/dist/bundle/{chunk-J4QVXR5I.js → chunk-K3F46QVN.js} +2 -2
- package/dist/bundle/{chunk-XXOJ7PQY.js → chunk-KK3JVOOV.js} +30 -30
- package/dist/bundle/{chunk-UPRYEDAV.js → chunk-KOWQVHXI.js} +3 -3
- package/dist/bundle/{chunk-BWRCPMMC.js → chunk-KQ23JWLJ.js} +20 -18
- package/dist/bundle/{chunk-ZCV4UEVH.js → chunk-KVLCIZUK.js} +3 -3
- package/dist/bundle/{chunk-DEG4JJHG.js → chunk-MTX5EDYJ.js} +813 -542
- package/dist/bundle/{chunk-UFIUMPXP.js → chunk-OC4RRFKH.js} +4 -4
- package/dist/bundle/{chunk-PNUHAHTF.js → chunk-OQR442B6.js} +1 -1
- package/dist/bundle/{chunk-TWZTQHP6.js → chunk-OSBAISA5.js} +6 -6
- package/dist/bundle/{chunk-UIPT6IAU.js → chunk-OYNSFQ7K.js} +1 -1
- package/dist/bundle/{chunk-EO563SUX.js → chunk-PCRLXJRH.js} +11 -7
- package/dist/bundle/{chunk-XIRASTVS.js → chunk-PHPNA2HU.js} +11 -11
- package/dist/bundle/{chunk-7GQLD5TJ.js → chunk-PHYDBR5M.js} +2 -2
- package/dist/bundle/{chunk-T6DSAROY.js → chunk-Q264PYGE.js} +51 -14
- package/dist/bundle/{chunk-QEAMO2TS.js → chunk-T4TTRFP5.js} +7 -7
- package/dist/bundle/{chunk-UMUJHC4M.js → chunk-T5RM4Y35.js} +3 -3
- package/dist/bundle/{chunk-ITSSCYLP.js → chunk-TQ6EA7TB.js} +11 -11
- package/dist/bundle/{chunk-QAC6Z675.js → chunk-TUD4MU7S.js} +2 -2
- package/dist/bundle/{chunk-ZCHC7TYO.js → chunk-U3MJQLZQ.js} +26 -13
- package/dist/bundle/{chunk-YFK3DNNP.js → chunk-UE75KPAC.js} +4 -4
- package/dist/bundle/{chunk-HN6ZMUAS.js → chunk-UIVLDKWT.js} +1 -1
- package/dist/bundle/{chunk-3WUTBGZE.js → chunk-VDATXIO4.js} +6 -6
- package/dist/bundle/{chunk-AUWYMMYL.js → chunk-VDEXNNMH.js} +4 -4
- package/dist/bundle/{chunk-33HEHPIK.js → chunk-VVA4555T.js} +8 -8
- package/dist/bundle/{chunk-PQGWEFJ2.js → chunk-WSAHUQ6K.js} +3 -3
- package/dist/bundle/{chunk-K457FHD4.js → chunk-XXNJF3ZM.js} +32 -26
- package/dist/bundle/{chunk-NQAV7U7C.js → chunk-XZ2ZHIAO.js} +1 -1
- package/dist/bundle/{chunk-5FJQG5UZ.js → chunk-Z6TRIW2O.js} +8 -8
- package/dist/bundle/{chunk-CJUSP5X2.js → chunk-ZID2Y4XU.js} +2 -2
- package/dist/bundle/command-contract-GV67H22L.js +32 -0
- package/dist/bundle/{decode-QJNVAAKJ.js → decode-AMQVTEMW.js} +4 -4
- package/dist/bundle/{echarts-2EDY7OUX.js → echarts-ECYONFQJ.js} +2 -2
- package/dist/bundle/{embed-PZSXOQJO.js → embed-VZYBZEWI.js} +5 -5
- package/dist/bundle/{embedder-O4EGMMUU.js → embedder-GSWBGHRK.js} +8 -8
- package/dist/bundle/{entry-DVLMQM6J.js → entry-LALZILY4.js} +5 -5
- package/dist/bundle/{first-run-J67KTUWA.js → first-run-LEAI623Q.js} +9 -9
- package/dist/bundle/first-screen-MOCVLE23.js +30 -0
- package/dist/bundle/{identity-DSYY4FLQ.js → identity-54HA5GN6.js} +3 -3
- package/dist/bundle/{instructions-O535XB2L.js → instructions-AXLQQS3G.js} +1 -1
- package/dist/bundle/{mcp-EMNFFY4N.js → mcp-VVMPUDSL.js} +2 -2
- package/dist/bundle/{node-S3VEQNTE.js → node-7JHC5K77.js} +2 -2
- package/dist/bundle/{node-sqlite-3DNWF2BW.js → node-sqlite-LYJEK46T.js} +4 -4
- package/dist/bundle/{oauth-IU2RAZ3D.js → oauth-BROPKI3K.js} +6 -6
- package/dist/bundle/{open-M2IPPXMI.js → open-C6XQ46JK.js} +3 -3
- package/dist/bundle/{openai-GDI7HISL.js → openai-VWSU7ZDD.js} +13 -13
- package/dist/bundle/{process-3IGMEATV.js → process-QKEFL5HL.js} +1 -1
- package/dist/bundle/{program-P7YPHVLD.js → program-ACY7O33O.js} +48 -48
- package/dist/bundle/{prompt-S6R7IHDK.js → prompt-EGULVW2F.js} +4 -4
- package/dist/bundle/{proxy-transport-OROEVBCG.js → proxy-transport-KIMADLQ2.js} +4 -4
- package/dist/bundle/{recognize-PFZRQ3P4.js → recognize-UMTKLWVR.js} +3 -3
- package/dist/bundle/{remote-Q37V7LUX.js → remote-DABI7PSQ.js} +6 -6
- package/dist/bundle/{rerank-V5YQQQAM.js → rerank-ZFATWWBE.js} +6 -6
- package/dist/bundle/{serve-5CAD2UVG.js → serve-B7YYCMGN.js} +8 -8
- package/dist/bundle/{server-R6YAO2SG.js → server-DGKZISZH.js} +32 -32
- package/dist/bundle/server-UC7UWUIS.js +56 -0
- package/dist/bundle/{state-Y3A2NEM3.js → state-AQ2PABA5.js} +5 -5
- package/dist/bundle/{store-H5K32CNI.js → store-46GJTFLJ.js} +12 -10
- package/dist/bundle/store-maintenance-command-FCFKHGRM.js +45 -0
- package/dist/bundle/tg.js +4 -4
- package/dist/telegram/adapter.d.ts +2 -0
- package/dist/telegram/adapter.d.ts.map +1 -1
- package/dist/telegram/adapter.js +3 -0
- package/dist/telegram/adapter.js.map +1 -1
- package/dist/telegram/topics.d.ts +4 -2
- package/dist/telegram/topics.d.ts.map +1 -1
- package/dist/telegram/topics.js +21 -3
- package/dist/telegram/topics.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/skills/tg-cli/SKILL.md +2 -0
- package/dist/bundle/command-contract-JCRVVL7P.js +0 -32
- package/dist/bundle/first-screen-PYEE5NMQ.js +0 -30
- package/dist/bundle/server-RUQLAWWS.js +0 -56
- package/dist/bundle/store-maintenance-command-QZDC4WKW.js +0 -45
- /package/dist/bundle/{chunk-NPGVOZVK.js → chunk-HPXYN7F3.js} +0 -0
|
@@ -7,11 +7,12 @@ import {
|
|
|
7
7
|
childTrace,
|
|
8
8
|
closeSuggestion,
|
|
9
9
|
conversation,
|
|
10
|
+
hitFile,
|
|
10
11
|
recordLogFor,
|
|
11
12
|
storeTable,
|
|
12
13
|
tagging,
|
|
13
14
|
task
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GX4LRLVD.js";
|
|
15
16
|
import {
|
|
16
17
|
author,
|
|
17
18
|
count,
|
|
@@ -25,13 +26,13 @@ import {
|
|
|
25
26
|
text,
|
|
26
27
|
time,
|
|
27
28
|
untrusted
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-6OKGHHRL.js";
|
|
29
30
|
import {
|
|
30
31
|
envName
|
|
31
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-IDUYRTPF.js";
|
|
32
33
|
import {
|
|
33
34
|
carries
|
|
34
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-OQR442B6.js";
|
|
35
36
|
import {
|
|
36
37
|
FACT_STATUSES,
|
|
37
38
|
FACT_TYPES,
|
|
@@ -62,11 +63,11 @@ import {
|
|
|
62
63
|
meetingStats,
|
|
63
64
|
meetingSummary,
|
|
64
65
|
meetingTranscript
|
|
65
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-HNN7EKIM.js";
|
|
66
67
|
import {
|
|
67
68
|
resolvePaths,
|
|
68
69
|
writeSecurely
|
|
69
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-KQ23JWLJ.js";
|
|
70
71
|
import {
|
|
71
72
|
CliError,
|
|
72
73
|
array,
|
|
@@ -100,12 +101,12 @@ import {
|
|
|
100
101
|
unknown,
|
|
101
102
|
unwrap,
|
|
102
103
|
variant
|
|
103
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-PCRLXJRH.js";
|
|
104
105
|
import {
|
|
105
106
|
__name
|
|
106
107
|
} from "./chunk-ZVVMGPBJ.js";
|
|
107
108
|
|
|
108
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
109
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/member.js
|
|
109
110
|
var member = strictObject({
|
|
110
111
|
id,
|
|
111
112
|
name: nullable(text),
|
|
@@ -128,7 +129,7 @@ var member = strictObject({
|
|
|
128
129
|
check: optional(record(string(), unknown()))
|
|
129
130
|
});
|
|
130
131
|
|
|
131
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
132
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/chat.js
|
|
132
133
|
var setting = optional(nullable(boolean()));
|
|
133
134
|
var chat = strictObject({
|
|
134
135
|
ref: reference,
|
|
@@ -169,7 +170,7 @@ var chat = strictObject({
|
|
|
169
170
|
members: optional(array(member))
|
|
170
171
|
});
|
|
171
172
|
|
|
172
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
173
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/list-results.js
|
|
173
174
|
var botProfile = strictObject({
|
|
174
175
|
name: text,
|
|
175
176
|
token: text,
|
|
@@ -194,6 +195,7 @@ var botAdmin = strictObject({
|
|
|
194
195
|
title: nullable(text)
|
|
195
196
|
});
|
|
196
197
|
var botMenuEntry = strictObject({ name: text, description: nullable(text) });
|
|
198
|
+
var topicIcon = strictObject({ emoji: text });
|
|
197
199
|
var botWebhook = strictObject({ url: text, types: optional(array(text)) });
|
|
198
200
|
var scheduledJob = strictObject({
|
|
199
201
|
name: text,
|
|
@@ -236,7 +238,7 @@ var stickerInventory = strictObject({
|
|
|
236
238
|
url: optional(nullable(text))
|
|
237
239
|
});
|
|
238
240
|
|
|
239
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
241
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/batch-result.js
|
|
240
242
|
var actionableError = objectWithRest({
|
|
241
243
|
code: text,
|
|
242
244
|
message: text,
|
|
@@ -253,7 +255,7 @@ var batchResult = strictObject({
|
|
|
253
255
|
max_error_percent: count
|
|
254
256
|
});
|
|
255
257
|
|
|
256
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
258
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/conversation-preparation.js
|
|
257
259
|
var conversationBuild = strictObject({
|
|
258
260
|
chat: id,
|
|
259
261
|
messages: count,
|
|
@@ -278,13 +280,13 @@ var catchUpPreparation = strictObject({
|
|
|
278
280
|
prepared: optional(conversationPreparation)
|
|
279
281
|
});
|
|
280
282
|
|
|
281
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
282
284
|
import { spawn } from "node:child_process";
|
|
283
285
|
import { randomBytes } from "node:crypto";
|
|
284
286
|
import { closeSync, existsSync, mkdirSync, openSync, readdirSync, readFileSync, realpathSync, rmSync } from "node:fs";
|
|
285
287
|
import { dirname, join } from "node:path";
|
|
286
288
|
|
|
287
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
289
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/background/checkpoints.js
|
|
288
290
|
var progressOf = /* @__PURE__ */ __name((input) => {
|
|
289
291
|
const total = input.total ?? null;
|
|
290
292
|
const updated = input.updatedAt ?? null;
|
|
@@ -300,7 +302,7 @@ var progressOf = /* @__PURE__ */ __name((input) => {
|
|
|
300
302
|
};
|
|
301
303
|
}, "progressOf");
|
|
302
304
|
|
|
303
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
305
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/services/backfill-jobs.js
|
|
304
306
|
var JOB_STATES = ["running", "done", "partial", "failed", "cancelled", "died"];
|
|
305
307
|
var spawnDetached = /* @__PURE__ */ __name((argv, env, log) => {
|
|
306
308
|
const out = openSync(log, "a", 384);
|
|
@@ -455,7 +457,7 @@ var startArchiveJob = /* @__PURE__ */ __name((app, env, profile, input, spawnJob
|
|
|
455
457
|
return { job: id6, pid, chat: input.chat, log };
|
|
456
458
|
}, "startArchiveJob");
|
|
457
459
|
|
|
458
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
460
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/job.js
|
|
459
461
|
var problem = strictObject({ code: text, message: text });
|
|
460
462
|
var job = strictObject({
|
|
461
463
|
id,
|
|
@@ -478,7 +480,7 @@ var job = strictObject({
|
|
|
478
480
|
error: optional(problem)
|
|
479
481
|
});
|
|
480
482
|
|
|
481
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
483
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/message.js
|
|
482
484
|
var quoted = strictObject({
|
|
483
485
|
id,
|
|
484
486
|
sender_id: nullable(id),
|
|
@@ -585,7 +587,7 @@ var message = strictObject({
|
|
|
585
587
|
provider_metadata: providerMetadata
|
|
586
588
|
});
|
|
587
589
|
|
|
588
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
590
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/extraction-report.js
|
|
589
591
|
var extractionItem = strictObject({
|
|
590
592
|
ref: reference,
|
|
591
593
|
attachment: count,
|
|
@@ -618,7 +620,7 @@ var extractionReport = strictObject({
|
|
|
618
620
|
cursor: optional(text)
|
|
619
621
|
});
|
|
620
622
|
|
|
621
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/message-transfer.js
|
|
622
624
|
var savedMessageFile = strictObject({
|
|
623
625
|
kind: text,
|
|
624
626
|
path: text,
|
|
@@ -697,7 +699,7 @@ var messageSyncAll = strictObject({
|
|
|
697
699
|
var messageSyncStarted = strictObject({ job: id, pid: count, chat: text, log: text });
|
|
698
700
|
var messageSync = union([messageSyncEstimate, messageSyncChat, messageSyncAll, messageSyncStarted]);
|
|
699
701
|
|
|
700
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
702
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/store-records.js
|
|
701
703
|
var range = strictObject({ from: number(), to: number() });
|
|
702
704
|
var storeChatStatus = strictObject({
|
|
703
705
|
chat_id: id,
|
|
@@ -788,7 +790,7 @@ var storeJobRetry = union([
|
|
|
788
790
|
]);
|
|
789
791
|
var storeJobClear = strictObject({ cleared: array(id) });
|
|
790
792
|
|
|
791
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
793
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/account.js
|
|
792
794
|
var account = strictObject({
|
|
793
795
|
provider: text,
|
|
794
796
|
id,
|
|
@@ -798,7 +800,7 @@ var account = strictObject({
|
|
|
798
800
|
scope: optional(picklist(["personal", "work"]))
|
|
799
801
|
});
|
|
800
802
|
|
|
801
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
803
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/account-session.js
|
|
802
804
|
var accountSession = strictObject({
|
|
803
805
|
current: boolean(),
|
|
804
806
|
client: nullable(text),
|
|
@@ -808,7 +810,7 @@ var accountSession = strictObject({
|
|
|
808
810
|
created_at: optional(nullable(time))
|
|
809
811
|
});
|
|
810
812
|
|
|
811
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
813
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/account-change.js
|
|
812
814
|
var accountChange = strictObject({ operation_id: id, account: omit(account, ["provider", "scope"]) });
|
|
813
815
|
var endedAccountSessions = strictObject({ operation_id: id, sessions: array(accountSession) });
|
|
814
816
|
var audience = picklist(["everyone", "contacts", "nobody"]);
|
|
@@ -826,7 +828,7 @@ var accountPrivacy = strictObject({
|
|
|
826
828
|
});
|
|
827
829
|
var accountPrivacyChange = strictObject({ operation_id: id, privacy: accountPrivacy });
|
|
828
830
|
|
|
829
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
831
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/account-profile.js
|
|
830
832
|
var accountProfile = strictObject({
|
|
831
833
|
profile: id,
|
|
832
834
|
current: boolean(),
|
|
@@ -836,7 +838,7 @@ var accountProfile = strictObject({
|
|
|
836
838
|
signed_in: optional(boolean())
|
|
837
839
|
});
|
|
838
840
|
|
|
839
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
841
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/counter-reading.js
|
|
840
842
|
var milliseconds = pipe(number(), minValue(0));
|
|
841
843
|
var counterReading = strictObject({
|
|
842
844
|
counter: picklist(["views", "reactions", "comments"]),
|
|
@@ -848,7 +850,7 @@ var counterReading = strictObject({
|
|
|
848
850
|
});
|
|
849
851
|
var selection = record(string(), unknown());
|
|
850
852
|
|
|
851
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
853
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/admin-report.js
|
|
852
854
|
var adminRow = strictObject({
|
|
853
855
|
ref: reference,
|
|
854
856
|
/** What `stats * evidence` takes: a person id, a stay or a message locator. */
|
|
@@ -901,11 +903,11 @@ var adminReport = strictObject({
|
|
|
901
903
|
rows: array(adminRow)
|
|
902
904
|
});
|
|
903
905
|
|
|
904
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
906
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/analysis-consent.js
|
|
905
907
|
var analysisConsent = strictObject({ chat: id, provider: text, at: time });
|
|
906
908
|
var analysisConsentRevocation = strictObject({ revoked: boolean() });
|
|
907
909
|
|
|
908
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
910
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/attachment-results.js
|
|
909
911
|
var fingerprint = pipe(text, regex(/^[a-f0-9]{64}$/));
|
|
910
912
|
var attachmentBytes = strictObject({
|
|
911
913
|
ref: reference,
|
|
@@ -933,7 +935,7 @@ var attachmentTextChange = strictObject({
|
|
|
933
935
|
replaced: nullable(picklist(["extracted", "agent"]))
|
|
934
936
|
});
|
|
935
937
|
|
|
936
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
938
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/chart.js
|
|
937
939
|
var chart = strictObject({
|
|
938
940
|
version: literal(1),
|
|
939
941
|
kind: picklist(["bar", "line", "grouped-bar"]),
|
|
@@ -948,7 +950,7 @@ var chart = strictObject({
|
|
|
948
950
|
file: optional(strictObject({ path: text, format: picklist(["svg", "png"]), width: count, height: count }))
|
|
949
951
|
});
|
|
950
952
|
|
|
951
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
953
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/folder.js
|
|
952
954
|
var named = strictObject({
|
|
953
955
|
id,
|
|
954
956
|
title: nullable(text),
|
|
@@ -971,7 +973,7 @@ var folder = strictObject({
|
|
|
971
973
|
excluded_chats: optional(array(named))
|
|
972
974
|
});
|
|
973
975
|
|
|
974
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
976
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/invite-link.js
|
|
975
977
|
var inviteLink = strictObject({
|
|
976
978
|
link: text,
|
|
977
979
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
@@ -987,7 +989,7 @@ var inviteLink = strictObject({
|
|
|
987
989
|
joined_count: optional(count)
|
|
988
990
|
});
|
|
989
991
|
|
|
990
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
992
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/chat-admin.js
|
|
991
993
|
var operated = { operation_id: id, chat_id: id };
|
|
992
994
|
var group = strictObject({
|
|
993
995
|
...omit(chat, ["ref", "provider", "account", "invite_link", "members"]).entries,
|
|
@@ -1067,7 +1069,7 @@ var chatFolderOrder = strictObject({
|
|
|
1067
1069
|
folders: array(strictObject({ id, title: text }))
|
|
1068
1070
|
});
|
|
1069
1071
|
|
|
1070
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1072
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/chat-change.js
|
|
1071
1073
|
var operated2 = { operation_id: id, chat_id: id };
|
|
1072
1074
|
var chatRemoval = strictObject(operated2);
|
|
1073
1075
|
var chatMuting = strictObject({
|
|
@@ -1078,7 +1080,7 @@ var chatArchive = strictObject({ ...operated2, archived: boolean() });
|
|
|
1078
1080
|
var chatPin = strictObject({ ...operated2, pinned: boolean() });
|
|
1079
1081
|
var chatUnread = strictObject({ ...operated2, unread: literal(true) });
|
|
1080
1082
|
|
|
1081
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1083
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/chat-event.js
|
|
1082
1084
|
var who = strictObject({ id: nullable(id), name: nullable(text), username: optional(nullable(text)) });
|
|
1083
1085
|
var chatEvent = strictObject({
|
|
1084
1086
|
chat_id: id,
|
|
@@ -1095,7 +1097,7 @@ var chatEvent = strictObject({
|
|
|
1095
1097
|
before: optional(strictObject({ name: nullable(text), username: nullable(text) }))
|
|
1096
1098
|
});
|
|
1097
1099
|
|
|
1098
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1100
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/chat-metadata.js
|
|
1099
1101
|
var chatMetadata = strictObject({
|
|
1100
1102
|
chat_id: id,
|
|
1101
1103
|
title: nullable(text),
|
|
@@ -1110,7 +1112,7 @@ var chatMetadataRefresh = strictObject({
|
|
|
1110
1112
|
has_more: boolean()
|
|
1111
1113
|
});
|
|
1112
1114
|
|
|
1113
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/chat-moderation.js
|
|
1114
1116
|
var action = picklist(["report", "delete", "remove"]);
|
|
1115
1117
|
var level = picklist(["deny", "readonly", "ask", "allow"]);
|
|
1116
1118
|
var chatRules = strictObject({
|
|
@@ -1147,7 +1149,7 @@ var chatModeration = strictObject({
|
|
|
1147
1149
|
}))
|
|
1148
1150
|
});
|
|
1149
1151
|
|
|
1150
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1152
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/chat-stats.js
|
|
1151
1153
|
var optionalCount = optional(count);
|
|
1152
1154
|
var minutes = nullable(number());
|
|
1153
1155
|
var chatStats = strictObject({
|
|
@@ -1209,7 +1211,7 @@ var taskStats = strictObject({
|
|
|
1209
1211
|
}))
|
|
1210
1212
|
});
|
|
1211
1213
|
|
|
1212
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1214
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/chat-tracking.js
|
|
1213
1215
|
var memberCount = strictObject({
|
|
1214
1216
|
day: pipe(text, isoDate()),
|
|
1215
1217
|
participants: nullable(count),
|
|
@@ -1232,7 +1234,7 @@ var chatTracking = strictObject({
|
|
|
1232
1234
|
tracked: boolean()
|
|
1233
1235
|
});
|
|
1234
1236
|
|
|
1235
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1237
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/contact-read.js
|
|
1236
1238
|
var contactLookup = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1237
1239
|
var contactSync = strictObject({ added: count, changed: count, known: count });
|
|
1238
1240
|
var profileFields = {
|
|
@@ -1270,7 +1272,7 @@ var profileFields = {
|
|
|
1270
1272
|
}))
|
|
1271
1273
|
};
|
|
1272
1274
|
|
|
1273
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1275
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/contact.js
|
|
1274
1276
|
var contact = strictObject({
|
|
1275
1277
|
ref: reference,
|
|
1276
1278
|
id,
|
|
@@ -1301,7 +1303,7 @@ var contact = strictObject({
|
|
|
1301
1303
|
notes: optional(array(strictObject({ id, text, revision: count, created_at: time, updated_at: time })))
|
|
1302
1304
|
});
|
|
1303
1305
|
|
|
1304
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1306
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/contact-activity.js
|
|
1305
1307
|
var linkedIdentity = strictObject({
|
|
1306
1308
|
provider: text,
|
|
1307
1309
|
id,
|
|
@@ -1342,7 +1344,7 @@ var contactCheck = strictObject({
|
|
|
1342
1344
|
checked_at: time
|
|
1343
1345
|
});
|
|
1344
1346
|
|
|
1345
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1347
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/contact-context.js
|
|
1346
1348
|
var contextPerson = strictObject({ ...linkedPerson.entries, provider: text, id });
|
|
1347
1349
|
var contextMessage = strictObject({
|
|
1348
1350
|
locator: reference,
|
|
@@ -1540,7 +1542,7 @@ var contactPreparation = strictObject({
|
|
|
1540
1542
|
})
|
|
1541
1543
|
});
|
|
1542
1544
|
|
|
1543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1545
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/contact-note.js
|
|
1544
1546
|
var contactNote = strictObject({
|
|
1545
1547
|
id,
|
|
1546
1548
|
/** The contact, as a `contact:` reference. */
|
|
@@ -1552,13 +1554,13 @@ var contactNote = strictObject({
|
|
|
1552
1554
|
updated_at: time
|
|
1553
1555
|
});
|
|
1554
1556
|
|
|
1555
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1557
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/contact-write.js
|
|
1556
1558
|
var addressBookPerson = strictObject({ id, name: nullable(text), username: nullable(text) });
|
|
1557
1559
|
var contactUpdate = strictObject({ operation_id: id, person: addressBookPerson });
|
|
1558
1560
|
var contactStateChange = strictObject({ operation_id: id, person_id: id });
|
|
1559
1561
|
var contactImport = strictObject({ operation_id: id, sent: count, recognised: array(addressBookPerson) });
|
|
1560
1562
|
|
|
1561
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1563
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/conversation-results.js
|
|
1562
1564
|
var conversationDetails = union([
|
|
1563
1565
|
strictObject({ ...conversation.entries, messages: array(message) }),
|
|
1564
1566
|
message
|
|
@@ -1648,7 +1650,7 @@ var conversationHit = strictObject({
|
|
|
1648
1650
|
stale: boolean()
|
|
1649
1651
|
});
|
|
1650
1652
|
|
|
1651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1653
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/counters.js
|
|
1652
1654
|
var counters = strictObject({
|
|
1653
1655
|
cutoff: time,
|
|
1654
1656
|
max_age_ms: milliseconds,
|
|
@@ -1678,7 +1680,7 @@ var counterRefresh = strictObject({
|
|
|
1678
1680
|
complete: optional(boolean())
|
|
1679
1681
|
});
|
|
1680
1682
|
|
|
1681
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1683
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/document.js
|
|
1682
1684
|
var document = strictObject({
|
|
1683
1685
|
ref: reference,
|
|
1684
1686
|
id,
|
|
@@ -1693,7 +1695,7 @@ var document = strictObject({
|
|
|
1693
1695
|
owners: optional(array(text))
|
|
1694
1696
|
});
|
|
1695
1697
|
|
|
1696
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1698
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/document-link.js
|
|
1697
1699
|
var documentLink = strictObject({
|
|
1698
1700
|
ref: reference,
|
|
1699
1701
|
url: text,
|
|
@@ -1704,7 +1706,7 @@ var documentLink = strictObject({
|
|
|
1704
1706
|
sender: strictObject({ id: nullable(id), name: nullable(text) })
|
|
1705
1707
|
});
|
|
1706
1708
|
|
|
1707
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1709
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/evidence.js
|
|
1708
1710
|
var evidenceMessage = pick(message, ["ref", "chat_title", "timestamp", "sender_name", "text"]);
|
|
1709
1711
|
var contribution = strictObject({
|
|
1710
1712
|
message: evidenceMessage,
|
|
@@ -1734,7 +1736,7 @@ var retentionStay = strictObject({
|
|
|
1734
1736
|
});
|
|
1735
1737
|
var evidence = union([contribution, retentionStay]);
|
|
1736
1738
|
|
|
1737
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1739
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/fact.js
|
|
1738
1740
|
var fact = strictObject({
|
|
1739
1741
|
ref: reference,
|
|
1740
1742
|
id,
|
|
@@ -1742,6 +1744,8 @@ var fact = strictObject({
|
|
|
1742
1744
|
text,
|
|
1743
1745
|
status: picklist(FACT_STATUSES),
|
|
1744
1746
|
project: nullable(text),
|
|
1747
|
+
/** What the project is called. */
|
|
1748
|
+
project_name: optional(nullable(text)),
|
|
1745
1749
|
subject: nullable(reference),
|
|
1746
1750
|
/** What the subject is called; `null` for the owner and for a row with no name. */
|
|
1747
1751
|
subject_name: optional(nullable(text)),
|
|
@@ -1762,7 +1766,7 @@ var fact = strictObject({
|
|
|
1762
1766
|
updated_at: time
|
|
1763
1767
|
});
|
|
1764
1768
|
|
|
1765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1769
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/hit.js
|
|
1766
1770
|
var hit = strictObject({
|
|
1767
1771
|
kind: picklist(["message", "mail", "note", "document", "event", "meeting"]),
|
|
1768
1772
|
ref: reference,
|
|
@@ -1785,13 +1789,17 @@ var hit = strictObject({
|
|
|
1785
1789
|
offset_ms: optional(nullable(count)),
|
|
1786
1790
|
/** A meeting passage's place: its transcript, chat or summary. */
|
|
1787
1791
|
scope: optional(picklist(["transcript", "chat", "summary"])),
|
|
1792
|
+
/** A meeting transcript hit's cue, which `meetings passage` opens with the lines around it. */
|
|
1793
|
+
cue_ref: optional(reference),
|
|
1788
1794
|
/** A meeting passage's stored line, so two passages of one meeting stay apart; `search meetings` gives the same. */
|
|
1789
1795
|
id: optional(pipe(string(), minLength(1))),
|
|
1796
|
+
/** A message's files; absent when it has none. */
|
|
1797
|
+
attachments: optional(array(hitFile)),
|
|
1790
1798
|
/** Absent on a note hit: the owner wrote it. */
|
|
1791
1799
|
untrusted
|
|
1792
1800
|
});
|
|
1793
1801
|
|
|
1794
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1802
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/identity.js
|
|
1795
1803
|
var identity = strictObject({
|
|
1796
1804
|
ref: reference,
|
|
1797
1805
|
provider: text,
|
|
@@ -1804,7 +1812,7 @@ var identity = strictObject({
|
|
|
1804
1812
|
person: optional(nullable(reference))
|
|
1805
1813
|
});
|
|
1806
1814
|
|
|
1807
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1815
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/image-embedding.js
|
|
1808
1816
|
var imageEmbedding = strictObject({
|
|
1809
1817
|
model: text,
|
|
1810
1818
|
embedded: count,
|
|
@@ -1813,7 +1821,7 @@ var imageEmbedding = strictObject({
|
|
|
1813
1821
|
more: boolean()
|
|
1814
1822
|
});
|
|
1815
1823
|
|
|
1816
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1824
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/join-request.js
|
|
1817
1825
|
var joinRequest = strictObject({
|
|
1818
1826
|
person_id: id,
|
|
1819
1827
|
name: nullable(text),
|
|
@@ -1824,7 +1832,7 @@ var joinRequest = strictObject({
|
|
|
1824
1832
|
about: optional(text)
|
|
1825
1833
|
});
|
|
1826
1834
|
|
|
1827
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1835
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/poll-vote.js
|
|
1828
1836
|
var pollVote = strictObject({
|
|
1829
1837
|
person_id: id,
|
|
1830
1838
|
name: nullable(text),
|
|
@@ -1834,7 +1842,7 @@ var pollVote = strictObject({
|
|
|
1834
1842
|
voted_at: time
|
|
1835
1843
|
});
|
|
1836
1844
|
|
|
1837
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1845
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/listener.js
|
|
1838
1846
|
var reactions = unwrap(unwrap(message.entries.reactions));
|
|
1839
1847
|
var observation = strictObject({
|
|
1840
1848
|
value: pipe(number(), minValue(0)),
|
|
@@ -1875,7 +1883,7 @@ var serveSummary = strictObject({
|
|
|
1875
1883
|
tasks: optional(strictObject({ added: count, closed: count, review: count }))
|
|
1876
1884
|
});
|
|
1877
1885
|
|
|
1878
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1886
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/media-archive.js
|
|
1879
1887
|
var mediaArchive = strictObject({
|
|
1880
1888
|
directory: text,
|
|
1881
1889
|
chats: count,
|
|
@@ -1907,7 +1915,7 @@ var mediaArchiveTimer = union([
|
|
|
1907
1915
|
strictObject({ ...timer, action: picklist(["install", "start", "stop", "uninstall"]) })
|
|
1908
1916
|
]);
|
|
1909
1917
|
|
|
1910
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
1918
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation-parts.js
|
|
1911
1919
|
var preparationId = pipe(string(), minLength(1));
|
|
1912
1920
|
var preparationCount = pipe(number(), integer(), minValue(0));
|
|
1913
1921
|
var preparationTime = nullable(isoTime);
|
|
@@ -1999,7 +2007,7 @@ var preparationMeeting = strictObject({
|
|
|
1999
2007
|
updated_at: isoTime
|
|
2000
2008
|
});
|
|
2001
2009
|
|
|
2002
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2010
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/meeting-evidence.js
|
|
2003
2011
|
var meetingEvidence = preparationEvidence;
|
|
2004
2012
|
var meetingPersonContext = strictObject({
|
|
2005
2013
|
person: strictObject({ uid: string(), name: nullable(string()) }),
|
|
@@ -2021,7 +2029,7 @@ var meetingPersonContext = strictObject({
|
|
|
2021
2029
|
})
|
|
2022
2030
|
});
|
|
2023
2031
|
|
|
2024
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2032
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/meeting-findings.js
|
|
2025
2033
|
var evidence2 = strictObject({ reference, fingerprint: text });
|
|
2026
2034
|
var base = { id, project: reference, evidence: array(evidence2) };
|
|
2027
2035
|
var finding = variant("kind", [
|
|
@@ -2059,7 +2067,7 @@ var meetingFindings = strictObject({
|
|
|
2059
2067
|
receipt: nullable(strictObject({ preview_fingerprint: text, accepted: array(id), items: array(outcome) }))
|
|
2060
2068
|
});
|
|
2061
2069
|
|
|
2062
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2070
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/meeting-communications.js
|
|
2063
2071
|
var communicationCoverage = strictObject({
|
|
2064
2072
|
read_usage: strictObject({ reads: preparationCount, charged_bytes: preparationCount, reserved_bytes: preparationCount, remaining_bytes: preparationCount }),
|
|
2065
2073
|
query: string(),
|
|
@@ -2104,7 +2112,7 @@ var preparationCommunications = strictObject({
|
|
|
2104
2112
|
}))
|
|
2105
2113
|
});
|
|
2106
2114
|
|
|
2107
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2115
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/meeting-preparation.js
|
|
2108
2116
|
var meetingPreparation = strictObject({
|
|
2109
2117
|
communications: optional(preparationCommunications),
|
|
2110
2118
|
schema_version: literal(1),
|
|
@@ -2217,7 +2225,7 @@ var meetingPreparation = strictObject({
|
|
|
2217
2225
|
})
|
|
2218
2226
|
});
|
|
2219
2227
|
|
|
2220
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2228
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/meeting-project-candidates.js
|
|
2221
2229
|
var count3 = pipe(number(), integer(), minValue(0));
|
|
2222
2230
|
var id3 = pipe(string(), minLength(1));
|
|
2223
2231
|
var text3 = string();
|
|
@@ -2281,7 +2289,7 @@ var meetingProjectCandidates = strictObject({
|
|
|
2281
2289
|
})
|
|
2282
2290
|
});
|
|
2283
2291
|
|
|
2284
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2292
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/meeting-series-inventory.js
|
|
2285
2293
|
var count4 = pipe(number(), integer(), minValue(0));
|
|
2286
2294
|
var id4 = pipe(string(), minLength(1), maxLength(1e3));
|
|
2287
2295
|
var meetingSeriesInventory = strictObject({
|
|
@@ -2311,7 +2319,7 @@ var meetingSeriesInventory = strictObject({
|
|
|
2311
2319
|
})
|
|
2312
2320
|
});
|
|
2313
2321
|
|
|
2314
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2322
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/meeting-task-proposal.js
|
|
2315
2323
|
var text4 = string();
|
|
2316
2324
|
var id5 = pipe(number(), integer(), minValue(1));
|
|
2317
2325
|
var revision = picklist(["current", "superseded"]);
|
|
@@ -2328,7 +2336,7 @@ var meetingTaskProposal = strictObject({
|
|
|
2328
2336
|
persistence: literal("proposal-only")
|
|
2329
2337
|
});
|
|
2330
2338
|
|
|
2331
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2339
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/memory.js
|
|
2332
2340
|
var memory = strictObject({
|
|
2333
2341
|
ref: reference,
|
|
2334
2342
|
id,
|
|
@@ -2338,6 +2346,9 @@ var memory = strictObject({
|
|
|
2338
2346
|
/** What the subject is called; `null` for the owner and for a row with no name. */
|
|
2339
2347
|
subject_name: optional(nullable(text)),
|
|
2340
2348
|
subject_is_owner: optional(boolean()),
|
|
2349
|
+
/** The project it belongs to, and what that project is called. */
|
|
2350
|
+
project: optional(nullable(reference)),
|
|
2351
|
+
project_name: optional(nullable(text)),
|
|
2341
2352
|
author,
|
|
2342
2353
|
model: nullable(text),
|
|
2343
2354
|
confidence: nullable(number()),
|
|
@@ -2352,7 +2363,7 @@ var memory = strictObject({
|
|
|
2352
2363
|
updated_at: time
|
|
2353
2364
|
});
|
|
2354
2365
|
|
|
2355
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2366
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/mention.js
|
|
2356
2367
|
var kind = picklist(["phone", "email", "url", "document", "person-name", "place"]);
|
|
2357
2368
|
var status = picklist(["found", "linked", "dismissed"]);
|
|
2358
2369
|
var mention = strictObject({
|
|
@@ -2395,13 +2406,13 @@ var mentionRebuild = strictObject({
|
|
|
2395
2406
|
mentions: count
|
|
2396
2407
|
});
|
|
2397
2408
|
|
|
2398
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2409
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/message-change.js
|
|
2399
2410
|
var operated3 = { operation_id: id, chat_id: id };
|
|
2400
2411
|
var messagePin = strictObject({ ...operated3, message_id: id, pinned: boolean() });
|
|
2401
2412
|
var messageStar = strictObject({ ...operated3, message_id: id, starred: boolean() });
|
|
2402
2413
|
var messageDeletion = strictObject({ ...operated3, deleted: array(id), for_everyone: boolean() });
|
|
2403
2414
|
|
|
2404
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2415
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/message-read.js
|
|
2405
2416
|
var messageTranscript = strictObject({
|
|
2406
2417
|
message_id: id,
|
|
2407
2418
|
text,
|
|
@@ -2459,7 +2470,7 @@ var evidencePacket = strictObject({
|
|
|
2459
2470
|
}))
|
|
2460
2471
|
});
|
|
2461
2472
|
|
|
2462
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2473
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/message-context.js
|
|
2463
2474
|
var messageThread = strictObject({
|
|
2464
2475
|
ref: reference,
|
|
2465
2476
|
chat: id,
|
|
@@ -2476,7 +2487,7 @@ var messageThread = strictObject({
|
|
|
2476
2487
|
});
|
|
2477
2488
|
var messageContext = union([message, messageThread]);
|
|
2478
2489
|
|
|
2479
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2490
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/message-counts.js
|
|
2480
2491
|
var messageCounts = strictObject({
|
|
2481
2492
|
by: picklist(["chat", "sender", "day", "hour"]),
|
|
2482
2493
|
total: count,
|
|
@@ -2489,16 +2500,24 @@ var messageCounts = strictObject({
|
|
|
2489
2500
|
}))
|
|
2490
2501
|
});
|
|
2491
2502
|
|
|
2492
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2503
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/message-link.js
|
|
2493
2504
|
var messageLink = strictObject({
|
|
2494
2505
|
ref: reference,
|
|
2495
2506
|
url: nullable(text),
|
|
2496
2507
|
access: picklist(["public", "restricted", "unknown", "unavailable"]),
|
|
2497
2508
|
/** Why there is no link. */
|
|
2498
|
-
reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"]))
|
|
2509
|
+
reason: nullable(picklist(["unsupported_chat", "unsupported_provider", "offline"])),
|
|
2510
|
+
/** The message's files, each with its own link where the messenger gives one; absent when it has none. */
|
|
2511
|
+
files: optional(array(strictObject({
|
|
2512
|
+
position: count,
|
|
2513
|
+
kind: text,
|
|
2514
|
+
name: optional(text),
|
|
2515
|
+
url: nullable(text),
|
|
2516
|
+
reason: nullable(picklist(["unsupported_provider"]))
|
|
2517
|
+
})))
|
|
2499
2518
|
});
|
|
2500
2519
|
|
|
2501
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2520
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/message-write.js
|
|
2502
2521
|
var messageWrite = strictObject({
|
|
2503
2522
|
operation_id: id,
|
|
2504
2523
|
message,
|
|
@@ -2513,7 +2532,7 @@ var draftWrite = strictObject({
|
|
|
2513
2532
|
});
|
|
2514
2533
|
var messageSend = union([messageWrite, draftWrite]);
|
|
2515
2534
|
|
|
2516
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2535
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/model.js
|
|
2517
2536
|
var model = strictObject({
|
|
2518
2537
|
id,
|
|
2519
2538
|
kind: picklist(["audio", "text", "image", "reranker"]),
|
|
@@ -2530,7 +2549,7 @@ var model = strictObject({
|
|
|
2530
2549
|
path: text
|
|
2531
2550
|
});
|
|
2532
2551
|
|
|
2533
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2552
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/model-key.js
|
|
2534
2553
|
var source = picklist(["environment", "keyring", "file"]);
|
|
2535
2554
|
var modelKey = strictObject({
|
|
2536
2555
|
provider: text,
|
|
@@ -2540,7 +2559,7 @@ var modelKey = strictObject({
|
|
|
2540
2559
|
var storedModelKey = strictObject({ ...omit(modelKey, ["removed"]).entries, stored: source });
|
|
2541
2560
|
var removedModelKey = strictObject({ ...omit(modelKey, ["stored"]).entries, removed: array(source) });
|
|
2542
2561
|
|
|
2543
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2562
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/official-stats.js
|
|
2544
2563
|
var versus = strictObject({ current: number(), previous: number() });
|
|
2545
2564
|
var person = { person_ref: reference, name: nullable(text) };
|
|
2546
2565
|
var graph = strictObject({
|
|
@@ -2574,14 +2593,14 @@ var officialStats = strictObject({
|
|
|
2574
2593
|
graphs: record(string(), union([graph, strictObject({ error: text })]))
|
|
2575
2594
|
});
|
|
2576
2595
|
|
|
2577
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2596
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/person.js
|
|
2578
2597
|
var person2 = strictObject({
|
|
2579
2598
|
ref: reference,
|
|
2580
2599
|
name: nullable(text),
|
|
2581
2600
|
identities: optional(array(identity))
|
|
2582
2601
|
});
|
|
2583
2602
|
|
|
2584
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2603
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/poll.js
|
|
2585
2604
|
var poll = strictObject({
|
|
2586
2605
|
chat_id: id,
|
|
2587
2606
|
message_id: id,
|
|
@@ -2597,11 +2616,11 @@ var poll = strictObject({
|
|
|
2597
2616
|
});
|
|
2598
2617
|
var pollChange = strictObject({ operation_id: id, poll });
|
|
2599
2618
|
|
|
2600
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2619
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/private-contact.js
|
|
2601
2620
|
var contactAlias = strictObject({ person_id: id, alias: nullable(text) });
|
|
2602
2621
|
var contactNoteRemoval = strictObject({ id, person_id: id, removed: boolean() });
|
|
2603
2622
|
|
|
2604
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2623
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/ranking.js
|
|
2605
2624
|
var figures = record(string(), number());
|
|
2606
2625
|
var freshness = picklist(["fresh", "stale", "partial", "unknown"]);
|
|
2607
2626
|
var rankingRow = strictObject({
|
|
@@ -2648,7 +2667,7 @@ var ranking = strictObject({
|
|
|
2648
2667
|
rows: array(rankingRow)
|
|
2649
2668
|
});
|
|
2650
2669
|
|
|
2651
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2670
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/reaction.js
|
|
2652
2671
|
var reaction = strictObject({
|
|
2653
2672
|
person: strictObject({ id, name: nullable(text), username: nullable(text) }),
|
|
2654
2673
|
/** The emoji, or `custom:<id>` for a custom one. */
|
|
@@ -2656,7 +2675,7 @@ var reaction = strictObject({
|
|
|
2656
2675
|
reacted_at: time
|
|
2657
2676
|
});
|
|
2658
2677
|
|
|
2659
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2678
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/reaction-change.js
|
|
2660
2679
|
var reactionChange = strictObject({
|
|
2661
2680
|
operation_id: id,
|
|
2662
2681
|
chat_id: id,
|
|
@@ -2664,7 +2683,7 @@ var reactionChange = strictObject({
|
|
|
2664
2683
|
reaction: nullable(text)
|
|
2665
2684
|
});
|
|
2666
2685
|
|
|
2667
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2686
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/recipient.js
|
|
2668
2687
|
var recipient = strictObject({ id, title: nullable(text), partner_id: optional(id), added_at: time });
|
|
2669
2688
|
var recipientAdded = strictObject({ id, title: nullable(text), added: boolean() });
|
|
2670
2689
|
var recipientRemoved = strictObject({ id, title: nullable(text), removed: boolean() });
|
|
@@ -2675,7 +2694,7 @@ var recipientChange = strictObject({
|
|
|
2675
2694
|
...partial(recipientOff).entries
|
|
2676
2695
|
});
|
|
2677
2696
|
|
|
2678
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2697
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/recorded-run.js
|
|
2679
2698
|
var events = array(record(string(), unknown()));
|
|
2680
2699
|
var recordedRun = strictObject({
|
|
2681
2700
|
run_id: id,
|
|
@@ -2747,7 +2766,7 @@ var runHit = strictObject({
|
|
|
2747
2766
|
});
|
|
2748
2767
|
var runLocation = strictObject({ path: text });
|
|
2749
2768
|
|
|
2750
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2769
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/relationship.js
|
|
2751
2770
|
var relationship = strictObject({
|
|
2752
2771
|
id,
|
|
2753
2772
|
from: reference,
|
|
@@ -2762,7 +2781,7 @@ var relationship = strictObject({
|
|
|
2762
2781
|
created_at: time
|
|
2763
2782
|
});
|
|
2764
2783
|
|
|
2765
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2784
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/retention.js
|
|
2766
2785
|
var retentionCohort = strictObject({
|
|
2767
2786
|
/** The first day of the joining day or week. */
|
|
2768
2787
|
cohort: text,
|
|
@@ -2810,7 +2829,7 @@ var retention = strictObject({
|
|
|
2810
2829
|
rows: array(retentionCohort)
|
|
2811
2830
|
});
|
|
2812
2831
|
|
|
2813
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2832
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/saved-search.js
|
|
2814
2833
|
var savedSearch = strictObject({
|
|
2815
2834
|
id,
|
|
2816
2835
|
/** `null` for a run in the history. */
|
|
@@ -2827,7 +2846,7 @@ var savedSearch = strictObject({
|
|
|
2827
2846
|
});
|
|
2828
2847
|
var searchHistoryClear = strictObject({ cleared: count });
|
|
2829
2848
|
|
|
2830
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2849
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/send-attempt.js
|
|
2831
2850
|
var sendAttempt = strictObject({
|
|
2832
2851
|
at: time,
|
|
2833
2852
|
profile: text,
|
|
@@ -2855,7 +2874,7 @@ var sendAttempt = strictObject({
|
|
|
2855
2874
|
error_code: optional(text)
|
|
2856
2875
|
});
|
|
2857
2876
|
|
|
2858
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
2877
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/store-maintenance.js
|
|
2859
2878
|
var absent = strictObject({ path: text, exists: literal(false) });
|
|
2860
2879
|
var schema = strictObject({ version: count, min_compatible: count, writable: boolean(), speaks: count });
|
|
2861
2880
|
var infoSchema = strictObject({
|
|
@@ -3063,7 +3082,7 @@ var storeRepair = union([
|
|
|
3063
3082
|
]);
|
|
3064
3083
|
var storeCopyRemoval = strictObject({ path: text, deleted: strictObject({ name: text, rows: count }) });
|
|
3065
3084
|
|
|
3066
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3085
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/tag-change.js
|
|
3067
3086
|
var tagTarget = variant("type", [
|
|
3068
3087
|
strictObject({ type: literal("chat"), chat_id: id }),
|
|
3069
3088
|
strictObject({ type: literal("contact"), person_id: id }),
|
|
@@ -3094,7 +3113,7 @@ var automaticTags = strictObject({
|
|
|
3094
3113
|
dry_run: boolean()
|
|
3095
3114
|
});
|
|
3096
3115
|
|
|
3097
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3116
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/task-pair.js
|
|
3098
3117
|
var side = strictObject({ ref: reference, key: text, title: text, status: text });
|
|
3099
3118
|
var taskPair = strictObject({
|
|
3100
3119
|
task: nullable(side),
|
|
@@ -3117,7 +3136,7 @@ var taskPair = strictObject({
|
|
|
3117
3136
|
created_at: time
|
|
3118
3137
|
});
|
|
3119
3138
|
|
|
3120
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3139
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/task-results.js
|
|
3121
3140
|
var nullableTime = nullable(time);
|
|
3122
3141
|
var link = strictObject({
|
|
3123
3142
|
id,
|
|
@@ -3138,6 +3157,9 @@ var taskCard = strictObject({
|
|
|
3138
3157
|
ref: reference,
|
|
3139
3158
|
key: text,
|
|
3140
3159
|
project: reference,
|
|
3160
|
+
project_key: text,
|
|
3161
|
+
project_name: text,
|
|
3162
|
+
created_by: nullable(strictObject({ type: picklist(["person", "bot"]), id, name: nullable(text), owner: boolean() })),
|
|
3141
3163
|
title: text,
|
|
3142
3164
|
description: nullable(text),
|
|
3143
3165
|
type: picklist(TASK_TYPES),
|
|
@@ -3244,7 +3266,7 @@ var taskScan = strictObject({
|
|
|
3244
3266
|
tasks: array(strictObject({ source: text, kind: picklist(TASK_KINDS), category: nullable(text) }))
|
|
3245
3267
|
});
|
|
3246
3268
|
|
|
3247
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3269
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/topic.js
|
|
3248
3270
|
var topic = strictObject({
|
|
3249
3271
|
id,
|
|
3250
3272
|
title: text,
|
|
@@ -3258,7 +3280,7 @@ var topic = strictObject({
|
|
|
3258
3280
|
untrusted
|
|
3259
3281
|
});
|
|
3260
3282
|
|
|
3261
|
-
// node_modules/.pnpm/@wirecat+cli-core@0.
|
|
3283
|
+
// node_modules/.pnpm/@wirecat+cli-core@0.544.0_@napi-rs+canvas@1.0.13_@wirecat+cli-base@0.73.0_commander@15._14d279ae6bc0fc41a3606e009c109ba5/node_modules/@wirecat/cli-core/dist/entities/index.js
|
|
3262
3284
|
var ENTITIES = {
|
|
3263
3285
|
sync_progress: progress,
|
|
3264
3286
|
...MEETING_RESULT_ENTITIES,
|
|
@@ -3284,6 +3306,8 @@ var ENTITIES = {
|
|
|
3284
3306
|
"follow_ups",
|
|
3285
3307
|
"email"
|
|
3286
3308
|
]).entries,
|
|
3309
|
+
/** The files the message carries; absent when it has none. */
|
|
3310
|
+
attachments: optional(array(hitFile)),
|
|
3287
3311
|
untrusted
|
|
3288
3312
|
}),
|
|
3289
3313
|
"message.summary": pick(message, [
|
|
@@ -3347,6 +3371,7 @@ var ENTITIES = {
|
|
|
3347
3371
|
bot_seen_chat: botSeenChat,
|
|
3348
3372
|
bot_admin: botAdmin,
|
|
3349
3373
|
bot_menu_entry: botMenuEntry,
|
|
3374
|
+
topic_icon: topicIcon,
|
|
3350
3375
|
bot_webhook: botWebhook,
|
|
3351
3376
|
scheduled_job: scheduledJob,
|
|
3352
3377
|
call_record: callRecord,
|
|
@@ -3557,6 +3582,7 @@ export {
|
|
|
3557
3582
|
botSeenChat,
|
|
3558
3583
|
botAdmin,
|
|
3559
3584
|
botMenuEntry,
|
|
3585
|
+
topicIcon,
|
|
3560
3586
|
botWebhook,
|
|
3561
3587
|
scheduledJob,
|
|
3562
3588
|
callRecord,
|