@swiss-ai-hub/web 0.315.0 → 0.315.2
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/components/Agent/Card.vue +8 -0
- package/package.json +1 -1
- package/sdk/client/index.ts +11 -0
- package/sdk/client/schemas.gen.ts +842 -3
- package/sdk/client/types.gen.ts +593 -2
package/sdk/client/types.gen.ts
CHANGED
|
@@ -3869,7 +3869,11 @@ export type ContextualizedAgentEvent = {
|
|
|
3869
3869
|
| BaseStoreMemoryEvent
|
|
3870
3870
|
| RetrieveOrganizationMemoryEvent
|
|
3871
3871
|
| RetrieveUserMemoryEvent
|
|
3872
|
-
| StoreOrganizationMemoryEvent
|
|
3872
|
+
| StoreOrganizationMemoryEvent
|
|
3873
|
+
| UnreadMailListedEvent
|
|
3874
|
+
| MailFetchedEvent
|
|
3875
|
+
| MailMovedEvent
|
|
3876
|
+
| MailBatchDraftedEvent;
|
|
3873
3877
|
};
|
|
3874
3878
|
|
|
3875
3879
|
/**
|
|
@@ -5009,6 +5013,50 @@ export type DocumentUploadValidationResponse = {
|
|
|
5009
5013
|
container: string;
|
|
5010
5014
|
};
|
|
5011
5015
|
|
|
5016
|
+
/**
|
|
5017
|
+
* DraftedReplyRef
|
|
5018
|
+
*
|
|
5019
|
+
* A single reply draft produced during a batch drafting run — one per source message.
|
|
5020
|
+
*/
|
|
5021
|
+
export type DraftedReplyRef = {
|
|
5022
|
+
/**
|
|
5023
|
+
* Source Uid
|
|
5024
|
+
*
|
|
5025
|
+
* IMAP UID of the source message within the source folder.
|
|
5026
|
+
*/
|
|
5027
|
+
source_uid: string;
|
|
5028
|
+
/**
|
|
5029
|
+
* Drafts Folder
|
|
5030
|
+
*
|
|
5031
|
+
* Folder the draft was appended to.
|
|
5032
|
+
*/
|
|
5033
|
+
drafts_folder: string;
|
|
5034
|
+
/**
|
|
5035
|
+
* Draft Uid
|
|
5036
|
+
*
|
|
5037
|
+
* IMAP UID assigned to the appended draft when the server reports APPENDUID.
|
|
5038
|
+
*/
|
|
5039
|
+
draft_uid?: string | null;
|
|
5040
|
+
/**
|
|
5041
|
+
* In Reply To
|
|
5042
|
+
*
|
|
5043
|
+
* RFC Message-ID of the original message this draft replies to.
|
|
5044
|
+
*/
|
|
5045
|
+
in_reply_to?: string | null;
|
|
5046
|
+
/**
|
|
5047
|
+
* Subject
|
|
5048
|
+
*
|
|
5049
|
+
* Subject of the draft reply.
|
|
5050
|
+
*/
|
|
5051
|
+
subject: string;
|
|
5052
|
+
/**
|
|
5053
|
+
* Recipient
|
|
5054
|
+
*
|
|
5055
|
+
* Recipient the draft reply is addressed to.
|
|
5056
|
+
*/
|
|
5057
|
+
recipient: string;
|
|
5058
|
+
};
|
|
5059
|
+
|
|
5012
5060
|
/**
|
|
5013
5061
|
* EdgeData
|
|
5014
5062
|
*
|
|
@@ -9186,6 +9234,254 @@ export type Logprob = {
|
|
|
9186
9234
|
[key: string]: unknown;
|
|
9187
9235
|
};
|
|
9188
9236
|
|
|
9237
|
+
/**
|
|
9238
|
+
* MailAttachmentRef
|
|
9239
|
+
*
|
|
9240
|
+
* Reference to a fetched mail attachment whose bytes are stored in S3, not carried in the event.
|
|
9241
|
+
*
|
|
9242
|
+
* Mirrors ``UserUploadedFile``: attachments are referenced by ``file_id`` (the S3 object key within the
|
|
9243
|
+
* agent's dedicated bucket) so large binaries never bloat the persisted/streamed event.
|
|
9244
|
+
*/
|
|
9245
|
+
export type MailAttachmentRef = {
|
|
9246
|
+
/**
|
|
9247
|
+
* Filename
|
|
9248
|
+
*
|
|
9249
|
+
* Original attachment filename, including extension. Must not contain path separators.
|
|
9250
|
+
*/
|
|
9251
|
+
filename: string;
|
|
9252
|
+
/**
|
|
9253
|
+
* Content Type
|
|
9254
|
+
*
|
|
9255
|
+
* MIME type of the attachment.
|
|
9256
|
+
*/
|
|
9257
|
+
content_type: string;
|
|
9258
|
+
/**
|
|
9259
|
+
* File Id
|
|
9260
|
+
*
|
|
9261
|
+
* UUID4 file identifier; the S3 object key is derived from the agent identity at runtime.
|
|
9262
|
+
*/
|
|
9263
|
+
file_id: string;
|
|
9264
|
+
/**
|
|
9265
|
+
* Size Bytes
|
|
9266
|
+
*
|
|
9267
|
+
* Size of the stored attachment in bytes.
|
|
9268
|
+
*/
|
|
9269
|
+
size_bytes: number;
|
|
9270
|
+
};
|
|
9271
|
+
|
|
9272
|
+
/**
|
|
9273
|
+
* MailBatchDraftedEvent
|
|
9274
|
+
*
|
|
9275
|
+
* Records that a batch of reply drafts was appended to the Drafts folder for a human to review and send.
|
|
9276
|
+
*
|
|
9277
|
+
* The agent never sends — the drafts sitting in Drafts are the human handoff. Each source message is left unread and
|
|
9278
|
+
* marked as drafted so it is not drafted again on the next run.
|
|
9279
|
+
*/
|
|
9280
|
+
export type MailBatchDraftedEvent = {
|
|
9281
|
+
/**
|
|
9282
|
+
* Event Id
|
|
9283
|
+
*/
|
|
9284
|
+
event_id?: string;
|
|
9285
|
+
/**
|
|
9286
|
+
* Created At
|
|
9287
|
+
*
|
|
9288
|
+
* The time (in ns since epoch) the event was stored in the event store
|
|
9289
|
+
*/
|
|
9290
|
+
created_at?: number;
|
|
9291
|
+
/**
|
|
9292
|
+
* Display name for the event
|
|
9293
|
+
*/
|
|
9294
|
+
display_name?: LocaleString | null;
|
|
9295
|
+
/**
|
|
9296
|
+
* Display description for the event
|
|
9297
|
+
*/
|
|
9298
|
+
display_description?: LocaleString | null;
|
|
9299
|
+
/**
|
|
9300
|
+
* Source Folder
|
|
9301
|
+
*
|
|
9302
|
+
* Folder the drafted messages were read from.
|
|
9303
|
+
*/
|
|
9304
|
+
source_folder: string;
|
|
9305
|
+
/**
|
|
9306
|
+
* Count
|
|
9307
|
+
*
|
|
9308
|
+
* Number of reply drafts created in this run.
|
|
9309
|
+
*/
|
|
9310
|
+
count: number;
|
|
9311
|
+
/**
|
|
9312
|
+
* Drafted
|
|
9313
|
+
*
|
|
9314
|
+
* Per-message references to the created reply drafts.
|
|
9315
|
+
*/
|
|
9316
|
+
drafted?: Array<DraftedReplyRef>;
|
|
9317
|
+
/**
|
|
9318
|
+
* Event Name
|
|
9319
|
+
*
|
|
9320
|
+
* The event type name, usually the class name. If unknown, uses _unknown_event_name.
|
|
9321
|
+
* Used during deserialization to decide which subclass to instantiate.
|
|
9322
|
+
*/
|
|
9323
|
+
readonly _event_name: string;
|
|
9324
|
+
/**
|
|
9325
|
+
* Parent Event Names
|
|
9326
|
+
*
|
|
9327
|
+
* Contains the names of all parent classes up until BaseEvent, ordered from deepest to least deep inheritance.
|
|
9328
|
+
*/
|
|
9329
|
+
readonly _parent_event_names: Array<string>;
|
|
9330
|
+
[key: string]: unknown;
|
|
9331
|
+
};
|
|
9332
|
+
|
|
9333
|
+
/**
|
|
9334
|
+
* MailFetchedEvent
|
|
9335
|
+
*
|
|
9336
|
+
* Carries a single fetched message — headers, body, and references to its stored attachments.
|
|
9337
|
+
*/
|
|
9338
|
+
export type MailFetchedEvent = {
|
|
9339
|
+
/**
|
|
9340
|
+
* Event Id
|
|
9341
|
+
*/
|
|
9342
|
+
event_id?: string;
|
|
9343
|
+
/**
|
|
9344
|
+
* Created At
|
|
9345
|
+
*
|
|
9346
|
+
* The time (in ns since epoch) the event was stored in the event store
|
|
9347
|
+
*/
|
|
9348
|
+
created_at?: number;
|
|
9349
|
+
/**
|
|
9350
|
+
* Display name for the event
|
|
9351
|
+
*/
|
|
9352
|
+
display_name?: LocaleString | null;
|
|
9353
|
+
/**
|
|
9354
|
+
* Display description for the event
|
|
9355
|
+
*/
|
|
9356
|
+
display_description?: LocaleString | null;
|
|
9357
|
+
/**
|
|
9358
|
+
* Message Id
|
|
9359
|
+
*
|
|
9360
|
+
* IMAP UID of the fetched message within the inbox folder.
|
|
9361
|
+
*/
|
|
9362
|
+
message_id: string;
|
|
9363
|
+
/**
|
|
9364
|
+
* Sender
|
|
9365
|
+
*
|
|
9366
|
+
* Raw From header of the message.
|
|
9367
|
+
*/
|
|
9368
|
+
sender: string;
|
|
9369
|
+
/**
|
|
9370
|
+
* Subject
|
|
9371
|
+
*
|
|
9372
|
+
* Subject header of the message.
|
|
9373
|
+
*/
|
|
9374
|
+
subject: string;
|
|
9375
|
+
/**
|
|
9376
|
+
* Date
|
|
9377
|
+
*
|
|
9378
|
+
* Date header of the message, if parseable.
|
|
9379
|
+
*/
|
|
9380
|
+
date?: Date | null;
|
|
9381
|
+
/**
|
|
9382
|
+
* Body Text
|
|
9383
|
+
*
|
|
9384
|
+
* Plain-text body of the message, if present.
|
|
9385
|
+
*/
|
|
9386
|
+
body_text?: string | null;
|
|
9387
|
+
/**
|
|
9388
|
+
* Rfc Message Id
|
|
9389
|
+
*
|
|
9390
|
+
* RFC Message-ID header of the message — used to thread a reply draft.
|
|
9391
|
+
*/
|
|
9392
|
+
rfc_message_id?: string | null;
|
|
9393
|
+
/**
|
|
9394
|
+
* References
|
|
9395
|
+
*
|
|
9396
|
+
* RFC References header of the message, if present.
|
|
9397
|
+
*/
|
|
9398
|
+
references?: string | null;
|
|
9399
|
+
/**
|
|
9400
|
+
* Reply To
|
|
9401
|
+
*
|
|
9402
|
+
* Reply-To header of the message, if present.
|
|
9403
|
+
*/
|
|
9404
|
+
reply_to?: string | null;
|
|
9405
|
+
/**
|
|
9406
|
+
* Attachments
|
|
9407
|
+
*
|
|
9408
|
+
* References to the message's attachments stored in S3.
|
|
9409
|
+
*/
|
|
9410
|
+
attachments?: Array<MailAttachmentRef>;
|
|
9411
|
+
/**
|
|
9412
|
+
* Event Name
|
|
9413
|
+
*
|
|
9414
|
+
* The event type name, usually the class name. If unknown, uses _unknown_event_name.
|
|
9415
|
+
* Used during deserialization to decide which subclass to instantiate.
|
|
9416
|
+
*/
|
|
9417
|
+
readonly _event_name: string;
|
|
9418
|
+
/**
|
|
9419
|
+
* Parent Event Names
|
|
9420
|
+
*
|
|
9421
|
+
* Contains the names of all parent classes up until BaseEvent, ordered from deepest to least deep inheritance.
|
|
9422
|
+
*/
|
|
9423
|
+
readonly _parent_event_names: Array<string>;
|
|
9424
|
+
[key: string]: unknown;
|
|
9425
|
+
};
|
|
9426
|
+
|
|
9427
|
+
/**
|
|
9428
|
+
* MailMovedEvent
|
|
9429
|
+
*
|
|
9430
|
+
* Records that a message was moved from its source folder into a target folder on the IMAP server.
|
|
9431
|
+
*/
|
|
9432
|
+
export type MailMovedEvent = {
|
|
9433
|
+
/**
|
|
9434
|
+
* Event Id
|
|
9435
|
+
*/
|
|
9436
|
+
event_id?: string;
|
|
9437
|
+
/**
|
|
9438
|
+
* Created At
|
|
9439
|
+
*
|
|
9440
|
+
* The time (in ns since epoch) the event was stored in the event store
|
|
9441
|
+
*/
|
|
9442
|
+
created_at?: number;
|
|
9443
|
+
/**
|
|
9444
|
+
* Display name for the event
|
|
9445
|
+
*/
|
|
9446
|
+
display_name?: LocaleString | null;
|
|
9447
|
+
/**
|
|
9448
|
+
* Display description for the event
|
|
9449
|
+
*/
|
|
9450
|
+
display_description?: LocaleString | null;
|
|
9451
|
+
/**
|
|
9452
|
+
* Message Id
|
|
9453
|
+
*
|
|
9454
|
+
* IMAP UID of the moved message within its source folder.
|
|
9455
|
+
*/
|
|
9456
|
+
message_id: string;
|
|
9457
|
+
/**
|
|
9458
|
+
* Source Folder
|
|
9459
|
+
*
|
|
9460
|
+
* Folder the message was moved out of.
|
|
9461
|
+
*/
|
|
9462
|
+
source_folder: string;
|
|
9463
|
+
/**
|
|
9464
|
+
* Target Folder
|
|
9465
|
+
*
|
|
9466
|
+
* Folder the message was moved into.
|
|
9467
|
+
*/
|
|
9468
|
+
target_folder: string;
|
|
9469
|
+
/**
|
|
9470
|
+
* Event Name
|
|
9471
|
+
*
|
|
9472
|
+
* The event type name, usually the class name. If unknown, uses _unknown_event_name.
|
|
9473
|
+
* Used during deserialization to decide which subclass to instantiate.
|
|
9474
|
+
*/
|
|
9475
|
+
readonly _event_name: string;
|
|
9476
|
+
/**
|
|
9477
|
+
* Parent Event Names
|
|
9478
|
+
*
|
|
9479
|
+
* Contains the names of all parent classes up until BaseEvent, ordered from deepest to least deep inheritance.
|
|
9480
|
+
*/
|
|
9481
|
+
readonly _parent_event_names: Array<string>;
|
|
9482
|
+
[key: string]: unknown;
|
|
9483
|
+
};
|
|
9484
|
+
|
|
9189
9485
|
/**
|
|
9190
9486
|
* MemoriesResponse
|
|
9191
9487
|
*
|
|
@@ -15121,6 +15417,90 @@ export type TranslationResponse = {
|
|
|
15121
15417
|
translated: LocaleString;
|
|
15122
15418
|
};
|
|
15123
15419
|
|
|
15420
|
+
/**
|
|
15421
|
+
* UnreadMailListedEvent
|
|
15422
|
+
*
|
|
15423
|
+
* Carries the unread messages found in the configured inbox folder.
|
|
15424
|
+
*/
|
|
15425
|
+
export type UnreadMailListedEvent = {
|
|
15426
|
+
/**
|
|
15427
|
+
* Event Id
|
|
15428
|
+
*/
|
|
15429
|
+
event_id?: string;
|
|
15430
|
+
/**
|
|
15431
|
+
* Created At
|
|
15432
|
+
*
|
|
15433
|
+
* The time (in ns since epoch) the event was stored in the event store
|
|
15434
|
+
*/
|
|
15435
|
+
created_at?: number;
|
|
15436
|
+
/**
|
|
15437
|
+
* Display name for the event
|
|
15438
|
+
*/
|
|
15439
|
+
display_name?: LocaleString | null;
|
|
15440
|
+
/**
|
|
15441
|
+
* Display description for the event
|
|
15442
|
+
*/
|
|
15443
|
+
display_description?: LocaleString | null;
|
|
15444
|
+
/**
|
|
15445
|
+
* Messages
|
|
15446
|
+
*
|
|
15447
|
+
* Header summaries of the unread messages in the inbox.
|
|
15448
|
+
*/
|
|
15449
|
+
messages?: Array<UnreadMailSummary>;
|
|
15450
|
+
/**
|
|
15451
|
+
* Event Name
|
|
15452
|
+
*
|
|
15453
|
+
* The event type name, usually the class name. If unknown, uses _unknown_event_name.
|
|
15454
|
+
* Used during deserialization to decide which subclass to instantiate.
|
|
15455
|
+
*/
|
|
15456
|
+
readonly _event_name: string;
|
|
15457
|
+
/**
|
|
15458
|
+
* Parent Event Names
|
|
15459
|
+
*
|
|
15460
|
+
* Contains the names of all parent classes up until BaseEvent, ordered from deepest to least deep inheritance.
|
|
15461
|
+
*/
|
|
15462
|
+
readonly _parent_event_names: Array<string>;
|
|
15463
|
+
[key: string]: unknown;
|
|
15464
|
+
};
|
|
15465
|
+
|
|
15466
|
+
/**
|
|
15467
|
+
* UnreadMailSummary
|
|
15468
|
+
*
|
|
15469
|
+
* Lightweight header summary of one unread message — enough for an agent to decide what to fetch.
|
|
15470
|
+
*/
|
|
15471
|
+
export type UnreadMailSummary = {
|
|
15472
|
+
/**
|
|
15473
|
+
* Message Id
|
|
15474
|
+
*
|
|
15475
|
+
* IMAP UID of the message within the inbox folder — stable across connections.
|
|
15476
|
+
*/
|
|
15477
|
+
message_id: string;
|
|
15478
|
+
/**
|
|
15479
|
+
* Sender
|
|
15480
|
+
*
|
|
15481
|
+
* Raw From header of the message.
|
|
15482
|
+
*/
|
|
15483
|
+
sender: string;
|
|
15484
|
+
/**
|
|
15485
|
+
* Subject
|
|
15486
|
+
*
|
|
15487
|
+
* Subject header of the message.
|
|
15488
|
+
*/
|
|
15489
|
+
subject: string;
|
|
15490
|
+
/**
|
|
15491
|
+
* Date
|
|
15492
|
+
*
|
|
15493
|
+
* Date header of the message, if parseable.
|
|
15494
|
+
*/
|
|
15495
|
+
date?: Date | null;
|
|
15496
|
+
/**
|
|
15497
|
+
* Flags
|
|
15498
|
+
*
|
|
15499
|
+
* IMAP flags set on the message.
|
|
15500
|
+
*/
|
|
15501
|
+
flags?: Array<string>;
|
|
15502
|
+
};
|
|
15503
|
+
|
|
15124
15504
|
/**
|
|
15125
15505
|
* UpdateAgentInstanceDTO
|
|
15126
15506
|
*
|
|
@@ -17886,7 +18266,11 @@ export type ContextualizedAgentEventWritable = {
|
|
|
17886
18266
|
| BaseStoreMemoryEventWritable
|
|
17887
18267
|
| RetrieveOrganizationMemoryEventWritable
|
|
17888
18268
|
| RetrieveUserMemoryEventWritable
|
|
17889
|
-
| StoreOrganizationMemoryEventWritable
|
|
18269
|
+
| StoreOrganizationMemoryEventWritable
|
|
18270
|
+
| UnreadMailListedEventWritable
|
|
18271
|
+
| MailFetchedEventWritable
|
|
18272
|
+
| MailMovedEventWritable
|
|
18273
|
+
| MailBatchDraftedEventWritable;
|
|
17890
18274
|
};
|
|
17891
18275
|
|
|
17892
18276
|
/**
|
|
@@ -20948,6 +21332,180 @@ export type LocaleInputWritable = {
|
|
|
20948
21332
|
[key: string]: unknown;
|
|
20949
21333
|
};
|
|
20950
21334
|
|
|
21335
|
+
/**
|
|
21336
|
+
* MailBatchDraftedEvent
|
|
21337
|
+
*
|
|
21338
|
+
* Records that a batch of reply drafts was appended to the Drafts folder for a human to review and send.
|
|
21339
|
+
*
|
|
21340
|
+
* The agent never sends — the drafts sitting in Drafts are the human handoff. Each source message is left unread and
|
|
21341
|
+
* marked as drafted so it is not drafted again on the next run.
|
|
21342
|
+
*/
|
|
21343
|
+
export type MailBatchDraftedEventWritable = {
|
|
21344
|
+
/**
|
|
21345
|
+
* Event Id
|
|
21346
|
+
*/
|
|
21347
|
+
event_id?: string;
|
|
21348
|
+
/**
|
|
21349
|
+
* Created At
|
|
21350
|
+
*
|
|
21351
|
+
* The time (in ns since epoch) the event was stored in the event store
|
|
21352
|
+
*/
|
|
21353
|
+
created_at?: number;
|
|
21354
|
+
/**
|
|
21355
|
+
* Display name for the event
|
|
21356
|
+
*/
|
|
21357
|
+
display_name?: LocaleString | null;
|
|
21358
|
+
/**
|
|
21359
|
+
* Display description for the event
|
|
21360
|
+
*/
|
|
21361
|
+
display_description?: LocaleString | null;
|
|
21362
|
+
/**
|
|
21363
|
+
* Source Folder
|
|
21364
|
+
*
|
|
21365
|
+
* Folder the drafted messages were read from.
|
|
21366
|
+
*/
|
|
21367
|
+
source_folder: string;
|
|
21368
|
+
/**
|
|
21369
|
+
* Count
|
|
21370
|
+
*
|
|
21371
|
+
* Number of reply drafts created in this run.
|
|
21372
|
+
*/
|
|
21373
|
+
count: number;
|
|
21374
|
+
/**
|
|
21375
|
+
* Drafted
|
|
21376
|
+
*
|
|
21377
|
+
* Per-message references to the created reply drafts.
|
|
21378
|
+
*/
|
|
21379
|
+
drafted?: Array<DraftedReplyRef>;
|
|
21380
|
+
[key: string]: unknown;
|
|
21381
|
+
};
|
|
21382
|
+
|
|
21383
|
+
/**
|
|
21384
|
+
* MailFetchedEvent
|
|
21385
|
+
*
|
|
21386
|
+
* Carries a single fetched message — headers, body, and references to its stored attachments.
|
|
21387
|
+
*/
|
|
21388
|
+
export type MailFetchedEventWritable = {
|
|
21389
|
+
/**
|
|
21390
|
+
* Event Id
|
|
21391
|
+
*/
|
|
21392
|
+
event_id?: string;
|
|
21393
|
+
/**
|
|
21394
|
+
* Created At
|
|
21395
|
+
*
|
|
21396
|
+
* The time (in ns since epoch) the event was stored in the event store
|
|
21397
|
+
*/
|
|
21398
|
+
created_at?: number;
|
|
21399
|
+
/**
|
|
21400
|
+
* Display name for the event
|
|
21401
|
+
*/
|
|
21402
|
+
display_name?: LocaleString | null;
|
|
21403
|
+
/**
|
|
21404
|
+
* Display description for the event
|
|
21405
|
+
*/
|
|
21406
|
+
display_description?: LocaleString | null;
|
|
21407
|
+
/**
|
|
21408
|
+
* Message Id
|
|
21409
|
+
*
|
|
21410
|
+
* IMAP UID of the fetched message within the inbox folder.
|
|
21411
|
+
*/
|
|
21412
|
+
message_id: string;
|
|
21413
|
+
/**
|
|
21414
|
+
* Sender
|
|
21415
|
+
*
|
|
21416
|
+
* Raw From header of the message.
|
|
21417
|
+
*/
|
|
21418
|
+
sender: string;
|
|
21419
|
+
/**
|
|
21420
|
+
* Subject
|
|
21421
|
+
*
|
|
21422
|
+
* Subject header of the message.
|
|
21423
|
+
*/
|
|
21424
|
+
subject: string;
|
|
21425
|
+
/**
|
|
21426
|
+
* Date
|
|
21427
|
+
*
|
|
21428
|
+
* Date header of the message, if parseable.
|
|
21429
|
+
*/
|
|
21430
|
+
date?: Date | null;
|
|
21431
|
+
/**
|
|
21432
|
+
* Body Text
|
|
21433
|
+
*
|
|
21434
|
+
* Plain-text body of the message, if present.
|
|
21435
|
+
*/
|
|
21436
|
+
body_text?: string | null;
|
|
21437
|
+
/**
|
|
21438
|
+
* Rfc Message Id
|
|
21439
|
+
*
|
|
21440
|
+
* RFC Message-ID header of the message — used to thread a reply draft.
|
|
21441
|
+
*/
|
|
21442
|
+
rfc_message_id?: string | null;
|
|
21443
|
+
/**
|
|
21444
|
+
* References
|
|
21445
|
+
*
|
|
21446
|
+
* RFC References header of the message, if present.
|
|
21447
|
+
*/
|
|
21448
|
+
references?: string | null;
|
|
21449
|
+
/**
|
|
21450
|
+
* Reply To
|
|
21451
|
+
*
|
|
21452
|
+
* Reply-To header of the message, if present.
|
|
21453
|
+
*/
|
|
21454
|
+
reply_to?: string | null;
|
|
21455
|
+
/**
|
|
21456
|
+
* Attachments
|
|
21457
|
+
*
|
|
21458
|
+
* References to the message's attachments stored in S3.
|
|
21459
|
+
*/
|
|
21460
|
+
attachments?: Array<MailAttachmentRef>;
|
|
21461
|
+
[key: string]: unknown;
|
|
21462
|
+
};
|
|
21463
|
+
|
|
21464
|
+
/**
|
|
21465
|
+
* MailMovedEvent
|
|
21466
|
+
*
|
|
21467
|
+
* Records that a message was moved from its source folder into a target folder on the IMAP server.
|
|
21468
|
+
*/
|
|
21469
|
+
export type MailMovedEventWritable = {
|
|
21470
|
+
/**
|
|
21471
|
+
* Event Id
|
|
21472
|
+
*/
|
|
21473
|
+
event_id?: string;
|
|
21474
|
+
/**
|
|
21475
|
+
* Created At
|
|
21476
|
+
*
|
|
21477
|
+
* The time (in ns since epoch) the event was stored in the event store
|
|
21478
|
+
*/
|
|
21479
|
+
created_at?: number;
|
|
21480
|
+
/**
|
|
21481
|
+
* Display name for the event
|
|
21482
|
+
*/
|
|
21483
|
+
display_name?: LocaleString | null;
|
|
21484
|
+
/**
|
|
21485
|
+
* Display description for the event
|
|
21486
|
+
*/
|
|
21487
|
+
display_description?: LocaleString | null;
|
|
21488
|
+
/**
|
|
21489
|
+
* Message Id
|
|
21490
|
+
*
|
|
21491
|
+
* IMAP UID of the moved message within its source folder.
|
|
21492
|
+
*/
|
|
21493
|
+
message_id: string;
|
|
21494
|
+
/**
|
|
21495
|
+
* Source Folder
|
|
21496
|
+
*
|
|
21497
|
+
* Folder the message was moved out of.
|
|
21498
|
+
*/
|
|
21499
|
+
source_folder: string;
|
|
21500
|
+
/**
|
|
21501
|
+
* Target Folder
|
|
21502
|
+
*
|
|
21503
|
+
* Folder the message was moved into.
|
|
21504
|
+
*/
|
|
21505
|
+
target_folder: string;
|
|
21506
|
+
[key: string]: unknown;
|
|
21507
|
+
};
|
|
21508
|
+
|
|
20951
21509
|
/**
|
|
20952
21510
|
* Message
|
|
20953
21511
|
*/
|
|
@@ -24319,6 +24877,39 @@ export type ToolEventWritable = {
|
|
|
24319
24877
|
[key: string]: unknown;
|
|
24320
24878
|
};
|
|
24321
24879
|
|
|
24880
|
+
/**
|
|
24881
|
+
* UnreadMailListedEvent
|
|
24882
|
+
*
|
|
24883
|
+
* Carries the unread messages found in the configured inbox folder.
|
|
24884
|
+
*/
|
|
24885
|
+
export type UnreadMailListedEventWritable = {
|
|
24886
|
+
/**
|
|
24887
|
+
* Event Id
|
|
24888
|
+
*/
|
|
24889
|
+
event_id?: string;
|
|
24890
|
+
/**
|
|
24891
|
+
* Created At
|
|
24892
|
+
*
|
|
24893
|
+
* The time (in ns since epoch) the event was stored in the event store
|
|
24894
|
+
*/
|
|
24895
|
+
created_at?: number;
|
|
24896
|
+
/**
|
|
24897
|
+
* Display name for the event
|
|
24898
|
+
*/
|
|
24899
|
+
display_name?: LocaleString | null;
|
|
24900
|
+
/**
|
|
24901
|
+
* Display description for the event
|
|
24902
|
+
*/
|
|
24903
|
+
display_description?: LocaleString | null;
|
|
24904
|
+
/**
|
|
24905
|
+
* Messages
|
|
24906
|
+
*
|
|
24907
|
+
* Header summaries of the unread messages in the inbox.
|
|
24908
|
+
*/
|
|
24909
|
+
messages?: Array<UnreadMailSummary>;
|
|
24910
|
+
[key: string]: unknown;
|
|
24911
|
+
};
|
|
24912
|
+
|
|
24322
24913
|
/**
|
|
24323
24914
|
* UserMessageEvent
|
|
24324
24915
|
*
|