diff --git a/fern/apis/fai/openapi.json b/fern/apis/fai/openapi.json index 8fd4afb4..8000e4b4 100644 --- a/fern/apis/fai/openapi.json +++ b/fern/apis/fai/openapi.json @@ -429,8 +429,8 @@ "tags": [ "Code" ], - "summary": "Create Code", - "operationId": "create_code", + "summary": "Create Code Record", + "operationId": "create_code_record", "parameters": [ { "name": "domain", @@ -447,7 +447,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/CreateCodeRequest" + "$ref": "#/components/schemas/CreateCodeRecordRequest" } } } @@ -460,9 +460,9 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/CreateCodeResponse" + "$ref": "#/components/schemas/CreateCodeRecordResponse" }, - "title": "Response Create Code Code Domain Create Post" + "title": "Response Create Code Record Code Domain Create Post" } } } @@ -493,8 +493,8 @@ "tags": [ "Code" ], - "summary": "Batch Create Code", - "operationId": "batch_create_code", + "summary": "Batch Create Code Records", + "operationId": "batch_create_code_records", "parameters": [ { "name": "domain", @@ -513,7 +513,7 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/CreateCodeRequest" + "$ref": "#/components/schemas/CreateCodeRecordRequest" }, "title": "Body" } @@ -528,9 +528,9 @@ "schema": { "type": "array", "items": { - "$ref": "#/components/schemas/CreateCodeResponse" + "$ref": "#/components/schemas/CreateCodeRecordResponse" }, - "title": "Response Batch Create Code Code Domain Batch Create Post" + "title": "Response Batch Create Code Records Code Domain Batch Create Post" } } } @@ -561,8 +561,8 @@ "tags": [ "Code" ], - "summary": "Get Code By Id", - "operationId": "get_code_by_id", + "summary": "Get Code Record By Id", + "operationId": "get_code_record_by_id", "parameters": [ { "name": "domain", @@ -589,7 +589,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetCodeResponse" + "$ref": "#/components/schemas/GetCodeRecordResponse" } } } @@ -620,8 +620,8 @@ "tags": [ "Code" ], - "summary": "Get Code", - "operationId": "get_code", + "summary": "Get Code Records", + "operationId": "get_code_records", "parameters": [ { "name": "domain", @@ -675,7 +675,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/GetCodeEntriesResponse" + "$ref": "#/components/schemas/GetCodeRecordsResponse" } } } @@ -706,8 +706,8 @@ "tags": [ "Code" ], - "summary": "Delete Code By Id", - "operationId": "delete_code_by_id", + "summary": "Delete Code Record By Id", + "operationId": "delete_code_record_by_id", "parameters": [ { "name": "domain", @@ -724,7 +724,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteCodeRequest" + "$ref": "#/components/schemas/DeleteCodeRecordRequest" } } } @@ -735,7 +735,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteCodeResponse" + "$ref": "#/components/schemas/DeleteCodeRecordResponse" } } } @@ -766,8 +766,8 @@ "tags": [ "Code" ], - "summary": "Delete All Code", - "operationId": "delete_all_code", + "summary": "Delete All Code Records", + "operationId": "delete_all_code_records", "parameters": [ { "name": "domain", @@ -785,7 +785,7 @@ "content": { "application/json": { "schema": { - "$ref": "#/components/schemas/DeleteCodeResponse" + "$ref": "#/components/schemas/DeleteCodeRecordResponse" } } } @@ -4436,7 +4436,7 @@ ], "title": "ConversationTurnFeedback" }, - "CreateCodeRequest": { + "CreateCodeRecordRequest": { "properties": { "document": { "type": "string", @@ -4535,9 +4535,9 @@ "required": [ "document" ], - "title": "CreateCodeRequest" + "title": "CreateCodeRecordRequest" }, - "CreateCodeResponse": { + "CreateCodeRecordResponse": { "properties": { "code_id": { "type": "string", @@ -4549,7 +4549,7 @@ "required": [ "code_id" ], - "title": "CreateCodeResponse" + "title": "CreateCodeRecordResponse" }, "CreateDocumentRequest": { "properties": { @@ -4841,7 +4841,7 @@ ], "title": "DeleteAllWebsitesResponse" }, - "DeleteCodeRequest": { + "DeleteCodeRecordRequest": { "properties": { "code_id": { "type": "string", @@ -4853,9 +4853,9 @@ "required": [ "code_id" ], - "title": "DeleteCodeRequest" + "title": "DeleteCodeRecordRequest" }, - "DeleteCodeResponse": { + "DeleteCodeRecordResponse": { "properties": { "success": { "type": "boolean", @@ -4867,7 +4867,7 @@ "required": [ "success" ], - "title": "DeleteCodeResponse" + "title": "DeleteCodeRecordResponse" }, "DeleteDocumentRequest": { "properties": { @@ -5267,7 +5267,20 @@ ], "title": "Feedback" }, - "GetCodeEntriesResponse": { + "GetCodeRecordResponse": { + "properties": { + "document": { + "$ref": "#/components/schemas/Code", + "description": "The requested code" + } + }, + "type": "object", + "required": [ + "document" + ], + "title": "GetCodeRecordResponse" + }, + "GetCodeRecordsResponse": { "properties": { "documents": { "items": { @@ -5287,20 +5300,7 @@ "documents", "pagination" ], - "title": "GetCodeEntriesResponse" - }, - "GetCodeResponse": { - "properties": { - "document": { - "$ref": "#/components/schemas/Code", - "description": "The requested code" - } - }, - "type": "object", - "required": [ - "document" - ], - "title": "GetCodeResponse" + "title": "GetCodeRecordsResponse" }, "GetConversationResolutionResponse": { "properties": {