|
1104 | 1104 | ] |
1105 | 1105 | } |
1106 | 1106 | }, |
1107 | | - "/discord/install": { |
1108 | | - "post": { |
1109 | | - "tags": [ |
1110 | | - "Discord" |
1111 | | - ], |
1112 | | - "summary": "Create Discord Integration", |
1113 | | - "operationId": "create_discord_integration", |
1114 | | - "parameters": [ |
1115 | | - { |
1116 | | - "name": "domain", |
1117 | | - "in": "query", |
1118 | | - "required": true, |
1119 | | - "schema": { |
1120 | | - "type": "string", |
1121 | | - "title": "Domain" |
1122 | | - } |
1123 | | - } |
1124 | | - ], |
1125 | | - "responses": { |
1126 | | - "200": { |
1127 | | - "description": "Successful Response", |
1128 | | - "content": { |
1129 | | - "application/json": { |
1130 | | - "schema": { |
1131 | | - "$ref": "#/components/schemas/DiscordIntegrationResponse" |
1132 | | - } |
1133 | | - } |
1134 | | - } |
1135 | | - }, |
1136 | | - "422": { |
1137 | | - "description": "Validation Error", |
1138 | | - "content": { |
1139 | | - "application/json": { |
1140 | | - "schema": { |
1141 | | - "$ref": "#/components/schemas/HTTPValidationError" |
1142 | | - } |
1143 | | - } |
1144 | | - } |
1145 | | - } |
1146 | | - }, |
1147 | | - "x-fern-audiences": [ |
1148 | | - "customers" |
1149 | | - ], |
1150 | | - "security": [ |
1151 | | - { |
1152 | | - "bearerAuth": [] |
1153 | | - } |
1154 | | - ] |
1155 | | - } |
1156 | | - }, |
1157 | | - "/discord/install/callback": { |
1158 | | - "get": { |
1159 | | - "tags": [ |
1160 | | - "Discord" |
1161 | | - ], |
1162 | | - "summary": "Handle Discord Install Callback", |
1163 | | - "operationId": "handle_discord_install_callback", |
1164 | | - "responses": { |
1165 | | - "200": { |
1166 | | - "description": "Successful Response", |
1167 | | - "content": { |
1168 | | - "application/json": { |
1169 | | - "schema": {} |
1170 | | - } |
1171 | | - } |
1172 | | - } |
1173 | | - }, |
1174 | | - "x-fern-audiences": [ |
1175 | | - "internal" |
1176 | | - ] |
1177 | | - } |
1178 | | - }, |
1179 | 1107 | "/document/{domain}/create": { |
1180 | 1108 | "post": { |
1181 | 1109 | "tags": [ |
|
3169 | 3097 | ] |
3170 | 3098 | } |
3171 | 3099 | }, |
3172 | | - "/settings/ask-ai/discord": { |
3173 | | - "get": { |
3174 | | - "tags": [ |
3175 | | - "Settings" |
3176 | | - ], |
3177 | | - "summary": "Get Discord Settings", |
3178 | | - "description": "Get settings for a domain and organization.", |
3179 | | - "operationId": "get_discord_settings", |
3180 | | - "parameters": [ |
3181 | | - { |
3182 | | - "name": "domain", |
3183 | | - "in": "query", |
3184 | | - "required": true, |
3185 | | - "schema": { |
3186 | | - "type": "string", |
3187 | | - "title": "Domain" |
3188 | | - } |
3189 | | - } |
3190 | | - ], |
3191 | | - "responses": { |
3192 | | - "200": { |
3193 | | - "description": "Successful Response", |
3194 | | - "content": { |
3195 | | - "application/json": { |
3196 | | - "schema": { |
3197 | | - "$ref": "#/components/schemas/GetSettingsResponse" |
3198 | | - } |
3199 | | - } |
3200 | | - } |
3201 | | - }, |
3202 | | - "422": { |
3203 | | - "description": "Validation Error", |
3204 | | - "content": { |
3205 | | - "application/json": { |
3206 | | - "schema": { |
3207 | | - "$ref": "#/components/schemas/HTTPValidationError" |
3208 | | - } |
3209 | | - } |
3210 | | - } |
3211 | | - } |
3212 | | - }, |
3213 | | - "x-fern-audiences": [ |
3214 | | - "internal" |
3215 | | - ] |
3216 | | - } |
3217 | | - }, |
3218 | 3100 | "/settings/ask-ai/enable": { |
3219 | 3101 | "post": { |
3220 | 3102 | "tags": [ |
|
3266 | 3148 | "Settings" |
3267 | 3149 | ], |
3268 | 3150 | "summary": "Toggle Ask Ai", |
3269 | | - "description": "Toggle Ask AI setting and return job_id for tracking.\n\nArgs:\n domain: Domain to toggle Ask AI for\n org_name: Organization name\n preview: Whether this is a preview deployment\n locations: Optional list of locations to enable. Valid values: docs, slack, discord", |
| 3151 | + "description": "Toggle Ask AI setting and return job_id for tracking.\n\nArgs:\n domain: Domain to toggle Ask AI for\n org_name: Organization name\n preview: Whether this is a preview deployment\n locations: Optional list of locations to enable. Valid values: docs, slack", |
3270 | 3152 | "operationId": "toggle_ask_ai", |
3271 | 3153 | "parameters": [ |
3272 | 3154 | { |
|
3308 | 3190 | "items": { |
3309 | 3191 | "enum": [ |
3310 | 3192 | "docs", |
3311 | | - "slack", |
3312 | | - "discord" |
| 3193 | + "slack" |
3313 | 3194 | ], |
3314 | 3195 | "type": "string" |
3315 | 3196 | } |
|
5480 | 5361 | ], |
5481 | 5362 | "title": "DeleteWebsiteResponse" |
5482 | 5363 | }, |
5483 | | - "DiscordIntegrationResponse": { |
5484 | | - "properties": { |
5485 | | - "integration_url": { |
5486 | | - "type": "string", |
5487 | | - "title": "Integration Url" |
5488 | | - } |
5489 | | - }, |
5490 | | - "type": "object", |
5491 | | - "required": [ |
5492 | | - "integration_url" |
5493 | | - ], |
5494 | | - "title": "DiscordIntegrationResponse" |
5495 | | - }, |
5496 | 5364 | "Document": { |
5497 | 5365 | "properties": { |
5498 | 5366 | "document_id": { |
|
5623 | 5491 | }, |
5624 | 5492 | "type": "array", |
5625 | 5493 | "title": "Locations", |
5626 | | - "description": "List of locations to enable (docs, slack, discord)" |
| 5494 | + "description": "List of locations to enable (docs, slack)" |
5627 | 5495 | }, |
5628 | 5496 | "preview": { |
5629 | 5497 | "type": "boolean", |
|
5996 | 5864 | "ask_ai_enabled": { |
5997 | 5865 | "type": "boolean", |
5998 | 5866 | "title": "Ask Ai Enabled", |
5999 | | - "description": "Whether Ask AI is enabled (requires one of docs, slack, or discord to be enabled as well as the content to be indexed)" |
| 5867 | + "description": "Whether Ask AI is enabled (requires one of docs or slack to be enabled as well as the content to be indexed)" |
6000 | 5868 | }, |
6001 | 5869 | "job_id": { |
6002 | 5870 | "anyOf": [ |
|
6034 | 5902 | "title": "Slack Enabled", |
6035 | 5903 | "description": "Whether Ask AI is enabled for slack" |
6036 | 5904 | }, |
6037 | | - "discord_enabled": { |
6038 | | - "anyOf": [ |
6039 | | - { |
6040 | | - "type": "boolean" |
6041 | | - }, |
6042 | | - { |
6043 | | - "type": "null" |
6044 | | - } |
6045 | | - ], |
6046 | | - "title": "Discord Enabled", |
6047 | | - "description": "Whether Ask AI is enabled for discord" |
6048 | | - }, |
6049 | 5905 | "decompose_queries": { |
6050 | 5906 | "anyOf": [ |
6051 | 5907 | { |
|
0 commit comments