@ravi-os/sdk 0.2.1 → 0.260519.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/schemas.d.ts CHANGED
@@ -836,6 +836,328 @@ export declare const AudioGenerateInputSchema: {
836
836
  readonly required: readonly ["text"];
837
837
  readonly type: "object";
838
838
  };
839
+ /** JSON Schema for the input body of `chats.list`. */
840
+ export declare const ChatsListInputSchema: {
841
+ readonly additionalProperties: false;
842
+ readonly properties: {
843
+ readonly agent: {
844
+ readonly description: "Filter by agent id";
845
+ readonly type: "string";
846
+ };
847
+ readonly channel: {
848
+ readonly description: "Filter by channel, e.g. whatsapp";
849
+ readonly type: "string";
850
+ };
851
+ readonly contact: {
852
+ readonly description: "Filter by contact id, phone, or identity";
853
+ readonly type: "string";
854
+ };
855
+ readonly includeRaw: {
856
+ readonly description: "Include raw provider ids and provenance in JSON output";
857
+ readonly type: "boolean";
858
+ };
859
+ readonly instance: {
860
+ readonly description: "Filter by instance name or Omni instance id";
861
+ readonly type: "string";
862
+ };
863
+ readonly limit: {
864
+ readonly description: "Page size (default: 25, max: 500)";
865
+ readonly type: "string";
866
+ };
867
+ readonly offset: {
868
+ readonly description: "Number of matching chats to skip (default: 0)";
869
+ readonly type: "string";
870
+ };
871
+ readonly query: {
872
+ readonly description: "Search chat ids, titles, and message content";
873
+ readonly type: "string";
874
+ };
875
+ readonly type: {
876
+ readonly description: "Filter by chat type: dm|group|thread|room";
877
+ readonly type: "string";
878
+ };
879
+ };
880
+ readonly type: "object";
881
+ };
882
+ /** JSON Schema for the input body of `chats.lists.add`. */
883
+ export declare const ChatsListsAddInputSchema: {
884
+ readonly additionalProperties: false;
885
+ readonly properties: {
886
+ readonly channel: {
887
+ readonly description: "Resolve chat within a channel";
888
+ readonly type: "string";
889
+ };
890
+ readonly chat: {
891
+ readonly description: "Chat id, phone, group id, or normalized chat id";
892
+ readonly type: "string";
893
+ };
894
+ readonly includeRaw: {
895
+ readonly description: "Include raw provider ids and provenance in JSON output";
896
+ readonly type: "boolean";
897
+ };
898
+ readonly instance: {
899
+ readonly description: "Resolve chat within an instance";
900
+ readonly type: "string";
901
+ };
902
+ readonly list: {
903
+ readonly description: "List id or name";
904
+ readonly type: "string";
905
+ };
906
+ readonly owner: {
907
+ readonly description: "Owner scope when resolving list by name";
908
+ readonly type: "string";
909
+ };
910
+ readonly priority: {
911
+ readonly description: "Sort priority (default: 0)";
912
+ readonly type: "string";
913
+ };
914
+ readonly reason: {
915
+ readonly description: "Why this chat is in the list";
916
+ readonly type: "string";
917
+ };
918
+ };
919
+ readonly required: readonly ["chat", "list"];
920
+ readonly type: "object";
921
+ };
922
+ /** JSON Schema for the input body of `chats.lists.create`. */
923
+ export declare const ChatsListsCreateInputSchema: {
924
+ readonly additionalProperties: false;
925
+ readonly properties: {
926
+ readonly description: {
927
+ readonly description: "List description";
928
+ readonly type: "string";
929
+ };
930
+ readonly mode: {
931
+ readonly description: "static|dynamic|hybrid (default: static)";
932
+ readonly type: "string";
933
+ };
934
+ readonly name: {
935
+ readonly description: "Reading list name";
936
+ readonly type: "string";
937
+ };
938
+ readonly owner: {
939
+ readonly description: "Owner scope (default: current agent or system:ravi)";
940
+ readonly type: "string";
941
+ };
942
+ readonly visibility: {
943
+ readonly description: "private|team|system (default: system)";
944
+ readonly type: "string";
945
+ };
946
+ };
947
+ readonly required: readonly ["name"];
948
+ readonly type: "object";
949
+ };
950
+ /** JSON Schema for the input body of `chats.lists.delta`. */
951
+ export declare const ChatsListsDeltaInputSchema: {
952
+ readonly additionalProperties: false;
953
+ readonly properties: {
954
+ readonly channel: {
955
+ readonly description: "Resolve chat within a channel";
956
+ readonly type: "string";
957
+ };
958
+ readonly chat: {
959
+ readonly description: "Chat id, phone, group id, or normalized chat id";
960
+ readonly type: "string";
961
+ };
962
+ readonly includeRaw: {
963
+ readonly description: "Include raw provider ids and provenance in JSON output";
964
+ readonly type: "boolean";
965
+ };
966
+ readonly instance: {
967
+ readonly description: "Resolve chat within an instance";
968
+ readonly type: "string";
969
+ };
970
+ readonly limit: {
971
+ readonly description: "Max delta messages (default: 50, max: 500)";
972
+ readonly type: "string";
973
+ };
974
+ readonly list: {
975
+ readonly description: "List id or name";
976
+ readonly type: "string";
977
+ };
978
+ readonly markRead: {
979
+ readonly description: "Advance the cursor to the last returned message";
980
+ readonly type: "boolean";
981
+ };
982
+ readonly owner: {
983
+ readonly description: "Owner scope when resolving list by name";
984
+ readonly type: "string";
985
+ };
986
+ readonly reader: {
987
+ readonly description: "Reader cursor scope (default: current agent)";
988
+ readonly type: "string";
989
+ };
990
+ };
991
+ readonly required: readonly ["chat", "list"];
992
+ readonly type: "object";
993
+ };
994
+ /** JSON Schema for the input body of `chats.lists.list`. */
995
+ export declare const ChatsListsListInputSchema: {
996
+ readonly additionalProperties: false;
997
+ readonly properties: {
998
+ readonly includeArchived: {
999
+ readonly description: "Include archived lists";
1000
+ readonly type: "boolean";
1001
+ };
1002
+ readonly limit: {
1003
+ readonly description: "Page size (default: 50, max: 500)";
1004
+ readonly type: "string";
1005
+ };
1006
+ readonly offset: {
1007
+ readonly description: "Number of matching lists to skip (default: 0)";
1008
+ readonly type: "string";
1009
+ };
1010
+ readonly owner: {
1011
+ readonly description: "Filter by owner, e.g. agent:ravi-crm";
1012
+ readonly type: "string";
1013
+ };
1014
+ };
1015
+ readonly type: "object";
1016
+ };
1017
+ /** JSON Schema for the input body of `chats.lists.mark-read`. */
1018
+ export declare const ChatsListsMarkReadInputSchema: {
1019
+ readonly additionalProperties: false;
1020
+ readonly properties: {
1021
+ readonly channel: {
1022
+ readonly description: "Resolve chat within a channel";
1023
+ readonly type: "string";
1024
+ };
1025
+ readonly chat: {
1026
+ readonly description: "Chat id, phone, group id, or normalized chat id";
1027
+ readonly type: "string";
1028
+ };
1029
+ readonly includeRaw: {
1030
+ readonly description: "Include raw provider ids and provenance in JSON output";
1031
+ readonly type: "boolean";
1032
+ };
1033
+ readonly instance: {
1034
+ readonly description: "Resolve chat within an instance";
1035
+ readonly type: "string";
1036
+ };
1037
+ readonly list: {
1038
+ readonly description: "List id or name";
1039
+ readonly type: "string";
1040
+ };
1041
+ readonly message: {
1042
+ readonly description: "Mark read through this durable message id (default: latest)";
1043
+ readonly type: "string";
1044
+ };
1045
+ readonly owner: {
1046
+ readonly description: "Owner scope when resolving list by name";
1047
+ readonly type: "string";
1048
+ };
1049
+ readonly reader: {
1050
+ readonly description: "Reader cursor scope (default: current agent)";
1051
+ readonly type: "string";
1052
+ };
1053
+ readonly reason: {
1054
+ readonly description: "Cursor update reason";
1055
+ readonly type: "string";
1056
+ };
1057
+ };
1058
+ readonly required: readonly ["chat", "list"];
1059
+ readonly type: "object";
1060
+ };
1061
+ /** JSON Schema for the input body of `chats.lists.members`. */
1062
+ export declare const ChatsListsMembersInputSchema: {
1063
+ readonly additionalProperties: false;
1064
+ readonly properties: {
1065
+ readonly includeRaw: {
1066
+ readonly description: "Include raw provider ids and provenance in JSON output";
1067
+ readonly type: "boolean";
1068
+ };
1069
+ readonly limit: {
1070
+ readonly description: "Page size (default: 50, max: 500)";
1071
+ readonly type: "string";
1072
+ };
1073
+ readonly list: {
1074
+ readonly description: "List id or name";
1075
+ readonly type: "string";
1076
+ };
1077
+ readonly offset: {
1078
+ readonly description: "Number of matching members to skip (default: 0)";
1079
+ readonly type: "string";
1080
+ };
1081
+ readonly owner: {
1082
+ readonly description: "Owner scope when resolving list by name";
1083
+ readonly type: "string";
1084
+ };
1085
+ readonly reader: {
1086
+ readonly description: "Reader cursor scope (default: current agent)";
1087
+ readonly type: "string";
1088
+ };
1089
+ };
1090
+ readonly required: readonly ["list"];
1091
+ readonly type: "object";
1092
+ };
1093
+ /** JSON Schema for the input body of `chats.lists.remove`. */
1094
+ export declare const ChatsListsRemoveInputSchema: {
1095
+ readonly additionalProperties: false;
1096
+ readonly properties: {
1097
+ readonly channel: {
1098
+ readonly description: "Resolve chat within a channel";
1099
+ readonly type: "string";
1100
+ };
1101
+ readonly chat: {
1102
+ readonly description: "Chat id, phone, group id, or normalized chat id";
1103
+ readonly type: "string";
1104
+ };
1105
+ readonly instance: {
1106
+ readonly description: "Resolve chat within an instance";
1107
+ readonly type: "string";
1108
+ };
1109
+ readonly list: {
1110
+ readonly description: "List id or name";
1111
+ readonly type: "string";
1112
+ };
1113
+ readonly owner: {
1114
+ readonly description: "Owner scope when resolving list by name";
1115
+ readonly type: "string";
1116
+ };
1117
+ };
1118
+ readonly required: readonly ["chat", "list"];
1119
+ readonly type: "object";
1120
+ };
1121
+ /** JSON Schema for the input body of `chats.read`. */
1122
+ export declare const ChatsReadInputSchema: {
1123
+ readonly additionalProperties: false;
1124
+ readonly properties: {
1125
+ readonly channel: {
1126
+ readonly description: "Resolve chat within a channel";
1127
+ readonly type: "string";
1128
+ };
1129
+ readonly chat: {
1130
+ readonly description: "Chat id, platform chat id, phone, group id, or normalized chat id";
1131
+ readonly type: "string";
1132
+ };
1133
+ readonly includeRaw: {
1134
+ readonly description: "Include raw provider ids and provenance in JSON output";
1135
+ readonly type: "boolean";
1136
+ };
1137
+ readonly instance: {
1138
+ readonly description: "Resolve chat within an instance";
1139
+ readonly type: "string";
1140
+ };
1141
+ readonly limit: {
1142
+ readonly description: "Page size (default: 50, max: 500)";
1143
+ readonly type: "string";
1144
+ };
1145
+ readonly offset: {
1146
+ readonly description: "Number of matching messages to skip (default: 0)";
1147
+ readonly type: "string";
1148
+ };
1149
+ readonly order: {
1150
+ readonly description: "Message order (default: asc)";
1151
+ readonly type: "string";
1152
+ };
1153
+ readonly type: {
1154
+ readonly description: "Resolve chat type: dm|group|thread|room";
1155
+ readonly type: "string";
1156
+ };
1157
+ };
1158
+ readonly required: readonly ["chat"];
1159
+ readonly type: "object";
1160
+ };
839
1161
  /** JSON Schema for the input body of `commands.list`. */
840
1162
  export declare const CommandsListInputSchema: {
841
1163
  readonly additionalProperties: false;
@@ -942,7 +1264,7 @@ export declare const ContactsAddInputSchema: {
942
1264
  readonly type: "string";
943
1265
  };
944
1266
  readonly identity: {
945
- readonly description: "Phone number or LID";
1267
+ readonly description: "Phone number or WhatsApp identity";
946
1268
  readonly type: "string";
947
1269
  };
948
1270
  readonly kind: {
@@ -989,6 +1311,45 @@ export declare const ContactsApproveInputSchema: {
989
1311
  readonly required: readonly ["contact"];
990
1312
  readonly type: "object";
991
1313
  };
1314
+ /** JSON Schema for the input body of `contacts.backfill`. */
1315
+ export declare const ContactsBackfillInputSchema: {
1316
+ readonly additionalProperties: false;
1317
+ readonly properties: {
1318
+ readonly apply: {
1319
+ readonly description: "Write canonical contacts and actor links. Without this, runs dry-run.";
1320
+ readonly type: "boolean";
1321
+ };
1322
+ readonly channel: {
1323
+ readonly description: "Limit to one channel, e.g. whatsapp";
1324
+ readonly type: "string";
1325
+ };
1326
+ readonly createList: {
1327
+ readonly description: "When applying, add linked chats to this reading list";
1328
+ readonly type: "string";
1329
+ };
1330
+ readonly dryRun: {
1331
+ readonly description: "Force preview mode even if --apply is present";
1332
+ readonly type: "boolean";
1333
+ };
1334
+ readonly instance: {
1335
+ readonly description: "Limit to one channel instance/account";
1336
+ readonly type: "string";
1337
+ };
1338
+ readonly limit: {
1339
+ readonly description: "Maximum candidates to inspect/apply";
1340
+ readonly type: "string";
1341
+ };
1342
+ readonly listOwner: {
1343
+ readonly description: "Owner for --create-list (default: agent:ravi-crm)";
1344
+ readonly type: "string";
1345
+ };
1346
+ readonly mode: {
1347
+ readonly description: "Contact intake status: pending|discovered (default: pending)";
1348
+ readonly type: "string";
1349
+ };
1350
+ };
1351
+ readonly type: "object";
1352
+ };
992
1353
  /** JSON Schema for the input body of `contacts.block`. */
993
1354
  export declare const ContactsBlockInputSchema: {
994
1355
  readonly additionalProperties: false;
@@ -1039,84 +1400,12 @@ export declare const ContactsFindInputSchema: {
1039
1400
  export declare const ContactsGetInputSchema: {
1040
1401
  readonly additionalProperties: false;
1041
1402
  readonly properties: {
1042
- readonly contact: {
1043
- readonly description: "Contact ID or identity";
1044
- readonly type: "string";
1045
- };
1046
- };
1047
- readonly required: readonly ["contact"];
1048
- readonly type: "object";
1049
- };
1050
- /** JSON Schema for the input body of `contacts.group-tag`. */
1051
- export declare const ContactsGroupTagInputSchema: {
1052
- readonly additionalProperties: false;
1053
- readonly properties: {
1054
- readonly contact: {
1055
- readonly description: "Contact ID or identity";
1056
- readonly type: "string";
1057
- };
1058
- readonly group: {
1059
- readonly description: "Group contact ID or identity";
1060
- readonly type: "string";
1061
- };
1062
- readonly tag: {
1063
- readonly description: "Tag label";
1064
- readonly type: "string";
1065
- };
1066
- };
1067
- readonly required: readonly ["contact", "group", "tag"];
1068
- readonly type: "object";
1069
- };
1070
- /** JSON Schema for the input body of `contacts.group-untag`. */
1071
- export declare const ContactsGroupUntagInputSchema: {
1072
- readonly additionalProperties: false;
1073
- readonly properties: {
1074
- readonly contact: {
1075
- readonly description: "Contact ID or identity";
1076
- readonly type: "string";
1077
- };
1078
- readonly group: {
1079
- readonly description: "Group contact ID or identity";
1080
- readonly type: "string";
1081
- };
1082
- };
1083
- readonly required: readonly ["contact", "group"];
1084
- readonly type: "object";
1085
- };
1086
- /** JSON Schema for the input body of `contacts.identity-add`. */
1087
- export declare const ContactsIdentityAddInputSchema: {
1088
- readonly additionalProperties: false;
1089
- readonly properties: {
1090
- readonly contact: {
1091
- readonly description: "Contact ID or identity";
1092
- readonly type: "string";
1093
- };
1094
- readonly platform: {
1095
- readonly description: "Platform (phone, whatsapp_lid, telegram, email)";
1096
- readonly type: "string";
1097
- };
1098
- readonly value: {
1099
- readonly description: "Identity value";
1100
- readonly type: "string";
1101
- };
1102
- };
1103
- readonly required: readonly ["contact", "platform", "value"];
1104
- readonly type: "object";
1105
- };
1106
- /** JSON Schema for the input body of `contacts.identity-remove`. */
1107
- export declare const ContactsIdentityRemoveInputSchema: {
1108
- readonly additionalProperties: false;
1109
- readonly properties: {
1110
- readonly platform: {
1111
- readonly description: "Platform";
1112
- readonly type: "string";
1113
- };
1114
- readonly value: {
1115
- readonly description: "Identity value";
1403
+ readonly contact: {
1404
+ readonly description: "Contact ID or identity";
1116
1405
  readonly type: "string";
1117
1406
  };
1118
1407
  };
1119
- readonly required: readonly ["platform", "value"];
1408
+ readonly required: readonly ["contact"];
1120
1409
  readonly type: "object";
1121
1410
  };
1122
1411
  /** JSON Schema for the input body of `contacts.info`. */
@@ -3389,6 +3678,10 @@ export declare const InstancesCreateInputSchema: {
3389
3678
  readonly description: "Channel type (default: whatsapp)";
3390
3679
  readonly type: "string";
3391
3680
  };
3681
+ readonly contactIntakeMode: {
3682
+ readonly description: "Inbound DM contact intake: off|discovered|pending (default: off)";
3683
+ readonly type: "string";
3684
+ };
3392
3685
  readonly dmPolicy: {
3393
3686
  readonly description: "DM policy: open|pairing|closed (default: open)";
3394
3687
  readonly type: "string";
@@ -3464,7 +3757,7 @@ export declare const InstancesGetInputSchema: {
3464
3757
  readonly additionalProperties: false;
3465
3758
  readonly properties: {
3466
3759
  readonly key: {
3467
- readonly description: "Property key (agent, dmPolicy, groupPolicy, dmScope, instanceId, channel, enabled, defaults)";
3760
+ readonly description: "Property key (agent, dmPolicy, groupPolicy, contactIntakeMode, defaultContactTags, dmScope, instanceId, channel, enabled, defaults)";
3468
3761
  readonly type: "string";
3469
3762
  };
3470
3763
  readonly name: {
@@ -3730,7 +4023,7 @@ export declare const InstancesSetInputSchema: {
3730
4023
  readonly additionalProperties: false;
3731
4024
  readonly properties: {
3732
4025
  readonly key: {
3733
- readonly description: "Property key (agent, dmPolicy, groupPolicy, dmScope, instanceId, channel, enabled, defaults)";
4026
+ readonly description: "Property key (agent, dmPolicy, groupPolicy, contactIntakeMode, defaultContactTags, dmScope, instanceId, channel, enabled, defaults)";
3734
4027
  readonly type: "string";
3735
4028
  };
3736
4029
  readonly name: {
@@ -6048,6 +6341,26 @@ export declare const SessionsSendInputSchema: {
6048
6341
  readonly description: "Prompt to send (omit for interactive mode)";
6049
6342
  readonly type: "string";
6050
6343
  };
6344
+ readonly thread: {
6345
+ readonly description: "Attach or auto-create a Ravi thread";
6346
+ readonly type: "string";
6347
+ };
6348
+ readonly threadOwner: {
6349
+ readonly description: "Owner for thread auto-create";
6350
+ readonly type: "string";
6351
+ };
6352
+ readonly threadScope: {
6353
+ readonly description: "Scope for thread lookup/create";
6354
+ readonly type: "string";
6355
+ };
6356
+ readonly threadSummary: {
6357
+ readonly description: "Initial summary when --thread auto-creates";
6358
+ readonly type: "string";
6359
+ };
6360
+ readonly threadTitle: {
6361
+ readonly description: "Title required when --thread auto-creates";
6362
+ readonly type: "string";
6363
+ };
6051
6364
  readonly to: {
6052
6365
  readonly description: "Override delivery target";
6053
6366
  readonly type: "string";
@@ -6659,6 +6972,89 @@ export declare const StickersShowInputSchema: {
6659
6972
  readonly required: readonly ["id"];
6660
6973
  readonly type: "object";
6661
6974
  };
6975
+ /** JSON Schema for the input body of `tag-rules.evaluate`. */
6976
+ export declare const TagRulesEvaluateInputSchema: {
6977
+ readonly additionalProperties: false;
6978
+ readonly properties: {
6979
+ readonly apply: {
6980
+ readonly description: "Actually apply tag changes (default: dry-run)";
6981
+ readonly type: "boolean";
6982
+ };
6983
+ readonly file: {
6984
+ readonly description: "Load rule from a file path instead of the registry";
6985
+ readonly type: "string";
6986
+ };
6987
+ readonly ruleId: {
6988
+ readonly description: "Rule id to evaluate";
6989
+ readonly type: "string";
6990
+ };
6991
+ readonly target: {
6992
+ readonly description: "Target (e.g. contact:<id>)";
6993
+ readonly type: "string";
6994
+ };
6995
+ };
6996
+ readonly required: readonly ["ruleId"];
6997
+ readonly type: "object";
6998
+ };
6999
+ /** JSON Schema for the input body of `tag-rules.explain`. */
7000
+ export declare const TagRulesExplainInputSchema: {
7001
+ readonly additionalProperties: false;
7002
+ readonly properties: {
7003
+ readonly target: {
7004
+ readonly description: "Target (e.g. contact:<id>)";
7005
+ readonly type: "string";
7006
+ };
7007
+ };
7008
+ readonly type: "object";
7009
+ };
7010
+ /** JSON Schema for the input body of `tag-rules.list`. */
7011
+ export declare const TagRulesListInputSchema: {
7012
+ readonly additionalProperties: false;
7013
+ readonly properties: {
7014
+ readonly limit: {
7015
+ readonly description: "Page size (default: 50)";
7016
+ readonly type: "string";
7017
+ };
7018
+ readonly offset: {
7019
+ readonly description: "Number of rules to skip (default: 0)";
7020
+ readonly type: "string";
7021
+ };
7022
+ };
7023
+ readonly type: "object";
7024
+ };
7025
+ /** JSON Schema for the input body of `tag-rules.show`. */
7026
+ export declare const TagRulesShowInputSchema: {
7027
+ readonly additionalProperties: false;
7028
+ readonly properties: {
7029
+ readonly id: {
7030
+ readonly description: "Rule id";
7031
+ readonly type: "string";
7032
+ };
7033
+ };
7034
+ readonly required: readonly ["id"];
7035
+ readonly type: "object";
7036
+ };
7037
+ /** JSON Schema for the input body of `tag-rules.tick`. */
7038
+ export declare const TagRulesTickInputSchema: {
7039
+ readonly additionalProperties: false;
7040
+ readonly properties: {
7041
+ readonly apply: {
7042
+ readonly description: "Apply tag changes (default: dry-run)";
7043
+ readonly type: "boolean";
7044
+ };
7045
+ readonly limit: {
7046
+ readonly description: "Limit number of contacts processed";
7047
+ readonly type: "string";
7048
+ };
7049
+ };
7050
+ readonly type: "object";
7051
+ };
7052
+ /** JSON Schema for the input body of `tag-rules.validate`. */
7053
+ export declare const TagRulesValidateInputSchema: {
7054
+ readonly additionalProperties: false;
7055
+ readonly properties: {};
7056
+ readonly type: "object";
7057
+ };
6662
7058
  /** JSON Schema for the input body of `tags.attach`. */
6663
7059
  export declare const TagsAttachInputSchema: {
6664
7060
  readonly additionalProperties: false;
@@ -7827,6 +8223,233 @@ export declare const TasksUnarchiveInputSchema: {
7827
8223
  readonly required: readonly ["taskId"];
7828
8224
  readonly type: "object";
7829
8225
  };
8226
+ /** JSON Schema for the input body of `threads.brief`. */
8227
+ export declare const ThreadsBriefInputSchema: {
8228
+ readonly additionalProperties: false;
8229
+ readonly properties: {
8230
+ readonly scope: {
8231
+ readonly description: "Scope when resolving a slug";
8232
+ readonly type: "string";
8233
+ };
8234
+ readonly thread: {
8235
+ readonly description: "Thread id or slug";
8236
+ readonly type: "string";
8237
+ };
8238
+ };
8239
+ readonly required: readonly ["thread"];
8240
+ readonly type: "object";
8241
+ };
8242
+ /** JSON Schema for the input body of `threads.close`. */
8243
+ export declare const ThreadsCloseInputSchema: {
8244
+ readonly additionalProperties: false;
8245
+ readonly properties: {
8246
+ readonly reason: {
8247
+ readonly description: "Closure reason";
8248
+ readonly type: "string";
8249
+ };
8250
+ readonly scope: {
8251
+ readonly description: "Scope when resolving a slug";
8252
+ readonly type: "string";
8253
+ };
8254
+ readonly thread: {
8255
+ readonly description: "Thread id or slug";
8256
+ readonly type: "string";
8257
+ };
8258
+ };
8259
+ readonly required: readonly ["thread"];
8260
+ readonly type: "object";
8261
+ };
8262
+ /** JSON Schema for the input body of `threads.comment`. */
8263
+ export declare const ThreadsCommentInputSchema: {
8264
+ readonly additionalProperties: false;
8265
+ readonly properties: {
8266
+ readonly body: {
8267
+ readonly description: "Comment body";
8268
+ readonly type: "string";
8269
+ };
8270
+ readonly scope: {
8271
+ readonly description: "Scope when resolving a slug";
8272
+ readonly type: "string";
8273
+ };
8274
+ readonly thread: {
8275
+ readonly description: "Thread id or slug";
8276
+ readonly type: "string";
8277
+ };
8278
+ readonly visibility: {
8279
+ readonly description: "default|internal|private|restricted";
8280
+ readonly type: "string";
8281
+ };
8282
+ };
8283
+ readonly required: readonly ["body", "thread"];
8284
+ readonly type: "object";
8285
+ };
8286
+ /** JSON Schema for the input body of `threads.create`. */
8287
+ export declare const ThreadsCreateInputSchema: {
8288
+ readonly additionalProperties: false;
8289
+ readonly properties: {
8290
+ readonly defaultAgent: {
8291
+ readonly description: "Default agent id";
8292
+ readonly type: "string";
8293
+ };
8294
+ readonly owner: {
8295
+ readonly description: "Owner pointer";
8296
+ readonly type: "string";
8297
+ };
8298
+ readonly scope: {
8299
+ readonly description: "Scope pointer, e.g. chat:<id> or session:<key>";
8300
+ readonly type: "string";
8301
+ };
8302
+ readonly slug: {
8303
+ readonly description: "Thread slug";
8304
+ readonly type: "string";
8305
+ };
8306
+ readonly status: {
8307
+ readonly description: "Initial status";
8308
+ readonly type: "string";
8309
+ };
8310
+ readonly summary: {
8311
+ readonly description: "Initial thread summary";
8312
+ readonly type: "string";
8313
+ };
8314
+ readonly title: {
8315
+ readonly description: "Thread title";
8316
+ readonly type: "string";
8317
+ };
8318
+ };
8319
+ readonly required: readonly ["slug"];
8320
+ readonly type: "object";
8321
+ };
8322
+ /** JSON Schema for the input body of `threads.entries`. */
8323
+ export declare const ThreadsEntriesInputSchema: {
8324
+ readonly additionalProperties: false;
8325
+ readonly properties: {
8326
+ readonly limit: {
8327
+ readonly description: "Page size";
8328
+ readonly type: "string";
8329
+ };
8330
+ readonly offset: {
8331
+ readonly description: "Page offset";
8332
+ readonly type: "string";
8333
+ };
8334
+ readonly scope: {
8335
+ readonly description: "Scope when resolving a slug";
8336
+ readonly type: "string";
8337
+ };
8338
+ readonly thread: {
8339
+ readonly description: "Thread id or slug";
8340
+ readonly type: "string";
8341
+ };
8342
+ };
8343
+ readonly required: readonly ["thread"];
8344
+ readonly type: "object";
8345
+ };
8346
+ /** JSON Schema for the input body of `threads.link`. */
8347
+ export declare const ThreadsLinkInputSchema: {
8348
+ readonly additionalProperties: false;
8349
+ readonly properties: {
8350
+ readonly label: {
8351
+ readonly description: "Display label";
8352
+ readonly type: "string";
8353
+ };
8354
+ readonly role: {
8355
+ readonly description: "Link role";
8356
+ readonly type: "string";
8357
+ };
8358
+ readonly scope: {
8359
+ readonly description: "Scope when resolving a slug";
8360
+ readonly type: "string";
8361
+ };
8362
+ readonly target: {
8363
+ readonly description: "Target pointer, e.g. chat:<id>";
8364
+ readonly type: "string";
8365
+ };
8366
+ readonly thread: {
8367
+ readonly description: "Thread id or slug";
8368
+ readonly type: "string";
8369
+ };
8370
+ readonly visibility: {
8371
+ readonly description: "default|internal|private|restricted";
8372
+ readonly type: "string";
8373
+ };
8374
+ };
8375
+ readonly required: readonly ["target", "thread"];
8376
+ readonly type: "object";
8377
+ };
8378
+ /** JSON Schema for the input body of `threads.list`. */
8379
+ export declare const ThreadsListInputSchema: {
8380
+ readonly additionalProperties: false;
8381
+ readonly properties: {
8382
+ readonly limit: {
8383
+ readonly description: "Page size";
8384
+ readonly type: "string";
8385
+ };
8386
+ readonly offset: {
8387
+ readonly description: "Page offset";
8388
+ readonly type: "string";
8389
+ };
8390
+ readonly owner: {
8391
+ readonly description: "Filter by owner";
8392
+ readonly type: "string";
8393
+ };
8394
+ readonly scope: {
8395
+ readonly description: "Filter by scope";
8396
+ readonly type: "string";
8397
+ };
8398
+ readonly search: {
8399
+ readonly description: "Search title, slug, or summary";
8400
+ readonly type: "string";
8401
+ };
8402
+ readonly status: {
8403
+ readonly description: "Filter by status";
8404
+ readonly type: "string";
8405
+ };
8406
+ };
8407
+ readonly type: "object";
8408
+ };
8409
+ /** JSON Schema for the input body of `threads.note`. */
8410
+ export declare const ThreadsNoteInputSchema: {
8411
+ readonly additionalProperties: false;
8412
+ readonly properties: {
8413
+ readonly body: {
8414
+ readonly description: "Note body";
8415
+ readonly type: "string";
8416
+ };
8417
+ readonly scope: {
8418
+ readonly description: "Scope when resolving a slug";
8419
+ readonly type: "string";
8420
+ };
8421
+ readonly thread: {
8422
+ readonly description: "Thread id or slug";
8423
+ readonly type: "string";
8424
+ };
8425
+ readonly visibility: {
8426
+ readonly description: "default|internal|private|restricted";
8427
+ readonly type: "string";
8428
+ };
8429
+ };
8430
+ readonly required: readonly ["body", "thread"];
8431
+ readonly type: "object";
8432
+ };
8433
+ /** JSON Schema for the input body of `threads.show`. */
8434
+ export declare const ThreadsShowInputSchema: {
8435
+ readonly additionalProperties: false;
8436
+ readonly properties: {
8437
+ readonly entries: {
8438
+ readonly description: "Number of entries to include";
8439
+ readonly type: "string";
8440
+ };
8441
+ readonly scope: {
8442
+ readonly description: "Scope when resolving a slug";
8443
+ readonly type: "string";
8444
+ };
8445
+ readonly thread: {
8446
+ readonly description: "Thread id or slug";
8447
+ readonly type: "string";
8448
+ };
8449
+ };
8450
+ readonly required: readonly ["thread"];
8451
+ readonly type: "object";
8452
+ };
7830
8453
  /** JSON Schema for the input body of `tools.list`. */
7831
8454
  export declare const ToolsListInputSchema: {
7832
8455
  readonly additionalProperties: false;
@@ -8058,29 +8681,6 @@ export declare const VideoAnalyzeInputSchema: {
8058
8681
  readonly required: readonly ["url"];
8059
8682
  readonly type: "object";
8060
8683
  };
8061
- /** JSON Schema for the input body of `whatsapp.chats.list`. */
8062
- export declare const WhatsappChatsListInputSchema: {
8063
- readonly additionalProperties: false;
8064
- readonly properties: {
8065
- readonly instance: {
8066
- readonly description: "Filter by instance name (ravi.db)";
8067
- readonly type: "string";
8068
- };
8069
- readonly limit: {
8070
- readonly description: "Max rows to display (default: 200)";
8071
- readonly type: "string";
8072
- };
8073
- readonly since: {
8074
- readonly description: "Days back or YYYY-MM-DD (default: 7)";
8075
- readonly type: "string";
8076
- };
8077
- readonly type: {
8078
- readonly description: "Filter: dm | group | all (default: all)";
8079
- readonly type: "string";
8080
- };
8081
- };
8082
- readonly type: "object";
8083
- };
8084
8684
  /** JSON Schema for the input body of `whatsapp.dm.ack`. */
8085
8685
  export declare const WhatsappDmAckInputSchema: {
8086
8686
  readonly additionalProperties: false;
@@ -8090,7 +8690,7 @@ export declare const WhatsappDmAckInputSchema: {
8090
8690
  readonly type: "string";
8091
8691
  };
8092
8692
  readonly contact: {
8093
- readonly description: "Contact ID, phone, or LID";
8693
+ readonly description: "Contact ID, phone, or WhatsApp identity";
8094
8694
  readonly type: "string";
8095
8695
  };
8096
8696
  readonly messageId: {
@@ -8110,7 +8710,7 @@ export declare const WhatsappDmReadInputSchema: {
8110
8710
  readonly type: "string";
8111
8711
  };
8112
8712
  readonly contact: {
8113
- readonly description: "Contact ID, phone, or LID";
8713
+ readonly description: "Contact ID, phone, or WhatsApp identity";
8114
8714
  readonly type: "string";
8115
8715
  };
8116
8716
  readonly last: {
@@ -8135,7 +8735,7 @@ export declare const WhatsappDmSendInputSchema: {
8135
8735
  readonly type: "string";
8136
8736
  };
8137
8737
  readonly contact: {
8138
- readonly description: "Contact ID, phone, or LID";
8738
+ readonly description: "Contact ID, phone, or WhatsApp identity";
8139
8739
  readonly type: "string";
8140
8740
  };
8141
8741
  readonly message: {