@opencxh/domain 1.48.0 → 1.50.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.
@@ -267,6 +267,17 @@ export interface RecipientList {
267
267
  /** Blind carbon-copy. Alleen mail-flow. */
268
268
  bcc?: Uri[];
269
269
  }
270
+ /**
271
+ * Uitgaande bijlage zoals de client 'm aanlevert: base64-content + naam +
272
+ * mime-type. `content` is kale base64 (geen `data:`-prefix). Providers embedden
273
+ * de string direct (Graph `contentBytes`, Gmail MIME-part) zonder re-encode.
274
+ */
275
+ export interface OutgoingAttachment {
276
+ filename: string;
277
+ mimeType: string;
278
+ /** Kale base64, zonder `data:<mime>;base64,`-prefix. */
279
+ content: string;
280
+ }
270
281
  export interface NoteBody {
271
282
  text: string;
272
283
  visibility?: "internal" | "team";
@@ -34,6 +34,11 @@ export interface ComposePayload {
34
34
  */
35
35
  recipients: import('./communication').RecipientList;
36
36
  subject?: string;
37
+ /**
38
+ * Uitgaande bijlagen (base64 + filename + mimeType). Compose-handlers
39
+ * geven ze door aan de provider-send; metadata belandt op de Activity.
40
+ */
41
+ attachments?: import('./communication').OutgoingAttachment[];
37
42
  /**
38
43
  * The user-intent picked in the starter / contact buttons. Lets a
39
44
  * provider compose-handler dispatch on intent — e.g. a Microsoft
@@ -181,4 +186,6 @@ export interface DownloadAttachmentPayload {
181
186
  accountId?: string;
182
187
  path?: string;
183
188
  id?: string;
189
+ /** Conversatie-id (Teams chatId) — nodig om chat-hostedContent te proxyen. */
190
+ conversationId?: string;
184
191
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencxh/domain",
3
- "version": "1.48.0",
3
+ "version": "1.50.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",