@mitumba/sdk 1.32.0 → 1.32.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +28 -1
- package/dist/index.d.ts +28 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -424,8 +424,35 @@ interface SendThreadMessageResult {
|
|
|
424
424
|
}
|
|
425
425
|
/** Lifecycle state of one staged attachment upload. */
|
|
426
426
|
type AttachmentUploadState = 'authorized' | 'uploaded' | 'pending_scan' | 'safe' | 'rejected' | 'expired' | 'claimed';
|
|
427
|
-
/** Server capability declaration for
|
|
427
|
+
/** Server capability declaration for the staged Messaging v2 rollout. */
|
|
428
428
|
interface MessagingCapabilities {
|
|
429
|
+
/** Public resource schema version. */
|
|
430
|
+
api_version: 2;
|
|
431
|
+
/** Realtime protocol versions understood by this deployment. */
|
|
432
|
+
protocol_versions: number[];
|
|
433
|
+
/** Whether the Messaging v2 HTTP resource surface is enabled. */
|
|
434
|
+
http: {
|
|
435
|
+
enabled: boolean;
|
|
436
|
+
};
|
|
437
|
+
/** Whether legacy writes are mirrored into Messaging v2. */
|
|
438
|
+
dual_write: {
|
|
439
|
+
enabled: boolean;
|
|
440
|
+
};
|
|
441
|
+
/** Whether migration shadow reads are enabled. */
|
|
442
|
+
shadow_read: {
|
|
443
|
+
enabled: boolean;
|
|
444
|
+
};
|
|
445
|
+
/** Whether clients must address a stable Messaging v2 thread. */
|
|
446
|
+
require_thread: {
|
|
447
|
+
enabled: boolean;
|
|
448
|
+
};
|
|
449
|
+
/** Managed realtime capability and supported wire versions. */
|
|
450
|
+
realtime: {
|
|
451
|
+
/** Whether clients may establish managed realtime connections. */
|
|
452
|
+
enabled: boolean;
|
|
453
|
+
/** Realtime protocol versions currently available. */
|
|
454
|
+
protocol_versions: number[];
|
|
455
|
+
};
|
|
429
456
|
/** Optional attachment capability. */
|
|
430
457
|
attachments: {
|
|
431
458
|
/** Whether clients may expose attachment controls. */
|
package/dist/index.d.ts
CHANGED
|
@@ -424,8 +424,35 @@ interface SendThreadMessageResult {
|
|
|
424
424
|
}
|
|
425
425
|
/** Lifecycle state of one staged attachment upload. */
|
|
426
426
|
type AttachmentUploadState = 'authorized' | 'uploaded' | 'pending_scan' | 'safe' | 'rejected' | 'expired' | 'claimed';
|
|
427
|
-
/** Server capability declaration for
|
|
427
|
+
/** Server capability declaration for the staged Messaging v2 rollout. */
|
|
428
428
|
interface MessagingCapabilities {
|
|
429
|
+
/** Public resource schema version. */
|
|
430
|
+
api_version: 2;
|
|
431
|
+
/** Realtime protocol versions understood by this deployment. */
|
|
432
|
+
protocol_versions: number[];
|
|
433
|
+
/** Whether the Messaging v2 HTTP resource surface is enabled. */
|
|
434
|
+
http: {
|
|
435
|
+
enabled: boolean;
|
|
436
|
+
};
|
|
437
|
+
/** Whether legacy writes are mirrored into Messaging v2. */
|
|
438
|
+
dual_write: {
|
|
439
|
+
enabled: boolean;
|
|
440
|
+
};
|
|
441
|
+
/** Whether migration shadow reads are enabled. */
|
|
442
|
+
shadow_read: {
|
|
443
|
+
enabled: boolean;
|
|
444
|
+
};
|
|
445
|
+
/** Whether clients must address a stable Messaging v2 thread. */
|
|
446
|
+
require_thread: {
|
|
447
|
+
enabled: boolean;
|
|
448
|
+
};
|
|
449
|
+
/** Managed realtime capability and supported wire versions. */
|
|
450
|
+
realtime: {
|
|
451
|
+
/** Whether clients may establish managed realtime connections. */
|
|
452
|
+
enabled: boolean;
|
|
453
|
+
/** Realtime protocol versions currently available. */
|
|
454
|
+
protocol_versions: number[];
|
|
455
|
+
};
|
|
429
456
|
/** Optional attachment capability. */
|
|
430
457
|
attachments: {
|
|
431
458
|
/** Whether clients may expose attachment controls. */
|