diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 506f7b0..19df4af 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 8c3ff122-1fb8-439c-8680-989f956dfd8d management: - docChecksum: a4f46cb330dd59f1f60caa6eaccdbd3b + docChecksum: 06b2e4a6063e34ec19fd4a96f12beb28 docVersion: 1.0.0 - speakeasyVersion: 1.399.0 - generationVersion: 2.415.8 - releaseVersion: 0.3.0 - configChecksum: e2a3f034034c8b68bbb6d9b34363d9f6 + speakeasyVersion: 1.405.6 + generationVersion: 2.428.1 + releaseVersion: 0.3.1 + configChecksum: 950418a7d9dff647ab97b631578cd378 repoURL: https://github.com/livepeer/livepeer-python.git installationURL: https://github.com/livepeer/livepeer-python.git published: true @@ -14,8 +14,8 @@ features: python: additionalDependencies: 1.0.0 additionalProperties: 1.0.1 - constsAndDefaults: 1.0.2 - core: 5.5.3 + constsAndDefaults: 1.0.3 + core: 5.5.7 defaultEnabledRetries: 0.2.0 deprecations: 3.0.0 enumUnions: 0.1.0 @@ -30,7 +30,7 @@ features: multipartFileContentType: 1.0.0 nameOverrides: 3.0.0 nullables: 1.0.0 - responseFormat: 1.0.0 + responseFormat: 1.0.1 retries: 3.0.2 sdkHooks: 1.0.0 unions: 3.0.2 @@ -82,7 +82,9 @@ generatedFiles: - docs/models/components/domain.md - docs/models/components/dvrplayback.md - docs/models/components/encoder.md + - docs/models/components/encryption.md - docs/models/components/encryptionoutput.md + - docs/models/components/error.md - docs/models/components/events.md - docs/models/components/export.md - docs/models/components/exportdata.md @@ -122,6 +124,7 @@ generatedFiles: - docs/models/components/mp4.md - docs/models/components/multistream.md - docs/models/components/multistreamtarget.md + - docs/models/components/multistreamtargetinput.md - docs/models/components/multistreamtargetpatchpayload.md - docs/models/components/name.md - docs/models/components/newassetfromurlpayload.md @@ -188,6 +191,9 @@ generatedFiles: - docs/models/components/streampull.md - docs/models/components/streamrecordingspec.md - docs/models/components/streamusertags.md + - docs/models/components/studioapierror.md + - docs/models/components/studioapierror5.md + - docs/models/components/target.md - docs/models/components/targetaddpayload.md - docs/models/components/targetaddpayloadspec.md - docs/models/components/targetoutput.md @@ -230,6 +236,7 @@ generatedFiles: - docs/models/components/videospec.md - docs/models/components/viewershipmetric.md - docs/models/components/webhook.md + - docs/models/components/webhookinput.md - docs/models/components/webhooklog.md - docs/models/errors/error.md - docs/models/errors/genaudiototextgenerateresponse422responsebody.md @@ -258,8 +265,39 @@ generatedFiles: - docs/models/errors/genupscalegenerateresponseresponsebody.md - docs/models/errors/genupscaleresponsebody.md - docs/models/errors/httperror.md + - docs/models/errors/httperror1.md + - docs/models/errors/httperror10.md + - docs/models/errors/httperror11.md + - docs/models/errors/httperror12.md + - docs/models/errors/httperror13.md + - docs/models/errors/httperror14.md + - docs/models/errors/httperror2.md + - docs/models/errors/httperror3.md + - docs/models/errors/httperror4.md + - docs/models/errors/httperror5.md + - docs/models/errors/httperror6.md + - docs/models/errors/httperror7.md + - docs/models/errors/httperror8.md + - docs/models/errors/httperror9.md - docs/models/errors/httpvalidationerror.md - docs/models/errors/studioapierror.md + - docs/models/errors/studioapierror1.md + - docs/models/errors/studioapierror10.md + - docs/models/errors/studioapierror11.md + - docs/models/errors/studioapierror12.md + - docs/models/errors/studioapierror13.md + - docs/models/errors/studioapierror14.md + - docs/models/errors/studioapierror15.md + - docs/models/errors/studioapierror16.md + - docs/models/errors/studioapierror17.md + - docs/models/errors/studioapierror2.md + - docs/models/errors/studioapierror3.md + - docs/models/errors/studioapierror4.md + - docs/models/errors/studioapierror5.md + - docs/models/errors/studioapierror6.md + - docs/models/errors/studioapierror7.md + - docs/models/errors/studioapierror8.md + - docs/models/errors/studioapierror9.md - docs/models/operations/addmultistreamtargetrequest.md - docs/models/operations/addmultistreamtargetresponse.md - docs/models/operations/breakdownby.md @@ -387,6 +425,7 @@ generatedFiles: - docs/models/operations/uploadassetdataoutput.md - docs/models/operations/uploadassetresponse.md - docs/models/operations/uploadassettask.md + - docs/models/studioapierror.md - docs/models/utils/retryconfig.md - docs/sdks/accesscontrol/README.md - docs/sdks/asset/README.md @@ -418,6 +457,7 @@ generatedFiles: - src/livepeer/generate.py - src/livepeer/httpclient.py - src/livepeer/metrics.py + - src/livepeer/models/__init__.py - src/livepeer/models/components/__init__.py - src/livepeer/models/components/apierror.py - src/livepeer/models/components/asset.py @@ -434,6 +474,7 @@ generatedFiles: - src/livepeer/models/components/creator_id.py - src/livepeer/models/components/encryption.py - src/livepeer/models/components/encryption_output.py + - src/livepeer/models/components/error.py - src/livepeer/models/components/export_task_params.py - src/livepeer/models/components/ffmpeg_profile.py - src/livepeer/models/components/get_room_user_response.py @@ -469,6 +510,8 @@ generatedFiles: - src/livepeer/models/components/storage_status.py - src/livepeer/models/components/stream.py - src/livepeer/models/components/stream_patch_payload.py + - src/livepeer/models/components/studio_api_error.py + - src/livepeer/models/components/studio_api_error5.py - src/livepeer/models/components/target.py - src/livepeer/models/components/target_add_payload.py - src/livepeer/models/components/target_output.py @@ -493,9 +536,40 @@ generatedFiles: - src/livepeer/models/errors/gentexttoimage.py - src/livepeer/models/errors/genupscale.py - src/livepeer/models/errors/httperror.py + - src/livepeer/models/errors/httperror1.py + - src/livepeer/models/errors/httperror10.py + - src/livepeer/models/errors/httperror11.py + - src/livepeer/models/errors/httperror12.py + - src/livepeer/models/errors/httperror13.py + - src/livepeer/models/errors/httperror14.py + - src/livepeer/models/errors/httperror2.py + - src/livepeer/models/errors/httperror3.py + - src/livepeer/models/errors/httperror4.py + - src/livepeer/models/errors/httperror5.py + - src/livepeer/models/errors/httperror6.py + - src/livepeer/models/errors/httperror7.py + - src/livepeer/models/errors/httperror8.py + - src/livepeer/models/errors/httperror9.py - src/livepeer/models/errors/httpvalidationerror.py - src/livepeer/models/errors/sdkerror.py - src/livepeer/models/errors/studio_api_error.py + - src/livepeer/models/errors/studio_api_error1.py + - src/livepeer/models/errors/studio_api_error10.py + - src/livepeer/models/errors/studio_api_error11.py + - src/livepeer/models/errors/studio_api_error12.py + - src/livepeer/models/errors/studio_api_error13.py + - src/livepeer/models/errors/studio_api_error14.py + - src/livepeer/models/errors/studio_api_error15.py + - src/livepeer/models/errors/studio_api_error16.py + - src/livepeer/models/errors/studio_api_error17.py + - src/livepeer/models/errors/studio_api_error2.py + - src/livepeer/models/errors/studio_api_error3.py + - src/livepeer/models/errors/studio_api_error4.py + - src/livepeer/models/errors/studio_api_error5.py + - src/livepeer/models/errors/studio_api_error6.py + - src/livepeer/models/errors/studio_api_error7.py + - src/livepeer/models/errors/studio_api_error8.py + - src/livepeer/models/errors/studio_api_error9.py - src/livepeer/models/operations/__init__.py - src/livepeer/models/operations/addmultistreamtarget.py - src/livepeer/models/operations/createclip.py @@ -560,6 +634,7 @@ generatedFiles: - src/livepeer/models/operations/updatestream.py - src/livepeer/models/operations/updatewebhook.py - src/livepeer/models/operations/uploadasset.py + - src/livepeer/models/studio_api_error.py - src/livepeer/multistream.py - src/livepeer/playback.py - src/livepeer/py.typed @@ -592,10 +667,10 @@ examples: createStream: speakeasy-default-create-stream: requestBody: - application/json: {"name": "test_stream", "pull": {"source": "https://myservice.com/live/stream.flv", "headers": {"Authorization": "Bearer 123"}, "location": {"lat": 39.739, "lon": -104.988}}, "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "profiles": [], "record": false, "recordingSpec": {"profiles": []}, "multistream": {"targets": [{"profile": "720p", "videoOnly": false, "id": "PUSH123", "spec": {"name": "My target", "url": "rtmps://live.my-service.tv/channel/secretKey"}}]}} + application/json: {"name": "test_stream", "pull": {"source": "https://myservice.com/live/stream.flv", "headers": {"Authorization": "Bearer 123"}, "location": {"lat": 39.739, "lon": -104.988}}, "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "profiles": [], "record": false, "recordingSpec": {"profiles": []}, "multistream": {"targets": [{"profile": "720p0", "videoOnly": false, "id": "PUSH123", "spec": {"name": "My target", "url": "rtmps://live.my-service.tv/channel/secretKey"}}]}} responses: "201": - application/json: {"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "name": "test_stream", "creatorId": {"type": "unverified", "value": "user123"}, "lastSeen": 1587667174725, "sourceSegments": 1, "transcodedSegments": 2, "sourceSegmentsDuration": 1, "transcodedSegmentsDuration": 2, "sourceBytes": 1, "transcodedBytes": 2, "ingestRate": 1, "outgoingRate": 2, "isActive": true, "createdByTokenName": "abc-123-xyz-456", "createdAt": 1587667174725, "parentId": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "streamKey": "hgebdhhigq", "pull": {"source": "https://myservice.com/live/stream.flv", "headers": {"Authorization": "Bearer 123"}, "location": {"lat": 39.739, "lon": -104.988}}, "playbackId": "eaw4nk06ts2d0mzb", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "profiles": [], "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "record": false, "recordingSpec": {"profiles": []}, "multistream": {"targets": [{"profile": "720p", "videoOnly": false, "id": "PUSH123"}]}, "lastTerminatedAt": 1713281212993} + application/json: {"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "name": "test_stream", "creatorId": {"type": "unverified", "value": "user123"}, "lastSeen": 1587667174725, "sourceSegments": 1, "transcodedSegments": 2, "sourceSegmentsDuration": 1, "transcodedSegmentsDuration": 2, "sourceBytes": 1, "transcodedBytes": 2, "ingestRate": 1, "outgoingRate": 2, "isActive": true, "createdByTokenName": "abc-123-xyz-456", "createdAt": 1587667174725, "parentId": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "streamKey": "hgebdhhigq", "pull": {"source": "https://myservice.com/live/stream.flv", "headers": {"Authorization": "Bearer 123"}, "location": {"lat": 39.739, "lon": -104.988}}, "playbackId": "eaw4nk06ts2d0mzb", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "profiles": [], "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "record": false, "recordingSpec": {"profiles": []}, "multistream": {"targets": [{"profile": "720p0", "videoOnly": false, "id": "PUSH123"}]}, "lastTerminatedAt": 1713281212993} default: application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} getStreams: @@ -612,7 +687,7 @@ examples: id: "" responses: "200": - application/json: {"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "name": "test_stream", "creatorId": {"type": "unverified", "value": "user123"}, "lastSeen": 1587667174725, "sourceSegments": 1, "transcodedSegments": 2, "sourceSegmentsDuration": 1, "transcodedSegmentsDuration": 2, "sourceBytes": 1, "transcodedBytes": 2, "ingestRate": 1, "outgoingRate": 2, "isActive": true, "createdByTokenName": "abc-123-xyz-456", "createdAt": 1587667174725, "parentId": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "streamKey": "hgebdhhigq", "pull": {"source": "https://myservice.com/live/stream.flv", "headers": {"Authorization": "Bearer 123"}, "location": {"lat": 39.739, "lon": -104.988}}, "playbackId": "eaw4nk06ts2d0mzb", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "profiles": [], "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "record": false, "recordingSpec": {"profiles": []}, "multistream": {"targets": [{"profile": "720p", "videoOnly": false, "id": "PUSH123"}]}, "lastTerminatedAt": 1713281212993} + application/json: {"id": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "name": "test_stream", "creatorId": {"type": "unverified", "value": "user123"}, "lastSeen": 1587667174725, "sourceSegments": 1, "transcodedSegments": 2, "sourceSegmentsDuration": 1, "transcodedSegmentsDuration": 2, "sourceBytes": 1, "transcodedBytes": 2, "ingestRate": 1, "outgoingRate": 2, "isActive": true, "createdByTokenName": "abc-123-xyz-456", "createdAt": 1587667174725, "parentId": "de7818e7-610a-4057-8f6f-b785dc1e6f88", "streamKey": "hgebdhhigq", "pull": {"source": "https://myservice.com/live/stream.flv", "headers": {"Authorization": "Bearer 123"}, "location": {"lat": 39.739, "lon": -104.988}}, "playbackId": "eaw4nk06ts2d0mzb", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "profiles": [], "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "record": false, "recordingSpec": {"profiles": []}, "multistream": {"targets": [{"profile": "720p0", "videoOnly": false, "id": "PUSH123"}]}, "lastTerminatedAt": 1713281212993} default: application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} updateStream: @@ -621,7 +696,7 @@ examples: path: id: "" requestBody: - application/json: {"record": false, "multistream": {"targets": [{"profile": "720p", "videoOnly": false, "id": "PUSH123", "spec": {"name": "My target", "url": "rtmps://live.my-service.tv/channel/secretKey"}}]}, "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "profiles": [], "recordingSpec": {"profiles": []}} + application/json: {"record": false, "multistream": {"targets": [{"profile": "720p0", "videoOnly": false, "id": "PUSH123", "spec": {"name": "My target", "url": "rtmps://live.my-service.tv/channel/secretKey"}}]}, "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "profiles": [], "recordingSpec": {"profiles": []}} responses: default: application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} @@ -655,7 +730,7 @@ examples: application/json: {"playbackId": "eaw4nk06ts2d0mzb", "startTime": 1587667174725, "endTime": 1587667174725, "name": "My Clip", "sessionId": "de7818e7-610a-4057-8f6f-b785dc1e6f88"} responses: "200": - application/json: {"asset": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "directUpload"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "failed", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "task": {"id": "34d7618e-fd42-4798-acf5-19504616a11e"}} + application/json: {"asset": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video/download.mp4", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "directUpload"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "failed", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "task": {"id": "34d7618e-fd42-4798-acf5-19504616a11e"}} default: application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} getClips: @@ -824,7 +899,7 @@ examples: application/json: {"name": "filename.mp4", "staticMp4": true, "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "profiles": []} responses: "200": - application/json: {"url": "https://origin.livepeer.com/api/asset/upload/direct?token=eyJhbGciOiJIUzI1NiJ9.eyJtc2ciOiJoZWxsbyBoYWNrZXIsIHRoZXJlJ3Mgbm90aGluZyBmb3IgeW91IGhlcmUg8J-YhiJ9.1YDjmXsqLcgNyMSzT4kXl_kIni46_EuGX_xfqmC7e0Q", "tusEndpoint": "https://origin.livepeer.com/api/asset/upload/tus?token=eyJhbGciOiJIUzI1NiJ9.eyJtc2ciOiJoZWxsbyBoYWNrZXIsIHRoZXJlJ3Mgbm90aGluZyBmb3IgeW91IGhlcmUg8J-YhiJ9.1YDjmXsqLcgNyMSzT4kXl_kIni46_EuGX_xfqmC7e0Q", "asset": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "recording", "sessionId": ""}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "ready", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "task": {"id": "34d7618e-fd42-4798-acf5-19504616a11e"}} + application/json: {"url": "https://origin.livepeer.com/api/asset/upload/direct?token=eyJhbGciOiJIUzI1NiJ9.eyJtc2ciOiJoZWxsbyBoYWNrZXIsIHRoZXJlJ3Mgbm90aGluZyBmb3IgeW91IGhlcmUg8J-YhiJ9.1YDjmXsqLcgNyMSzT4kXl_kIni46_EuGX_xfqmC7e0Q", "tusEndpoint": "https://origin.livepeer.com/api/asset/upload/tus?token=eyJhbGciOiJIUzI1NiJ9.eyJtc2ciOiJoZWxsbyBoYWNrZXIsIHRoZXJlJ3Mgbm90aGluZyBmb3IgeW91IGhlcmUg8J-YhiJ9.1YDjmXsqLcgNyMSzT4kXl_kIni46_EuGX_xfqmC7e0Q", "asset": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video/download.mp4", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "recording", "sessionId": ""}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "ready", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "task": {"id": "34d7618e-fd42-4798-acf5-19504616a11e"}} default: application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} uploadAsset: @@ -833,9 +908,9 @@ examples: application/json: {"name": "filename.mp4", "staticMp4": true, "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "url": "https://s3.amazonaws.com/my-bucket/path/filename.mp4", "profiles": []} responses: "200": - application/json: {"asset": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "recording", "sessionId": ""}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "waiting", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "task": {"id": "34d7618e-fd42-4798-acf5-19504616a11e"}} + application/json: {"asset": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video/download.mp4", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "recording", "sessionId": ""}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "waiting", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "task": {"id": "34d7618e-fd42-4798-acf5-19504616a11e"}} "201": - application/json: {"asset": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "url", "url": "http://dutiful-colorlessness.com"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "uploading", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "task": {"id": "34d7618e-fd42-4798-acf5-19504616a11e"}} + application/json: {"asset": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video/download.mp4", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "url", "url": "http://dutiful-colorlessness.com"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "uploading", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "task": {"id": "34d7618e-fd42-4798-acf5-19504616a11e"}} default: application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} getAsset: @@ -845,7 +920,7 @@ examples: assetId: "" responses: "200": - application/json: {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "directUpload"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "ready", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}} + application/json: {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video/download.mp4", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "directUpload"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "ready", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}} default: application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} updateAsset: @@ -857,7 +932,7 @@ examples: application/json: {"name": "filename.mp4", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}} responses: "200": - application/json: {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "directUpload"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "failed", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}} + application/json: {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video/download.mp4", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "directUpload"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "failed", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}} default: application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} deleteAsset: @@ -1085,14 +1160,14 @@ examples: taskId: "" responses: "200": - application/json: {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "upload", "createdAt": 1587667174725, "scheduledAt": 1587667174725, "inputAssetId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "outputAssetId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "projectId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "requesterId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "params": {"upload": {"url": "https://cdn.livepeer.com/ABC123/filename.mp4", "c2pa": true, "profiles": [], "targetSegmentSizeSecs": 6}, "export": {"ipfs": {}}, "exportData": {"ipfs": {"pinata": {"apiKey": "1234567890"}}, "type": "text/plain", "id": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}, "transcode-file": {"input": {"url": "https://cdn.livepeer.com/ABC123/filename.mp4"}, "storage": {"url": "s3+https://accessKeyId:secretAccessKey@s3Endpoint/bucket"}, "outputs": {"hls": {"path": "/samplevideo/hls"}, "mp4": {"path": "/samplevideo/mp4"}}, "profiles": [], "targetSegmentSizeSecs": 10, "c2pa": false}, "clip": {"url": "https://asset-cdn.lp-playback.monster/hls/1bde4o2i6xycudoy/static360p0.mp4", "clipStrategy": {"startTime": 1587667174725, "endTime": 1587667174725, "playbackId": "eaw4nk06ts2d0mzb"}, "catalystPipelineStrategy": "catalyst_ffmpeg", "sessionId": "d32ae9e6-c459-4931-9898-e86e2f5e7e16", "inputId": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}, "status": {"phase": "pending", "updatedAt": 1587667174725, "progress": 0.5, "errorMessage": "Failed to upload file", "retries": 3}, "output": {"upload": {"assetSpec": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "clip"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "deleting", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "key": "", "key1": ""}, "export": {"ipfs": {"videoFileCid": "Qmabc123xyz341", "videoFileUrl": "ipfs://Qmabc123xyz341", "videoFileGatewayUrl": "https://gateway.ipfs.io/ipfs/Qmabc123xyz341", "nftMetadataCid": "Qmabc123xyz341", "nftMetadataUrl": "ipfs://Qmabc123xyz341", "nftMetadataGatewayUrl": "https://gateway.ipfs.io/ipfs/Qmabc123xyz341"}}, "exportData": {"ipfs": {"cid": "Qmabc123xyz341"}}}} + application/json: {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "upload", "createdAt": 1587667174725, "scheduledAt": 1587667174725, "inputAssetId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "outputAssetId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "projectId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "requesterId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "params": {"upload": {"url": "https://cdn.livepeer.com/ABC123/filename.mp4", "c2pa": true, "profiles": [], "targetSegmentSizeSecs": 6}, "export": {"ipfs": {"pinata": {"apiKey": "1234567890"}}}, "exportData": {"ipfs": {"pinata": {"apiKey": "1234567890"}}, "type": "text/plain", "id": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}, "transcode-file": {"input": {"url": "https://cdn.livepeer.com/ABC123/filename.mp4"}, "storage": {"url": "s3+https://accessKeyId:secretAccessKey@s3Endpoint/bucket"}, "outputs": {"hls": {"path": "/samplevideo/hls"}, "mp4": {"path": "/samplevideo/mp4"}}, "profiles": [], "targetSegmentSizeSecs": 10, "c2pa": false}, "clip": {"url": "https://asset-cdn.lp-playback.monster/hls/1bde4o2i6xycudoy/static360p0.mp4", "clipStrategy": {"startTime": 1587667174725, "endTime": 1587667174725, "playbackId": "eaw4nk06ts2d0mzb"}, "catalystPipelineStrategy": "catalyst_ffmpeg", "sessionId": "d32ae9e6-c459-4931-9898-e86e2f5e7e16", "inputId": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}, "status": {"phase": "pending", "updatedAt": 1587667174725, "progress": 0.5, "errorMessage": "Failed to upload file", "retries": 3}, "output": {"upload": {"assetSpec": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video/download.mp4", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "clip"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "deleting", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "key": "", "key1": ""}, "export": {"ipfs": {"videoFileCid": "Qmabc123xyz341", "videoFileUrl": "ipfs://Qmabc123xyz341", "videoFileGatewayUrl": "https://gateway.ipfs.io/ipfs/Qmabc123xyz341", "nftMetadataCid": "Qmabc123xyz341", "nftMetadataUrl": "ipfs://Qmabc123xyz341", "nftMetadataGatewayUrl": "https://gateway.ipfs.io/ipfs/Qmabc123xyz341"}}, "exportData": {"ipfs": {"cid": "Qmabc123xyz341"}}}} transcodeVideo: speakeasy-default-transcode-video: requestBody: application/json: {"input": {"url": "https://s3.amazonaws.com/bucket/file.mp4"}, "storage": {"type": "s3", "endpoint": "https://gateway.storjshare.io", "bucket": "outputbucket", "credentials": {"accessKeyId": "AKIAIOSFODNN7EXAMPLE", "secretAccessKey": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"}}, "outputs": {"hls": {"path": "/samplevideo/hls"}, "mp4": {"path": "/samplevideo/mp4"}, "fmp4": {"path": "/samplevideo/fmp4"}}, "profiles": []} responses: "200": - application/json: {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "upload", "createdAt": 1587667174725, "scheduledAt": 1587667174725, "inputAssetId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "outputAssetId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "projectId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "requesterId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "params": {"upload": {"url": "https://cdn.livepeer.com/ABC123/filename.mp4", "c2pa": true, "profiles": [], "targetSegmentSizeSecs": 6}, "export": {"ipfs": {"pinata": {"apiKey": "1234567890"}}}, "exportData": {"ipfs": {}, "type": "text/plain", "id": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}, "transcode-file": {"input": {"url": "https://cdn.livepeer.com/ABC123/filename.mp4"}, "storage": {"url": "s3+https://accessKeyId:secretAccessKey@s3Endpoint/bucket"}, "outputs": {"hls": {"path": "/samplevideo/hls"}, "mp4": {"path": "/samplevideo/mp4"}}, "profiles": [], "targetSegmentSizeSecs": 10, "c2pa": false}, "clip": {"url": "https://asset-cdn.lp-playback.monster/hls/1bde4o2i6xycudoy/static360p0.mp4", "clipStrategy": {"startTime": 1587667174725, "endTime": 1587667174725, "playbackId": "eaw4nk06ts2d0mzb"}, "catalystPipelineStrategy": "catalyst_ffmpeg", "sessionId": "d32ae9e6-c459-4931-9898-e86e2f5e7e16", "inputId": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}, "status": {"phase": "pending", "updatedAt": 1587667174725, "progress": 0.5, "errorMessage": "Failed to upload file", "retries": 3}, "output": {"upload": {"assetSpec": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "url", "url": "http://speedy-basil.org"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "deleting", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "key": ""}, "export": {"ipfs": {"videoFileCid": "Qmabc123xyz341", "videoFileUrl": "ipfs://Qmabc123xyz341", "videoFileGatewayUrl": "https://gateway.ipfs.io/ipfs/Qmabc123xyz341", "nftMetadataCid": "Qmabc123xyz341", "nftMetadataUrl": "ipfs://Qmabc123xyz341", "nftMetadataGatewayUrl": "https://gateway.ipfs.io/ipfs/Qmabc123xyz341"}}, "exportData": {"ipfs": {"cid": "Qmabc123xyz341"}}}} + application/json: {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "upload", "createdAt": 1587667174725, "scheduledAt": 1587667174725, "inputAssetId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "outputAssetId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "projectId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "requesterId": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "params": {"upload": {"url": "https://cdn.livepeer.com/ABC123/filename.mp4", "c2pa": true, "profiles": [], "targetSegmentSizeSecs": 6}, "export": {"ipfs": {"pinata": {"apiKey": "1234567890"}}}, "exportData": {"ipfs": {}, "type": "text/plain", "id": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}, "transcode-file": {"input": {"url": "https://cdn.livepeer.com/ABC123/filename.mp4"}, "storage": {"url": "s3+https://accessKeyId:secretAccessKey@s3Endpoint/bucket"}, "outputs": {"hls": {"path": "/samplevideo/hls"}, "mp4": {"path": "/samplevideo/mp4"}}, "profiles": [], "targetSegmentSizeSecs": 10, "c2pa": false}, "clip": {"url": "https://asset-cdn.lp-playback.monster/hls/1bde4o2i6xycudoy/static360p0.mp4", "clipStrategy": {"startTime": 1587667174725, "endTime": 1587667174725, "playbackId": "eaw4nk06ts2d0mzb"}, "catalystPipelineStrategy": "catalyst_ffmpeg", "sessionId": "d32ae9e6-c459-4931-9898-e86e2f5e7e16", "inputId": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}, "status": {"phase": "pending", "updatedAt": 1587667174725, "progress": 0.5, "errorMessage": "Failed to upload file", "retries": 3}, "output": {"upload": {"assetSpec": {"id": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "type": "video", "playbackId": "eaw4nk06ts2d0mzb", "playbackUrl": "https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8", "downloadUrl": "https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video/download.mp4", "playbackPolicy": {"type": "webhook", "webhookId": "1bde4o2i6xycudoy", "webhookContext": {"streamerId": "my-custom-id"}, "refreshInterval": 600}, "source": {"type": "url", "url": "http://speedy-basil.org"}, "creatorId": {"type": "unverified", "value": "user123"}, "profiles": [], "storage": {"ipfs": {"updatedAt": 1587667174725}, "status": {"phase": "ready", "progress": 0.5, "errorMessage": "Failed to update storage", "tasks": {"pending": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "last": "09F8B46C-61A0-4254-9875-F71F4C605BC7", "failed": "09F8B46C-61A0-4254-9875-F71F4C605BC7"}}}, "status": {"phase": "deleting", "updatedAt": 1587667174725}, "name": "filename.mp4", "projectId": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", "createdAt": 1587667174725, "size": 84934509, "hash": [], "videoSpec": {"format": "mp4", "duration": 23.8328, "bitrate": 1000000, "tracks": []}}, "key": ""}, "export": {"ipfs": {"videoFileCid": "Qmabc123xyz341", "videoFileUrl": "ipfs://Qmabc123xyz341", "videoFileGatewayUrl": "https://gateway.ipfs.io/ipfs/Qmabc123xyz341", "nftMetadataCid": "Qmabc123xyz341", "nftMetadataUrl": "ipfs://Qmabc123xyz341", "nftMetadataGatewayUrl": "https://gateway.ipfs.io/ipfs/Qmabc123xyz341"}}, "exportData": {"ipfs": {"cid": "Qmabc123xyz341"}}}} default: application/json: {"errors": ["[\"id not provided\",\"Account not found\"]"]} getPlaybackInfo: @@ -1121,7 +1196,7 @@ examples: "422": application/json: {"": {}} "500": - application/json: {"": {}} + application/json: {"detail": {"msg": ""}, "": {}} default: application/json: {"": {}} genImageToImage: @@ -1138,7 +1213,7 @@ examples: "422": application/json: {"": {}} "500": - application/json: {"detail": {"msg": ""}, "": {}} + application/json: {"": {}} default: application/json: {"": {}} genImageToVideo: @@ -1155,7 +1230,7 @@ examples: "422": application/json: {"": {}} "500": - application/json: {"": {}} + application/json: {"detail": {"msg": ""}, "": {}} default: application/json: {"": {}} genUpscale: @@ -1172,7 +1247,7 @@ examples: "422": application/json: {"": {}} "500": - application/json: {"detail": {"msg": ""}, "": {}} + application/json: {"": {}} default: application/json: {"": {}} genAudioToText: @@ -1185,9 +1260,9 @@ examples: "400": application/json: {"": {}} "401": - application/json: {"detail": {"msg": ""}, "": {}} - "413": application/json: {"": {}} + "413": + application/json: {"detail": {"msg": ""}, "": {}} "422": application/json: {"": {}} "500": @@ -1208,6 +1283,6 @@ examples: "422": application/json: {"": {}} "500": - application/json: {"detail": {"msg": ""}, "": {}} + application/json: {"": {}} default: application/json: {"": {}} diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 4301118..6a04b89 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true python: - version: 0.3.0 + version: 0.3.1 additionalDependencies: dev: {} main: {} @@ -22,6 +22,8 @@ python: clientServerStatusCodesAsErrors: true description: Python Client SDK for Livepeer Studio enumFormat: enum + fixFlags: + responseRequiredSep2024: false flattenGlobalSecurity: true flattenRequests: false imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 4a9c227..4becd36 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.399.0 +speakeasyVersion: 1.405.6 sources: livepeer-studio-api: sourceNamespace: livepeer-studio-api - sourceRevisionDigest: sha256:05b8e6f32af10787d3e904f94a0924c304ec1dd8357de9351eebd75f8ea9c3ca - sourceBlobDigest: sha256:aa27f19cd706fdbc92320eea5ca4d28aefd20557554f78a6fa0393320d8ee1d6 + sourceRevisionDigest: sha256:994883abb1c89fda9fa5d6b5fb6fdb14b5902bc63d8b3a016ed73496322b3ef6 + sourceBlobDigest: sha256:8f5abbeb4b51a28c9cc0e49ea6daa0b0d630a3e54ab40aedbf238f632ccafcb2 tags: - latest - main @@ -11,8 +11,8 @@ targets: livepeer-python: source: livepeer-studio-api sourceNamespace: livepeer-studio-api - sourceRevisionDigest: sha256:05b8e6f32af10787d3e904f94a0924c304ec1dd8357de9351eebd75f8ea9c3ca - sourceBlobDigest: sha256:aa27f19cd706fdbc92320eea5ca4d28aefd20557554f78a6fa0393320d8ee1d6 + sourceRevisionDigest: sha256:994883abb1c89fda9fa5d6b5fb6fdb14b5902bc63d8b3a016ed73496322b3ef6 + sourceBlobDigest: sha256:8f5abbeb4b51a28c9cc0e49ea6daa0b0d630a3e54ab40aedbf238f632ccafcb2 my-first-target: source: livepeer-studio-api sourceNamespace: livepeer-studio-api diff --git a/README.md b/README.md index 04f41e3..f7788a7 100644 --- a/README.md +++ b/README.md @@ -263,7 +263,7 @@ res = s.stream.create(request={ "multistream": { "targets": [ { - "profile": "720p", + "profile": "720p0", "video_only": False, "id": "PUSH123", "spec": { @@ -346,7 +346,7 @@ res = s.stream.create(request={ "multistream": { "targets": [ { - "profile": "720p", + "profile": "720p0", "video_only": False, "id": "PUSH123", "spec": { @@ -368,12 +368,23 @@ if res.stream is not None: ## Error Handling -Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an error. If Error objects are specified in your OpenAPI Spec, the SDK will raise the appropriate Error type. +Handling errors in this SDK should largely match your expectations. All operations return a response object or raise an exception. -| Error Object | Status Code | Content Type | +By default, an API error will raise a errors.SDKError exception, which has the following properties: + +| Property | Type | Description | +|-----------------|------------------|-----------------------| +| `.status_code` | *int* | The HTTP status code | +| `.message` | *str* | The error message | +| `.raw_response` | *httpx.Response* | The raw HTTP response | +| `.body` | *str* | The response content | + +When custom error responses are specified for an operation, the SDK may also raise their associated exceptions. You can refer to respective *Errors* tables in SDK docs for more details on possible exception types for each operation. For example, the `get_async` method may raise the following exceptions: + +| Error Type | Status Code | Content Type | | ---------------- | ---------------- | ---------------- | | errors.Error | 404 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | ### Example @@ -558,7 +569,7 @@ res = s.stream.create(request={ "multistream": { "targets": [ { - "profile": "720p", + "profile": "720p0", "video_only": False, "id": "PUSH123", "spec": { diff --git a/RELEASES.md b/RELEASES.md index f5c4cca..4625328 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -104,4 +104,14 @@ Based on: ### Generated - [python v0.3.0] . ### Releases -- [PyPI v0.3.0] https://pypi.org/project/livepeer/0.3.0 - . \ No newline at end of file +- [PyPI v0.3.0] https://pypi.org/project/livepeer/0.3.0 - . + +## 2024-10-02 00:17:10 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.405.6 (2.428.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.3.1] . +### Releases +- [PyPI v0.3.1] https://pypi.org/project/livepeer/0.3.1 - . \ No newline at end of file diff --git a/USAGE.md b/USAGE.md index 9349b1d..84aea76 100644 --- a/USAGE.md +++ b/USAGE.md @@ -61,7 +61,7 @@ res = s.stream.create(request={ "multistream": { "targets": [ { - "profile": "720p", + "profile": "720p0", "video_only": False, "id": "PUSH123", "spec": { @@ -144,7 +144,7 @@ async def main(): "multistream": { "targets": [ { - "profile": "720p", + "profile": "720p0", "video_only": False, "id": "PUSH123", "spec": { diff --git a/codeSamples.yaml b/codeSamples.yaml index 71546ae..f37395f 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -49,7 +49,7 @@ actions: api_key="", ) - res = s.access_control.delete(key_id="") + res = s.access_control.delete(key_id="") if res is not None: # handle response @@ -66,7 +66,7 @@ actions: api_key="", ) - res = s.access_control.get(key_id="") + res = s.access_control.get(key_id="") if res.signing_key is not None: # handle response @@ -83,7 +83,7 @@ actions: api_key="", ) - res = s.access_control.update(key_id="", request_body={}) + res = s.access_control.update(key_id="", request_body={}) if res is not None: # handle response @@ -317,6 +317,18 @@ actions: "profile": components.TranscodeProfileProfile.H264_BASELINE, "encoder": components.TranscodeProfileEncoder.H_264, }, + { + "width": 1280, + "name": "720p", + "height": 720, + "bitrate": 3000000, + "quality": 23, + "fps": 30, + "fps_den": 1, + "gop": "2", + "profile": components.TranscodeProfileProfile.H264_BASELINE, + "encoder": components.TranscodeProfileEncoder.H_264, + }, ], }) @@ -335,7 +347,7 @@ actions: api_key="", ) - res = s.asset.delete(asset_id="") + res = s.asset.delete(asset_id="") if res is not None: # handle response @@ -352,7 +364,7 @@ actions: api_key="", ) - res = s.asset.get(asset_id="") + res = s.asset.get(asset_id="") if res.asset is not None: # handle response @@ -370,7 +382,7 @@ actions: api_key="", ) - res = s.asset.update(asset_id="", asset_patch_payload={ + res = s.asset.update(asset_id="", asset_patch_payload={ "name": "filename.mp4", "playback_policy": { "type": components.Type.WEBHOOK, @@ -488,7 +500,7 @@ actions: api_key="", ) - res = s.metrics.get_public_viewership(playback_id="") + res = s.metrics.get_public_viewership(playback_id="") if res.data is not None: # handle response @@ -599,168 +611,6 @@ actions: if res.playback_info is not None: # handle response pass - - target: $["paths"]["/room"]["post"] - update: - x-codeSamples: - - lang: python - label: createRoom - source: |- - from livepeer import Livepeer - - s = Livepeer( - api_key="", - ) - - res = s.room.create() - - if res.create_room_response is not None: - # handle response - pass - - target: $["paths"]["/room/{id}"]["delete"] - update: - x-codeSamples: - - lang: python - label: deleteRoom - source: |- - from livepeer import Livepeer - - s = Livepeer( - api_key="", - ) - - res = s.room.delete(id="") - - if res is not None: - # handle response - pass - - target: $["paths"]["/room/{id}"]["get"] - update: - x-codeSamples: - - lang: python - label: getRoom - source: |- - from livepeer import Livepeer - - s = Livepeer( - api_key="", - ) - - res = s.room.get(id="") - - if res.room is not None: - # handle response - pass - - target: $["paths"]["/room/{id}/egress"]["delete"] - update: - x-codeSamples: - - lang: python - label: stopRoomEgress - source: |- - from livepeer import Livepeer - - s = Livepeer( - api_key="", - ) - - res = s.room.stop_egress(id="") - - if res is not None: - # handle response - pass - - target: $["paths"]["/room/{id}/egress"]["post"] - update: - x-codeSamples: - - lang: python - label: startRoomEgress - source: |- - from livepeer import Livepeer - - s = Livepeer( - api_key="", - ) - - res = s.room.start_egress(id="", room_egress_payload={ - "stream_id": "aac12556-4d65-4d34-9fb6-d1f0985eb0a9", - }) - - if res is not None: - # handle response - pass - - target: $["paths"]["/room/{id}/user"]["post"] - update: - x-codeSamples: - - lang: python - label: createRoomUser - source: |- - from livepeer import Livepeer - - s = Livepeer( - api_key="", - ) - - res = s.room.create_user(id="", room_user_payload={ - "name": "name", - "can_publish": True, - "can_publish_data": True, - }) - - if res.room_user_response is not None: - # handle response - pass - - target: $["paths"]["/room/{id}/user/{userId}"]["delete"] - update: - x-codeSamples: - - lang: python - label: deleteRoomUser - source: |- - from livepeer import Livepeer - - s = Livepeer( - api_key="", - ) - - res = s.room.delete_user(id="", user_id="") - - if res is not None: - # handle response - pass - - target: $["paths"]["/room/{id}/user/{userId}"]["get"] - update: - x-codeSamples: - - lang: python - label: getRoomUser - source: |- - from livepeer import Livepeer - - s = Livepeer( - api_key="", - ) - - res = s.room.get_user(id="", user_id="") - - if res.get_room_user_response is not None: - # handle response - pass - - target: $["paths"]["/room/{id}/user/{userId}"]["put"] - update: - x-codeSamples: - - lang: python - label: updateRoomUser - source: |- - from livepeer import Livepeer - - s = Livepeer( - api_key="", - ) - - res = s.room.update_user(id="", user_id="", room_user_update_payload={ - "can_publish": True, - "can_publish_data": True, - }) - - if res is not None: - # handle response - pass - target: $["paths"]["/session"]["get"] update: x-codeSamples: @@ -890,12 +740,24 @@ actions: "profile": components.TranscodeProfileProfile.H264_BASELINE, "encoder": components.TranscodeProfileEncoder.H_264, }, + { + "width": 1280, + "name": "720p", + "height": 720, + "bitrate": 3000000, + "quality": 23, + "fps": 30, + "fps_den": 1, + "gop": "2", + "profile": components.TranscodeProfileProfile.H264_BASELINE, + "encoder": components.TranscodeProfileEncoder.H_264, + }, ], }, "multistream": { "targets": [ { - "profile": "720p", + "profile": "720p0", "video_only": False, "id": "PUSH123", "spec": { @@ -962,7 +824,7 @@ actions: "multistream": { "targets": [ { - "profile": "720p", + "profile": "720p0", "video_only": False, "id": "PUSH123", "spec": { @@ -992,6 +854,28 @@ actions: "gop": "2", "profile": components.Profile.H264_BASELINE, }, + { + "width": 1280, + "name": "720p", + "height": 720, + "bitrate": 3000000, + "fps": 30, + "fps_den": 1, + "quality": 23, + "gop": "2", + "profile": components.Profile.H264_BASELINE, + }, + { + "width": 1280, + "name": "720p", + "height": 720, + "bitrate": 3000000, + "fps": 30, + "fps_den": 1, + "quality": 23, + "gop": "2", + "profile": components.Profile.H264_BASELINE, + }, ], "recording_spec": { "profiles": [ @@ -1007,6 +891,18 @@ actions: "profile": components.TranscodeProfileProfile.H264_BASELINE, "encoder": components.TranscodeProfileEncoder.H_264, }, + { + "width": 1280, + "name": "720p", + "height": 720, + "bitrate": 3000000, + "quality": 23, + "fps": 30, + "fps_den": 1, + "gop": "2", + "profile": components.TranscodeProfileProfile.H264_BASELINE, + "encoder": components.TranscodeProfileEncoder.H_264, + }, ], }, }) @@ -1068,7 +964,7 @@ actions: api_key="", ) - res = s.stream.remove_multistream_target(id="", target_id="") + res = s.stream.remove_multistream_target(id="", target_id="") if res is not None: # handle response @@ -1119,7 +1015,7 @@ actions: api_key="", ) - res = s.session.get_recorded(parent_id="", record=True) + res = s.session.get_recorded(parent_id="", record=True) if res.data is not None: # handle response @@ -1153,7 +1049,7 @@ actions: api_key="", ) - res = s.task.get(task_id="") + res = s.task.get(task_id="") if res.task is not None: # handle response @@ -1176,12 +1072,9 @@ actions: "url": "https://s3.amazonaws.com/bucket/file.mp4", }, "storage": { - "type": components.StorageType.S3, - "endpoint": "https://gateway.storjshare.io", - "bucket": "outputbucket", + "type": components.TranscodePayloadStorageType.WEB3_STORAGE, "credentials": { - "access_key_id": "AKIAIOSFODNN7EXAMPLE", - "secret_access_key": "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY", + "proof": "EaJlcm9vdHOAZ3ZlcnNpb24BmgIBcRIg2uxHpcPYSWNtifMKFkPC7IEDvFDCxCd3ADViv0coV7SnYXNYRO2hA0AnblHEW38s3lSlcwaDjPn", }, }, "outputs": { @@ -1350,7 +1243,7 @@ actions: api_key="", ) - res = s.webhook.get_log(id="", log_id="") + res = s.webhook.get_log(id="", log_id="") if res.webhook_log is not None: # handle response @@ -1367,7 +1260,7 @@ actions: api_key="", ) - res = s.webhook.resend_log(id="", log_id="") + res = s.webhook.resend_log(id="", log_id="") if res.webhook_log is not None: # handle response diff --git a/docs/models/components/asset.md b/docs/models/components/asset.md index 272ffc6..f5b43db 100644 --- a/docs/models/components/asset.md +++ b/docs/models/components/asset.md @@ -12,7 +12,7 @@ | `playback_id` | *Optional[str]* | :heavy_minus_sign: | The playback ID to use with the Playback Info endpoint to retrieve playback URLs. | eaw4nk06ts2d0mzb | | ~~`user_id`~~ | *Optional[str]* | :heavy_minus_sign: | : warning: ** DEPRECATED **: This will be removed in a future release, please migrate away from it as soon as possible. | 66E2161C-7670-4D05-B71D-DA2D6979556F | | `playback_url` | *Optional[str]* | :heavy_minus_sign: | URL for HLS playback. **It is recommended to not use this URL**, and instead use playback IDs with the Playback Info endpoint to retrieve the playback URLs - this URL format is subject to change (e.g. https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8). | https://livepeercdn.com/asset/ea03f37e-f861-4cdd-b495-0e60b6d753ad/index.m3u8 | -| `download_url` | *Optional[str]* | :heavy_minus_sign: | The URL to directly download the asset, e.g. `https://livepeercdn.com/asset/eawrrk06ts2d0mzb/video`. It is not recommended to use this for playback. | https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video | +| `download_url` | *Optional[str]* | :heavy_minus_sign: | The URL to directly download the asset, e.g. `https://livepeercdn.com/asset/eawrrk06ts2d0mzb/video`. It is not recommended to use this for playback. | https://livepeercdn.com/asset/eaw4nk06ts2d0mzb/video/download.mp4 | | `playback_policy` | [OptionalNullable[components.PlaybackPolicy]](../../models/components/playbackpolicy.md) | :heavy_minus_sign: | Whether the playback policy for an asset or stream is public or signed | | | `creator_id` | [Optional[components.CreatorID]](../../models/components/creatorid.md) | :heavy_minus_sign: | N/A | | | `profiles` | List[[components.TranscodeProfile](../../models/components/transcodeprofile.md)] | :heavy_minus_sign: | Requested profiles for the asset to be transcoded into. Configured
on the upload APIs payload or through the `stream.recordingSpec`
field for recordings. If not specified, default profiles are derived
based on the source input. If this is a recording, the source will
not be present in this list but will be available for playback.
| | diff --git a/docs/models/components/encryption.md b/docs/models/components/encryption.md new file mode 100644 index 0000000..842a353 --- /dev/null +++ b/docs/models/components/encryption.md @@ -0,0 +1,8 @@ +# Encryption + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | +| `encrypted_key` | *str* | :heavy_check_mark: | Encryption key used to encrypt the asset. Only writable in the upload asset endpoints and cannot be retrieved back. | \ No newline at end of file diff --git a/docs/models/components/error.md b/docs/models/components/error.md new file mode 100644 index 0000000..729723b --- /dev/null +++ b/docs/models/components/error.md @@ -0,0 +1,8 @@ +# Error + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/multistreamtargetinput.md b/docs/models/components/multistreamtargetinput.md new file mode 100644 index 0000000..5b56627 --- /dev/null +++ b/docs/models/components/multistreamtargetinput.md @@ -0,0 +1,10 @@ +# MultistreamTargetInput + + +## Fields + +| Field | Type | Required | Description | Example | +| --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- | +| `url` | *str* | :heavy_check_mark: | Livepeer-compatible multistream target URL (RTMP(S) or SRT) | rtmps://live.my-service.tv/channel/secretKey | +| `name` | *Optional[str]* | :heavy_minus_sign: | N/A | | +| `disabled` | *Optional[bool]* | :heavy_minus_sign: | If true then this multistream target will not be used for pushing
even if it is configured in a stream object.
| | \ No newline at end of file diff --git a/docs/models/components/studioapierror.md b/docs/models/components/studioapierror.md new file mode 100644 index 0000000..0cf038e --- /dev/null +++ b/docs/models/components/studioapierror.md @@ -0,0 +1,12 @@ +# StudioAPIError + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `http_meta1` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `http_meta2` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `http_meta3` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/studioapierror5.md b/docs/models/components/studioapierror5.md new file mode 100644 index 0000000..448cf0c --- /dev/null +++ b/docs/models/components/studioapierror5.md @@ -0,0 +1,8 @@ +# StudioAPIError5 + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/components/target.md b/docs/models/components/target.md new file mode 100644 index 0000000..6538f8c --- /dev/null +++ b/docs/models/components/target.md @@ -0,0 +1,11 @@ +# Target + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ | +| `profile` | *str* | :heavy_check_mark: | Name of transcoding profile that should be sent. Use
"source" for pushing source stream data
| 720p0 | +| `video_only` | *Optional[bool]* | :heavy_minus_sign: | If true, the stream audio will be muted and only silent
video will be pushed to the target.
| false | +| `id` | *Optional[str]* | :heavy_minus_sign: | ID of multistream target object where to push this stream | PUSH123 | +| `spec` | [Optional[components.TargetSpec]](../../models/components/targetspec.md) | :heavy_minus_sign: | Inline multistream target object. Will automatically
create the target resource to be used by the created
stream.
| | \ No newline at end of file diff --git a/docs/models/components/webhookinput.md b/docs/models/components/webhookinput.md new file mode 100644 index 0000000..6333279 --- /dev/null +++ b/docs/models/components/webhookinput.md @@ -0,0 +1,13 @@ +# WebhookInput + + +## Fields + +| Field | Type | Required | Description | Example | +| ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | ------------------------------------------------------------ | +| `name` | *str* | :heavy_check_mark: | N/A | test_webhook | +| `url` | *str* | :heavy_check_mark: | N/A | https://my-service.com/webhook | +| `project_id` | *Optional[str]* | :heavy_minus_sign: | The ID of the project | aac12556-4d65-4d34-9fb6-d1f0985eb0a9 | +| `events` | List[[components.Events](../../models/components/events.md)] | :heavy_minus_sign: | N/A | [
"stream.started",
"stream.idle"
] | +| `shared_secret` | *Optional[str]* | :heavy_minus_sign: | shared secret used to sign the webhook payload | my-secret | +| `stream_id` | *Optional[str]* | :heavy_minus_sign: | streamId of the stream on which the webhook is applied | de7818e7-610a-4057-8f6f-b785dc1e6f88 | \ No newline at end of file diff --git a/docs/models/errors/genaudiototextgenerateresponse422responsebody.md b/docs/models/errors/genaudiototextgenerateresponse422responsebody.md index 6a24b03..c868828 100644 --- a/docs/models/errors/genaudiototextgenerateresponse422responsebody.md +++ b/docs/models/errors/genaudiototextgenerateresponse422responsebody.md @@ -11,9 +11,9 @@ Validation Error value: errors.HTTPValidationError = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError10` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError10 = /* values here */ ``` diff --git a/docs/models/errors/genaudiototextgenerateresponse500responsebody.md b/docs/models/errors/genaudiototextgenerateresponse500responsebody.md index 65828e3..7620753 100644 --- a/docs/models/errors/genaudiototextgenerateresponse500responsebody.md +++ b/docs/models/errors/genaudiototextgenerateresponse500responsebody.md @@ -5,15 +5,15 @@ Internal Server Error ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError4` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError4 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError11` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError11 = /* values here */ ``` diff --git a/docs/models/errors/genaudiototextgenerateresponsebody.md b/docs/models/errors/genaudiototextgenerateresponsebody.md index d850688..84acbf6 100644 --- a/docs/models/errors/genaudiototextgenerateresponsebody.md +++ b/docs/models/errors/genaudiototextgenerateresponsebody.md @@ -5,15 +5,15 @@ Unauthorized ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError11` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError11 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError8` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError8 = /* values here */ ``` diff --git a/docs/models/errors/genaudiototextgenerateresponseresponsebody.md b/docs/models/errors/genaudiototextgenerateresponseresponsebody.md index 2163848..ac689e4 100644 --- a/docs/models/errors/genaudiototextgenerateresponseresponsebody.md +++ b/docs/models/errors/genaudiototextgenerateresponseresponsebody.md @@ -5,15 +5,15 @@ Request Entity Too Large ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError3` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError3 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError9` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError9 = /* values here */ ``` diff --git a/docs/models/errors/genaudiototextresponsebody.md b/docs/models/errors/genaudiototextresponsebody.md index 11619e6..61ffa2c 100644 --- a/docs/models/errors/genaudiototextresponsebody.md +++ b/docs/models/errors/genaudiototextresponsebody.md @@ -5,15 +5,15 @@ Bad Request ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError10` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError10 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError7` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError7 = /* values here */ ``` diff --git a/docs/models/errors/genimagetoimagegenerateresponse500responsebody.md b/docs/models/errors/genimagetoimagegenerateresponse500responsebody.md index 0770976..f4893b0 100644 --- a/docs/models/errors/genimagetoimagegenerateresponse500responsebody.md +++ b/docs/models/errors/genimagetoimagegenerateresponse500responsebody.md @@ -5,15 +5,15 @@ Internal Server Error ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError3` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError3 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError4` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError4 = /* values here */ ``` diff --git a/docs/models/errors/genimagetoimagegenerateresponsebody.md b/docs/models/errors/genimagetoimagegenerateresponsebody.md index a5e4ed1..ba556e4 100644 --- a/docs/models/errors/genimagetoimagegenerateresponsebody.md +++ b/docs/models/errors/genimagetoimagegenerateresponsebody.md @@ -5,15 +5,15 @@ Unauthorized ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError12` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError12 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError15` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError15 = /* values here */ ``` diff --git a/docs/models/errors/genimagetoimagegenerateresponseresponsebody.md b/docs/models/errors/genimagetoimagegenerateresponseresponsebody.md index 55dff66..dabe6d9 100644 --- a/docs/models/errors/genimagetoimagegenerateresponseresponsebody.md +++ b/docs/models/errors/genimagetoimagegenerateresponseresponsebody.md @@ -11,9 +11,9 @@ Validation Error value: errors.HTTPValidationError = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError16` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError16 = /* values here */ ``` diff --git a/docs/models/errors/genimagetoimageresponsebody.md b/docs/models/errors/genimagetoimageresponsebody.md index 515d184..71425e1 100644 --- a/docs/models/errors/genimagetoimageresponsebody.md +++ b/docs/models/errors/genimagetoimageresponsebody.md @@ -5,15 +5,15 @@ Bad Request ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError5` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError5 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError17` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError17 = /* values here */ ``` diff --git a/docs/models/errors/genimagetovideogenerateresponse500responsebody.md b/docs/models/errors/genimagetovideogenerateresponse500responsebody.md index f645623..026a3df 100644 --- a/docs/models/errors/genimagetovideogenerateresponse500responsebody.md +++ b/docs/models/errors/genimagetovideogenerateresponse500responsebody.md @@ -5,15 +5,15 @@ Internal Server Error ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError3` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError3 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError5` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError5 = /* values here */ ``` diff --git a/docs/models/errors/genimagetovideogenerateresponsebody.md b/docs/models/errors/genimagetovideogenerateresponsebody.md index dd7e0c3..28662d8 100644 --- a/docs/models/errors/genimagetovideogenerateresponsebody.md +++ b/docs/models/errors/genimagetovideogenerateresponsebody.md @@ -5,15 +5,15 @@ Unauthorized ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError7` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError7 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError14` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError14 = /* values here */ ``` diff --git a/docs/models/errors/genimagetovideogenerateresponseresponsebody.md b/docs/models/errors/genimagetovideogenerateresponseresponsebody.md index ce5dc12..ff75357 100644 --- a/docs/models/errors/genimagetovideogenerateresponseresponsebody.md +++ b/docs/models/errors/genimagetovideogenerateresponseresponsebody.md @@ -11,9 +11,9 @@ Validation Error value: errors.HTTPValidationError = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError4` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError4 = /* values here */ ``` diff --git a/docs/models/errors/genimagetovideoresponsebody.md b/docs/models/errors/genimagetovideoresponsebody.md index 1afb8b0..690b38d 100644 --- a/docs/models/errors/genimagetovideoresponsebody.md +++ b/docs/models/errors/genimagetovideoresponsebody.md @@ -5,15 +5,15 @@ Bad Request ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError6` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError6 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError13` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError13 = /* values here */ ``` diff --git a/docs/models/errors/gensegmentanything2generateresponse500responsebody.md b/docs/models/errors/gensegmentanything2generateresponse500responsebody.md index 01efd03..6811bdb 100644 --- a/docs/models/errors/gensegmentanything2generateresponse500responsebody.md +++ b/docs/models/errors/gensegmentanything2generateresponse500responsebody.md @@ -5,15 +5,15 @@ Internal Server Error ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError3` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError3 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError12` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError12 = /* values here */ ``` diff --git a/docs/models/errors/gensegmentanything2generateresponsebody.md b/docs/models/errors/gensegmentanything2generateresponsebody.md index d9a1a7f..d47aa85 100644 --- a/docs/models/errors/gensegmentanything2generateresponsebody.md +++ b/docs/models/errors/gensegmentanything2generateresponsebody.md @@ -5,15 +5,15 @@ Unauthorized ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError14` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError14 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError10` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError10 = /* values here */ ``` diff --git a/docs/models/errors/gensegmentanything2generateresponseresponsebody.md b/docs/models/errors/gensegmentanything2generateresponseresponsebody.md index 2151475..c158195 100644 --- a/docs/models/errors/gensegmentanything2generateresponseresponsebody.md +++ b/docs/models/errors/gensegmentanything2generateresponseresponsebody.md @@ -11,9 +11,9 @@ Validation Error value: errors.HTTPValidationError = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError11` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError11 = /* values here */ ``` diff --git a/docs/models/errors/gensegmentanything2responsebody.md b/docs/models/errors/gensegmentanything2responsebody.md index 687402d..bd974e1 100644 --- a/docs/models/errors/gensegmentanything2responsebody.md +++ b/docs/models/errors/gensegmentanything2responsebody.md @@ -5,15 +5,15 @@ Bad Request ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError13` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError13 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError9` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError9 = /* values here */ ``` diff --git a/docs/models/errors/gentexttoimagegenerateresponse500responsebody.md b/docs/models/errors/gentexttoimagegenerateresponse500responsebody.md index b807f07..c654444 100644 --- a/docs/models/errors/gentexttoimagegenerateresponse500responsebody.md +++ b/docs/models/errors/gentexttoimagegenerateresponse500responsebody.md @@ -5,15 +5,15 @@ Internal Server Error ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError2` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError2 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError3` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError3 = /* values here */ ``` diff --git a/docs/models/errors/gentexttoimagegenerateresponsebody.md b/docs/models/errors/gentexttoimagegenerateresponsebody.md index cb26b56..b4a39b0 100644 --- a/docs/models/errors/gentexttoimagegenerateresponsebody.md +++ b/docs/models/errors/gentexttoimagegenerateresponsebody.md @@ -5,15 +5,15 @@ Unauthorized ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError1` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError1 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError1` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError1 = /* values here */ ``` diff --git a/docs/models/errors/gentexttoimagegenerateresponseresponsebody.md b/docs/models/errors/gentexttoimagegenerateresponseresponsebody.md index b9316e0..ee3a255 100644 --- a/docs/models/errors/gentexttoimagegenerateresponseresponsebody.md +++ b/docs/models/errors/gentexttoimagegenerateresponseresponsebody.md @@ -11,9 +11,9 @@ Validation Error value: errors.HTTPValidationError = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError2` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError2 = /* values here */ ``` diff --git a/docs/models/errors/genupscalegenerateresponse500responsebody.md b/docs/models/errors/genupscalegenerateresponse500responsebody.md index c158a5b..508c290 100644 --- a/docs/models/errors/genupscalegenerateresponse500responsebody.md +++ b/docs/models/errors/genupscalegenerateresponse500responsebody.md @@ -5,15 +5,15 @@ Internal Server Error ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError3` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError3 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError7` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError7 = /* values here */ ``` diff --git a/docs/models/errors/genupscalegenerateresponsebody.md b/docs/models/errors/genupscalegenerateresponsebody.md index 900aca0..983e9d5 100644 --- a/docs/models/errors/genupscalegenerateresponsebody.md +++ b/docs/models/errors/genupscalegenerateresponsebody.md @@ -5,15 +5,15 @@ Unauthorized ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError9` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError9 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError5` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError5 = /* values here */ ``` diff --git a/docs/models/errors/genupscalegenerateresponseresponsebody.md b/docs/models/errors/genupscalegenerateresponseresponsebody.md index 4cad918..1f488b7 100644 --- a/docs/models/errors/genupscalegenerateresponseresponsebody.md +++ b/docs/models/errors/genupscalegenerateresponseresponsebody.md @@ -11,9 +11,9 @@ Validation Error value: errors.HTTPValidationError = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError6` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError6 = /* values here */ ``` diff --git a/docs/models/errors/genupscaleresponsebody.md b/docs/models/errors/genupscaleresponsebody.md index 44a56ae..0b5667b 100644 --- a/docs/models/errors/genupscaleresponsebody.md +++ b/docs/models/errors/genupscaleresponsebody.md @@ -5,15 +5,15 @@ Bad Request ## Supported Types -### `errors.HTTPError` +### `errors.HTTPError8` ```python -value: errors.HTTPError = /* values here */ +value: errors.HTTPError8 = /* values here */ ``` -### `errors.StudioAPIError` +### `errors.StudioAPIError4` ```python -value: errors.StudioAPIError = /* values here */ +value: errors.StudioAPIError4 = /* values here */ ``` diff --git a/docs/models/errors/httperror.md b/docs/models/errors/httperror.md index 41b434c..824e580 100644 --- a/docs/models/errors/httperror.md +++ b/docs/models/errors/httperror.md @@ -8,22 +8,4 @@ HTTP error response model. | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | -| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta1` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta2` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta3` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta4` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta5` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta6` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta7` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta8` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta9` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta10` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta11` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta12` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta13` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta14` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta15` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta16` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta17` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta18` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httperror1.md b/docs/models/errors/httperror1.md new file mode 100644 index 0000000..d218a90 --- /dev/null +++ b/docs/models/errors/httperror1.md @@ -0,0 +1,12 @@ +# HTTPError1 + +HTTP error response model. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `http_meta1` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httperror10.md b/docs/models/errors/httperror10.md new file mode 100644 index 0000000..8e834a7 --- /dev/null +++ b/docs/models/errors/httperror10.md @@ -0,0 +1,11 @@ +# HTTPError10 + +HTTP error response model. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httperror11.md b/docs/models/errors/httperror11.md new file mode 100644 index 0000000..8948377 --- /dev/null +++ b/docs/models/errors/httperror11.md @@ -0,0 +1,11 @@ +# HTTPError11 + +HTTP error response model. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httperror12.md b/docs/models/errors/httperror12.md new file mode 100644 index 0000000..8ad048d --- /dev/null +++ b/docs/models/errors/httperror12.md @@ -0,0 +1,11 @@ +# HTTPError12 + +HTTP error response model. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httperror13.md b/docs/models/errors/httperror13.md new file mode 100644 index 0000000..04bda2f --- /dev/null +++ b/docs/models/errors/httperror13.md @@ -0,0 +1,11 @@ +# HTTPError13 + +HTTP error response model. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httperror14.md b/docs/models/errors/httperror14.md new file mode 100644 index 0000000..300f6cb --- /dev/null +++ b/docs/models/errors/httperror14.md @@ -0,0 +1,11 @@ +# HTTPError14 + +HTTP error response model. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httperror2.md b/docs/models/errors/httperror2.md new file mode 100644 index 0000000..cd7964f --- /dev/null +++ b/docs/models/errors/httperror2.md @@ -0,0 +1,13 @@ +# HTTPError2 + +HTTP error response model. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `http_meta1` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `http_meta2` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httperror3.md b/docs/models/errors/httperror3.md new file mode 100644 index 0000000..cbac241 --- /dev/null +++ b/docs/models/errors/httperror3.md @@ -0,0 +1,11 @@ +# HTTPError3 + +HTTP error response model. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httperror4.md b/docs/models/errors/httperror4.md new file mode 100644 index 0000000..0efe59b --- /dev/null +++ b/docs/models/errors/httperror4.md @@ -0,0 +1,11 @@ +# HTTPError4 + +HTTP error response model. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httperror5.md b/docs/models/errors/httperror5.md new file mode 100644 index 0000000..98161ae --- /dev/null +++ b/docs/models/errors/httperror5.md @@ -0,0 +1,11 @@ +# HTTPError5 + +HTTP error response model. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httperror6.md b/docs/models/errors/httperror6.md new file mode 100644 index 0000000..b8878ec --- /dev/null +++ b/docs/models/errors/httperror6.md @@ -0,0 +1,11 @@ +# HTTPError6 + +HTTP error response model. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httperror7.md b/docs/models/errors/httperror7.md new file mode 100644 index 0000000..cd9ccc9 --- /dev/null +++ b/docs/models/errors/httperror7.md @@ -0,0 +1,11 @@ +# HTTPError7 + +HTTP error response model. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httperror8.md b/docs/models/errors/httperror8.md new file mode 100644 index 0000000..8b952e4 --- /dev/null +++ b/docs/models/errors/httperror8.md @@ -0,0 +1,11 @@ +# HTTPError8 + +HTTP error response model. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httperror9.md b/docs/models/errors/httperror9.md new file mode 100644 index 0000000..2cc86c5 --- /dev/null +++ b/docs/models/errors/httperror9.md @@ -0,0 +1,11 @@ +# HTTPError9 + +HTTP error response model. + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `detail` | [components.APIError](../../models/components/apierror.md) | :heavy_check_mark: | Detailed error information. | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/httpvalidationerror.md b/docs/models/errors/httpvalidationerror.md index cdabf14..b94283a 100644 --- a/docs/models/errors/httpvalidationerror.md +++ b/docs/models/errors/httpvalidationerror.md @@ -6,9 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta1` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta2` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta3` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta4` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta5` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `detail` | List[[components.ValidationError](../../models/components/validationerror.md)] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror.md b/docs/models/errors/studioapierror.md index cfab96a..78fcb46 100644 --- a/docs/models/errors/studioapierror.md +++ b/docs/models/errors/studioapierror.md @@ -1,35 +1,9 @@ # StudioAPIError -Error - ## Fields | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta1` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta2` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta3` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta4` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta5` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta6` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta7` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta8` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta9` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta10` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta11` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta12` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta13` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta14` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta15` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta16` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta17` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta18` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta19` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta20` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta21` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta22` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta23` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `http_meta24` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror1.md b/docs/models/errors/studioapierror1.md new file mode 100644 index 0000000..e67c766 --- /dev/null +++ b/docs/models/errors/studioapierror1.md @@ -0,0 +1,10 @@ +# StudioAPIError1 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `http_meta1` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `http_meta2` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror10.md b/docs/models/errors/studioapierror10.md new file mode 100644 index 0000000..a24ef1c --- /dev/null +++ b/docs/models/errors/studioapierror10.md @@ -0,0 +1,9 @@ +# StudioAPIError10 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror11.md b/docs/models/errors/studioapierror11.md new file mode 100644 index 0000000..94f9d02 --- /dev/null +++ b/docs/models/errors/studioapierror11.md @@ -0,0 +1,9 @@ +# StudioAPIError11 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror12.md b/docs/models/errors/studioapierror12.md new file mode 100644 index 0000000..8de7fc6 --- /dev/null +++ b/docs/models/errors/studioapierror12.md @@ -0,0 +1,9 @@ +# StudioAPIError12 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror13.md b/docs/models/errors/studioapierror13.md new file mode 100644 index 0000000..d1a3d01 --- /dev/null +++ b/docs/models/errors/studioapierror13.md @@ -0,0 +1,9 @@ +# StudioAPIError13 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror14.md b/docs/models/errors/studioapierror14.md new file mode 100644 index 0000000..8463be8 --- /dev/null +++ b/docs/models/errors/studioapierror14.md @@ -0,0 +1,9 @@ +# StudioAPIError14 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror15.md b/docs/models/errors/studioapierror15.md new file mode 100644 index 0000000..e731613 --- /dev/null +++ b/docs/models/errors/studioapierror15.md @@ -0,0 +1,9 @@ +# StudioAPIError15 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror16.md b/docs/models/errors/studioapierror16.md new file mode 100644 index 0000000..7cecdf2 --- /dev/null +++ b/docs/models/errors/studioapierror16.md @@ -0,0 +1,9 @@ +# StudioAPIError16 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror17.md b/docs/models/errors/studioapierror17.md new file mode 100644 index 0000000..6b339ee --- /dev/null +++ b/docs/models/errors/studioapierror17.md @@ -0,0 +1,9 @@ +# StudioAPIError17 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror2.md b/docs/models/errors/studioapierror2.md new file mode 100644 index 0000000..734ef5a --- /dev/null +++ b/docs/models/errors/studioapierror2.md @@ -0,0 +1,11 @@ +# StudioAPIError2 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `http_meta1` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `http_meta2` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror3.md b/docs/models/errors/studioapierror3.md new file mode 100644 index 0000000..f627f68 --- /dev/null +++ b/docs/models/errors/studioapierror3.md @@ -0,0 +1,12 @@ +# StudioAPIError3 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `http_meta1` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `http_meta2` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `http_meta3` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror4.md b/docs/models/errors/studioapierror4.md new file mode 100644 index 0000000..e9c829c --- /dev/null +++ b/docs/models/errors/studioapierror4.md @@ -0,0 +1,9 @@ +# StudioAPIError4 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror5.md b/docs/models/errors/studioapierror5.md new file mode 100644 index 0000000..4fc3514 --- /dev/null +++ b/docs/models/errors/studioapierror5.md @@ -0,0 +1,9 @@ +# StudioAPIError5 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror6.md b/docs/models/errors/studioapierror6.md new file mode 100644 index 0000000..8d2dac7 --- /dev/null +++ b/docs/models/errors/studioapierror6.md @@ -0,0 +1,9 @@ +# StudioAPIError6 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror7.md b/docs/models/errors/studioapierror7.md new file mode 100644 index 0000000..5261483 --- /dev/null +++ b/docs/models/errors/studioapierror7.md @@ -0,0 +1,9 @@ +# StudioAPIError7 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror8.md b/docs/models/errors/studioapierror8.md new file mode 100644 index 0000000..874b623 --- /dev/null +++ b/docs/models/errors/studioapierror8.md @@ -0,0 +1,9 @@ +# StudioAPIError8 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/errors/studioapierror9.md b/docs/models/errors/studioapierror9.md new file mode 100644 index 0000000..e020738 --- /dev/null +++ b/docs/models/errors/studioapierror9.md @@ -0,0 +1,9 @@ +# StudioAPIError9 + + +## Fields + +| Field | Type | Required | Description | +| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/models/operations/addmultistreamtargetresponse.md b/docs/models/operations/addmultistreamtargetresponse.md index cd8014c..3a7717f 100644 --- a/docs/models/operations/addmultistreamtargetresponse.md +++ b/docs/models/operations/addmultistreamtargetresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/createclipresponse.md b/docs/models/operations/createclipresponse.md index 612da92..b7a6f19 100644 --- a/docs/models/operations/createclipresponse.md +++ b/docs/models/operations/createclipresponse.md @@ -7,4 +7,4 @@ | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | [Optional[operations.CreateClipData]](../../models/operations/createclipdata.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/createmultistreamtargetresponse.md b/docs/models/operations/createmultistreamtargetresponse.md index 3897522..7b5d2b9 100644 --- a/docs/models/operations/createmultistreamtargetresponse.md +++ b/docs/models/operations/createmultistreamtargetresponse.md @@ -7,4 +7,4 @@ | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `multistream_target` | [Optional[components.MultistreamTarget]](../../models/components/multistreamtarget.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/createroomresponse.md b/docs/models/operations/createroomresponse.md index 9d49675..740fa23 100644 --- a/docs/models/operations/createroomresponse.md +++ b/docs/models/operations/createroomresponse.md @@ -7,4 +7,4 @@ | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `create_room_response` | [Optional[components.CreateRoomResponse]](../../models/components/createroomresponse.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/createroomuserresponse.md b/docs/models/operations/createroomuserresponse.md index 461d902..5b24a0a 100644 --- a/docs/models/operations/createroomuserresponse.md +++ b/docs/models/operations/createroomuserresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `room_user_response` | [Optional[components.RoomUserResponse]](../../models/components/roomuserresponse.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/createsigningkeyresponse.md b/docs/models/operations/createsigningkeyresponse.md index 4e018a3..b9973e7 100644 --- a/docs/models/operations/createsigningkeyresponse.md +++ b/docs/models/operations/createsigningkeyresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `signing_key` | [Optional[components.SigningKey]](../../models/components/signingkey.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/createstreamresponse.md b/docs/models/operations/createstreamresponse.md index 1482751..76b164e 100644 --- a/docs/models/operations/createstreamresponse.md +++ b/docs/models/operations/createstreamresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `stream` | [Optional[components.Stream]](../../models/components/stream.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/createwebhookresponse.md b/docs/models/operations/createwebhookresponse.md index 08542a4..00f69bb 100644 --- a/docs/models/operations/createwebhookresponse.md +++ b/docs/models/operations/createwebhookresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `webhook` | [Optional[components.Webhook]](../../models/components/webhook.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/deleteassetresponse.md b/docs/models/operations/deleteassetresponse.md index 90e5945..a18c72a 100644 --- a/docs/models/operations/deleteassetresponse.md +++ b/docs/models/operations/deleteassetresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/deletemultistreamtargetresponse.md b/docs/models/operations/deletemultistreamtargetresponse.md index d0dcf8b..281d88c 100644 --- a/docs/models/operations/deletemultistreamtargetresponse.md +++ b/docs/models/operations/deletemultistreamtargetresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/deleteroomresponse.md b/docs/models/operations/deleteroomresponse.md index a3a9298..03808e0 100644 --- a/docs/models/operations/deleteroomresponse.md +++ b/docs/models/operations/deleteroomresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/deleteroomuserresponse.md b/docs/models/operations/deleteroomuserresponse.md index 9e8085d..587064c 100644 --- a/docs/models/operations/deleteroomuserresponse.md +++ b/docs/models/operations/deleteroomuserresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/deletesigningkeyresponse.md b/docs/models/operations/deletesigningkeyresponse.md index e1758fe..2638362 100644 --- a/docs/models/operations/deletesigningkeyresponse.md +++ b/docs/models/operations/deletesigningkeyresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/deletestreamresponse.md b/docs/models/operations/deletestreamresponse.md index 3fd0726..6f57f2c 100644 --- a/docs/models/operations/deletestreamresponse.md +++ b/docs/models/operations/deletestreamresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/deletewebhookresponse.md b/docs/models/operations/deletewebhookresponse.md index 04ff0b6..7282e3f 100644 --- a/docs/models/operations/deletewebhookresponse.md +++ b/docs/models/operations/deletewebhookresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `webhook` | [Optional[components.Webhook]](../../models/components/webhook.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/genaudiototextresponse.md b/docs/models/operations/genaudiototextresponse.md index aeb918a..6d47aad 100644 --- a/docs/models/operations/genaudiototextresponse.md +++ b/docs/models/operations/genaudiototextresponse.md @@ -7,4 +7,4 @@ | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `text_response` | [Optional[components.TextResponse]](../../models/components/textresponse.md) | :heavy_minus_sign: | Successful Response | -| `studio_api_error` | *Optional[errors.StudioAPIError]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `studio_api_error` | [Optional[models.StudioAPIError]](../../models/studioapierror.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/genimagetoimageresponse.md b/docs/models/operations/genimagetoimageresponse.md index 94773a2..9f3d3a0 100644 --- a/docs/models/operations/genimagetoimageresponse.md +++ b/docs/models/operations/genimagetoimageresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `image_response` | [Optional[components.ImageResponse]](../../models/components/imageresponse.md) | :heavy_minus_sign: | Successful Response | -| `studio_api_error` | *Optional[errors.StudioAPIError]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `studio_api_error` | [Optional[models.StudioAPIError]](../../models/studioapierror.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/genimagetovideoresponse.md b/docs/models/operations/genimagetovideoresponse.md index a099ccd..bf146bd 100644 --- a/docs/models/operations/genimagetovideoresponse.md +++ b/docs/models/operations/genimagetovideoresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `video_response` | [Optional[components.VideoResponse]](../../models/components/videoresponse.md) | :heavy_minus_sign: | Successful Response | -| `studio_api_error` | *Optional[errors.StudioAPIError]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `studio_api_error` | [Optional[models.StudioAPIError]](../../models/studioapierror.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/gensegmentanything2response.md b/docs/models/operations/gensegmentanything2response.md index 6fff6f4..d36ce23 100644 --- a/docs/models/operations/gensegmentanything2response.md +++ b/docs/models/operations/gensegmentanything2response.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `masks_response` | [Optional[components.MasksResponse]](../../models/components/masksresponse.md) | :heavy_minus_sign: | Successful Response | -| `studio_api_error` | *Optional[errors.StudioAPIError]* | :heavy_minus_sign: | Error | \ No newline at end of file +| Field | Type | Required | Description | +| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `masks_response` | [Optional[components.MasksResponse]](../../models/components/masksresponse.md) | :heavy_minus_sign: | Successful Response | +| `studio_api_error` | [Optional[components.StudioAPIError5]](../../models/components/studioapierror5.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/gentexttoimageresponse.md b/docs/models/operations/gentexttoimageresponse.md index df754f0..7c32825 100644 --- a/docs/models/operations/gentexttoimageresponse.md +++ b/docs/models/operations/gentexttoimageresponse.md @@ -3,8 +3,8 @@ ## Fields -| Field | Type | Required | Description | -| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | -| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `image_response` | [Optional[components.ImageResponse]](../../models/components/imageresponse.md) | :heavy_minus_sign: | Successful Response | -| `studio_api_error` | *Optional[errors.StudioAPIError]* | :heavy_minus_sign: | Error | \ No newline at end of file +| Field | Type | Required | Description | +| -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | +| `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | +| `image_response` | [Optional[components.ImageResponse]](../../models/components/imageresponse.md) | :heavy_minus_sign: | Successful Response | +| `studio_api_error` | [Optional[components.StudioAPIError]](../../models/components/studioapierror.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/genupscaleresponse.md b/docs/models/operations/genupscaleresponse.md index 32d2d08..9a41ba9 100644 --- a/docs/models/operations/genupscaleresponse.md +++ b/docs/models/operations/genupscaleresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `image_response` | [Optional[components.ImageResponse]](../../models/components/imageresponse.md) | :heavy_minus_sign: | Successful Response | -| `studio_api_error` | *Optional[errors.StudioAPIError]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `studio_api_error` | [Optional[models.StudioAPIError]](../../models/studioapierror.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getassetresponse.md b/docs/models/operations/getassetresponse.md index 27c1eba..85b4db7 100644 --- a/docs/models/operations/getassetresponse.md +++ b/docs/models/operations/getassetresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `asset` | [Optional[components.Asset]](../../models/components/asset.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getassetsresponse.md b/docs/models/operations/getassetsresponse.md index 4572c43..63db5b6 100644 --- a/docs/models/operations/getassetsresponse.md +++ b/docs/models/operations/getassetsresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | List[[components.Asset](../../models/components/asset.md)] | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getclipsresponse.md b/docs/models/operations/getclipsresponse.md index f1d7034..d27e6d3 100644 --- a/docs/models/operations/getclipsresponse.md +++ b/docs/models/operations/getclipsresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | List[[components.Asset](../../models/components/asset.md)] | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getcreatorviewershipmetricsresponse.md b/docs/models/operations/getcreatorviewershipmetricsresponse.md index 1ae4d50..8891181 100644 --- a/docs/models/operations/getcreatorviewershipmetricsresponse.md +++ b/docs/models/operations/getcreatorviewershipmetricsresponse.md @@ -7,4 +7,4 @@ | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | List[[components.ViewershipMetric](../../models/components/viewershipmetric.md)] | :heavy_minus_sign: | A list of Metric objects | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getmultistreamtargetresponse.md b/docs/models/operations/getmultistreamtargetresponse.md index 05f5d8d..7c8ec6d 100644 --- a/docs/models/operations/getmultistreamtargetresponse.md +++ b/docs/models/operations/getmultistreamtargetresponse.md @@ -7,4 +7,4 @@ | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `multistream_target` | [Optional[components.MultistreamTarget]](../../models/components/multistreamtarget.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getmultistreamtargetsresponse.md b/docs/models/operations/getmultistreamtargetsresponse.md index 0d930c7..3648e72 100644 --- a/docs/models/operations/getmultistreamtargetsresponse.md +++ b/docs/models/operations/getmultistreamtargetsresponse.md @@ -7,4 +7,4 @@ | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | List[[components.MultistreamTarget](../../models/components/multistreamtarget.md)] | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getplaybackinforesponse.md b/docs/models/operations/getplaybackinforesponse.md index 5769c1d..8095cae 100644 --- a/docs/models/operations/getplaybackinforesponse.md +++ b/docs/models/operations/getplaybackinforesponse.md @@ -7,4 +7,4 @@ | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `playback_info` | [Optional[components.PlaybackInfo]](../../models/components/playbackinfo.md) | :heavy_minus_sign: | Successful response | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Playback not found | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Playback not found | \ No newline at end of file diff --git a/docs/models/operations/getpublicviewershipmetricsresponse.md b/docs/models/operations/getpublicviewershipmetricsresponse.md index bd66d2e..e1d502a 100644 --- a/docs/models/operations/getpublicviewershipmetricsresponse.md +++ b/docs/models/operations/getpublicviewershipmetricsresponse.md @@ -7,4 +7,4 @@ | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | [Optional[operations.GetPublicViewershipMetricsData]](../../models/operations/getpublicviewershipmetricsdata.md) | :heavy_minus_sign: | A single Metric object with the viewCount and playtimeMins metrics. | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getrealtimeviewershipnowresponse.md b/docs/models/operations/getrealtimeviewershipnowresponse.md index 603dafe..406d59b 100644 --- a/docs/models/operations/getrealtimeviewershipnowresponse.md +++ b/docs/models/operations/getrealtimeviewershipnowresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | List[[components.RealtimeViewershipMetric](../../models/components/realtimeviewershipmetric.md)] | :heavy_minus_sign: | A list of Metric objects | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getrecordedsessionsresponse.md b/docs/models/operations/getrecordedsessionsresponse.md index 89363ad..d13f1b3 100644 --- a/docs/models/operations/getrecordedsessionsresponse.md +++ b/docs/models/operations/getrecordedsessionsresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | List[[components.Session](../../models/components/session.md)] | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getroomresponse.md b/docs/models/operations/getroomresponse.md index 21bf5f8..0b82c04 100644 --- a/docs/models/operations/getroomresponse.md +++ b/docs/models/operations/getroomresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `room` | [Optional[components.Room]](../../models/components/room.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getroomuserresponse.md b/docs/models/operations/getroomuserresponse.md index e14cda5..abed0cf 100644 --- a/docs/models/operations/getroomuserresponse.md +++ b/docs/models/operations/getroomuserresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `get_room_user_response` | [Optional[components.GetRoomUserResponse]](../../models/components/getroomuserresponse.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getsessionclipsresponse.md b/docs/models/operations/getsessionclipsresponse.md index 24b68af..76cc86a 100644 --- a/docs/models/operations/getsessionclipsresponse.md +++ b/docs/models/operations/getsessionclipsresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | List[[components.Asset](../../models/components/asset.md)] | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getsessionresponse.md b/docs/models/operations/getsessionresponse.md index ce3b8c7..f87d8e3 100644 --- a/docs/models/operations/getsessionresponse.md +++ b/docs/models/operations/getsessionresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `session` | [Optional[components.Session]](../../models/components/session.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getsessionsresponse.md b/docs/models/operations/getsessionsresponse.md index a50e6ff..8982d77 100644 --- a/docs/models/operations/getsessionsresponse.md +++ b/docs/models/operations/getsessionsresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | List[[components.Session](../../models/components/session.md)] | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getsigningkeyresponse.md b/docs/models/operations/getsigningkeyresponse.md index ab7547a..b4085dc 100644 --- a/docs/models/operations/getsigningkeyresponse.md +++ b/docs/models/operations/getsigningkeyresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `signing_key` | [Optional[components.SigningKey]](../../models/components/signingkey.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getsigningkeysresponse.md b/docs/models/operations/getsigningkeysresponse.md index 578a77d..90b5ab5 100644 --- a/docs/models/operations/getsigningkeysresponse.md +++ b/docs/models/operations/getsigningkeysresponse.md @@ -7,4 +7,4 @@ | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | List[[components.SigningKey](../../models/components/signingkey.md)] | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getstreamresponse.md b/docs/models/operations/getstreamresponse.md index 084772d..3ae8aae 100644 --- a/docs/models/operations/getstreamresponse.md +++ b/docs/models/operations/getstreamresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `stream` | [Optional[components.Stream]](../../models/components/stream.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getstreamsresponse.md b/docs/models/operations/getstreamsresponse.md index 527c651..c0515b0 100644 --- a/docs/models/operations/getstreamsresponse.md +++ b/docs/models/operations/getstreamsresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | List[[components.Stream](../../models/components/stream.md)] | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/gettasksresponse.md b/docs/models/operations/gettasksresponse.md index dcd2aff..7d438dc 100644 --- a/docs/models/operations/gettasksresponse.md +++ b/docs/models/operations/gettasksresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | List[[components.Task](../../models/components/task.md)] | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getusagemetricsresponse.md b/docs/models/operations/getusagemetricsresponse.md index a0db105..b62ca84 100644 --- a/docs/models/operations/getusagemetricsresponse.md +++ b/docs/models/operations/getusagemetricsresponse.md @@ -7,4 +7,4 @@ | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `usage_metric` | [Optional[components.UsageMetric]](../../models/components/usagemetric.md) | :heavy_minus_sign: | A Usage Metric object | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getviewershipmetricsresponse.md b/docs/models/operations/getviewershipmetricsresponse.md index 8f796d1..62c5417 100644 --- a/docs/models/operations/getviewershipmetricsresponse.md +++ b/docs/models/operations/getviewershipmetricsresponse.md @@ -7,4 +7,4 @@ | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | List[[components.ViewershipMetric](../../models/components/viewershipmetric.md)] | :heavy_minus_sign: | A list of Metric objects | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getwebhooklogresponse.md b/docs/models/operations/getwebhooklogresponse.md index fdcef2c..b2d2217 100644 --- a/docs/models/operations/getwebhooklogresponse.md +++ b/docs/models/operations/getwebhooklogresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `webhook_log` | [Optional[components.WebhookLog]](../../models/components/webhooklog.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getwebhooklogsresponse.md b/docs/models/operations/getwebhooklogsresponse.md index 88c8a3f..11c6c32 100644 --- a/docs/models/operations/getwebhooklogsresponse.md +++ b/docs/models/operations/getwebhooklogsresponse.md @@ -7,4 +7,4 @@ | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------- | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | List[[components.WebhookLog](../../models/components/webhooklog.md)] | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getwebhookresponse.md b/docs/models/operations/getwebhookresponse.md index 99ebd10..ad97a10 100644 --- a/docs/models/operations/getwebhookresponse.md +++ b/docs/models/operations/getwebhookresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `webhook` | [Optional[components.Webhook]](../../models/components/webhook.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/getwebhooksresponse.md b/docs/models/operations/getwebhooksresponse.md index 4ef11fd..40dd3f5 100644 --- a/docs/models/operations/getwebhooksresponse.md +++ b/docs/models/operations/getwebhooksresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | List[[components.Webhook](../../models/components/webhook.md)] | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/removemultistreamtargetresponse.md b/docs/models/operations/removemultistreamtargetresponse.md index b102046..18be702 100644 --- a/docs/models/operations/removemultistreamtargetresponse.md +++ b/docs/models/operations/removemultistreamtargetresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/requestuploadresponse.md b/docs/models/operations/requestuploadresponse.md index 7d5c9ac..c0908de 100644 --- a/docs/models/operations/requestuploadresponse.md +++ b/docs/models/operations/requestuploadresponse.md @@ -7,4 +7,4 @@ | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `data` | [Optional[operations.RequestUploadData]](../../models/operations/requestuploaddata.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/resendwebhookresponse.md b/docs/models/operations/resendwebhookresponse.md index 483c4d3..1159ed9 100644 --- a/docs/models/operations/resendwebhookresponse.md +++ b/docs/models/operations/resendwebhookresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | ------------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `webhook_log` | [Optional[components.WebhookLog]](../../models/components/webhooklog.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/startpullstreamresponse.md b/docs/models/operations/startpullstreamresponse.md index 64554d2..775e44d 100644 --- a/docs/models/operations/startpullstreamresponse.md +++ b/docs/models/operations/startpullstreamresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/startroomegressresponse.md b/docs/models/operations/startroomegressresponse.md index 06ce886..c86bc7b 100644 --- a/docs/models/operations/startroomegressresponse.md +++ b/docs/models/operations/startroomegressresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/stoproomegressresponse.md b/docs/models/operations/stoproomegressresponse.md index 1b1ffd0..2899db1 100644 --- a/docs/models/operations/stoproomegressresponse.md +++ b/docs/models/operations/stoproomegressresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/terminatestreamresponse.md b/docs/models/operations/terminatestreamresponse.md index b1c1779..1705cc0 100644 --- a/docs/models/operations/terminatestreamresponse.md +++ b/docs/models/operations/terminatestreamresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/transcodevideoresponse.md b/docs/models/operations/transcodevideoresponse.md index 4b16179..3ad7f5d 100644 --- a/docs/models/operations/transcodevideoresponse.md +++ b/docs/models/operations/transcodevideoresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `task` | [Optional[components.Task]](../../models/components/task.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/updateassetresponse.md b/docs/models/operations/updateassetresponse.md index 59a0840..49bda4e 100644 --- a/docs/models/operations/updateassetresponse.md +++ b/docs/models/operations/updateassetresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `asset` | [Optional[components.Asset]](../../models/components/asset.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/updatemultistreamtargetresponse.md b/docs/models/operations/updatemultistreamtargetresponse.md index 1ab6ed4..596d6a8 100644 --- a/docs/models/operations/updatemultistreamtargetresponse.md +++ b/docs/models/operations/updatemultistreamtargetresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/updateroomuserresponse.md b/docs/models/operations/updateroomuserresponse.md index 307fc84..3a0bc18 100644 --- a/docs/models/operations/updateroomuserresponse.md +++ b/docs/models/operations/updateroomuserresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/updatesigningkeyresponse.md b/docs/models/operations/updatesigningkeyresponse.md index 6391b44..a91570d 100644 --- a/docs/models/operations/updatesigningkeyresponse.md +++ b/docs/models/operations/updatesigningkeyresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/updatestreamresponse.md b/docs/models/operations/updatestreamresponse.md index 7813ea0..03d9155 100644 --- a/docs/models/operations/updatestreamresponse.md +++ b/docs/models/operations/updatestreamresponse.md @@ -6,4 +6,4 @@ | Field | Type | Required | Description | | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/updatewebhookresponse.md b/docs/models/operations/updatewebhookresponse.md index 29ba655..551625b 100644 --- a/docs/models/operations/updatewebhookresponse.md +++ b/docs/models/operations/updatewebhookresponse.md @@ -7,4 +7,4 @@ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `webhook` | [Optional[components.Webhook]](../../models/components/webhook.md) | :heavy_minus_sign: | Success | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/operations/uploadassetresponse.md b/docs/models/operations/uploadassetresponse.md index a512e4a..daec12b 100644 --- a/docs/models/operations/uploadassetresponse.md +++ b/docs/models/operations/uploadassetresponse.md @@ -8,4 +8,4 @@ | `http_meta` | [components.HTTPMetadata](../../models/components/httpmetadata.md) | :heavy_check_mark: | N/A | | `two_hundred_application_json_data` | [Optional[operations.UploadAssetData]](../../models/operations/uploadassetdata.md) | :heavy_minus_sign: | Upload in progress | | `two_hundred_and_one_application_json_data` | [Optional[operations.UploadAssetDataOutput]](../../models/operations/uploadassetdataoutput.md) | :heavy_minus_sign: | Upload started | -| `error` | *Optional[errors.Error]* | :heavy_minus_sign: | Error | \ No newline at end of file +| `error` | [Optional[components.Error]](../../models/components/error.md) | :heavy_minus_sign: | Error | \ No newline at end of file diff --git a/docs/models/studioapierror.md b/docs/models/studioapierror.md new file mode 100644 index 0000000..98b32a3 --- /dev/null +++ b/docs/models/studioapierror.md @@ -0,0 +1,8 @@ +# StudioAPIError + + +## Fields + +| Field | Type | Required | Description | +| ------------------ | ------------------ | ------------------ | ------------------ | +| `errors` | List[*str*] | :heavy_minus_sign: | N/A | \ No newline at end of file diff --git a/docs/sdks/accesscontrol/README.md b/docs/sdks/accesscontrol/README.md index a4cd301..804340b 100644 --- a/docs/sdks/accesscontrol/README.md +++ b/docs/sdks/accesscontrol/README.md @@ -48,10 +48,9 @@ if res.signing_key is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get_all @@ -86,10 +85,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## delete @@ -125,10 +123,9 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get @@ -164,10 +161,9 @@ if res.signing_key is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## update @@ -204,6 +200,6 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/asset/README.md b/docs/sdks/asset/README.md index f1b540e..c922582 100644 --- a/docs/sdks/asset/README.md +++ b/docs/sdks/asset/README.md @@ -47,10 +47,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## create @@ -183,10 +182,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## create_via_url @@ -249,10 +247,9 @@ if res.two_hundred_application_json_data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get @@ -288,10 +285,9 @@ if res.asset is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## update @@ -339,10 +335,9 @@ if res.asset is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## delete @@ -378,6 +373,6 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/generate/README.md b/docs/sdks/generate/README.md index 90da4a1..0caa905 100644 --- a/docs/sdks/generate/README.md +++ b/docs/sdks/generate/README.md @@ -50,14 +50,13 @@ if res.image_response is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | | errors.GenTextToImageResponseBody | 400 | application/json | | errors.GenTextToImageGenerateResponseBody | 401 | application/json | | errors.GenTextToImageGenerateResponseResponseBody | 422 | application/json | | errors.GenTextToImageGenerateResponse500ResponseBody | 500 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## image_to_image @@ -99,14 +98,13 @@ if res.image_response is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | | errors.GenImageToImageResponseBody | 400 | application/json | | errors.GenImageToImageGenerateResponseBody | 401 | application/json | | errors.GenImageToImageGenerateResponseResponseBody | 422 | application/json | | errors.GenImageToImageGenerateResponse500ResponseBody | 500 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## image_to_video @@ -147,14 +145,13 @@ if res.video_response is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ----------------------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------- | | errors.GenImageToVideoResponseBody | 400 | application/json | | errors.GenImageToVideoGenerateResponseBody | 401 | application/json | | errors.GenImageToVideoGenerateResponseResponseBody | 422 | application/json | | errors.GenImageToVideoGenerateResponse500ResponseBody | 500 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## upscale @@ -196,14 +193,13 @@ if res.image_response is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ------------------------------------------------ | ------------------------------------------------ | ------------------------------------------------ | | errors.GenUpscaleResponseBody | 400 | application/json | | errors.GenUpscaleGenerateResponseBody | 401 | application/json | | errors.GenUpscaleGenerateResponseResponseBody | 422 | application/json | | errors.GenUpscaleGenerateResponse500ResponseBody | 500 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## audio_to_text @@ -244,15 +240,14 @@ if res.text_response is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------------------------------------------- | ---------------------------------------------------- | ---------------------------------------------------- | | errors.GenAudioToTextResponseBody | 400 | application/json | | errors.GenAudioToTextGenerateResponseBody | 401 | application/json | | errors.GenAudioToTextGenerateResponseResponseBody | 413 | application/json | | errors.GenAudioToTextGenerateResponse422ResponseBody | 422 | application/json | | errors.GenAudioToTextGenerateResponse500ResponseBody | 500 | application/json | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## segment_anything2 @@ -293,10 +288,10 @@ if res.masks_response is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------------------------------------------------- | --------------------------------------------------------- | --------------------------------------------------------- | | errors.GenSegmentAnything2ResponseBody | 400 | application/json | | errors.GenSegmentAnything2GenerateResponseBody | 401 | application/json | | errors.GenSegmentAnything2GenerateResponseResponseBody | 422 | application/json | | errors.GenSegmentAnything2GenerateResponse500ResponseBody | 500 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/metrics/README.md b/docs/sdks/metrics/README.md index 613fbe7..66bdfff 100644 --- a/docs/sdks/metrics/README.md +++ b/docs/sdks/metrics/README.md @@ -50,10 +50,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get_viewership @@ -90,10 +89,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get_creator_viewership @@ -130,10 +128,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get_public_viewership @@ -172,10 +169,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get_usage @@ -211,6 +207,6 @@ if res.usage_metric is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/multistream/README.md b/docs/sdks/multistream/README.md index de9a910..e2c5b2f 100644 --- a/docs/sdks/multistream/README.md +++ b/docs/sdks/multistream/README.md @@ -46,10 +46,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## create @@ -87,10 +86,9 @@ if res.multistream_target is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get @@ -126,10 +124,9 @@ if res.multistream_target is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## update @@ -168,10 +165,9 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## delete @@ -209,6 +205,6 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/playback/README.md b/docs/sdks/playback/README.md index c8394df..197ec70 100644 --- a/docs/sdks/playback/README.md +++ b/docs/sdks/playback/README.md @@ -43,7 +43,7 @@ if res.playback_info is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | ---------------- | ---------------- | ---------------- | | errors.Error | 404 | application/json | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/room/README.md b/docs/sdks/room/README.md index ce586f5..d0016d7 100644 --- a/docs/sdks/room/README.md +++ b/docs/sdks/room/README.md @@ -53,10 +53,9 @@ if res.create_room_response is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## ~~get~~ @@ -94,10 +93,9 @@ if res.room is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## ~~delete~~ @@ -135,10 +133,9 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## ~~start_egress~~ @@ -181,10 +178,9 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## ~~stop_egress~~ @@ -222,10 +218,9 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## ~~create_user~~ @@ -271,10 +266,9 @@ if res.room_user_response is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## ~~get_user~~ @@ -313,10 +307,9 @@ if res.get_room_user_response is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## ~~update_user~~ @@ -359,10 +352,9 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## ~~delete_user~~ @@ -401,6 +393,6 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/session/README.md b/docs/sdks/session/README.md index f47a93f..5ba35b8 100644 --- a/docs/sdks/session/README.md +++ b/docs/sdks/session/README.md @@ -46,10 +46,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get_all @@ -84,10 +83,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get @@ -123,10 +121,9 @@ if res.session is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get_recorded @@ -163,6 +160,6 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/stream/README.md b/docs/sdks/stream/README.md index ef5e778..00474a2 100644 --- a/docs/sdks/stream/README.md +++ b/docs/sdks/stream/README.md @@ -99,7 +99,7 @@ res = s.stream.create(request={ "multistream": { "targets": [ { - "profile": "720p", + "profile": "720p0", "video_only": False, "id": "PUSH123", "spec": { @@ -130,10 +130,9 @@ if res.stream is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get_all @@ -169,10 +168,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get @@ -208,10 +206,9 @@ if res.stream is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## update @@ -232,7 +229,7 @@ res = s.stream.update(id="", stream_patch_payload={ "multistream": { "targets": [ { - "profile": "720p", + "profile": "720p0", "video_only": False, "id": "PUSH123", "spec": { @@ -301,10 +298,9 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## delete @@ -344,10 +340,9 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## terminate @@ -391,10 +386,9 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## start_pull @@ -437,10 +431,9 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## create_clip @@ -482,10 +475,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get_clips @@ -521,10 +513,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## add_multistream_target @@ -569,10 +560,9 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## remove_multistream_target @@ -609,6 +599,6 @@ if res is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/task/README.md b/docs/sdks/task/README.md index f0e7056..eacd8d8 100644 --- a/docs/sdks/task/README.md +++ b/docs/sdks/task/README.md @@ -43,10 +43,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get @@ -82,6 +81,6 @@ if res.task is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/transcode/README.md b/docs/sdks/transcode/README.md index 0f9cd64..df085fb 100644 --- a/docs/sdks/transcode/README.md +++ b/docs/sdks/transcode/README.md @@ -203,6 +203,6 @@ if res.task is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/docs/sdks/webhook/README.md b/docs/sdks/webhook/README.md index 957dcb9..dda3386 100644 --- a/docs/sdks/webhook/README.md +++ b/docs/sdks/webhook/README.md @@ -49,10 +49,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## create @@ -100,10 +99,9 @@ if res.webhook is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get @@ -139,10 +137,9 @@ if res.webhook is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## update @@ -190,10 +187,9 @@ if res.webhook is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## delete @@ -229,10 +225,9 @@ if res.webhook is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get_logs @@ -268,10 +263,9 @@ if res.data is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## get_log @@ -308,10 +302,9 @@ if res.webhook_log is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | - +| errors.SDKError | 4XX, 5XX | \*/\* | ## resend_log @@ -351,6 +344,6 @@ if res.webhook_log is not None: ### Errors -| Error Object | Status Code | Content Type | +| Error Type | Status Code | Content Type | | --------------- | --------------- | --------------- | -| errors.SDKError | 4xx-5xx | */* | +| errors.SDKError | 4XX, 5XX | \*/\* | \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 0c2e12b..478529f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "livepeer" -version = "0.3.0" +version = "0.3.1" description = "Python Client SDK for Livepeer Studio" authors = ["Speakeasy",] readme = "README-PYPI.md" diff --git a/src/livepeer/accesscontrol.py b/src/livepeer/accesscontrol.py index 1a1c360..03eb508 100644 --- a/src/livepeer/accesscontrol.py +++ b/src/livepeer/accesscontrol.py @@ -82,7 +82,7 @@ def create( ) if utils.match_response(http_res, "default", "application/json"): return operations.CreateSigningKeyResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -165,7 +165,7 @@ async def create_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.CreateSigningKeyResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -244,7 +244,7 @@ def get_all( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetSigningKeysResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -323,7 +323,7 @@ async def get_all_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetSigningKeysResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -406,7 +406,7 @@ def delete( ) if utils.match_response(http_res, "default", "application/json"): return operations.DeleteSigningKeyResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -489,7 +489,7 @@ async def delete_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.DeleteSigningKeyResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -575,7 +575,7 @@ def get( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetSigningKeyResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -661,7 +661,7 @@ async def get_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetSigningKeyResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -759,7 +759,7 @@ def update( ) if utils.match_response(http_res, "default", "application/json"): return operations.UpdateSigningKeyResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -857,7 +857,7 @@ async def update_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.UpdateSigningKeyResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) diff --git a/src/livepeer/asset.py b/src/livepeer/asset.py index 540cbd0..57aaf85 100644 --- a/src/livepeer/asset.py +++ b/src/livepeer/asset.py @@ -78,7 +78,7 @@ def get_all( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetAssetsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -157,7 +157,7 @@ async def get_all_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetAssetsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -319,7 +319,7 @@ def create( ) if utils.match_response(http_res, "default", "application/json"): return operations.RequestUploadResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -481,7 +481,7 @@ async def create_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.RequestUploadResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -580,7 +580,7 @@ def create_via_url( ) if utils.match_response(http_res, "default", "application/json"): return operations.UploadAssetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -679,7 +679,7 @@ async def create_via_url_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.UploadAssetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -763,7 +763,7 @@ def get( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetAssetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -847,7 +847,7 @@ async def get_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetAssetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -945,7 +945,7 @@ def update( ) if utils.match_response(http_res, "default", "application/json"): return operations.UpdateAssetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1043,7 +1043,7 @@ async def update_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.UpdateAssetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1126,7 +1126,7 @@ def delete( ) if utils.match_response(http_res, "default", "application/json"): return operations.DeleteAssetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1209,7 +1209,7 @@ async def delete_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.DeleteAssetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) diff --git a/src/livepeer/generate.py b/src/livepeer/generate.py index 425b7fa..39298a4 100644 --- a/src/livepeer/generate.py +++ b/src/livepeer/generate.py @@ -1,7 +1,7 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from .basesdk import BaseSDK -from livepeer import utils +from livepeer import models, utils from livepeer._hooks import HookContext from livepeer.models import components, errors, operations from livepeer.types import BaseModel, OptionalNullable, UNSET @@ -118,7 +118,7 @@ def text_to_image( if utils.match_response(http_res, "default", "application/json"): return operations.GenTextToImageResponse( studio_api_error=utils.unmarshal_json( - http_res.text, Optional[errors.StudioAPIError] + http_res.text, Optional[components.StudioAPIError] ), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -238,7 +238,7 @@ async def text_to_image_async( if utils.match_response(http_res, "default", "application/json"): return operations.GenTextToImageResponse( studio_api_error=utils.unmarshal_json( - http_res.text, Optional[errors.StudioAPIError] + http_res.text, Optional[components.StudioAPIError] ), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -359,7 +359,7 @@ def image_to_image( if utils.match_response(http_res, "default", "application/json"): return operations.GenImageToImageResponse( studio_api_error=utils.unmarshal_json( - http_res.text, Optional[errors.StudioAPIError] + http_res.text, Optional[models.StudioAPIError] ), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -480,7 +480,7 @@ async def image_to_image_async( if utils.match_response(http_res, "default", "application/json"): return operations.GenImageToImageResponse( studio_api_error=utils.unmarshal_json( - http_res.text, Optional[errors.StudioAPIError] + http_res.text, Optional[models.StudioAPIError] ), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -601,7 +601,7 @@ def image_to_video( if utils.match_response(http_res, "default", "application/json"): return operations.GenImageToVideoResponse( studio_api_error=utils.unmarshal_json( - http_res.text, Optional[errors.StudioAPIError] + http_res.text, Optional[models.StudioAPIError] ), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -722,7 +722,7 @@ async def image_to_video_async( if utils.match_response(http_res, "default", "application/json"): return operations.GenImageToVideoResponse( studio_api_error=utils.unmarshal_json( - http_res.text, Optional[errors.StudioAPIError] + http_res.text, Optional[models.StudioAPIError] ), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -840,7 +840,7 @@ def upscale( if utils.match_response(http_res, "default", "application/json"): return operations.GenUpscaleResponse( studio_api_error=utils.unmarshal_json( - http_res.text, Optional[errors.StudioAPIError] + http_res.text, Optional[models.StudioAPIError] ), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -958,7 +958,7 @@ async def upscale_async( if utils.match_response(http_res, "default", "application/json"): return operations.GenUpscaleResponse( studio_api_error=utils.unmarshal_json( - http_res.text, Optional[errors.StudioAPIError] + http_res.text, Optional[models.StudioAPIError] ), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1084,7 +1084,7 @@ def audio_to_text( if utils.match_response(http_res, "default", "application/json"): return operations.GenAudioToTextResponse( studio_api_error=utils.unmarshal_json( - http_res.text, Optional[errors.StudioAPIError] + http_res.text, Optional[models.StudioAPIError] ), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1210,7 +1210,7 @@ async def audio_to_text_async( if utils.match_response(http_res, "default", "application/json"): return operations.GenAudioToTextResponse( studio_api_error=utils.unmarshal_json( - http_res.text, Optional[errors.StudioAPIError] + http_res.text, Optional[models.StudioAPIError] ), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1333,7 +1333,7 @@ def segment_anything2( if utils.match_response(http_res, "default", "application/json"): return operations.GenSegmentAnything2Response( studio_api_error=utils.unmarshal_json( - http_res.text, Optional[errors.StudioAPIError] + http_res.text, Optional[components.StudioAPIError5] ), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1456,7 +1456,7 @@ async def segment_anything2_async( if utils.match_response(http_res, "default", "application/json"): return operations.GenSegmentAnything2Response( studio_api_error=utils.unmarshal_json( - http_res.text, Optional[errors.StudioAPIError] + http_res.text, Optional[components.StudioAPIError5] ), http_meta=components.HTTPMetadata(request=req, response=http_res), ) diff --git a/src/livepeer/metrics.py b/src/livepeer/metrics.py index ec356e9..ae10c73 100644 --- a/src/livepeer/metrics.py +++ b/src/livepeer/metrics.py @@ -94,7 +94,7 @@ def get_realtime_viewership( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetRealtimeViewershipNowResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -189,7 +189,7 @@ async def get_realtime_viewership_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetRealtimeViewershipNowResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -281,7 +281,7 @@ def get_viewership( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetViewershipMetricsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -373,7 +373,7 @@ async def get_viewership_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetViewershipMetricsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -467,7 +467,7 @@ def get_creator_viewership( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetCreatorViewershipMetricsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -561,7 +561,7 @@ async def get_creator_viewership_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetCreatorViewershipMetricsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -652,7 +652,7 @@ def get_public_viewership( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetPublicViewershipMetricsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -743,7 +743,7 @@ async def get_public_viewership_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetPublicViewershipMetricsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -832,7 +832,7 @@ def get_usage( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetUsageMetricsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -921,7 +921,7 @@ async def get_usage_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetUsageMetricsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) diff --git a/src/livepeer/models/__init__.py b/src/livepeer/models/__init__.py new file mode 100644 index 0000000..00ec575 --- /dev/null +++ b/src/livepeer/models/__init__.py @@ -0,0 +1,23 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from .studio_api_error import ( + StudioAPIError, + StudioAPIError, + StudioAPIError, + StudioAPIError, + StudioAPIErrorTypedDict, + StudioAPIErrorTypedDict, + StudioAPIErrorTypedDict, + StudioAPIErrorTypedDict, +) + +__all__ = [ + "StudioAPIError", + "StudioAPIError", + "StudioAPIError", + "StudioAPIError", + "StudioAPIErrorTypedDict", + "StudioAPIErrorTypedDict", + "StudioAPIErrorTypedDict", + "StudioAPIErrorTypedDict", +] diff --git a/src/livepeer/models/components/__init__.py b/src/livepeer/models/components/__init__.py index dac556e..cf18dab 100644 --- a/src/livepeer/models/components/__init__.py +++ b/src/livepeer/models/components/__init__.py @@ -97,6 +97,7 @@ ) from .encryption import Encryption, EncryptionTypedDict from .encryption_output import EncryptionOutput, EncryptionOutputTypedDict +from .error import Error, ErrorTypedDict from .export_task_params import ( Custom, CustomTypedDict, @@ -249,6 +250,8 @@ ThreeTypedDict, ) from .stream_patch_payload import StreamPatchPayload, StreamPatchPayloadTypedDict +from .studio_api_error import StudioAPIError, StudioAPIErrorTypedDict +from .studio_api_error5 import StudioAPIError5, StudioAPIError5TypedDict from .target import Target, TargetSpec, TargetSpecTypedDict, TargetTypedDict from .target_add_payload import ( TargetAddPayload, @@ -453,6 +456,8 @@ "EncryptionOutput", "EncryptionOutputTypedDict", "EncryptionTypedDict", + "Error", + "ErrorTypedDict", "Events", "Export", "ExportData", @@ -645,6 +650,10 @@ "StreamTypedDict", "StreamUserTags", "StreamUserTagsTypedDict", + "StudioAPIError", + "StudioAPIError5", + "StudioAPIError5TypedDict", + "StudioAPIErrorTypedDict", "Target", "TargetAddPayload", "TargetAddPayloadSpec", diff --git a/src/livepeer/models/components/body_gensegmentanything2.py b/src/livepeer/models/components/body_gensegmentanything2.py index 077d36f..a1e9973 100644 --- a/src/livepeer/models/components/body_gensegmentanything2.py +++ b/src/livepeer/models/components/body_gensegmentanything2.py @@ -63,7 +63,7 @@ class BodyGenSegmentAnything2(BaseModel): r"""Image to segment.""" model_id: Annotated[Optional[str], FieldMetadata(multipart=True)] = ( - "facebook/sam2-hiera-large:" + "facebook/sam2-hiera-large" ) r"""Hugging Face model ID used for image generation.""" diff --git a/src/livepeer/models/components/error.py b/src/livepeer/models/components/error.py new file mode 100644 index 0000000..d2b46b5 --- /dev/null +++ b/src/livepeer/models/components/error.py @@ -0,0 +1,14 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer.types import BaseModel +from typing import List, Optional, TypedDict +from typing_extensions import NotRequired + + +class ErrorTypedDict(TypedDict): + errors: NotRequired[List[str]] + + +class Error(BaseModel): + errors: Optional[List[str]] = None diff --git a/src/livepeer/models/components/studio_api_error.py b/src/livepeer/models/components/studio_api_error.py new file mode 100644 index 0000000..5f11d8a --- /dev/null +++ b/src/livepeer/models/components/studio_api_error.py @@ -0,0 +1,28 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from .httpmetadata import HTTPMetadata, HTTPMetadataTypedDict +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional, TypedDict +from typing_extensions import Annotated, NotRequired + + +class StudioAPIErrorTypedDict(TypedDict): + http_meta: HTTPMetadataTypedDict + http_meta1: HTTPMetadataTypedDict + http_meta2: HTTPMetadataTypedDict + http_meta3: HTTPMetadataTypedDict + errors: NotRequired[List[str]] + + +class StudioAPIError(BaseModel): + http_meta: Annotated[Optional[HTTPMetadata], pydantic.Field(exclude=True)] = None + + http_meta1: Annotated[Optional[HTTPMetadata], pydantic.Field(exclude=True)] = None + + http_meta2: Annotated[Optional[HTTPMetadata], pydantic.Field(exclude=True)] = None + + http_meta3: Annotated[Optional[HTTPMetadata], pydantic.Field(exclude=True)] = None + + errors: Optional[List[str]] = None diff --git a/src/livepeer/models/components/studio_api_error5.py b/src/livepeer/models/components/studio_api_error5.py new file mode 100644 index 0000000..7e2799f --- /dev/null +++ b/src/livepeer/models/components/studio_api_error5.py @@ -0,0 +1,14 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer.types import BaseModel +from typing import List, Optional, TypedDict +from typing_extensions import NotRequired + + +class StudioAPIError5TypedDict(TypedDict): + errors: NotRequired[List[str]] + + +class StudioAPIError5(BaseModel): + errors: Optional[List[str]] = None diff --git a/src/livepeer/models/errors/__init__.py b/src/livepeer/models/errors/__init__.py index 152cd5f..3771b84 100644 --- a/src/livepeer/models/errors/__init__.py +++ b/src/livepeer/models/errors/__init__.py @@ -64,9 +64,40 @@ GenUpscaleResponseBodyUnion, ) from .httperror import HTTPError, HTTPErrorData +from .httperror1 import HTTPError1, HTTPError1Data +from .httperror10 import HTTPError10, HTTPError10Data +from .httperror11 import HTTPError11, HTTPError11Data +from .httperror12 import HTTPError12, HTTPError12Data +from .httperror13 import HTTPError13, HTTPError13Data +from .httperror14 import HTTPError14, HTTPError14Data +from .httperror2 import HTTPError2, HTTPError2Data +from .httperror3 import HTTPError3, HTTPError3Data +from .httperror4 import HTTPError4, HTTPError4Data +from .httperror5 import HTTPError5, HTTPError5Data +from .httperror6 import HTTPError6, HTTPError6Data +from .httperror7 import HTTPError7, HTTPError7Data +from .httperror8 import HTTPError8, HTTPError8Data +from .httperror9 import HTTPError9, HTTPError9Data from .httpvalidationerror import HTTPValidationError, HTTPValidationErrorData from .sdkerror import SDKError from .studio_api_error import StudioAPIError, StudioAPIErrorData +from .studio_api_error1 import StudioAPIError1, StudioAPIError1Data +from .studio_api_error10 import StudioAPIError10, StudioAPIError10Data +from .studio_api_error11 import StudioAPIError11, StudioAPIError11Data +from .studio_api_error12 import StudioAPIError12, StudioAPIError12Data +from .studio_api_error13 import StudioAPIError13, StudioAPIError13Data +from .studio_api_error14 import StudioAPIError14, StudioAPIError14Data +from .studio_api_error15 import StudioAPIError15, StudioAPIError15Data +from .studio_api_error16 import StudioAPIError16, StudioAPIError16Data +from .studio_api_error17 import StudioAPIError17, StudioAPIError17Data +from .studio_api_error2 import StudioAPIError2, StudioAPIError2Data +from .studio_api_error3 import StudioAPIError3, StudioAPIError3Data +from .studio_api_error4 import StudioAPIError4, StudioAPIError4Data +from .studio_api_error5 import StudioAPIError5, StudioAPIError5Data +from .studio_api_error6 import StudioAPIError6, StudioAPIError6Data +from .studio_api_error7 import StudioAPIError7, StudioAPIError7Data +from .studio_api_error8 import StudioAPIError8, StudioAPIError8Data +from .studio_api_error9 import StudioAPIError9, StudioAPIError9Data __all__ = [ "Error", @@ -122,10 +153,72 @@ "GenUpscaleResponseBody", "GenUpscaleResponseBodyUnion", "HTTPError", + "HTTPError1", + "HTTPError10", + "HTTPError10Data", + "HTTPError11", + "HTTPError11Data", + "HTTPError12", + "HTTPError12Data", + "HTTPError13", + "HTTPError13Data", + "HTTPError14", + "HTTPError14Data", + "HTTPError1Data", + "HTTPError2", + "HTTPError2Data", + "HTTPError3", + "HTTPError3Data", + "HTTPError4", + "HTTPError4Data", + "HTTPError5", + "HTTPError5Data", + "HTTPError6", + "HTTPError6Data", + "HTTPError7", + "HTTPError7Data", + "HTTPError8", + "HTTPError8Data", + "HTTPError9", + "HTTPError9Data", "HTTPErrorData", "HTTPValidationError", "HTTPValidationErrorData", "SDKError", "StudioAPIError", + "StudioAPIError1", + "StudioAPIError10", + "StudioAPIError10Data", + "StudioAPIError11", + "StudioAPIError11Data", + "StudioAPIError12", + "StudioAPIError12Data", + "StudioAPIError13", + "StudioAPIError13Data", + "StudioAPIError14", + "StudioAPIError14Data", + "StudioAPIError15", + "StudioAPIError15Data", + "StudioAPIError16", + "StudioAPIError16Data", + "StudioAPIError17", + "StudioAPIError17Data", + "StudioAPIError1Data", + "StudioAPIError2", + "StudioAPIError2Data", + "StudioAPIError3", + "StudioAPIError3Data", + "StudioAPIError4", + "StudioAPIError4Data", + "StudioAPIError5", + "StudioAPIError5Data", + "StudioAPIError6", + "StudioAPIError6Data", + "StudioAPIError7", + "StudioAPIError7Data", + "StudioAPIError8", + "StudioAPIError8Data", + "StudioAPIError9", + "StudioAPIError9Data", "StudioAPIErrorData", ] diff --git a/src/livepeer/models/errors/genaudiototext.py b/src/livepeer/models/errors/genaudiototext.py index 0e158e9..615a279 100644 --- a/src/livepeer/models/errors/genaudiototext.py +++ b/src/livepeer/models/errors/genaudiototext.py @@ -1,15 +1,22 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .httperror import HTTPErrorData +from .httperror10 import HTTPError10Data +from .httperror11 import HTTPError11Data +from .httperror3 import HTTPError3Data +from .httperror4 import HTTPError4Data from .httpvalidationerror import HTTPValidationErrorData -from .studio_api_error import StudioAPIErrorData +from .studio_api_error10 import StudioAPIError10Data +from .studio_api_error11 import StudioAPIError11Data +from .studio_api_error7 import StudioAPIError7Data +from .studio_api_error8 import StudioAPIError8Data +from .studio_api_error9 import StudioAPIError9Data from livepeer import utils from typing import Union GenAudioToTextGenerateResponse500ResponseBodyUnion = Union[ - HTTPErrorData, StudioAPIErrorData + HTTPError4Data, StudioAPIError11Data ] r"""Internal Server Error""" @@ -29,7 +36,7 @@ def __str__(self) -> str: GenAudioToTextGenerateResponse422ResponseBodyUnion = Union[ - HTTPValidationErrorData, StudioAPIErrorData + HTTPValidationErrorData, StudioAPIError10Data ] r"""Validation Error""" @@ -49,7 +56,7 @@ def __str__(self) -> str: GenAudioToTextGenerateResponseResponseBodyUnion = Union[ - HTTPErrorData, StudioAPIErrorData + HTTPError3Data, StudioAPIError9Data ] r"""Request Entity Too Large""" @@ -68,7 +75,7 @@ def __str__(self) -> str: ) -GenAudioToTextGenerateResponseBodyUnion = Union[HTTPErrorData, StudioAPIErrorData] +GenAudioToTextGenerateResponseBodyUnion = Union[HTTPError11Data, StudioAPIError8Data] r"""Unauthorized""" @@ -84,7 +91,7 @@ def __str__(self) -> str: return utils.marshal_json(self.data, GenAudioToTextGenerateResponseBodyUnion) -GenAudioToTextResponseBodyUnion = Union[HTTPErrorData, StudioAPIErrorData] +GenAudioToTextResponseBodyUnion = Union[HTTPError10Data, StudioAPIError7Data] r"""Bad Request""" diff --git a/src/livepeer/models/errors/genimagetoimage.py b/src/livepeer/models/errors/genimagetoimage.py index f32552f..a2e0ddd 100644 --- a/src/livepeer/models/errors/genimagetoimage.py +++ b/src/livepeer/models/errors/genimagetoimage.py @@ -1,15 +1,20 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .httperror import HTTPErrorData +from .httperror12 import HTTPError12Data +from .httperror3 import HTTPError3Data +from .httperror5 import HTTPError5Data from .httpvalidationerror import HTTPValidationErrorData -from .studio_api_error import StudioAPIErrorData +from .studio_api_error15 import StudioAPIError15Data +from .studio_api_error16 import StudioAPIError16Data +from .studio_api_error17 import StudioAPIError17Data +from .studio_api_error4 import StudioAPIError4Data from livepeer import utils from typing import Union GenImageToImageGenerateResponse500ResponseBodyUnion = Union[ - HTTPErrorData, StudioAPIErrorData + HTTPError3Data, StudioAPIError4Data ] r"""Internal Server Error""" @@ -29,7 +34,7 @@ def __str__(self) -> str: GenImageToImageGenerateResponseResponseBodyUnion = Union[ - HTTPValidationErrorData, StudioAPIErrorData + HTTPValidationErrorData, StudioAPIError16Data ] r"""Validation Error""" @@ -48,7 +53,7 @@ def __str__(self) -> str: ) -GenImageToImageGenerateResponseBodyUnion = Union[HTTPErrorData, StudioAPIErrorData] +GenImageToImageGenerateResponseBodyUnion = Union[HTTPError12Data, StudioAPIError15Data] r"""Unauthorized""" @@ -64,7 +69,7 @@ def __str__(self) -> str: return utils.marshal_json(self.data, GenImageToImageGenerateResponseBodyUnion) -GenImageToImageResponseBodyUnion = Union[HTTPErrorData, StudioAPIErrorData] +GenImageToImageResponseBodyUnion = Union[HTTPError5Data, StudioAPIError17Data] r"""Bad Request""" diff --git a/src/livepeer/models/errors/genimagetovideo.py b/src/livepeer/models/errors/genimagetovideo.py index b376258..35ddfa3 100644 --- a/src/livepeer/models/errors/genimagetovideo.py +++ b/src/livepeer/models/errors/genimagetovideo.py @@ -1,15 +1,20 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .httperror import HTTPErrorData +from .httperror3 import HTTPError3Data +from .httperror6 import HTTPError6Data +from .httperror7 import HTTPError7Data from .httpvalidationerror import HTTPValidationErrorData -from .studio_api_error import StudioAPIErrorData +from .studio_api_error13 import StudioAPIError13Data +from .studio_api_error14 import StudioAPIError14Data +from .studio_api_error4 import StudioAPIError4Data +from .studio_api_error5 import StudioAPIError5Data from livepeer import utils from typing import Union GenImageToVideoGenerateResponse500ResponseBodyUnion = Union[ - HTTPErrorData, StudioAPIErrorData + HTTPError3Data, StudioAPIError5Data ] r"""Internal Server Error""" @@ -29,7 +34,7 @@ def __str__(self) -> str: GenImageToVideoGenerateResponseResponseBodyUnion = Union[ - HTTPValidationErrorData, StudioAPIErrorData + HTTPValidationErrorData, StudioAPIError4Data ] r"""Validation Error""" @@ -48,7 +53,7 @@ def __str__(self) -> str: ) -GenImageToVideoGenerateResponseBodyUnion = Union[HTTPErrorData, StudioAPIErrorData] +GenImageToVideoGenerateResponseBodyUnion = Union[HTTPError7Data, StudioAPIError14Data] r"""Unauthorized""" @@ -64,7 +69,7 @@ def __str__(self) -> str: return utils.marshal_json(self.data, GenImageToVideoGenerateResponseBodyUnion) -GenImageToVideoResponseBodyUnion = Union[HTTPErrorData, StudioAPIErrorData] +GenImageToVideoResponseBodyUnion = Union[HTTPError6Data, StudioAPIError13Data] r"""Bad Request""" diff --git a/src/livepeer/models/errors/gensegmentanything2.py b/src/livepeer/models/errors/gensegmentanything2.py index b11392b..b04972f 100644 --- a/src/livepeer/models/errors/gensegmentanything2.py +++ b/src/livepeer/models/errors/gensegmentanything2.py @@ -1,15 +1,20 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .httperror import HTTPErrorData +from .httperror13 import HTTPError13Data +from .httperror14 import HTTPError14Data +from .httperror3 import HTTPError3Data from .httpvalidationerror import HTTPValidationErrorData -from .studio_api_error import StudioAPIErrorData +from .studio_api_error10 import StudioAPIError10Data +from .studio_api_error11 import StudioAPIError11Data +from .studio_api_error12 import StudioAPIError12Data +from .studio_api_error9 import StudioAPIError9Data from livepeer import utils from typing import Union GenSegmentAnything2GenerateResponse500ResponseBodyUnion = Union[ - HTTPErrorData, StudioAPIErrorData + HTTPError3Data, StudioAPIError12Data ] r"""Internal Server Error""" @@ -29,7 +34,7 @@ def __str__(self) -> str: GenSegmentAnything2GenerateResponseResponseBodyUnion = Union[ - HTTPValidationErrorData, StudioAPIErrorData + HTTPValidationErrorData, StudioAPIError11Data ] r"""Validation Error""" @@ -48,7 +53,9 @@ def __str__(self) -> str: ) -GenSegmentAnything2GenerateResponseBodyUnion = Union[HTTPErrorData, StudioAPIErrorData] +GenSegmentAnything2GenerateResponseBodyUnion = Union[ + HTTPError14Data, StudioAPIError10Data +] r"""Unauthorized""" @@ -66,7 +73,7 @@ def __str__(self) -> str: ) -GenSegmentAnything2ResponseBodyUnion = Union[HTTPErrorData, StudioAPIErrorData] +GenSegmentAnything2ResponseBodyUnion = Union[HTTPError13Data, StudioAPIError9Data] r"""Bad Request""" diff --git a/src/livepeer/models/errors/gentexttoimage.py b/src/livepeer/models/errors/gentexttoimage.py index c3d005b..e3657b3 100644 --- a/src/livepeer/models/errors/gentexttoimage.py +++ b/src/livepeer/models/errors/gentexttoimage.py @@ -2,14 +2,19 @@ from __future__ import annotations from .httperror import HTTPErrorData +from .httperror1 import HTTPError1Data +from .httperror2 import HTTPError2Data from .httpvalidationerror import HTTPValidationErrorData from .studio_api_error import StudioAPIErrorData +from .studio_api_error1 import StudioAPIError1Data +from .studio_api_error2 import StudioAPIError2Data +from .studio_api_error3 import StudioAPIError3Data from livepeer import utils from typing import Union GenTextToImageGenerateResponse500ResponseBodyUnion = Union[ - HTTPErrorData, StudioAPIErrorData + HTTPError2Data, StudioAPIError3Data ] r"""Internal Server Error""" @@ -29,7 +34,7 @@ def __str__(self) -> str: GenTextToImageGenerateResponseResponseBodyUnion = Union[ - HTTPValidationErrorData, StudioAPIErrorData + HTTPValidationErrorData, StudioAPIError2Data ] r"""Validation Error""" @@ -48,7 +53,7 @@ def __str__(self) -> str: ) -GenTextToImageGenerateResponseBodyUnion = Union[HTTPErrorData, StudioAPIErrorData] +GenTextToImageGenerateResponseBodyUnion = Union[HTTPError1Data, StudioAPIError1Data] r"""Unauthorized""" diff --git a/src/livepeer/models/errors/genupscale.py b/src/livepeer/models/errors/genupscale.py index 0686b0f..29c2004 100644 --- a/src/livepeer/models/errors/genupscale.py +++ b/src/livepeer/models/errors/genupscale.py @@ -1,15 +1,20 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from .httperror import HTTPErrorData +from .httperror3 import HTTPError3Data +from .httperror8 import HTTPError8Data +from .httperror9 import HTTPError9Data from .httpvalidationerror import HTTPValidationErrorData -from .studio_api_error import StudioAPIErrorData +from .studio_api_error4 import StudioAPIError4Data +from .studio_api_error5 import StudioAPIError5Data +from .studio_api_error6 import StudioAPIError6Data +from .studio_api_error7 import StudioAPIError7Data from livepeer import utils from typing import Union GenUpscaleGenerateResponse500ResponseBodyUnion = Union[ - HTTPErrorData, StudioAPIErrorData + HTTPError3Data, StudioAPIError7Data ] r"""Internal Server Error""" @@ -29,7 +34,7 @@ def __str__(self) -> str: GenUpscaleGenerateResponseResponseBodyUnion = Union[ - HTTPValidationErrorData, StudioAPIErrorData + HTTPValidationErrorData, StudioAPIError6Data ] r"""Validation Error""" @@ -48,7 +53,7 @@ def __str__(self) -> str: ) -GenUpscaleGenerateResponseBodyUnion = Union[HTTPErrorData, StudioAPIErrorData] +GenUpscaleGenerateResponseBodyUnion = Union[HTTPError9Data, StudioAPIError5Data] r"""Unauthorized""" @@ -64,7 +69,7 @@ def __str__(self) -> str: return utils.marshal_json(self.data, GenUpscaleGenerateResponseBodyUnion) -GenUpscaleResponseBodyUnion = Union[HTTPErrorData, StudioAPIErrorData] +GenUpscaleResponseBodyUnion = Union[HTTPError8Data, StudioAPIError4Data] r"""Bad Request""" diff --git a/src/livepeer/models/errors/httperror.py b/src/livepeer/models/errors/httperror.py index 4b5b3d4..9e61525 100644 --- a/src/livepeer/models/errors/httperror.py +++ b/src/livepeer/models/errors/httperror.py @@ -20,78 +20,6 @@ class HTTPErrorData(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - http_meta1: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta2: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta3: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta4: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta5: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta6: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta7: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta8: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta9: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta10: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta11: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta12: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta13: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta14: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta15: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta16: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta17: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta18: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - class HTTPError(Exception): r"""HTTP error response model.""" diff --git a/src/livepeer/models/errors/httperror1.py b/src/livepeer/models/errors/httperror1.py new file mode 100644 index 0000000..c3f072f --- /dev/null +++ b/src/livepeer/models/errors/httperror1.py @@ -0,0 +1,37 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import ( + apierror as components_apierror, + httpmetadata as components_httpmetadata, +) +from livepeer.types import BaseModel +import pydantic +from typing import Optional +from typing_extensions import Annotated + + +class HTTPError1Data(BaseModel): + detail: components_apierror.APIError + r"""Detailed error information.""" + + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + http_meta1: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + +class HTTPError1(Exception): + r"""HTTP error response model.""" + + data: HTTPError1Data + + def __init__(self, data: HTTPError1Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, HTTPError1Data) diff --git a/src/livepeer/models/errors/httperror10.py b/src/livepeer/models/errors/httperror10.py new file mode 100644 index 0000000..4dff5d5 --- /dev/null +++ b/src/livepeer/models/errors/httperror10.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import ( + apierror as components_apierror, + httpmetadata as components_httpmetadata, +) +from livepeer.types import BaseModel +import pydantic +from typing import Optional +from typing_extensions import Annotated + + +class HTTPError10Data(BaseModel): + detail: components_apierror.APIError + r"""Detailed error information.""" + + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + +class HTTPError10(Exception): + r"""HTTP error response model.""" + + data: HTTPError10Data + + def __init__(self, data: HTTPError10Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, HTTPError10Data) diff --git a/src/livepeer/models/errors/httperror11.py b/src/livepeer/models/errors/httperror11.py new file mode 100644 index 0000000..6ccf2ef --- /dev/null +++ b/src/livepeer/models/errors/httperror11.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import ( + apierror as components_apierror, + httpmetadata as components_httpmetadata, +) +from livepeer.types import BaseModel +import pydantic +from typing import Optional +from typing_extensions import Annotated + + +class HTTPError11Data(BaseModel): + detail: components_apierror.APIError + r"""Detailed error information.""" + + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + +class HTTPError11(Exception): + r"""HTTP error response model.""" + + data: HTTPError11Data + + def __init__(self, data: HTTPError11Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, HTTPError11Data) diff --git a/src/livepeer/models/errors/httperror12.py b/src/livepeer/models/errors/httperror12.py new file mode 100644 index 0000000..3edffec --- /dev/null +++ b/src/livepeer/models/errors/httperror12.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import ( + apierror as components_apierror, + httpmetadata as components_httpmetadata, +) +from livepeer.types import BaseModel +import pydantic +from typing import Optional +from typing_extensions import Annotated + + +class HTTPError12Data(BaseModel): + detail: components_apierror.APIError + r"""Detailed error information.""" + + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + +class HTTPError12(Exception): + r"""HTTP error response model.""" + + data: HTTPError12Data + + def __init__(self, data: HTTPError12Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, HTTPError12Data) diff --git a/src/livepeer/models/errors/httperror13.py b/src/livepeer/models/errors/httperror13.py new file mode 100644 index 0000000..55ebbf1 --- /dev/null +++ b/src/livepeer/models/errors/httperror13.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import ( + apierror as components_apierror, + httpmetadata as components_httpmetadata, +) +from livepeer.types import BaseModel +import pydantic +from typing import Optional +from typing_extensions import Annotated + + +class HTTPError13Data(BaseModel): + detail: components_apierror.APIError + r"""Detailed error information.""" + + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + +class HTTPError13(Exception): + r"""HTTP error response model.""" + + data: HTTPError13Data + + def __init__(self, data: HTTPError13Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, HTTPError13Data) diff --git a/src/livepeer/models/errors/httperror14.py b/src/livepeer/models/errors/httperror14.py new file mode 100644 index 0000000..7ebfe8d --- /dev/null +++ b/src/livepeer/models/errors/httperror14.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import ( + apierror as components_apierror, + httpmetadata as components_httpmetadata, +) +from livepeer.types import BaseModel +import pydantic +from typing import Optional +from typing_extensions import Annotated + + +class HTTPError14Data(BaseModel): + detail: components_apierror.APIError + r"""Detailed error information.""" + + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + +class HTTPError14(Exception): + r"""HTTP error response model.""" + + data: HTTPError14Data + + def __init__(self, data: HTTPError14Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, HTTPError14Data) diff --git a/src/livepeer/models/errors/httperror2.py b/src/livepeer/models/errors/httperror2.py new file mode 100644 index 0000000..c5e0305 --- /dev/null +++ b/src/livepeer/models/errors/httperror2.py @@ -0,0 +1,41 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import ( + apierror as components_apierror, + httpmetadata as components_httpmetadata, +) +from livepeer.types import BaseModel +import pydantic +from typing import Optional +from typing_extensions import Annotated + + +class HTTPError2Data(BaseModel): + detail: components_apierror.APIError + r"""Detailed error information.""" + + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + http_meta1: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + http_meta2: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + +class HTTPError2(Exception): + r"""HTTP error response model.""" + + data: HTTPError2Data + + def __init__(self, data: HTTPError2Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, HTTPError2Data) diff --git a/src/livepeer/models/errors/httperror3.py b/src/livepeer/models/errors/httperror3.py new file mode 100644 index 0000000..a3c5145 --- /dev/null +++ b/src/livepeer/models/errors/httperror3.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import ( + apierror as components_apierror, + httpmetadata as components_httpmetadata, +) +from livepeer.types import BaseModel +import pydantic +from typing import Optional +from typing_extensions import Annotated + + +class HTTPError3Data(BaseModel): + detail: components_apierror.APIError + r"""Detailed error information.""" + + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + +class HTTPError3(Exception): + r"""HTTP error response model.""" + + data: HTTPError3Data + + def __init__(self, data: HTTPError3Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, HTTPError3Data) diff --git a/src/livepeer/models/errors/httperror4.py b/src/livepeer/models/errors/httperror4.py new file mode 100644 index 0000000..9b525e0 --- /dev/null +++ b/src/livepeer/models/errors/httperror4.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import ( + apierror as components_apierror, + httpmetadata as components_httpmetadata, +) +from livepeer.types import BaseModel +import pydantic +from typing import Optional +from typing_extensions import Annotated + + +class HTTPError4Data(BaseModel): + detail: components_apierror.APIError + r"""Detailed error information.""" + + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + +class HTTPError4(Exception): + r"""HTTP error response model.""" + + data: HTTPError4Data + + def __init__(self, data: HTTPError4Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, HTTPError4Data) diff --git a/src/livepeer/models/errors/httperror5.py b/src/livepeer/models/errors/httperror5.py new file mode 100644 index 0000000..31e3eca --- /dev/null +++ b/src/livepeer/models/errors/httperror5.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import ( + apierror as components_apierror, + httpmetadata as components_httpmetadata, +) +from livepeer.types import BaseModel +import pydantic +from typing import Optional +from typing_extensions import Annotated + + +class HTTPError5Data(BaseModel): + detail: components_apierror.APIError + r"""Detailed error information.""" + + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + +class HTTPError5(Exception): + r"""HTTP error response model.""" + + data: HTTPError5Data + + def __init__(self, data: HTTPError5Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, HTTPError5Data) diff --git a/src/livepeer/models/errors/httperror6.py b/src/livepeer/models/errors/httperror6.py new file mode 100644 index 0000000..8eda849 --- /dev/null +++ b/src/livepeer/models/errors/httperror6.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import ( + apierror as components_apierror, + httpmetadata as components_httpmetadata, +) +from livepeer.types import BaseModel +import pydantic +from typing import Optional +from typing_extensions import Annotated + + +class HTTPError6Data(BaseModel): + detail: components_apierror.APIError + r"""Detailed error information.""" + + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + +class HTTPError6(Exception): + r"""HTTP error response model.""" + + data: HTTPError6Data + + def __init__(self, data: HTTPError6Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, HTTPError6Data) diff --git a/src/livepeer/models/errors/httperror7.py b/src/livepeer/models/errors/httperror7.py new file mode 100644 index 0000000..79fcf74 --- /dev/null +++ b/src/livepeer/models/errors/httperror7.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import ( + apierror as components_apierror, + httpmetadata as components_httpmetadata, +) +from livepeer.types import BaseModel +import pydantic +from typing import Optional +from typing_extensions import Annotated + + +class HTTPError7Data(BaseModel): + detail: components_apierror.APIError + r"""Detailed error information.""" + + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + +class HTTPError7(Exception): + r"""HTTP error response model.""" + + data: HTTPError7Data + + def __init__(self, data: HTTPError7Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, HTTPError7Data) diff --git a/src/livepeer/models/errors/httperror8.py b/src/livepeer/models/errors/httperror8.py new file mode 100644 index 0000000..df60d9c --- /dev/null +++ b/src/livepeer/models/errors/httperror8.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import ( + apierror as components_apierror, + httpmetadata as components_httpmetadata, +) +from livepeer.types import BaseModel +import pydantic +from typing import Optional +from typing_extensions import Annotated + + +class HTTPError8Data(BaseModel): + detail: components_apierror.APIError + r"""Detailed error information.""" + + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + +class HTTPError8(Exception): + r"""HTTP error response model.""" + + data: HTTPError8Data + + def __init__(self, data: HTTPError8Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, HTTPError8Data) diff --git a/src/livepeer/models/errors/httperror9.py b/src/livepeer/models/errors/httperror9.py new file mode 100644 index 0000000..e223873 --- /dev/null +++ b/src/livepeer/models/errors/httperror9.py @@ -0,0 +1,33 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import ( + apierror as components_apierror, + httpmetadata as components_httpmetadata, +) +from livepeer.types import BaseModel +import pydantic +from typing import Optional +from typing_extensions import Annotated + + +class HTTPError9Data(BaseModel): + detail: components_apierror.APIError + r"""Detailed error information.""" + + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + +class HTTPError9(Exception): + r"""HTTP error response model.""" + + data: HTTPError9Data + + def __init__(self, data: HTTPError9Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, HTTPError9Data) diff --git a/src/livepeer/models/errors/httpvalidationerror.py b/src/livepeer/models/errors/httpvalidationerror.py index 9be3435..941be9f 100644 --- a/src/livepeer/models/errors/httpvalidationerror.py +++ b/src/livepeer/models/errors/httpvalidationerror.py @@ -17,26 +17,6 @@ class HTTPValidationErrorData(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - http_meta1: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta2: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta3: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta4: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta5: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - detail: Optional[List[components_validationerror.ValidationError]] = None diff --git a/src/livepeer/models/errors/studio_api_error.py b/src/livepeer/models/errors/studio_api_error.py index 598efaa..4d47a8f 100644 --- a/src/livepeer/models/errors/studio_api_error.py +++ b/src/livepeer/models/errors/studio_api_error.py @@ -14,108 +14,10 @@ class StudioAPIErrorData(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - http_meta1: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta2: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta3: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta4: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta5: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta6: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta7: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta8: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta9: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta10: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta11: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta12: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta13: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta14: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta15: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta16: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta17: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta18: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta19: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta20: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta21: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta22: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta23: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - - http_meta24: Annotated[ - Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) - ] = None - errors: Optional[List[str]] = None class StudioAPIError(Exception): - r"""Error""" - data: StudioAPIErrorData def __init__(self, data: StudioAPIErrorData): diff --git a/src/livepeer/models/errors/studio_api_error1.py b/src/livepeer/models/errors/studio_api_error1.py new file mode 100644 index 0000000..92ea2b1 --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error1.py @@ -0,0 +1,31 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError1Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + http_meta1: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError1(Exception): + data: StudioAPIError1Data + + def __init__(self, data: StudioAPIError1Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError1Data) diff --git a/src/livepeer/models/errors/studio_api_error10.py b/src/livepeer/models/errors/studio_api_error10.py new file mode 100644 index 0000000..9dcc583 --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error10.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError10Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError10(Exception): + data: StudioAPIError10Data + + def __init__(self, data: StudioAPIError10Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError10Data) diff --git a/src/livepeer/models/errors/studio_api_error11.py b/src/livepeer/models/errors/studio_api_error11.py new file mode 100644 index 0000000..3ba1740 --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error11.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError11Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError11(Exception): + data: StudioAPIError11Data + + def __init__(self, data: StudioAPIError11Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError11Data) diff --git a/src/livepeer/models/errors/studio_api_error12.py b/src/livepeer/models/errors/studio_api_error12.py new file mode 100644 index 0000000..3895d57 --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error12.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError12Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError12(Exception): + data: StudioAPIError12Data + + def __init__(self, data: StudioAPIError12Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError12Data) diff --git a/src/livepeer/models/errors/studio_api_error13.py b/src/livepeer/models/errors/studio_api_error13.py new file mode 100644 index 0000000..6ff35f1 --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error13.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError13Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError13(Exception): + data: StudioAPIError13Data + + def __init__(self, data: StudioAPIError13Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError13Data) diff --git a/src/livepeer/models/errors/studio_api_error14.py b/src/livepeer/models/errors/studio_api_error14.py new file mode 100644 index 0000000..db38227 --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error14.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError14Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError14(Exception): + data: StudioAPIError14Data + + def __init__(self, data: StudioAPIError14Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError14Data) diff --git a/src/livepeer/models/errors/studio_api_error15.py b/src/livepeer/models/errors/studio_api_error15.py new file mode 100644 index 0000000..b9fbc42 --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error15.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError15Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError15(Exception): + data: StudioAPIError15Data + + def __init__(self, data: StudioAPIError15Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError15Data) diff --git a/src/livepeer/models/errors/studio_api_error16.py b/src/livepeer/models/errors/studio_api_error16.py new file mode 100644 index 0000000..a51684c --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error16.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError16Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError16(Exception): + data: StudioAPIError16Data + + def __init__(self, data: StudioAPIError16Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError16Data) diff --git a/src/livepeer/models/errors/studio_api_error17.py b/src/livepeer/models/errors/studio_api_error17.py new file mode 100644 index 0000000..a6a76a9 --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error17.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError17Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError17(Exception): + data: StudioAPIError17Data + + def __init__(self, data: StudioAPIError17Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError17Data) diff --git a/src/livepeer/models/errors/studio_api_error2.py b/src/livepeer/models/errors/studio_api_error2.py new file mode 100644 index 0000000..679f416 --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error2.py @@ -0,0 +1,35 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError2Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + http_meta1: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + http_meta2: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError2(Exception): + data: StudioAPIError2Data + + def __init__(self, data: StudioAPIError2Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError2Data) diff --git a/src/livepeer/models/errors/studio_api_error3.py b/src/livepeer/models/errors/studio_api_error3.py new file mode 100644 index 0000000..519997f --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error3.py @@ -0,0 +1,39 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError3Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + http_meta1: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + http_meta2: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + http_meta3: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError3(Exception): + data: StudioAPIError3Data + + def __init__(self, data: StudioAPIError3Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError3Data) diff --git a/src/livepeer/models/errors/studio_api_error4.py b/src/livepeer/models/errors/studio_api_error4.py new file mode 100644 index 0000000..e861ae7 --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error4.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError4Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError4(Exception): + data: StudioAPIError4Data + + def __init__(self, data: StudioAPIError4Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError4Data) diff --git a/src/livepeer/models/errors/studio_api_error5.py b/src/livepeer/models/errors/studio_api_error5.py new file mode 100644 index 0000000..bebec0f --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error5.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError5Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError5(Exception): + data: StudioAPIError5Data + + def __init__(self, data: StudioAPIError5Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError5Data) diff --git a/src/livepeer/models/errors/studio_api_error6.py b/src/livepeer/models/errors/studio_api_error6.py new file mode 100644 index 0000000..5dc9279 --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error6.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError6Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError6(Exception): + data: StudioAPIError6Data + + def __init__(self, data: StudioAPIError6Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError6Data) diff --git a/src/livepeer/models/errors/studio_api_error7.py b/src/livepeer/models/errors/studio_api_error7.py new file mode 100644 index 0000000..49b88d1 --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error7.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError7Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError7(Exception): + data: StudioAPIError7Data + + def __init__(self, data: StudioAPIError7Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError7Data) diff --git a/src/livepeer/models/errors/studio_api_error8.py b/src/livepeer/models/errors/studio_api_error8.py new file mode 100644 index 0000000..bbeb936 --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error8.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError8Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError8(Exception): + data: StudioAPIError8Data + + def __init__(self, data: StudioAPIError8Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError8Data) diff --git a/src/livepeer/models/errors/studio_api_error9.py b/src/livepeer/models/errors/studio_api_error9.py new file mode 100644 index 0000000..7bc2573 --- /dev/null +++ b/src/livepeer/models/errors/studio_api_error9.py @@ -0,0 +1,27 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer import utils +from livepeer.models.components import httpmetadata as components_httpmetadata +from livepeer.types import BaseModel +import pydantic +from typing import List, Optional +from typing_extensions import Annotated + + +class StudioAPIError9Data(BaseModel): + http_meta: Annotated[ + Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) + ] = None + + errors: Optional[List[str]] = None + + +class StudioAPIError9(Exception): + data: StudioAPIError9Data + + def __init__(self, data: StudioAPIError9Data): + self.data = data + + def __str__(self) -> str: + return utils.marshal_json(self.data, StudioAPIError9Data) diff --git a/src/livepeer/models/operations/addmultistreamtarget.py b/src/livepeer/models/operations/addmultistreamtarget.py index fc35651..e36e35e 100644 --- a/src/livepeer/models/operations/addmultistreamtarget.py +++ b/src/livepeer/models/operations/addmultistreamtarget.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, target_add_payload as components_target_add_payload, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata, RequestMetadata import pydantic @@ -33,7 +33,7 @@ class AddMultistreamTargetRequest(BaseModel): class AddMultistreamTargetResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -42,5 +42,5 @@ class AddMultistreamTargetResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/createclip.py b/src/livepeer/models/operations/createclip.py index 8989800..8adf72d 100644 --- a/src/livepeer/models/operations/createclip.py +++ b/src/livepeer/models/operations/createclip.py @@ -3,9 +3,9 @@ from __future__ import annotations from livepeer.models.components import ( asset as components_asset, + error as components_error, httpmetadata as components_httpmetadata, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -39,7 +39,7 @@ class CreateClipResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[CreateClipDataTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -51,5 +51,5 @@ class CreateClipResponse(BaseModel): data: Optional[CreateClipData] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/createmultistreamtarget.py b/src/livepeer/models/operations/createmultistreamtarget.py index 2a0be18..8c83ac0 100644 --- a/src/livepeer/models/operations/createmultistreamtarget.py +++ b/src/livepeer/models/operations/createmultistreamtarget.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, multistream_target as components_multistream_target, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -18,7 +18,7 @@ class CreateMultistreamTargetResponseTypedDict(TypedDict): components_multistream_target.MultistreamTargetTypedDict ] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -30,5 +30,5 @@ class CreateMultistreamTargetResponse(BaseModel): multistream_target: Optional[components_multistream_target.MultistreamTarget] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/createroom.py b/src/livepeer/models/operations/createroom.py index 5c7e595..1071755 100644 --- a/src/livepeer/models/operations/createroom.py +++ b/src/livepeer/models/operations/createroom.py @@ -3,9 +3,9 @@ from __future__ import annotations from livepeer.models.components import ( create_room_response as components_create_room_response, + error as components_error, httpmetadata as components_httpmetadata, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -18,7 +18,7 @@ class CreateRoomResponseTypedDict(TypedDict): components_create_room_response.CreateRoomResponseTypedDict ] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -32,5 +32,5 @@ class CreateRoomResponse(BaseModel): ] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/createroomuser.py b/src/livepeer/models/operations/createroomuser.py index e38329f..700260b 100644 --- a/src/livepeer/models/operations/createroomuser.py +++ b/src/livepeer/models/operations/createroomuser.py @@ -2,11 +2,11 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, room_user_payload as components_room_user_payload, room_user_response as components_room_user_response, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata, RequestMetadata import pydantic @@ -36,7 +36,7 @@ class CreateRoomUserResponseTypedDict(TypedDict): components_room_user_response.RoomUserResponseTypedDict ] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -48,5 +48,5 @@ class CreateRoomUserResponse(BaseModel): room_user_response: Optional[components_room_user_response.RoomUserResponse] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/createsigningkey.py b/src/livepeer/models/operations/createsigningkey.py index bee649a..7f8da0f 100644 --- a/src/livepeer/models/operations/createsigningkey.py +++ b/src/livepeer/models/operations/createsigningkey.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, signing_key as components_signing_key, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -16,7 +16,7 @@ class CreateSigningKeyResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict signing_key: NotRequired[components_signing_key.SigningKeyTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class CreateSigningKeyResponse(BaseModel): signing_key: Optional[components_signing_key.SigningKey] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/createstream.py b/src/livepeer/models/operations/createstream.py index 41cf22c..21ad472 100644 --- a/src/livepeer/models/operations/createstream.py +++ b/src/livepeer/models/operations/createstream.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, stream as components_stream, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -16,7 +16,7 @@ class CreateStreamResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict stream: NotRequired[components_stream.StreamTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class CreateStreamResponse(BaseModel): stream: Optional[components_stream.Stream] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/createwebhook.py b/src/livepeer/models/operations/createwebhook.py index d6f2586..201373f 100644 --- a/src/livepeer/models/operations/createwebhook.py +++ b/src/livepeer/models/operations/createwebhook.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, webhook as components_webhook, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -16,7 +16,7 @@ class CreateWebhookResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict webhook: NotRequired[components_webhook.WebhookTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class CreateWebhookResponse(BaseModel): webhook: Optional[components_webhook.Webhook] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/deleteasset.py b/src/livepeer/models/operations/deleteasset.py index c9f2480..e067b9e 100644 --- a/src/livepeer/models/operations/deleteasset.py +++ b/src/livepeer/models/operations/deleteasset.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from livepeer.models.components import httpmetadata as components_httpmetadata -from livepeer.models.errors import error as errors_error +from livepeer.models.components import ( + error as components_error, + httpmetadata as components_httpmetadata, +) from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -26,7 +28,7 @@ class DeleteAssetRequest(BaseModel): class DeleteAssetResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -35,5 +37,5 @@ class DeleteAssetResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/deletemultistreamtarget.py b/src/livepeer/models/operations/deletemultistreamtarget.py index 396b3de..b37aaf3 100644 --- a/src/livepeer/models/operations/deletemultistreamtarget.py +++ b/src/livepeer/models/operations/deletemultistreamtarget.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from livepeer.models.components import httpmetadata as components_httpmetadata -from livepeer.models.errors import error as errors_error +from livepeer.models.components import ( + error as components_error, + httpmetadata as components_httpmetadata, +) from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -24,7 +26,7 @@ class DeleteMultistreamTargetRequest(BaseModel): class DeleteMultistreamTargetResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -33,5 +35,5 @@ class DeleteMultistreamTargetResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/deleteroom.py b/src/livepeer/models/operations/deleteroom.py index 1a3134c..cb1d273 100644 --- a/src/livepeer/models/operations/deleteroom.py +++ b/src/livepeer/models/operations/deleteroom.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from livepeer.models.components import httpmetadata as components_httpmetadata -from livepeer.models.errors import error as errors_error +from livepeer.models.components import ( + error as components_error, + httpmetadata as components_httpmetadata, +) from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -22,7 +24,7 @@ class DeleteRoomRequest(BaseModel): class DeleteRoomResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -31,5 +33,5 @@ class DeleteRoomResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/deleteroomuser.py b/src/livepeer/models/operations/deleteroomuser.py index 47ddd58..f874d10 100644 --- a/src/livepeer/models/operations/deleteroomuser.py +++ b/src/livepeer/models/operations/deleteroomuser.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from livepeer.models.components import httpmetadata as components_httpmetadata -from livepeer.models.errors import error as errors_error +from livepeer.models.components import ( + error as components_error, + httpmetadata as components_httpmetadata, +) from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -29,7 +31,7 @@ class DeleteRoomUserRequest(BaseModel): class DeleteRoomUserResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -38,5 +40,5 @@ class DeleteRoomUserResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/deletesigningkey.py b/src/livepeer/models/operations/deletesigningkey.py index d64fb3c..57ded9f 100644 --- a/src/livepeer/models/operations/deletesigningkey.py +++ b/src/livepeer/models/operations/deletesigningkey.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from livepeer.models.components import httpmetadata as components_httpmetadata -from livepeer.models.errors import error as errors_error +from livepeer.models.components import ( + error as components_error, + httpmetadata as components_httpmetadata, +) from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -26,7 +28,7 @@ class DeleteSigningKeyRequest(BaseModel): class DeleteSigningKeyResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -35,5 +37,5 @@ class DeleteSigningKeyResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/deletestream.py b/src/livepeer/models/operations/deletestream.py index fab2c83..ce5f8ce 100644 --- a/src/livepeer/models/operations/deletestream.py +++ b/src/livepeer/models/operations/deletestream.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from livepeer.models.components import httpmetadata as components_httpmetadata -from livepeer.models.errors import error as errors_error +from livepeer.models.components import ( + error as components_error, + httpmetadata as components_httpmetadata, +) from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -24,7 +26,7 @@ class DeleteStreamRequest(BaseModel): class DeleteStreamResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -33,5 +35,5 @@ class DeleteStreamResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/deletewebhook.py b/src/livepeer/models/operations/deletewebhook.py index fba91e2..032da01 100644 --- a/src/livepeer/models/operations/deletewebhook.py +++ b/src/livepeer/models/operations/deletewebhook.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, webhook as components_webhook, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -27,7 +27,7 @@ class DeleteWebhookResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict webhook: NotRequired[components_webhook.WebhookTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -39,5 +39,5 @@ class DeleteWebhookResponse(BaseModel): webhook: Optional[components_webhook.Webhook] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/genaudiototext.py b/src/livepeer/models/operations/genaudiototext.py index 8fbeab6..87a47d2 100644 --- a/src/livepeer/models/operations/genaudiototext.py +++ b/src/livepeer/models/operations/genaudiototext.py @@ -1,11 +1,11 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations +from livepeer.models import studio_api_error as models_studio_api_error from livepeer.models.components import ( httpmetadata as components_httpmetadata, textresponse as components_textresponse, ) -from livepeer.models.errors import studio_api_error as errors_studio_api_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -16,7 +16,7 @@ class GenAudioToTextResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict text_response: NotRequired[components_textresponse.TextResponseTypedDict] r"""Successful Response""" - studio_api_error: NotRequired[errors_studio_api_error.StudioAPIError] + studio_api_error: NotRequired[models_studio_api_error.StudioAPIErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class GenAudioToTextResponse(BaseModel): text_response: Optional[components_textresponse.TextResponse] = None r"""Successful Response""" - studio_api_error: Optional[errors_studio_api_error.StudioAPIError] = None + studio_api_error: Optional[models_studio_api_error.StudioAPIError] = None r"""Error""" diff --git a/src/livepeer/models/operations/genimagetoimage.py b/src/livepeer/models/operations/genimagetoimage.py index b70cc0e..fe1c494 100644 --- a/src/livepeer/models/operations/genimagetoimage.py +++ b/src/livepeer/models/operations/genimagetoimage.py @@ -1,11 +1,11 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations +from livepeer.models import studio_api_error as models_studio_api_error from livepeer.models.components import ( httpmetadata as components_httpmetadata, imageresponse as components_imageresponse, ) -from livepeer.models.errors import studio_api_error as errors_studio_api_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -16,7 +16,7 @@ class GenImageToImageResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict image_response: NotRequired[components_imageresponse.ImageResponseTypedDict] r"""Successful Response""" - studio_api_error: NotRequired[errors_studio_api_error.StudioAPIError] + studio_api_error: NotRequired[models_studio_api_error.StudioAPIErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class GenImageToImageResponse(BaseModel): image_response: Optional[components_imageresponse.ImageResponse] = None r"""Successful Response""" - studio_api_error: Optional[errors_studio_api_error.StudioAPIError] = None + studio_api_error: Optional[models_studio_api_error.StudioAPIError] = None r"""Error""" diff --git a/src/livepeer/models/operations/genimagetovideo.py b/src/livepeer/models/operations/genimagetovideo.py index 7b3e8bd..95413c9 100644 --- a/src/livepeer/models/operations/genimagetovideo.py +++ b/src/livepeer/models/operations/genimagetovideo.py @@ -1,11 +1,11 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations +from livepeer.models import studio_api_error as models_studio_api_error from livepeer.models.components import ( httpmetadata as components_httpmetadata, videoresponse as components_videoresponse, ) -from livepeer.models.errors import studio_api_error as errors_studio_api_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -16,7 +16,7 @@ class GenImageToVideoResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict video_response: NotRequired[components_videoresponse.VideoResponseTypedDict] r"""Successful Response""" - studio_api_error: NotRequired[errors_studio_api_error.StudioAPIError] + studio_api_error: NotRequired[models_studio_api_error.StudioAPIErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class GenImageToVideoResponse(BaseModel): video_response: Optional[components_videoresponse.VideoResponse] = None r"""Successful Response""" - studio_api_error: Optional[errors_studio_api_error.StudioAPIError] = None + studio_api_error: Optional[models_studio_api_error.StudioAPIError] = None r"""Error""" diff --git a/src/livepeer/models/operations/gensegmentanything2.py b/src/livepeer/models/operations/gensegmentanything2.py index d2eb36d..3bdd75e 100644 --- a/src/livepeer/models/operations/gensegmentanything2.py +++ b/src/livepeer/models/operations/gensegmentanything2.py @@ -4,8 +4,8 @@ from livepeer.models.components import ( httpmetadata as components_httpmetadata, masksresponse as components_masksresponse, + studio_api_error5 as components_studio_api_error5, ) -from livepeer.models.errors import studio_api_error as errors_studio_api_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -16,7 +16,7 @@ class GenSegmentAnything2ResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict masks_response: NotRequired[components_masksresponse.MasksResponseTypedDict] r"""Successful Response""" - studio_api_error: NotRequired[errors_studio_api_error.StudioAPIError] + studio_api_error: NotRequired[components_studio_api_error5.StudioAPIError5TypedDict] r"""Error""" @@ -28,5 +28,5 @@ class GenSegmentAnything2Response(BaseModel): masks_response: Optional[components_masksresponse.MasksResponse] = None r"""Successful Response""" - studio_api_error: Optional[errors_studio_api_error.StudioAPIError] = None + studio_api_error: Optional[components_studio_api_error5.StudioAPIError5] = None r"""Error""" diff --git a/src/livepeer/models/operations/gentexttoimage.py b/src/livepeer/models/operations/gentexttoimage.py index a9d3376..daaaaa2 100644 --- a/src/livepeer/models/operations/gentexttoimage.py +++ b/src/livepeer/models/operations/gentexttoimage.py @@ -4,8 +4,8 @@ from livepeer.models.components import ( httpmetadata as components_httpmetadata, imageresponse as components_imageresponse, + studio_api_error as components_studio_api_error, ) -from livepeer.models.errors import studio_api_error as errors_studio_api_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -16,7 +16,7 @@ class GenTextToImageResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict image_response: NotRequired[components_imageresponse.ImageResponseTypedDict] r"""Successful Response""" - studio_api_error: NotRequired[errors_studio_api_error.StudioAPIError] + studio_api_error: NotRequired[components_studio_api_error.StudioAPIErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class GenTextToImageResponse(BaseModel): image_response: Optional[components_imageresponse.ImageResponse] = None r"""Successful Response""" - studio_api_error: Optional[errors_studio_api_error.StudioAPIError] = None + studio_api_error: Optional[components_studio_api_error.StudioAPIError] = None r"""Error""" diff --git a/src/livepeer/models/operations/genupscale.py b/src/livepeer/models/operations/genupscale.py index 30252fd..d2ad262 100644 --- a/src/livepeer/models/operations/genupscale.py +++ b/src/livepeer/models/operations/genupscale.py @@ -1,11 +1,11 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations +from livepeer.models import studio_api_error as models_studio_api_error from livepeer.models.components import ( httpmetadata as components_httpmetadata, imageresponse as components_imageresponse, ) -from livepeer.models.errors import studio_api_error as errors_studio_api_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -16,7 +16,7 @@ class GenUpscaleResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict image_response: NotRequired[components_imageresponse.ImageResponseTypedDict] r"""Successful Response""" - studio_api_error: NotRequired[errors_studio_api_error.StudioAPIError] + studio_api_error: NotRequired[models_studio_api_error.StudioAPIErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class GenUpscaleResponse(BaseModel): image_response: Optional[components_imageresponse.ImageResponse] = None r"""Successful Response""" - studio_api_error: Optional[errors_studio_api_error.StudioAPIError] = None + studio_api_error: Optional[models_studio_api_error.StudioAPIError] = None r"""Error""" diff --git a/src/livepeer/models/operations/getasset.py b/src/livepeer/models/operations/getasset.py index dcdedc7..f678e1b 100644 --- a/src/livepeer/models/operations/getasset.py +++ b/src/livepeer/models/operations/getasset.py @@ -3,9 +3,9 @@ from __future__ import annotations from livepeer.models.components import ( asset as components_asset, + error as components_error, httpmetadata as components_httpmetadata, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -31,7 +31,7 @@ class GetAssetResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict asset: NotRequired[components_asset.AssetTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -43,5 +43,5 @@ class GetAssetResponse(BaseModel): asset: Optional[components_asset.Asset] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getassets.py b/src/livepeer/models/operations/getassets.py index ce9be55..e548558 100644 --- a/src/livepeer/models/operations/getassets.py +++ b/src/livepeer/models/operations/getassets.py @@ -3,9 +3,9 @@ from __future__ import annotations from livepeer.models.components import ( asset as components_asset, + error as components_error, httpmetadata as components_httpmetadata, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import List, Optional, TypedDict @@ -16,7 +16,7 @@ class GetAssetsResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[List[components_asset.AssetTypedDict]] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class GetAssetsResponse(BaseModel): data: Optional[List[components_asset.Asset]] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getclips.py b/src/livepeer/models/operations/getclips.py index cbeb34f..e68d0be 100644 --- a/src/livepeer/models/operations/getclips.py +++ b/src/livepeer/models/operations/getclips.py @@ -3,9 +3,9 @@ from __future__ import annotations from livepeer.models.components import ( asset as components_asset, + error as components_error, httpmetadata as components_httpmetadata, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -29,7 +29,7 @@ class GetClipsResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[List[components_asset.AssetTypedDict]] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -41,5 +41,5 @@ class GetClipsResponse(BaseModel): data: Optional[List[components_asset.Asset]] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getcreatorviewershipmetrics.py b/src/livepeer/models/operations/getcreatorviewershipmetrics.py index 4900288..ba41586 100644 --- a/src/livepeer/models/operations/getcreatorviewershipmetrics.py +++ b/src/livepeer/models/operations/getcreatorviewershipmetrics.py @@ -4,10 +4,10 @@ from datetime import datetime from enum import Enum from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, viewership_metric as components_viewership_metric, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, QueryParamMetadata import pydantic @@ -132,7 +132,7 @@ class GetCreatorViewershipMetricsResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[List[components_viewership_metric.ViewershipMetricTypedDict]] r"""A list of Metric objects""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -144,5 +144,5 @@ class GetCreatorViewershipMetricsResponse(BaseModel): data: Optional[List[components_viewership_metric.ViewershipMetric]] = None r"""A list of Metric objects""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getmultistreamtarget.py b/src/livepeer/models/operations/getmultistreamtarget.py index 4e09a82..4572e31 100644 --- a/src/livepeer/models/operations/getmultistreamtarget.py +++ b/src/livepeer/models/operations/getmultistreamtarget.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, multistream_target as components_multistream_target, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -31,7 +31,7 @@ class GetMultistreamTargetResponseTypedDict(TypedDict): components_multistream_target.MultistreamTargetTypedDict ] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -43,5 +43,5 @@ class GetMultistreamTargetResponse(BaseModel): multistream_target: Optional[components_multistream_target.MultistreamTarget] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getmultistreamtargets.py b/src/livepeer/models/operations/getmultistreamtargets.py index 6686848..416f6d5 100644 --- a/src/livepeer/models/operations/getmultistreamtargets.py +++ b/src/livepeer/models/operations/getmultistreamtargets.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, multistream_target as components_multistream_target, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import List, Optional, TypedDict @@ -16,7 +16,7 @@ class GetMultistreamTargetsResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[List[components_multistream_target.MultistreamTargetTypedDict]] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class GetMultistreamTargetsResponse(BaseModel): data: Optional[List[components_multistream_target.MultistreamTarget]] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getplaybackinfo.py b/src/livepeer/models/operations/getplaybackinfo.py index 357ce8b..9673500 100644 --- a/src/livepeer/models/operations/getplaybackinfo.py +++ b/src/livepeer/models/operations/getplaybackinfo.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, playback_info as components_playback_info, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -29,7 +29,7 @@ class GetPlaybackInfoResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict playback_info: NotRequired[components_playback_info.PlaybackInfoTypedDict] r"""Successful response""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Playback not found""" @@ -41,5 +41,5 @@ class GetPlaybackInfoResponse(BaseModel): playback_info: Optional[components_playback_info.PlaybackInfo] = None r"""Successful response""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Playback not found""" diff --git a/src/livepeer/models/operations/getpublicviewershipmetrics.py b/src/livepeer/models/operations/getpublicviewershipmetrics.py index fbd3975..fd0d46b 100644 --- a/src/livepeer/models/operations/getpublicviewershipmetrics.py +++ b/src/livepeer/models/operations/getpublicviewershipmetrics.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from livepeer.models.components import httpmetadata as components_httpmetadata -from livepeer.models.errors import error as errors_error +from livepeer.models.components import ( + error as components_error, + httpmetadata as components_httpmetadata, +) from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -73,7 +75,7 @@ class GetPublicViewershipMetricsResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[GetPublicViewershipMetricsDataTypedDict] r"""A single Metric object with the viewCount and playtimeMins metrics.""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -85,5 +87,5 @@ class GetPublicViewershipMetricsResponse(BaseModel): data: Optional[GetPublicViewershipMetricsData] = None r"""A single Metric object with the viewCount and playtimeMins metrics.""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getrealtimeviewershipnow.py b/src/livepeer/models/operations/getrealtimeviewershipnow.py index 939d9cd..67425ff 100644 --- a/src/livepeer/models/operations/getrealtimeviewershipnow.py +++ b/src/livepeer/models/operations/getrealtimeviewershipnow.py @@ -3,10 +3,10 @@ from __future__ import annotations from enum import Enum from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, realtime_viewership_metric as components_realtime_viewership_metric, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, QueryParamMetadata import pydantic @@ -73,7 +73,7 @@ class GetRealtimeViewershipNowResponseTypedDict(TypedDict): List[components_realtime_viewership_metric.RealtimeViewershipMetricTypedDict] ] r"""A list of Metric objects""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -87,5 +87,5 @@ class GetRealtimeViewershipNowResponse(BaseModel): ] = None r"""A list of Metric objects""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getrecordedsessions.py b/src/livepeer/models/operations/getrecordedsessions.py index 039433d..4bd27de 100644 --- a/src/livepeer/models/operations/getrecordedsessions.py +++ b/src/livepeer/models/operations/getrecordedsessions.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, session as components_session, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata, QueryParamMetadata import pydantic @@ -59,7 +59,7 @@ class GetRecordedSessionsResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[List[components_session.SessionTypedDict]] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -71,5 +71,5 @@ class GetRecordedSessionsResponse(BaseModel): data: Optional[List[components_session.Session]] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getroom.py b/src/livepeer/models/operations/getroom.py index d96d5e1..b99ae29 100644 --- a/src/livepeer/models/operations/getroom.py +++ b/src/livepeer/models/operations/getroom.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, room as components_room, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -27,7 +27,7 @@ class GetRoomResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict room: NotRequired[components_room.RoomTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -39,5 +39,5 @@ class GetRoomResponse(BaseModel): room: Optional[components_room.Room] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getroomuser.py b/src/livepeer/models/operations/getroomuser.py index b558577..4552981 100644 --- a/src/livepeer/models/operations/getroomuser.py +++ b/src/livepeer/models/operations/getroomuser.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, get_room_user_response as components_get_room_user_response, httpmetadata as components_httpmetadata, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -36,7 +36,7 @@ class GetRoomUserResponseTypedDict(TypedDict): components_get_room_user_response.GetRoomUserResponseTypedDict ] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -50,5 +50,5 @@ class GetRoomUserResponse(BaseModel): ] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getsession.py b/src/livepeer/models/operations/getsession.py index 0c51649..d66f2cd 100644 --- a/src/livepeer/models/operations/getsession.py +++ b/src/livepeer/models/operations/getsession.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, session as components_session, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -29,7 +29,7 @@ class GetSessionResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict session: NotRequired[components_session.SessionTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -41,5 +41,5 @@ class GetSessionResponse(BaseModel): session: Optional[components_session.Session] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getsessionclips.py b/src/livepeer/models/operations/getsessionclips.py index 679032d..0651f9b 100644 --- a/src/livepeer/models/operations/getsessionclips.py +++ b/src/livepeer/models/operations/getsessionclips.py @@ -3,9 +3,9 @@ from __future__ import annotations from livepeer.models.components import ( asset as components_asset, + error as components_error, httpmetadata as components_httpmetadata, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -29,7 +29,7 @@ class GetSessionClipsResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[List[components_asset.AssetTypedDict]] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -41,5 +41,5 @@ class GetSessionClipsResponse(BaseModel): data: Optional[List[components_asset.Asset]] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getsessions.py b/src/livepeer/models/operations/getsessions.py index 43f0dca..d5ee79c 100644 --- a/src/livepeer/models/operations/getsessions.py +++ b/src/livepeer/models/operations/getsessions.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, session as components_session, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import List, Optional, TypedDict @@ -16,7 +16,7 @@ class GetSessionsResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[List[components_session.SessionTypedDict]] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class GetSessionsResponse(BaseModel): data: Optional[List[components_session.Session]] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getsigningkey.py b/src/livepeer/models/operations/getsigningkey.py index ae6fbc7..f7742d7 100644 --- a/src/livepeer/models/operations/getsigningkey.py +++ b/src/livepeer/models/operations/getsigningkey.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, signing_key as components_signing_key, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -31,7 +31,7 @@ class GetSigningKeyResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict signing_key: NotRequired[components_signing_key.SigningKeyTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -43,5 +43,5 @@ class GetSigningKeyResponse(BaseModel): signing_key: Optional[components_signing_key.SigningKey] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getsigningkeys.py b/src/livepeer/models/operations/getsigningkeys.py index f1de1b1..d1ae12b 100644 --- a/src/livepeer/models/operations/getsigningkeys.py +++ b/src/livepeer/models/operations/getsigningkeys.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, signing_key as components_signing_key, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import List, Optional, TypedDict @@ -16,7 +16,7 @@ class GetSigningKeysResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[List[components_signing_key.SigningKeyTypedDict]] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class GetSigningKeysResponse(BaseModel): data: Optional[List[components_signing_key.SigningKey]] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getstream.py b/src/livepeer/models/operations/getstream.py index 4c54047..d9c4672 100644 --- a/src/livepeer/models/operations/getstream.py +++ b/src/livepeer/models/operations/getstream.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, stream as components_stream, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -29,7 +29,7 @@ class GetStreamResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict stream: NotRequired[components_stream.StreamTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -41,5 +41,5 @@ class GetStreamResponse(BaseModel): stream: Optional[components_stream.Stream] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getstreams.py b/src/livepeer/models/operations/getstreams.py index cc811f8..f2d16e9 100644 --- a/src/livepeer/models/operations/getstreams.py +++ b/src/livepeer/models/operations/getstreams.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, stream as components_stream, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, QueryParamMetadata import pydantic @@ -28,7 +28,7 @@ class GetStreamsResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[List[components_stream.StreamTypedDict]] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -40,5 +40,5 @@ class GetStreamsResponse(BaseModel): data: Optional[List[components_stream.Stream]] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/gettasks.py b/src/livepeer/models/operations/gettasks.py index 61de40e..59715b1 100644 --- a/src/livepeer/models/operations/gettasks.py +++ b/src/livepeer/models/operations/gettasks.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, task as components_task, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import List, Optional, TypedDict @@ -16,7 +16,7 @@ class GetTasksResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[List[components_task.TaskTypedDict]] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class GetTasksResponse(BaseModel): data: Optional[List[components_task.Task]] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getusagemetrics.py b/src/livepeer/models/operations/getusagemetrics.py index 9b7476d..414eab4 100644 --- a/src/livepeer/models/operations/getusagemetrics.py +++ b/src/livepeer/models/operations/getusagemetrics.py @@ -3,10 +3,10 @@ from __future__ import annotations from enum import Enum from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, usage_metric as components_usage_metric, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, QueryParamMetadata import pydantic @@ -100,7 +100,7 @@ class GetUsageMetricsResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict usage_metric: NotRequired[components_usage_metric.UsageMetricTypedDict] r"""A Usage Metric object""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -112,5 +112,5 @@ class GetUsageMetricsResponse(BaseModel): usage_metric: Optional[components_usage_metric.UsageMetric] = None r"""A Usage Metric object""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getviewershipmetrics.py b/src/livepeer/models/operations/getviewershipmetrics.py index 1aeb84f..d43b449 100644 --- a/src/livepeer/models/operations/getviewershipmetrics.py +++ b/src/livepeer/models/operations/getviewershipmetrics.py @@ -4,10 +4,10 @@ from datetime import datetime from enum import Enum from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, viewership_metric as components_viewership_metric, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, QueryParamMetadata import pydantic @@ -152,7 +152,7 @@ class GetViewershipMetricsResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[List[components_viewership_metric.ViewershipMetricTypedDict]] r"""A list of Metric objects""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -164,5 +164,5 @@ class GetViewershipMetricsResponse(BaseModel): data: Optional[List[components_viewership_metric.ViewershipMetric]] = None r"""A list of Metric objects""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getwebhook.py b/src/livepeer/models/operations/getwebhook.py index cca629d..7bf3970 100644 --- a/src/livepeer/models/operations/getwebhook.py +++ b/src/livepeer/models/operations/getwebhook.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, webhook as components_webhook, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -27,7 +27,7 @@ class GetWebhookResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict webhook: NotRequired[components_webhook.WebhookTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -39,5 +39,5 @@ class GetWebhookResponse(BaseModel): webhook: Optional[components_webhook.Webhook] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getwebhooklog.py b/src/livepeer/models/operations/getwebhooklog.py index 958866c..8002af9 100644 --- a/src/livepeer/models/operations/getwebhooklog.py +++ b/src/livepeer/models/operations/getwebhooklog.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, webhook_log as components_webhook_log, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -34,7 +34,7 @@ class GetWebhookLogResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict webhook_log: NotRequired[components_webhook_log.WebhookLogTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -46,5 +46,5 @@ class GetWebhookLogResponse(BaseModel): webhook_log: Optional[components_webhook_log.WebhookLog] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getwebhooklogs.py b/src/livepeer/models/operations/getwebhooklogs.py index d1bd080..db14806 100644 --- a/src/livepeer/models/operations/getwebhooklogs.py +++ b/src/livepeer/models/operations/getwebhooklogs.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, webhook_log as components_webhook_log, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -27,7 +27,7 @@ class GetWebhookLogsResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[List[components_webhook_log.WebhookLogTypedDict]] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -39,5 +39,5 @@ class GetWebhookLogsResponse(BaseModel): data: Optional[List[components_webhook_log.WebhookLog]] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/getwebhooks.py b/src/livepeer/models/operations/getwebhooks.py index c321324..46cdd12 100644 --- a/src/livepeer/models/operations/getwebhooks.py +++ b/src/livepeer/models/operations/getwebhooks.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, webhook as components_webhook, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import List, Optional, TypedDict @@ -16,7 +16,7 @@ class GetWebhooksResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[List[components_webhook.WebhookTypedDict]] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class GetWebhooksResponse(BaseModel): data: Optional[List[components_webhook.Webhook]] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/removemultistreamtarget.py b/src/livepeer/models/operations/removemultistreamtarget.py index 485af16..263f0d8 100644 --- a/src/livepeer/models/operations/removemultistreamtarget.py +++ b/src/livepeer/models/operations/removemultistreamtarget.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from livepeer.models.components import httpmetadata as components_httpmetadata -from livepeer.models.errors import error as errors_error +from livepeer.models.components import ( + error as components_error, + httpmetadata as components_httpmetadata, +) from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -33,7 +35,7 @@ class RemoveMultistreamTargetRequest(BaseModel): class RemoveMultistreamTargetResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -42,5 +44,5 @@ class RemoveMultistreamTargetResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/requestupload.py b/src/livepeer/models/operations/requestupload.py index 25ee9ba..037c14d 100644 --- a/src/livepeer/models/operations/requestupload.py +++ b/src/livepeer/models/operations/requestupload.py @@ -3,9 +3,9 @@ from __future__ import annotations from livepeer.models.components import ( asset as components_asset, + error as components_error, httpmetadata as components_httpmetadata, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -49,7 +49,7 @@ class RequestUploadResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict data: NotRequired[RequestUploadDataTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -61,5 +61,5 @@ class RequestUploadResponse(BaseModel): data: Optional[RequestUploadData] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/resendwebhook.py b/src/livepeer/models/operations/resendwebhook.py index 4cd4e91..f45c561 100644 --- a/src/livepeer/models/operations/resendwebhook.py +++ b/src/livepeer/models/operations/resendwebhook.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, webhook_log as components_webhook_log, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -34,7 +34,7 @@ class ResendWebhookResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict webhook_log: NotRequired[components_webhook_log.WebhookLogTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -46,5 +46,5 @@ class ResendWebhookResponse(BaseModel): webhook_log: Optional[components_webhook_log.WebhookLog] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/startpullstream.py b/src/livepeer/models/operations/startpullstream.py index 530ba72..ce064a6 100644 --- a/src/livepeer/models/operations/startpullstream.py +++ b/src/livepeer/models/operations/startpullstream.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from livepeer.models.components import httpmetadata as components_httpmetadata -from livepeer.models.errors import error as errors_error +from livepeer.models.components import ( + error as components_error, + httpmetadata as components_httpmetadata, +) from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -24,7 +26,7 @@ class StartPullStreamRequest(BaseModel): class StartPullStreamResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -33,5 +35,5 @@ class StartPullStreamResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/startroomegress.py b/src/livepeer/models/operations/startroomegress.py index b8540a4..be16984 100644 --- a/src/livepeer/models/operations/startroomegress.py +++ b/src/livepeer/models/operations/startroomegress.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, room_egress_payload as components_room_egress_payload, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata, RequestMetadata import pydantic @@ -31,7 +31,7 @@ class StartRoomEgressRequest(BaseModel): class StartRoomEgressResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -40,5 +40,5 @@ class StartRoomEgressResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/stoproomegress.py b/src/livepeer/models/operations/stoproomegress.py index cb25bc1..4d81688 100644 --- a/src/livepeer/models/operations/stoproomegress.py +++ b/src/livepeer/models/operations/stoproomegress.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from livepeer.models.components import httpmetadata as components_httpmetadata -from livepeer.models.errors import error as errors_error +from livepeer.models.components import ( + error as components_error, + httpmetadata as components_httpmetadata, +) from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -22,7 +24,7 @@ class StopRoomEgressRequest(BaseModel): class StopRoomEgressResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -31,5 +33,5 @@ class StopRoomEgressResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/terminatestream.py b/src/livepeer/models/operations/terminatestream.py index b64897e..29d2d67 100644 --- a/src/livepeer/models/operations/terminatestream.py +++ b/src/livepeer/models/operations/terminatestream.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from livepeer.models.components import httpmetadata as components_httpmetadata -from livepeer.models.errors import error as errors_error +from livepeer.models.components import ( + error as components_error, + httpmetadata as components_httpmetadata, +) from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata import pydantic @@ -24,7 +26,7 @@ class TerminateStreamRequest(BaseModel): class TerminateStreamResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -33,5 +35,5 @@ class TerminateStreamResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/transcodevideo.py b/src/livepeer/models/operations/transcodevideo.py index 12cb79f..da8c4bf 100644 --- a/src/livepeer/models/operations/transcodevideo.py +++ b/src/livepeer/models/operations/transcodevideo.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, task as components_task, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -16,7 +16,7 @@ class TranscodeVideoResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict task: NotRequired[components_task.TaskTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -28,5 +28,5 @@ class TranscodeVideoResponse(BaseModel): task: Optional[components_task.Task] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/updateasset.py b/src/livepeer/models/operations/updateasset.py index bd781e7..0205fda 100644 --- a/src/livepeer/models/operations/updateasset.py +++ b/src/livepeer/models/operations/updateasset.py @@ -4,9 +4,9 @@ from livepeer.models.components import ( asset as components_asset, asset_patch_payload as components_asset_patch_payload, + error as components_error, httpmetadata as components_httpmetadata, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata, RequestMetadata import pydantic @@ -38,7 +38,7 @@ class UpdateAssetResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict asset: NotRequired[components_asset.AssetTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -50,5 +50,5 @@ class UpdateAssetResponse(BaseModel): asset: Optional[components_asset.Asset] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/updatemultistreamtarget.py b/src/livepeer/models/operations/updatemultistreamtarget.py index f10ce78..204c02d 100644 --- a/src/livepeer/models/operations/updatemultistreamtarget.py +++ b/src/livepeer/models/operations/updatemultistreamtarget.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, multistream_target_patch_payload as components_multistream_target_patch_payload, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata, RequestMetadata import pydantic @@ -33,7 +33,7 @@ class UpdateMultistreamTargetRequest(BaseModel): class UpdateMultistreamTargetResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -42,5 +42,5 @@ class UpdateMultistreamTargetResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/updateroomuser.py b/src/livepeer/models/operations/updateroomuser.py index 10de7d6..175ab7a 100644 --- a/src/livepeer/models/operations/updateroomuser.py +++ b/src/livepeer/models/operations/updateroomuser.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, room_user_update_payload as components_room_user_update_payload, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata, RequestMetadata import pydantic @@ -40,7 +40,7 @@ class UpdateRoomUserRequest(BaseModel): class UpdateRoomUserResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -49,5 +49,5 @@ class UpdateRoomUserResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/updatesigningkey.py b/src/livepeer/models/operations/updatesigningkey.py index 542019a..6355f5e 100644 --- a/src/livepeer/models/operations/updatesigningkey.py +++ b/src/livepeer/models/operations/updatesigningkey.py @@ -1,8 +1,10 @@ """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" from __future__ import annotations -from livepeer.models.components import httpmetadata as components_httpmetadata -from livepeer.models.errors import error as errors_error +from livepeer.models.components import ( + error as components_error, + httpmetadata as components_httpmetadata, +) from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata, RequestMetadata import pydantic @@ -43,7 +45,7 @@ class UpdateSigningKeyRequest(BaseModel): class UpdateSigningKeyResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -52,5 +54,5 @@ class UpdateSigningKeyResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/updatestream.py b/src/livepeer/models/operations/updatestream.py index cedfc9a..c8f2f55 100644 --- a/src/livepeer/models/operations/updatestream.py +++ b/src/livepeer/models/operations/updatestream.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, stream_patch_payload as components_stream_patch_payload, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata, RequestMetadata import pydantic @@ -33,7 +33,7 @@ class UpdateStreamRequest(BaseModel): class UpdateStreamResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -42,5 +42,5 @@ class UpdateStreamResponse(BaseModel): Optional[components_httpmetadata.HTTPMetadata], pydantic.Field(exclude=True) ] = None - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/updatewebhook.py b/src/livepeer/models/operations/updatewebhook.py index 057f4d8..6fe326c 100644 --- a/src/livepeer/models/operations/updatewebhook.py +++ b/src/livepeer/models/operations/updatewebhook.py @@ -2,10 +2,10 @@ from __future__ import annotations from livepeer.models.components import ( + error as components_error, httpmetadata as components_httpmetadata, webhook as components_webhook, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel from livepeer.utils import FieldMetadata, PathParamMetadata, RequestMetadata import pydantic @@ -33,7 +33,7 @@ class UpdateWebhookResponseTypedDict(TypedDict): http_meta: components_httpmetadata.HTTPMetadataTypedDict webhook: NotRequired[components_webhook.WebhookTypedDict] r"""Success""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -45,5 +45,5 @@ class UpdateWebhookResponse(BaseModel): webhook: Optional[components_webhook.Webhook] = None r"""Success""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/operations/uploadasset.py b/src/livepeer/models/operations/uploadasset.py index f2ce95d..96a8896 100644 --- a/src/livepeer/models/operations/uploadasset.py +++ b/src/livepeer/models/operations/uploadasset.py @@ -3,9 +3,9 @@ from __future__ import annotations from livepeer.models.components import ( asset as components_asset, + error as components_error, httpmetadata as components_httpmetadata, ) -from livepeer.models.errors import error as errors_error from livepeer.types import BaseModel import pydantic from typing import Optional, TypedDict @@ -66,7 +66,7 @@ class UploadAssetResponseTypedDict(TypedDict): UploadAssetDataOutputTypedDict ] r"""Upload started""" - error: NotRequired[errors_error.Error] + error: NotRequired[components_error.ErrorTypedDict] r"""Error""" @@ -81,5 +81,5 @@ class UploadAssetResponse(BaseModel): two_hundred_and_one_application_json_data: Optional[UploadAssetDataOutput] = None r"""Upload started""" - error: Optional[errors_error.Error] = None + error: Optional[components_error.Error] = None r"""Error""" diff --git a/src/livepeer/models/studio_api_error.py b/src/livepeer/models/studio_api_error.py new file mode 100644 index 0000000..f59289b --- /dev/null +++ b/src/livepeer/models/studio_api_error.py @@ -0,0 +1,38 @@ +"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.""" + +from __future__ import annotations +from livepeer.types import BaseModel +from typing import List, Optional, TypedDict +from typing_extensions import NotRequired + + +class StudioAPIErrorTypedDict(TypedDict): + errors: NotRequired[List[str]] + + +class StudioAPIError(BaseModel): + errors: Optional[List[str]] = None + + +class StudioAPIErrorTypedDict(TypedDict): + errors: NotRequired[List[str]] + + +class StudioAPIError(BaseModel): + errors: Optional[List[str]] = None + + +class StudioAPIErrorTypedDict(TypedDict): + errors: NotRequired[List[str]] + + +class StudioAPIError(BaseModel): + errors: Optional[List[str]] = None + + +class StudioAPIErrorTypedDict(TypedDict): + errors: NotRequired[List[str]] + + +class StudioAPIError(BaseModel): + errors: Optional[List[str]] = None diff --git a/src/livepeer/multistream.py b/src/livepeer/multistream.py index 0a14f06..8010783 100644 --- a/src/livepeer/multistream.py +++ b/src/livepeer/multistream.py @@ -78,7 +78,7 @@ def get_all( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetMultistreamTargetsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -157,7 +157,7 @@ async def get_all_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetMultistreamTargetsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -249,7 +249,7 @@ def create( ) if utils.match_response(http_res, "default", "application/json"): return operations.CreateMultistreamTargetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -341,7 +341,7 @@ async def create_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.CreateMultistreamTargetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -427,7 +427,7 @@ def get( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetMultistreamTargetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -513,7 +513,7 @@ async def get_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetMultistreamTargetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -612,7 +612,7 @@ def update( ) if utils.match_response(http_res, "default", "application/json"): return operations.UpdateMultistreamTargetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -711,7 +711,7 @@ async def update_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.UpdateMultistreamTargetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -798,7 +798,7 @@ def delete( ) if utils.match_response(http_res, "default", "application/json"): return operations.DeleteMultistreamTargetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -885,7 +885,7 @@ async def delete_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.DeleteMultistreamTargetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) diff --git a/src/livepeer/playback.py b/src/livepeer/playback.py index 51f7010..40630a8 100644 --- a/src/livepeer/playback.py +++ b/src/livepeer/playback.py @@ -89,7 +89,7 @@ def get( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetPlaybackInfoResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -179,7 +179,7 @@ async def get_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetPlaybackInfoResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) diff --git a/src/livepeer/room.py b/src/livepeer/room.py index 77486bc..40c3047 100644 --- a/src/livepeer/room.py +++ b/src/livepeer/room.py @@ -85,7 +85,7 @@ def create( ) if utils.match_response(http_res, "default", "application/json"): return operations.CreateRoomResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -170,7 +170,7 @@ async def create_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.CreateRoomResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -257,7 +257,7 @@ def get( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetRoomResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -344,7 +344,7 @@ async def get_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetRoomResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -430,7 +430,7 @@ def delete( ) if utils.match_response(http_res, "default", "application/json"): return operations.DeleteRoomResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -516,7 +516,7 @@ async def delete_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.DeleteRoomResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -620,7 +620,7 @@ def start_egress( ) if utils.match_response(http_res, "default", "application/json"): return operations.StartRoomEgressResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -724,7 +724,7 @@ async def start_egress_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.StartRoomEgressResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -810,7 +810,7 @@ def stop_egress( ) if utils.match_response(http_res, "default", "application/json"): return operations.StopRoomEgressResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -896,7 +896,7 @@ async def stop_egress_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.StopRoomEgressResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1004,7 +1004,7 @@ def create_user( ) if utils.match_response(http_res, "default", "application/json"): return operations.CreateRoomUserResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1112,7 +1112,7 @@ async def create_user_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.CreateRoomUserResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1204,7 +1204,7 @@ def get_user( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetRoomUserResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1296,7 +1296,7 @@ async def get_user_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetRoomUserResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1401,7 +1401,7 @@ def update_user( ) if utils.match_response(http_res, "default", "application/json"): return operations.UpdateRoomUserResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1506,7 +1506,7 @@ async def update_user_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.UpdateRoomUserResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1595,7 +1595,7 @@ def delete_user( ) if utils.match_response(http_res, "default", "application/json"): return operations.DeleteRoomUserResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1684,7 +1684,7 @@ async def delete_user_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.DeleteRoomUserResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) diff --git a/src/livepeer/sdkconfiguration.py b/src/livepeer/sdkconfiguration.py index beaa6e3..ed8473b 100644 --- a/src/livepeer/sdkconfiguration.py +++ b/src/livepeer/sdkconfiguration.py @@ -28,9 +28,9 @@ class SDKConfiguration: server_idx: Optional[int] = 0 language: str = "python" openapi_doc_version: str = "1.0.0" - sdk_version: str = "0.3.0" - gen_version: str = "2.415.8" - user_agent: str = "speakeasy-sdk/python 0.3.0 2.415.8 1.0.0 livepeer" + sdk_version: str = "0.3.1" + gen_version: str = "2.428.1" + user_agent: str = "speakeasy-sdk/python 0.3.1 2.428.1 1.0.0 livepeer" retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET) timeout_ms: Optional[int] = None diff --git a/src/livepeer/session.py b/src/livepeer/session.py index 114b844..a610d21 100644 --- a/src/livepeer/session.py +++ b/src/livepeer/session.py @@ -85,7 +85,7 @@ def get_clips( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetSessionClipsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -171,7 +171,7 @@ async def get_clips_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetSessionClipsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -250,7 +250,7 @@ def get_all( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetSessionsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -329,7 +329,7 @@ async def get_all_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetSessionsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -415,7 +415,7 @@ def get( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetSessionResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -501,7 +501,7 @@ async def get_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetSessionResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -590,7 +590,7 @@ def get_recorded( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetRecordedSessionsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -679,7 +679,7 @@ async def get_recorded_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetRecordedSessionsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) diff --git a/src/livepeer/stream.py b/src/livepeer/stream.py index 973ca46..33cbbd1 100644 --- a/src/livepeer/stream.py +++ b/src/livepeer/stream.py @@ -103,7 +103,7 @@ def create( ) if utils.match_response(http_res, "default", "application/json"): return operations.CreateStreamResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -207,7 +207,7 @@ async def create_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.CreateStreamResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -293,7 +293,7 @@ def get_all( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetStreamsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -379,7 +379,7 @@ async def get_all_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetStreamsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -463,7 +463,7 @@ def get( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetStreamResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -547,7 +547,7 @@ async def get_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetStreamResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -644,7 +644,7 @@ def update( ) if utils.match_response(http_res, "default", "application/json"): return operations.UpdateStreamResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -741,7 +741,7 @@ async def update_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.UpdateStreamResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -830,7 +830,7 @@ def delete( ) if utils.match_response(http_res, "default", "application/json"): return operations.DeleteStreamResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -919,7 +919,7 @@ async def delete_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.DeleteStreamResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1012,7 +1012,7 @@ def terminate( ) if utils.match_response(http_res, "default", "application/json"): return operations.TerminateStreamResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1105,7 +1105,7 @@ async def terminate_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.TerminateStreamResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1197,7 +1197,7 @@ def start_pull( ) if utils.match_response(http_res, "default", "application/json"): return operations.StartPullStreamResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1289,7 +1289,7 @@ async def start_pull_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.StartPullStreamResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1378,7 +1378,7 @@ def create_clip( ) if utils.match_response(http_res, "default", "application/json"): return operations.CreateClipResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1467,7 +1467,7 @@ async def create_clip_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.CreateClipResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1553,7 +1553,7 @@ def get_clips( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetClipsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1639,7 +1639,7 @@ async def get_clips_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetClipsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1736,7 +1736,7 @@ def add_multistream_target( ) if utils.match_response(http_res, "default", "application/json"): return operations.AddMultistreamTargetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1833,7 +1833,7 @@ async def add_multistream_target_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.AddMultistreamTargetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1919,7 +1919,7 @@ def remove_multistream_target( ) if utils.match_response(http_res, "default", "application/json"): return operations.RemoveMultistreamTargetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -2005,7 +2005,7 @@ async def remove_multistream_target_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.RemoveMultistreamTargetResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) diff --git a/src/livepeer/task.py b/src/livepeer/task.py index e3f2636..4b0a74d 100644 --- a/src/livepeer/task.py +++ b/src/livepeer/task.py @@ -78,7 +78,7 @@ def get_all( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetTasksResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -157,7 +157,7 @@ async def get_all_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetTasksResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) diff --git a/src/livepeer/transcode.py b/src/livepeer/transcode.py index 6de7605..e0d140e 100644 --- a/src/livepeer/transcode.py +++ b/src/livepeer/transcode.py @@ -211,7 +211,7 @@ def create( ) if utils.match_response(http_res, "default", "application/json"): return operations.TranscodeVideoResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -423,7 +423,7 @@ async def create_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.TranscodeVideoResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) diff --git a/src/livepeer/webhook.py b/src/livepeer/webhook.py index 352ec08..c3140a6 100644 --- a/src/livepeer/webhook.py +++ b/src/livepeer/webhook.py @@ -78,7 +78,7 @@ def get_all( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetWebhooksResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -157,7 +157,7 @@ async def get_all_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetWebhooksResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -249,7 +249,7 @@ def create( ) if utils.match_response(http_res, "default", "application/json"): return operations.CreateWebhookResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -341,7 +341,7 @@ async def create_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.CreateWebhookResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -427,7 +427,7 @@ def get( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetWebhookResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -513,7 +513,7 @@ async def get_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetWebhookResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -605,7 +605,7 @@ def update( ) if utils.match_response(http_res, "default", "application/json"): return operations.UpdateWebhookResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -697,7 +697,7 @@ async def update_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.UpdateWebhookResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -783,7 +783,7 @@ def delete( ) if utils.match_response(http_res, "default", "application/json"): return operations.DeleteWebhookResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -869,7 +869,7 @@ async def delete_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.DeleteWebhookResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -955,7 +955,7 @@ def get_logs( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetWebhookLogsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1041,7 +1041,7 @@ async def get_logs_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetWebhookLogsResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1130,7 +1130,7 @@ def get_log( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetWebhookLogResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1219,7 +1219,7 @@ async def get_log_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.GetWebhookLogResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1313,7 +1313,7 @@ def resend_log( ) if utils.match_response(http_res, "default", "application/json"): return operations.ResendWebhookResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), ) @@ -1407,7 +1407,7 @@ async def resend_log_async( ) if utils.match_response(http_res, "default", "application/json"): return operations.ResendWebhookResponse( - error=utils.unmarshal_json(http_res.text, Optional[errors.Error]), + error=utils.unmarshal_json(http_res.text, Optional[components.Error]), http_meta=components.HTTPMetadata(request=req, response=http_res), )