@snokam/mcp-api 2.61.0 → 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 +2759 -2107
  19. package/specs/production/blog.json +783 -1504
  20. package/specs/production/broker.json +52 -24
  21. package/specs/production/chatgpt.json +285 -35
  22. package/specs/production/employees.json +2225 -1267
  23. package/specs/production/events.json +475 -755
  24. package/specs/production/notifications.json +329 -15
  25. package/specs/production/office.json +818 -836
  26. package/specs/production/recruitment.json +1889 -1116
  27. package/specs/production/sales.json +2392 -853
  28. package/specs/production/sanity.json +26027 -15014
  29. package/specs/production/sync.json +116 -20
  30. package/specs/production/webshop.json +37 -17
  31. package/specs/test/accounting.json +2869 -2159
  32. package/specs/test/blog.json +774 -1511
  33. package/specs/test/broker.json +54 -25
  34. package/specs/test/chatgpt.json +561 -198
  35. package/specs/test/employees.json +2490 -1479
  36. package/specs/test/events.json +481 -773
  37. package/specs/test/notifications.json +329 -15
  38. package/specs/test/office.json +818 -836
  39. package/specs/test/recruitment.json +1894 -1121
  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://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
251
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
307
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
374
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
434
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
320
435
  ]
436
+ },
437
+ {
438
+ "ApiKey": []
321
439
  }
322
440
  ]
323
441
  }
@@ -631,7 +749,61 @@
631
749
  },
632
750
  "x-ms-summary": "Session started"
633
751
  }
634
- }
752
+ },
753
+ "security": [
754
+ {
755
+ "Implicit": [
756
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
903
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
968
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
1035
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
1100
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default"
1165
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.default"
972
1166
  ]
1167
+ },
1168
+ {
1169
+ "ApiKey": []
973
1170
  }
974
1171
  ]
975
1172
  }
@@ -980,20 +1177,25 @@
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
988
1187
  },
989
- "userId": {
990
- "type": "string"
1188
+ "user_id": {
1189
+ "type": "string",
1190
+ "nullable": true
991
1191
  },
992
- "isBot": {
993
- "type": "boolean"
1192
+ "is_bot": {
1193
+ "type": "boolean",
1194
+ "nullable": true
994
1195
  },
995
- "isEnterpriseInstall": {
996
- "type": "boolean"
1196
+ "is_enterprise_install": {
1197
+ "type": "boolean",
1198
+ "nullable": true
997
1199
  }
998
1200
  }
999
1201
  },
@@ -1009,7 +1211,7 @@
1009
1211
  "additionalProperties": {
1010
1212
  "type": "object",
1011
1213
  "additionalProperties": {
1012
- "$ref": "#/components/schemas/jsonElement"
1214
+ "type": "object"
1013
1215
  }
1014
1216
  }
1015
1217
  }
@@ -1018,13 +1220,16 @@
1018
1220
  "type": "object",
1019
1221
  "properties": {
1020
1222
  "value": {
1021
- "type": "string"
1223
+ "type": "string",
1224
+ "nullable": true
1022
1225
  },
1023
- "expiresAt": {
1226
+ "expires_at": {
1024
1227
  "type": "integer",
1025
- "format": "int64"
1228
+ "format": "int64",
1229
+ "nullable": true
1026
1230
  }
1027
- }
1231
+ },
1232
+ "nullable": true
1028
1233
  },
1029
1234
  "emailContentResponse": {
1030
1235
  "type": "object",
@@ -1073,42 +1278,75 @@
1073
1278
  "type": "object",
1074
1279
  "properties": {
1075
1280
  "type": {
1076
- "type": "string"
1281
+ "type": "string",
1282
+ "nullable": true
1077
1283
  },
1078
1284
  "text": {
1079
- "type": "string"
1285
+ "type": "string",
1286
+ "nullable": true
1080
1287
  },
1081
1288
  "files": {
1082
1289
  "type": "array",
1083
1290
  "items": {
1084
1291
  "$ref": "#/components/schemas/file"
1085
- }
1292
+ },
1293
+ "nullable": true
1086
1294
  },
1087
1295
  "upload": {
1088
- "type": "boolean"
1296
+ "type": "boolean",
1297
+ "nullable": true
1089
1298
  },
1090
1299
  "user": {
1091
- "type": "string"
1300
+ "type": "string",
1301
+ "nullable": true
1092
1302
  },
1093
- "displayAsBot": {
1094
- "type": "boolean"
1303
+ "display_as_bot": {
1304
+ "type": "boolean",
1305
+ "nullable": true
1095
1306
  },
1096
- "botId": {
1097
- "type": "string"
1307
+ "bot_id": {
1308
+ "type": "string",
1309
+ "nullable": true
1098
1310
  },
1099
1311
  "ts": {
1100
- "type": "string"
1312
+ "type": "string",
1313
+ "nullable": true
1101
1314
  },
1102
1315
  "channel": {
1103
- "type": "string"
1316
+ "type": "string",
1317
+ "nullable": true
1104
1318
  },
1105
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": {
1106
1341
  "type": "string"
1107
1342
  },
1108
- "eventTs": {
1343
+ "schemaName": {
1109
1344
  "type": "string"
1110
1345
  },
1111
- "channelType": {
1346
+ "pdfBase64": {
1347
+ "type": "string"
1348
+ },
1349
+ "context": {
1112
1350
  "type": "string"
1113
1351
  }
1114
1352
  }
@@ -1117,134 +1355,171 @@
1117
1355
  "type": "object",
1118
1356
  "properties": {
1119
1357
  "id": {
1120
- "type": "string"
1358
+ "type": "string",
1359
+ "nullable": true
1121
1360
  },
1122
1361
  "created": {
1123
1362
  "type": "integer",
1124
- "format": "int32"
1363
+ "format": "int32",
1364
+ "nullable": true
1125
1365
  },
1126
1366
  "timestamp": {
1127
1367
  "type": "integer",
1128
- "format": "int32"
1368
+ "format": "int32",
1369
+ "nullable": true
1129
1370
  },
1130
1371
  "name": {
1131
- "type": "string"
1372
+ "type": "string",
1373
+ "nullable": true
1132
1374
  },
1133
1375
  "title": {
1134
- "type": "string"
1376
+ "type": "string",
1377
+ "nullable": true
1135
1378
  },
1136
1379
  "mimetype": {
1137
- "type": "string"
1380
+ "type": "string",
1381
+ "nullable": true
1138
1382
  },
1139
1383
  "filetype": {
1140
- "type": "string"
1384
+ "type": "string",
1385
+ "nullable": true
1141
1386
  },
1142
- "prettyType": {
1143
- "type": "string"
1387
+ "pretty_type": {
1388
+ "type": "string",
1389
+ "nullable": true
1144
1390
  },
1145
1391
  "user": {
1146
- "type": "string"
1392
+ "type": "string",
1393
+ "nullable": true
1147
1394
  },
1148
- "userTeam": {
1149
- "type": "string"
1395
+ "user_team": {
1396
+ "type": "string",
1397
+ "nullable": true
1150
1398
  },
1151
1399
  "editable": {
1152
- "type": "boolean"
1400
+ "type": "boolean",
1401
+ "nullable": true
1153
1402
  },
1154
1403
  "size": {
1155
1404
  "type": "integer",
1156
- "format": "int32"
1405
+ "format": "int32",
1406
+ "nullable": true
1157
1407
  },
1158
1408
  "mode": {
1159
- "type": "string"
1409
+ "type": "string",
1410
+ "nullable": true
1160
1411
  },
1161
- "isExternal": {
1162
- "type": "boolean"
1412
+ "is_external": {
1413
+ "type": "boolean",
1414
+ "nullable": true
1163
1415
  },
1164
- "externalType": {
1165
- "type": "string"
1416
+ "external_type": {
1417
+ "type": "string",
1418
+ "nullable": true
1166
1419
  },
1167
- "isPublic": {
1168
- "type": "boolean"
1420
+ "is_public": {
1421
+ "type": "boolean",
1422
+ "nullable": true
1169
1423
  },
1170
- "publicUrlShared": {
1171
- "type": "boolean"
1424
+ "public_url_shared": {
1425
+ "type": "boolean",
1426
+ "nullable": true
1172
1427
  },
1173
- "displayAsBot": {
1174
- "type": "boolean"
1428
+ "display_as_bot": {
1429
+ "type": "boolean",
1430
+ "nullable": true
1175
1431
  },
1176
1432
  "username": {
1177
- "type": "string"
1433
+ "type": "string",
1434
+ "nullable": true
1178
1435
  },
1179
- "urlPrivate": {
1180
- "type": "string"
1436
+ "url_private": {
1437
+ "type": "string",
1438
+ "nullable": true
1181
1439
  },
1182
- "urlPrivateDownload": {
1183
- "type": "string"
1440
+ "url_private_download": {
1441
+ "type": "string",
1442
+ "nullable": true
1184
1443
  },
1185
1444
  "permalink": {
1186
- "type": "string"
1445
+ "type": "string",
1446
+ "nullable": true
1187
1447
  },
1188
- "permalinkPublic": {
1189
- "type": "string"
1448
+ "permalink_public": {
1449
+ "type": "string",
1450
+ "nullable": true
1190
1451
  },
1191
1452
  "subject": {
1192
- "type": "string"
1453
+ "type": "string",
1454
+ "nullable": true
1193
1455
  },
1194
1456
  "to": {
1195
1457
  "type": "array",
1196
1458
  "items": {
1197
1459
  "$ref": "#/components/schemas/to"
1198
- }
1460
+ },
1461
+ "nullable": true
1199
1462
  },
1200
1463
  "from": {
1201
1464
  "type": "array",
1202
1465
  "items": {
1203
1466
  "$ref": "#/components/schemas/from"
1204
- }
1467
+ },
1468
+ "nullable": true
1205
1469
  },
1206
1470
  "cc": {
1207
1471
  "type": "array",
1208
1472
  "items": {
1209
1473
  "type": "object"
1210
- }
1474
+ },
1475
+ "nullable": true
1211
1476
  },
1212
1477
  "attachments": {
1213
1478
  "type": "array",
1214
1479
  "items": {
1215
1480
  "type": "object"
1216
- }
1481
+ },
1482
+ "nullable": true
1217
1483
  },
1218
- "originalAttachmentCount": {
1484
+ "original_attachment_count": {
1219
1485
  "type": "integer",
1220
- "format": "int32"
1486
+ "format": "int32",
1487
+ "nullable": true
1221
1488
  },
1222
- "plainText": {
1223
- "type": "string"
1489
+ "plain_text": {
1490
+ "type": "string",
1491
+ "nullable": true
1224
1492
  },
1225
1493
  "preview": {
1226
- "type": "string"
1494
+ "type": "string",
1495
+ "nullable": true
1227
1496
  },
1228
- "previewPlainText": {
1229
- "type": "string"
1497
+ "preview_plain_text": {
1498
+ "type": "string",
1499
+ "nullable": true
1230
1500
  },
1231
1501
  "headers": {
1232
1502
  "$ref": "#/components/schemas/headers"
1233
1503
  },
1234
- "hasMore": {
1235
- "type": "boolean"
1504
+ "has_more": {
1505
+ "type": "boolean",
1506
+ "nullable": true
1236
1507
  },
1237
- "sentToSelf": {
1238
- "type": "boolean"
1508
+ "sent_to_self": {
1509
+ "type": "boolean",
1510
+ "nullable": true
1239
1511
  },
1240
- "botId": {
1241
- "type": "string"
1512
+ "bot_id": {
1513
+ "type": "string",
1514
+ "nullable": true
1242
1515
  },
1243
- "hasRichPreview": {
1244
- "type": "boolean"
1516
+ "has_rich_preview": {
1517
+ "type": "boolean",
1518
+ "nullable": true
1245
1519
  },
1246
- "fileAccess": {
1247
- "type": "string"
1520
+ "file_access": {
1521
+ "type": "string",
1522
+ "nullable": true
1248
1523
  }
1249
1524
  }
1250
1525
  },
@@ -1272,13 +1547,16 @@
1272
1547
  "type": "object",
1273
1548
  "properties": {
1274
1549
  "address": {
1275
- "type": "string"
1550
+ "type": "string",
1551
+ "nullable": true
1276
1552
  },
1277
1553
  "name": {
1278
- "type": "string"
1554
+ "type": "string",
1555
+ "nullable": true
1279
1556
  },
1280
1557
  "original": {
1281
- "type": "string"
1558
+ "type": "string",
1559
+ "nullable": true
1282
1560
  }
1283
1561
  }
1284
1562
  },
@@ -1286,18 +1564,23 @@
1286
1564
  "type": "object",
1287
1565
  "properties": {
1288
1566
  "date": {
1289
- "type": "string"
1567
+ "type": "string",
1568
+ "nullable": true
1290
1569
  },
1291
- "inReplyTo": {
1292
- "type": "string"
1570
+ "in_reply_to": {
1571
+ "type": "string",
1572
+ "nullable": true
1293
1573
  },
1294
- "replyTo": {
1295
- "type": "object"
1574
+ "reply_to": {
1575
+ "type": "object",
1576
+ "nullable": true
1296
1577
  },
1297
- "messageId": {
1298
- "type": "string"
1578
+ "message_id": {
1579
+ "type": "string",
1580
+ "nullable": true
1299
1581
  }
1300
- }
1582
+ },
1583
+ "nullable": true
1301
1584
  },
1302
1585
  "inputChatMessage": {
1303
1586
  "type": "object",
@@ -1313,26 +1596,17 @@
1313
1596
  }
1314
1597
  }
1315
1598
  },
1316
- "jsonElement": {
1599
+ "integrationHealthResult": {
1317
1600
  "type": "object",
1318
1601
  "properties": {
1319
- "valueKind": {
1320
- "enum": [
1321
- 0,
1322
- 1,
1323
- 2,
1324
- 3,
1325
- 4,
1326
- 5,
1327
- 6,
1328
- 7
1329
- ],
1330
- "type": "integer",
1331
- "format": "int32",
1332
- "default": 0
1602
+ "key": {
1603
+ "type": "string"
1604
+ },
1605
+ "status": {
1606
+ "type": "string"
1333
1607
  },
1334
- "item": {
1335
- "$ref": "#/components/schemas/jsonElement"
1608
+ "message": {
1609
+ "type": "string"
1336
1610
  }
1337
1611
  }
1338
1612
  },
@@ -1340,30 +1614,36 @@
1340
1614
  "type": "object",
1341
1615
  "properties": {
1342
1616
  "type": {
1343
- "type": "string"
1617
+ "type": "string",
1618
+ "nullable": true
1344
1619
  },
1345
1620
  "properties": {
1346
1621
  "type": "object",
1347
1622
  "additionalProperties": {
1348
1623
  "$ref": "#/components/schemas/property"
1349
- }
1624
+ },
1625
+ "nullable": true
1350
1626
  },
1351
1627
  "required": {
1352
1628
  "type": "array",
1353
1629
  "items": {
1354
1630
  "type": "string"
1355
- }
1631
+ },
1632
+ "nullable": true
1356
1633
  }
1357
- }
1634
+ },
1635
+ "nullable": true
1358
1636
  },
1359
1637
  "property": {
1360
1638
  "type": "object",
1361
1639
  "properties": {
1362
1640
  "type": {
1363
- "type": "string"
1641
+ "type": "string",
1642
+ "nullable": true
1364
1643
  },
1365
1644
  "description": {
1366
- "type": "string"
1645
+ "type": "string",
1646
+ "nullable": true
1367
1647
  }
1368
1648
  }
1369
1649
  },
@@ -1382,69 +1662,123 @@
1382
1662
  "type": "object",
1383
1663
  "properties": {
1384
1664
  "id": {
1385
- "type": "string"
1665
+ "type": "string",
1666
+ "nullable": true
1386
1667
  },
1387
- "objectType": {
1388
- "type": "string"
1668
+ "object": {
1669
+ "type": "string",
1670
+ "nullable": true
1389
1671
  },
1390
- "expiresAt": {
1672
+ "expires_at": {
1391
1673
  "type": "integer",
1392
- "format": "int64"
1674
+ "format": "int64",
1675
+ "nullable": true
1393
1676
  },
1394
- "inputAudioNoiseReduction": {
1395
- "type": "object"
1677
+ "input_audio_noise_reduction": {
1678
+ "type": "object",
1679
+ "nullable": true
1396
1680
  },
1397
- "turnDetection": {
1681
+ "turn_detection": {
1398
1682
  "$ref": "#/components/schemas/turnDetection"
1399
1683
  },
1400
- "inputAudioFormat": {
1401
- "type": "string"
1684
+ "input_audio_format": {
1685
+ "type": "string",
1686
+ "nullable": true
1402
1687
  },
1403
- "inputAudioTranscription": {
1404
- "type": "object"
1688
+ "input_audio_transcription": {
1689
+ "type": "object",
1690
+ "nullable": true
1405
1691
  },
1406
- "clientSecret": {
1692
+ "client_secret": {
1407
1693
  "$ref": "#/components/schemas/clientSecret"
1408
1694
  },
1409
- "realtimeUrl": {
1410
- "type": "string"
1695
+ "realtime_url": {
1696
+ "type": "string",
1697
+ "nullable": true
1698
+ },
1699
+ "session_id": {
1700
+ "type": "string",
1701
+ "nullable": true
1411
1702
  },
1412
1703
  "include": {
1413
- "type": "object"
1704
+ "type": "object",
1705
+ "nullable": true
1414
1706
  },
1415
1707
  "model": {
1416
- "type": "string"
1708
+ "type": "string",
1709
+ "nullable": true
1417
1710
  },
1418
1711
  "modalities": {
1419
1712
  "type": "array",
1420
1713
  "items": {
1421
1714
  "type": "string"
1422
- }
1715
+ },
1716
+ "nullable": true
1423
1717
  },
1424
1718
  "instructions": {
1425
- "type": "string"
1719
+ "type": "string",
1720
+ "nullable": true
1426
1721
  },
1427
1722
  "voice": {
1428
- "type": "string"
1723
+ "type": "string",
1724
+ "nullable": true
1429
1725
  },
1430
- "outputAudioFormat": {
1431
- "type": "string"
1726
+ "output_audio_format": {
1727
+ "type": "string",
1728
+ "nullable": true
1432
1729
  },
1433
- "toolChoice": {
1434
- "type": "string"
1730
+ "tool_choice": {
1731
+ "type": "string",
1732
+ "nullable": true
1435
1733
  },
1436
1734
  "temperature": {
1437
1735
  "type": "number",
1438
- "format": "double"
1736
+ "format": "double",
1737
+ "nullable": true
1439
1738
  },
1440
- "maxResponseOutputTokens": {
1441
- "type": "string"
1739
+ "max_response_output_tokens": {
1740
+ "type": "string",
1741
+ "nullable": true
1442
1742
  },
1443
1743
  "tools": {
1444
1744
  "type": "array",
1445
1745
  "items": {
1446
1746
  "$ref": "#/components/schemas/tool"
1447
- }
1747
+ },
1748
+ "nullable": true
1749
+ }
1750
+ }
1751
+ },
1752
+ "realtimeUsageAck": {
1753
+ "type": "object",
1754
+ "properties": {
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
1767
+ },
1768
+ "input_tokens": {
1769
+ "type": "integer",
1770
+ "format": "int64",
1771
+ "nullable": true
1772
+ },
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/a8533784-aa3c-403b-a61a-1533ecc6e3ed/oauth2/v2.0/authorize",
1568
- "tokenUrl": "https://login.microsoftonline.com/a8533784-aa3c-403b-a61a-1533ecc6e3ed/oauth2/v2.0/token",
1569
- "refreshUrl": "https://login.microsoftonline.com/a8533784-aa3c-403b-a61a-1533ecc6e3ed/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://d6cb18a1-4d6c-4d6c-943f-92a97b39e5da/.default": "Default function scope"
1929
+ "api://b2c47b20-df4a-49b5-a7ee-87f3647ab227/.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
  }