From 46d3f5792757c9d3bfdcdaacd19d7d2d8d6462a0 Mon Sep 17 00:00:00 2001 From: sahil485 <46851548+sahil485@users.noreply.github.com> Date: Thu, 2 Oct 2025 00:09:25 +0000 Subject: [PATCH] update fern definition --- fern/apis/fai/openapi.json | 436 ++++++++++++++++++------------------- 1 file changed, 218 insertions(+), 218 deletions(-) diff --git a/fern/apis/fai/openapi.json b/fern/apis/fai/openapi.json index b98b0cb18..5e78cbba1 100644 --- a/fern/apis/fai/openapi.json +++ b/fern/apis/fai/openapi.json @@ -431,223 +431,6 @@ ] } }, - "/settings/ask-ai": { - "get": { - "tags": [ - "Settings" - ], - "summary": "Get Settings", - "description": "Get settings for a domain and organization.", - "operationId": "get_settings", - "parameters": [ - { - "name": "domain", - "in": "query", - "required": true, - "schema": { - "type": "string", - "title": "Domain" - } - } - ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/GetSettingsResponse" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } - } - }, - "x-fern-audiences": [ - "internal" - ] - } - }, - "/settings/ask-ai/toggle": { - "post": { - "tags": [ - "Settings" - ], - "summary": "Toggle Ask Ai", - "description": "Toggle Ask AI setting and return job_id for tracking.", - "operationId": "toggle_ask_ai", - "parameters": [ - { - "name": "domain", - "in": "query", - "required": true, - "schema": { - "type": "string", - "title": "Domain" - } - }, - { - "name": "org_name", - "in": "query", - "required": true, - "schema": { - "type": "string", - "title": "Org Name" - } - } - ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ToggleAskAiResponse" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } - } - }, - "x-fern-audiences": [ - "internal" - ], - "security": [ - { - "bearerAuth": [] - } - ] - } - }, - "/settings/ask-ai/reindex": { - "post": { - "tags": [ - "Settings" - ], - "summary": "Reindex Ask Ai", - "description": "Manually trigger reindex for an already enabled Ask AI setup.", - "operationId": "reindex_ask_ai", - "parameters": [ - { - "name": "domain", - "in": "query", - "required": true, - "schema": { - "type": "string", - "title": "Domain" - } - }, - { - "name": "org_name", - "in": "query", - "required": true, - "schema": { - "type": "string", - "title": "Org Name" - } - } - ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ToggleAskAiResponse" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } - } - }, - "x-fern-audiences": [ - "internal" - ], - "security": [ - { - "bearerAuth": [] - } - ] - } - }, - "/settings/ask-ai/toggle/status": { - "get": { - "tags": [ - "Settings" - ], - "summary": "Get Toggle Status", - "description": "Get the status of Ask AI toggle operation.", - "operationId": "get_toggle_status", - "parameters": [ - { - "name": "domain", - "in": "query", - "required": true, - "schema": { - "type": "string", - "title": "Domain" - } - } - ], - "responses": { - "200": { - "description": "Successful Response", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/ToggleStatusResponse" - } - } - } - }, - "422": { - "description": "Validation Error", - "content": { - "application/json": { - "schema": { - "$ref": "#/components/schemas/HTTPValidationError" - } - } - } - } - }, - "x-fern-audiences": [ - "internal" - ], - "security": [ - { - "bearerAuth": [] - } - ] - } - }, "/discord/install": { "post": { "tags": [ @@ -689,7 +472,7 @@ } }, "x-fern-audiences": [ - "customer" + "customers" ], "security": [ { @@ -2312,6 +2095,223 @@ ] } }, + "/settings/ask-ai": { + "get": { + "tags": [ + "Settings" + ], + "summary": "Get Settings", + "description": "Get settings for a domain and organization.", + "operationId": "get_settings", + "parameters": [ + { + "name": "domain", + "in": "query", + "required": true, + "schema": { + "type": "string", + "title": "Domain" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/GetSettingsResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + }, + "x-fern-audiences": [ + "internal" + ] + } + }, + "/settings/ask-ai/toggle": { + "post": { + "tags": [ + "Settings" + ], + "summary": "Toggle Ask Ai", + "description": "Toggle Ask AI setting and return job_id for tracking.", + "operationId": "toggle_ask_ai", + "parameters": [ + { + "name": "domain", + "in": "query", + "required": true, + "schema": { + "type": "string", + "title": "Domain" + } + }, + { + "name": "org_name", + "in": "query", + "required": true, + "schema": { + "type": "string", + "title": "Org Name" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ToggleAskAiResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + }, + "x-fern-audiences": [ + "internal" + ], + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "/settings/ask-ai/reindex": { + "post": { + "tags": [ + "Settings" + ], + "summary": "Reindex Ask Ai", + "description": "Manually trigger reindex for an already enabled Ask AI setup.", + "operationId": "reindex_ask_ai", + "parameters": [ + { + "name": "domain", + "in": "query", + "required": true, + "schema": { + "type": "string", + "title": "Domain" + } + }, + { + "name": "org_name", + "in": "query", + "required": true, + "schema": { + "type": "string", + "title": "Org Name" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ToggleAskAiResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + }, + "x-fern-audiences": [ + "internal" + ], + "security": [ + { + "bearerAuth": [] + } + ] + } + }, + "/settings/ask-ai/toggle/status": { + "get": { + "tags": [ + "Settings" + ], + "summary": "Get Toggle Status", + "description": "Get the status of Ask AI toggle operation.", + "operationId": "get_toggle_status", + "parameters": [ + { + "name": "domain", + "in": "query", + "required": true, + "schema": { + "type": "string", + "title": "Domain" + } + } + ], + "responses": { + "200": { + "description": "Successful Response", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ToggleStatusResponse" + } + } + } + }, + "422": { + "description": "Validation Error", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/HTTPValidationError" + } + } + } + } + }, + "x-fern-audiences": [ + "internal" + ], + "security": [ + { + "bearerAuth": [] + } + ] + } + }, "/slack/integrations": { "post": { "tags": [