@open-wa/schema 5.9.7 → 5.11.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.
Files changed (67) hide show
  1. package/dist/generated/index.cjs +1 -1
  2. package/dist/generated/index.cjs.map +1 -1
  3. package/dist/generated/index.d.cts +141 -583
  4. package/dist/generated/index.d.cts.map +1 -1
  5. package/dist/generated/index.d.mts +141 -583
  6. package/dist/generated/index.d.mts.map +1 -1
  7. package/dist/generated/index.mjs +1 -1
  8. package/dist/generated/index.mjs.map +1 -1
  9. package/dist/{index-j2GMQzWY.d.mts → index-DlfSVhzo.d.mts} +53 -234
  10. package/dist/index-DlfSVhzo.d.mts.map +1 -0
  11. package/dist/{index-BR61SSKs.d.cts → index-JLPIa9s-.d.cts} +53 -234
  12. package/dist/index-JLPIa9s-.d.cts.map +1 -0
  13. package/dist/index.cjs +20 -11
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +3 -3
  16. package/dist/index.d.mts +3 -3
  17. package/dist/index.mjs +16 -10
  18. package/dist/index.mjs.map +1 -1
  19. package/dist/{interactive-DxUwKpzK.d.cts → interactive-BE_M4nur.d.cts} +14 -6
  20. package/dist/interactive-BE_M4nur.d.cts.map +1 -0
  21. package/dist/{interactive-DxUwKpzK.d.mts → interactive-BE_M4nur.d.mts} +14 -6
  22. package/dist/interactive-BE_M4nur.d.mts.map +1 -0
  23. package/dist/interactive-ClvvgmVP.cjs +630 -0
  24. package/dist/interactive-ClvvgmVP.cjs.map +1 -0
  25. package/dist/interactive-Dec4HB2U.mjs +475 -0
  26. package/dist/interactive-Dec4HB2U.mjs.map +1 -0
  27. package/dist/interactive.cjs +26 -304
  28. package/dist/interactive.d.cts +2 -2
  29. package/dist/interactive.d.mts +2 -2
  30. package/dist/interactive.mjs +2 -283
  31. package/dist/methods/index.cjs +1 -1
  32. package/dist/methods/index.d.cts +1 -1
  33. package/dist/methods/index.d.mts +1 -1
  34. package/dist/methods/index.mjs +1 -1
  35. package/dist/{methods-D4XLSUxh.cjs → methods-CILSsPyT.cjs} +27 -93
  36. package/dist/methods-CILSsPyT.cjs.map +1 -0
  37. package/dist/{methods-CpeSpB2P.mjs → methods-L7ijqbZM.mjs} +19 -79
  38. package/dist/methods-L7ijqbZM.mjs.map +1 -0
  39. package/package.json +3 -3
  40. package/src/__tests__/booking-time.contract.test.ts +88 -0
  41. package/src/__tests__/generators.contract.test.ts +82 -45
  42. package/src/booking-time.ts +39 -0
  43. package/src/common-types.ts +1 -1
  44. package/src/effect-projection.ts +90 -47
  45. package/src/events/asyncapi.ts +2 -2
  46. package/src/events/contracts.ts +10 -3
  47. package/src/events/polls.ts +1 -1
  48. package/src/generated/BaseClient.ts +12 -12
  49. package/src/generated/asyncapi.json +206 -95
  50. package/src/generated/openapi.json +1702 -1337
  51. package/src/interactive.ts +12 -1
  52. package/src/methods/calls.ts +4 -4
  53. package/src/methods/contacts.ts +1 -1
  54. package/src/methods/groups.ts +2 -2
  55. package/src/methods/messaging.ts +7 -7
  56. package/src/methods/session.ts +1 -1
  57. package/src/methods/whatsapp-events.ts +1 -1
  58. package/src/parameters.ts +2 -2
  59. package/src/return-types.ts +1 -1
  60. package/dist/index-BR61SSKs.d.cts.map +0 -1
  61. package/dist/index-j2GMQzWY.d.mts.map +0 -1
  62. package/dist/interactive-DxUwKpzK.d.cts.map +0 -1
  63. package/dist/interactive-DxUwKpzK.d.mts.map +0 -1
  64. package/dist/interactive.cjs.map +0 -1
  65. package/dist/interactive.mjs.map +0 -1
  66. package/dist/methods-CpeSpB2P.mjs.map +0 -1
  67. package/dist/methods-D4XLSUxh.cjs.map +0 -1
@@ -14,7 +14,7 @@ export abstract class BaseClient {
14
14
  }
15
15
 
16
16
  /**
17
- * Render a sticker locally using automatic whole-job backend selection and ordered effects, then submit through the private donor finalizer. Author and pack labels are configurable; donor app links are owned by the installed patch. Returns a submitted message ID, not a delivery receipt. Unknown send outcomes must be reconciled before retrying.
17
+ * Turn an image or video into a sticker, apply optional effects and author and pack labels, and send it. Resolves to the message ID once WhatsApp accepts it, not a delivery receipt. If the outcome is unknown, check the chat before you retry.
18
18
  */
19
19
  public sendSticker = implementMethod(Methods.sendSticker);
20
20
 
@@ -24,7 +24,7 @@ export abstract class BaseClient {
24
24
  public sendAlbum = implementMethod(Methods.sendAlbum);
25
25
 
26
26
  /**
27
- * Sends a text message and returns a validated serialized message ID. The in-process Client throws SendTextError on failure. An unknown outcome means the message may have been sent: check the chat before retrying. Starting a chat with a new number requires an applied restricted or premium license.
27
+ * Send a text message to a chat. Starting a chat with a number that has never messaged you needs a Restricted or Premium license.
28
28
  */
29
29
  public sendText = implementMethod(Methods.sendText);
30
30
 
@@ -44,7 +44,7 @@ export abstract class BaseClient {
44
44
  public sendPaymentRequest = implementMethod(Methods.sendPaymentRequest);
45
45
 
46
46
  /**
47
- * Sends media through the native attachment pipeline, including images and videos. Options select presentation, view once, GIF playback or circular video notes; media is not transcoded. Returns submission status, not a delivery receipt.
47
+ * Send an image or video, or any other media file, as a WhatsApp attachment. Options set the caption, view once, GIF playback or a round video note. Media is sent as is, without conversion. Resolves to the send result, not a delivery receipt.
48
48
  */
49
49
  public sendImage = implementMethod(Methods.sendImage);
50
50
 
@@ -107,7 +107,7 @@ export abstract class BaseClient {
107
107
  public sendListMessage = implementMethod(Methods.sendListMessage);
108
108
 
109
109
  /**
110
- * Sends a text poll with a selection limit, quote, optional closing time in Unix milliseconds and hidden voter names. Closing time and hidden names require native WhatsApp support for the sending account/chat. These fields select the native V6 poll payload.
110
+ * Send a poll with a selection limit, an optional quoted message, an optional closing time in Unix milliseconds and optionally hidden voter names. Closing times and hidden names only work where WhatsApp supports them for the sending account and chat.
111
111
  */
112
112
  public sendPoll = implementMethod(Methods.sendPoll);
113
113
 
@@ -117,7 +117,7 @@ export abstract class BaseClient {
117
117
  public voteOnPoll = implementMethod(Methods.voteOnPoll);
118
118
 
119
119
  /**
120
- * Hydrates the local poll vote store and returns synced counts, choices and votes. Hidden-voter polls omit voter identities and the votes array. Unsynced votes may be absent.
120
+ * Get the current counts, choices and votes for a poll. Polls with hidden voters leave out voter identities and the votes array, and very recent votes may not appear yet.
121
121
  */
122
122
  public getPollResults = implementMethod(Methods.getPollResults);
123
123
 
@@ -223,7 +223,7 @@ export abstract class BaseClient {
223
223
  public unstarMessage = implementMethod(Methods.unstarMessage);
224
224
 
225
225
  /**
226
- * Edits the text of a message through the installed private patch
226
+ * Edit the text of a message you sent
227
227
  */
228
228
  public editMessage = implementMethod(Methods.editMessage);
229
229
 
@@ -337,7 +337,7 @@ export abstract class BaseClient {
337
337
  public requestPhoneNumber = implementMethod(Methods.requestPhoneNumber);
338
338
 
339
339
  /**
340
- * Share the signed-in account’s own phone number with a direct LID chat using WhatsApp’s native protocol. No arbitrary phone number is accepted.
340
+ * Share the logged-in account’s own phone number in a one-to-one chat that only shows a LID. You can’t share any other number.
341
341
  */
342
342
  public sharePhoneNumber = implementMethod(Methods.sharePhoneNumber);
343
343
 
@@ -414,7 +414,7 @@ export abstract class BaseClient {
414
414
  public getGroupMembersId = implementMethod(Methods.getGroupMembersId);
415
415
 
416
416
  /**
417
- * Get the group title and description through the installed private patch
417
+ * Get a group title and description
418
418
  */
419
419
  public getGroupInfo = implementMethod(Methods.getGroupInfo);
420
420
 
@@ -661,7 +661,7 @@ export abstract class BaseClient {
661
661
  public getLicenseType = implementMethod(Methods.getLicenseType);
662
662
 
663
663
  /**
664
- * Get enabled and disabled licensed features from the accepted licence patch. This reports licence access; actions check runtime availability automatically.
664
+ * List which licensed features your license key turns on. Each method still checks availability when you call it.
665
665
  */
666
666
  public getLicenseFeatures = implementMethod(Methods.getLicenseFeatures);
667
667
 
@@ -737,7 +737,7 @@ export abstract class BaseClient {
737
737
  public getCallCapabilities = implementMethod(Methods.getCallCapabilities);
738
738
 
739
739
  /**
740
- * Get the current call snapshot. SDK clients hydrate its bound methods.
740
+ * Get the current call, if there is one. In the SDK the result also has methods to control the call.
741
741
  */
742
742
  public getActiveCall = implementMethod(Methods.getActiveCall);
743
743
 
@@ -752,7 +752,7 @@ export abstract class BaseClient {
752
752
  public startCall = implementMethod(Methods.startCall);
753
753
 
754
754
  /**
755
- * Reject this call with native state confirmation.
755
+ * Reject an incoming call and wait for WhatsApp to confirm it.
756
756
  */
757
757
  public rejectCall = implementMethod(Methods.rejectCall);
758
758
 
@@ -817,7 +817,7 @@ export abstract class BaseClient {
817
817
  public cancelEvent = implementMethod(Methods.cancelEvent);
818
818
 
819
819
  /**
820
- * RSVP through WhatsApp’s native encrypted event-response action.
820
+ * Send your RSVP to a WhatsApp event.
821
821
  */
822
822
  public respondToEvent = implementMethod(Methods.respondToEvent);
823
823
 
@@ -2,7 +2,7 @@
2
2
  "asyncapi": "3.1.0",
3
3
  "info": {
4
4
  "title": "OpenWA events",
5
- "version": "5.9.7",
5
+ "version": "5.11.0",
6
6
  "description": "Initial public wire contracts for six runtime events. This is not an exhaustive list of internal lifecycle events. SSE and webhook policies differ; MCP provides compact summaries for three events."
7
7
  },
8
8
  "servers": {
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "mcp_ack_changed": {
51
51
  "address": null,
52
- "description": "Verified subscriber-provided HTTPS callback. Subscribe through /mcp using MCP 2026-07-28. Standard Webhooks signatures, stable event IDs and bounded transient retries. No retry on 410/413; cursor:null means no historical replay.",
52
+ "description": "Verified subscriber-provided HTTPS callback. Subscribe through /mcp using MCP 2026-07-28. Standard Webhooks signatures, stable event IDs and transient retries for up to 15 minutes. No retry on 410/413. The same events are available through events/poll and events/stream; cursors replay events retained on the server (15 minutes by default).",
53
53
  "messages": {
54
54
  "event": {
55
55
  "$ref": "#/components/messages/mcp_ack_changed"
@@ -160,7 +160,7 @@
160
160
  },
161
161
  "mcp_message_received": {
162
162
  "address": null,
163
- "description": "Verified subscriber-provided HTTPS callback. Subscribe through /mcp using MCP 2026-07-28. Standard Webhooks signatures, stable event IDs and bounded transient retries. No retry on 410/413; cursor:null means no historical replay.",
163
+ "description": "Verified subscriber-provided HTTPS callback. Subscribe through /mcp using MCP 2026-07-28. Standard Webhooks signatures, stable event IDs and transient retries for up to 15 minutes. No retry on 410/413. The same events are available through events/poll and events/stream; cursors replay events retained on the server (15 minutes by default).",
164
164
  "messages": {
165
165
  "event": {
166
166
  "$ref": "#/components/messages/mcp_message_received"
@@ -241,7 +241,7 @@
241
241
  },
242
242
  "mcp_session_state_changed": {
243
243
  "address": null,
244
- "description": "Verified subscriber-provided HTTPS callback. Subscribe through /mcp using MCP 2026-07-28. Standard Webhooks signatures, stable event IDs and bounded transient retries. No retry on 410/413; cursor:null means no historical replay.",
244
+ "description": "Verified subscriber-provided HTTPS callback. Subscribe through /mcp using MCP 2026-07-28. Standard Webhooks signatures, stable event IDs and transient retries for up to 15 minutes. No retry on 410/413. The same events are available through events/poll and events/stream; cursors replay events retained on the server (15 minutes by default).",
245
245
  "messages": {
246
246
  "event": {
247
247
  "$ref": "#/components/messages/mcp_session_state_changed"
@@ -682,15 +682,48 @@
682
682
  "properties": {
683
683
  "id": {
684
684
  "type": "string",
685
- "minLength": 1
685
+ "minLength": 1,
686
+ "expected": "a value with a length of at least 1",
687
+ "representation": {
688
+ "id": "effect/schema/isMinLength",
689
+ "payload": {
690
+ "minLength": 1
691
+ }
692
+ },
693
+ "~structural": true,
694
+ "arbitraryConstraint": {
695
+ "minLength": 1
696
+ }
686
697
  },
687
698
  "chatId": {
688
699
  "type": "string",
689
- "minLength": 1
700
+ "minLength": 1,
701
+ "expected": "a value with a length of at least 1",
702
+ "representation": {
703
+ "id": "effect/schema/isMinLength",
704
+ "payload": {
705
+ "minLength": 1
706
+ }
707
+ },
708
+ "~structural": true,
709
+ "arbitraryConstraint": {
710
+ "minLength": 1
711
+ }
690
712
  },
691
713
  "creatorId": {
692
714
  "type": "string",
693
- "minLength": 1
715
+ "minLength": 1,
716
+ "expected": "a value with a length of at least 1",
717
+ "representation": {
718
+ "id": "effect/schema/isMinLength",
719
+ "payload": {
720
+ "minLength": 1
721
+ }
722
+ },
723
+ "~structural": true,
724
+ "arbitraryConstraint": {
725
+ "minLength": 1
726
+ }
694
727
  },
695
728
  "name": {
696
729
  "type": "string"
@@ -698,12 +731,32 @@
698
731
  "startTime": {
699
732
  "type": "integer",
700
733
  "minimum": 0,
701
- "maximum": 2147483647
734
+ "maximum": 2147483647,
735
+ "expected": "a value less than or equal to 2147483647",
736
+ "arbitraryConstraint": {
737
+ "maximum": 2147483647
738
+ },
739
+ "representation": {
740
+ "id": "effect/schema/isLessThanOrEqualTo",
741
+ "payload": {
742
+ "maximum": 2147483647
743
+ }
744
+ }
702
745
  },
703
746
  "endTime": {
704
747
  "type": "integer",
705
748
  "minimum": 0,
706
- "maximum": 2147483647
749
+ "maximum": 2147483647,
750
+ "expected": "a value less than or equal to 2147483647",
751
+ "arbitraryConstraint": {
752
+ "maximum": 2147483647
753
+ },
754
+ "representation": {
755
+ "id": "effect/schema/isLessThanOrEqualTo",
756
+ "payload": {
757
+ "maximum": 2147483647
758
+ }
759
+ }
707
760
  },
708
761
  "description": {
709
762
  "type": "string"
@@ -735,7 +788,17 @@
735
788
  }
736
789
  ]
737
790
  }
738
- ]
791
+ ],
792
+ "expected": "a value less than or equal to 90",
793
+ "arbitraryConstraint": {
794
+ "maximum": 90
795
+ },
796
+ "representation": {
797
+ "id": "effect/schema/isLessThanOrEqualTo",
798
+ "payload": {
799
+ "maximum": 90
800
+ }
801
+ }
739
802
  },
740
803
  "longitude": {
741
804
  "anyOf": [
@@ -758,7 +821,17 @@
758
821
  }
759
822
  ]
760
823
  }
761
- ]
824
+ ],
825
+ "expected": "a value less than or equal to 180",
826
+ "arbitraryConstraint": {
827
+ "maximum": 180
828
+ },
829
+ "representation": {
830
+ "id": "effect/schema/isLessThanOrEqualTo",
831
+ "payload": {
832
+ "maximum": 180
833
+ }
834
+ }
762
835
  }
763
836
  },
764
837
  "additionalProperties": false
@@ -781,7 +854,17 @@
781
854
  "timestamp": {
782
855
  "type": "integer",
783
856
  "minimum": 0,
784
- "maximum": 2147483647
857
+ "maximum": 2147483647,
858
+ "expected": "a value less than or equal to 2147483647",
859
+ "arbitraryConstraint": {
860
+ "maximum": 2147483647
861
+ },
862
+ "representation": {
863
+ "id": "effect/schema/isLessThanOrEqualTo",
864
+ "payload": {
865
+ "maximum": 2147483647
866
+ }
867
+ }
785
868
  }
786
869
  },
787
870
  "required": [
@@ -908,24 +991,8 @@
908
991
  "type": "string"
909
992
  },
910
993
  "id": {
911
- "type": "object",
912
- "properties": {
913
- "server": {
914
- "type": "string"
915
- },
916
- "user": {
917
- "type": "string"
918
- },
919
- "_serialized": {
920
- "type": "string"
921
- }
922
- },
923
- "required": [
924
- "server",
925
- "user",
926
- "_serialized"
927
- ],
928
- "additionalProperties": false
994
+ "description": "Serialized contact ID returned by the profile-picture serializer",
995
+ "type": "string"
929
996
  },
930
997
  "img": {
931
998
  "type": "string"
@@ -1069,24 +1136,8 @@
1069
1136
  "type": "string"
1070
1137
  },
1071
1138
  "id": {
1072
- "type": "object",
1073
- "properties": {
1074
- "server": {
1075
- "type": "string"
1076
- },
1077
- "user": {
1078
- "type": "string"
1079
- },
1080
- "_serialized": {
1081
- "type": "string"
1082
- }
1083
- },
1084
- "required": [
1085
- "server",
1086
- "user",
1087
- "_serialized"
1088
- ],
1089
- "additionalProperties": false
1139
+ "description": "Serialized contact ID returned by the profile-picture serializer",
1140
+ "type": "string"
1090
1141
  },
1091
1142
  "img": {
1092
1143
  "type": "string"
@@ -1417,15 +1468,48 @@
1417
1468
  "properties": {
1418
1469
  "id": {
1419
1470
  "type": "string",
1420
- "minLength": 1
1471
+ "minLength": 1,
1472
+ "expected": "a value with a length of at least 1",
1473
+ "representation": {
1474
+ "id": "effect/schema/isMinLength",
1475
+ "payload": {
1476
+ "minLength": 1
1477
+ }
1478
+ },
1479
+ "~structural": true,
1480
+ "arbitraryConstraint": {
1481
+ "minLength": 1
1482
+ }
1421
1483
  },
1422
1484
  "chatId": {
1423
1485
  "type": "string",
1424
- "minLength": 1
1486
+ "minLength": 1,
1487
+ "expected": "a value with a length of at least 1",
1488
+ "representation": {
1489
+ "id": "effect/schema/isMinLength",
1490
+ "payload": {
1491
+ "minLength": 1
1492
+ }
1493
+ },
1494
+ "~structural": true,
1495
+ "arbitraryConstraint": {
1496
+ "minLength": 1
1497
+ }
1425
1498
  },
1426
1499
  "creatorId": {
1427
1500
  "type": "string",
1428
- "minLength": 1
1501
+ "minLength": 1,
1502
+ "expected": "a value with a length of at least 1",
1503
+ "representation": {
1504
+ "id": "effect/schema/isMinLength",
1505
+ "payload": {
1506
+ "minLength": 1
1507
+ }
1508
+ },
1509
+ "~structural": true,
1510
+ "arbitraryConstraint": {
1511
+ "minLength": 1
1512
+ }
1429
1513
  },
1430
1514
  "name": {
1431
1515
  "type": "string"
@@ -1433,12 +1517,32 @@
1433
1517
  "startTime": {
1434
1518
  "type": "integer",
1435
1519
  "minimum": 0,
1436
- "maximum": 2147483647
1520
+ "maximum": 2147483647,
1521
+ "expected": "a value less than or equal to 2147483647",
1522
+ "arbitraryConstraint": {
1523
+ "maximum": 2147483647
1524
+ },
1525
+ "representation": {
1526
+ "id": "effect/schema/isLessThanOrEqualTo",
1527
+ "payload": {
1528
+ "maximum": 2147483647
1529
+ }
1530
+ }
1437
1531
  },
1438
1532
  "endTime": {
1439
1533
  "type": "integer",
1440
1534
  "minimum": 0,
1441
- "maximum": 2147483647
1535
+ "maximum": 2147483647,
1536
+ "expected": "a value less than or equal to 2147483647",
1537
+ "arbitraryConstraint": {
1538
+ "maximum": 2147483647
1539
+ },
1540
+ "representation": {
1541
+ "id": "effect/schema/isLessThanOrEqualTo",
1542
+ "payload": {
1543
+ "maximum": 2147483647
1544
+ }
1545
+ }
1442
1546
  },
1443
1547
  "description": {
1444
1548
  "type": "string"
@@ -1470,7 +1574,17 @@
1470
1574
  }
1471
1575
  ]
1472
1576
  }
1473
- ]
1577
+ ],
1578
+ "expected": "a value less than or equal to 90",
1579
+ "arbitraryConstraint": {
1580
+ "maximum": 90
1581
+ },
1582
+ "representation": {
1583
+ "id": "effect/schema/isLessThanOrEqualTo",
1584
+ "payload": {
1585
+ "maximum": 90
1586
+ }
1587
+ }
1474
1588
  },
1475
1589
  "longitude": {
1476
1590
  "anyOf": [
@@ -1493,7 +1607,17 @@
1493
1607
  }
1494
1608
  ]
1495
1609
  }
1496
- ]
1610
+ ],
1611
+ "expected": "a value less than or equal to 180",
1612
+ "arbitraryConstraint": {
1613
+ "maximum": 180
1614
+ },
1615
+ "representation": {
1616
+ "id": "effect/schema/isLessThanOrEqualTo",
1617
+ "payload": {
1618
+ "maximum": 180
1619
+ }
1620
+ }
1497
1621
  }
1498
1622
  },
1499
1623
  "additionalProperties": false
@@ -1516,7 +1640,17 @@
1516
1640
  "timestamp": {
1517
1641
  "type": "integer",
1518
1642
  "minimum": 0,
1519
- "maximum": 2147483647
1643
+ "maximum": 2147483647,
1644
+ "expected": "a value less than or equal to 2147483647",
1645
+ "arbitraryConstraint": {
1646
+ "maximum": 2147483647
1647
+ },
1648
+ "representation": {
1649
+ "id": "effect/schema/isLessThanOrEqualTo",
1650
+ "payload": {
1651
+ "maximum": 2147483647
1652
+ }
1653
+ }
1520
1654
  }
1521
1655
  },
1522
1656
  "required": [
@@ -1643,24 +1777,8 @@
1643
1777
  "type": "string"
1644
1778
  },
1645
1779
  "id": {
1646
- "type": "object",
1647
- "properties": {
1648
- "server": {
1649
- "type": "string"
1650
- },
1651
- "user": {
1652
- "type": "string"
1653
- },
1654
- "_serialized": {
1655
- "type": "string"
1656
- }
1657
- },
1658
- "required": [
1659
- "server",
1660
- "user",
1661
- "_serialized"
1662
- ],
1663
- "additionalProperties": false
1780
+ "description": "Serialized contact ID returned by the profile-picture serializer",
1781
+ "type": "string"
1664
1782
  },
1665
1783
  "img": {
1666
1784
  "type": "string"
@@ -1804,24 +1922,8 @@
1804
1922
  "type": "string"
1805
1923
  },
1806
1924
  "id": {
1807
- "type": "object",
1808
- "properties": {
1809
- "server": {
1810
- "type": "string"
1811
- },
1812
- "user": {
1813
- "type": "string"
1814
- },
1815
- "_serialized": {
1816
- "type": "string"
1817
- }
1818
- },
1819
- "required": [
1820
- "server",
1821
- "user",
1822
- "_serialized"
1823
- ],
1824
- "additionalProperties": false
1925
+ "description": "Serialized contact ID returned by the profile-picture serializer",
1926
+ "type": "string"
1825
1927
  },
1826
1928
  "img": {
1827
1929
  "type": "string"
@@ -2301,7 +2403,10 @@
2301
2403
  "$ref": "#/components/schemas/ack_changed_mcp"
2302
2404
  },
2303
2405
  "cursor": {
2304
- "type": "null"
2406
+ "type": [
2407
+ "string",
2408
+ "null"
2409
+ ]
2305
2410
  }
2306
2411
  },
2307
2412
  "required": [
@@ -2607,7 +2712,10 @@
2607
2712
  "$ref": "#/components/schemas/message_received_mcp"
2608
2713
  },
2609
2714
  "cursor": {
2610
- "type": "null"
2715
+ "type": [
2716
+ "string",
2717
+ "null"
2718
+ ]
2611
2719
  }
2612
2720
  },
2613
2721
  "required": [
@@ -2832,7 +2940,10 @@
2832
2940
  "$ref": "#/components/schemas/session_state_changed_mcp"
2833
2941
  },
2834
2942
  "cursor": {
2835
- "type": "null"
2943
+ "type": [
2944
+ "string",
2945
+ "null"
2946
+ ]
2836
2947
  }
2837
2948
  },
2838
2949
  "required": [