@wirecat/cli-core 0.377.0 → 0.379.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/dist/cli/envelope.d.ts +10 -0
- package/dist/cli/list-query.js +2 -2
- package/dist/cli/meeting-preparation-read.js +5 -5
- package/dist/cli/meeting-series-inventory-read.js +3 -4
- package/dist/cli/messenger/contacts-command.js +1 -1
- package/dist/cli/messenger/stats-command.js +3 -1
- package/dist/context/evidence-response.js +2 -2
- package/dist/context/evidence.d.ts +5 -2
- package/dist/context/evidence.js +21 -6
- package/dist/domain/moment.d.ts +8 -0
- package/dist/domain/moment.js +14 -0
- package/dist/domain/send-time.d.ts +2 -2
- package/dist/domain/send-time.js +4 -3
- package/dist/entities/account-session.d.ts +2 -2
- package/dist/entities/admin-report.d.ts +8 -8
- package/dist/entities/agenda.d.ts +12 -12
- package/dist/entities/chat-event.d.ts +1 -1
- package/dist/entities/chat-stats.d.ts +5 -5
- package/dist/entities/chat.d.ts +4 -4
- package/dist/entities/contact-note.d.ts +2 -2
- package/dist/entities/contact.d.ts +13 -13
- package/dist/entities/conversation.d.ts +3 -3
- package/dist/entities/counter-reading.d.ts +1 -1
- package/dist/entities/counters.d.ts +2 -2
- package/dist/entities/document.d.ts +2 -2
- package/dist/entities/evidence.d.ts +72 -72
- package/dist/entities/fact.d.ts +3 -3
- package/dist/entities/fields.d.ts +3 -1
- package/dist/entities/fields.js +2 -0
- package/dist/entities/hit.d.ts +1 -1
- package/dist/entities/index.d.ts +216 -215
- package/dist/entities/index.js +1 -0
- package/dist/entities/invite-link.d.ts +1 -1
- package/dist/entities/job.d.ts +2 -2
- package/dist/entities/join-request.d.ts +1 -1
- package/dist/entities/meeting-communications.d.ts +4 -4
- package/dist/entities/meeting-findings.d.ts +2 -2
- package/dist/entities/meeting-preparation-parts.d.ts +9 -9
- package/dist/entities/meeting-preparation.d.ts +23 -23
- package/dist/entities/meeting-series-inventory.d.ts +3 -3
- package/dist/entities/member.d.ts +3 -3
- package/dist/entities/memory.d.ts +3 -3
- package/dist/entities/message.d.ts +6 -6
- package/dist/entities/note.d.ts +3 -3
- package/dist/entities/official-stats.d.ts +2 -2
- package/dist/entities/poll-vote.d.ts +1 -1
- package/dist/entities/ranking.d.ts +2 -2
- package/dist/entities/relationship.d.ts +1 -1
- package/dist/entities/retention.d.ts +4 -4
- package/dist/entities/saved-search.d.ts +2 -2
- package/dist/entities/tagging.d.ts +1 -1
- package/dist/entities/task.d.ts +7 -7
- package/dist/entities/topic.d.ts +2 -2
- package/dist/mcp/tools/stats.js +3 -1
- package/dist/meetings/answers.d.ts +14 -14
- package/dist/meetings/cli/index.js +7 -4
- package/dist/meetings/cli/search.js +11 -13
- package/dist/meetings/item.d.ts +4 -4
- package/dist/meetings/project-evidence-answer.d.ts +3 -3
- package/dist/services/admin-statistics.js +2 -2
- package/dist/services/context-evidence.js +1 -0
- package/dist/services/index.d.ts +1 -1
- package/dist/services/meeting-communications-selection.d.ts +1 -0
- package/dist/services/messages-archive-search.js +1 -1
- package/dist/services/moment.d.ts +4 -2
- package/dist/services/moment.js +13 -4
- package/dist/services/project-gathering-request.d.ts +30 -8
- package/dist/services/project-gathering-request.js +61 -8
- package/dist/services/project-gathering.d.ts +5 -2
- package/dist/services/project-gathering.js +11 -5
- package/dist/store/sqlite/context-evidence.js +24 -12
- package/dist/store/sqlite/facts.js +2 -1
- package/package.json +3 -3
package/dist/entities/index.js
CHANGED
|
@@ -149,5 +149,6 @@ export const entityDefinitions = () => Object.fromEntries(Object.entries(ENTITIE
|
|
|
149
149
|
const { $schema: _, ...definition } = jsonSchemaOf(schema);
|
|
150
150
|
return [name, definition];
|
|
151
151
|
}));
|
|
152
|
+
export { zonedTime } from "./fields.js";
|
|
152
153
|
export { meetingFindings } from "./meeting-findings.js";
|
|
153
154
|
export { meetingPreparation } from "./meeting-preparation.js";
|
|
@@ -5,7 +5,7 @@ export declare const inviteLink: v.StrictObjectSchema<{
|
|
|
5
5
|
/** Who joins by it asks first, and an admin lets them in. */
|
|
6
6
|
readonly approval: v.BooleanSchema<undefined>;
|
|
7
7
|
/** `null` when it never expires. */
|
|
8
|
-
readonly expires_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
8
|
+
readonly expires_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
9
9
|
/** `null` for no limit. */
|
|
10
10
|
readonly max_uses: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
11
11
|
/** The group's own link; revoking it makes the messenger issue a new one. */
|
package/dist/entities/job.d.ts
CHANGED
|
@@ -6,8 +6,8 @@ export declare const job: v.StrictObjectSchema<{
|
|
|
6
6
|
readonly chat: v.StringSchema<undefined>;
|
|
7
7
|
readonly state: v.PicklistSchema<readonly ["running", "done", "partial", "failed", "cancelled", "died"], undefined>;
|
|
8
8
|
readonly pid: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
9
|
-
readonly started_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
10
|
-
readonly finished_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
9
|
+
readonly started_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
10
|
+
readonly finished_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
11
11
|
/** Messages fetched so far, or in all once it finished. */
|
|
12
12
|
readonly fetched: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
13
13
|
/** The `--limit` the sync was started with: how many messages it may fetch. */
|
|
@@ -5,7 +5,7 @@ export declare const joinRequest: v.StrictObjectSchema<{
|
|
|
5
5
|
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
6
6
|
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7
7
|
/** `null` where the messenger does not say. */
|
|
8
|
-
readonly requested_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
8
|
+
readonly requested_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
9
9
|
/** The note they sent with the request. */
|
|
10
10
|
readonly about: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
11
11
|
}, undefined>;
|
|
@@ -9,8 +9,8 @@ export declare const preparationCommunications: v.StrictObjectSchema<{
|
|
|
9
9
|
}, undefined>;
|
|
10
10
|
readonly query: v.StringSchema<undefined>;
|
|
11
11
|
readonly window: v.StrictObjectSchema<{
|
|
12
|
-
readonly after: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
13
|
-
readonly before: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
12
|
+
readonly after: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
13
|
+
readonly before: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
14
14
|
}, undefined>;
|
|
15
15
|
readonly selection: v.LiteralSchema<"explicit-host-grants/literal-words", undefined>;
|
|
16
16
|
readonly sources: v.ArraySchema<v.StrictObjectSchema<{
|
|
@@ -42,8 +42,8 @@ export declare const preparationCommunications: v.StrictObjectSchema<{
|
|
|
42
42
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
43
43
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
44
44
|
readonly text: v.StringSchema<undefined>;
|
|
45
|
-
readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
46
|
-
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
45
|
+
readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
46
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
47
47
|
readonly revision: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
48
48
|
readonly time_kind: v.PicklistSchema<["sent", "source-modified", "stored-update"], undefined>;
|
|
49
49
|
readonly text_truncated: v.BooleanSchema<undefined>;
|
|
@@ -31,7 +31,7 @@ export declare const meetingFindings: v.StrictObjectSchema<{
|
|
|
31
31
|
readonly title: v.StringSchema<undefined>;
|
|
32
32
|
readonly reason: v.StringSchema<undefined>;
|
|
33
33
|
readonly commitment: v.PicklistSchema<["explicit", "inferred"], undefined>;
|
|
34
|
-
readonly due_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
34
|
+
readonly due_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
35
35
|
readonly due_evidence: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
|
|
36
36
|
readonly assignee: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
37
37
|
readonly assignee_evidence: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
|
|
@@ -48,7 +48,7 @@ export declare const meetingFindings: v.StrictObjectSchema<{
|
|
|
48
48
|
readonly type: v.PicklistSchema<["person", "bot"], undefined>;
|
|
49
49
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
50
50
|
}, undefined>, undefined>;
|
|
51
|
-
readonly decided_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
51
|
+
readonly decided_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
52
52
|
readonly previous: v.ArraySchema<v.StrictObjectSchema<{
|
|
53
53
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
54
54
|
readonly fingerprint: v.StringSchema<undefined>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as v from "valibot";
|
|
2
2
|
export declare const preparationId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3
3
|
export declare const preparationCount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
4
|
-
export declare const preparationTime: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
4
|
+
export declare const preparationTime: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
5
5
|
export declare const preparationUpcoming: v.StrictObjectSchema<{
|
|
6
6
|
readonly scope: v.StrictObjectSchema<{
|
|
7
7
|
readonly provider: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -9,14 +9,14 @@ export declare const preparationUpcoming: v.StrictObjectSchema<{
|
|
|
9
9
|
}, undefined>;
|
|
10
10
|
readonly meeting_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
11
11
|
readonly kind: v.PicklistSchema<["single", "recurring", "unscheduled", "unknown"], undefined>;
|
|
12
|
-
readonly after: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
13
|
-
readonly until: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
12
|
+
readonly after: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
13
|
+
readonly until: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
14
14
|
readonly timezone: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
15
15
|
readonly verified_next: v.BooleanSchema<undefined>;
|
|
16
16
|
readonly candidate: v.NullableSchema<v.StrictObjectSchema<{
|
|
17
17
|
readonly id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
18
|
-
readonly start_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
19
|
-
readonly end_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
18
|
+
readonly start_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
19
|
+
readonly end_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
20
20
|
readonly status: v.PicklistSchema<["scheduled", "cancelled"], undefined>;
|
|
21
21
|
readonly verified: v.BooleanSchema<undefined>;
|
|
22
22
|
}, undefined>, undefined>;
|
|
@@ -94,7 +94,7 @@ export declare const preparationContext: v.StrictObjectSchema<{
|
|
|
94
94
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
95
95
|
readonly type: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
96
96
|
readonly statement: v.StringSchema<undefined>;
|
|
97
|
-
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
97
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
98
98
|
}, undefined>, undefined>;
|
|
99
99
|
readonly has_more: v.BooleanSchema<undefined>;
|
|
100
100
|
}, undefined>;
|
|
@@ -115,7 +115,7 @@ export declare const preparationMeeting: v.StrictObjectSchema<{
|
|
|
115
115
|
readonly external_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
116
116
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
117
117
|
readonly event_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
118
|
-
readonly started_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
119
|
-
readonly ended_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
120
|
-
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
118
|
+
readonly started_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
119
|
+
readonly ended_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
120
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
121
121
|
}, undefined>;
|
|
@@ -10,8 +10,8 @@ export declare const meetingPreparation: v.StrictObjectSchema<{
|
|
|
10
10
|
}, undefined>;
|
|
11
11
|
readonly query: v.StringSchema<undefined>;
|
|
12
12
|
readonly window: v.StrictObjectSchema<{
|
|
13
|
-
readonly after: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
14
|
-
readonly before: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
13
|
+
readonly after: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
14
|
+
readonly before: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
15
15
|
}, undefined>;
|
|
16
16
|
readonly selection: v.LiteralSchema<"explicit-host-grants/literal-words", undefined>;
|
|
17
17
|
readonly sources: v.ArraySchema<v.StrictObjectSchema<{
|
|
@@ -43,8 +43,8 @@ export declare const meetingPreparation: v.StrictObjectSchema<{
|
|
|
43
43
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
44
44
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
45
45
|
readonly text: v.StringSchema<undefined>;
|
|
46
|
-
readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
47
|
-
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
46
|
+
readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
47
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
48
48
|
readonly revision: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
49
49
|
readonly time_kind: v.PicklistSchema<["sent", "source-modified", "stored-update"], undefined>;
|
|
50
50
|
readonly text_truncated: v.BooleanSchema<undefined>;
|
|
@@ -60,14 +60,14 @@ export declare const meetingPreparation: v.StrictObjectSchema<{
|
|
|
60
60
|
}, undefined>;
|
|
61
61
|
readonly meeting_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
62
62
|
readonly kind: v.PicklistSchema<["single", "recurring", "unscheduled", "unknown"], undefined>;
|
|
63
|
-
readonly after: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
64
|
-
readonly until: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
63
|
+
readonly after: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
64
|
+
readonly until: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
65
65
|
readonly timezone: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
66
66
|
readonly verified_next: v.BooleanSchema<undefined>;
|
|
67
67
|
readonly candidate: v.NullableSchema<v.StrictObjectSchema<{
|
|
68
68
|
readonly id: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
69
|
-
readonly start_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
70
|
-
readonly end_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
69
|
+
readonly start_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
70
|
+
readonly end_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
71
71
|
readonly status: v.PicklistSchema<["scheduled", "cancelled"], undefined>;
|
|
72
72
|
readonly verified: v.BooleanSchema<undefined>;
|
|
73
73
|
}, undefined>, undefined>;
|
|
@@ -86,11 +86,11 @@ export declare const meetingPreparation: v.StrictObjectSchema<{
|
|
|
86
86
|
readonly external_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
87
87
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
88
88
|
readonly event_series_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
89
|
-
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
89
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
90
90
|
}, undefined>, undefined>;
|
|
91
91
|
readonly history_window: v.StrictObjectSchema<{
|
|
92
|
-
readonly after: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
93
|
-
readonly before: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
92
|
+
readonly after: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
93
|
+
readonly before: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
94
94
|
}, undefined>;
|
|
95
95
|
readonly meetings: v.ArraySchema<v.StrictObjectSchema<{
|
|
96
96
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
@@ -99,9 +99,9 @@ export declare const meetingPreparation: v.StrictObjectSchema<{
|
|
|
99
99
|
readonly external_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
100
100
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
101
101
|
readonly event_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
102
|
-
readonly started_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
103
|
-
readonly ended_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
104
|
-
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
102
|
+
readonly started_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
103
|
+
readonly ended_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
104
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
105
105
|
}, undefined>;
|
|
106
106
|
readonly evidence: v.StrictObjectSchema<{
|
|
107
107
|
readonly schema_version: v.LiteralSchema<1, undefined>;
|
|
@@ -167,7 +167,7 @@ export declare const meetingPreparation: v.StrictObjectSchema<{
|
|
|
167
167
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
168
168
|
readonly type: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
169
169
|
readonly statement: v.StringSchema<undefined>;
|
|
170
|
-
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
170
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
171
171
|
}, undefined>, undefined>;
|
|
172
172
|
readonly has_more: v.BooleanSchema<undefined>;
|
|
173
173
|
}, undefined>;
|
|
@@ -193,9 +193,9 @@ export declare const meetingPreparation: v.StrictObjectSchema<{
|
|
|
193
193
|
readonly external_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
194
194
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
195
195
|
readonly event_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
196
|
-
readonly started_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
197
|
-
readonly ended_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
198
|
-
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
196
|
+
readonly started_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
197
|
+
readonly ended_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
198
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
199
199
|
}, undefined>;
|
|
200
200
|
readonly evidence: v.StrictObjectSchema<{
|
|
201
201
|
readonly schema_version: v.LiteralSchema<1, undefined>;
|
|
@@ -252,7 +252,7 @@ export declare const meetingPreparation: v.StrictObjectSchema<{
|
|
|
252
252
|
readonly statement: v.StringSchema<undefined>;
|
|
253
253
|
readonly subject: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
254
254
|
readonly project: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
255
|
-
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
255
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
256
256
|
readonly shared_person: v.BooleanSchema<undefined>;
|
|
257
257
|
readonly shared_project: v.BooleanSchema<undefined>;
|
|
258
258
|
}, undefined>, undefined>;
|
|
@@ -271,7 +271,7 @@ export declare const meetingPreparation: v.StrictObjectSchema<{
|
|
|
271
271
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
272
272
|
readonly text: v.StringSchema<undefined>;
|
|
273
273
|
readonly revision: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
274
|
-
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
274
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
275
275
|
readonly person: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
276
276
|
readonly project: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
277
277
|
readonly meeting: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
|
|
@@ -312,7 +312,7 @@ export declare const meetingPreparation: v.StrictObjectSchema<{
|
|
|
312
312
|
readonly source: v.OptionalSchema<v.StrictObjectSchema<{
|
|
313
313
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
314
314
|
readonly title: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
315
|
-
readonly started_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
315
|
+
readonly started_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
316
316
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
317
317
|
}, undefined>, undefined>;
|
|
318
318
|
}, undefined>, undefined>;
|
|
@@ -325,8 +325,8 @@ export declare const meetingPreparation: v.StrictObjectSchema<{
|
|
|
325
325
|
readonly tag_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
326
326
|
readonly event_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
327
327
|
readonly series_id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
328
|
-
readonly since: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
329
|
-
readonly until: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
328
|
+
readonly since: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
329
|
+
readonly until: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
330
330
|
}, undefined>;
|
|
331
331
|
readonly limits: v.StrictObjectSchema<{
|
|
332
332
|
readonly limit: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
@@ -6,13 +6,13 @@ export declare const meetingSeriesInventory: v.StrictObjectSchema<{
|
|
|
6
6
|
readonly provider: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 1000, undefined>]>;
|
|
7
7
|
readonly account: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 1000, undefined>]>;
|
|
8
8
|
}, undefined>;
|
|
9
|
-
readonly after: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
10
|
-
readonly until: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
9
|
+
readonly after: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
10
|
+
readonly until: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
11
11
|
readonly items: v.ArraySchema<v.StrictObjectSchema<{
|
|
12
12
|
readonly meeting_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 1000, undefined>]>;
|
|
13
13
|
readonly title: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 8192, undefined>]>, undefined>;
|
|
14
14
|
readonly kind: v.PicklistSchema<["single", "recurring", "unscheduled", "unknown"], undefined>;
|
|
15
|
-
readonly scheduled_start_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
15
|
+
readonly scheduled_start_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
16
16
|
}, undefined>, undefined>;
|
|
17
17
|
readonly page: v.VariantSchema<"mode", [v.StrictObjectSchema<{
|
|
18
18
|
readonly mode: v.LiteralSchema<"page", undefined>;
|
|
@@ -6,9 +6,9 @@ export declare const member: v.StrictObjectSchema<{
|
|
|
6
6
|
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7
7
|
readonly role: v.OptionalSchema<v.PicklistSchema<["owner", "admin", "member"], undefined>, undefined>;
|
|
8
8
|
/** `null` when their privacy hides it. */
|
|
9
|
-
readonly last_seen_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
10
|
-
readonly registered_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
11
|
-
readonly joined_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
9
|
+
readonly last_seen_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
|
|
10
|
+
readonly registered_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
|
|
11
|
+
readonly joined_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
|
|
12
12
|
/** Who added them or whose invite they used. */
|
|
13
13
|
readonly invited_by: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
14
14
|
readonly is_bot: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -16,7 +16,7 @@ export declare const memory: v.StrictObjectSchema<{
|
|
|
16
16
|
readonly scope: v.PicklistSchema<readonly ["personal", "work"], undefined>;
|
|
17
17
|
readonly supersedes: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
18
18
|
readonly evidence: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
19
|
-
readonly last_verified_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
20
|
-
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
21
|
-
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
19
|
+
readonly last_verified_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
20
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
21
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
22
22
|
}, undefined>;
|
|
@@ -13,8 +13,8 @@ export declare const message: v.StrictObjectSchema<{
|
|
|
13
13
|
readonly sender_is_chat: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
14
14
|
readonly mentions: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>, undefined>;
|
|
15
15
|
/** When it was sent. */
|
|
16
|
-
readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
17
|
-
readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
16
|
+
readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
17
|
+
readonly edited_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
18
18
|
readonly text: v.StringSchema<undefined>;
|
|
19
19
|
/** What a voice message says, once heard. */
|
|
20
20
|
readonly transcript: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -37,7 +37,7 @@ export declare const message: v.StrictObjectSchema<{
|
|
|
37
37
|
/** The messages around a search hit, or its thread, oldest first; the hit itself is among them. */
|
|
38
38
|
readonly context: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
39
39
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
40
|
-
readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
40
|
+
readonly timestamp: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
41
41
|
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
42
42
|
readonly text: v.StringSchema<undefined>;
|
|
43
43
|
}, undefined>, undefined>, undefined>;
|
|
@@ -72,7 +72,7 @@ export declare const message: v.StrictObjectSchema<{
|
|
|
72
72
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
73
73
|
readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
74
74
|
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
75
|
-
readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
75
|
+
readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
76
76
|
readonly text: v.StringSchema<undefined>;
|
|
77
77
|
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
78
78
|
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
@@ -108,7 +108,7 @@ export declare const message: v.StrictObjectSchema<{
|
|
|
108
108
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
109
109
|
readonly sender_id: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
110
110
|
readonly sender_name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
111
|
-
readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
111
|
+
readonly timestamp: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
112
112
|
readonly text: v.StringSchema<undefined>;
|
|
113
113
|
readonly attachments: v.ArraySchema<v.StrictObjectSchema<{
|
|
114
114
|
readonly message: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>;
|
|
@@ -148,7 +148,7 @@ export declare const message: v.StrictObjectSchema<{
|
|
|
148
148
|
readonly mine: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
149
149
|
readonly total: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
150
150
|
}, undefined>, undefined>, undefined>;
|
|
151
|
-
readonly scheduled_for: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
151
|
+
readonly scheduled_for: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
152
152
|
/** The owner starred it; only where the messenger has stars, and only when set. */
|
|
153
153
|
readonly starred: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
|
|
154
154
|
readonly email: v.OptionalSchema<v.StrictObjectSchema<{
|
package/dist/entities/note.d.ts
CHANGED
|
@@ -19,10 +19,10 @@ export declare const note: v.StrictObjectSchema<{
|
|
|
19
19
|
readonly content_hash: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
20
20
|
/** The file the note was exported to, where that is known; null otherwise. */
|
|
21
21
|
readonly export_path: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
22
|
-
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
22
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
23
23
|
/** When the store's copy last changed. */
|
|
24
|
-
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
25
|
-
readonly deleted_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
24
|
+
readonly updated_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
25
|
+
readonly deleted_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
|
|
26
26
|
readonly tags: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
27
27
|
/** The first line holding a word of a search. */
|
|
28
28
|
readonly excerpt: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -4,8 +4,8 @@ export declare const officialStats: v.StrictObjectSchema<{
|
|
|
4
4
|
readonly chat_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
5
5
|
readonly title: v.StringSchema<undefined>;
|
|
6
6
|
readonly kind: v.PicklistSchema<["group", "channel"], undefined>;
|
|
7
|
-
readonly since: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
8
|
-
readonly until: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
7
|
+
readonly since: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
8
|
+
readonly until: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
9
9
|
readonly totals: v.RecordSchema<v.StringSchema<undefined>, v.StrictObjectSchema<{
|
|
10
10
|
readonly current: v.NumberSchema<undefined>;
|
|
11
11
|
readonly previous: v.NumberSchema<undefined>;
|
|
@@ -6,5 +6,5 @@ export declare const pollVote: v.StrictObjectSchema<{
|
|
|
6
6
|
readonly username: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
7
7
|
/** Answer ids, as `polls show` prints them. */
|
|
8
8
|
readonly answers: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
9
|
-
readonly voted_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
9
|
+
readonly voted_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
10
10
|
}, undefined>;
|
|
@@ -31,7 +31,7 @@ export declare const rankingRow: v.StrictObjectSchema<{
|
|
|
31
31
|
readonly counters: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
32
32
|
readonly counter: v.PicklistSchema<["views", "reactions", "comments"], undefined>;
|
|
33
33
|
readonly value: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
34
|
-
readonly observed_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
34
|
+
readonly observed_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
35
35
|
readonly source: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
36
36
|
readonly age_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
37
37
|
readonly freshness: v.PicklistSchema<["fresh", "stale", "unknown"], undefined>;
|
|
@@ -92,7 +92,7 @@ export declare const ranking: v.StrictObjectSchema<{
|
|
|
92
92
|
readonly counters: v.OptionalSchema<v.ArraySchema<v.StrictObjectSchema<{
|
|
93
93
|
readonly counter: v.PicklistSchema<["views", "reactions", "comments"], undefined>;
|
|
94
94
|
readonly value: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
95
|
-
readonly observed_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
95
|
+
readonly observed_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
96
96
|
readonly source: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
97
97
|
readonly age_ms: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
98
98
|
readonly freshness: v.PicklistSchema<["fresh", "stale", "unknown"], undefined>;
|
|
@@ -11,5 +11,5 @@ export declare const relationship: v.StrictObjectSchema<{
|
|
|
11
11
|
readonly confirmed: v.BooleanSchema<undefined>;
|
|
12
12
|
readonly provenance: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
13
13
|
readonly confidence_category: v.PicklistSchema<["owner-confirmed", "weak"], undefined>;
|
|
14
|
-
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
14
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
15
15
|
}, undefined>;
|
|
@@ -30,9 +30,9 @@ export declare const retentionCohort: v.StrictObjectSchema<{
|
|
|
30
30
|
/** Who of those who joined a chat in a period is still there at each checkpoint, by joining cohort. */
|
|
31
31
|
export declare const retention: v.StrictObjectSchema<{
|
|
32
32
|
readonly chat_ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
33
|
-
readonly cutoff: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
34
|
-
readonly since: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
35
|
-
readonly until: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
33
|
+
readonly cutoff: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
34
|
+
readonly since: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
35
|
+
readonly until: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
36
36
|
readonly checkpoints_ms: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
37
37
|
readonly within_ms: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
38
38
|
readonly by: v.PicklistSchema<["day", "week"], undefined>;
|
|
@@ -49,7 +49,7 @@ export declare const retention: v.StrictObjectSchema<{
|
|
|
49
49
|
readonly up_to_date: v.NullableSchema<v.BooleanSchema<undefined>, undefined>;
|
|
50
50
|
readonly gaps: v.BooleanSchema<undefined>;
|
|
51
51
|
readonly reaches_start: v.BooleanSchema<undefined>;
|
|
52
|
-
readonly fetched_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
52
|
+
readonly fetched_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
53
53
|
}, undefined>, undefined>;
|
|
54
54
|
readonly continuous_survival: v.BooleanSchema<undefined>;
|
|
55
55
|
readonly group_silent_rate: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
@@ -10,7 +10,7 @@ export declare const savedSearch: v.StrictObjectSchema<{
|
|
|
10
10
|
readonly language: v.StringSchema<undefined>;
|
|
11
11
|
readonly version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
12
12
|
readonly fields_version: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
13
|
-
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
14
|
-
readonly last_run_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
13
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
14
|
+
readonly last_run_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
15
15
|
readonly runs: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
16
16
|
}, undefined>;
|
|
@@ -9,5 +9,5 @@ export declare const tagging: v.StrictObjectSchema<{
|
|
|
9
9
|
readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
10
10
|
/** Who claims it: `manual` the owner, `auto` the keyword rules; both when both do. */
|
|
11
11
|
readonly sources: v.ArraySchema<v.PicklistSchema<["manual", "auto"], undefined>, undefined>;
|
|
12
|
-
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
12
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
13
13
|
}, undefined>;
|
package/dist/entities/task.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export declare const closeSuggestion: v.StrictObjectSchema<{
|
|
|
6
6
|
/** 0–1, as the agent rated it. */
|
|
7
7
|
readonly certainty: v.NumberSchema<undefined>;
|
|
8
8
|
readonly reason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
9
|
-
readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
9
|
+
readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
10
10
|
}, undefined>;
|
|
11
11
|
export declare const task: v.StrictObjectSchema<{
|
|
12
12
|
readonly ref: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>;
|
|
@@ -26,14 +26,14 @@ export declare const task: v.StrictObjectSchema<{
|
|
|
26
26
|
readonly source_message: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
|
|
27
27
|
readonly priority: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
28
28
|
readonly parent: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "a reference such as `note:42`">]>, undefined>, undefined>;
|
|
29
|
-
readonly due_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
30
|
-
readonly closed_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
29
|
+
readonly due_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
|
|
30
|
+
readonly closed_at: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
|
|
31
31
|
readonly reason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
32
32
|
/** One name from the category list (`tasks categories`). */
|
|
33
33
|
readonly category: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
34
34
|
/** Who works on it now, and until when; null when nobody does. */
|
|
35
35
|
readonly claimed_by: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
36
|
-
readonly claimed_until: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
36
|
+
readonly claimed_until: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>, undefined>;
|
|
37
37
|
/** The close an agent would make, waiting on the owner: `tasks close` confirms it, `tasks reject` refuses it. */
|
|
38
38
|
readonly close_suggestion: v.OptionalSchema<v.NullableSchema<v.StrictObjectSchema<{
|
|
39
39
|
readonly as: v.PicklistSchema<["done", "dismissed"], undefined>;
|
|
@@ -42,8 +42,8 @@ export declare const task: v.StrictObjectSchema<{
|
|
|
42
42
|
/** 0–1, as the agent rated it. */
|
|
43
43
|
readonly certainty: v.NumberSchema<undefined>;
|
|
44
44
|
readonly reason: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
45
|
-
readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
45
|
+
readonly at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
46
46
|
}, undefined>, undefined>, undefined>;
|
|
47
|
-
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
48
|
-
readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
47
|
+
readonly created_at: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>;
|
|
48
|
+
readonly updated_at: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
49
49
|
}, undefined>;
|
package/dist/entities/topic.d.ts
CHANGED
|
@@ -8,6 +8,6 @@ export declare const topic: v.StrictObjectSchema<{
|
|
|
8
8
|
/** The General topic only, where the messenger says. */
|
|
9
9
|
readonly hidden: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
10
10
|
readonly unread_count: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
11
|
-
readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
12
|
-
readonly created_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time
|
|
11
|
+
readonly last_message_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
12
|
+
readonly created_at: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IsoTimestampAction<string, "an ISO 8601 time in UTC">, v.EndsWithAction<string, "Z", "an ISO 8601 time in UTC, ending in `Z`">]>, undefined>;
|
|
13
13
|
}, undefined>;
|
package/dist/mcp/tools/stats.js
CHANGED
|
@@ -32,7 +32,9 @@ export const statsTools = (messenger) => ({
|
|
|
32
32
|
const stats = await servicesFor(storedDeps(messenger, store, account, defaults.guard)).chats.stats(args.chat, {
|
|
33
33
|
by,
|
|
34
34
|
timezone,
|
|
35
|
-
...(args.since_time === undefined
|
|
35
|
+
...(args.since_time === undefined
|
|
36
|
+
? {}
|
|
37
|
+
: { since: momentOf(args.since_time, "since_time", Date.now(), { zone: timezone }) }),
|
|
36
38
|
});
|
|
37
39
|
const chart = chatChart(stats, { kind: args.chart_kind ?? "messages", by, timezone });
|
|
38
40
|
if (args.format !== "png")
|