From 7deff54c0013b659547f400722e7265288db7389 Mon Sep 17 00:00:00 2001 From: Zita Szupera Date: Fri, 28 Jun 2024 13:56:39 +0200 Subject: [PATCH] update to open api 122.3.0 --- src/gen/chat/apis/ProductchatApi.ts | 10 +- src/gen/chat/runtime.ts | 2 +- src/gen/video/apis/ProductvideoApi.ts | 2 +- src/gen/video/models/index.ts | 220 +++++++++++++++++++++----- src/gen/video/runtime.ts | 2 +- 5 files changed, 192 insertions(+), 44 deletions(-) diff --git a/src/gen/chat/apis/ProductchatApi.ts b/src/gen/chat/apis/ProductchatApi.ts index f560384..f8576e6 100644 --- a/src/gen/chat/apis/ProductchatApi.ts +++ b/src/gen/chat/apis/ProductchatApi.ts @@ -4,7 +4,7 @@ * Stream API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: v120.0.0 + * The version of the OpenAPI document: v122.3.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). @@ -1578,7 +1578,7 @@ export class ProductchatApi extends runtime.BaseAPI { } /** - * Creates a new poll Sends events: - poll.created Required permissions: - CreatePoll + * Creates a new poll Required permissions: - CreatePoll * Create poll */ async createPollRaw(requestParameters: CreatePollOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { @@ -1616,7 +1616,7 @@ export class ProductchatApi extends runtime.BaseAPI { } /** - * Creates a new poll Sends events: - poll.created Required permissions: - CreatePoll + * Creates a new poll Required permissions: - CreatePoll * Create poll */ async createPoll(requestParameters: CreatePollOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { @@ -6505,7 +6505,7 @@ export class ProductchatApi extends runtime.BaseAPI { } /** - * Updates a poll Sends events: - poll.updated Required permissions: - UpdatePoll + * Updates a poll Sends events: - poll.closed - poll.updated Required permissions: - UpdatePoll * Update poll */ async updatePollRaw(requestParameters: UpdatePollOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise> { @@ -6543,7 +6543,7 @@ export class ProductchatApi extends runtime.BaseAPI { } /** - * Updates a poll Sends events: - poll.updated Required permissions: - UpdatePoll + * Updates a poll Sends events: - poll.closed - poll.updated Required permissions: - UpdatePoll * Update poll */ async updatePoll(requestParameters: UpdatePollOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise { diff --git a/src/gen/chat/runtime.ts b/src/gen/chat/runtime.ts index 8ae6774..0fc2272 100644 --- a/src/gen/chat/runtime.ts +++ b/src/gen/chat/runtime.ts @@ -4,7 +4,7 @@ * Stream API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: v120.0.0 + * The version of the OpenAPI document: v122.3.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/video/apis/ProductvideoApi.ts b/src/gen/video/apis/ProductvideoApi.ts index 81606be..1ba3487 100644 --- a/src/gen/video/apis/ProductvideoApi.ts +++ b/src/gen/video/apis/ProductvideoApi.ts @@ -4,7 +4,7 @@ * Stream API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: v120.0.0 + * The version of the OpenAPI document: v122.3.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). diff --git a/src/gen/video/models/index.ts b/src/gen/video/models/index.ts index f3568c8..29a95ee 100644 --- a/src/gen/video/models/index.ts +++ b/src/gen/video/models/index.ts @@ -68,6 +68,31 @@ export interface VideoAPNS { */ title?: string; } +/** + * + * @export + * @interface VideoAggregatedStats + */ +export interface VideoAggregatedStats { + /** + * + * @type {{ [key: string]: VideoCountrywiseAggregateStats; }} + * @memberof VideoAggregatedStats + */ + countrywise_aggregate_stats?: { [key: string]: VideoCountrywiseAggregateStats; }; + /** + * + * @type {VideoPublisherAggregateStats} + * @memberof VideoAggregatedStats + */ + publisher_aggregate_stats?: VideoPublisherAggregateStats; + /** + * + * @type {VideoTURNAggregatedStats} + * @memberof VideoAggregatedStats + */ + turn?: VideoTURNAggregatedStats; +} /** * * @export @@ -327,6 +352,18 @@ export interface VideoBroadcastSettingsResponse { * @interface VideoCallEvent */ export interface VideoCallEvent { + /** + * + * @type {{ [key: string]: any; }} + * @memberof VideoCallEvent + */ + additional?: { [key: string]: any; }; + /** + * + * @type {string} + * @memberof VideoCallEvent + */ + component?: string; /** * * @type {string} @@ -1095,6 +1132,62 @@ export interface VideoCoordinates { */ longitude: number; } +/** + * + * @export + * @interface VideoCount + */ +export interface VideoCount { + /** + * + * @type {boolean} + * @memberof VideoCount + */ + approximate: boolean; + /** + * + * @type {number} + * @memberof VideoCount + */ + value: number; +} +/** + * + * @export + * @interface VideoCountrywiseAggregateStats + */ +export interface VideoCountrywiseAggregateStats { + /** + * + * @type {VideoCount} + * @memberof VideoCountrywiseAggregateStats + */ + participant_count?: VideoCount; + /** + * + * @type {VideoTimeStats} + * @memberof VideoCountrywiseAggregateStats + */ + publisher_jitter?: VideoTimeStats; + /** + * + * @type {VideoTimeStats} + * @memberof VideoCountrywiseAggregateStats + */ + publisher_latency?: VideoTimeStats; + /** + * + * @type {VideoTimeStats} + * @memberof VideoCountrywiseAggregateStats + */ + subscriber_jitter?: VideoTimeStats; + /** + * + * @type {VideoTimeStats} + * @memberof VideoCountrywiseAggregateStats + */ + subscriber_latency?: VideoTimeStats; +} /** * * @export @@ -1835,6 +1928,12 @@ export interface VideoGetCallResponse { * @interface VideoGetCallStatsResponse */ export interface VideoGetCallStatsResponse { + /** + * + * @type {VideoAggregatedStats} + * @memberof VideoGetCallStatsResponse + */ + aggregated?: VideoAggregatedStats; /** * * @type {number} @@ -1861,16 +1960,16 @@ export interface VideoGetCallStatsResponse { duration: string; /** * - * @type {VideoStats} + * @type {VideoTimeStats} * @memberof VideoGetCallStatsResponse */ - jitter?: VideoStats; + jitter?: VideoTimeStats; /** * - * @type {VideoStats} + * @type {VideoTimeStats} * @memberof VideoGetCallStatsResponse */ - latency?: VideoStats; + latency?: VideoTimeStats; /** * * @type {number} @@ -2849,6 +2948,25 @@ export interface VideoPublishedTrackInfo { */ track_type?: string; } +/** + * + * @export + * @interface VideoPublisherAggregateStats + */ +export interface VideoPublisherAggregateStats { + /** + * + * @type {{ [key: string]: VideoCount; }} + * @memberof VideoPublisherAggregateStats + */ + by_track_type?: { [key: string]: VideoCount; }; + /** + * + * @type {VideoCount} + * @memberof VideoPublisherAggregateStats + */ + total?: VideoCount; +} /** * * @export @@ -3180,7 +3298,12 @@ export const VideoRecordSettingsRequestQualityEnum = { _480P: '480p', _720P: '720p', _1080P: '1080p', - _1440P: '1440p' + _1440P: '1440p', + PORTRAIT_360X640: 'portrait-360x640', + PORTRAIT_480X854: 'portrait-480x854', + PORTRAIT_720X1280: 'portrait-720x1280', + PORTRAIT_1080X1920: 'portrait-1080x1920', + PORTRAIT_1440X2560: 'portrait-1440x2560' } as const; export type VideoRecordSettingsRequestQualityEnum = typeof VideoRecordSettingsRequestQualityEnum[keyof typeof VideoRecordSettingsRequestQualityEnum]; @@ -3512,25 +3635,6 @@ export interface VideoStartTranscriptionResponse { */ duration: string; } -/** - * - * @export - * @interface VideoStats - */ -export interface VideoStats { - /** - * - * @type {number} - * @memberof VideoStats - */ - average_seconds: number; - /** - * - * @type {number} - * @memberof VideoStats - */ - max_seconds: number; -} /** * * @export @@ -3620,6 +3724,25 @@ export interface VideoSubsession { */ sfu_id: string; } +/** + * + * @export + * @interface VideoTURNAggregatedStats + */ +export interface VideoTURNAggregatedStats { + /** + * + * @type {VideoCount} + * @memberof VideoTURNAggregatedStats + */ + tcp?: VideoCount; + /** + * + * @type {VideoCount} + * @memberof VideoTURNAggregatedStats + */ + total?: VideoCount; +} /** * * @export @@ -3684,6 +3807,25 @@ export interface VideoThumbnailsSettingsResponse { */ enabled: boolean; } +/** + * + * @export + * @interface VideoTimeStats + */ +export interface VideoTimeStats { + /** + * + * @type {number} + * @memberof VideoTimeStats + */ + average_seconds: number; + /** + * + * @type {number} + * @memberof VideoTimeStats + */ + max_seconds: number; +} /** * * @export @@ -4438,16 +4580,16 @@ export interface VideoUserSessionStats { geolocation?: VideoGeolocationResult; /** * - * @type {VideoStats} + * @type {VideoTimeStats} * @memberof VideoUserSessionStats */ - jitter?: VideoStats; + jitter?: VideoTimeStats; /** * - * @type {VideoStats} + * @type {VideoTimeStats} * @memberof VideoUserSessionStats */ - latency?: VideoStats; + latency?: VideoTimeStats; /** * * @type {number} @@ -4534,16 +4676,16 @@ export interface VideoUserSessionStats { publisher_audio_mos?: VideoMOSStats; /** * - * @type {VideoStats} + * @type {VideoTimeStats} * @memberof VideoUserSessionStats */ - publisher_jitter?: VideoStats; + publisher_jitter?: VideoTimeStats; /** * - * @type {VideoStats} + * @type {VideoTimeStats} * @memberof VideoUserSessionStats */ - publisher_latency?: VideoStats; + publisher_latency?: VideoTimeStats; /** * * @type {number} @@ -4636,16 +4778,16 @@ export interface VideoUserSessionStats { subscriber_audio_mos?: VideoMOSStats; /** * - * @type {VideoStats} + * @type {VideoTimeStats} * @memberof VideoUserSessionStats */ - subscriber_jitter?: VideoStats; + subscriber_jitter?: VideoTimeStats; /** * - * @type {VideoStats} + * @type {VideoTimeStats} * @memberof VideoUserSessionStats */ - subscriber_latency?: VideoStats; + subscriber_latency?: VideoTimeStats; /** * * @type {number} @@ -4676,6 +4818,12 @@ export interface VideoUserSessionStats { * @memberof VideoUserSessionStats */ total_pixels_out: number; + /** + * + * @type {boolean} + * @memberof VideoUserSessionStats + */ + truncated?: boolean; /** * * @type {string} diff --git a/src/gen/video/runtime.ts b/src/gen/video/runtime.ts index 8ae6774..0fc2272 100644 --- a/src/gen/video/runtime.ts +++ b/src/gen/video/runtime.ts @@ -4,7 +4,7 @@ * Stream API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * - * The version of the OpenAPI document: v120.0.0 + * The version of the OpenAPI document: v122.3.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).