@ravi-os/sdk 0.260716.1 → 0.260724.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/client.d.ts +5 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +2 -2
- package/dist/client.js.map +1 -1
- package/dist/schemas.d.ts +2240 -259
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +2705 -50
- package/dist/schemas.js.map +1 -1
- package/dist/types.d.ts +498 -13
- 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
|
@@ -858,12 +858,341 @@ export const AgentsListInputSchema = {
|
|
|
858
858
|
};
|
|
859
859
|
/** JSON Schema for the return shape of `agents.list`. */
|
|
860
860
|
export const AgentsListReturnSchema = {
|
|
861
|
-
"
|
|
861
|
+
"$defs": {
|
|
862
|
+
"__schema0": {
|
|
863
|
+
"anyOf": [
|
|
864
|
+
{
|
|
865
|
+
"anyOf": [
|
|
866
|
+
{
|
|
867
|
+
"type": "string"
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
"type": "number"
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
"type": "boolean"
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"type": "null"
|
|
877
|
+
}
|
|
878
|
+
]
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
"items": {
|
|
882
|
+
"$ref": "#/$defs/__schema0"
|
|
883
|
+
},
|
|
884
|
+
"type": "array"
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"additionalProperties": {
|
|
888
|
+
"$ref": "#/$defs/__schema0"
|
|
889
|
+
},
|
|
890
|
+
"propertyNames": {
|
|
891
|
+
"type": "string"
|
|
892
|
+
},
|
|
893
|
+
"type": "object"
|
|
894
|
+
}
|
|
895
|
+
]
|
|
896
|
+
}
|
|
897
|
+
},
|
|
898
|
+
"additionalProperties": false,
|
|
862
899
|
"properties": {
|
|
863
900
|
"agents": {
|
|
864
901
|
"items": {
|
|
865
|
-
"additionalProperties":
|
|
866
|
-
"properties": {
|
|
902
|
+
"additionalProperties": false,
|
|
903
|
+
"properties": {
|
|
904
|
+
"allowedSessions": {
|
|
905
|
+
"items": {
|
|
906
|
+
"type": "string"
|
|
907
|
+
},
|
|
908
|
+
"type": "array"
|
|
909
|
+
},
|
|
910
|
+
"contactScope": {
|
|
911
|
+
"type": "string"
|
|
912
|
+
},
|
|
913
|
+
"cwd": {
|
|
914
|
+
"type": "string"
|
|
915
|
+
},
|
|
916
|
+
"debounceMs": {
|
|
917
|
+
"type": "number"
|
|
918
|
+
},
|
|
919
|
+
"defaults": {
|
|
920
|
+
"anyOf": [
|
|
921
|
+
{
|
|
922
|
+
"additionalProperties": {
|
|
923
|
+
"$ref": "#/$defs/__schema0"
|
|
924
|
+
},
|
|
925
|
+
"propertyNames": {
|
|
926
|
+
"type": "string"
|
|
927
|
+
},
|
|
928
|
+
"type": "object"
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
"type": "null"
|
|
932
|
+
}
|
|
933
|
+
]
|
|
934
|
+
},
|
|
935
|
+
"dmScope": {
|
|
936
|
+
"enum": [
|
|
937
|
+
"main",
|
|
938
|
+
"per-peer",
|
|
939
|
+
"per-channel-peer",
|
|
940
|
+
"per-account-channel-peer"
|
|
941
|
+
],
|
|
942
|
+
"type": "string"
|
|
943
|
+
},
|
|
944
|
+
"effectiveModel": {
|
|
945
|
+
"anyOf": [
|
|
946
|
+
{
|
|
947
|
+
"type": "string"
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
"type": "null"
|
|
951
|
+
}
|
|
952
|
+
]
|
|
953
|
+
},
|
|
954
|
+
"effectiveProvider": {
|
|
955
|
+
"type": "string"
|
|
956
|
+
},
|
|
957
|
+
"effort": {
|
|
958
|
+
"enum": [
|
|
959
|
+
"none",
|
|
960
|
+
"minimal",
|
|
961
|
+
"low",
|
|
962
|
+
"medium",
|
|
963
|
+
"high",
|
|
964
|
+
"xhigh",
|
|
965
|
+
"max",
|
|
966
|
+
"ultra"
|
|
967
|
+
],
|
|
968
|
+
"type": "string"
|
|
969
|
+
},
|
|
970
|
+
"groupDebounceMs": {
|
|
971
|
+
"type": "number"
|
|
972
|
+
},
|
|
973
|
+
"heartbeat": {
|
|
974
|
+
"additionalProperties": false,
|
|
975
|
+
"properties": {
|
|
976
|
+
"accountId": {
|
|
977
|
+
"type": "string"
|
|
978
|
+
},
|
|
979
|
+
"activeEnd": {
|
|
980
|
+
"type": "string"
|
|
981
|
+
},
|
|
982
|
+
"activeStart": {
|
|
983
|
+
"type": "string"
|
|
984
|
+
},
|
|
985
|
+
"enabled": {
|
|
986
|
+
"type": "boolean"
|
|
987
|
+
},
|
|
988
|
+
"intervalMs": {
|
|
989
|
+
"type": "number"
|
|
990
|
+
},
|
|
991
|
+
"lastRunAt": {
|
|
992
|
+
"type": "number"
|
|
993
|
+
},
|
|
994
|
+
"model": {
|
|
995
|
+
"type": "string"
|
|
996
|
+
}
|
|
997
|
+
},
|
|
998
|
+
"required": [
|
|
999
|
+
"enabled",
|
|
1000
|
+
"intervalMs"
|
|
1001
|
+
],
|
|
1002
|
+
"type": "object"
|
|
1003
|
+
},
|
|
1004
|
+
"id": {
|
|
1005
|
+
"type": "string"
|
|
1006
|
+
},
|
|
1007
|
+
"isDefault": {
|
|
1008
|
+
"type": "boolean"
|
|
1009
|
+
},
|
|
1010
|
+
"matrixAccount": {
|
|
1011
|
+
"type": "string"
|
|
1012
|
+
},
|
|
1013
|
+
"memoryModel": {
|
|
1014
|
+
"type": "string"
|
|
1015
|
+
},
|
|
1016
|
+
"mode": {
|
|
1017
|
+
"enum": [
|
|
1018
|
+
"active",
|
|
1019
|
+
"sentinel"
|
|
1020
|
+
],
|
|
1021
|
+
"type": "string"
|
|
1022
|
+
},
|
|
1023
|
+
"model": {
|
|
1024
|
+
"type": "string"
|
|
1025
|
+
},
|
|
1026
|
+
"modelPresetId": {
|
|
1027
|
+
"anyOf": [
|
|
1028
|
+
{
|
|
1029
|
+
"type": "string"
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"type": "null"
|
|
1033
|
+
}
|
|
1034
|
+
]
|
|
1035
|
+
},
|
|
1036
|
+
"modelPresetVersion": {
|
|
1037
|
+
"anyOf": [
|
|
1038
|
+
{
|
|
1039
|
+
"type": "number"
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
"type": "null"
|
|
1043
|
+
}
|
|
1044
|
+
]
|
|
1045
|
+
},
|
|
1046
|
+
"modelSource": {
|
|
1047
|
+
"anyOf": [
|
|
1048
|
+
{
|
|
1049
|
+
"enum": [
|
|
1050
|
+
"agent_preset",
|
|
1051
|
+
"agent_default",
|
|
1052
|
+
"global_default"
|
|
1053
|
+
],
|
|
1054
|
+
"type": "string"
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"type": "null"
|
|
1058
|
+
}
|
|
1059
|
+
]
|
|
1060
|
+
},
|
|
1061
|
+
"name": {
|
|
1062
|
+
"type": "string"
|
|
1063
|
+
},
|
|
1064
|
+
"provider": {
|
|
1065
|
+
"type": "string"
|
|
1066
|
+
},
|
|
1067
|
+
"remote": {
|
|
1068
|
+
"type": "string"
|
|
1069
|
+
},
|
|
1070
|
+
"remoteUser": {
|
|
1071
|
+
"type": "string"
|
|
1072
|
+
},
|
|
1073
|
+
"settingSources": {
|
|
1074
|
+
"items": {
|
|
1075
|
+
"enum": [
|
|
1076
|
+
"user",
|
|
1077
|
+
"project"
|
|
1078
|
+
],
|
|
1079
|
+
"type": "string"
|
|
1080
|
+
},
|
|
1081
|
+
"type": "array"
|
|
1082
|
+
},
|
|
1083
|
+
"specMode": {
|
|
1084
|
+
"type": "boolean"
|
|
1085
|
+
},
|
|
1086
|
+
"systemPromptAppend": {
|
|
1087
|
+
"type": "string"
|
|
1088
|
+
},
|
|
1089
|
+
"tags": {
|
|
1090
|
+
"items": {
|
|
1091
|
+
"additionalProperties": false,
|
|
1092
|
+
"properties": {
|
|
1093
|
+
"assetId": {
|
|
1094
|
+
"type": "string"
|
|
1095
|
+
},
|
|
1096
|
+
"assetType": {
|
|
1097
|
+
"enum": [
|
|
1098
|
+
"agent",
|
|
1099
|
+
"automation",
|
|
1100
|
+
"app",
|
|
1101
|
+
"session",
|
|
1102
|
+
"task",
|
|
1103
|
+
"project",
|
|
1104
|
+
"profile",
|
|
1105
|
+
"contact",
|
|
1106
|
+
"chat",
|
|
1107
|
+
"route",
|
|
1108
|
+
"instance",
|
|
1109
|
+
"artifact",
|
|
1110
|
+
"insight",
|
|
1111
|
+
"workflow_spec",
|
|
1112
|
+
"workflow_run",
|
|
1113
|
+
"workflow_node",
|
|
1114
|
+
"cron_job",
|
|
1115
|
+
"trigger",
|
|
1116
|
+
"hook",
|
|
1117
|
+
"task_automation",
|
|
1118
|
+
"observer_rule",
|
|
1119
|
+
"observer_binding",
|
|
1120
|
+
"observer_profile",
|
|
1121
|
+
"command",
|
|
1122
|
+
"skill",
|
|
1123
|
+
"skill_gate_rule",
|
|
1124
|
+
"context",
|
|
1125
|
+
"call_profile",
|
|
1126
|
+
"call_request",
|
|
1127
|
+
"call_voice_agent",
|
|
1128
|
+
"call_tool",
|
|
1129
|
+
"outbound_queue",
|
|
1130
|
+
"outbound_entry",
|
|
1131
|
+
"spec",
|
|
1132
|
+
"devin_session"
|
|
1133
|
+
],
|
|
1134
|
+
"type": "string"
|
|
1135
|
+
},
|
|
1136
|
+
"createdAt": {
|
|
1137
|
+
"type": "number"
|
|
1138
|
+
},
|
|
1139
|
+
"createdBy": {
|
|
1140
|
+
"type": "string"
|
|
1141
|
+
},
|
|
1142
|
+
"id": {
|
|
1143
|
+
"type": "string"
|
|
1144
|
+
},
|
|
1145
|
+
"metadata": {
|
|
1146
|
+
"additionalProperties": {
|
|
1147
|
+
"$ref": "#/$defs/__schema0"
|
|
1148
|
+
},
|
|
1149
|
+
"propertyNames": {
|
|
1150
|
+
"type": "string"
|
|
1151
|
+
},
|
|
1152
|
+
"type": "object"
|
|
1153
|
+
},
|
|
1154
|
+
"source": {
|
|
1155
|
+
"type": "string"
|
|
1156
|
+
},
|
|
1157
|
+
"tagId": {
|
|
1158
|
+
"type": "string"
|
|
1159
|
+
},
|
|
1160
|
+
"tagSlug": {
|
|
1161
|
+
"type": "string"
|
|
1162
|
+
},
|
|
1163
|
+
"updatedAt": {
|
|
1164
|
+
"type": "number"
|
|
1165
|
+
},
|
|
1166
|
+
"updatedBy": {
|
|
1167
|
+
"type": "string"
|
|
1168
|
+
}
|
|
1169
|
+
},
|
|
1170
|
+
"required": [
|
|
1171
|
+
"id",
|
|
1172
|
+
"tagId",
|
|
1173
|
+
"tagSlug",
|
|
1174
|
+
"assetType",
|
|
1175
|
+
"assetId",
|
|
1176
|
+
"source",
|
|
1177
|
+
"createdAt",
|
|
1178
|
+
"updatedAt"
|
|
1179
|
+
],
|
|
1180
|
+
"type": "object"
|
|
1181
|
+
},
|
|
1182
|
+
"type": "array"
|
|
1183
|
+
}
|
|
1184
|
+
},
|
|
1185
|
+
"required": [
|
|
1186
|
+
"id",
|
|
1187
|
+
"cwd",
|
|
1188
|
+
"modelPresetId",
|
|
1189
|
+
"isDefault",
|
|
1190
|
+
"effectiveProvider",
|
|
1191
|
+
"effectiveModel",
|
|
1192
|
+
"modelSource",
|
|
1193
|
+
"modelPresetVersion",
|
|
1194
|
+
"tags"
|
|
1195
|
+
],
|
|
867
1196
|
"type": "object"
|
|
868
1197
|
},
|
|
869
1198
|
"type": "array"
|
|
@@ -872,20 +1201,326 @@ export const AgentsListReturnSchema = {
|
|
|
872
1201
|
"type": "string"
|
|
873
1202
|
},
|
|
874
1203
|
"filters": {
|
|
875
|
-
"additionalProperties":
|
|
876
|
-
"properties": {
|
|
1204
|
+
"additionalProperties": false,
|
|
1205
|
+
"properties": {
|
|
1206
|
+
"tag": {
|
|
1207
|
+
"anyOf": [
|
|
1208
|
+
{
|
|
1209
|
+
"type": "string"
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"type": "null"
|
|
1213
|
+
}
|
|
1214
|
+
]
|
|
1215
|
+
}
|
|
1216
|
+
},
|
|
1217
|
+
"required": [
|
|
1218
|
+
"tag"
|
|
1219
|
+
],
|
|
877
1220
|
"type": "object"
|
|
878
1221
|
},
|
|
879
1222
|
"items": {
|
|
880
1223
|
"items": {
|
|
881
|
-
"additionalProperties":
|
|
882
|
-
"properties": {
|
|
1224
|
+
"additionalProperties": false,
|
|
1225
|
+
"properties": {
|
|
1226
|
+
"allowedSessions": {
|
|
1227
|
+
"items": {
|
|
1228
|
+
"type": "string"
|
|
1229
|
+
},
|
|
1230
|
+
"type": "array"
|
|
1231
|
+
},
|
|
1232
|
+
"contactScope": {
|
|
1233
|
+
"type": "string"
|
|
1234
|
+
},
|
|
1235
|
+
"cwd": {
|
|
1236
|
+
"type": "string"
|
|
1237
|
+
},
|
|
1238
|
+
"debounceMs": {
|
|
1239
|
+
"type": "number"
|
|
1240
|
+
},
|
|
1241
|
+
"defaults": {
|
|
1242
|
+
"anyOf": [
|
|
1243
|
+
{
|
|
1244
|
+
"additionalProperties": {
|
|
1245
|
+
"$ref": "#/$defs/__schema0"
|
|
1246
|
+
},
|
|
1247
|
+
"propertyNames": {
|
|
1248
|
+
"type": "string"
|
|
1249
|
+
},
|
|
1250
|
+
"type": "object"
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"type": "null"
|
|
1254
|
+
}
|
|
1255
|
+
]
|
|
1256
|
+
},
|
|
1257
|
+
"dmScope": {
|
|
1258
|
+
"enum": [
|
|
1259
|
+
"main",
|
|
1260
|
+
"per-peer",
|
|
1261
|
+
"per-channel-peer",
|
|
1262
|
+
"per-account-channel-peer"
|
|
1263
|
+
],
|
|
1264
|
+
"type": "string"
|
|
1265
|
+
},
|
|
1266
|
+
"effectiveModel": {
|
|
1267
|
+
"anyOf": [
|
|
1268
|
+
{
|
|
1269
|
+
"type": "string"
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"type": "null"
|
|
1273
|
+
}
|
|
1274
|
+
]
|
|
1275
|
+
},
|
|
1276
|
+
"effectiveProvider": {
|
|
1277
|
+
"type": "string"
|
|
1278
|
+
},
|
|
1279
|
+
"effort": {
|
|
1280
|
+
"enum": [
|
|
1281
|
+
"none",
|
|
1282
|
+
"minimal",
|
|
1283
|
+
"low",
|
|
1284
|
+
"medium",
|
|
1285
|
+
"high",
|
|
1286
|
+
"xhigh",
|
|
1287
|
+
"max",
|
|
1288
|
+
"ultra"
|
|
1289
|
+
],
|
|
1290
|
+
"type": "string"
|
|
1291
|
+
},
|
|
1292
|
+
"groupDebounceMs": {
|
|
1293
|
+
"type": "number"
|
|
1294
|
+
},
|
|
1295
|
+
"heartbeat": {
|
|
1296
|
+
"additionalProperties": false,
|
|
1297
|
+
"properties": {
|
|
1298
|
+
"accountId": {
|
|
1299
|
+
"type": "string"
|
|
1300
|
+
},
|
|
1301
|
+
"activeEnd": {
|
|
1302
|
+
"type": "string"
|
|
1303
|
+
},
|
|
1304
|
+
"activeStart": {
|
|
1305
|
+
"type": "string"
|
|
1306
|
+
},
|
|
1307
|
+
"enabled": {
|
|
1308
|
+
"type": "boolean"
|
|
1309
|
+
},
|
|
1310
|
+
"intervalMs": {
|
|
1311
|
+
"type": "number"
|
|
1312
|
+
},
|
|
1313
|
+
"lastRunAt": {
|
|
1314
|
+
"type": "number"
|
|
1315
|
+
},
|
|
1316
|
+
"model": {
|
|
1317
|
+
"type": "string"
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1320
|
+
"required": [
|
|
1321
|
+
"enabled",
|
|
1322
|
+
"intervalMs"
|
|
1323
|
+
],
|
|
1324
|
+
"type": "object"
|
|
1325
|
+
},
|
|
1326
|
+
"id": {
|
|
1327
|
+
"type": "string"
|
|
1328
|
+
},
|
|
1329
|
+
"isDefault": {
|
|
1330
|
+
"type": "boolean"
|
|
1331
|
+
},
|
|
1332
|
+
"matrixAccount": {
|
|
1333
|
+
"type": "string"
|
|
1334
|
+
},
|
|
1335
|
+
"memoryModel": {
|
|
1336
|
+
"type": "string"
|
|
1337
|
+
},
|
|
1338
|
+
"mode": {
|
|
1339
|
+
"enum": [
|
|
1340
|
+
"active",
|
|
1341
|
+
"sentinel"
|
|
1342
|
+
],
|
|
1343
|
+
"type": "string"
|
|
1344
|
+
},
|
|
1345
|
+
"model": {
|
|
1346
|
+
"type": "string"
|
|
1347
|
+
},
|
|
1348
|
+
"modelPresetId": {
|
|
1349
|
+
"anyOf": [
|
|
1350
|
+
{
|
|
1351
|
+
"type": "string"
|
|
1352
|
+
},
|
|
1353
|
+
{
|
|
1354
|
+
"type": "null"
|
|
1355
|
+
}
|
|
1356
|
+
]
|
|
1357
|
+
},
|
|
1358
|
+
"modelPresetVersion": {
|
|
1359
|
+
"anyOf": [
|
|
1360
|
+
{
|
|
1361
|
+
"type": "number"
|
|
1362
|
+
},
|
|
1363
|
+
{
|
|
1364
|
+
"type": "null"
|
|
1365
|
+
}
|
|
1366
|
+
]
|
|
1367
|
+
},
|
|
1368
|
+
"modelSource": {
|
|
1369
|
+
"anyOf": [
|
|
1370
|
+
{
|
|
1371
|
+
"enum": [
|
|
1372
|
+
"agent_preset",
|
|
1373
|
+
"agent_default",
|
|
1374
|
+
"global_default"
|
|
1375
|
+
],
|
|
1376
|
+
"type": "string"
|
|
1377
|
+
},
|
|
1378
|
+
{
|
|
1379
|
+
"type": "null"
|
|
1380
|
+
}
|
|
1381
|
+
]
|
|
1382
|
+
},
|
|
1383
|
+
"name": {
|
|
1384
|
+
"type": "string"
|
|
1385
|
+
},
|
|
1386
|
+
"provider": {
|
|
1387
|
+
"type": "string"
|
|
1388
|
+
},
|
|
1389
|
+
"remote": {
|
|
1390
|
+
"type": "string"
|
|
1391
|
+
},
|
|
1392
|
+
"remoteUser": {
|
|
1393
|
+
"type": "string"
|
|
1394
|
+
},
|
|
1395
|
+
"settingSources": {
|
|
1396
|
+
"items": {
|
|
1397
|
+
"enum": [
|
|
1398
|
+
"user",
|
|
1399
|
+
"project"
|
|
1400
|
+
],
|
|
1401
|
+
"type": "string"
|
|
1402
|
+
},
|
|
1403
|
+
"type": "array"
|
|
1404
|
+
},
|
|
1405
|
+
"specMode": {
|
|
1406
|
+
"type": "boolean"
|
|
1407
|
+
},
|
|
1408
|
+
"systemPromptAppend": {
|
|
1409
|
+
"type": "string"
|
|
1410
|
+
},
|
|
1411
|
+
"tags": {
|
|
1412
|
+
"items": {
|
|
1413
|
+
"additionalProperties": false,
|
|
1414
|
+
"properties": {
|
|
1415
|
+
"assetId": {
|
|
1416
|
+
"type": "string"
|
|
1417
|
+
},
|
|
1418
|
+
"assetType": {
|
|
1419
|
+
"enum": [
|
|
1420
|
+
"agent",
|
|
1421
|
+
"automation",
|
|
1422
|
+
"app",
|
|
1423
|
+
"session",
|
|
1424
|
+
"task",
|
|
1425
|
+
"project",
|
|
1426
|
+
"profile",
|
|
1427
|
+
"contact",
|
|
1428
|
+
"chat",
|
|
1429
|
+
"route",
|
|
1430
|
+
"instance",
|
|
1431
|
+
"artifact",
|
|
1432
|
+
"insight",
|
|
1433
|
+
"workflow_spec",
|
|
1434
|
+
"workflow_run",
|
|
1435
|
+
"workflow_node",
|
|
1436
|
+
"cron_job",
|
|
1437
|
+
"trigger",
|
|
1438
|
+
"hook",
|
|
1439
|
+
"task_automation",
|
|
1440
|
+
"observer_rule",
|
|
1441
|
+
"observer_binding",
|
|
1442
|
+
"observer_profile",
|
|
1443
|
+
"command",
|
|
1444
|
+
"skill",
|
|
1445
|
+
"skill_gate_rule",
|
|
1446
|
+
"context",
|
|
1447
|
+
"call_profile",
|
|
1448
|
+
"call_request",
|
|
1449
|
+
"call_voice_agent",
|
|
1450
|
+
"call_tool",
|
|
1451
|
+
"outbound_queue",
|
|
1452
|
+
"outbound_entry",
|
|
1453
|
+
"spec",
|
|
1454
|
+
"devin_session"
|
|
1455
|
+
],
|
|
1456
|
+
"type": "string"
|
|
1457
|
+
},
|
|
1458
|
+
"createdAt": {
|
|
1459
|
+
"type": "number"
|
|
1460
|
+
},
|
|
1461
|
+
"createdBy": {
|
|
1462
|
+
"type": "string"
|
|
1463
|
+
},
|
|
1464
|
+
"id": {
|
|
1465
|
+
"type": "string"
|
|
1466
|
+
},
|
|
1467
|
+
"metadata": {
|
|
1468
|
+
"additionalProperties": {
|
|
1469
|
+
"$ref": "#/$defs/__schema0"
|
|
1470
|
+
},
|
|
1471
|
+
"propertyNames": {
|
|
1472
|
+
"type": "string"
|
|
1473
|
+
},
|
|
1474
|
+
"type": "object"
|
|
1475
|
+
},
|
|
1476
|
+
"source": {
|
|
1477
|
+
"type": "string"
|
|
1478
|
+
},
|
|
1479
|
+
"tagId": {
|
|
1480
|
+
"type": "string"
|
|
1481
|
+
},
|
|
1482
|
+
"tagSlug": {
|
|
1483
|
+
"type": "string"
|
|
1484
|
+
},
|
|
1485
|
+
"updatedAt": {
|
|
1486
|
+
"type": "number"
|
|
1487
|
+
},
|
|
1488
|
+
"updatedBy": {
|
|
1489
|
+
"type": "string"
|
|
1490
|
+
}
|
|
1491
|
+
},
|
|
1492
|
+
"required": [
|
|
1493
|
+
"id",
|
|
1494
|
+
"tagId",
|
|
1495
|
+
"tagSlug",
|
|
1496
|
+
"assetType",
|
|
1497
|
+
"assetId",
|
|
1498
|
+
"source",
|
|
1499
|
+
"createdAt",
|
|
1500
|
+
"updatedAt"
|
|
1501
|
+
],
|
|
1502
|
+
"type": "object"
|
|
1503
|
+
},
|
|
1504
|
+
"type": "array"
|
|
1505
|
+
}
|
|
1506
|
+
},
|
|
1507
|
+
"required": [
|
|
1508
|
+
"id",
|
|
1509
|
+
"cwd",
|
|
1510
|
+
"modelPresetId",
|
|
1511
|
+
"isDefault",
|
|
1512
|
+
"effectiveProvider",
|
|
1513
|
+
"effectiveModel",
|
|
1514
|
+
"modelSource",
|
|
1515
|
+
"modelPresetVersion",
|
|
1516
|
+
"tags"
|
|
1517
|
+
],
|
|
883
1518
|
"type": "object"
|
|
884
1519
|
},
|
|
885
1520
|
"type": "array"
|
|
886
1521
|
},
|
|
887
1522
|
"pagination": {
|
|
888
|
-
"additionalProperties":
|
|
1523
|
+
"additionalProperties": false,
|
|
889
1524
|
"properties": {
|
|
890
1525
|
"hasMore": {
|
|
891
1526
|
"type": "boolean"
|
|
@@ -927,10 +1562,7 @@ export const AgentsListReturnSchema = {
|
|
|
927
1562
|
"limit",
|
|
928
1563
|
"offset",
|
|
929
1564
|
"returned",
|
|
930
|
-
"total"
|
|
931
|
-
"hasMore",
|
|
932
|
-
"nextOffset",
|
|
933
|
-
"nextCommand"
|
|
1565
|
+
"total"
|
|
934
1566
|
],
|
|
935
1567
|
"type": "object"
|
|
936
1568
|
},
|
|
@@ -941,9 +1573,9 @@ export const AgentsListReturnSchema = {
|
|
|
941
1573
|
"required": [
|
|
942
1574
|
"total",
|
|
943
1575
|
"pagination",
|
|
944
|
-
"items",
|
|
945
1576
|
"defaultAgent",
|
|
946
1577
|
"filters",
|
|
1578
|
+
"items",
|
|
947
1579
|
"agents"
|
|
948
1580
|
],
|
|
949
1581
|
"type": "object"
|
|
@@ -1432,26 +2064,404 @@ export const AgentsShowInputSchema = {
|
|
|
1432
2064
|
};
|
|
1433
2065
|
/** JSON Schema for the return shape of `agents.show`. */
|
|
1434
2066
|
export const AgentsShowReturnSchema = {
|
|
1435
|
-
"
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
}
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
2067
|
+
"$defs": {
|
|
2068
|
+
"__schema0": {
|
|
2069
|
+
"anyOf": [
|
|
2070
|
+
{
|
|
2071
|
+
"anyOf": [
|
|
2072
|
+
{
|
|
2073
|
+
"type": "string"
|
|
2074
|
+
},
|
|
2075
|
+
{
|
|
2076
|
+
"type": "number"
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
"type": "boolean"
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
"type": "null"
|
|
2083
|
+
}
|
|
2084
|
+
]
|
|
2085
|
+
},
|
|
2086
|
+
{
|
|
2087
|
+
"items": {
|
|
2088
|
+
"$ref": "#/$defs/__schema0"
|
|
2089
|
+
},
|
|
2090
|
+
"type": "array"
|
|
2091
|
+
},
|
|
2092
|
+
{
|
|
2093
|
+
"additionalProperties": {
|
|
2094
|
+
"$ref": "#/$defs/__schema0"
|
|
2095
|
+
},
|
|
2096
|
+
"propertyNames": {
|
|
2097
|
+
"type": "string"
|
|
2098
|
+
},
|
|
2099
|
+
"type": "object"
|
|
2100
|
+
}
|
|
2101
|
+
]
|
|
2102
|
+
}
|
|
2103
|
+
},
|
|
2104
|
+
"additionalProperties": false,
|
|
2105
|
+
"properties": {
|
|
2106
|
+
"agent": {
|
|
2107
|
+
"additionalProperties": false,
|
|
2108
|
+
"properties": {
|
|
2109
|
+
"allowedSessions": {
|
|
2110
|
+
"items": {
|
|
2111
|
+
"type": "string"
|
|
2112
|
+
},
|
|
2113
|
+
"type": "array"
|
|
2114
|
+
},
|
|
2115
|
+
"contactScope": {
|
|
2116
|
+
"type": "string"
|
|
2117
|
+
},
|
|
2118
|
+
"cwd": {
|
|
2119
|
+
"type": "string"
|
|
2120
|
+
},
|
|
2121
|
+
"debounceMs": {
|
|
2122
|
+
"type": "number"
|
|
2123
|
+
},
|
|
2124
|
+
"defaults": {
|
|
2125
|
+
"anyOf": [
|
|
2126
|
+
{
|
|
2127
|
+
"additionalProperties": {
|
|
2128
|
+
"$ref": "#/$defs/__schema0"
|
|
2129
|
+
},
|
|
2130
|
+
"propertyNames": {
|
|
2131
|
+
"type": "string"
|
|
2132
|
+
},
|
|
2133
|
+
"type": "object"
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
"type": "null"
|
|
2137
|
+
}
|
|
2138
|
+
]
|
|
2139
|
+
},
|
|
2140
|
+
"dmScope": {
|
|
2141
|
+
"enum": [
|
|
2142
|
+
"main",
|
|
2143
|
+
"per-peer",
|
|
2144
|
+
"per-channel-peer",
|
|
2145
|
+
"per-account-channel-peer"
|
|
2146
|
+
],
|
|
2147
|
+
"type": "string"
|
|
2148
|
+
},
|
|
2149
|
+
"effectiveModel": {
|
|
2150
|
+
"anyOf": [
|
|
2151
|
+
{
|
|
2152
|
+
"type": "string"
|
|
2153
|
+
},
|
|
2154
|
+
{
|
|
2155
|
+
"type": "null"
|
|
2156
|
+
}
|
|
2157
|
+
]
|
|
2158
|
+
},
|
|
2159
|
+
"effectiveProvider": {
|
|
2160
|
+
"type": "string"
|
|
2161
|
+
},
|
|
2162
|
+
"effort": {
|
|
2163
|
+
"enum": [
|
|
2164
|
+
"none",
|
|
2165
|
+
"minimal",
|
|
2166
|
+
"low",
|
|
2167
|
+
"medium",
|
|
2168
|
+
"high",
|
|
2169
|
+
"xhigh",
|
|
2170
|
+
"max",
|
|
2171
|
+
"ultra"
|
|
2172
|
+
],
|
|
2173
|
+
"type": "string"
|
|
2174
|
+
},
|
|
2175
|
+
"groupDebounceMs": {
|
|
2176
|
+
"type": "number"
|
|
2177
|
+
},
|
|
2178
|
+
"heartbeat": {
|
|
2179
|
+
"additionalProperties": false,
|
|
2180
|
+
"properties": {
|
|
2181
|
+
"accountId": {
|
|
2182
|
+
"type": "string"
|
|
2183
|
+
},
|
|
2184
|
+
"activeEnd": {
|
|
2185
|
+
"type": "string"
|
|
2186
|
+
},
|
|
2187
|
+
"activeStart": {
|
|
2188
|
+
"type": "string"
|
|
2189
|
+
},
|
|
2190
|
+
"enabled": {
|
|
2191
|
+
"type": "boolean"
|
|
2192
|
+
},
|
|
2193
|
+
"intervalMs": {
|
|
2194
|
+
"type": "number"
|
|
2195
|
+
},
|
|
2196
|
+
"lastRunAt": {
|
|
2197
|
+
"type": "number"
|
|
2198
|
+
},
|
|
2199
|
+
"model": {
|
|
2200
|
+
"type": "string"
|
|
2201
|
+
}
|
|
2202
|
+
},
|
|
2203
|
+
"required": [
|
|
2204
|
+
"enabled",
|
|
2205
|
+
"intervalMs"
|
|
2206
|
+
],
|
|
2207
|
+
"type": "object"
|
|
2208
|
+
},
|
|
2209
|
+
"id": {
|
|
2210
|
+
"type": "string"
|
|
2211
|
+
},
|
|
2212
|
+
"isDefault": {
|
|
2213
|
+
"type": "boolean"
|
|
2214
|
+
},
|
|
2215
|
+
"matrixAccount": {
|
|
2216
|
+
"type": "string"
|
|
2217
|
+
},
|
|
2218
|
+
"memoryModel": {
|
|
2219
|
+
"type": "string"
|
|
2220
|
+
},
|
|
2221
|
+
"mode": {
|
|
2222
|
+
"enum": [
|
|
2223
|
+
"active",
|
|
2224
|
+
"sentinel"
|
|
2225
|
+
],
|
|
2226
|
+
"type": "string"
|
|
2227
|
+
},
|
|
2228
|
+
"model": {
|
|
2229
|
+
"type": "string"
|
|
2230
|
+
},
|
|
2231
|
+
"modelPresetId": {
|
|
2232
|
+
"anyOf": [
|
|
2233
|
+
{
|
|
2234
|
+
"type": "string"
|
|
2235
|
+
},
|
|
2236
|
+
{
|
|
2237
|
+
"type": "null"
|
|
2238
|
+
}
|
|
2239
|
+
]
|
|
2240
|
+
},
|
|
2241
|
+
"modelPresetVersion": {
|
|
2242
|
+
"anyOf": [
|
|
2243
|
+
{
|
|
2244
|
+
"type": "number"
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"type": "null"
|
|
2248
|
+
}
|
|
2249
|
+
]
|
|
2250
|
+
},
|
|
2251
|
+
"modelSource": {
|
|
2252
|
+
"anyOf": [
|
|
2253
|
+
{
|
|
2254
|
+
"enum": [
|
|
2255
|
+
"agent_preset",
|
|
2256
|
+
"agent_default",
|
|
2257
|
+
"global_default"
|
|
2258
|
+
],
|
|
2259
|
+
"type": "string"
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"type": "null"
|
|
2263
|
+
}
|
|
2264
|
+
]
|
|
2265
|
+
},
|
|
2266
|
+
"name": {
|
|
2267
|
+
"type": "string"
|
|
2268
|
+
},
|
|
2269
|
+
"provider": {
|
|
2270
|
+
"type": "string"
|
|
2271
|
+
},
|
|
2272
|
+
"remote": {
|
|
2273
|
+
"type": "string"
|
|
2274
|
+
},
|
|
2275
|
+
"remoteUser": {
|
|
2276
|
+
"type": "string"
|
|
2277
|
+
},
|
|
2278
|
+
"settingSources": {
|
|
2279
|
+
"items": {
|
|
2280
|
+
"enum": [
|
|
2281
|
+
"user",
|
|
2282
|
+
"project"
|
|
2283
|
+
],
|
|
2284
|
+
"type": "string"
|
|
2285
|
+
},
|
|
2286
|
+
"type": "array"
|
|
2287
|
+
},
|
|
2288
|
+
"specMode": {
|
|
2289
|
+
"type": "boolean"
|
|
2290
|
+
},
|
|
2291
|
+
"systemPromptAppend": {
|
|
2292
|
+
"type": "string"
|
|
2293
|
+
},
|
|
2294
|
+
"tags": {
|
|
2295
|
+
"items": {
|
|
2296
|
+
"additionalProperties": false,
|
|
2297
|
+
"properties": {
|
|
2298
|
+
"assetId": {
|
|
2299
|
+
"type": "string"
|
|
2300
|
+
},
|
|
2301
|
+
"assetType": {
|
|
2302
|
+
"enum": [
|
|
2303
|
+
"agent",
|
|
2304
|
+
"automation",
|
|
2305
|
+
"app",
|
|
2306
|
+
"session",
|
|
2307
|
+
"task",
|
|
2308
|
+
"project",
|
|
2309
|
+
"profile",
|
|
2310
|
+
"contact",
|
|
2311
|
+
"chat",
|
|
2312
|
+
"route",
|
|
2313
|
+
"instance",
|
|
2314
|
+
"artifact",
|
|
2315
|
+
"insight",
|
|
2316
|
+
"workflow_spec",
|
|
2317
|
+
"workflow_run",
|
|
2318
|
+
"workflow_node",
|
|
2319
|
+
"cron_job",
|
|
2320
|
+
"trigger",
|
|
2321
|
+
"hook",
|
|
2322
|
+
"task_automation",
|
|
2323
|
+
"observer_rule",
|
|
2324
|
+
"observer_binding",
|
|
2325
|
+
"observer_profile",
|
|
2326
|
+
"command",
|
|
2327
|
+
"skill",
|
|
2328
|
+
"skill_gate_rule",
|
|
2329
|
+
"context",
|
|
2330
|
+
"call_profile",
|
|
2331
|
+
"call_request",
|
|
2332
|
+
"call_voice_agent",
|
|
2333
|
+
"call_tool",
|
|
2334
|
+
"outbound_queue",
|
|
2335
|
+
"outbound_entry",
|
|
2336
|
+
"spec",
|
|
2337
|
+
"devin_session"
|
|
2338
|
+
],
|
|
2339
|
+
"type": "string"
|
|
2340
|
+
},
|
|
2341
|
+
"createdAt": {
|
|
2342
|
+
"type": "number"
|
|
2343
|
+
},
|
|
2344
|
+
"createdBy": {
|
|
2345
|
+
"type": "string"
|
|
2346
|
+
},
|
|
2347
|
+
"id": {
|
|
2348
|
+
"type": "string"
|
|
2349
|
+
},
|
|
2350
|
+
"metadata": {
|
|
2351
|
+
"additionalProperties": {
|
|
2352
|
+
"$ref": "#/$defs/__schema0"
|
|
2353
|
+
},
|
|
2354
|
+
"propertyNames": {
|
|
2355
|
+
"type": "string"
|
|
2356
|
+
},
|
|
2357
|
+
"type": "object"
|
|
2358
|
+
},
|
|
2359
|
+
"source": {
|
|
2360
|
+
"type": "string"
|
|
2361
|
+
},
|
|
2362
|
+
"tagId": {
|
|
2363
|
+
"type": "string"
|
|
2364
|
+
},
|
|
2365
|
+
"tagSlug": {
|
|
2366
|
+
"type": "string"
|
|
2367
|
+
},
|
|
2368
|
+
"updatedAt": {
|
|
2369
|
+
"type": "number"
|
|
2370
|
+
},
|
|
2371
|
+
"updatedBy": {
|
|
2372
|
+
"type": "string"
|
|
2373
|
+
}
|
|
2374
|
+
},
|
|
2375
|
+
"required": [
|
|
2376
|
+
"id",
|
|
2377
|
+
"tagId",
|
|
2378
|
+
"tagSlug",
|
|
2379
|
+
"assetType",
|
|
2380
|
+
"assetId",
|
|
2381
|
+
"source",
|
|
2382
|
+
"createdAt",
|
|
2383
|
+
"updatedAt"
|
|
2384
|
+
],
|
|
2385
|
+
"type": "object"
|
|
2386
|
+
},
|
|
2387
|
+
"type": "array"
|
|
2388
|
+
}
|
|
2389
|
+
},
|
|
2390
|
+
"required": [
|
|
2391
|
+
"id",
|
|
2392
|
+
"cwd",
|
|
2393
|
+
"modelPresetId",
|
|
2394
|
+
"isDefault",
|
|
2395
|
+
"effectiveProvider",
|
|
2396
|
+
"effectiveModel",
|
|
2397
|
+
"modelSource",
|
|
2398
|
+
"modelPresetVersion",
|
|
2399
|
+
"tags"
|
|
2400
|
+
],
|
|
2401
|
+
"type": "object"
|
|
2402
|
+
},
|
|
2403
|
+
"permissionsCommand": {
|
|
2404
|
+
"type": "string"
|
|
2405
|
+
},
|
|
2406
|
+
"runtimePermissions": {
|
|
2407
|
+
"anyOf": [
|
|
2408
|
+
{
|
|
2409
|
+
"additionalProperties": false,
|
|
2410
|
+
"properties": {
|
|
2411
|
+
"capabilities": {
|
|
2412
|
+
"items": {
|
|
2413
|
+
"anyOf": [
|
|
2414
|
+
{
|
|
2415
|
+
"type": "string"
|
|
2416
|
+
},
|
|
2417
|
+
{
|
|
2418
|
+
"additionalProperties": false,
|
|
2419
|
+
"properties": {
|
|
2420
|
+
"objectId": {
|
|
2421
|
+
"type": "string"
|
|
2422
|
+
},
|
|
2423
|
+
"objectType": {
|
|
2424
|
+
"type": "string"
|
|
2425
|
+
},
|
|
2426
|
+
"permission": {
|
|
2427
|
+
"type": "string"
|
|
2428
|
+
},
|
|
2429
|
+
"source": {
|
|
2430
|
+
"type": "string"
|
|
2431
|
+
}
|
|
2432
|
+
},
|
|
2433
|
+
"type": "object"
|
|
2434
|
+
}
|
|
2435
|
+
]
|
|
2436
|
+
},
|
|
2437
|
+
"type": "array"
|
|
2438
|
+
},
|
|
2439
|
+
"profile": {
|
|
2440
|
+
"enum": [
|
|
2441
|
+
"bootstrap",
|
|
2442
|
+
"full-access"
|
|
2443
|
+
],
|
|
2444
|
+
"type": "string"
|
|
2445
|
+
}
|
|
2446
|
+
},
|
|
2447
|
+
"type": "object"
|
|
2448
|
+
},
|
|
2449
|
+
{
|
|
2450
|
+
"type": "null"
|
|
2451
|
+
}
|
|
2452
|
+
]
|
|
2453
|
+
}
|
|
2454
|
+
},
|
|
2455
|
+
"required": [
|
|
2456
|
+
"agent",
|
|
2457
|
+
"runtimePermissions",
|
|
2458
|
+
"permissionsCommand"
|
|
2459
|
+
],
|
|
2460
|
+
"type": "object"
|
|
2461
|
+
};
|
|
2462
|
+
/** JSON Schema for the input body of `agents.spec-mode`. */
|
|
2463
|
+
export const AgentsSpecModeInputSchema = {
|
|
2464
|
+
"additionalProperties": false,
|
|
1455
2465
|
"properties": {
|
|
1456
2466
|
"enabled": {
|
|
1457
2467
|
"description": "true/false",
|
|
@@ -4922,7 +5932,7 @@ export const ArtifactsPublishInputSchema = {
|
|
|
4922
5932
|
"type": "string"
|
|
4923
5933
|
},
|
|
4924
5934
|
"noActivate": {
|
|
4925
|
-
"default":
|
|
5935
|
+
"default": false,
|
|
4926
5936
|
"description": "Create publish records without activating a site release",
|
|
4927
5937
|
"type": "boolean"
|
|
4928
5938
|
},
|
|
@@ -6190,7 +7200,7 @@ export const AudioTtsInputSchema = {
|
|
|
6190
7200
|
"type": "string"
|
|
6191
7201
|
},
|
|
6192
7202
|
"noAutoplay": {
|
|
6193
|
-
"default":
|
|
7203
|
+
"default": false,
|
|
6194
7204
|
"description": "Do not autoplay in extension clients",
|
|
6195
7205
|
"type": "boolean"
|
|
6196
7206
|
},
|
|
@@ -12854,6 +13864,36 @@ export const ChannelsRestartReturnSchema = {
|
|
|
12854
13864
|
],
|
|
12855
13865
|
"type": "object"
|
|
12856
13866
|
},
|
|
13867
|
+
"health": {
|
|
13868
|
+
"additionalProperties": false,
|
|
13869
|
+
"properties": {
|
|
13870
|
+
"checkedAt": {
|
|
13871
|
+
"type": "number"
|
|
13872
|
+
},
|
|
13873
|
+
"reachable": {
|
|
13874
|
+
"type": "boolean"
|
|
13875
|
+
},
|
|
13876
|
+
"reason": {
|
|
13877
|
+
"type": "string"
|
|
13878
|
+
},
|
|
13879
|
+
"status": {
|
|
13880
|
+
"enum": [
|
|
13881
|
+
"ready",
|
|
13882
|
+
"starting",
|
|
13883
|
+
"degraded",
|
|
13884
|
+
"unreachable",
|
|
13885
|
+
"stopped"
|
|
13886
|
+
],
|
|
13887
|
+
"type": "string"
|
|
13888
|
+
}
|
|
13889
|
+
},
|
|
13890
|
+
"required": [
|
|
13891
|
+
"status",
|
|
13892
|
+
"reachable",
|
|
13893
|
+
"checkedAt"
|
|
13894
|
+
],
|
|
13895
|
+
"type": "object"
|
|
13896
|
+
},
|
|
12857
13897
|
"pm2Available": {
|
|
12858
13898
|
"type": "boolean"
|
|
12859
13899
|
},
|
|
@@ -12941,6 +13981,190 @@ export const ChannelsRestartReturnSchema = {
|
|
|
12941
13981
|
"type": "object"
|
|
12942
13982
|
},
|
|
12943
13983
|
"type": "array"
|
|
13984
|
+
},
|
|
13985
|
+
"runner": {
|
|
13986
|
+
"anyOf": [
|
|
13987
|
+
{
|
|
13988
|
+
"additionalProperties": false,
|
|
13989
|
+
"properties": {
|
|
13990
|
+
"adapters": {
|
|
13991
|
+
"items": {
|
|
13992
|
+
"additionalProperties": false,
|
|
13993
|
+
"properties": {
|
|
13994
|
+
"channelId": {
|
|
13995
|
+
"type": "string"
|
|
13996
|
+
},
|
|
13997
|
+
"connectedAt": {
|
|
13998
|
+
"type": "number"
|
|
13999
|
+
},
|
|
14000
|
+
"id": {
|
|
14001
|
+
"type": "string"
|
|
14002
|
+
},
|
|
14003
|
+
"lastPongAt": {
|
|
14004
|
+
"type": "number"
|
|
14005
|
+
},
|
|
14006
|
+
"reason": {
|
|
14007
|
+
"type": "string"
|
|
14008
|
+
},
|
|
14009
|
+
"reconnectCount": {
|
|
14010
|
+
"maximum": 9007199254740991,
|
|
14011
|
+
"minimum": 0,
|
|
14012
|
+
"type": "integer"
|
|
14013
|
+
},
|
|
14014
|
+
"status": {
|
|
14015
|
+
"enum": [
|
|
14016
|
+
"disabled",
|
|
14017
|
+
"starting",
|
|
14018
|
+
"connected",
|
|
14019
|
+
"degraded",
|
|
14020
|
+
"reconnecting",
|
|
14021
|
+
"disconnected",
|
|
14022
|
+
"failed"
|
|
14023
|
+
],
|
|
14024
|
+
"type": "string"
|
|
14025
|
+
}
|
|
14026
|
+
},
|
|
14027
|
+
"required": [
|
|
14028
|
+
"id",
|
|
14029
|
+
"channelId",
|
|
14030
|
+
"status"
|
|
14031
|
+
],
|
|
14032
|
+
"type": "object"
|
|
14033
|
+
},
|
|
14034
|
+
"type": "array"
|
|
14035
|
+
},
|
|
14036
|
+
"observedAt": {
|
|
14037
|
+
"type": "number"
|
|
14038
|
+
},
|
|
14039
|
+
"outbound": {
|
|
14040
|
+
"additionalProperties": false,
|
|
14041
|
+
"properties": {
|
|
14042
|
+
"consumer": {
|
|
14043
|
+
"type": "string"
|
|
14044
|
+
},
|
|
14045
|
+
"consuming": {
|
|
14046
|
+
"type": "boolean"
|
|
14047
|
+
},
|
|
14048
|
+
"enabled": {
|
|
14049
|
+
"type": "boolean"
|
|
14050
|
+
},
|
|
14051
|
+
"infrastructureReady": {
|
|
14052
|
+
"type": "boolean"
|
|
14053
|
+
},
|
|
14054
|
+
"lastError": {
|
|
14055
|
+
"additionalProperties": false,
|
|
14056
|
+
"properties": {
|
|
14057
|
+
"at": {
|
|
14058
|
+
"type": "number"
|
|
14059
|
+
},
|
|
14060
|
+
"message": {
|
|
14061
|
+
"type": "string"
|
|
14062
|
+
},
|
|
14063
|
+
"phase": {
|
|
14064
|
+
"const": "consume_loop",
|
|
14065
|
+
"type": "string"
|
|
14066
|
+
}
|
|
14067
|
+
},
|
|
14068
|
+
"required": [
|
|
14069
|
+
"phase",
|
|
14070
|
+
"message",
|
|
14071
|
+
"at"
|
|
14072
|
+
],
|
|
14073
|
+
"type": "object"
|
|
14074
|
+
},
|
|
14075
|
+
"lastMessageAt": {
|
|
14076
|
+
"type": "number"
|
|
14077
|
+
},
|
|
14078
|
+
"publishOutbox": {
|
|
14079
|
+
"additionalProperties": false,
|
|
14080
|
+
"properties": {
|
|
14081
|
+
"lastError": {
|
|
14082
|
+
"additionalProperties": false,
|
|
14083
|
+
"properties": {
|
|
14084
|
+
"at": {
|
|
14085
|
+
"type": "number"
|
|
14086
|
+
},
|
|
14087
|
+
"message": {
|
|
14088
|
+
"type": "string"
|
|
14089
|
+
}
|
|
14090
|
+
},
|
|
14091
|
+
"required": [
|
|
14092
|
+
"message",
|
|
14093
|
+
"at"
|
|
14094
|
+
],
|
|
14095
|
+
"type": "object"
|
|
14096
|
+
},
|
|
14097
|
+
"lastPublishedAt": {
|
|
14098
|
+
"type": "number"
|
|
14099
|
+
},
|
|
14100
|
+
"nextAttemptAt": {
|
|
14101
|
+
"type": "number"
|
|
14102
|
+
},
|
|
14103
|
+
"oldestPendingAt": {
|
|
14104
|
+
"type": "number"
|
|
14105
|
+
},
|
|
14106
|
+
"pendingCount": {
|
|
14107
|
+
"maximum": 9007199254740991,
|
|
14108
|
+
"minimum": 0,
|
|
14109
|
+
"type": "integer"
|
|
14110
|
+
}
|
|
14111
|
+
},
|
|
14112
|
+
"required": [
|
|
14113
|
+
"pendingCount"
|
|
14114
|
+
],
|
|
14115
|
+
"type": "object"
|
|
14116
|
+
},
|
|
14117
|
+
"stream": {
|
|
14118
|
+
"type": "string"
|
|
14119
|
+
}
|
|
14120
|
+
},
|
|
14121
|
+
"required": [
|
|
14122
|
+
"stream",
|
|
14123
|
+
"consumer",
|
|
14124
|
+
"enabled",
|
|
14125
|
+
"infrastructureReady",
|
|
14126
|
+
"consuming"
|
|
14127
|
+
],
|
|
14128
|
+
"type": "object"
|
|
14129
|
+
},
|
|
14130
|
+
"pid": {
|
|
14131
|
+
"exclusiveMinimum": 0,
|
|
14132
|
+
"maximum": 9007199254740991,
|
|
14133
|
+
"type": "integer"
|
|
14134
|
+
},
|
|
14135
|
+
"running": {
|
|
14136
|
+
"type": "boolean"
|
|
14137
|
+
},
|
|
14138
|
+
"schemaVersion": {
|
|
14139
|
+
"const": 1,
|
|
14140
|
+
"type": "number"
|
|
14141
|
+
},
|
|
14142
|
+
"startedAt": {
|
|
14143
|
+
"anyOf": [
|
|
14144
|
+
{
|
|
14145
|
+
"type": "number"
|
|
14146
|
+
},
|
|
14147
|
+
{
|
|
14148
|
+
"type": "null"
|
|
14149
|
+
}
|
|
14150
|
+
]
|
|
14151
|
+
}
|
|
14152
|
+
},
|
|
14153
|
+
"required": [
|
|
14154
|
+
"schemaVersion",
|
|
14155
|
+
"observedAt",
|
|
14156
|
+
"running",
|
|
14157
|
+
"startedAt",
|
|
14158
|
+
"pid",
|
|
14159
|
+
"outbound",
|
|
14160
|
+
"adapters"
|
|
14161
|
+
],
|
|
14162
|
+
"type": "object"
|
|
14163
|
+
},
|
|
14164
|
+
{
|
|
14165
|
+
"type": "null"
|
|
14166
|
+
}
|
|
14167
|
+
]
|
|
12944
14168
|
}
|
|
12945
14169
|
},
|
|
12946
14170
|
"required": [
|
|
@@ -13324,6 +14548,36 @@ export const ChannelsStartReturnSchema = {
|
|
|
13324
14548
|
],
|
|
13325
14549
|
"type": "object"
|
|
13326
14550
|
},
|
|
14551
|
+
"health": {
|
|
14552
|
+
"additionalProperties": false,
|
|
14553
|
+
"properties": {
|
|
14554
|
+
"checkedAt": {
|
|
14555
|
+
"type": "number"
|
|
14556
|
+
},
|
|
14557
|
+
"reachable": {
|
|
14558
|
+
"type": "boolean"
|
|
14559
|
+
},
|
|
14560
|
+
"reason": {
|
|
14561
|
+
"type": "string"
|
|
14562
|
+
},
|
|
14563
|
+
"status": {
|
|
14564
|
+
"enum": [
|
|
14565
|
+
"ready",
|
|
14566
|
+
"starting",
|
|
14567
|
+
"degraded",
|
|
14568
|
+
"unreachable",
|
|
14569
|
+
"stopped"
|
|
14570
|
+
],
|
|
14571
|
+
"type": "string"
|
|
14572
|
+
}
|
|
14573
|
+
},
|
|
14574
|
+
"required": [
|
|
14575
|
+
"status",
|
|
14576
|
+
"reachable",
|
|
14577
|
+
"checkedAt"
|
|
14578
|
+
],
|
|
14579
|
+
"type": "object"
|
|
14580
|
+
},
|
|
13327
14581
|
"pm2Available": {
|
|
13328
14582
|
"type": "boolean"
|
|
13329
14583
|
},
|
|
@@ -13411,6 +14665,190 @@ export const ChannelsStartReturnSchema = {
|
|
|
13411
14665
|
"type": "object"
|
|
13412
14666
|
},
|
|
13413
14667
|
"type": "array"
|
|
14668
|
+
},
|
|
14669
|
+
"runner": {
|
|
14670
|
+
"anyOf": [
|
|
14671
|
+
{
|
|
14672
|
+
"additionalProperties": false,
|
|
14673
|
+
"properties": {
|
|
14674
|
+
"adapters": {
|
|
14675
|
+
"items": {
|
|
14676
|
+
"additionalProperties": false,
|
|
14677
|
+
"properties": {
|
|
14678
|
+
"channelId": {
|
|
14679
|
+
"type": "string"
|
|
14680
|
+
},
|
|
14681
|
+
"connectedAt": {
|
|
14682
|
+
"type": "number"
|
|
14683
|
+
},
|
|
14684
|
+
"id": {
|
|
14685
|
+
"type": "string"
|
|
14686
|
+
},
|
|
14687
|
+
"lastPongAt": {
|
|
14688
|
+
"type": "number"
|
|
14689
|
+
},
|
|
14690
|
+
"reason": {
|
|
14691
|
+
"type": "string"
|
|
14692
|
+
},
|
|
14693
|
+
"reconnectCount": {
|
|
14694
|
+
"maximum": 9007199254740991,
|
|
14695
|
+
"minimum": 0,
|
|
14696
|
+
"type": "integer"
|
|
14697
|
+
},
|
|
14698
|
+
"status": {
|
|
14699
|
+
"enum": [
|
|
14700
|
+
"disabled",
|
|
14701
|
+
"starting",
|
|
14702
|
+
"connected",
|
|
14703
|
+
"degraded",
|
|
14704
|
+
"reconnecting",
|
|
14705
|
+
"disconnected",
|
|
14706
|
+
"failed"
|
|
14707
|
+
],
|
|
14708
|
+
"type": "string"
|
|
14709
|
+
}
|
|
14710
|
+
},
|
|
14711
|
+
"required": [
|
|
14712
|
+
"id",
|
|
14713
|
+
"channelId",
|
|
14714
|
+
"status"
|
|
14715
|
+
],
|
|
14716
|
+
"type": "object"
|
|
14717
|
+
},
|
|
14718
|
+
"type": "array"
|
|
14719
|
+
},
|
|
14720
|
+
"observedAt": {
|
|
14721
|
+
"type": "number"
|
|
14722
|
+
},
|
|
14723
|
+
"outbound": {
|
|
14724
|
+
"additionalProperties": false,
|
|
14725
|
+
"properties": {
|
|
14726
|
+
"consumer": {
|
|
14727
|
+
"type": "string"
|
|
14728
|
+
},
|
|
14729
|
+
"consuming": {
|
|
14730
|
+
"type": "boolean"
|
|
14731
|
+
},
|
|
14732
|
+
"enabled": {
|
|
14733
|
+
"type": "boolean"
|
|
14734
|
+
},
|
|
14735
|
+
"infrastructureReady": {
|
|
14736
|
+
"type": "boolean"
|
|
14737
|
+
},
|
|
14738
|
+
"lastError": {
|
|
14739
|
+
"additionalProperties": false,
|
|
14740
|
+
"properties": {
|
|
14741
|
+
"at": {
|
|
14742
|
+
"type": "number"
|
|
14743
|
+
},
|
|
14744
|
+
"message": {
|
|
14745
|
+
"type": "string"
|
|
14746
|
+
},
|
|
14747
|
+
"phase": {
|
|
14748
|
+
"const": "consume_loop",
|
|
14749
|
+
"type": "string"
|
|
14750
|
+
}
|
|
14751
|
+
},
|
|
14752
|
+
"required": [
|
|
14753
|
+
"phase",
|
|
14754
|
+
"message",
|
|
14755
|
+
"at"
|
|
14756
|
+
],
|
|
14757
|
+
"type": "object"
|
|
14758
|
+
},
|
|
14759
|
+
"lastMessageAt": {
|
|
14760
|
+
"type": "number"
|
|
14761
|
+
},
|
|
14762
|
+
"publishOutbox": {
|
|
14763
|
+
"additionalProperties": false,
|
|
14764
|
+
"properties": {
|
|
14765
|
+
"lastError": {
|
|
14766
|
+
"additionalProperties": false,
|
|
14767
|
+
"properties": {
|
|
14768
|
+
"at": {
|
|
14769
|
+
"type": "number"
|
|
14770
|
+
},
|
|
14771
|
+
"message": {
|
|
14772
|
+
"type": "string"
|
|
14773
|
+
}
|
|
14774
|
+
},
|
|
14775
|
+
"required": [
|
|
14776
|
+
"message",
|
|
14777
|
+
"at"
|
|
14778
|
+
],
|
|
14779
|
+
"type": "object"
|
|
14780
|
+
},
|
|
14781
|
+
"lastPublishedAt": {
|
|
14782
|
+
"type": "number"
|
|
14783
|
+
},
|
|
14784
|
+
"nextAttemptAt": {
|
|
14785
|
+
"type": "number"
|
|
14786
|
+
},
|
|
14787
|
+
"oldestPendingAt": {
|
|
14788
|
+
"type": "number"
|
|
14789
|
+
},
|
|
14790
|
+
"pendingCount": {
|
|
14791
|
+
"maximum": 9007199254740991,
|
|
14792
|
+
"minimum": 0,
|
|
14793
|
+
"type": "integer"
|
|
14794
|
+
}
|
|
14795
|
+
},
|
|
14796
|
+
"required": [
|
|
14797
|
+
"pendingCount"
|
|
14798
|
+
],
|
|
14799
|
+
"type": "object"
|
|
14800
|
+
},
|
|
14801
|
+
"stream": {
|
|
14802
|
+
"type": "string"
|
|
14803
|
+
}
|
|
14804
|
+
},
|
|
14805
|
+
"required": [
|
|
14806
|
+
"stream",
|
|
14807
|
+
"consumer",
|
|
14808
|
+
"enabled",
|
|
14809
|
+
"infrastructureReady",
|
|
14810
|
+
"consuming"
|
|
14811
|
+
],
|
|
14812
|
+
"type": "object"
|
|
14813
|
+
},
|
|
14814
|
+
"pid": {
|
|
14815
|
+
"exclusiveMinimum": 0,
|
|
14816
|
+
"maximum": 9007199254740991,
|
|
14817
|
+
"type": "integer"
|
|
14818
|
+
},
|
|
14819
|
+
"running": {
|
|
14820
|
+
"type": "boolean"
|
|
14821
|
+
},
|
|
14822
|
+
"schemaVersion": {
|
|
14823
|
+
"const": 1,
|
|
14824
|
+
"type": "number"
|
|
14825
|
+
},
|
|
14826
|
+
"startedAt": {
|
|
14827
|
+
"anyOf": [
|
|
14828
|
+
{
|
|
14829
|
+
"type": "number"
|
|
14830
|
+
},
|
|
14831
|
+
{
|
|
14832
|
+
"type": "null"
|
|
14833
|
+
}
|
|
14834
|
+
]
|
|
14835
|
+
}
|
|
14836
|
+
},
|
|
14837
|
+
"required": [
|
|
14838
|
+
"schemaVersion",
|
|
14839
|
+
"observedAt",
|
|
14840
|
+
"running",
|
|
14841
|
+
"startedAt",
|
|
14842
|
+
"pid",
|
|
14843
|
+
"outbound",
|
|
14844
|
+
"adapters"
|
|
14845
|
+
],
|
|
14846
|
+
"type": "object"
|
|
14847
|
+
},
|
|
14848
|
+
{
|
|
14849
|
+
"type": "null"
|
|
14850
|
+
}
|
|
14851
|
+
]
|
|
13414
14852
|
}
|
|
13415
14853
|
},
|
|
13416
14854
|
"required": [
|
|
@@ -13536,6 +14974,36 @@ export const ChannelsStatusReturnSchema = {
|
|
|
13536
14974
|
],
|
|
13537
14975
|
"type": "object"
|
|
13538
14976
|
},
|
|
14977
|
+
"health": {
|
|
14978
|
+
"additionalProperties": false,
|
|
14979
|
+
"properties": {
|
|
14980
|
+
"checkedAt": {
|
|
14981
|
+
"type": "number"
|
|
14982
|
+
},
|
|
14983
|
+
"reachable": {
|
|
14984
|
+
"type": "boolean"
|
|
14985
|
+
},
|
|
14986
|
+
"reason": {
|
|
14987
|
+
"type": "string"
|
|
14988
|
+
},
|
|
14989
|
+
"status": {
|
|
14990
|
+
"enum": [
|
|
14991
|
+
"ready",
|
|
14992
|
+
"starting",
|
|
14993
|
+
"degraded",
|
|
14994
|
+
"unreachable",
|
|
14995
|
+
"stopped"
|
|
14996
|
+
],
|
|
14997
|
+
"type": "string"
|
|
14998
|
+
}
|
|
14999
|
+
},
|
|
15000
|
+
"required": [
|
|
15001
|
+
"status",
|
|
15002
|
+
"reachable",
|
|
15003
|
+
"checkedAt"
|
|
15004
|
+
],
|
|
15005
|
+
"type": "object"
|
|
15006
|
+
},
|
|
13539
15007
|
"pm2Available": {
|
|
13540
15008
|
"type": "boolean"
|
|
13541
15009
|
},
|
|
@@ -13623,6 +15091,190 @@ export const ChannelsStatusReturnSchema = {
|
|
|
13623
15091
|
"type": "object"
|
|
13624
15092
|
},
|
|
13625
15093
|
"type": "array"
|
|
15094
|
+
},
|
|
15095
|
+
"runner": {
|
|
15096
|
+
"anyOf": [
|
|
15097
|
+
{
|
|
15098
|
+
"additionalProperties": false,
|
|
15099
|
+
"properties": {
|
|
15100
|
+
"adapters": {
|
|
15101
|
+
"items": {
|
|
15102
|
+
"additionalProperties": false,
|
|
15103
|
+
"properties": {
|
|
15104
|
+
"channelId": {
|
|
15105
|
+
"type": "string"
|
|
15106
|
+
},
|
|
15107
|
+
"connectedAt": {
|
|
15108
|
+
"type": "number"
|
|
15109
|
+
},
|
|
15110
|
+
"id": {
|
|
15111
|
+
"type": "string"
|
|
15112
|
+
},
|
|
15113
|
+
"lastPongAt": {
|
|
15114
|
+
"type": "number"
|
|
15115
|
+
},
|
|
15116
|
+
"reason": {
|
|
15117
|
+
"type": "string"
|
|
15118
|
+
},
|
|
15119
|
+
"reconnectCount": {
|
|
15120
|
+
"maximum": 9007199254740991,
|
|
15121
|
+
"minimum": 0,
|
|
15122
|
+
"type": "integer"
|
|
15123
|
+
},
|
|
15124
|
+
"status": {
|
|
15125
|
+
"enum": [
|
|
15126
|
+
"disabled",
|
|
15127
|
+
"starting",
|
|
15128
|
+
"connected",
|
|
15129
|
+
"degraded",
|
|
15130
|
+
"reconnecting",
|
|
15131
|
+
"disconnected",
|
|
15132
|
+
"failed"
|
|
15133
|
+
],
|
|
15134
|
+
"type": "string"
|
|
15135
|
+
}
|
|
15136
|
+
},
|
|
15137
|
+
"required": [
|
|
15138
|
+
"id",
|
|
15139
|
+
"channelId",
|
|
15140
|
+
"status"
|
|
15141
|
+
],
|
|
15142
|
+
"type": "object"
|
|
15143
|
+
},
|
|
15144
|
+
"type": "array"
|
|
15145
|
+
},
|
|
15146
|
+
"observedAt": {
|
|
15147
|
+
"type": "number"
|
|
15148
|
+
},
|
|
15149
|
+
"outbound": {
|
|
15150
|
+
"additionalProperties": false,
|
|
15151
|
+
"properties": {
|
|
15152
|
+
"consumer": {
|
|
15153
|
+
"type": "string"
|
|
15154
|
+
},
|
|
15155
|
+
"consuming": {
|
|
15156
|
+
"type": "boolean"
|
|
15157
|
+
},
|
|
15158
|
+
"enabled": {
|
|
15159
|
+
"type": "boolean"
|
|
15160
|
+
},
|
|
15161
|
+
"infrastructureReady": {
|
|
15162
|
+
"type": "boolean"
|
|
15163
|
+
},
|
|
15164
|
+
"lastError": {
|
|
15165
|
+
"additionalProperties": false,
|
|
15166
|
+
"properties": {
|
|
15167
|
+
"at": {
|
|
15168
|
+
"type": "number"
|
|
15169
|
+
},
|
|
15170
|
+
"message": {
|
|
15171
|
+
"type": "string"
|
|
15172
|
+
},
|
|
15173
|
+
"phase": {
|
|
15174
|
+
"const": "consume_loop",
|
|
15175
|
+
"type": "string"
|
|
15176
|
+
}
|
|
15177
|
+
},
|
|
15178
|
+
"required": [
|
|
15179
|
+
"phase",
|
|
15180
|
+
"message",
|
|
15181
|
+
"at"
|
|
15182
|
+
],
|
|
15183
|
+
"type": "object"
|
|
15184
|
+
},
|
|
15185
|
+
"lastMessageAt": {
|
|
15186
|
+
"type": "number"
|
|
15187
|
+
},
|
|
15188
|
+
"publishOutbox": {
|
|
15189
|
+
"additionalProperties": false,
|
|
15190
|
+
"properties": {
|
|
15191
|
+
"lastError": {
|
|
15192
|
+
"additionalProperties": false,
|
|
15193
|
+
"properties": {
|
|
15194
|
+
"at": {
|
|
15195
|
+
"type": "number"
|
|
15196
|
+
},
|
|
15197
|
+
"message": {
|
|
15198
|
+
"type": "string"
|
|
15199
|
+
}
|
|
15200
|
+
},
|
|
15201
|
+
"required": [
|
|
15202
|
+
"message",
|
|
15203
|
+
"at"
|
|
15204
|
+
],
|
|
15205
|
+
"type": "object"
|
|
15206
|
+
},
|
|
15207
|
+
"lastPublishedAt": {
|
|
15208
|
+
"type": "number"
|
|
15209
|
+
},
|
|
15210
|
+
"nextAttemptAt": {
|
|
15211
|
+
"type": "number"
|
|
15212
|
+
},
|
|
15213
|
+
"oldestPendingAt": {
|
|
15214
|
+
"type": "number"
|
|
15215
|
+
},
|
|
15216
|
+
"pendingCount": {
|
|
15217
|
+
"maximum": 9007199254740991,
|
|
15218
|
+
"minimum": 0,
|
|
15219
|
+
"type": "integer"
|
|
15220
|
+
}
|
|
15221
|
+
},
|
|
15222
|
+
"required": [
|
|
15223
|
+
"pendingCount"
|
|
15224
|
+
],
|
|
15225
|
+
"type": "object"
|
|
15226
|
+
},
|
|
15227
|
+
"stream": {
|
|
15228
|
+
"type": "string"
|
|
15229
|
+
}
|
|
15230
|
+
},
|
|
15231
|
+
"required": [
|
|
15232
|
+
"stream",
|
|
15233
|
+
"consumer",
|
|
15234
|
+
"enabled",
|
|
15235
|
+
"infrastructureReady",
|
|
15236
|
+
"consuming"
|
|
15237
|
+
],
|
|
15238
|
+
"type": "object"
|
|
15239
|
+
},
|
|
15240
|
+
"pid": {
|
|
15241
|
+
"exclusiveMinimum": 0,
|
|
15242
|
+
"maximum": 9007199254740991,
|
|
15243
|
+
"type": "integer"
|
|
15244
|
+
},
|
|
15245
|
+
"running": {
|
|
15246
|
+
"type": "boolean"
|
|
15247
|
+
},
|
|
15248
|
+
"schemaVersion": {
|
|
15249
|
+
"const": 1,
|
|
15250
|
+
"type": "number"
|
|
15251
|
+
},
|
|
15252
|
+
"startedAt": {
|
|
15253
|
+
"anyOf": [
|
|
15254
|
+
{
|
|
15255
|
+
"type": "number"
|
|
15256
|
+
},
|
|
15257
|
+
{
|
|
15258
|
+
"type": "null"
|
|
15259
|
+
}
|
|
15260
|
+
]
|
|
15261
|
+
}
|
|
15262
|
+
},
|
|
15263
|
+
"required": [
|
|
15264
|
+
"schemaVersion",
|
|
15265
|
+
"observedAt",
|
|
15266
|
+
"running",
|
|
15267
|
+
"startedAt",
|
|
15268
|
+
"pid",
|
|
15269
|
+
"outbound",
|
|
15270
|
+
"adapters"
|
|
15271
|
+
],
|
|
15272
|
+
"type": "object"
|
|
15273
|
+
},
|
|
15274
|
+
{
|
|
15275
|
+
"type": "null"
|
|
15276
|
+
}
|
|
15277
|
+
]
|
|
13626
15278
|
}
|
|
13627
15279
|
},
|
|
13628
15280
|
"required": [
|
|
@@ -13760,6 +15412,36 @@ export const ChannelsStopReturnSchema = {
|
|
|
13760
15412
|
],
|
|
13761
15413
|
"type": "object"
|
|
13762
15414
|
},
|
|
15415
|
+
"health": {
|
|
15416
|
+
"additionalProperties": false,
|
|
15417
|
+
"properties": {
|
|
15418
|
+
"checkedAt": {
|
|
15419
|
+
"type": "number"
|
|
15420
|
+
},
|
|
15421
|
+
"reachable": {
|
|
15422
|
+
"type": "boolean"
|
|
15423
|
+
},
|
|
15424
|
+
"reason": {
|
|
15425
|
+
"type": "string"
|
|
15426
|
+
},
|
|
15427
|
+
"status": {
|
|
15428
|
+
"enum": [
|
|
15429
|
+
"ready",
|
|
15430
|
+
"starting",
|
|
15431
|
+
"degraded",
|
|
15432
|
+
"unreachable",
|
|
15433
|
+
"stopped"
|
|
15434
|
+
],
|
|
15435
|
+
"type": "string"
|
|
15436
|
+
}
|
|
15437
|
+
},
|
|
15438
|
+
"required": [
|
|
15439
|
+
"status",
|
|
15440
|
+
"reachable",
|
|
15441
|
+
"checkedAt"
|
|
15442
|
+
],
|
|
15443
|
+
"type": "object"
|
|
15444
|
+
},
|
|
13763
15445
|
"pm2Available": {
|
|
13764
15446
|
"type": "boolean"
|
|
13765
15447
|
},
|
|
@@ -13847,6 +15529,190 @@ export const ChannelsStopReturnSchema = {
|
|
|
13847
15529
|
"type": "object"
|
|
13848
15530
|
},
|
|
13849
15531
|
"type": "array"
|
|
15532
|
+
},
|
|
15533
|
+
"runner": {
|
|
15534
|
+
"anyOf": [
|
|
15535
|
+
{
|
|
15536
|
+
"additionalProperties": false,
|
|
15537
|
+
"properties": {
|
|
15538
|
+
"adapters": {
|
|
15539
|
+
"items": {
|
|
15540
|
+
"additionalProperties": false,
|
|
15541
|
+
"properties": {
|
|
15542
|
+
"channelId": {
|
|
15543
|
+
"type": "string"
|
|
15544
|
+
},
|
|
15545
|
+
"connectedAt": {
|
|
15546
|
+
"type": "number"
|
|
15547
|
+
},
|
|
15548
|
+
"id": {
|
|
15549
|
+
"type": "string"
|
|
15550
|
+
},
|
|
15551
|
+
"lastPongAt": {
|
|
15552
|
+
"type": "number"
|
|
15553
|
+
},
|
|
15554
|
+
"reason": {
|
|
15555
|
+
"type": "string"
|
|
15556
|
+
},
|
|
15557
|
+
"reconnectCount": {
|
|
15558
|
+
"maximum": 9007199254740991,
|
|
15559
|
+
"minimum": 0,
|
|
15560
|
+
"type": "integer"
|
|
15561
|
+
},
|
|
15562
|
+
"status": {
|
|
15563
|
+
"enum": [
|
|
15564
|
+
"disabled",
|
|
15565
|
+
"starting",
|
|
15566
|
+
"connected",
|
|
15567
|
+
"degraded",
|
|
15568
|
+
"reconnecting",
|
|
15569
|
+
"disconnected",
|
|
15570
|
+
"failed"
|
|
15571
|
+
],
|
|
15572
|
+
"type": "string"
|
|
15573
|
+
}
|
|
15574
|
+
},
|
|
15575
|
+
"required": [
|
|
15576
|
+
"id",
|
|
15577
|
+
"channelId",
|
|
15578
|
+
"status"
|
|
15579
|
+
],
|
|
15580
|
+
"type": "object"
|
|
15581
|
+
},
|
|
15582
|
+
"type": "array"
|
|
15583
|
+
},
|
|
15584
|
+
"observedAt": {
|
|
15585
|
+
"type": "number"
|
|
15586
|
+
},
|
|
15587
|
+
"outbound": {
|
|
15588
|
+
"additionalProperties": false,
|
|
15589
|
+
"properties": {
|
|
15590
|
+
"consumer": {
|
|
15591
|
+
"type": "string"
|
|
15592
|
+
},
|
|
15593
|
+
"consuming": {
|
|
15594
|
+
"type": "boolean"
|
|
15595
|
+
},
|
|
15596
|
+
"enabled": {
|
|
15597
|
+
"type": "boolean"
|
|
15598
|
+
},
|
|
15599
|
+
"infrastructureReady": {
|
|
15600
|
+
"type": "boolean"
|
|
15601
|
+
},
|
|
15602
|
+
"lastError": {
|
|
15603
|
+
"additionalProperties": false,
|
|
15604
|
+
"properties": {
|
|
15605
|
+
"at": {
|
|
15606
|
+
"type": "number"
|
|
15607
|
+
},
|
|
15608
|
+
"message": {
|
|
15609
|
+
"type": "string"
|
|
15610
|
+
},
|
|
15611
|
+
"phase": {
|
|
15612
|
+
"const": "consume_loop",
|
|
15613
|
+
"type": "string"
|
|
15614
|
+
}
|
|
15615
|
+
},
|
|
15616
|
+
"required": [
|
|
15617
|
+
"phase",
|
|
15618
|
+
"message",
|
|
15619
|
+
"at"
|
|
15620
|
+
],
|
|
15621
|
+
"type": "object"
|
|
15622
|
+
},
|
|
15623
|
+
"lastMessageAt": {
|
|
15624
|
+
"type": "number"
|
|
15625
|
+
},
|
|
15626
|
+
"publishOutbox": {
|
|
15627
|
+
"additionalProperties": false,
|
|
15628
|
+
"properties": {
|
|
15629
|
+
"lastError": {
|
|
15630
|
+
"additionalProperties": false,
|
|
15631
|
+
"properties": {
|
|
15632
|
+
"at": {
|
|
15633
|
+
"type": "number"
|
|
15634
|
+
},
|
|
15635
|
+
"message": {
|
|
15636
|
+
"type": "string"
|
|
15637
|
+
}
|
|
15638
|
+
},
|
|
15639
|
+
"required": [
|
|
15640
|
+
"message",
|
|
15641
|
+
"at"
|
|
15642
|
+
],
|
|
15643
|
+
"type": "object"
|
|
15644
|
+
},
|
|
15645
|
+
"lastPublishedAt": {
|
|
15646
|
+
"type": "number"
|
|
15647
|
+
},
|
|
15648
|
+
"nextAttemptAt": {
|
|
15649
|
+
"type": "number"
|
|
15650
|
+
},
|
|
15651
|
+
"oldestPendingAt": {
|
|
15652
|
+
"type": "number"
|
|
15653
|
+
},
|
|
15654
|
+
"pendingCount": {
|
|
15655
|
+
"maximum": 9007199254740991,
|
|
15656
|
+
"minimum": 0,
|
|
15657
|
+
"type": "integer"
|
|
15658
|
+
}
|
|
15659
|
+
},
|
|
15660
|
+
"required": [
|
|
15661
|
+
"pendingCount"
|
|
15662
|
+
],
|
|
15663
|
+
"type": "object"
|
|
15664
|
+
},
|
|
15665
|
+
"stream": {
|
|
15666
|
+
"type": "string"
|
|
15667
|
+
}
|
|
15668
|
+
},
|
|
15669
|
+
"required": [
|
|
15670
|
+
"stream",
|
|
15671
|
+
"consumer",
|
|
15672
|
+
"enabled",
|
|
15673
|
+
"infrastructureReady",
|
|
15674
|
+
"consuming"
|
|
15675
|
+
],
|
|
15676
|
+
"type": "object"
|
|
15677
|
+
},
|
|
15678
|
+
"pid": {
|
|
15679
|
+
"exclusiveMinimum": 0,
|
|
15680
|
+
"maximum": 9007199254740991,
|
|
15681
|
+
"type": "integer"
|
|
15682
|
+
},
|
|
15683
|
+
"running": {
|
|
15684
|
+
"type": "boolean"
|
|
15685
|
+
},
|
|
15686
|
+
"schemaVersion": {
|
|
15687
|
+
"const": 1,
|
|
15688
|
+
"type": "number"
|
|
15689
|
+
},
|
|
15690
|
+
"startedAt": {
|
|
15691
|
+
"anyOf": [
|
|
15692
|
+
{
|
|
15693
|
+
"type": "number"
|
|
15694
|
+
},
|
|
15695
|
+
{
|
|
15696
|
+
"type": "null"
|
|
15697
|
+
}
|
|
15698
|
+
]
|
|
15699
|
+
}
|
|
15700
|
+
},
|
|
15701
|
+
"required": [
|
|
15702
|
+
"schemaVersion",
|
|
15703
|
+
"observedAt",
|
|
15704
|
+
"running",
|
|
15705
|
+
"startedAt",
|
|
15706
|
+
"pid",
|
|
15707
|
+
"outbound",
|
|
15708
|
+
"adapters"
|
|
15709
|
+
],
|
|
15710
|
+
"type": "object"
|
|
15711
|
+
},
|
|
15712
|
+
{
|
|
15713
|
+
"type": "null"
|
|
15714
|
+
}
|
|
15715
|
+
]
|
|
13850
15716
|
}
|
|
13851
15717
|
},
|
|
13852
15718
|
"required": [
|
|
@@ -13953,8 +15819,488 @@ export const ChatsListInputSchema = {
|
|
|
13953
15819
|
};
|
|
13954
15820
|
/** JSON Schema for the return shape of `chats.list`. */
|
|
13955
15821
|
export const ChatsListReturnSchema = {
|
|
13956
|
-
"
|
|
13957
|
-
|
|
15822
|
+
"$defs": {
|
|
15823
|
+
"__schema0": {
|
|
15824
|
+
"anyOf": [
|
|
15825
|
+
{
|
|
15826
|
+
"anyOf": [
|
|
15827
|
+
{
|
|
15828
|
+
"type": "string"
|
|
15829
|
+
},
|
|
15830
|
+
{
|
|
15831
|
+
"type": "number"
|
|
15832
|
+
},
|
|
15833
|
+
{
|
|
15834
|
+
"type": "boolean"
|
|
15835
|
+
},
|
|
15836
|
+
{
|
|
15837
|
+
"type": "null"
|
|
15838
|
+
}
|
|
15839
|
+
]
|
|
15840
|
+
},
|
|
15841
|
+
{
|
|
15842
|
+
"items": {
|
|
15843
|
+
"$ref": "#/$defs/__schema0"
|
|
15844
|
+
},
|
|
15845
|
+
"type": "array"
|
|
15846
|
+
},
|
|
15847
|
+
{
|
|
15848
|
+
"additionalProperties": {
|
|
15849
|
+
"$ref": "#/$defs/__schema0"
|
|
15850
|
+
},
|
|
15851
|
+
"propertyNames": {
|
|
15852
|
+
"type": "string"
|
|
15853
|
+
},
|
|
15854
|
+
"type": "object"
|
|
15855
|
+
}
|
|
15856
|
+
]
|
|
15857
|
+
}
|
|
15858
|
+
},
|
|
15859
|
+
"additionalProperties": false,
|
|
15860
|
+
"properties": {
|
|
15861
|
+
"chats": {
|
|
15862
|
+
"items": {
|
|
15863
|
+
"additionalProperties": false,
|
|
15864
|
+
"properties": {
|
|
15865
|
+
"chat": {
|
|
15866
|
+
"additionalProperties": false,
|
|
15867
|
+
"properties": {
|
|
15868
|
+
"avatarUrl": {
|
|
15869
|
+
"type": "string"
|
|
15870
|
+
},
|
|
15871
|
+
"channel": {
|
|
15872
|
+
"type": "string"
|
|
15873
|
+
},
|
|
15874
|
+
"chatType": {
|
|
15875
|
+
"enum": [
|
|
15876
|
+
"dm",
|
|
15877
|
+
"group",
|
|
15878
|
+
"room",
|
|
15879
|
+
"thread",
|
|
15880
|
+
"channel",
|
|
15881
|
+
"unknown"
|
|
15882
|
+
],
|
|
15883
|
+
"type": "string"
|
|
15884
|
+
},
|
|
15885
|
+
"createdAt": {
|
|
15886
|
+
"type": "number"
|
|
15887
|
+
},
|
|
15888
|
+
"firstSeenAt": {
|
|
15889
|
+
"type": "number"
|
|
15890
|
+
},
|
|
15891
|
+
"id": {
|
|
15892
|
+
"type": "string"
|
|
15893
|
+
},
|
|
15894
|
+
"instanceId": {
|
|
15895
|
+
"type": "string"
|
|
15896
|
+
},
|
|
15897
|
+
"lastSeenAt": {
|
|
15898
|
+
"type": "number"
|
|
15899
|
+
},
|
|
15900
|
+
"metadata": {
|
|
15901
|
+
"additionalProperties": {
|
|
15902
|
+
"$ref": "#/$defs/__schema0"
|
|
15903
|
+
},
|
|
15904
|
+
"propertyNames": {
|
|
15905
|
+
"type": "string"
|
|
15906
|
+
},
|
|
15907
|
+
"type": "object"
|
|
15908
|
+
},
|
|
15909
|
+
"normalizedChatId": {
|
|
15910
|
+
"type": "string"
|
|
15911
|
+
},
|
|
15912
|
+
"platformChatId": {
|
|
15913
|
+
"type": "string"
|
|
15914
|
+
},
|
|
15915
|
+
"rawProvenance": {
|
|
15916
|
+
"additionalProperties": {
|
|
15917
|
+
"$ref": "#/$defs/__schema0"
|
|
15918
|
+
},
|
|
15919
|
+
"propertyNames": {
|
|
15920
|
+
"type": "string"
|
|
15921
|
+
},
|
|
15922
|
+
"type": "object"
|
|
15923
|
+
},
|
|
15924
|
+
"title": {
|
|
15925
|
+
"type": "string"
|
|
15926
|
+
},
|
|
15927
|
+
"updatedAt": {
|
|
15928
|
+
"type": "number"
|
|
15929
|
+
}
|
|
15930
|
+
},
|
|
15931
|
+
"required": [
|
|
15932
|
+
"id",
|
|
15933
|
+
"channel",
|
|
15934
|
+
"instanceId",
|
|
15935
|
+
"chatType",
|
|
15936
|
+
"firstSeenAt",
|
|
15937
|
+
"lastSeenAt",
|
|
15938
|
+
"createdAt",
|
|
15939
|
+
"updatedAt"
|
|
15940
|
+
],
|
|
15941
|
+
"type": "object"
|
|
15942
|
+
},
|
|
15943
|
+
"lastMessage": {
|
|
15944
|
+
"anyOf": [
|
|
15945
|
+
{
|
|
15946
|
+
"additionalProperties": false,
|
|
15947
|
+
"properties": {
|
|
15948
|
+
"actorType": {
|
|
15949
|
+
"type": "string"
|
|
15950
|
+
},
|
|
15951
|
+
"agentId": {
|
|
15952
|
+
"type": "string"
|
|
15953
|
+
},
|
|
15954
|
+
"channel": {
|
|
15955
|
+
"type": "string"
|
|
15956
|
+
},
|
|
15957
|
+
"chatId": {
|
|
15958
|
+
"type": "string"
|
|
15959
|
+
},
|
|
15960
|
+
"contactId": {
|
|
15961
|
+
"type": "string"
|
|
15962
|
+
},
|
|
15963
|
+
"content": {
|
|
15964
|
+
"additionalProperties": {
|
|
15965
|
+
"$ref": "#/$defs/__schema0"
|
|
15966
|
+
},
|
|
15967
|
+
"propertyNames": {
|
|
15968
|
+
"type": "string"
|
|
15969
|
+
},
|
|
15970
|
+
"type": "object"
|
|
15971
|
+
},
|
|
15972
|
+
"createdAt": {
|
|
15973
|
+
"type": "number"
|
|
15974
|
+
},
|
|
15975
|
+
"id": {
|
|
15976
|
+
"type": "string"
|
|
15977
|
+
},
|
|
15978
|
+
"ingestedAt": {
|
|
15979
|
+
"type": "number"
|
|
15980
|
+
},
|
|
15981
|
+
"instanceId": {
|
|
15982
|
+
"type": "string"
|
|
15983
|
+
},
|
|
15984
|
+
"messageType": {
|
|
15985
|
+
"type": "string"
|
|
15986
|
+
},
|
|
15987
|
+
"normalizedSenderId": {
|
|
15988
|
+
"type": "string"
|
|
15989
|
+
},
|
|
15990
|
+
"platformIdentityId": {
|
|
15991
|
+
"type": "string"
|
|
15992
|
+
},
|
|
15993
|
+
"providerMessageId": {
|
|
15994
|
+
"type": "string"
|
|
15995
|
+
},
|
|
15996
|
+
"providerTimestamp": {
|
|
15997
|
+
"type": "number"
|
|
15998
|
+
},
|
|
15999
|
+
"rawChatId": {
|
|
16000
|
+
"type": "string"
|
|
16001
|
+
},
|
|
16002
|
+
"rawProvenance": {
|
|
16003
|
+
"additionalProperties": {
|
|
16004
|
+
"$ref": "#/$defs/__schema0"
|
|
16005
|
+
},
|
|
16006
|
+
"propertyNames": {
|
|
16007
|
+
"type": "string"
|
|
16008
|
+
},
|
|
16009
|
+
"type": "object"
|
|
16010
|
+
},
|
|
16011
|
+
"rawSenderId": {
|
|
16012
|
+
"type": "string"
|
|
16013
|
+
},
|
|
16014
|
+
"sortKey": {
|
|
16015
|
+
"type": "string"
|
|
16016
|
+
},
|
|
16017
|
+
"updatedAt": {
|
|
16018
|
+
"type": "number"
|
|
16019
|
+
}
|
|
16020
|
+
},
|
|
16021
|
+
"required": [
|
|
16022
|
+
"id",
|
|
16023
|
+
"chatId",
|
|
16024
|
+
"actorType",
|
|
16025
|
+
"ingestedAt",
|
|
16026
|
+
"sortKey",
|
|
16027
|
+
"createdAt",
|
|
16028
|
+
"updatedAt"
|
|
16029
|
+
],
|
|
16030
|
+
"type": "object"
|
|
16031
|
+
},
|
|
16032
|
+
{
|
|
16033
|
+
"type": "null"
|
|
16034
|
+
}
|
|
16035
|
+
]
|
|
16036
|
+
},
|
|
16037
|
+
"messageCount": {
|
|
16038
|
+
"type": "number"
|
|
16039
|
+
},
|
|
16040
|
+
"participantCount": {
|
|
16041
|
+
"type": "number"
|
|
16042
|
+
}
|
|
16043
|
+
},
|
|
16044
|
+
"required": [
|
|
16045
|
+
"chat",
|
|
16046
|
+
"messageCount",
|
|
16047
|
+
"participantCount",
|
|
16048
|
+
"lastMessage"
|
|
16049
|
+
],
|
|
16050
|
+
"type": "object"
|
|
16051
|
+
},
|
|
16052
|
+
"type": "array"
|
|
16053
|
+
},
|
|
16054
|
+
"items": {
|
|
16055
|
+
"items": {
|
|
16056
|
+
"additionalProperties": false,
|
|
16057
|
+
"properties": {
|
|
16058
|
+
"chat": {
|
|
16059
|
+
"additionalProperties": false,
|
|
16060
|
+
"properties": {
|
|
16061
|
+
"avatarUrl": {
|
|
16062
|
+
"type": "string"
|
|
16063
|
+
},
|
|
16064
|
+
"channel": {
|
|
16065
|
+
"type": "string"
|
|
16066
|
+
},
|
|
16067
|
+
"chatType": {
|
|
16068
|
+
"enum": [
|
|
16069
|
+
"dm",
|
|
16070
|
+
"group",
|
|
16071
|
+
"room",
|
|
16072
|
+
"thread",
|
|
16073
|
+
"channel",
|
|
16074
|
+
"unknown"
|
|
16075
|
+
],
|
|
16076
|
+
"type": "string"
|
|
16077
|
+
},
|
|
16078
|
+
"createdAt": {
|
|
16079
|
+
"type": "number"
|
|
16080
|
+
},
|
|
16081
|
+
"firstSeenAt": {
|
|
16082
|
+
"type": "number"
|
|
16083
|
+
},
|
|
16084
|
+
"id": {
|
|
16085
|
+
"type": "string"
|
|
16086
|
+
},
|
|
16087
|
+
"instanceId": {
|
|
16088
|
+
"type": "string"
|
|
16089
|
+
},
|
|
16090
|
+
"lastSeenAt": {
|
|
16091
|
+
"type": "number"
|
|
16092
|
+
},
|
|
16093
|
+
"metadata": {
|
|
16094
|
+
"additionalProperties": {
|
|
16095
|
+
"$ref": "#/$defs/__schema0"
|
|
16096
|
+
},
|
|
16097
|
+
"propertyNames": {
|
|
16098
|
+
"type": "string"
|
|
16099
|
+
},
|
|
16100
|
+
"type": "object"
|
|
16101
|
+
},
|
|
16102
|
+
"normalizedChatId": {
|
|
16103
|
+
"type": "string"
|
|
16104
|
+
},
|
|
16105
|
+
"platformChatId": {
|
|
16106
|
+
"type": "string"
|
|
16107
|
+
},
|
|
16108
|
+
"rawProvenance": {
|
|
16109
|
+
"additionalProperties": {
|
|
16110
|
+
"$ref": "#/$defs/__schema0"
|
|
16111
|
+
},
|
|
16112
|
+
"propertyNames": {
|
|
16113
|
+
"type": "string"
|
|
16114
|
+
},
|
|
16115
|
+
"type": "object"
|
|
16116
|
+
},
|
|
16117
|
+
"title": {
|
|
16118
|
+
"type": "string"
|
|
16119
|
+
},
|
|
16120
|
+
"updatedAt": {
|
|
16121
|
+
"type": "number"
|
|
16122
|
+
}
|
|
16123
|
+
},
|
|
16124
|
+
"required": [
|
|
16125
|
+
"id",
|
|
16126
|
+
"channel",
|
|
16127
|
+
"instanceId",
|
|
16128
|
+
"chatType",
|
|
16129
|
+
"firstSeenAt",
|
|
16130
|
+
"lastSeenAt",
|
|
16131
|
+
"createdAt",
|
|
16132
|
+
"updatedAt"
|
|
16133
|
+
],
|
|
16134
|
+
"type": "object"
|
|
16135
|
+
},
|
|
16136
|
+
"lastMessage": {
|
|
16137
|
+
"anyOf": [
|
|
16138
|
+
{
|
|
16139
|
+
"additionalProperties": false,
|
|
16140
|
+
"properties": {
|
|
16141
|
+
"actorType": {
|
|
16142
|
+
"type": "string"
|
|
16143
|
+
},
|
|
16144
|
+
"agentId": {
|
|
16145
|
+
"type": "string"
|
|
16146
|
+
},
|
|
16147
|
+
"channel": {
|
|
16148
|
+
"type": "string"
|
|
16149
|
+
},
|
|
16150
|
+
"chatId": {
|
|
16151
|
+
"type": "string"
|
|
16152
|
+
},
|
|
16153
|
+
"contactId": {
|
|
16154
|
+
"type": "string"
|
|
16155
|
+
},
|
|
16156
|
+
"content": {
|
|
16157
|
+
"additionalProperties": {
|
|
16158
|
+
"$ref": "#/$defs/__schema0"
|
|
16159
|
+
},
|
|
16160
|
+
"propertyNames": {
|
|
16161
|
+
"type": "string"
|
|
16162
|
+
},
|
|
16163
|
+
"type": "object"
|
|
16164
|
+
},
|
|
16165
|
+
"createdAt": {
|
|
16166
|
+
"type": "number"
|
|
16167
|
+
},
|
|
16168
|
+
"id": {
|
|
16169
|
+
"type": "string"
|
|
16170
|
+
},
|
|
16171
|
+
"ingestedAt": {
|
|
16172
|
+
"type": "number"
|
|
16173
|
+
},
|
|
16174
|
+
"instanceId": {
|
|
16175
|
+
"type": "string"
|
|
16176
|
+
},
|
|
16177
|
+
"messageType": {
|
|
16178
|
+
"type": "string"
|
|
16179
|
+
},
|
|
16180
|
+
"normalizedSenderId": {
|
|
16181
|
+
"type": "string"
|
|
16182
|
+
},
|
|
16183
|
+
"platformIdentityId": {
|
|
16184
|
+
"type": "string"
|
|
16185
|
+
},
|
|
16186
|
+
"providerMessageId": {
|
|
16187
|
+
"type": "string"
|
|
16188
|
+
},
|
|
16189
|
+
"providerTimestamp": {
|
|
16190
|
+
"type": "number"
|
|
16191
|
+
},
|
|
16192
|
+
"rawChatId": {
|
|
16193
|
+
"type": "string"
|
|
16194
|
+
},
|
|
16195
|
+
"rawProvenance": {
|
|
16196
|
+
"additionalProperties": {
|
|
16197
|
+
"$ref": "#/$defs/__schema0"
|
|
16198
|
+
},
|
|
16199
|
+
"propertyNames": {
|
|
16200
|
+
"type": "string"
|
|
16201
|
+
},
|
|
16202
|
+
"type": "object"
|
|
16203
|
+
},
|
|
16204
|
+
"rawSenderId": {
|
|
16205
|
+
"type": "string"
|
|
16206
|
+
},
|
|
16207
|
+
"sortKey": {
|
|
16208
|
+
"type": "string"
|
|
16209
|
+
},
|
|
16210
|
+
"updatedAt": {
|
|
16211
|
+
"type": "number"
|
|
16212
|
+
}
|
|
16213
|
+
},
|
|
16214
|
+
"required": [
|
|
16215
|
+
"id",
|
|
16216
|
+
"chatId",
|
|
16217
|
+
"actorType",
|
|
16218
|
+
"ingestedAt",
|
|
16219
|
+
"sortKey",
|
|
16220
|
+
"createdAt",
|
|
16221
|
+
"updatedAt"
|
|
16222
|
+
],
|
|
16223
|
+
"type": "object"
|
|
16224
|
+
},
|
|
16225
|
+
{
|
|
16226
|
+
"type": "null"
|
|
16227
|
+
}
|
|
16228
|
+
]
|
|
16229
|
+
},
|
|
16230
|
+
"messageCount": {
|
|
16231
|
+
"type": "number"
|
|
16232
|
+
},
|
|
16233
|
+
"participantCount": {
|
|
16234
|
+
"type": "number"
|
|
16235
|
+
}
|
|
16236
|
+
},
|
|
16237
|
+
"required": [
|
|
16238
|
+
"chat",
|
|
16239
|
+
"messageCount",
|
|
16240
|
+
"participantCount",
|
|
16241
|
+
"lastMessage"
|
|
16242
|
+
],
|
|
16243
|
+
"type": "object"
|
|
16244
|
+
},
|
|
16245
|
+
"type": "array"
|
|
16246
|
+
},
|
|
16247
|
+
"pagination": {
|
|
16248
|
+
"additionalProperties": false,
|
|
16249
|
+
"properties": {
|
|
16250
|
+
"hasMore": {
|
|
16251
|
+
"type": "boolean"
|
|
16252
|
+
},
|
|
16253
|
+
"limit": {
|
|
16254
|
+
"type": "number"
|
|
16255
|
+
},
|
|
16256
|
+
"nextCommand": {
|
|
16257
|
+
"anyOf": [
|
|
16258
|
+
{
|
|
16259
|
+
"type": "string"
|
|
16260
|
+
},
|
|
16261
|
+
{
|
|
16262
|
+
"type": "null"
|
|
16263
|
+
}
|
|
16264
|
+
]
|
|
16265
|
+
},
|
|
16266
|
+
"nextOffset": {
|
|
16267
|
+
"anyOf": [
|
|
16268
|
+
{
|
|
16269
|
+
"type": "number"
|
|
16270
|
+
},
|
|
16271
|
+
{
|
|
16272
|
+
"type": "null"
|
|
16273
|
+
}
|
|
16274
|
+
]
|
|
16275
|
+
},
|
|
16276
|
+
"offset": {
|
|
16277
|
+
"type": "number"
|
|
16278
|
+
},
|
|
16279
|
+
"returned": {
|
|
16280
|
+
"type": "number"
|
|
16281
|
+
},
|
|
16282
|
+
"total": {
|
|
16283
|
+
"type": "number"
|
|
16284
|
+
}
|
|
16285
|
+
},
|
|
16286
|
+
"required": [
|
|
16287
|
+
"limit",
|
|
16288
|
+
"offset",
|
|
16289
|
+
"returned",
|
|
16290
|
+
"total"
|
|
16291
|
+
],
|
|
16292
|
+
"type": "object"
|
|
16293
|
+
},
|
|
16294
|
+
"total": {
|
|
16295
|
+
"type": "number"
|
|
16296
|
+
}
|
|
16297
|
+
},
|
|
16298
|
+
"required": [
|
|
16299
|
+
"total",
|
|
16300
|
+
"pagination",
|
|
16301
|
+
"items",
|
|
16302
|
+
"chats"
|
|
16303
|
+
],
|
|
13958
16304
|
"type": "object"
|
|
13959
16305
|
};
|
|
13960
16306
|
/** JSON Schema for the input body of `chats.lists.add`. */
|
|
@@ -14932,8 +17278,270 @@ export const ChatsReadInputSchema = {
|
|
|
14932
17278
|
};
|
|
14933
17279
|
/** JSON Schema for the return shape of `chats.read`. */
|
|
14934
17280
|
export const ChatsReadReturnSchema = {
|
|
14935
|
-
"
|
|
14936
|
-
|
|
17281
|
+
"$defs": {
|
|
17282
|
+
"__schema0": {
|
|
17283
|
+
"anyOf": [
|
|
17284
|
+
{
|
|
17285
|
+
"anyOf": [
|
|
17286
|
+
{
|
|
17287
|
+
"type": "string"
|
|
17288
|
+
},
|
|
17289
|
+
{
|
|
17290
|
+
"type": "number"
|
|
17291
|
+
},
|
|
17292
|
+
{
|
|
17293
|
+
"type": "boolean"
|
|
17294
|
+
},
|
|
17295
|
+
{
|
|
17296
|
+
"type": "null"
|
|
17297
|
+
}
|
|
17298
|
+
]
|
|
17299
|
+
},
|
|
17300
|
+
{
|
|
17301
|
+
"items": {
|
|
17302
|
+
"$ref": "#/$defs/__schema0"
|
|
17303
|
+
},
|
|
17304
|
+
"type": "array"
|
|
17305
|
+
},
|
|
17306
|
+
{
|
|
17307
|
+
"additionalProperties": {
|
|
17308
|
+
"$ref": "#/$defs/__schema0"
|
|
17309
|
+
},
|
|
17310
|
+
"propertyNames": {
|
|
17311
|
+
"type": "string"
|
|
17312
|
+
},
|
|
17313
|
+
"type": "object"
|
|
17314
|
+
}
|
|
17315
|
+
]
|
|
17316
|
+
}
|
|
17317
|
+
},
|
|
17318
|
+
"additionalProperties": false,
|
|
17319
|
+
"properties": {
|
|
17320
|
+
"chat": {
|
|
17321
|
+
"additionalProperties": false,
|
|
17322
|
+
"properties": {
|
|
17323
|
+
"avatarUrl": {
|
|
17324
|
+
"type": "string"
|
|
17325
|
+
},
|
|
17326
|
+
"channel": {
|
|
17327
|
+
"type": "string"
|
|
17328
|
+
},
|
|
17329
|
+
"chatType": {
|
|
17330
|
+
"enum": [
|
|
17331
|
+
"dm",
|
|
17332
|
+
"group",
|
|
17333
|
+
"room",
|
|
17334
|
+
"thread",
|
|
17335
|
+
"channel",
|
|
17336
|
+
"unknown"
|
|
17337
|
+
],
|
|
17338
|
+
"type": "string"
|
|
17339
|
+
},
|
|
17340
|
+
"createdAt": {
|
|
17341
|
+
"type": "number"
|
|
17342
|
+
},
|
|
17343
|
+
"firstSeenAt": {
|
|
17344
|
+
"type": "number"
|
|
17345
|
+
},
|
|
17346
|
+
"id": {
|
|
17347
|
+
"type": "string"
|
|
17348
|
+
},
|
|
17349
|
+
"instanceId": {
|
|
17350
|
+
"type": "string"
|
|
17351
|
+
},
|
|
17352
|
+
"lastSeenAt": {
|
|
17353
|
+
"type": "number"
|
|
17354
|
+
},
|
|
17355
|
+
"metadata": {
|
|
17356
|
+
"additionalProperties": {
|
|
17357
|
+
"$ref": "#/$defs/__schema0"
|
|
17358
|
+
},
|
|
17359
|
+
"propertyNames": {
|
|
17360
|
+
"type": "string"
|
|
17361
|
+
},
|
|
17362
|
+
"type": "object"
|
|
17363
|
+
},
|
|
17364
|
+
"normalizedChatId": {
|
|
17365
|
+
"type": "string"
|
|
17366
|
+
},
|
|
17367
|
+
"platformChatId": {
|
|
17368
|
+
"type": "string"
|
|
17369
|
+
},
|
|
17370
|
+
"rawProvenance": {
|
|
17371
|
+
"additionalProperties": {
|
|
17372
|
+
"$ref": "#/$defs/__schema0"
|
|
17373
|
+
},
|
|
17374
|
+
"propertyNames": {
|
|
17375
|
+
"type": "string"
|
|
17376
|
+
},
|
|
17377
|
+
"type": "object"
|
|
17378
|
+
},
|
|
17379
|
+
"title": {
|
|
17380
|
+
"type": "string"
|
|
17381
|
+
},
|
|
17382
|
+
"updatedAt": {
|
|
17383
|
+
"type": "number"
|
|
17384
|
+
}
|
|
17385
|
+
},
|
|
17386
|
+
"required": [
|
|
17387
|
+
"id",
|
|
17388
|
+
"channel",
|
|
17389
|
+
"instanceId",
|
|
17390
|
+
"chatType",
|
|
17391
|
+
"firstSeenAt",
|
|
17392
|
+
"lastSeenAt",
|
|
17393
|
+
"createdAt",
|
|
17394
|
+
"updatedAt"
|
|
17395
|
+
],
|
|
17396
|
+
"type": "object"
|
|
17397
|
+
},
|
|
17398
|
+
"messages": {
|
|
17399
|
+
"items": {
|
|
17400
|
+
"additionalProperties": false,
|
|
17401
|
+
"properties": {
|
|
17402
|
+
"actorType": {
|
|
17403
|
+
"type": "string"
|
|
17404
|
+
},
|
|
17405
|
+
"agentId": {
|
|
17406
|
+
"type": "string"
|
|
17407
|
+
},
|
|
17408
|
+
"channel": {
|
|
17409
|
+
"type": "string"
|
|
17410
|
+
},
|
|
17411
|
+
"chatId": {
|
|
17412
|
+
"type": "string"
|
|
17413
|
+
},
|
|
17414
|
+
"contactId": {
|
|
17415
|
+
"type": "string"
|
|
17416
|
+
},
|
|
17417
|
+
"content": {
|
|
17418
|
+
"additionalProperties": {
|
|
17419
|
+
"$ref": "#/$defs/__schema0"
|
|
17420
|
+
},
|
|
17421
|
+
"propertyNames": {
|
|
17422
|
+
"type": "string"
|
|
17423
|
+
},
|
|
17424
|
+
"type": "object"
|
|
17425
|
+
},
|
|
17426
|
+
"createdAt": {
|
|
17427
|
+
"type": "number"
|
|
17428
|
+
},
|
|
17429
|
+
"id": {
|
|
17430
|
+
"type": "string"
|
|
17431
|
+
},
|
|
17432
|
+
"ingestedAt": {
|
|
17433
|
+
"type": "number"
|
|
17434
|
+
},
|
|
17435
|
+
"instanceId": {
|
|
17436
|
+
"type": "string"
|
|
17437
|
+
},
|
|
17438
|
+
"messageType": {
|
|
17439
|
+
"type": "string"
|
|
17440
|
+
},
|
|
17441
|
+
"normalizedSenderId": {
|
|
17442
|
+
"type": "string"
|
|
17443
|
+
},
|
|
17444
|
+
"platformIdentityId": {
|
|
17445
|
+
"type": "string"
|
|
17446
|
+
},
|
|
17447
|
+
"providerMessageId": {
|
|
17448
|
+
"type": "string"
|
|
17449
|
+
},
|
|
17450
|
+
"providerTimestamp": {
|
|
17451
|
+
"type": "number"
|
|
17452
|
+
},
|
|
17453
|
+
"rawChatId": {
|
|
17454
|
+
"type": "string"
|
|
17455
|
+
},
|
|
17456
|
+
"rawProvenance": {
|
|
17457
|
+
"additionalProperties": {
|
|
17458
|
+
"$ref": "#/$defs/__schema0"
|
|
17459
|
+
},
|
|
17460
|
+
"propertyNames": {
|
|
17461
|
+
"type": "string"
|
|
17462
|
+
},
|
|
17463
|
+
"type": "object"
|
|
17464
|
+
},
|
|
17465
|
+
"rawSenderId": {
|
|
17466
|
+
"type": "string"
|
|
17467
|
+
},
|
|
17468
|
+
"sortKey": {
|
|
17469
|
+
"type": "string"
|
|
17470
|
+
},
|
|
17471
|
+
"updatedAt": {
|
|
17472
|
+
"type": "number"
|
|
17473
|
+
}
|
|
17474
|
+
},
|
|
17475
|
+
"required": [
|
|
17476
|
+
"id",
|
|
17477
|
+
"chatId",
|
|
17478
|
+
"actorType",
|
|
17479
|
+
"ingestedAt",
|
|
17480
|
+
"sortKey",
|
|
17481
|
+
"createdAt",
|
|
17482
|
+
"updatedAt"
|
|
17483
|
+
],
|
|
17484
|
+
"type": "object"
|
|
17485
|
+
},
|
|
17486
|
+
"type": "array"
|
|
17487
|
+
},
|
|
17488
|
+
"pagination": {
|
|
17489
|
+
"additionalProperties": false,
|
|
17490
|
+
"properties": {
|
|
17491
|
+
"hasMore": {
|
|
17492
|
+
"type": "boolean"
|
|
17493
|
+
},
|
|
17494
|
+
"limit": {
|
|
17495
|
+
"type": "number"
|
|
17496
|
+
},
|
|
17497
|
+
"nextCommand": {
|
|
17498
|
+
"anyOf": [
|
|
17499
|
+
{
|
|
17500
|
+
"type": "string"
|
|
17501
|
+
},
|
|
17502
|
+
{
|
|
17503
|
+
"type": "null"
|
|
17504
|
+
}
|
|
17505
|
+
]
|
|
17506
|
+
},
|
|
17507
|
+
"nextOffset": {
|
|
17508
|
+
"anyOf": [
|
|
17509
|
+
{
|
|
17510
|
+
"type": "number"
|
|
17511
|
+
},
|
|
17512
|
+
{
|
|
17513
|
+
"type": "null"
|
|
17514
|
+
}
|
|
17515
|
+
]
|
|
17516
|
+
},
|
|
17517
|
+
"offset": {
|
|
17518
|
+
"type": "number"
|
|
17519
|
+
},
|
|
17520
|
+
"returned": {
|
|
17521
|
+
"type": "number"
|
|
17522
|
+
},
|
|
17523
|
+
"total": {
|
|
17524
|
+
"type": "number"
|
|
17525
|
+
}
|
|
17526
|
+
},
|
|
17527
|
+
"required": [
|
|
17528
|
+
"limit",
|
|
17529
|
+
"offset",
|
|
17530
|
+
"returned",
|
|
17531
|
+
"total"
|
|
17532
|
+
],
|
|
17533
|
+
"type": "object"
|
|
17534
|
+
},
|
|
17535
|
+
"total": {
|
|
17536
|
+
"type": "number"
|
|
17537
|
+
}
|
|
17538
|
+
},
|
|
17539
|
+
"required": [
|
|
17540
|
+
"chat",
|
|
17541
|
+
"total",
|
|
17542
|
+
"pagination",
|
|
17543
|
+
"messages"
|
|
17544
|
+
],
|
|
14937
17545
|
"type": "object"
|
|
14938
17546
|
};
|
|
14939
17547
|
/** JSON Schema for the input body of `cloud.projects.create`. */
|
|
@@ -20814,7 +23422,7 @@ export const ContextRevokeInputSchema = {
|
|
|
20814
23422
|
"type": "string"
|
|
20815
23423
|
},
|
|
20816
23424
|
"noCascade": {
|
|
20817
|
-
"default":
|
|
23425
|
+
"default": false,
|
|
20818
23426
|
"description": "Do not revoke descendant contexts (use only for narrow rotation; emits a loud warning)",
|
|
20819
23427
|
"type": "boolean"
|
|
20820
23428
|
},
|
|
@@ -25861,6 +28469,10 @@ export const CronAddInputSchema = {
|
|
|
25861
28469
|
"description": "Alias for --shell",
|
|
25862
28470
|
"type": "string"
|
|
25863
28471
|
},
|
|
28472
|
+
"idempotencyKey": {
|
|
28473
|
+
"description": "Durable create idempotency key",
|
|
28474
|
+
"type": "string"
|
|
28475
|
+
},
|
|
25864
28476
|
"isolated": {
|
|
25865
28477
|
"description": "Run in isolated session",
|
|
25866
28478
|
"type": "boolean"
|
|
@@ -26420,7 +29032,7 @@ export const DaemonInitAdminKeyInputSchema = {
|
|
|
26420
29032
|
"type": "string"
|
|
26421
29033
|
},
|
|
26422
29034
|
"noStore": {
|
|
26423
|
-
"default":
|
|
29035
|
+
"default": false,
|
|
26424
29036
|
"description": "Alias for --print-only (do not write to ~/.ravi/credentials.json)",
|
|
26425
29037
|
"type": "boolean"
|
|
26426
29038
|
},
|
|
@@ -27060,12 +29672,12 @@ export const DevinSessionsCreateInputSchema = {
|
|
|
27060
29672
|
"type": "string"
|
|
27061
29673
|
},
|
|
27062
29674
|
"noMaxAcuLimit": {
|
|
27063
|
-
"default":
|
|
29675
|
+
"default": false,
|
|
27064
29676
|
"description": "Intentionally omit max_acu_limit",
|
|
27065
29677
|
"type": "boolean"
|
|
27066
29678
|
},
|
|
27067
29679
|
"noResumable": {
|
|
27068
|
-
"default":
|
|
29680
|
+
"default": false,
|
|
27069
29681
|
"description": "Disposable session, do not preserve VM state",
|
|
27070
29682
|
"type": "boolean"
|
|
27071
29683
|
},
|
|
@@ -40326,7 +42938,7 @@ export const MeetingsFinalizeInputSchema = {
|
|
|
40326
42938
|
"additionalProperties": false,
|
|
40327
42939
|
"properties": {
|
|
40328
42940
|
"noPostTranscribe": {
|
|
40329
|
-
"default":
|
|
42941
|
+
"default": false,
|
|
40330
42942
|
"description": "Skip post-call audio transcription",
|
|
40331
42943
|
"type": "boolean"
|
|
40332
42944
|
},
|
|
@@ -41692,6 +44304,10 @@ export const ObserversProfilesValidateReturnSchema = {
|
|
|
41692
44304
|
export const ObserversRefreshInputSchema = {
|
|
41693
44305
|
"additionalProperties": false,
|
|
41694
44306
|
"properties": {
|
|
44307
|
+
"reconcile": {
|
|
44308
|
+
"description": "attach-missing|detach-disabled|refresh-profile|full-reconcile",
|
|
44309
|
+
"type": "string"
|
|
44310
|
+
},
|
|
41695
44311
|
"session": {
|
|
41696
44312
|
"description": "Source session name or key",
|
|
41697
44313
|
"type": "string"
|
|
@@ -41722,6 +44338,31 @@ export const ObserversRefreshReturnSchema = {
|
|
|
41722
44338
|
},
|
|
41723
44339
|
"type": "array"
|
|
41724
44340
|
},
|
|
44341
|
+
"disabled": {
|
|
44342
|
+
"items": {
|
|
44343
|
+
"additionalProperties": {},
|
|
44344
|
+
"properties": {},
|
|
44345
|
+
"type": "object"
|
|
44346
|
+
},
|
|
44347
|
+
"type": "array"
|
|
44348
|
+
},
|
|
44349
|
+
"mode": {
|
|
44350
|
+
"enum": [
|
|
44351
|
+
"attach-missing",
|
|
44352
|
+
"detach-disabled",
|
|
44353
|
+
"refresh-profile",
|
|
44354
|
+
"full-reconcile"
|
|
44355
|
+
],
|
|
44356
|
+
"type": "string"
|
|
44357
|
+
},
|
|
44358
|
+
"refreshedProfiles": {
|
|
44359
|
+
"items": {
|
|
44360
|
+
"additionalProperties": {},
|
|
44361
|
+
"properties": {},
|
|
44362
|
+
"type": "object"
|
|
44363
|
+
},
|
|
44364
|
+
"type": "array"
|
|
44365
|
+
},
|
|
41725
44366
|
"skipped": {
|
|
41726
44367
|
"items": {
|
|
41727
44368
|
"additionalProperties": {},
|
|
@@ -41731,9 +44372,16 @@ export const ObserversRefreshReturnSchema = {
|
|
|
41731
44372
|
"type": "array"
|
|
41732
44373
|
},
|
|
41733
44374
|
"source": {
|
|
41734
|
-
"
|
|
41735
|
-
|
|
41736
|
-
|
|
44375
|
+
"anyOf": [
|
|
44376
|
+
{
|
|
44377
|
+
"additionalProperties": {},
|
|
44378
|
+
"properties": {},
|
|
44379
|
+
"type": "object"
|
|
44380
|
+
},
|
|
44381
|
+
{
|
|
44382
|
+
"type": "null"
|
|
44383
|
+
}
|
|
44384
|
+
]
|
|
41737
44385
|
},
|
|
41738
44386
|
"total": {
|
|
41739
44387
|
"type": "number"
|
|
@@ -41741,8 +44389,11 @@ export const ObserversRefreshReturnSchema = {
|
|
|
41741
44389
|
},
|
|
41742
44390
|
"required": [
|
|
41743
44391
|
"source",
|
|
44392
|
+
"mode",
|
|
41744
44393
|
"total",
|
|
41745
44394
|
"created",
|
|
44395
|
+
"disabled",
|
|
44396
|
+
"refreshedProfiles",
|
|
41746
44397
|
"bindings",
|
|
41747
44398
|
"skipped"
|
|
41748
44399
|
],
|
|
@@ -42050,6 +44701,10 @@ export const ObserversRulesSetInputSchema = {
|
|
|
42050
44701
|
"description": "global|agent|session|task|profile|project|tag",
|
|
42051
44702
|
"type": "string"
|
|
42052
44703
|
},
|
|
44704
|
+
"selector": {
|
|
44705
|
+
"description": "Predicate over source.*, turn.* and event.*; use 'clear' to remove",
|
|
44706
|
+
"type": "string"
|
|
44707
|
+
},
|
|
42053
44708
|
"sourceAgent": {
|
|
42054
44709
|
"description": "Match source agent id",
|
|
42055
44710
|
"type": "string"
|
|
@@ -42649,7 +45304,7 @@ export const PagesPublishInputSchema = {
|
|
|
42649
45304
|
"type": "string"
|
|
42650
45305
|
},
|
|
42651
45306
|
"noActivate": {
|
|
42652
|
-
"default":
|
|
45307
|
+
"default": false,
|
|
42653
45308
|
"description": "Create publish records without activating a site release",
|
|
42654
45309
|
"type": "boolean"
|
|
42655
45310
|
},
|
|
@@ -48469,7 +51124,7 @@ export const SdkOpenapiEmitInputSchema = {
|
|
|
48469
51124
|
"additionalProperties": false,
|
|
48470
51125
|
"properties": {
|
|
48471
51126
|
"out": {
|
|
48472
|
-
"description": "Write spec JSON to this path",
|
|
51127
|
+
"description": "Write spec JSON to this path (default: docs/openapi.json)",
|
|
48473
51128
|
"type": "string"
|
|
48474
51129
|
},
|
|
48475
51130
|
"stdout": {
|
|
@@ -66817,7 +69472,7 @@ export const WhatsappDmReadInputSchema = {
|
|
|
66817
69472
|
"type": "string"
|
|
66818
69473
|
},
|
|
66819
69474
|
"noAck": {
|
|
66820
|
-
"default":
|
|
69475
|
+
"default": false,
|
|
66821
69476
|
"description": "Don't send read receipt",
|
|
66822
69477
|
"type": "boolean"
|
|
66823
69478
|
}
|