@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.
- package/dist/generated/index.cjs +1 -1
- package/dist/generated/index.cjs.map +1 -1
- package/dist/generated/index.d.cts +141 -583
- package/dist/generated/index.d.cts.map +1 -1
- package/dist/generated/index.d.mts +141 -583
- package/dist/generated/index.d.mts.map +1 -1
- package/dist/generated/index.mjs +1 -1
- package/dist/generated/index.mjs.map +1 -1
- package/dist/{index-j2GMQzWY.d.mts → index-DlfSVhzo.d.mts} +53 -234
- package/dist/index-DlfSVhzo.d.mts.map +1 -0
- package/dist/{index-BR61SSKs.d.cts → index-JLPIa9s-.d.cts} +53 -234
- package/dist/index-JLPIa9s-.d.cts.map +1 -0
- package/dist/index.cjs +20 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +16 -10
- package/dist/index.mjs.map +1 -1
- package/dist/{interactive-DxUwKpzK.d.cts → interactive-BE_M4nur.d.cts} +14 -6
- package/dist/interactive-BE_M4nur.d.cts.map +1 -0
- package/dist/{interactive-DxUwKpzK.d.mts → interactive-BE_M4nur.d.mts} +14 -6
- package/dist/interactive-BE_M4nur.d.mts.map +1 -0
- package/dist/interactive-ClvvgmVP.cjs +630 -0
- package/dist/interactive-ClvvgmVP.cjs.map +1 -0
- package/dist/interactive-Dec4HB2U.mjs +475 -0
- package/dist/interactive-Dec4HB2U.mjs.map +1 -0
- package/dist/interactive.cjs +26 -304
- package/dist/interactive.d.cts +2 -2
- package/dist/interactive.d.mts +2 -2
- package/dist/interactive.mjs +2 -283
- package/dist/methods/index.cjs +1 -1
- package/dist/methods/index.d.cts +1 -1
- package/dist/methods/index.d.mts +1 -1
- package/dist/methods/index.mjs +1 -1
- package/dist/{methods-D4XLSUxh.cjs → methods-CILSsPyT.cjs} +27 -93
- package/dist/methods-CILSsPyT.cjs.map +1 -0
- package/dist/{methods-CpeSpB2P.mjs → methods-L7ijqbZM.mjs} +19 -79
- package/dist/methods-L7ijqbZM.mjs.map +1 -0
- package/package.json +3 -3
- package/src/__tests__/booking-time.contract.test.ts +88 -0
- package/src/__tests__/generators.contract.test.ts +82 -45
- package/src/booking-time.ts +39 -0
- package/src/common-types.ts +1 -1
- package/src/effect-projection.ts +90 -47
- package/src/events/asyncapi.ts +2 -2
- package/src/events/contracts.ts +10 -3
- package/src/events/polls.ts +1 -1
- package/src/generated/BaseClient.ts +12 -12
- package/src/generated/asyncapi.json +206 -95
- package/src/generated/openapi.json +1702 -1337
- package/src/interactive.ts +12 -1
- package/src/methods/calls.ts +4 -4
- package/src/methods/contacts.ts +1 -1
- package/src/methods/groups.ts +2 -2
- package/src/methods/messaging.ts +7 -7
- package/src/methods/session.ts +1 -1
- package/src/methods/whatsapp-events.ts +1 -1
- package/src/parameters.ts +2 -2
- package/src/return-types.ts +1 -1
- package/dist/index-BR61SSKs.d.cts.map +0 -1
- package/dist/index-j2GMQzWY.d.mts.map +0 -1
- package/dist/interactive-DxUwKpzK.d.cts.map +0 -1
- package/dist/interactive-DxUwKpzK.d.mts.map +0 -1
- package/dist/interactive.cjs.map +0 -1
- package/dist/interactive.mjs.map +0 -1
- package/dist/methods-CpeSpB2P.mjs.map +0 -1
- package/dist/methods-D4XLSUxh.cjs.map +0 -1
|
@@ -14,7 +14,7 @@ export abstract class BaseClient {
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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.
|
|
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
|
|
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
|
|
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
|
|
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
|
-
"
|
|
912
|
-
"
|
|
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
|
-
"
|
|
1073
|
-
"
|
|
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
|
-
"
|
|
1647
|
-
"
|
|
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
|
-
"
|
|
1808
|
-
"
|
|
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":
|
|
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":
|
|
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":
|
|
2943
|
+
"type": [
|
|
2944
|
+
"string",
|
|
2945
|
+
"null"
|
|
2946
|
+
]
|
|
2836
2947
|
}
|
|
2837
2948
|
},
|
|
2838
2949
|
"required": [
|