Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/composition/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "composition-demo",
"version": "0.30.2",
"version": "0.31.0",
"private": true,
"type": "module",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/multimodal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "multimodal-demo",
"version": "0.30.2",
"version": "0.31.0",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"format": "prettier --write .",
Expand Down
2 changes: 1 addition & 1 deletion examples/room-manager/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "room-manager",
"version": "0.30.2",
"version": "0.31.0",
"description": "",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion examples/selective-subscription/backend/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "selective-subscription-backend",
"version": "0.30.2",
"version": "0.31.0",
"scripts": {
"dev": "bun run --watch src/index.ts",
"typecheck": "tsc --noEmit"
Expand Down
2 changes: 1 addition & 1 deletion examples/selective-subscription/frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "selective-subscription-frontend",
"private": true,
"version": "0.30.2",
"version": "0.31.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
2 changes: 1 addition & 1 deletion examples/selective-subscription/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "selective-subscription-demo",
"version": "0.30.2",
"version": "0.31.0",
"workspaces": [
"frontend",
"backend"
Expand Down
2 changes: 1 addition & 1 deletion examples/transcription/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "transcription-demo",
"version": "0.30.2",
"version": "0.31.0",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"format": "prettier --write .",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.30.2",
"version": "0.31.0",
"license": "Apache-2.0",
"workspaces": [
"packages/*",
Expand Down
2 changes: 1 addition & 1 deletion packages/composition-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fishjam-cloud/composition-cli",
"version": "0.30.2",
"version": "0.31.0",
"description": "CLI for scaffolding and building Fishjam composition templates",
"license": "Apache-2.0",
"homepage": "https://github.com/fishjam-cloud/js-server-sdk",
Expand Down
2 changes: 1 addition & 1 deletion packages/composition-openapi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fishjam-cloud/composition-openapi",
"version": "0.30.2",
"version": "0.31.0",
"private": true,
"description": "Composition OpenAPI",
"homepage": "https://github.com/fishjam-cloud/js-server-sdk",
Expand Down
2 changes: 1 addition & 1 deletion packages/composition/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fishjam-cloud/composition",
"version": "0.30.2",
"version": "0.31.0",
"description": "React hooks and event bus for building Fishjam composition templates",
"homepage": "https://github.com/fishjam-cloud/js-server-sdk",
"author": "Fishjam Team",
Expand Down
2 changes: 1 addition & 1 deletion packages/fishjam-openapi/openapi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,5 @@ cd $ROOTDIR \
-g typescript-fetch \
--additional-properties=modelPropertyNaming=original \
--reserved-words-mappings public=public \
--global-property=apiDocs=false,modelDocs=false \
--global-property=apiDocs=false,modelDocs=false,skipFormModel=false \
-o ./src/generated
2 changes: 1 addition & 1 deletion packages/fishjam-openapi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fishjam-cloud/fishjam-openapi",
"version": "0.30.2",
"version": "0.31.0",
"private": true,
"description": "Fishjam OpenAPI",
"homepage": "https://github.com/fishjam-cloud/js-server-sdk",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ models/AudioFormat.ts
models/AudioSampleRate.ts
models/CompositionInfo.ts
models/CompositionSource.ts
models/CreateRecordingRequest.ts
models/ModelError.ts
models/MoqAccess.ts
models/MoqAccessConfig.ts
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/fishjam-openapi/src/generated/apis/MoQApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
11 changes: 8 additions & 3 deletions packages/fishjam-openapi/src/generated/apis/RecordingsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand All @@ -13,6 +13,11 @@
*/

import * as runtime from '../runtime';
import {
type CreateRecordingRequest,
CreateRecordingRequestFromJSON,
CreateRecordingRequestToJSON,
} from '../models/CreateRecordingRequest';
import {
type RecordingConfig,
RecordingConfigFromJSON,
Expand Down Expand Up @@ -319,7 +324,7 @@ export class RecordingsApi extends runtime.BaseAPI {
}

/**
* Request the recorder to stop capturing. Finalization is asynchronous: the recording stays `active` until the capture is finalized, then becomes `finished`. Stopping a recording that is no longer active is a no-op.
* Request the recorder to stop capturing. Finalization is asynchronous: the recording stays `active` until the capture is finalized, then becomes `finished`. Stopping a recording that is no longer active is a no-op. Stopping a recording whose composition no longer exists, or whose recorder has already ended, is a no-op as well.
* Stop a recording
*/
async stopRecordingRaw(requestParameters: StopRecordingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecordingDetailsResponse>> {
Expand All @@ -330,7 +335,7 @@ export class RecordingsApi extends runtime.BaseAPI {
}

/**
* Request the recorder to stop capturing. Finalization is asynchronous: the recording stays `active` until the capture is finalized, then becomes `finished`. Stopping a recording that is no longer active is a no-op.
* Request the recorder to stop capturing. Finalization is asynchronous: the recording stays `active` until the capture is finalized, then becomes `finished`. Stopping a recording that is no longer active is a no-op. Stopping a recording whose composition no longer exists, or whose recorder has already ended, is a no-op as well.
* Stop a recording
*/
async stopRecording(requestParameters: StopRecordingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecordingDetailsResponse> {
Expand Down
2 changes: 1 addition & 1 deletion packages/fishjam-openapi/src/generated/apis/RoomsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/fishjam-openapi/src/generated/apis/StreamsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/fishjam-openapi/src/generated/apis/ViewersApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
/* tslint:disable */
/* eslint-disable */
/**
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/

import { mapValues } from '../runtime';
import type { RecordingConfig } from './RecordingConfig';
import {
RecordingConfigFromJSON,
RecordingConfigFromJSONTyped,
RecordingConfigToJSON,
RecordingConfigToJSONTyped,
} from './RecordingConfig';

/**
*
* @export
* @interface CreateRecordingRequest
*/
export interface CreateRecordingRequest {
/**
*
* @type {RecordingConfig}
* @memberof CreateRecordingRequest
*/
config: RecordingConfig;
/**
* The React template bundle to render, at most 1 MiB
* @type {Blob}
* @memberof CreateRecordingRequest
*/
template: Blob;
}

/**
* Check if a given object implements the CreateRecordingRequest interface.
*/
export function instanceOfCreateRecordingRequest(value: object): value is CreateRecordingRequest {
if (!('config' in value) || value['config'] === undefined) return false;
if (!('template' in value) || value['template'] === undefined) return false;
return true;
}

export function CreateRecordingRequestFromJSON(json: any): CreateRecordingRequest {
return CreateRecordingRequestFromJSONTyped(json, false);
}

export function CreateRecordingRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateRecordingRequest {
if (json == null) {
return json;
}
return {

'config': RecordingConfigFromJSON(json['config']),
'template': json['template'],
};
}

export function CreateRecordingRequestToJSON(json: any): CreateRecordingRequest {
return CreateRecordingRequestToJSONTyped(json, false);
}

export function CreateRecordingRequestToJSONTyped(value?: CreateRecordingRequest | null, ignoreDiscriminator: boolean = false): any {
if (value == null) {
return value;
}

return {

'config': RecordingConfigToJSON(value['config']),
'template': value['template'],
};
}

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion packages/fishjam-openapi/src/generated/models/MoqAccess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Fishjam API
* API for managing Fishjam real-time media resources. ## Authentication ## Credentials (Fishjam ID, Fishjam Management Token) can be obtained at https://fishjam.io/app. All requests require HTTP Bearer authorization using the Fishjam Management Token. ## Fishjam SDKs ## For TypeScript and Python users, we provide SDKs that simplify using this API. We recommend using them instead of manually consuming the API in these languages. You can learn more about our SDKs in our [SDK Docs](http://fishjam.swmansion.com/docs/how-to/backend/server-setup)
*
* The version of the OpenAPI document: 0.30.0
* The version of the OpenAPI document: 0.31.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
Loading
Loading