@snokam/mcp-api 1.4.0 → 1.5.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 +15 -59
- 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 +7 -312
- package/dist/openapi-loader.d.ts +1 -14
- package/dist/openapi-loader.js +8 -49
- package/dist/state.d.ts +13 -0
- package/dist/state.js +54 -0
- package/dist/tool-schema.d.ts +2 -0
- package/dist/tool-schema.js +42 -0
- package/package.json +6 -6
- package/specs/production/accounting.json +2533 -1937
- package/specs/production/blog.json +1608 -1
- package/specs/production/broker.json +52 -24
- package/specs/production/chatgpt.json +299 -17
- package/specs/production/employees.json +3116 -278
- package/specs/production/events.json +437 -51
- package/specs/production/notifications.json +441 -11
- package/specs/production/office.json +818 -836
- package/specs/production/recruitment.json +3635 -1
- package/specs/production/sales.json +5250 -417
- package/specs/production/sanity.json +28588 -15500
- package/specs/production/sync.json +116 -20
- package/specs/production/webshop.json +38 -18
- package/specs/test/accounting.json +2533 -1937
- package/specs/test/blog.json +1608 -1
- package/specs/test/broker.json +52 -24
- package/specs/test/chatgpt.json +299 -17
- package/specs/test/employees.json +3116 -278
- package/specs/test/events.json +437 -51
- package/specs/test/notifications.json +441 -11
- package/specs/test/office.json +818 -836
- package/specs/test/recruitment.json +3635 -1
- package/specs/test/sales.json +5250 -417
- package/specs/test/sanity.json +28588 -15500
- package/specs/test/sync.json +116 -20
- package/specs/test/webshop.json +38 -18
|
@@ -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": [
|
|
@@ -28,6 +114,15 @@
|
|
|
28
114
|
"type": "string"
|
|
29
115
|
},
|
|
30
116
|
"x-ms-summary": "Technology topic"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "mailbox",
|
|
120
|
+
"in": "query",
|
|
121
|
+
"description": "Override the mailbox the summarizer reads, e.g. fag-feed@snokam.no. Falls back to the environment default.",
|
|
122
|
+
"schema": {
|
|
123
|
+
"type": "string"
|
|
124
|
+
},
|
|
125
|
+
"x-ms-summary": "Shared mailbox to read"
|
|
31
126
|
}
|
|
32
127
|
],
|
|
33
128
|
"responses": {
|
|
@@ -42,7 +137,17 @@
|
|
|
42
137
|
},
|
|
43
138
|
"x-ms-summary": "Success"
|
|
44
139
|
}
|
|
45
|
-
}
|
|
140
|
+
},
|
|
141
|
+
"security": [
|
|
142
|
+
{
|
|
143
|
+
"Implicit": [
|
|
144
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"ApiKey": []
|
|
149
|
+
}
|
|
150
|
+
]
|
|
46
151
|
}
|
|
47
152
|
},
|
|
48
153
|
"/v1.0/newsletter/single-news": {
|
|
@@ -76,7 +181,17 @@
|
|
|
76
181
|
},
|
|
77
182
|
"x-ms-summary": "Success"
|
|
78
183
|
}
|
|
79
|
-
}
|
|
184
|
+
},
|
|
185
|
+
"security": [
|
|
186
|
+
{
|
|
187
|
+
"Implicit": [
|
|
188
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
189
|
+
]
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"ApiKey": []
|
|
193
|
+
}
|
|
194
|
+
]
|
|
80
195
|
}
|
|
81
196
|
},
|
|
82
197
|
"/v1.0/protected/question": {
|
|
@@ -133,8 +248,11 @@
|
|
|
133
248
|
"security": [
|
|
134
249
|
{
|
|
135
250
|
"Implicit": [
|
|
136
|
-
"api://
|
|
251
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
137
252
|
]
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"ApiKey": []
|
|
138
256
|
}
|
|
139
257
|
]
|
|
140
258
|
}
|
|
@@ -186,8 +304,11 @@
|
|
|
186
304
|
"security": [
|
|
187
305
|
{
|
|
188
306
|
"Implicit": [
|
|
189
|
-
"api://
|
|
307
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
190
308
|
]
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"ApiKey": []
|
|
191
312
|
}
|
|
192
313
|
]
|
|
193
314
|
}
|
|
@@ -250,8 +371,11 @@
|
|
|
250
371
|
"security": [
|
|
251
372
|
{
|
|
252
373
|
"Implicit": [
|
|
253
|
-
"api://
|
|
374
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
254
375
|
]
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"ApiKey": []
|
|
255
379
|
}
|
|
256
380
|
]
|
|
257
381
|
}
|
|
@@ -307,8 +431,11 @@
|
|
|
307
431
|
"security": [
|
|
308
432
|
{
|
|
309
433
|
"Implicit": [
|
|
310
|
-
"api://
|
|
434
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
311
435
|
]
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"ApiKey": []
|
|
312
439
|
}
|
|
313
440
|
]
|
|
314
441
|
}
|
|
@@ -622,7 +749,61 @@
|
|
|
622
749
|
},
|
|
623
750
|
"x-ms-summary": "Session started"
|
|
624
751
|
}
|
|
625
|
-
}
|
|
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
|
+
]
|
|
626
807
|
}
|
|
627
808
|
},
|
|
628
809
|
"/v1.0/realtime/agents": {
|
|
@@ -648,7 +829,17 @@
|
|
|
648
829
|
},
|
|
649
830
|
"x-ms-summary": "Contexts listed"
|
|
650
831
|
}
|
|
651
|
-
}
|
|
832
|
+
},
|
|
833
|
+
"security": [
|
|
834
|
+
{
|
|
835
|
+
"Implicit": [
|
|
836
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
837
|
+
]
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"ApiKey": []
|
|
841
|
+
}
|
|
842
|
+
]
|
|
652
843
|
}
|
|
653
844
|
},
|
|
654
845
|
"/followup-email": {
|
|
@@ -709,8 +900,11 @@
|
|
|
709
900
|
"security": [
|
|
710
901
|
{
|
|
711
902
|
"Implicit": [
|
|
712
|
-
"api://
|
|
903
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
713
904
|
]
|
|
905
|
+
},
|
|
906
|
+
{
|
|
907
|
+
"ApiKey": []
|
|
714
908
|
}
|
|
715
909
|
]
|
|
716
910
|
},
|
|
@@ -771,8 +965,11 @@
|
|
|
771
965
|
"security": [
|
|
772
966
|
{
|
|
773
967
|
"Implicit": [
|
|
774
|
-
"api://
|
|
968
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
775
969
|
]
|
|
970
|
+
},
|
|
971
|
+
{
|
|
972
|
+
"ApiKey": []
|
|
776
973
|
}
|
|
777
974
|
]
|
|
778
975
|
}
|
|
@@ -835,8 +1032,11 @@
|
|
|
835
1032
|
"security": [
|
|
836
1033
|
{
|
|
837
1034
|
"Implicit": [
|
|
838
|
-
"api://
|
|
1035
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
839
1036
|
]
|
|
1037
|
+
},
|
|
1038
|
+
{
|
|
1039
|
+
"ApiKey": []
|
|
840
1040
|
}
|
|
841
1041
|
]
|
|
842
1042
|
},
|
|
@@ -897,8 +1097,11 @@
|
|
|
897
1097
|
"security": [
|
|
898
1098
|
{
|
|
899
1099
|
"Implicit": [
|
|
900
|
-
"api://
|
|
1100
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
901
1101
|
]
|
|
1102
|
+
},
|
|
1103
|
+
{
|
|
1104
|
+
"ApiKey": []
|
|
902
1105
|
}
|
|
903
1106
|
]
|
|
904
1107
|
}
|
|
@@ -959,8 +1162,11 @@
|
|
|
959
1162
|
"security": [
|
|
960
1163
|
{
|
|
961
1164
|
"Implicit": [
|
|
962
|
-
"api://
|
|
1165
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default"
|
|
963
1166
|
]
|
|
1167
|
+
},
|
|
1168
|
+
{
|
|
1169
|
+
"ApiKey": []
|
|
964
1170
|
}
|
|
965
1171
|
]
|
|
966
1172
|
}
|
|
@@ -1125,6 +1331,26 @@
|
|
|
1125
1331
|
},
|
|
1126
1332
|
"nullable": true
|
|
1127
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
|
+
},
|
|
1128
1354
|
"file": {
|
|
1129
1355
|
"type": "object",
|
|
1130
1356
|
"properties": {
|
|
@@ -1370,6 +1596,20 @@
|
|
|
1370
1596
|
}
|
|
1371
1597
|
}
|
|
1372
1598
|
},
|
|
1599
|
+
"integrationHealthResult": {
|
|
1600
|
+
"type": "object",
|
|
1601
|
+
"properties": {
|
|
1602
|
+
"key": {
|
|
1603
|
+
"type": "string"
|
|
1604
|
+
},
|
|
1605
|
+
"status": {
|
|
1606
|
+
"type": "string"
|
|
1607
|
+
},
|
|
1608
|
+
"message": {
|
|
1609
|
+
"type": "string"
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
},
|
|
1373
1613
|
"parameters": {
|
|
1374
1614
|
"type": "object",
|
|
1375
1615
|
"properties": {
|
|
@@ -1456,6 +1696,10 @@
|
|
|
1456
1696
|
"type": "string",
|
|
1457
1697
|
"nullable": true
|
|
1458
1698
|
},
|
|
1699
|
+
"session_id": {
|
|
1700
|
+
"type": "string",
|
|
1701
|
+
"nullable": true
|
|
1702
|
+
},
|
|
1459
1703
|
"include": {
|
|
1460
1704
|
"type": "object",
|
|
1461
1705
|
"nullable": true
|
|
@@ -1505,6 +1749,39 @@
|
|
|
1505
1749
|
}
|
|
1506
1750
|
}
|
|
1507
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
|
+
},
|
|
1508
1785
|
"simpleResponseDto": {
|
|
1509
1786
|
"type": "object",
|
|
1510
1787
|
"properties": {
|
|
@@ -1645,14 +1922,19 @@
|
|
|
1645
1922
|
"type": "oauth2",
|
|
1646
1923
|
"flows": {
|
|
1647
1924
|
"implicit": {
|
|
1648
|
-
"authorizationUrl": "https://login.microsoftonline.com/
|
|
1649
|
-
"tokenUrl": "https://login.microsoftonline.com/
|
|
1650
|
-
"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",
|
|
1651
1928
|
"scopes": {
|
|
1652
|
-
"api://
|
|
1929
|
+
"api://bb21a8d0-366b-4a95-aa59-dbbf708322d1/.default": "Default function scope"
|
|
1653
1930
|
}
|
|
1654
1931
|
}
|
|
1655
1932
|
}
|
|
1933
|
+
},
|
|
1934
|
+
"ApiKey": {
|
|
1935
|
+
"type": "http",
|
|
1936
|
+
"scheme": "bearer",
|
|
1937
|
+
"bearerFormat": "JWT"
|
|
1656
1938
|
}
|
|
1657
1939
|
}
|
|
1658
1940
|
}
|