@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.
- package/dist/auth.d.ts +0 -15
- package/dist/auth.js +17 -61
- package/dist/builtin-tools.d.ts +109 -0
- package/dist/builtin-tools.js +200 -0
- package/dist/execute-call.d.ts +5 -0
- package/dist/execute-call.js +45 -0
- package/dist/index.d.ts +0 -7
- package/dist/index.js +16 -311
- package/dist/openapi-loader.d.ts +1 -14
- package/dist/openapi-loader.js +27 -50
- package/dist/requirements.d.ts +10 -0
- package/dist/requirements.js +92 -0
- package/dist/state.d.ts +14 -0
- package/dist/state.js +66 -0
- package/dist/tool-schema.d.ts +2 -0
- package/dist/tool-schema.js +42 -0
- package/package.json +8 -3
- package/specs/production/accounting.json +2759 -2107
- package/specs/production/blog.json +783 -1504
- package/specs/production/broker.json +52 -24
- package/specs/production/chatgpt.json +285 -35
- package/specs/production/employees.json +2225 -1267
- package/specs/production/events.json +475 -755
- package/specs/production/notifications.json +329 -15
- package/specs/production/office.json +818 -836
- package/specs/production/recruitment.json +1889 -1116
- package/specs/production/sales.json +2392 -853
- package/specs/production/sanity.json +26027 -15014
- package/specs/production/sync.json +116 -20
- package/specs/production/webshop.json +37 -17
- package/specs/test/accounting.json +2869 -2159
- package/specs/test/blog.json +774 -1511
- package/specs/test/broker.json +54 -25
- package/specs/test/chatgpt.json +561 -198
- package/specs/test/employees.json +2490 -1479
- package/specs/test/events.json +481 -773
- package/specs/test/notifications.json +329 -15
- package/specs/test/office.json +818 -836
- package/specs/test/recruitment.json +1894 -1121
- package/specs/test/sales.json +2909 -1172
- package/specs/test/sanity.json +47384 -16348
- package/specs/test/sync.json +116 -20
- package/specs/test/webshop.json +37 -17
|
@@ -11,13 +11,36 @@
|
|
|
11
11
|
}
|
|
12
12
|
],
|
|
13
13
|
"paths": {
|
|
14
|
+
"/v1.0/pubsub/tv/uri": {
|
|
15
|
+
"get": {
|
|
16
|
+
"tags": [
|
|
17
|
+
"WebPubSub"
|
|
18
|
+
],
|
|
19
|
+
"summary": "Gets a Web PubSub token",
|
|
20
|
+
"description": "Generates a Web PubSub token for joining and leaving the 'tv' group.",
|
|
21
|
+
"operationId": "GetPubsubToken",
|
|
22
|
+
"responses": {
|
|
23
|
+
"200": {
|
|
24
|
+
"description": "Web PubSub token generated",
|
|
25
|
+
"content": {
|
|
26
|
+
"application/json": {
|
|
27
|
+
"schema": {
|
|
28
|
+
"$ref": "#/components/schemas/pubSubToken"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"x-ms-summary": "Success"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
14
37
|
"/v1.0/sanity-webhook-to-azure": {
|
|
15
38
|
"post": {
|
|
16
39
|
"tags": [
|
|
17
40
|
"Sanity"
|
|
18
41
|
],
|
|
19
42
|
"summary": "Handles Sanity webhook events",
|
|
20
|
-
"description": "
|
|
43
|
+
"description": "Forwards Sanity webhook events to Azure Web PubSub and Service Bus.",
|
|
21
44
|
"operationId": "SanityWebhookToAzure",
|
|
22
45
|
"requestBody": {
|
|
23
46
|
"description": "The Sanity webhook payload",
|
|
@@ -35,30 +58,15 @@
|
|
|
35
58
|
"description": "Event processed successfully",
|
|
36
59
|
"x-ms-summary": "Success"
|
|
37
60
|
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
],
|
|
46
|
-
"summary": "Gets a Web PubSub token",
|
|
47
|
-
"description": "Generates a Web PubSub token for joining and leaving the 'tv' group.",
|
|
48
|
-
"operationId": "GetPubsubToken",
|
|
49
|
-
"responses": {
|
|
50
|
-
"200": {
|
|
51
|
-
"description": "Web PubSub token generated",
|
|
52
|
-
"content": {
|
|
53
|
-
"application/json": {
|
|
54
|
-
"schema": {
|
|
55
|
-
"$ref": "#/components/schemas/pubSubToken"
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"x-ms-summary": "Success"
|
|
61
|
+
},
|
|
62
|
+
"security": [
|
|
63
|
+
{
|
|
64
|
+
"Implicit": []
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"ApiKey": []
|
|
60
68
|
}
|
|
61
|
-
|
|
69
|
+
]
|
|
62
70
|
}
|
|
63
71
|
}
|
|
64
72
|
},
|
|
@@ -104,6 +112,26 @@
|
|
|
104
112
|
}
|
|
105
113
|
}
|
|
106
114
|
}
|
|
115
|
+
},
|
|
116
|
+
"securitySchemes": {
|
|
117
|
+
"Implicit": {
|
|
118
|
+
"type": "oauth2",
|
|
119
|
+
"flows": {
|
|
120
|
+
"implicit": {
|
|
121
|
+
"authorizationUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/authorize",
|
|
122
|
+
"tokenUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
|
|
123
|
+
"refreshUrl": "https://login.microsoftonline.com/organizations/oauth2/v2.0/token",
|
|
124
|
+
"scopes": {
|
|
125
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default": "Default function scope"
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"ApiKey": {
|
|
131
|
+
"type": "http",
|
|
132
|
+
"scheme": "bearer",
|
|
133
|
+
"bearerFormat": "JWT"
|
|
134
|
+
}
|
|
107
135
|
}
|
|
108
136
|
}
|
|
109
137
|
}
|
|
@@ -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://
|
|
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://
|
|
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://
|
|
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://
|
|
434
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.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://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://
|
|
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://
|
|
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://
|
|
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://
|
|
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://
|
|
1165
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
972
1166
|
]
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"ApiKey": []
|
|
973
1170
|
}
|
|
974
1171
|
]
|
|
975
1172
|
}
|
|
@@ -1014,7 +1211,7 @@
|
|
|
1014
1211
|
"additionalProperties": {
|
|
1015
1212
|
"type": "object",
|
|
1016
1213
|
"additionalProperties": {
|
|
1017
|
-
"
|
|
1214
|
+
"type": "object"
|
|
1018
1215
|
}
|
|
1019
1216
|
}
|
|
1020
1217
|
}
|
|
@@ -1134,6 +1331,26 @@
|
|
|
1134
1331
|
},
|
|
1135
1332
|
"nullable": true
|
|
1136
1333
|
},
|
|
1334
|
+
"extractStructuredRequest": {
|
|
1335
|
+
"type": "object",
|
|
1336
|
+
"properties": {
|
|
1337
|
+
"instruction": {
|
|
1338
|
+
"type": "string"
|
|
1339
|
+
},
|
|
1340
|
+
"schema": {
|
|
1341
|
+
"type": "string"
|
|
1342
|
+
},
|
|
1343
|
+
"schemaName": {
|
|
1344
|
+
"type": "string"
|
|
1345
|
+
},
|
|
1346
|
+
"pdfBase64": {
|
|
1347
|
+
"type": "string"
|
|
1348
|
+
},
|
|
1349
|
+
"context": {
|
|
1350
|
+
"type": "string"
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
},
|
|
1137
1354
|
"file": {
|
|
1138
1355
|
"type": "object",
|
|
1139
1356
|
"properties": {
|
|
@@ -1379,26 +1596,17 @@
|
|
|
1379
1596
|
}
|
|
1380
1597
|
}
|
|
1381
1598
|
},
|
|
1382
|
-
"
|
|
1599
|
+
"integrationHealthResult": {
|
|
1383
1600
|
"type": "object",
|
|
1384
1601
|
"properties": {
|
|
1385
|
-
"
|
|
1386
|
-
"
|
|
1387
|
-
0,
|
|
1388
|
-
1,
|
|
1389
|
-
2,
|
|
1390
|
-
3,
|
|
1391
|
-
4,
|
|
1392
|
-
5,
|
|
1393
|
-
6,
|
|
1394
|
-
7
|
|
1395
|
-
],
|
|
1396
|
-
"type": "integer",
|
|
1397
|
-
"format": "int32",
|
|
1398
|
-
"default": 0
|
|
1602
|
+
"key": {
|
|
1603
|
+
"type": "string"
|
|
1399
1604
|
},
|
|
1400
|
-
"
|
|
1401
|
-
"
|
|
1605
|
+
"status": {
|
|
1606
|
+
"type": "string"
|
|
1607
|
+
},
|
|
1608
|
+
"message": {
|
|
1609
|
+
"type": "string"
|
|
1402
1610
|
}
|
|
1403
1611
|
}
|
|
1404
1612
|
},
|
|
@@ -1488,6 +1696,10 @@
|
|
|
1488
1696
|
"type": "string",
|
|
1489
1697
|
"nullable": true
|
|
1490
1698
|
},
|
|
1699
|
+
"session_id": {
|
|
1700
|
+
"type": "string",
|
|
1701
|
+
"nullable": true
|
|
1702
|
+
},
|
|
1491
1703
|
"include": {
|
|
1492
1704
|
"type": "object",
|
|
1493
1705
|
"nullable": true
|
|
@@ -1537,6 +1749,39 @@
|
|
|
1537
1749
|
}
|
|
1538
1750
|
}
|
|
1539
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
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
},
|
|
1540
1785
|
"simpleResponseDto": {
|
|
1541
1786
|
"type": "object",
|
|
1542
1787
|
"properties": {
|
|
@@ -1677,14 +1922,19 @@
|
|
|
1677
1922
|
"type": "oauth2",
|
|
1678
1923
|
"flows": {
|
|
1679
1924
|
"implicit": {
|
|
1680
|
-
"authorizationUrl": "https://login.microsoftonline.com/
|
|
1681
|
-
"tokenUrl": "https://login.microsoftonline.com/
|
|
1682
|
-
"refreshUrl": "https://login.microsoftonline.com/
|
|
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",
|
|
1683
1928
|
"scopes": {
|
|
1684
|
-
"api://
|
|
1929
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default": "Default function scope"
|
|
1685
1930
|
}
|
|
1686
1931
|
}
|
|
1687
1932
|
}
|
|
1933
|
+
},
|
|
1934
|
+
"ApiKey": {
|
|
1935
|
+
"type": "http",
|
|
1936
|
+
"scheme": "bearer",
|
|
1937
|
+
"bearerFormat": "JWT"
|
|
1688
1938
|
}
|
|
1689
1939
|
}
|
|
1690
1940
|
}
|