@ravi-os/sdk 0.2.1 → 0.260519.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/README.md +338 -80
- package/dist/client.d.ts +184 -18
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +208 -42
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +704 -104
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +784 -157
- package/dist/schemas.js.map +1 -1
- package/dist/streaming.d.ts +22 -0
- package/dist/streaming.d.ts.map +1 -1
- package/dist/streaming.js +6 -0
- package/dist/streaming.js.map +1 -1
- package/dist/types.d.ts +250 -39
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +2 -2
- package/dist/version.js +2 -2
- package/package.json +1 -1
package/dist/schemas.js
CHANGED
|
@@ -887,6 +887,346 @@ export const AudioGenerateInputSchema = {
|
|
|
887
887
|
],
|
|
888
888
|
"type": "object"
|
|
889
889
|
};
|
|
890
|
+
/** JSON Schema for the input body of `chats.list`. */
|
|
891
|
+
export const ChatsListInputSchema = {
|
|
892
|
+
"additionalProperties": false,
|
|
893
|
+
"properties": {
|
|
894
|
+
"agent": {
|
|
895
|
+
"description": "Filter by agent id",
|
|
896
|
+
"type": "string"
|
|
897
|
+
},
|
|
898
|
+
"channel": {
|
|
899
|
+
"description": "Filter by channel, e.g. whatsapp",
|
|
900
|
+
"type": "string"
|
|
901
|
+
},
|
|
902
|
+
"contact": {
|
|
903
|
+
"description": "Filter by contact id, phone, or identity",
|
|
904
|
+
"type": "string"
|
|
905
|
+
},
|
|
906
|
+
"includeRaw": {
|
|
907
|
+
"description": "Include raw provider ids and provenance in JSON output",
|
|
908
|
+
"type": "boolean"
|
|
909
|
+
},
|
|
910
|
+
"instance": {
|
|
911
|
+
"description": "Filter by instance name or Omni instance id",
|
|
912
|
+
"type": "string"
|
|
913
|
+
},
|
|
914
|
+
"limit": {
|
|
915
|
+
"description": "Page size (default: 25, max: 500)",
|
|
916
|
+
"type": "string"
|
|
917
|
+
},
|
|
918
|
+
"offset": {
|
|
919
|
+
"description": "Number of matching chats to skip (default: 0)",
|
|
920
|
+
"type": "string"
|
|
921
|
+
},
|
|
922
|
+
"query": {
|
|
923
|
+
"description": "Search chat ids, titles, and message content",
|
|
924
|
+
"type": "string"
|
|
925
|
+
},
|
|
926
|
+
"type": {
|
|
927
|
+
"description": "Filter by chat type: dm|group|thread|room",
|
|
928
|
+
"type": "string"
|
|
929
|
+
}
|
|
930
|
+
},
|
|
931
|
+
"type": "object"
|
|
932
|
+
};
|
|
933
|
+
/** JSON Schema for the input body of `chats.lists.add`. */
|
|
934
|
+
export const ChatsListsAddInputSchema = {
|
|
935
|
+
"additionalProperties": false,
|
|
936
|
+
"properties": {
|
|
937
|
+
"channel": {
|
|
938
|
+
"description": "Resolve chat within a channel",
|
|
939
|
+
"type": "string"
|
|
940
|
+
},
|
|
941
|
+
"chat": {
|
|
942
|
+
"description": "Chat id, phone, group id, or normalized chat id",
|
|
943
|
+
"type": "string"
|
|
944
|
+
},
|
|
945
|
+
"includeRaw": {
|
|
946
|
+
"description": "Include raw provider ids and provenance in JSON output",
|
|
947
|
+
"type": "boolean"
|
|
948
|
+
},
|
|
949
|
+
"instance": {
|
|
950
|
+
"description": "Resolve chat within an instance",
|
|
951
|
+
"type": "string"
|
|
952
|
+
},
|
|
953
|
+
"list": {
|
|
954
|
+
"description": "List id or name",
|
|
955
|
+
"type": "string"
|
|
956
|
+
},
|
|
957
|
+
"owner": {
|
|
958
|
+
"description": "Owner scope when resolving list by name",
|
|
959
|
+
"type": "string"
|
|
960
|
+
},
|
|
961
|
+
"priority": {
|
|
962
|
+
"description": "Sort priority (default: 0)",
|
|
963
|
+
"type": "string"
|
|
964
|
+
},
|
|
965
|
+
"reason": {
|
|
966
|
+
"description": "Why this chat is in the list",
|
|
967
|
+
"type": "string"
|
|
968
|
+
}
|
|
969
|
+
},
|
|
970
|
+
"required": [
|
|
971
|
+
"chat",
|
|
972
|
+
"list"
|
|
973
|
+
],
|
|
974
|
+
"type": "object"
|
|
975
|
+
};
|
|
976
|
+
/** JSON Schema for the input body of `chats.lists.create`. */
|
|
977
|
+
export const ChatsListsCreateInputSchema = {
|
|
978
|
+
"additionalProperties": false,
|
|
979
|
+
"properties": {
|
|
980
|
+
"description": {
|
|
981
|
+
"description": "List description",
|
|
982
|
+
"type": "string"
|
|
983
|
+
},
|
|
984
|
+
"mode": {
|
|
985
|
+
"description": "static|dynamic|hybrid (default: static)",
|
|
986
|
+
"type": "string"
|
|
987
|
+
},
|
|
988
|
+
"name": {
|
|
989
|
+
"description": "Reading list name",
|
|
990
|
+
"type": "string"
|
|
991
|
+
},
|
|
992
|
+
"owner": {
|
|
993
|
+
"description": "Owner scope (default: current agent or system:ravi)",
|
|
994
|
+
"type": "string"
|
|
995
|
+
},
|
|
996
|
+
"visibility": {
|
|
997
|
+
"description": "private|team|system (default: system)",
|
|
998
|
+
"type": "string"
|
|
999
|
+
}
|
|
1000
|
+
},
|
|
1001
|
+
"required": [
|
|
1002
|
+
"name"
|
|
1003
|
+
],
|
|
1004
|
+
"type": "object"
|
|
1005
|
+
};
|
|
1006
|
+
/** JSON Schema for the input body of `chats.lists.delta`. */
|
|
1007
|
+
export const ChatsListsDeltaInputSchema = {
|
|
1008
|
+
"additionalProperties": false,
|
|
1009
|
+
"properties": {
|
|
1010
|
+
"channel": {
|
|
1011
|
+
"description": "Resolve chat within a channel",
|
|
1012
|
+
"type": "string"
|
|
1013
|
+
},
|
|
1014
|
+
"chat": {
|
|
1015
|
+
"description": "Chat id, phone, group id, or normalized chat id",
|
|
1016
|
+
"type": "string"
|
|
1017
|
+
},
|
|
1018
|
+
"includeRaw": {
|
|
1019
|
+
"description": "Include raw provider ids and provenance in JSON output",
|
|
1020
|
+
"type": "boolean"
|
|
1021
|
+
},
|
|
1022
|
+
"instance": {
|
|
1023
|
+
"description": "Resolve chat within an instance",
|
|
1024
|
+
"type": "string"
|
|
1025
|
+
},
|
|
1026
|
+
"limit": {
|
|
1027
|
+
"description": "Max delta messages (default: 50, max: 500)",
|
|
1028
|
+
"type": "string"
|
|
1029
|
+
},
|
|
1030
|
+
"list": {
|
|
1031
|
+
"description": "List id or name",
|
|
1032
|
+
"type": "string"
|
|
1033
|
+
},
|
|
1034
|
+
"markRead": {
|
|
1035
|
+
"description": "Advance the cursor to the last returned message",
|
|
1036
|
+
"type": "boolean"
|
|
1037
|
+
},
|
|
1038
|
+
"owner": {
|
|
1039
|
+
"description": "Owner scope when resolving list by name",
|
|
1040
|
+
"type": "string"
|
|
1041
|
+
},
|
|
1042
|
+
"reader": {
|
|
1043
|
+
"description": "Reader cursor scope (default: current agent)",
|
|
1044
|
+
"type": "string"
|
|
1045
|
+
}
|
|
1046
|
+
},
|
|
1047
|
+
"required": [
|
|
1048
|
+
"chat",
|
|
1049
|
+
"list"
|
|
1050
|
+
],
|
|
1051
|
+
"type": "object"
|
|
1052
|
+
};
|
|
1053
|
+
/** JSON Schema for the input body of `chats.lists.list`. */
|
|
1054
|
+
export const ChatsListsListInputSchema = {
|
|
1055
|
+
"additionalProperties": false,
|
|
1056
|
+
"properties": {
|
|
1057
|
+
"includeArchived": {
|
|
1058
|
+
"description": "Include archived lists",
|
|
1059
|
+
"type": "boolean"
|
|
1060
|
+
},
|
|
1061
|
+
"limit": {
|
|
1062
|
+
"description": "Page size (default: 50, max: 500)",
|
|
1063
|
+
"type": "string"
|
|
1064
|
+
},
|
|
1065
|
+
"offset": {
|
|
1066
|
+
"description": "Number of matching lists to skip (default: 0)",
|
|
1067
|
+
"type": "string"
|
|
1068
|
+
},
|
|
1069
|
+
"owner": {
|
|
1070
|
+
"description": "Filter by owner, e.g. agent:ravi-crm",
|
|
1071
|
+
"type": "string"
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
"type": "object"
|
|
1075
|
+
};
|
|
1076
|
+
/** JSON Schema for the input body of `chats.lists.mark-read`. */
|
|
1077
|
+
export const ChatsListsMarkReadInputSchema = {
|
|
1078
|
+
"additionalProperties": false,
|
|
1079
|
+
"properties": {
|
|
1080
|
+
"channel": {
|
|
1081
|
+
"description": "Resolve chat within a channel",
|
|
1082
|
+
"type": "string"
|
|
1083
|
+
},
|
|
1084
|
+
"chat": {
|
|
1085
|
+
"description": "Chat id, phone, group id, or normalized chat id",
|
|
1086
|
+
"type": "string"
|
|
1087
|
+
},
|
|
1088
|
+
"includeRaw": {
|
|
1089
|
+
"description": "Include raw provider ids and provenance in JSON output",
|
|
1090
|
+
"type": "boolean"
|
|
1091
|
+
},
|
|
1092
|
+
"instance": {
|
|
1093
|
+
"description": "Resolve chat within an instance",
|
|
1094
|
+
"type": "string"
|
|
1095
|
+
},
|
|
1096
|
+
"list": {
|
|
1097
|
+
"description": "List id or name",
|
|
1098
|
+
"type": "string"
|
|
1099
|
+
},
|
|
1100
|
+
"message": {
|
|
1101
|
+
"description": "Mark read through this durable message id (default: latest)",
|
|
1102
|
+
"type": "string"
|
|
1103
|
+
},
|
|
1104
|
+
"owner": {
|
|
1105
|
+
"description": "Owner scope when resolving list by name",
|
|
1106
|
+
"type": "string"
|
|
1107
|
+
},
|
|
1108
|
+
"reader": {
|
|
1109
|
+
"description": "Reader cursor scope (default: current agent)",
|
|
1110
|
+
"type": "string"
|
|
1111
|
+
},
|
|
1112
|
+
"reason": {
|
|
1113
|
+
"description": "Cursor update reason",
|
|
1114
|
+
"type": "string"
|
|
1115
|
+
}
|
|
1116
|
+
},
|
|
1117
|
+
"required": [
|
|
1118
|
+
"chat",
|
|
1119
|
+
"list"
|
|
1120
|
+
],
|
|
1121
|
+
"type": "object"
|
|
1122
|
+
};
|
|
1123
|
+
/** JSON Schema for the input body of `chats.lists.members`. */
|
|
1124
|
+
export const ChatsListsMembersInputSchema = {
|
|
1125
|
+
"additionalProperties": false,
|
|
1126
|
+
"properties": {
|
|
1127
|
+
"includeRaw": {
|
|
1128
|
+
"description": "Include raw provider ids and provenance in JSON output",
|
|
1129
|
+
"type": "boolean"
|
|
1130
|
+
},
|
|
1131
|
+
"limit": {
|
|
1132
|
+
"description": "Page size (default: 50, max: 500)",
|
|
1133
|
+
"type": "string"
|
|
1134
|
+
},
|
|
1135
|
+
"list": {
|
|
1136
|
+
"description": "List id or name",
|
|
1137
|
+
"type": "string"
|
|
1138
|
+
},
|
|
1139
|
+
"offset": {
|
|
1140
|
+
"description": "Number of matching members to skip (default: 0)",
|
|
1141
|
+
"type": "string"
|
|
1142
|
+
},
|
|
1143
|
+
"owner": {
|
|
1144
|
+
"description": "Owner scope when resolving list by name",
|
|
1145
|
+
"type": "string"
|
|
1146
|
+
},
|
|
1147
|
+
"reader": {
|
|
1148
|
+
"description": "Reader cursor scope (default: current agent)",
|
|
1149
|
+
"type": "string"
|
|
1150
|
+
}
|
|
1151
|
+
},
|
|
1152
|
+
"required": [
|
|
1153
|
+
"list"
|
|
1154
|
+
],
|
|
1155
|
+
"type": "object"
|
|
1156
|
+
};
|
|
1157
|
+
/** JSON Schema for the input body of `chats.lists.remove`. */
|
|
1158
|
+
export const ChatsListsRemoveInputSchema = {
|
|
1159
|
+
"additionalProperties": false,
|
|
1160
|
+
"properties": {
|
|
1161
|
+
"channel": {
|
|
1162
|
+
"description": "Resolve chat within a channel",
|
|
1163
|
+
"type": "string"
|
|
1164
|
+
},
|
|
1165
|
+
"chat": {
|
|
1166
|
+
"description": "Chat id, phone, group id, or normalized chat id",
|
|
1167
|
+
"type": "string"
|
|
1168
|
+
},
|
|
1169
|
+
"instance": {
|
|
1170
|
+
"description": "Resolve chat within an instance",
|
|
1171
|
+
"type": "string"
|
|
1172
|
+
},
|
|
1173
|
+
"list": {
|
|
1174
|
+
"description": "List id or name",
|
|
1175
|
+
"type": "string"
|
|
1176
|
+
},
|
|
1177
|
+
"owner": {
|
|
1178
|
+
"description": "Owner scope when resolving list by name",
|
|
1179
|
+
"type": "string"
|
|
1180
|
+
}
|
|
1181
|
+
},
|
|
1182
|
+
"required": [
|
|
1183
|
+
"chat",
|
|
1184
|
+
"list"
|
|
1185
|
+
],
|
|
1186
|
+
"type": "object"
|
|
1187
|
+
};
|
|
1188
|
+
/** JSON Schema for the input body of `chats.read`. */
|
|
1189
|
+
export const ChatsReadInputSchema = {
|
|
1190
|
+
"additionalProperties": false,
|
|
1191
|
+
"properties": {
|
|
1192
|
+
"channel": {
|
|
1193
|
+
"description": "Resolve chat within a channel",
|
|
1194
|
+
"type": "string"
|
|
1195
|
+
},
|
|
1196
|
+
"chat": {
|
|
1197
|
+
"description": "Chat id, platform chat id, phone, group id, or normalized chat id",
|
|
1198
|
+
"type": "string"
|
|
1199
|
+
},
|
|
1200
|
+
"includeRaw": {
|
|
1201
|
+
"description": "Include raw provider ids and provenance in JSON output",
|
|
1202
|
+
"type": "boolean"
|
|
1203
|
+
},
|
|
1204
|
+
"instance": {
|
|
1205
|
+
"description": "Resolve chat within an instance",
|
|
1206
|
+
"type": "string"
|
|
1207
|
+
},
|
|
1208
|
+
"limit": {
|
|
1209
|
+
"description": "Page size (default: 50, max: 500)",
|
|
1210
|
+
"type": "string"
|
|
1211
|
+
},
|
|
1212
|
+
"offset": {
|
|
1213
|
+
"description": "Number of matching messages to skip (default: 0)",
|
|
1214
|
+
"type": "string"
|
|
1215
|
+
},
|
|
1216
|
+
"order": {
|
|
1217
|
+
"description": "Message order (default: asc)",
|
|
1218
|
+
"type": "string"
|
|
1219
|
+
},
|
|
1220
|
+
"type": {
|
|
1221
|
+
"description": "Resolve chat type: dm|group|thread|room",
|
|
1222
|
+
"type": "string"
|
|
1223
|
+
}
|
|
1224
|
+
},
|
|
1225
|
+
"required": [
|
|
1226
|
+
"chat"
|
|
1227
|
+
],
|
|
1228
|
+
"type": "object"
|
|
1229
|
+
};
|
|
890
1230
|
/** JSON Schema for the input body of `commands.list`. */
|
|
891
1231
|
export const CommandsListInputSchema = {
|
|
892
1232
|
"additionalProperties": false,
|
|
@@ -999,7 +1339,7 @@ export const ContactsAddInputSchema = {
|
|
|
999
1339
|
"type": "string"
|
|
1000
1340
|
},
|
|
1001
1341
|
"identity": {
|
|
1002
|
-
"description": "Phone number or
|
|
1342
|
+
"description": "Phone number or WhatsApp identity",
|
|
1003
1343
|
"type": "string"
|
|
1004
1344
|
},
|
|
1005
1345
|
"kind": {
|
|
@@ -1052,6 +1392,45 @@ export const ContactsApproveInputSchema = {
|
|
|
1052
1392
|
],
|
|
1053
1393
|
"type": "object"
|
|
1054
1394
|
};
|
|
1395
|
+
/** JSON Schema for the input body of `contacts.backfill`. */
|
|
1396
|
+
export const ContactsBackfillInputSchema = {
|
|
1397
|
+
"additionalProperties": false,
|
|
1398
|
+
"properties": {
|
|
1399
|
+
"apply": {
|
|
1400
|
+
"description": "Write canonical contacts and actor links. Without this, runs dry-run.",
|
|
1401
|
+
"type": "boolean"
|
|
1402
|
+
},
|
|
1403
|
+
"channel": {
|
|
1404
|
+
"description": "Limit to one channel, e.g. whatsapp",
|
|
1405
|
+
"type": "string"
|
|
1406
|
+
},
|
|
1407
|
+
"createList": {
|
|
1408
|
+
"description": "When applying, add linked chats to this reading list",
|
|
1409
|
+
"type": "string"
|
|
1410
|
+
},
|
|
1411
|
+
"dryRun": {
|
|
1412
|
+
"description": "Force preview mode even if --apply is present",
|
|
1413
|
+
"type": "boolean"
|
|
1414
|
+
},
|
|
1415
|
+
"instance": {
|
|
1416
|
+
"description": "Limit to one channel instance/account",
|
|
1417
|
+
"type": "string"
|
|
1418
|
+
},
|
|
1419
|
+
"limit": {
|
|
1420
|
+
"description": "Maximum candidates to inspect/apply",
|
|
1421
|
+
"type": "string"
|
|
1422
|
+
},
|
|
1423
|
+
"listOwner": {
|
|
1424
|
+
"description": "Owner for --create-list (default: agent:ravi-crm)",
|
|
1425
|
+
"type": "string"
|
|
1426
|
+
},
|
|
1427
|
+
"mode": {
|
|
1428
|
+
"description": "Contact intake status: pending|discovered (default: pending)",
|
|
1429
|
+
"type": "string"
|
|
1430
|
+
}
|
|
1431
|
+
},
|
|
1432
|
+
"type": "object"
|
|
1433
|
+
};
|
|
1055
1434
|
/** JSON Schema for the input body of `contacts.block`. */
|
|
1056
1435
|
export const ContactsBlockInputSchema = {
|
|
1057
1436
|
"additionalProperties": false,
|
|
@@ -1118,92 +1497,6 @@ export const ContactsGetInputSchema = {
|
|
|
1118
1497
|
],
|
|
1119
1498
|
"type": "object"
|
|
1120
1499
|
};
|
|
1121
|
-
/** JSON Schema for the input body of `contacts.group-tag`. */
|
|
1122
|
-
export const ContactsGroupTagInputSchema = {
|
|
1123
|
-
"additionalProperties": false,
|
|
1124
|
-
"properties": {
|
|
1125
|
-
"contact": {
|
|
1126
|
-
"description": "Contact ID or identity",
|
|
1127
|
-
"type": "string"
|
|
1128
|
-
},
|
|
1129
|
-
"group": {
|
|
1130
|
-
"description": "Group contact ID or identity",
|
|
1131
|
-
"type": "string"
|
|
1132
|
-
},
|
|
1133
|
-
"tag": {
|
|
1134
|
-
"description": "Tag label",
|
|
1135
|
-
"type": "string"
|
|
1136
|
-
}
|
|
1137
|
-
},
|
|
1138
|
-
"required": [
|
|
1139
|
-
"contact",
|
|
1140
|
-
"group",
|
|
1141
|
-
"tag"
|
|
1142
|
-
],
|
|
1143
|
-
"type": "object"
|
|
1144
|
-
};
|
|
1145
|
-
/** JSON Schema for the input body of `contacts.group-untag`. */
|
|
1146
|
-
export const ContactsGroupUntagInputSchema = {
|
|
1147
|
-
"additionalProperties": false,
|
|
1148
|
-
"properties": {
|
|
1149
|
-
"contact": {
|
|
1150
|
-
"description": "Contact ID or identity",
|
|
1151
|
-
"type": "string"
|
|
1152
|
-
},
|
|
1153
|
-
"group": {
|
|
1154
|
-
"description": "Group contact ID or identity",
|
|
1155
|
-
"type": "string"
|
|
1156
|
-
}
|
|
1157
|
-
},
|
|
1158
|
-
"required": [
|
|
1159
|
-
"contact",
|
|
1160
|
-
"group"
|
|
1161
|
-
],
|
|
1162
|
-
"type": "object"
|
|
1163
|
-
};
|
|
1164
|
-
/** JSON Schema for the input body of `contacts.identity-add`. */
|
|
1165
|
-
export const ContactsIdentityAddInputSchema = {
|
|
1166
|
-
"additionalProperties": false,
|
|
1167
|
-
"properties": {
|
|
1168
|
-
"contact": {
|
|
1169
|
-
"description": "Contact ID or identity",
|
|
1170
|
-
"type": "string"
|
|
1171
|
-
},
|
|
1172
|
-
"platform": {
|
|
1173
|
-
"description": "Platform (phone, whatsapp_lid, telegram, email)",
|
|
1174
|
-
"type": "string"
|
|
1175
|
-
},
|
|
1176
|
-
"value": {
|
|
1177
|
-
"description": "Identity value",
|
|
1178
|
-
"type": "string"
|
|
1179
|
-
}
|
|
1180
|
-
},
|
|
1181
|
-
"required": [
|
|
1182
|
-
"contact",
|
|
1183
|
-
"platform",
|
|
1184
|
-
"value"
|
|
1185
|
-
],
|
|
1186
|
-
"type": "object"
|
|
1187
|
-
};
|
|
1188
|
-
/** JSON Schema for the input body of `contacts.identity-remove`. */
|
|
1189
|
-
export const ContactsIdentityRemoveInputSchema = {
|
|
1190
|
-
"additionalProperties": false,
|
|
1191
|
-
"properties": {
|
|
1192
|
-
"platform": {
|
|
1193
|
-
"description": "Platform",
|
|
1194
|
-
"type": "string"
|
|
1195
|
-
},
|
|
1196
|
-
"value": {
|
|
1197
|
-
"description": "Identity value",
|
|
1198
|
-
"type": "string"
|
|
1199
|
-
}
|
|
1200
|
-
},
|
|
1201
|
-
"required": [
|
|
1202
|
-
"platform",
|
|
1203
|
-
"value"
|
|
1204
|
-
],
|
|
1205
|
-
"type": "object"
|
|
1206
|
-
};
|
|
1207
1500
|
/** JSON Schema for the input body of `contacts.info`. */
|
|
1208
1501
|
export const ContactsInfoInputSchema = {
|
|
1209
1502
|
"additionalProperties": false,
|
|
@@ -3656,6 +3949,10 @@ export const InstancesCreateInputSchema = {
|
|
|
3656
3949
|
"description": "Channel type (default: whatsapp)",
|
|
3657
3950
|
"type": "string"
|
|
3658
3951
|
},
|
|
3952
|
+
"contactIntakeMode": {
|
|
3953
|
+
"description": "Inbound DM contact intake: off|discovered|pending (default: off)",
|
|
3954
|
+
"type": "string"
|
|
3955
|
+
},
|
|
3659
3956
|
"dmPolicy": {
|
|
3660
3957
|
"description": "DM policy: open|pairing|closed (default: open)",
|
|
3661
3958
|
"type": "string"
|
|
@@ -3741,7 +4038,7 @@ export const InstancesGetInputSchema = {
|
|
|
3741
4038
|
"additionalProperties": false,
|
|
3742
4039
|
"properties": {
|
|
3743
4040
|
"key": {
|
|
3744
|
-
"description": "Property key (agent, dmPolicy, groupPolicy, dmScope, instanceId, channel, enabled, defaults)",
|
|
4041
|
+
"description": "Property key (agent, dmPolicy, groupPolicy, contactIntakeMode, defaultContactTags, dmScope, instanceId, channel, enabled, defaults)",
|
|
3745
4042
|
"type": "string"
|
|
3746
4043
|
},
|
|
3747
4044
|
"name": {
|
|
@@ -4040,7 +4337,7 @@ export const InstancesSetInputSchema = {
|
|
|
4040
4337
|
"additionalProperties": false,
|
|
4041
4338
|
"properties": {
|
|
4042
4339
|
"key": {
|
|
4043
|
-
"description": "Property key (agent, dmPolicy, groupPolicy, dmScope, instanceId, channel, enabled, defaults)",
|
|
4340
|
+
"description": "Property key (agent, dmPolicy, groupPolicy, contactIntakeMode, defaultContactTags, dmScope, instanceId, channel, enabled, defaults)",
|
|
4044
4341
|
"type": "string"
|
|
4045
4342
|
},
|
|
4046
4343
|
"name": {
|
|
@@ -6546,6 +6843,26 @@ export const SessionsSendInputSchema = {
|
|
|
6546
6843
|
"description": "Prompt to send (omit for interactive mode)",
|
|
6547
6844
|
"type": "string"
|
|
6548
6845
|
},
|
|
6846
|
+
"thread": {
|
|
6847
|
+
"description": "Attach or auto-create a Ravi thread",
|
|
6848
|
+
"type": "string"
|
|
6849
|
+
},
|
|
6850
|
+
"threadOwner": {
|
|
6851
|
+
"description": "Owner for thread auto-create",
|
|
6852
|
+
"type": "string"
|
|
6853
|
+
},
|
|
6854
|
+
"threadScope": {
|
|
6855
|
+
"description": "Scope for thread lookup/create",
|
|
6856
|
+
"type": "string"
|
|
6857
|
+
},
|
|
6858
|
+
"threadSummary": {
|
|
6859
|
+
"description": "Initial summary when --thread auto-creates",
|
|
6860
|
+
"type": "string"
|
|
6861
|
+
},
|
|
6862
|
+
"threadTitle": {
|
|
6863
|
+
"description": "Title required when --thread auto-creates",
|
|
6864
|
+
"type": "string"
|
|
6865
|
+
},
|
|
6549
6866
|
"to": {
|
|
6550
6867
|
"description": "Override delivery target",
|
|
6551
6868
|
"type": "string"
|
|
@@ -7132,32 +7449,142 @@ export const StickersAddInputSchema = {
|
|
|
7132
7449
|
}
|
|
7133
7450
|
},
|
|
7134
7451
|
"required": [
|
|
7135
|
-
"id",
|
|
7136
|
-
"mediaPath"
|
|
7452
|
+
"id",
|
|
7453
|
+
"mediaPath"
|
|
7454
|
+
],
|
|
7455
|
+
"type": "object"
|
|
7456
|
+
};
|
|
7457
|
+
/** JSON Schema for the input body of `stickers.list`. */
|
|
7458
|
+
export const StickersListInputSchema = {
|
|
7459
|
+
"additionalProperties": false,
|
|
7460
|
+
"properties": {
|
|
7461
|
+
"limit": {
|
|
7462
|
+
"description": "Page size (default: 50, max: 500)",
|
|
7463
|
+
"type": "string"
|
|
7464
|
+
},
|
|
7465
|
+
"offset": {
|
|
7466
|
+
"description": "Number of matching stickers to skip (default: 0)",
|
|
7467
|
+
"type": "string"
|
|
7468
|
+
}
|
|
7469
|
+
},
|
|
7470
|
+
"type": "object"
|
|
7471
|
+
};
|
|
7472
|
+
/** JSON Schema for the input body of `stickers.remove`. */
|
|
7473
|
+
export const StickersRemoveInputSchema = {
|
|
7474
|
+
"additionalProperties": false,
|
|
7475
|
+
"properties": {
|
|
7476
|
+
"id": {
|
|
7477
|
+
"description": "Sticker id",
|
|
7478
|
+
"type": "string"
|
|
7479
|
+
}
|
|
7480
|
+
},
|
|
7481
|
+
"required": [
|
|
7482
|
+
"id"
|
|
7483
|
+
],
|
|
7484
|
+
"type": "object"
|
|
7485
|
+
};
|
|
7486
|
+
/** JSON Schema for the input body of `stickers.send`. */
|
|
7487
|
+
export const StickersSendInputSchema = {
|
|
7488
|
+
"additionalProperties": false,
|
|
7489
|
+
"properties": {
|
|
7490
|
+
"account": {
|
|
7491
|
+
"description": "Explicit channel account id",
|
|
7492
|
+
"type": "string"
|
|
7493
|
+
},
|
|
7494
|
+
"channel": {
|
|
7495
|
+
"description": "Explicit target channel",
|
|
7496
|
+
"type": "string"
|
|
7497
|
+
},
|
|
7498
|
+
"id": {
|
|
7499
|
+
"description": "Sticker id",
|
|
7500
|
+
"type": "string"
|
|
7501
|
+
},
|
|
7502
|
+
"session": {
|
|
7503
|
+
"description": "Resolve target from a session route",
|
|
7504
|
+
"type": "string"
|
|
7505
|
+
},
|
|
7506
|
+
"to": {
|
|
7507
|
+
"description": "Explicit target chat id",
|
|
7508
|
+
"type": "string"
|
|
7509
|
+
}
|
|
7510
|
+
},
|
|
7511
|
+
"required": [
|
|
7512
|
+
"id"
|
|
7513
|
+
],
|
|
7514
|
+
"type": "object"
|
|
7515
|
+
};
|
|
7516
|
+
/** JSON Schema for the input body of `stickers.show`. */
|
|
7517
|
+
export const StickersShowInputSchema = {
|
|
7518
|
+
"additionalProperties": false,
|
|
7519
|
+
"properties": {
|
|
7520
|
+
"id": {
|
|
7521
|
+
"description": "Sticker id",
|
|
7522
|
+
"type": "string"
|
|
7523
|
+
}
|
|
7524
|
+
},
|
|
7525
|
+
"required": [
|
|
7526
|
+
"id"
|
|
7527
|
+
],
|
|
7528
|
+
"type": "object"
|
|
7529
|
+
};
|
|
7530
|
+
/** JSON Schema for the input body of `tag-rules.evaluate`. */
|
|
7531
|
+
export const TagRulesEvaluateInputSchema = {
|
|
7532
|
+
"additionalProperties": false,
|
|
7533
|
+
"properties": {
|
|
7534
|
+
"apply": {
|
|
7535
|
+
"description": "Actually apply tag changes (default: dry-run)",
|
|
7536
|
+
"type": "boolean"
|
|
7537
|
+
},
|
|
7538
|
+
"file": {
|
|
7539
|
+
"description": "Load rule from a file path instead of the registry",
|
|
7540
|
+
"type": "string"
|
|
7541
|
+
},
|
|
7542
|
+
"ruleId": {
|
|
7543
|
+
"description": "Rule id to evaluate",
|
|
7544
|
+
"type": "string"
|
|
7545
|
+
},
|
|
7546
|
+
"target": {
|
|
7547
|
+
"description": "Target (e.g. contact:<id>)",
|
|
7548
|
+
"type": "string"
|
|
7549
|
+
}
|
|
7550
|
+
},
|
|
7551
|
+
"required": [
|
|
7552
|
+
"ruleId"
|
|
7137
7553
|
],
|
|
7138
7554
|
"type": "object"
|
|
7139
7555
|
};
|
|
7140
|
-
/** JSON Schema for the input body of `
|
|
7141
|
-
export const
|
|
7556
|
+
/** JSON Schema for the input body of `tag-rules.explain`. */
|
|
7557
|
+
export const TagRulesExplainInputSchema = {
|
|
7558
|
+
"additionalProperties": false,
|
|
7559
|
+
"properties": {
|
|
7560
|
+
"target": {
|
|
7561
|
+
"description": "Target (e.g. contact:<id>)",
|
|
7562
|
+
"type": "string"
|
|
7563
|
+
}
|
|
7564
|
+
},
|
|
7565
|
+
"type": "object"
|
|
7566
|
+
};
|
|
7567
|
+
/** JSON Schema for the input body of `tag-rules.list`. */
|
|
7568
|
+
export const TagRulesListInputSchema = {
|
|
7142
7569
|
"additionalProperties": false,
|
|
7143
7570
|
"properties": {
|
|
7144
7571
|
"limit": {
|
|
7145
|
-
"description": "Page size (default: 50
|
|
7572
|
+
"description": "Page size (default: 50)",
|
|
7146
7573
|
"type": "string"
|
|
7147
7574
|
},
|
|
7148
7575
|
"offset": {
|
|
7149
|
-
"description": "Number of
|
|
7576
|
+
"description": "Number of rules to skip (default: 0)",
|
|
7150
7577
|
"type": "string"
|
|
7151
7578
|
}
|
|
7152
7579
|
},
|
|
7153
7580
|
"type": "object"
|
|
7154
7581
|
};
|
|
7155
|
-
/** JSON Schema for the input body of `
|
|
7156
|
-
export const
|
|
7582
|
+
/** JSON Schema for the input body of `tag-rules.show`. */
|
|
7583
|
+
export const TagRulesShowInputSchema = {
|
|
7157
7584
|
"additionalProperties": false,
|
|
7158
7585
|
"properties": {
|
|
7159
7586
|
"id": {
|
|
7160
|
-
"description": "
|
|
7587
|
+
"description": "Rule id",
|
|
7161
7588
|
"type": "string"
|
|
7162
7589
|
}
|
|
7163
7590
|
},
|
|
@@ -7166,48 +7593,25 @@ export const StickersRemoveInputSchema = {
|
|
|
7166
7593
|
],
|
|
7167
7594
|
"type": "object"
|
|
7168
7595
|
};
|
|
7169
|
-
/** JSON Schema for the input body of `
|
|
7170
|
-
export const
|
|
7596
|
+
/** JSON Schema for the input body of `tag-rules.tick`. */
|
|
7597
|
+
export const TagRulesTickInputSchema = {
|
|
7171
7598
|
"additionalProperties": false,
|
|
7172
7599
|
"properties": {
|
|
7173
|
-
"
|
|
7174
|
-
"description": "
|
|
7175
|
-
"type": "
|
|
7176
|
-
},
|
|
7177
|
-
"channel": {
|
|
7178
|
-
"description": "Explicit target channel",
|
|
7179
|
-
"type": "string"
|
|
7180
|
-
},
|
|
7181
|
-
"id": {
|
|
7182
|
-
"description": "Sticker id",
|
|
7183
|
-
"type": "string"
|
|
7184
|
-
},
|
|
7185
|
-
"session": {
|
|
7186
|
-
"description": "Resolve target from a session route",
|
|
7187
|
-
"type": "string"
|
|
7600
|
+
"apply": {
|
|
7601
|
+
"description": "Apply tag changes (default: dry-run)",
|
|
7602
|
+
"type": "boolean"
|
|
7188
7603
|
},
|
|
7189
|
-
"
|
|
7190
|
-
"description": "
|
|
7604
|
+
"limit": {
|
|
7605
|
+
"description": "Limit number of contacts processed",
|
|
7191
7606
|
"type": "string"
|
|
7192
7607
|
}
|
|
7193
7608
|
},
|
|
7194
|
-
"required": [
|
|
7195
|
-
"id"
|
|
7196
|
-
],
|
|
7197
7609
|
"type": "object"
|
|
7198
7610
|
};
|
|
7199
|
-
/** JSON Schema for the input body of `
|
|
7200
|
-
export const
|
|
7611
|
+
/** JSON Schema for the input body of `tag-rules.validate`. */
|
|
7612
|
+
export const TagRulesValidateInputSchema = {
|
|
7201
7613
|
"additionalProperties": false,
|
|
7202
|
-
"properties": {
|
|
7203
|
-
"id": {
|
|
7204
|
-
"description": "Sticker id",
|
|
7205
|
-
"type": "string"
|
|
7206
|
-
}
|
|
7207
|
-
},
|
|
7208
|
-
"required": [
|
|
7209
|
-
"id"
|
|
7210
|
-
],
|
|
7614
|
+
"properties": {},
|
|
7211
7615
|
"type": "object"
|
|
7212
7616
|
};
|
|
7213
7617
|
/** JSON Schema for the input body of `tags.attach`. */
|
|
@@ -8435,6 +8839,252 @@ export const TasksUnarchiveInputSchema = {
|
|
|
8435
8839
|
],
|
|
8436
8840
|
"type": "object"
|
|
8437
8841
|
};
|
|
8842
|
+
/** JSON Schema for the input body of `threads.brief`. */
|
|
8843
|
+
export const ThreadsBriefInputSchema = {
|
|
8844
|
+
"additionalProperties": false,
|
|
8845
|
+
"properties": {
|
|
8846
|
+
"scope": {
|
|
8847
|
+
"description": "Scope when resolving a slug",
|
|
8848
|
+
"type": "string"
|
|
8849
|
+
},
|
|
8850
|
+
"thread": {
|
|
8851
|
+
"description": "Thread id or slug",
|
|
8852
|
+
"type": "string"
|
|
8853
|
+
}
|
|
8854
|
+
},
|
|
8855
|
+
"required": [
|
|
8856
|
+
"thread"
|
|
8857
|
+
],
|
|
8858
|
+
"type": "object"
|
|
8859
|
+
};
|
|
8860
|
+
/** JSON Schema for the input body of `threads.close`. */
|
|
8861
|
+
export const ThreadsCloseInputSchema = {
|
|
8862
|
+
"additionalProperties": false,
|
|
8863
|
+
"properties": {
|
|
8864
|
+
"reason": {
|
|
8865
|
+
"description": "Closure reason",
|
|
8866
|
+
"type": "string"
|
|
8867
|
+
},
|
|
8868
|
+
"scope": {
|
|
8869
|
+
"description": "Scope when resolving a slug",
|
|
8870
|
+
"type": "string"
|
|
8871
|
+
},
|
|
8872
|
+
"thread": {
|
|
8873
|
+
"description": "Thread id or slug",
|
|
8874
|
+
"type": "string"
|
|
8875
|
+
}
|
|
8876
|
+
},
|
|
8877
|
+
"required": [
|
|
8878
|
+
"thread"
|
|
8879
|
+
],
|
|
8880
|
+
"type": "object"
|
|
8881
|
+
};
|
|
8882
|
+
/** JSON Schema for the input body of `threads.comment`. */
|
|
8883
|
+
export const ThreadsCommentInputSchema = {
|
|
8884
|
+
"additionalProperties": false,
|
|
8885
|
+
"properties": {
|
|
8886
|
+
"body": {
|
|
8887
|
+
"description": "Comment body",
|
|
8888
|
+
"type": "string"
|
|
8889
|
+
},
|
|
8890
|
+
"scope": {
|
|
8891
|
+
"description": "Scope when resolving a slug",
|
|
8892
|
+
"type": "string"
|
|
8893
|
+
},
|
|
8894
|
+
"thread": {
|
|
8895
|
+
"description": "Thread id or slug",
|
|
8896
|
+
"type": "string"
|
|
8897
|
+
},
|
|
8898
|
+
"visibility": {
|
|
8899
|
+
"description": "default|internal|private|restricted",
|
|
8900
|
+
"type": "string"
|
|
8901
|
+
}
|
|
8902
|
+
},
|
|
8903
|
+
"required": [
|
|
8904
|
+
"body",
|
|
8905
|
+
"thread"
|
|
8906
|
+
],
|
|
8907
|
+
"type": "object"
|
|
8908
|
+
};
|
|
8909
|
+
/** JSON Schema for the input body of `threads.create`. */
|
|
8910
|
+
export const ThreadsCreateInputSchema = {
|
|
8911
|
+
"additionalProperties": false,
|
|
8912
|
+
"properties": {
|
|
8913
|
+
"defaultAgent": {
|
|
8914
|
+
"description": "Default agent id",
|
|
8915
|
+
"type": "string"
|
|
8916
|
+
},
|
|
8917
|
+
"owner": {
|
|
8918
|
+
"description": "Owner pointer",
|
|
8919
|
+
"type": "string"
|
|
8920
|
+
},
|
|
8921
|
+
"scope": {
|
|
8922
|
+
"description": "Scope pointer, e.g. chat:<id> or session:<key>",
|
|
8923
|
+
"type": "string"
|
|
8924
|
+
},
|
|
8925
|
+
"slug": {
|
|
8926
|
+
"description": "Thread slug",
|
|
8927
|
+
"type": "string"
|
|
8928
|
+
},
|
|
8929
|
+
"status": {
|
|
8930
|
+
"description": "Initial status",
|
|
8931
|
+
"type": "string"
|
|
8932
|
+
},
|
|
8933
|
+
"summary": {
|
|
8934
|
+
"description": "Initial thread summary",
|
|
8935
|
+
"type": "string"
|
|
8936
|
+
},
|
|
8937
|
+
"title": {
|
|
8938
|
+
"description": "Thread title",
|
|
8939
|
+
"type": "string"
|
|
8940
|
+
}
|
|
8941
|
+
},
|
|
8942
|
+
"required": [
|
|
8943
|
+
"slug"
|
|
8944
|
+
],
|
|
8945
|
+
"type": "object"
|
|
8946
|
+
};
|
|
8947
|
+
/** JSON Schema for the input body of `threads.entries`. */
|
|
8948
|
+
export const ThreadsEntriesInputSchema = {
|
|
8949
|
+
"additionalProperties": false,
|
|
8950
|
+
"properties": {
|
|
8951
|
+
"limit": {
|
|
8952
|
+
"description": "Page size",
|
|
8953
|
+
"type": "string"
|
|
8954
|
+
},
|
|
8955
|
+
"offset": {
|
|
8956
|
+
"description": "Page offset",
|
|
8957
|
+
"type": "string"
|
|
8958
|
+
},
|
|
8959
|
+
"scope": {
|
|
8960
|
+
"description": "Scope when resolving a slug",
|
|
8961
|
+
"type": "string"
|
|
8962
|
+
},
|
|
8963
|
+
"thread": {
|
|
8964
|
+
"description": "Thread id or slug",
|
|
8965
|
+
"type": "string"
|
|
8966
|
+
}
|
|
8967
|
+
},
|
|
8968
|
+
"required": [
|
|
8969
|
+
"thread"
|
|
8970
|
+
],
|
|
8971
|
+
"type": "object"
|
|
8972
|
+
};
|
|
8973
|
+
/** JSON Schema for the input body of `threads.link`. */
|
|
8974
|
+
export const ThreadsLinkInputSchema = {
|
|
8975
|
+
"additionalProperties": false,
|
|
8976
|
+
"properties": {
|
|
8977
|
+
"label": {
|
|
8978
|
+
"description": "Display label",
|
|
8979
|
+
"type": "string"
|
|
8980
|
+
},
|
|
8981
|
+
"role": {
|
|
8982
|
+
"description": "Link role",
|
|
8983
|
+
"type": "string"
|
|
8984
|
+
},
|
|
8985
|
+
"scope": {
|
|
8986
|
+
"description": "Scope when resolving a slug",
|
|
8987
|
+
"type": "string"
|
|
8988
|
+
},
|
|
8989
|
+
"target": {
|
|
8990
|
+
"description": "Target pointer, e.g. chat:<id>",
|
|
8991
|
+
"type": "string"
|
|
8992
|
+
},
|
|
8993
|
+
"thread": {
|
|
8994
|
+
"description": "Thread id or slug",
|
|
8995
|
+
"type": "string"
|
|
8996
|
+
},
|
|
8997
|
+
"visibility": {
|
|
8998
|
+
"description": "default|internal|private|restricted",
|
|
8999
|
+
"type": "string"
|
|
9000
|
+
}
|
|
9001
|
+
},
|
|
9002
|
+
"required": [
|
|
9003
|
+
"target",
|
|
9004
|
+
"thread"
|
|
9005
|
+
],
|
|
9006
|
+
"type": "object"
|
|
9007
|
+
};
|
|
9008
|
+
/** JSON Schema for the input body of `threads.list`. */
|
|
9009
|
+
export const ThreadsListInputSchema = {
|
|
9010
|
+
"additionalProperties": false,
|
|
9011
|
+
"properties": {
|
|
9012
|
+
"limit": {
|
|
9013
|
+
"description": "Page size",
|
|
9014
|
+
"type": "string"
|
|
9015
|
+
},
|
|
9016
|
+
"offset": {
|
|
9017
|
+
"description": "Page offset",
|
|
9018
|
+
"type": "string"
|
|
9019
|
+
},
|
|
9020
|
+
"owner": {
|
|
9021
|
+
"description": "Filter by owner",
|
|
9022
|
+
"type": "string"
|
|
9023
|
+
},
|
|
9024
|
+
"scope": {
|
|
9025
|
+
"description": "Filter by scope",
|
|
9026
|
+
"type": "string"
|
|
9027
|
+
},
|
|
9028
|
+
"search": {
|
|
9029
|
+
"description": "Search title, slug, or summary",
|
|
9030
|
+
"type": "string"
|
|
9031
|
+
},
|
|
9032
|
+
"status": {
|
|
9033
|
+
"description": "Filter by status",
|
|
9034
|
+
"type": "string"
|
|
9035
|
+
}
|
|
9036
|
+
},
|
|
9037
|
+
"type": "object"
|
|
9038
|
+
};
|
|
9039
|
+
/** JSON Schema for the input body of `threads.note`. */
|
|
9040
|
+
export const ThreadsNoteInputSchema = {
|
|
9041
|
+
"additionalProperties": false,
|
|
9042
|
+
"properties": {
|
|
9043
|
+
"body": {
|
|
9044
|
+
"description": "Note body",
|
|
9045
|
+
"type": "string"
|
|
9046
|
+
},
|
|
9047
|
+
"scope": {
|
|
9048
|
+
"description": "Scope when resolving a slug",
|
|
9049
|
+
"type": "string"
|
|
9050
|
+
},
|
|
9051
|
+
"thread": {
|
|
9052
|
+
"description": "Thread id or slug",
|
|
9053
|
+
"type": "string"
|
|
9054
|
+
},
|
|
9055
|
+
"visibility": {
|
|
9056
|
+
"description": "default|internal|private|restricted",
|
|
9057
|
+
"type": "string"
|
|
9058
|
+
}
|
|
9059
|
+
},
|
|
9060
|
+
"required": [
|
|
9061
|
+
"body",
|
|
9062
|
+
"thread"
|
|
9063
|
+
],
|
|
9064
|
+
"type": "object"
|
|
9065
|
+
};
|
|
9066
|
+
/** JSON Schema for the input body of `threads.show`. */
|
|
9067
|
+
export const ThreadsShowInputSchema = {
|
|
9068
|
+
"additionalProperties": false,
|
|
9069
|
+
"properties": {
|
|
9070
|
+
"entries": {
|
|
9071
|
+
"description": "Number of entries to include",
|
|
9072
|
+
"type": "string"
|
|
9073
|
+
},
|
|
9074
|
+
"scope": {
|
|
9075
|
+
"description": "Scope when resolving a slug",
|
|
9076
|
+
"type": "string"
|
|
9077
|
+
},
|
|
9078
|
+
"thread": {
|
|
9079
|
+
"description": "Thread id or slug",
|
|
9080
|
+
"type": "string"
|
|
9081
|
+
}
|
|
9082
|
+
},
|
|
9083
|
+
"required": [
|
|
9084
|
+
"thread"
|
|
9085
|
+
],
|
|
9086
|
+
"type": "object"
|
|
9087
|
+
};
|
|
8438
9088
|
/** JSON Schema for the input body of `tools.list`. */
|
|
8439
9089
|
export const ToolsListInputSchema = {
|
|
8440
9090
|
"additionalProperties": false,
|
|
@@ -8690,29 +9340,6 @@ export const VideoAnalyzeInputSchema = {
|
|
|
8690
9340
|
],
|
|
8691
9341
|
"type": "object"
|
|
8692
9342
|
};
|
|
8693
|
-
/** JSON Schema for the input body of `whatsapp.chats.list`. */
|
|
8694
|
-
export const WhatsappChatsListInputSchema = {
|
|
8695
|
-
"additionalProperties": false,
|
|
8696
|
-
"properties": {
|
|
8697
|
-
"instance": {
|
|
8698
|
-
"description": "Filter by instance name (ravi.db)",
|
|
8699
|
-
"type": "string"
|
|
8700
|
-
},
|
|
8701
|
-
"limit": {
|
|
8702
|
-
"description": "Max rows to display (default: 200)",
|
|
8703
|
-
"type": "string"
|
|
8704
|
-
},
|
|
8705
|
-
"since": {
|
|
8706
|
-
"description": "Days back or YYYY-MM-DD (default: 7)",
|
|
8707
|
-
"type": "string"
|
|
8708
|
-
},
|
|
8709
|
-
"type": {
|
|
8710
|
-
"description": "Filter: dm | group | all (default: all)",
|
|
8711
|
-
"type": "string"
|
|
8712
|
-
}
|
|
8713
|
-
},
|
|
8714
|
-
"type": "object"
|
|
8715
|
-
};
|
|
8716
9343
|
/** JSON Schema for the input body of `whatsapp.dm.ack`. */
|
|
8717
9344
|
export const WhatsappDmAckInputSchema = {
|
|
8718
9345
|
"additionalProperties": false,
|
|
@@ -8722,7 +9349,7 @@ export const WhatsappDmAckInputSchema = {
|
|
|
8722
9349
|
"type": "string"
|
|
8723
9350
|
},
|
|
8724
9351
|
"contact": {
|
|
8725
|
-
"description": "Contact ID, phone, or
|
|
9352
|
+
"description": "Contact ID, phone, or WhatsApp identity",
|
|
8726
9353
|
"type": "string"
|
|
8727
9354
|
},
|
|
8728
9355
|
"messageId": {
|
|
@@ -8745,7 +9372,7 @@ export const WhatsappDmReadInputSchema = {
|
|
|
8745
9372
|
"type": "string"
|
|
8746
9373
|
},
|
|
8747
9374
|
"contact": {
|
|
8748
|
-
"description": "Contact ID, phone, or
|
|
9375
|
+
"description": "Contact ID, phone, or WhatsApp identity",
|
|
8749
9376
|
"type": "string"
|
|
8750
9377
|
},
|
|
8751
9378
|
"last": {
|
|
@@ -8772,7 +9399,7 @@ export const WhatsappDmSendInputSchema = {
|
|
|
8772
9399
|
"type": "string"
|
|
8773
9400
|
},
|
|
8774
9401
|
"contact": {
|
|
8775
|
-
"description": "Contact ID, phone, or
|
|
9402
|
+
"description": "Contact ID, phone, or WhatsApp identity",
|
|
8776
9403
|
"type": "string"
|
|
8777
9404
|
},
|
|
8778
9405
|
"message": {
|