diff --git a/fern/apis/v1/openapi/openapi.json b/fern/apis/v1/openapi/openapi.json index 61c415a..f2a3e22 100644 --- a/fern/apis/v1/openapi/openapi.json +++ b/fern/apis/v1/openapi/openapi.json @@ -8343,6 +8343,7 @@ { "name": "companyId", "in": "path", + "description": "The company ID.", "required": true, "schema": { "type": "string", @@ -8351,6 +8352,7 @@ } ], "requestBody": { + "description": "The file URL and metadata.", "content": { "application/json": { "schema": { @@ -11860,6 +11862,7 @@ { "name": "documentId", "in": "path", + "description": "The document ID.", "required": true, "schema": { "type": "string", @@ -11868,6 +11871,7 @@ } ], "requestBody": { + "description": "The file URL and metadata.", "content": { "application/json": { "schema": { @@ -24104,6 +24108,7 @@ { "name": "projectId", "in": "path", + "description": "The project ID.", "required": true, "schema": { "type": "string", @@ -24112,6 +24117,7 @@ } ], "requestBody": { + "description": "The file URL and metadata.", "content": { "application/json": { "schema": { @@ -32377,6 +32383,7 @@ { "name": "projecttemplateId", "in": "path", + "description": "The projecttemplate ID.", "required": true, "schema": { "type": "string", @@ -32385,6 +32392,7 @@ } ], "requestBody": { + "description": "The file URL and metadata.", "content": { "application/json": { "schema": { @@ -35791,7 +35799,7 @@ "tags": [ "TaskBundles" ], - "summary": "Deletes a task bundle.", + "summary": "Deletes a task bundle and its project template links.", "description": "Deletes a task bundle. The bundle is removed with its task templates.\r\n\r\nThe user must be an admin or have `task-manage-config:write` permissions.", "operationId": "DeleteTaskBundleById", "parameters": [ @@ -40499,6 +40507,7 @@ { "name": "taskId", "in": "path", + "description": "The task ID.", "required": true, "schema": { "type": "string", @@ -40507,6 +40516,7 @@ } ], "requestBody": { + "description": "The file URL and metadata.", "content": { "application/json": { "schema": { @@ -44183,6 +44193,7 @@ { "name": "tasktemplateId", "in": "path", + "description": "The tasktemplate ID.", "required": true, "schema": { "type": "string", @@ -44191,6 +44202,7 @@ } ], "requestBody": { + "description": "The file URL and metadata.", "content": { "application/json": { "schema": { @@ -50122,6 +50134,7 @@ { "name": "userId", "in": "path", + "description": "The user ID.", "required": true, "schema": { "type": "string", @@ -50130,6 +50143,7 @@ } ], "requestBody": { + "description": "The file URL and metadata.", "content": { "application/json": { "schema": { @@ -56053,6 +56067,7 @@ { "name": "workspaceId", "in": "path", + "description": "The workspace ID.", "required": true, "schema": { "type": "string", @@ -56061,6 +56076,7 @@ } ], "requestBody": { + "description": "The file URL and metadata.", "content": { "application/json": { "schema": { @@ -59124,6 +59140,12 @@ "AgentThreadMessageRequestModel": { "type": "object", "properties": { + "presetKey": { + "type": "string", + "description": "The custom-agent preset. Its current settings override the supplied model and reasoning.", + "nullable": true, + "example": "deep" + }, "content": { "type": "string", "description": "The message text. Required when no attachments are supplied.", @@ -59229,6 +59251,12 @@ "format": "uuid", "example": "3d844c62-7410-4df9-a5b2-78805c0ee260" }, + "presetKey": { + "type": "string", + "description": "The live preset selected for this user message.", + "nullable": true, + "example": "deep" + }, "threadId": { "type": "string", "description": "The thread that owns the message.", @@ -61443,6 +61471,12 @@ ], "type": "object", "properties": { + "presetKey": { + "type": "string", + "description": "The custom-agent preset. Its current settings override the supplied model and reasoning.", + "nullable": true, + "example": "deep" + }, "content": { "type": "string", "description": "The message text. Required when no attachments are supplied.", @@ -61915,6 +61949,12 @@ "AiThreadQueuedMessageUpdateRequestModel": { "type": "object", "properties": { + "presetKey": { + "type": "string", + "description": "The custom-agent preset. Its current settings override the supplied model and reasoning.", + "nullable": true, + "example": "deep" + }, "content": { "type": "string", "description": "The message text. Required when no attachments are supplied.", @@ -66656,6 +66696,20 @@ "nullable": true, "example": "mcp_connection" }, + "skillId": { + "type": "string", + "description": "The skill whose secure access form is requested.", + "format": "uuid", + "nullable": true, + "example": "bc93c1a2-13ac-43df-aab1-cbcb51f7a9c9" + }, + "skillAgentId": { + "type": "string", + "description": "The agent granting access to the skill, when needed.", + "format": "uuid", + "nullable": true, + "example": "63ab3e43-531e-449c-8321-509622a5fa0f" + }, "connectorId": { "type": "string", "description": "The connector that requires user action.", @@ -72818,6 +72872,129 @@ }, "additionalProperties": false }, + "DeletedTimeEntries": { + "type": "object", + "properties": { + "items": { + "type": "array", + "items": { + "$ref": "#/components/schemas/DeletedTimeEntry" + }, + "description": "The entries on this page.", + "nullable": true + }, + "totalCount": { + "type": "integer", + "description": "The number of entries matching the filters.", + "format": "int32" + } + }, + "additionalProperties": false, + "description": "A page of deleted time entries for Support recovery." + }, + "DeletedTimeEntry": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The original entry id.", + "format": "uuid", + "example": "123e4567-e89b-12d3-a456-426614174000" + }, + "startDate": { + "type": "string", + "description": "The work date in UTC.", + "format": "date-time" + }, + "isDateOnly": { + "type": "boolean", + "description": "Whether the entry has a date without a time." + }, + "timezone": { + "type": "string", + "description": "The original timezone.", + "nullable": true + }, + "workDate": { + "type": "string", + "description": "The original local calendar date of the recorded work.", + "format": "date-time" + }, + "duration": { + "type": "integer", + "description": "The recorded duration in seconds.", + "format": "int32" + }, + "userId": { + "type": "string", + "description": "The original user id, when retained.", + "format": "uuid", + "nullable": true, + "example": "123e4567-e89b-12d3-a456-426614174000" + }, + "userName": { + "type": "string", + "description": "The user's name, when available.", + "nullable": true + }, + "projectId": { + "type": "string", + "description": "The original project id.", + "format": "uuid", + "nullable": true, + "example": "123e4567-e89b-12d3-a456-426614174000" + }, + "projectName": { + "type": "string", + "description": "The project's name, when available.", + "nullable": true + }, + "taskId": { + "type": "string", + "description": "The original task id.", + "format": "uuid", + "nullable": true, + "example": "123e4567-e89b-12d3-a456-426614174000" + }, + "taskName": { + "type": "string", + "description": "The task's name, when available.", + "nullable": true + }, + "note": { + "type": "string", + "description": "The original note.", + "nullable": true + }, + "isBillable": { + "type": "boolean", + "description": "Whether the entry is billable." + }, + "isBilled": { + "type": "boolean", + "description": "Whether the entry was billed." + }, + "deletedOn": { + "type": "string", + "description": "When the entry was deleted, in UTC.", + "format": "date-time" + }, + "deletedBy": { + "type": "string", + "description": "The user who deleted the entry.", + "format": "uuid", + "nullable": true, + "example": "123e4567-e89b-12d3-a456-426614174000" + }, + "restoreBlockedReason": { + "type": "string", + "description": "Why recovery is blocked, or null when the entry is eligible.", + "nullable": true + } + }, + "additionalProperties": false, + "description": "A deleted time entry shown to Support for recovery." + }, "DemoDataStatus": { "type": "object", "properties": { @@ -79856,6 +80033,39 @@ }, "additionalProperties": false }, + "RestoreTimeEntryForm": { + "required": [ + "reason" + ], + "type": "object", + "properties": { + "reason": { + "maxLength": 1000, + "minLength": 1, + "type": "string", + "description": "The request reason, with the Support operator's identity." + } + }, + "additionalProperties": false, + "description": "The customer request authorizing a Support recovery." + }, + "RestoredTimeEntry": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "The original entry id.", + "format": "uuid", + "example": "123e4567-e89b-12d3-a456-426614174000" + }, + "wasAlreadyActive": { + "type": "boolean", + "description": "Whether the entry was already active when requested." + } + }, + "additionalProperties": false, + "description": "The result of restoring one time entry." + }, "Retainer": { "type": "object", "properties": {