Skip to content

VoiceStudio is the open-source, fully-local ElevenLabs alternative — voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages.

chore(mobile): regenerate the OpenAPI contract for the account and cloud-sync routes

velixio4a6856d53f9b
diff --git a/mobile/contract/openapi.json b/mobile/contract/openapi.json
index c1dda4363..8b268878e 100644
--- a/mobile/contract/openapi.json
+++ b/mobile/contract/openapi.json
@@ -165,6 +165,23 @@
"title": "ArgosPackRequest",
"type": "object"
},
+ "AttestationBody": {
+ "properties": {
+ "basis": {
+ "enum": [
+ "own_voice",
+ "speaker_permission"
+ ],
+ "title": "Basis",
+ "type": "string"
+ }
+ },
+ "required": [
+ "basis"
+ ],
+ "title": "AttestationBody",
+ "type": "object"
+ },
"AudiobookPlanRequest": {
"properties": {
"default_voice": {
@@ -1681,6 +1698,31 @@
"title": "Body_upload_voice_clip_gallery_upload_post",
"type": "object"
},
+ "ChoicesBody": {
+ "properties": {
+ "choices": {
+ "additionalProperties": {
+ "type": "boolean"
+ },
+ "title": "Choices",
+ "type": "object"
+ },
+ "new_device": {
+ "default": false,
+ "title": "New Device",
+ "type": "boolean"
+ },
+ "remove_from_cloud": {
+ "items": {
+ "type": "string"
+ },
+ "title": "Remove From Cloud",
+ "type": "array"
+ }
+ },
+ "title": "ChoicesBody",
+ "type": "object"
+ },
"CleanupSegmentsRequest": {
"description": "The editor's current segments; without them the job's stored copy is\ncleaned, which misses every edit made since transcription.",
"properties": {
@@ -2510,6 +2552,33 @@
"title": "InstallModelRequest",
"type": "object"
},
+ "LocalValue": {
+ "properties": {
+ "key": {
+ "title": "Key",
+ "type": "string"
+ },
+ "seen_seq": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "title": "Seen Seq"
+ },
+ "value": {
+ "title": "Value"
+ }
+ },
+ "required": [
+ "key"
+ ],
+ "title": "LocalValue",
+ "type": "object"
+ },
"LongformChapter": {
"properties": {
"spans": {
@@ -5887,6 +5956,456 @@
]
}
},
+ "/api/cloud-sync/choices": {
+ "put": {
+ "operationId": "set_choices_api_cloud_sync_choices_put",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ChoicesBody"
+ }
+ }
+ },
+ "required": true
+ },
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "additionalProperties": true,
+ "title": "Response Set Choices Api Cloud Sync Choices Put",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Successful Response"
+ },
+ "422": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ },
+ "description": "Validation Error"
+ }
+ },
+ "summary": "Set Choices",
+ "tags": [
+ "cloud-sync"
+ ]
+ }
+ },
+ "/api/cloud-sync/confirm-deletes": {
+ "post": {
+ "operationId": "confirm_deletes_api_cloud_sync_confirm_deletes_post",
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "additionalProperties": true,
+ "title": "Response Confirm Deletes Api Cloud Sync Confirm Deletes Post",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Successful Response"
+ }
+ },
+ "summary": "Confirm Deletes",
+ "tags": [
+ "cloud-sync"
+ ]
+ }
+ },
+ "/api/cloud-sync/devices": {
+ "get": {
+ "operationId": "devices_api_cloud_sync_devices_get",
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "additionalProperties": true,
+ "title": "Response Devices Api Cloud Sync Devices Get",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Successful Response"
+ }
+ },
+ "summary": "Devices",
+ "tags": [
+ "cloud-sync"
+ ]
+ }
+ },
+ "/api/cloud-sync/devices/{device_id}/revoke": {
+ "post": {
+ "operationId": "revoke_api_cloud_sync_devices__device_id__revoke_post",
+ "parameters": [
+ {
+ "in": "path",
+ "name": "device_id",
+ "required": true,
+ "schema": {
+ "pattern": "^[A-Za-z0-9]{16}$",
+ "title": "Device Id",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "additionalProperties": true,
+ "title": "Response Revoke Api Cloud Sync Devices Device Id Revoke Post",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Successful Response"
+ },
+ "422": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ },
+ "description": "Validation Error"
+ }
+ },
+ "summary": "Revoke",
+ "tags": [
+ "cloud-sync"
+ ]
+ }
+ },
+ "/api/cloud-sync/local": {
+ "get": {
+ "operationId": "pulled_local_api_cloud_sync_local_get",
+ "parameters": [
+ {
+ "in": "query",
+ "name": "since",
+ "required": false,
+ "schema": {
+ "default": 0,
+ "minimum": 0,
+ "title": "Since",
+ "type": "integer"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "additionalProperties": true,
+ "title": "Response Pulled Local Api Cloud Sync Local Get",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Successful Response"
+ },
+ "422": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ },
+ "description": "Validation Error"
+ }
+ },
+ "summary": "Pulled Local",
+ "tags": [
+ "cloud-sync"
+ ]
+ },
+ "put": {
+ "operationId": "put_local_api_cloud_sync_local_put",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/LocalValue"
+ }
+ }
+ },
+ "required": true
+ },
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "additionalProperties": true,
+ "title": "Response Put Local Api Cloud Sync Local Put",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Successful Response"
+ },
+ "422": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ },
+ "description": "Validation Error"
+ }
+ },
+ "summary": "Put Local",
+ "tags": [
+ "cloud-sync"
+ ]
+ }
+ },
+ "/api/cloud-sync/local/keys": {
+ "get": {
+ "operationId": "local_keys_api_cloud_sync_local_keys_get",
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "additionalProperties": true,
+ "title": "Response Local Keys Api Cloud Sync Local Keys Get",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Successful Response"
+ }
+ },
+ "summary": "Local Keys",
+ "tags": [
+ "cloud-sync"
+ ]
+ }
+ },
+ "/api/cloud-sync/off": {
+ "post": {
+ "operationId": "turn_off_api_cloud_sync_off_post",
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "additionalProperties": true,
+ "title": "Response Turn Off Api Cloud Sync Off Post",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Successful Response"
+ }
+ },
+ "summary": "Turn Off",
+ "tags": [
+ "cloud-sync"
+ ]
+ }
+ },
+ "/api/cloud-sync/on": {
+ "post": {
+ "operationId": "turn_on_api_cloud_sync_on_post",
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ChoicesBody"
+ }
+ }
+ },
+ "required": true
+ },
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "additionalProperties": true,
+ "title": "Response Turn On Api Cloud Sync On Post",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Successful Response"
+ },
+ "422": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ },
+ "description": "Validation Error"
+ }
+ },
+ "summary": "Turn On",
+ "tags": [
+ "cloud-sync"
+ ]
+ }
+ },
+ "/api/cloud-sync/run": {
+ "post": {
+ "description": "Window focus or \"Sync now\": also starts sync if it could not start earlier.",
+ "operationId": "run_now_api_cloud_sync_run_post",
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "additionalProperties": true,
+ "title": "Response Run Now Api Cloud Sync Run Post",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Successful Response"
+ }
+ },
+ "summary": "Run Now",
+ "tags": [
+ "cloud-sync"
+ ]
+ }
+ },
+ "/api/cloud-sync/start": {
+ "post": {
+ "description": "Main: sync was switched on (or the app started signed in).",
+ "operationId": "start_api_cloud_sync_start_post",
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "additionalProperties": true,
+ "title": "Response Start Api Cloud Sync Start Post",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Successful Response"
+ }
+ },
+ "summary": "Start",
+ "tags": [
+ "cloud-sync"
+ ]
+ }
+ },
+ "/api/cloud-sync/status": {
+ "get": {
+ "operationId": "status_api_cloud_sync_status_get",
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "additionalProperties": true,
+ "title": "Response Status Api Cloud Sync Status Get",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Successful Response"
+ }
+ },
+ "summary": "Status",
+ "tags": [
+ "cloud-sync"
+ ]
+ }
+ },
+ "/api/cloud-sync/stop": {
+ "post": {
+ "description": "Main: sync or account features were switched off. Stops everything now.",
+ "operationId": "stop_api_cloud_sync_stop_post",
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "additionalProperties": true,
+ "title": "Response Stop Api Cloud Sync Stop Post",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Successful Response"
+ }
+ },
+ "summary": "Stop",
+ "tags": [
+ "cloud-sync"
+ ]
+ }
+ },
+ "/api/cloud-sync/use-choices-of/{device_id}": {
+ "post": {
+ "operationId": "use_choices_of_api_cloud_sync_use_choices_of__device_id__post",
+ "parameters": [
+ {
+ "in": "path",
+ "name": "device_id",
+ "required": true,
+ "schema": {
+ "pattern": "^[A-Za-z0-9]{16}$",
+ "title": "Device Id",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "additionalProperties": true,
+ "title": "Response Use Choices Of Api Cloud Sync Use Choices Of Device Id Post",
+ "type": "object"
+ }
+ }
+ },
+ "description": "Successful Response"
+ },
+ "422": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ },
+ "description": "Validation Error"
+ }
+ },
+ "summary": "Use Choices Of",
+ "tags": [
+ "cloud-sync"
+ ]
+ }
+ },
"/api/integrations/twilio/config": {
"put": {
"operationId": "put_config_api_integrations_twilio_config_put",
@@ -15616,6 +16135,89 @@
"summary": "Update Profile"
}
},
+ "/profiles/{profile_id}/attestation": {
+ "delete": {
+ "operationId": "clear_attestation_profiles__profile_id__attestation_delete",
+ "parameters": [
+ {
+ "in": "path",
+ "name": "profile_id",
+ "required": true,
+ "schema": {
+ "title": "Profile Id",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {}
+ }
+ },
+ "description": "Successful Response"
+ },
+ "422": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ },
+ "description": "Validation Error"
+ }
+ },
+ "summary": "Clear Attestation"
+ },
+ "post": {
+ "description": "Record \"This is my voice\" / \"I have the speaker's permission\" (sync consent, S2).",
+ "operationId": "attest_consent_profiles__profile_id__attestation_post",
+ "parameters": [
+ {
+ "in": "path",
+ "name": "profile_id",
+ "required": true,
+ "schema": {
+ "title": "Profile Id",
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AttestationBody"
+ }
+ }
+ },
+ "required": true
+ },
+ "responses": {
+ "200": {
+ "content": {
+ "application/json": {
+ "schema": {}
+ }
+ },
+ "description": "Successful Response"
+ },
+ "422": {
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/HTTPValidationError"
+ }
+ }
+ },
+ "description": "Validation Error"
+ }
+ },
+ "summary": "Attest Consent"
+ }
+ },
"/profiles/{profile_id}/audio": {
"get": {
"operationId": "get_profile_audio_profiles__profile_id__audio_get",