@snokam/mcp-api 2.61.1 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/auth.d.ts +0 -15
  2. package/dist/auth.js +17 -61
  3. package/dist/builtin-tools.d.ts +109 -0
  4. package/dist/builtin-tools.js +200 -0
  5. package/dist/execute-call.d.ts +5 -0
  6. package/dist/execute-call.js +45 -0
  7. package/dist/index.d.ts +0 -7
  8. package/dist/index.js +16 -311
  9. package/dist/openapi-loader.d.ts +1 -14
  10. package/dist/openapi-loader.js +27 -50
  11. package/dist/requirements.d.ts +10 -0
  12. package/dist/requirements.js +92 -0
  13. package/dist/state.d.ts +14 -0
  14. package/dist/state.js +66 -0
  15. package/dist/tool-schema.d.ts +2 -0
  16. package/dist/tool-schema.js +42 -0
  17. package/package.json +8 -3
  18. package/specs/production/accounting.json +2931 -2321
  19. package/specs/production/blog.json +747 -1497
  20. package/specs/production/broker.json +54 -25
  21. package/specs/production/chatgpt.json +570 -207
  22. package/specs/production/employees.json +2697 -1823
  23. package/specs/production/events.json +615 -974
  24. package/specs/production/notifications.json +329 -15
  25. package/specs/production/office.json +818 -836
  26. package/specs/production/recruitment.json +1883 -1207
  27. package/specs/production/sales.json +2909 -1172
  28. package/specs/production/sanity.json +47384 -16348
  29. package/specs/production/sync.json +116 -20
  30. package/specs/production/webshop.json +37 -17
  31. package/specs/test/accounting.json +2931 -2321
  32. package/specs/test/blog.json +747 -1497
  33. package/specs/test/broker.json +54 -25
  34. package/specs/test/chatgpt.json +570 -207
  35. package/specs/test/employees.json +2697 -1823
  36. package/specs/test/events.json +615 -974
  37. package/specs/test/notifications.json +329 -15
  38. package/specs/test/office.json +818 -836
  39. package/specs/test/recruitment.json +1883 -1207
  40. package/specs/test/sales.json +2909 -1172
  41. package/specs/test/sanity.json +47384 -16348
  42. package/specs/test/sync.json +116 -20
  43. package/specs/test/webshop.json +37 -17
@@ -11,6 +11,92 @@
11
11
  }
12
12
  ],
13
13
  "paths": {
14
+ "/v1.0/protected/extract": {
15
+ "post": {
16
+ "tags": [
17
+ "Extraction"
18
+ ],
19
+ "summary": "Extract structured data from a document or context",
20
+ "description": "Generic AI extraction: supply an instruction, a JSON schema (as a string), and a PDF and/or text context. Returns JSON matching the supplied schema.",
21
+ "operationId": "extractStructured",
22
+ "requestBody": {
23
+ "description": "Instruction, JSON schema, and the PDF and/or text to extract from",
24
+ "content": {
25
+ "application/json": {
26
+ "schema": {
27
+ "$ref": "#/components/schemas/extractStructuredRequest"
28
+ }
29
+ }
30
+ },
31
+ "required": true
32
+ },
33
+ "responses": {
34
+ "200": {
35
+ "description": "Payload of Object",
36
+ "content": {
37
+ "application/json": {
38
+ "schema": {
39
+ "type": "object"
40
+ }
41
+ }
42
+ },
43
+ "x-ms-summary": "Extracted JSON matching the supplied schema"
44
+ }
45
+ },
46
+ "security": [
47
+ {
48
+ "Implicit": [
49
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
50
+ ]
51
+ },
52
+ {
53
+ "ApiKey": []
54
+ }
55
+ ]
56
+ }
57
+ },
58
+ "/v1.0/protected/health/{provider}": {
59
+ "get": {
60
+ "tags": [
61
+ "Health"
62
+ ],
63
+ "summary": "Checks an integration's connectivity",
64
+ "operationId": "ChatGptIntegrationHealth",
65
+ "parameters": [
66
+ {
67
+ "name": "provider",
68
+ "in": "path",
69
+ "required": true,
70
+ "schema": {
71
+ "type": "string"
72
+ }
73
+ }
74
+ ],
75
+ "responses": {
76
+ "200": {
77
+ "description": "Payload of IntegrationHealthResult",
78
+ "content": {
79
+ "application/json": {
80
+ "schema": {
81
+ "$ref": "#/components/schemas/integrationHealthResult"
82
+ }
83
+ }
84
+ },
85
+ "x-ms-summary": "Health result"
86
+ }
87
+ },
88
+ "security": [
89
+ {
90
+ "Implicit": [
91
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
92
+ ]
93
+ },
94
+ {
95
+ "ApiKey": []
96
+ }
97
+ ]
98
+ }
99
+ },
14
100
  "/v1.0/newsletter/summary": {
15
101
  "post": {
16
102
  "tags": [
@@ -51,7 +137,17 @@
51
137
  },
52
138
  "x-ms-summary": "Success"
53
139
  }
54
- }
140
+ },
141
+ "security": [
142
+ {
143
+ "Implicit": [
144
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
145
+ ]
146
+ },
147
+ {
148
+ "ApiKey": []
149
+ }
150
+ ]
55
151
  }
56
152
  },
57
153
  "/v1.0/newsletter/single-news": {
@@ -85,7 +181,17 @@
85
181
  },
86
182
  "x-ms-summary": "Success"
87
183
  }
88
- }
184
+ },
185
+ "security": [
186
+ {
187
+ "Implicit": [
188
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
189
+ ]
190
+ },
191
+ {
192
+ "ApiKey": []
193
+ }
194
+ ]
89
195
  }
90
196
  },
91
197
  "/v1.0/protected/question": {
@@ -142,8 +248,11 @@
142
248
  "security": [
143
249
  {
144
250
  "Implicit": [
145
- "api://7e012b30-4649-4647-9962-4e052444cdff/.default"
251
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
146
252
  ]
253
+ },
254
+ {
255
+ "ApiKey": []
147
256
  }
148
257
  ]
149
258
  }
@@ -195,8 +304,11 @@
195
304
  "security": [
196
305
  {
197
306
  "Implicit": [
198
- "api://7e012b30-4649-4647-9962-4e052444cdff/.default"
307
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
199
308
  ]
309
+ },
310
+ {
311
+ "ApiKey": []
200
312
  }
201
313
  ]
202
314
  }
@@ -259,8 +371,11 @@
259
371
  "security": [
260
372
  {
261
373
  "Implicit": [
262
- "api://7e012b30-4649-4647-9962-4e052444cdff/.default"
374
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
263
375
  ]
376
+ },
377
+ {
378
+ "ApiKey": []
264
379
  }
265
380
  ]
266
381
  }
@@ -316,8 +431,11 @@
316
431
  "security": [
317
432
  {
318
433
  "Implicit": [
319
- "api://7e012b30-4649-4647-9962-4e052444cdff/.default"
434
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
320
435
  ]
436
+ },
437
+ {
438
+ "ApiKey": []
321
439
  }
322
440
  ]
323
441
  }
@@ -542,7 +660,7 @@
542
660
  "content": {
543
661
  "application/json": {
544
662
  "schema": {
545
- "$ref": "#/components/schemas/sanityAzureBlobStorageCredentials"
663
+ "$ref": "#/components/schemas/azureBlobStorageCredentials"
546
664
  }
547
665
  }
548
666
  },
@@ -631,7 +749,61 @@
631
749
  },
632
750
  "x-ms-summary": "Session started"
633
751
  }
634
- }
752
+ },
753
+ "security": [
754
+ {
755
+ "Implicit": [
756
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
757
+ ]
758
+ },
759
+ {
760
+ "ApiKey": []
761
+ }
762
+ ]
763
+ }
764
+ },
765
+ "/v1.0/protected/realtime/usage-report": {
766
+ "post": {
767
+ "tags": [
768
+ "Realtime"
769
+ ],
770
+ "summary": "Report token usage for a realtime session",
771
+ "description": "Records cumulative token totals streamed to the client by the realtime API. Reports are validated against the session registry; unknown, expired or already-recorded reports are acknowledged without recording.",
772
+ "operationId": "ReportRealtimeUsage",
773
+ "requestBody": {
774
+ "description": "Cumulative session token totals",
775
+ "content": {
776
+ "application/json": {
777
+ "schema": {
778
+ "$ref": "#/components/schemas/realtimeUsageReport"
779
+ }
780
+ }
781
+ },
782
+ "required": true
783
+ },
784
+ "responses": {
785
+ "200": {
786
+ "description": "Payload of RealtimeUsageAck",
787
+ "content": {
788
+ "application/json": {
789
+ "schema": {
790
+ "$ref": "#/components/schemas/realtimeUsageAck"
791
+ }
792
+ }
793
+ },
794
+ "x-ms-summary": "Report acknowledged"
795
+ }
796
+ },
797
+ "security": [
798
+ {
799
+ "Implicit": [
800
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
801
+ ]
802
+ },
803
+ {
804
+ "ApiKey": []
805
+ }
806
+ ]
635
807
  }
636
808
  },
637
809
  "/v1.0/realtime/agents": {
@@ -657,7 +829,17 @@
657
829
  },
658
830
  "x-ms-summary": "Contexts listed"
659
831
  }
660
- }
832
+ },
833
+ "security": [
834
+ {
835
+ "Implicit": [
836
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
837
+ ]
838
+ },
839
+ {
840
+ "ApiKey": []
841
+ }
842
+ ]
661
843
  }
662
844
  },
663
845
  "/followup-email": {
@@ -718,8 +900,11 @@
718
900
  "security": [
719
901
  {
720
902
  "Implicit": [
721
- "api://7e012b30-4649-4647-9962-4e052444cdff/.default"
903
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
722
904
  ]
905
+ },
906
+ {
907
+ "ApiKey": []
723
908
  }
724
909
  ]
725
910
  },
@@ -780,8 +965,11 @@
780
965
  "security": [
781
966
  {
782
967
  "Implicit": [
783
- "api://7e012b30-4649-4647-9962-4e052444cdff/.default"
968
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
784
969
  ]
970
+ },
971
+ {
972
+ "ApiKey": []
785
973
  }
786
974
  ]
787
975
  }
@@ -844,8 +1032,11 @@
844
1032
  "security": [
845
1033
  {
846
1034
  "Implicit": [
847
- "api://7e012b30-4649-4647-9962-4e052444cdff/.default"
1035
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
848
1036
  ]
1037
+ },
1038
+ {
1039
+ "ApiKey": []
849
1040
  }
850
1041
  ]
851
1042
  },
@@ -906,8 +1097,11 @@
906
1097
  "security": [
907
1098
  {
908
1099
  "Implicit": [
909
- "api://7e012b30-4649-4647-9962-4e052444cdff/.default"
1100
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
910
1101
  ]
1102
+ },
1103
+ {
1104
+ "ApiKey": []
911
1105
  }
912
1106
  ]
913
1107
  }
@@ -968,8 +1162,11 @@
968
1162
  "security": [
969
1163
  {
970
1164
  "Implicit": [
971
- "api://7e012b30-4649-4647-9962-4e052444cdff/.default"
1165
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
972
1166
  ]
1167
+ },
1168
+ {
1169
+ "ApiKey": []
973
1170
  }
974
1171
  ]
975
1172
  }
@@ -980,20 +1177,42 @@
980
1177
  "authorization": {
981
1178
  "type": "object",
982
1179
  "properties": {
983
- "enterpriseId": {
984
- "type": "object"
1180
+ "enterprise_id": {
1181
+ "type": "object",
1182
+ "nullable": true
985
1183
  },
986
- "teamId": {
987
- "type": "string"
1184
+ "team_id": {
1185
+ "type": "string",
1186
+ "nullable": true
1187
+ },
1188
+ "user_id": {
1189
+ "type": "string",
1190
+ "nullable": true
1191
+ },
1192
+ "is_bot": {
1193
+ "type": "boolean",
1194
+ "nullable": true
988
1195
  },
989
- "userId": {
1196
+ "is_enterprise_install": {
1197
+ "type": "boolean",
1198
+ "nullable": true
1199
+ }
1200
+ }
1201
+ },
1202
+ "azureBlobStorageCredentials": {
1203
+ "type": "object",
1204
+ "properties": {
1205
+ "blobUrl": {
990
1206
  "type": "string"
991
1207
  },
992
- "isBot": {
993
- "type": "boolean"
1208
+ "sasToken": {
1209
+ "type": "string"
994
1210
  },
995
- "isEnterpriseInstall": {
996
- "type": "boolean"
1211
+ "additionalProperties": {
1212
+ "type": "object",
1213
+ "additionalProperties": {
1214
+ "type": "object"
1215
+ }
997
1216
  }
998
1217
  }
999
1218
  },
@@ -1001,13 +1220,16 @@
1001
1220
  "type": "object",
1002
1221
  "properties": {
1003
1222
  "value": {
1004
- "type": "string"
1223
+ "type": "string",
1224
+ "nullable": true
1005
1225
  },
1006
- "expiresAt": {
1226
+ "expires_at": {
1007
1227
  "type": "integer",
1008
- "format": "int64"
1228
+ "format": "int64",
1229
+ "nullable": true
1009
1230
  }
1010
- }
1231
+ },
1232
+ "nullable": true
1011
1233
  },
1012
1234
  "emailContentResponse": {
1013
1235
  "type": "object",
@@ -1056,42 +1278,75 @@
1056
1278
  "type": "object",
1057
1279
  "properties": {
1058
1280
  "type": {
1059
- "type": "string"
1281
+ "type": "string",
1282
+ "nullable": true
1060
1283
  },
1061
1284
  "text": {
1062
- "type": "string"
1285
+ "type": "string",
1286
+ "nullable": true
1063
1287
  },
1064
1288
  "files": {
1065
1289
  "type": "array",
1066
1290
  "items": {
1067
1291
  "$ref": "#/components/schemas/file"
1068
- }
1292
+ },
1293
+ "nullable": true
1069
1294
  },
1070
1295
  "upload": {
1071
- "type": "boolean"
1296
+ "type": "boolean",
1297
+ "nullable": true
1072
1298
  },
1073
1299
  "user": {
1074
- "type": "string"
1300
+ "type": "string",
1301
+ "nullable": true
1075
1302
  },
1076
- "displayAsBot": {
1077
- "type": "boolean"
1303
+ "display_as_bot": {
1304
+ "type": "boolean",
1305
+ "nullable": true
1078
1306
  },
1079
- "botId": {
1080
- "type": "string"
1307
+ "bot_id": {
1308
+ "type": "string",
1309
+ "nullable": true
1081
1310
  },
1082
1311
  "ts": {
1083
- "type": "string"
1312
+ "type": "string",
1313
+ "nullable": true
1084
1314
  },
1085
1315
  "channel": {
1086
- "type": "string"
1316
+ "type": "string",
1317
+ "nullable": true
1087
1318
  },
1088
1319
  "subtype": {
1320
+ "type": "string",
1321
+ "nullable": true
1322
+ },
1323
+ "event_ts": {
1324
+ "type": "string",
1325
+ "nullable": true
1326
+ },
1327
+ "channel_type": {
1328
+ "type": "string",
1329
+ "nullable": true
1330
+ }
1331
+ },
1332
+ "nullable": true
1333
+ },
1334
+ "extractStructuredRequest": {
1335
+ "type": "object",
1336
+ "properties": {
1337
+ "instruction": {
1338
+ "type": "string"
1339
+ },
1340
+ "schema": {
1089
1341
  "type": "string"
1090
1342
  },
1091
- "eventTs": {
1343
+ "schemaName": {
1092
1344
  "type": "string"
1093
1345
  },
1094
- "channelType": {
1346
+ "pdfBase64": {
1347
+ "type": "string"
1348
+ },
1349
+ "context": {
1095
1350
  "type": "string"
1096
1351
  }
1097
1352
  }
@@ -1100,134 +1355,171 @@
1100
1355
  "type": "object",
1101
1356
  "properties": {
1102
1357
  "id": {
1103
- "type": "string"
1358
+ "type": "string",
1359
+ "nullable": true
1104
1360
  },
1105
1361
  "created": {
1106
1362
  "type": "integer",
1107
- "format": "int32"
1363
+ "format": "int32",
1364
+ "nullable": true
1108
1365
  },
1109
1366
  "timestamp": {
1110
1367
  "type": "integer",
1111
- "format": "int32"
1368
+ "format": "int32",
1369
+ "nullable": true
1112
1370
  },
1113
1371
  "name": {
1114
- "type": "string"
1372
+ "type": "string",
1373
+ "nullable": true
1115
1374
  },
1116
1375
  "title": {
1117
- "type": "string"
1376
+ "type": "string",
1377
+ "nullable": true
1118
1378
  },
1119
1379
  "mimetype": {
1120
- "type": "string"
1380
+ "type": "string",
1381
+ "nullable": true
1121
1382
  },
1122
1383
  "filetype": {
1123
- "type": "string"
1384
+ "type": "string",
1385
+ "nullable": true
1124
1386
  },
1125
- "prettyType": {
1126
- "type": "string"
1387
+ "pretty_type": {
1388
+ "type": "string",
1389
+ "nullable": true
1127
1390
  },
1128
1391
  "user": {
1129
- "type": "string"
1392
+ "type": "string",
1393
+ "nullable": true
1130
1394
  },
1131
- "userTeam": {
1132
- "type": "string"
1395
+ "user_team": {
1396
+ "type": "string",
1397
+ "nullable": true
1133
1398
  },
1134
1399
  "editable": {
1135
- "type": "boolean"
1400
+ "type": "boolean",
1401
+ "nullable": true
1136
1402
  },
1137
1403
  "size": {
1138
1404
  "type": "integer",
1139
- "format": "int32"
1405
+ "format": "int32",
1406
+ "nullable": true
1140
1407
  },
1141
1408
  "mode": {
1142
- "type": "string"
1409
+ "type": "string",
1410
+ "nullable": true
1143
1411
  },
1144
- "isExternal": {
1145
- "type": "boolean"
1412
+ "is_external": {
1413
+ "type": "boolean",
1414
+ "nullable": true
1146
1415
  },
1147
- "externalType": {
1148
- "type": "string"
1416
+ "external_type": {
1417
+ "type": "string",
1418
+ "nullable": true
1149
1419
  },
1150
- "isPublic": {
1151
- "type": "boolean"
1420
+ "is_public": {
1421
+ "type": "boolean",
1422
+ "nullable": true
1152
1423
  },
1153
- "publicUrlShared": {
1154
- "type": "boolean"
1424
+ "public_url_shared": {
1425
+ "type": "boolean",
1426
+ "nullable": true
1155
1427
  },
1156
- "displayAsBot": {
1157
- "type": "boolean"
1428
+ "display_as_bot": {
1429
+ "type": "boolean",
1430
+ "nullable": true
1158
1431
  },
1159
1432
  "username": {
1160
- "type": "string"
1433
+ "type": "string",
1434
+ "nullable": true
1161
1435
  },
1162
- "urlPrivate": {
1163
- "type": "string"
1436
+ "url_private": {
1437
+ "type": "string",
1438
+ "nullable": true
1164
1439
  },
1165
- "urlPrivateDownload": {
1166
- "type": "string"
1440
+ "url_private_download": {
1441
+ "type": "string",
1442
+ "nullable": true
1167
1443
  },
1168
1444
  "permalink": {
1169
- "type": "string"
1445
+ "type": "string",
1446
+ "nullable": true
1170
1447
  },
1171
- "permalinkPublic": {
1172
- "type": "string"
1448
+ "permalink_public": {
1449
+ "type": "string",
1450
+ "nullable": true
1173
1451
  },
1174
1452
  "subject": {
1175
- "type": "string"
1453
+ "type": "string",
1454
+ "nullable": true
1176
1455
  },
1177
1456
  "to": {
1178
1457
  "type": "array",
1179
1458
  "items": {
1180
1459
  "$ref": "#/components/schemas/to"
1181
- }
1460
+ },
1461
+ "nullable": true
1182
1462
  },
1183
1463
  "from": {
1184
1464
  "type": "array",
1185
1465
  "items": {
1186
1466
  "$ref": "#/components/schemas/from"
1187
- }
1467
+ },
1468
+ "nullable": true
1188
1469
  },
1189
1470
  "cc": {
1190
1471
  "type": "array",
1191
1472
  "items": {
1192
1473
  "type": "object"
1193
- }
1474
+ },
1475
+ "nullable": true
1194
1476
  },
1195
1477
  "attachments": {
1196
1478
  "type": "array",
1197
1479
  "items": {
1198
1480
  "type": "object"
1199
- }
1481
+ },
1482
+ "nullable": true
1200
1483
  },
1201
- "originalAttachmentCount": {
1484
+ "original_attachment_count": {
1202
1485
  "type": "integer",
1203
- "format": "int32"
1486
+ "format": "int32",
1487
+ "nullable": true
1204
1488
  },
1205
- "plainText": {
1206
- "type": "string"
1489
+ "plain_text": {
1490
+ "type": "string",
1491
+ "nullable": true
1207
1492
  },
1208
1493
  "preview": {
1209
- "type": "string"
1494
+ "type": "string",
1495
+ "nullable": true
1210
1496
  },
1211
- "previewPlainText": {
1212
- "type": "string"
1497
+ "preview_plain_text": {
1498
+ "type": "string",
1499
+ "nullable": true
1213
1500
  },
1214
1501
  "headers": {
1215
1502
  "$ref": "#/components/schemas/headers"
1216
1503
  },
1217
- "hasMore": {
1218
- "type": "boolean"
1504
+ "has_more": {
1505
+ "type": "boolean",
1506
+ "nullable": true
1219
1507
  },
1220
- "sentToSelf": {
1221
- "type": "boolean"
1508
+ "sent_to_self": {
1509
+ "type": "boolean",
1510
+ "nullable": true
1222
1511
  },
1223
- "botId": {
1224
- "type": "string"
1512
+ "bot_id": {
1513
+ "type": "string",
1514
+ "nullable": true
1225
1515
  },
1226
- "hasRichPreview": {
1227
- "type": "boolean"
1516
+ "has_rich_preview": {
1517
+ "type": "boolean",
1518
+ "nullable": true
1228
1519
  },
1229
- "fileAccess": {
1230
- "type": "string"
1520
+ "file_access": {
1521
+ "type": "string",
1522
+ "nullable": true
1231
1523
  }
1232
1524
  }
1233
1525
  },
@@ -1255,13 +1547,16 @@
1255
1547
  "type": "object",
1256
1548
  "properties": {
1257
1549
  "address": {
1258
- "type": "string"
1550
+ "type": "string",
1551
+ "nullable": true
1259
1552
  },
1260
1553
  "name": {
1261
- "type": "string"
1554
+ "type": "string",
1555
+ "nullable": true
1262
1556
  },
1263
1557
  "original": {
1264
- "type": "string"
1558
+ "type": "string",
1559
+ "nullable": true
1265
1560
  }
1266
1561
  }
1267
1562
  },
@@ -1269,18 +1564,23 @@
1269
1564
  "type": "object",
1270
1565
  "properties": {
1271
1566
  "date": {
1272
- "type": "string"
1567
+ "type": "string",
1568
+ "nullable": true
1273
1569
  },
1274
- "inReplyTo": {
1275
- "type": "string"
1570
+ "in_reply_to": {
1571
+ "type": "string",
1572
+ "nullable": true
1276
1573
  },
1277
- "replyTo": {
1278
- "type": "object"
1574
+ "reply_to": {
1575
+ "type": "object",
1576
+ "nullable": true
1279
1577
  },
1280
- "messageId": {
1281
- "type": "string"
1578
+ "message_id": {
1579
+ "type": "string",
1580
+ "nullable": true
1282
1581
  }
1283
- }
1582
+ },
1583
+ "nullable": true
1284
1584
  },
1285
1585
  "inputChatMessage": {
1286
1586
  "type": "object",
@@ -1296,26 +1596,17 @@
1296
1596
  }
1297
1597
  }
1298
1598
  },
1299
- "jsonElement": {
1599
+ "integrationHealthResult": {
1300
1600
  "type": "object",
1301
1601
  "properties": {
1302
- "valueKind": {
1303
- "enum": [
1304
- 0,
1305
- 1,
1306
- 2,
1307
- 3,
1308
- 4,
1309
- 5,
1310
- 6,
1311
- 7
1312
- ],
1313
- "type": "integer",
1314
- "format": "int32",
1315
- "default": 0
1602
+ "key": {
1603
+ "type": "string"
1604
+ },
1605
+ "status": {
1606
+ "type": "string"
1316
1607
  },
1317
- "item": {
1318
- "$ref": "#/components/schemas/jsonElement"
1608
+ "message": {
1609
+ "type": "string"
1319
1610
  }
1320
1611
  }
1321
1612
  },
@@ -1323,30 +1614,36 @@
1323
1614
  "type": "object",
1324
1615
  "properties": {
1325
1616
  "type": {
1326
- "type": "string"
1617
+ "type": "string",
1618
+ "nullable": true
1327
1619
  },
1328
1620
  "properties": {
1329
1621
  "type": "object",
1330
1622
  "additionalProperties": {
1331
1623
  "$ref": "#/components/schemas/property"
1332
- }
1624
+ },
1625
+ "nullable": true
1333
1626
  },
1334
1627
  "required": {
1335
1628
  "type": "array",
1336
1629
  "items": {
1337
1630
  "type": "string"
1338
- }
1631
+ },
1632
+ "nullable": true
1339
1633
  }
1340
- }
1634
+ },
1635
+ "nullable": true
1341
1636
  },
1342
1637
  "property": {
1343
1638
  "type": "object",
1344
1639
  "properties": {
1345
1640
  "type": {
1346
- "type": "string"
1641
+ "type": "string",
1642
+ "nullable": true
1347
1643
  },
1348
1644
  "description": {
1349
- "type": "string"
1645
+ "type": "string",
1646
+ "nullable": true
1350
1647
  }
1351
1648
  }
1352
1649
  },
@@ -1365,86 +1662,123 @@
1365
1662
  "type": "object",
1366
1663
  "properties": {
1367
1664
  "id": {
1368
- "type": "string"
1665
+ "type": "string",
1666
+ "nullable": true
1369
1667
  },
1370
- "objectType": {
1371
- "type": "string"
1668
+ "object": {
1669
+ "type": "string",
1670
+ "nullable": true
1372
1671
  },
1373
- "expiresAt": {
1672
+ "expires_at": {
1374
1673
  "type": "integer",
1375
- "format": "int64"
1674
+ "format": "int64",
1675
+ "nullable": true
1376
1676
  },
1377
- "inputAudioNoiseReduction": {
1378
- "type": "object"
1677
+ "input_audio_noise_reduction": {
1678
+ "type": "object",
1679
+ "nullable": true
1379
1680
  },
1380
- "turnDetection": {
1681
+ "turn_detection": {
1381
1682
  "$ref": "#/components/schemas/turnDetection"
1382
1683
  },
1383
- "inputAudioFormat": {
1384
- "type": "string"
1684
+ "input_audio_format": {
1685
+ "type": "string",
1686
+ "nullable": true
1385
1687
  },
1386
- "inputAudioTranscription": {
1387
- "type": "object"
1688
+ "input_audio_transcription": {
1689
+ "type": "object",
1690
+ "nullable": true
1388
1691
  },
1389
- "clientSecret": {
1692
+ "client_secret": {
1390
1693
  "$ref": "#/components/schemas/clientSecret"
1391
1694
  },
1392
- "realtimeUrl": {
1393
- "type": "string"
1695
+ "realtime_url": {
1696
+ "type": "string",
1697
+ "nullable": true
1698
+ },
1699
+ "session_id": {
1700
+ "type": "string",
1701
+ "nullable": true
1394
1702
  },
1395
1703
  "include": {
1396
- "type": "object"
1704
+ "type": "object",
1705
+ "nullable": true
1397
1706
  },
1398
1707
  "model": {
1399
- "type": "string"
1708
+ "type": "string",
1709
+ "nullable": true
1400
1710
  },
1401
1711
  "modalities": {
1402
1712
  "type": "array",
1403
1713
  "items": {
1404
1714
  "type": "string"
1405
- }
1715
+ },
1716
+ "nullable": true
1406
1717
  },
1407
1718
  "instructions": {
1408
- "type": "string"
1719
+ "type": "string",
1720
+ "nullable": true
1409
1721
  },
1410
1722
  "voice": {
1411
- "type": "string"
1723
+ "type": "string",
1724
+ "nullable": true
1412
1725
  },
1413
- "outputAudioFormat": {
1414
- "type": "string"
1726
+ "output_audio_format": {
1727
+ "type": "string",
1728
+ "nullable": true
1415
1729
  },
1416
- "toolChoice": {
1417
- "type": "string"
1730
+ "tool_choice": {
1731
+ "type": "string",
1732
+ "nullable": true
1418
1733
  },
1419
1734
  "temperature": {
1420
1735
  "type": "number",
1421
- "format": "double"
1736
+ "format": "double",
1737
+ "nullable": true
1422
1738
  },
1423
- "maxResponseOutputTokens": {
1424
- "type": "string"
1739
+ "max_response_output_tokens": {
1740
+ "type": "string",
1741
+ "nullable": true
1425
1742
  },
1426
1743
  "tools": {
1427
1744
  "type": "array",
1428
1745
  "items": {
1429
1746
  "$ref": "#/components/schemas/tool"
1430
- }
1747
+ },
1748
+ "nullable": true
1431
1749
  }
1432
1750
  }
1433
1751
  },
1434
- "sanityAzureBlobStorageCredentials": {
1752
+ "realtimeUsageAck": {
1435
1753
  "type": "object",
1436
1754
  "properties": {
1437
- "blobUrl": {
1438
- "type": "string"
1755
+ "accepted": {
1756
+ "type": "boolean",
1757
+ "nullable": true
1758
+ }
1759
+ }
1760
+ },
1761
+ "realtimeUsageReport": {
1762
+ "type": "object",
1763
+ "properties": {
1764
+ "session_id": {
1765
+ "type": "string",
1766
+ "nullable": true
1439
1767
  },
1440
- "sasToken": {
1441
- "type": "string"
1768
+ "input_tokens": {
1769
+ "type": "integer",
1770
+ "format": "int64",
1771
+ "nullable": true
1442
1772
  },
1443
- "additionalProperties": {
1444
- "type": "object",
1445
- "additionalProperties": {
1446
- "$ref": "#/components/schemas/jsonElement"
1447
- }
1773
+ "output_tokens": {
1774
+ "type": "integer",
1775
+ "format": "int64",
1776
+ "nullable": true
1777
+ },
1778
+ "cached_tokens": {
1779
+ "type": "integer",
1780
+ "format": "int64",
1781
+ "nullable": true
1448
1782
  }
1449
1783
  }
1450
1784
  },
@@ -1460,44 +1794,55 @@
1460
1794
  "type": "object",
1461
1795
  "properties": {
1462
1796
  "token": {
1463
- "type": "string"
1797
+ "type": "string",
1798
+ "nullable": true
1464
1799
  },
1465
- "teamId": {
1466
- "type": "string"
1800
+ "team_id": {
1801
+ "type": "string",
1802
+ "nullable": true
1467
1803
  },
1468
- "contextTeamId": {
1469
- "type": "string"
1804
+ "context_team_id": {
1805
+ "type": "string",
1806
+ "nullable": true
1470
1807
  },
1471
- "contextEnterpriseId": {
1472
- "type": "object"
1808
+ "context_enterprise_id": {
1809
+ "type": "object",
1810
+ "nullable": true
1473
1811
  },
1474
- "apiAppId": {
1475
- "type": "string"
1812
+ "api_app_id": {
1813
+ "type": "string",
1814
+ "nullable": true
1476
1815
  },
1477
1816
  "event": {
1478
1817
  "$ref": "#/components/schemas/event"
1479
1818
  },
1480
1819
  "type": {
1481
- "type": "string"
1820
+ "type": "string",
1821
+ "nullable": true
1482
1822
  },
1483
- "eventId": {
1484
- "type": "string"
1823
+ "event_id": {
1824
+ "type": "string",
1825
+ "nullable": true
1485
1826
  },
1486
- "eventTime": {
1827
+ "event_time": {
1487
1828
  "type": "integer",
1488
- "format": "int32"
1829
+ "format": "int32",
1830
+ "nullable": true
1489
1831
  },
1490
1832
  "authorizations": {
1491
1833
  "type": "array",
1492
1834
  "items": {
1493
1835
  "$ref": "#/components/schemas/authorization"
1494
- }
1836
+ },
1837
+ "nullable": true
1495
1838
  },
1496
- "isExtSharedChannel": {
1497
- "type": "boolean"
1839
+ "is_ext_shared_channel": {
1840
+ "type": "boolean",
1841
+ "nullable": true
1498
1842
  },
1499
- "eventContext": {
1500
- "type": "string"
1843
+ "event_context": {
1844
+ "type": "string",
1845
+ "nullable": true
1501
1846
  }
1502
1847
  }
1503
1848
  },
@@ -1505,13 +1850,16 @@
1505
1850
  "type": "object",
1506
1851
  "properties": {
1507
1852
  "address": {
1508
- "type": "string"
1853
+ "type": "string",
1854
+ "nullable": true
1509
1855
  },
1510
1856
  "name": {
1511
- "type": "string"
1857
+ "type": "string",
1858
+ "nullable": true
1512
1859
  },
1513
1860
  "original": {
1514
- "type": "string"
1861
+ "type": "string",
1862
+ "nullable": true
1515
1863
  }
1516
1864
  }
1517
1865
  },
@@ -1519,16 +1867,19 @@
1519
1867
  "type": "object",
1520
1868
  "properties": {
1521
1869
  "name": {
1522
- "type": "string"
1870
+ "type": "string",
1871
+ "nullable": true
1523
1872
  },
1524
1873
  "description": {
1525
- "type": "string"
1874
+ "type": "string",
1875
+ "nullable": true
1526
1876
  },
1527
1877
  "parameters": {
1528
1878
  "$ref": "#/components/schemas/parameters"
1529
1879
  },
1530
1880
  "type": {
1531
- "type": "string"
1881
+ "type": "string",
1882
+ "nullable": true
1532
1883
  }
1533
1884
  }
1534
1885
  },
@@ -1536,27 +1887,34 @@
1536
1887
  "type": "object",
1537
1888
  "properties": {
1538
1889
  "type": {
1539
- "type": "string"
1890
+ "type": "string",
1891
+ "nullable": true
1540
1892
  },
1541
1893
  "threshold": {
1542
1894
  "type": "number",
1543
- "format": "double"
1895
+ "format": "double",
1896
+ "nullable": true
1544
1897
  },
1545
- "prefixPaddingMs": {
1898
+ "prefix_padding_ms": {
1546
1899
  "type": "integer",
1547
- "format": "int32"
1900
+ "format": "int32",
1901
+ "nullable": true
1548
1902
  },
1549
- "silenceDurationMs": {
1903
+ "silence_duration_ms": {
1550
1904
  "type": "integer",
1551
- "format": "int32"
1905
+ "format": "int32",
1906
+ "nullable": true
1552
1907
  },
1553
- "createResponse": {
1554
- "type": "boolean"
1908
+ "create_response": {
1909
+ "type": "boolean",
1910
+ "nullable": true
1555
1911
  },
1556
- "interruptResponse": {
1557
- "type": "boolean"
1912
+ "interrupt_response": {
1913
+ "type": "boolean",
1914
+ "nullable": true
1558
1915
  }
1559
- }
1916
+ },
1917
+ "nullable": true
1560
1918
  }
1561
1919
  },
1562
1920
  "securitySchemes": {
@@ -1564,14 +1922,19 @@
1564
1922
  "type": "oauth2",
1565
1923
  "flows": {
1566
1924
  "implicit": {
1567
- "authorizationUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/authorize",
1568
- "tokenUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
1569
- "refreshUrl": "https://login.microsoftonline.com/81a4f38d-6712-4b65-868b-c3771f9ba91e/oauth2/v2.0/token",
1925
+ "authorizationUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",
1926
+ "tokenUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
1927
+ "refreshUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
1570
1928
  "scopes": {
1571
- "api://7e012b30-4649-4647-9962-4e052444cdff/.default": "Default function scope"
1929
+ "api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default": "Default function scope"
1572
1930
  }
1573
1931
  }
1574
1932
  }
1933
+ },
1934
+ "ApiKey": {
1935
+ "type": "http",
1936
+ "scheme": "bearer",
1937
+ "bearerFormat": "JWT"
1575
1938
  }
1576
1939
  }
1577
1940
  }