Skip to content

Commit 5be02d0

Browse files
committed
fix(openapi): update AnalyticsController and enum values
Succinctly, this commit fixes the `openapi.json` file by updating the `AnalyticsController` to use a `post` method instead of `get`, and it also updates several enum values to have the correct spelling and casing.
1 parent 29dbc4d commit 5be02d0

File tree

1 file changed

+14
-19
lines changed

1 file changed

+14
-19
lines changed

fern/apis/api/openapi.json

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2946,9 +2946,9 @@
29462946
}
29472947
},
29482948
"/analytics": {
2949-
"get": {
2950-
"operationId": "AnalyticsController_getQuery",
2951-
"summary": "Get Analytics",
2949+
"post": {
2950+
"operationId": "AnalyticsController_query",
2951+
"summary": "Create Analytics Queries",
29522952
"parameters": [],
29532953
"requestBody": {
29542954
"required": true,
@@ -2973,6 +2973,9 @@
29732973
}
29742974
}
29752975
}
2976+
},
2977+
"201": {
2978+
"description": ""
29762979
}
29772980
},
29782981
"tags": [
@@ -13070,7 +13073,7 @@
1307013073
"type": "string",
1307113074
"description": "This is the explanation for how the call ended.",
1307213075
"enum": [
13073-
"assistant-not-invalid",
13076+
"assistant-not-valid",
1307413077
"assistant-not-provided",
1307513078
"call-start-error-neither-assistant-nor-server-set",
1307613079
"assistant-request-failed",
@@ -13081,6 +13084,7 @@
1308113084
"assistant-request-returned-forwarding-phone-number",
1308213085
"assistant-ended-call",
1308313086
"assistant-said-end-call-phrase",
13087+
"assistant-ended-call-with-hangup-task",
1308413088
"assistant-forwarded-call",
1308513089
"assistant-join-timed-out",
1308613090
"customer-busy",
@@ -19456,7 +19460,8 @@
1945619460
"method": {
1945719461
"type": "string",
1945819462
"enum": [
19459-
"POST"
19463+
"POST",
19464+
"GET"
1946019465
]
1946119466
},
1946219467
"url": {
@@ -19502,18 +19507,6 @@
1950219507
}
1950319508
]
1950419509
},
19505-
"startTaskMessage": {
19506-
"type": "string"
19507-
},
19508-
"waitTaskMessage": {
19509-
"type": "string"
19510-
},
19511-
"successTaskMessage": {
19512-
"type": "string"
19513-
},
19514-
"failureTaskMessage": {
19515-
"type": "string"
19516-
},
1951719510
"name": {
1951819511
"type": "string",
1951919512
"maxLength": 80
@@ -24634,7 +24627,7 @@
2463424627
"type": "string",
2463524628
"description": "This is the reason the call ended. This can also be found at `call.endedReason` on GET /call/:id.",
2463624629
"enum": [
24637-
"assistant-not-invalid",
24630+
"assistant-not-valid",
2463824631
"assistant-not-provided",
2463924632
"call-start-error-neither-assistant-nor-server-set",
2464024633
"assistant-request-failed",
@@ -24645,6 +24638,7 @@
2464524638
"assistant-request-returned-forwarding-phone-number",
2464624639
"assistant-ended-call",
2464724640
"assistant-said-end-call-phrase",
24641+
"assistant-ended-call-with-hangup-task",
2464824642
"assistant-forwarded-call",
2464924643
"assistant-join-timed-out",
2465024644
"customer-busy",
@@ -25429,7 +25423,7 @@
2542925423
"type": "string",
2543025424
"description": "This is the reason the call ended. This is only sent if the status is \"ended\".",
2543125425
"enum": [
25432-
"assistant-not-invalid",
25426+
"assistant-not-valid",
2543325427
"assistant-not-provided",
2543425428
"call-start-error-neither-assistant-nor-server-set",
2543525429
"assistant-request-failed",
@@ -25440,6 +25434,7 @@
2544025434
"assistant-request-returned-forwarding-phone-number",
2544125435
"assistant-ended-call",
2544225436
"assistant-said-end-call-phrase",
25437+
"assistant-ended-call-with-hangup-task",
2544325438
"assistant-forwarded-call",
2544425439
"assistant-join-timed-out",
2544525440
"customer-busy",

0 commit comments

Comments
 (0)