@connectedxm/admin-sdk 16.16.2 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/.openapi-generator/FILES +1 -6
  2. package/AdminApi.ts +0 -3
  3. package/README.md +2 -2
  4. package/api.ts +91 -951
  5. package/base.ts +1 -1
  6. package/common.ts +1 -1
  7. package/configuration.ts +1 -1
  8. package/dist/AdminApi.d.ts +1 -2
  9. package/dist/AdminApi.js +0 -1
  10. package/dist/api.d.ts +25 -482
  11. package/dist/api.js +51 -697
  12. package/dist/base.d.ts +1 -1
  13. package/dist/base.js +1 -1
  14. package/dist/common.d.ts +1 -1
  15. package/dist/common.js +1 -1
  16. package/dist/configuration.d.ts +1 -1
  17. package/dist/configuration.js +1 -1
  18. package/dist/esm/AdminApi.d.ts +1 -2
  19. package/dist/esm/AdminApi.js +1 -2
  20. package/dist/esm/api.d.ts +25 -482
  21. package/dist/esm/api.js +27 -669
  22. package/dist/esm/base.d.ts +1 -1
  23. package/dist/esm/base.js +1 -1
  24. package/dist/esm/common.d.ts +1 -1
  25. package/dist/esm/common.js +1 -1
  26. package/dist/esm/configuration.d.ts +1 -1
  27. package/dist/esm/configuration.js +1 -1
  28. package/docs/MeetingCreatableType.md +10 -0
  29. package/docs/MeetingCreateInputs.md +1 -3
  30. package/docs/MeetingUpdateInputs.md +1 -3
  31. package/docs/MeetingsApi.md +2 -106
  32. package/docs/OrganizationModuleSettings.md +0 -4
  33. package/docs/OrganizationModuleSettingsUpdateInputs.md +0 -4
  34. package/docs/OrganizationModulesSettingsApi.md +1 -1
  35. package/docs/StreamInput.md +0 -4
  36. package/docs/StreamInputCreateInputs.md +0 -2
  37. package/docs/StreamInputUpdateInputs.md +0 -2
  38. package/docs/StreamsApi.md +1 -4
  39. package/package.json +1 -1
  40. package/docs/GetLivestream200Response.md +0 -24
  41. package/docs/GetLivestreamSessions200Response.md +0 -26
  42. package/docs/GetLivestreams200Response.md +0 -26
  43. package/docs/Livestream.md +0 -38
  44. package/docs/LivestreamSession.md +0 -36
  45. package/docs/MeetingsLivestreamsApi.md +0 -340
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * Connected Admin API
5
5
  * The Admin API allows you to manage your Connected community programmatically.
6
6
  *
7
- * The version of the OpenAPI document: 16.16.2
7
+ * The version of the OpenAPI document: 17.0.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -10285,38 +10285,6 @@ export enum GetLevelTranslations200ResponseStatusEnum {
10285
10285
  Ok = 'ok'
10286
10286
  }
10287
10287
 
10288
- export interface GetLivestream200Response {
10289
- 'status': GetLivestream200ResponseStatusEnum;
10290
- 'message': string;
10291
- 'data': Livestream;
10292
- }
10293
-
10294
- export enum GetLivestream200ResponseStatusEnum {
10295
- Ok = 'ok'
10296
- }
10297
-
10298
- export interface GetLivestreamSessions200Response {
10299
- 'status': GetLivestreamSessions200ResponseStatusEnum;
10300
- 'message': string;
10301
- 'data': Array<LivestreamSession>;
10302
- 'count'?: number;
10303
- }
10304
-
10305
- export enum GetLivestreamSessions200ResponseStatusEnum {
10306
- Ok = 'ok'
10307
- }
10308
-
10309
- export interface GetLivestreams200Response {
10310
- 'status': GetLivestreams200ResponseStatusEnum;
10311
- 'message': string;
10312
- 'data': Array<Livestream>;
10313
- 'count'?: number;
10314
- }
10315
-
10316
- export enum GetLivestreams200ResponseStatusEnum {
10317
- Ok = 'ok'
10318
- }
10319
-
10320
10288
  export interface GetLogin200Response {
10321
10289
  'status': GetLogin200ResponseStatusEnum;
10322
10290
  'message': string;
@@ -12173,37 +12141,6 @@ export interface LinkPreview {
12173
12141
  'imageType': string | null;
12174
12142
  'favicon': string | null;
12175
12143
  }
12176
- export interface Livestream {
12177
- 'id': string;
12178
- 'name': string;
12179
- 'status': LivestreamStatusEnum;
12180
- 'ingest_server': string;
12181
- 'stream_key': string;
12182
- 'playback_url': string;
12183
- 'meeting_id': string;
12184
- 'created_at': string;
12185
- 'updated_at': string;
12186
- 'disabled': boolean;
12187
- }
12188
-
12189
- export enum LivestreamStatusEnum {
12190
- Live = 'LIVE',
12191
- Idle = 'IDLE',
12192
- Errored = 'ERRORED',
12193
- Invoked = 'INVOKED'
12194
- }
12195
-
12196
- export interface LivestreamSession {
12197
- 'id': string;
12198
- 'livestream_id': string;
12199
- 'err_message': string;
12200
- 'invoked_time': string;
12201
- 'started_time': string;
12202
- 'stopped_time': string;
12203
- 'created_at': string;
12204
- 'updated_at': string;
12205
- 'ingest_seconds': string;
12206
- }
12207
12144
 
12208
12145
  export enum LocationQuestionOption {
12209
12146
  Country = 'country',
@@ -12315,8 +12252,15 @@ export enum MeetingAspectRatio {
12315
12252
  }
12316
12253
 
12317
12254
 
12255
+
12256
+ export enum MeetingCreatableType {
12257
+ GroupCall = 'GROUP_CALL',
12258
+ Webinar = 'WEBINAR'
12259
+ }
12260
+
12261
+
12318
12262
  export interface MeetingCreateInputs {
12319
- 'type': MeetingType;
12263
+ 'type': MeetingCreatableType;
12320
12264
  'webAspectRatio'?: MeetingAspectRatio;
12321
12265
  'mobileAspectRatio'?: MeetingAspectRatio;
12322
12266
  'eventId'?: string;
@@ -12327,7 +12271,6 @@ export interface MeetingCreateInputs {
12327
12271
  'title': string | null;
12328
12272
  'preferred_region': MeetingCreateInputsPreferredRegionEnum | null;
12329
12273
  'record_on_start': boolean;
12330
- 'live_stream_on_start': boolean;
12331
12274
  'persist_chat': boolean;
12332
12275
  'summarize_on_end': boolean;
12333
12276
  }
@@ -12731,7 +12674,7 @@ export enum MeetingType {
12731
12674
 
12732
12675
 
12733
12676
  export interface MeetingUpdateInputs {
12734
- 'type'?: MeetingType;
12677
+ 'type'?: MeetingCreatableType;
12735
12678
  'webAspectRatio'?: MeetingAspectRatio;
12736
12679
  'mobileAspectRatio'?: MeetingAspectRatio;
12737
12680
  'eventId'?: string;
@@ -12742,7 +12685,6 @@ export interface MeetingUpdateInputs {
12742
12685
  'title'?: string | null;
12743
12686
  'preferred_region'?: MeetingUpdateInputsPreferredRegionEnum | null;
12744
12687
  'record_on_start'?: boolean;
12745
- 'live_stream_on_start'?: boolean;
12746
12688
  'status'?: MeetingUpdateInputsStatusEnum;
12747
12689
  'persist_chat'?: boolean;
12748
12690
  'summarize_on_end'?: boolean;
@@ -13134,8 +13076,6 @@ export interface OrganizationModuleSettings {
13134
13076
  'meetingGroupCallGuestPreset': string;
13135
13077
  'meetingWebinarAdminPreset': string;
13136
13078
  'meetingWebinarGuestPreset': string;
13137
- 'meetingLivestreamAdminPreset': string;
13138
- 'meetingLivestreamGuestPreset': string;
13139
13079
  'supportAutoResolve': boolean;
13140
13080
  'supportAutoResolveMessage'?: string;
13141
13081
  'eventConfirmationEmailReplyTo': string | null;
@@ -13180,8 +13120,6 @@ export interface OrganizationModuleSettingsUpdateInputs {
13180
13120
  'meetingGroupCallGuestPreset'?: string;
13181
13121
  'meetingWebinarAdminPreset'?: string;
13182
13122
  'meetingWebinarGuestPreset'?: string;
13183
- 'meetingLivestreamAdminPreset'?: string;
13184
- 'meetingLivestreamGuestPreset'?: string;
13185
13123
  'supportAutoResolve'?: boolean;
13186
13124
  'supportAutoResolveMessage'?: string;
13187
13125
  'eventConfirmationEmailReplyTo'?: string | null;
@@ -15327,8 +15265,6 @@ export interface StreamInput {
15327
15265
  'event': BaseEvent | null;
15328
15266
  'session': BaseEventSession | null;
15329
15267
  'group': BaseGroup | null;
15330
- 'meetingId': string | null;
15331
- 'meeting': BaseMeeting | null;
15332
15268
  'activityId': string | null;
15333
15269
  'activity': BaseActivity | null;
15334
15270
  'streamInputId': string | null;
@@ -15345,7 +15281,6 @@ export interface StreamInputCreateInputs {
15345
15281
  'eventId'?: string | null;
15346
15282
  'sessionId'?: string | null;
15347
15283
  'groupId'?: string | null;
15348
- 'meetingId'?: string | null;
15349
15284
  'activityId'?: string | null;
15350
15285
  'details'?: object | null;
15351
15286
  'imageId'?: string | null;
@@ -15415,7 +15350,6 @@ export interface StreamInputUpdateInputs {
15415
15350
  'eventId'?: string | null;
15416
15351
  'sessionId'?: string | null;
15417
15352
  'groupId'?: string | null;
15418
- 'meetingId'?: string | null;
15419
15353
  'activityId'?: string | null;
15420
15354
  'connected'?: boolean;
15421
15355
  'imageId'?: string | null;
@@ -126552,47 +126486,7 @@ export class LoginsAccountsApi extends BaseAPI {
126552
126486
  export const MeetingsApiAxiosParamCreator = function (configuration?: Configuration) {
126553
126487
  return {
126554
126488
  /**
126555
- * Creates and attaches a new livestream to the given meeting so it can be broadcast, requiring the \"create\" permission on meetings.
126556
- * @summary Add a livestream to a meeting
126557
- * @param {string} meetingId The meeting identifier
126558
- * @param {*} [options] Override http request option.
126559
- * @throws {RequiredError}
126560
- */
126561
- addMeetingLivestream: async (meetingId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
126562
- // verify required parameter 'meetingId' is not null or undefined
126563
- assertParamExists('addMeetingLivestream', 'meetingId', meetingId)
126564
- const localVarPath = `/meetings/{meetingId}/livestream`
126565
- .replace('{meetingId}', encodeURIComponent(String(meetingId)));
126566
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
126567
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
126568
- let baseOptions;
126569
- if (configuration) {
126570
- baseOptions = configuration.baseOptions;
126571
- }
126572
-
126573
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
126574
- const localVarHeaderParameter = {} as any;
126575
- const localVarQueryParameter = {} as any;
126576
-
126577
- // authentication ApiKeyAuth required
126578
- await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
126579
-
126580
- // authentication OrganizationId required
126581
- await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
126582
-
126583
- localVarHeaderParameter['Accept'] = 'application/json';
126584
-
126585
- setSearchParams(localVarUrlObj, localVarQueryParameter);
126586
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
126587
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
126588
-
126589
- return {
126590
- url: toPathString(localVarUrlObj),
126591
- options: localVarRequestOptions,
126592
- };
126593
- },
126594
- /**
126595
- * Creates a new video meeting for the organization, optionally linked to an event, event session, group, activity, or booking space, and configured with recording, chat, livestream, and AI settings, requiring the \"create\" permission on meetings.
126489
+ * Creates a new video meeting for the organization, optionally linked to an event, event session, group, activity, or booking space, and configured with recording, chat, and AI settings, requiring the \"create\" permission on meetings.
126596
126490
  * @summary Create a meeting
126597
126491
  * @param {MeetingCreateInputs} meetingCreateInputs
126598
126492
  * @param {*} [options] Override http request option.
@@ -126672,46 +126566,6 @@ export const MeetingsApiAxiosParamCreator = function (configuration?: Configurat
126672
126566
  options: localVarRequestOptions,
126673
126567
  };
126674
126568
  },
126675
- /**
126676
- * Returns the livestream configuration associated with the given meeting, requires the \"read\" permission on meetings.
126677
- * @summary Get a meeting\'s livestream
126678
- * @param {string} meetingId The meeting identifier
126679
- * @param {*} [options] Override http request option.
126680
- * @throws {RequiredError}
126681
- */
126682
- getMeetingLivestream: async (meetingId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
126683
- // verify required parameter 'meetingId' is not null or undefined
126684
- assertParamExists('getMeetingLivestream', 'meetingId', meetingId)
126685
- const localVarPath = `/meetings/{meetingId}/livestream`
126686
- .replace('{meetingId}', encodeURIComponent(String(meetingId)));
126687
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
126688
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
126689
- let baseOptions;
126690
- if (configuration) {
126691
- baseOptions = configuration.baseOptions;
126692
- }
126693
-
126694
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
126695
- const localVarHeaderParameter = {} as any;
126696
- const localVarQueryParameter = {} as any;
126697
-
126698
- // authentication ApiKeyAuth required
126699
- await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
126700
-
126701
- // authentication OrganizationId required
126702
- await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
126703
-
126704
- localVarHeaderParameter['Accept'] = 'application/json';
126705
-
126706
- setSearchParams(localVarUrlObj, localVarQueryParameter);
126707
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
126708
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
126709
-
126710
- return {
126711
- url: toPathString(localVarUrlObj),
126712
- options: localVarRequestOptions,
126713
- };
126714
- },
126715
126569
  /**
126716
126570
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
126717
126571
  * @summary List meetings
@@ -126809,7 +126663,7 @@ export const MeetingsApiAxiosParamCreator = function (configuration?: Configurat
126809
126663
  };
126810
126664
  },
126811
126665
  /**
126812
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
126666
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
126813
126667
  * @summary Update a meeting
126814
126668
  * @param {string} meetingId The meeting identifier
126815
126669
  * @param {MeetingUpdateInputs} meetingUpdateInputs
@@ -126863,20 +126717,7 @@ export const MeetingsApiFp = function(configuration?: Configuration) {
126863
126717
  const localVarAxiosParamCreator = MeetingsApiAxiosParamCreator(configuration)
126864
126718
  return {
126865
126719
  /**
126866
- * Creates and attaches a new livestream to the given meeting so it can be broadcast, requiring the \"create\" permission on meetings.
126867
- * @summary Add a livestream to a meeting
126868
- * @param {string} meetingId The meeting identifier
126869
- * @param {*} [options] Override http request option.
126870
- * @throws {RequiredError}
126871
- */
126872
- async addMeetingLivestream(meetingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLivestream200Response>> {
126873
- const localVarAxiosArgs = await localVarAxiosParamCreator.addMeetingLivestream(meetingId, options);
126874
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
126875
- const localVarOperationServerBasePath = operationServerMap['MeetingsApi.addMeetingLivestream']?.[localVarOperationServerIndex]?.url;
126876
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
126877
- },
126878
- /**
126879
- * Creates a new video meeting for the organization, optionally linked to an event, event session, group, activity, or booking space, and configured with recording, chat, livestream, and AI settings, requiring the \"create\" permission on meetings.
126720
+ * Creates a new video meeting for the organization, optionally linked to an event, event session, group, activity, or booking space, and configured with recording, chat, and AI settings, requiring the \"create\" permission on meetings.
126880
126721
  * @summary Create a meeting
126881
126722
  * @param {MeetingCreateInputs} meetingCreateInputs
126882
126723
  * @param {*} [options] Override http request option.
@@ -126901,19 +126742,6 @@ export const MeetingsApiFp = function(configuration?: Configuration) {
126901
126742
  const localVarOperationServerBasePath = operationServerMap['MeetingsApi.getMeeting']?.[localVarOperationServerIndex]?.url;
126902
126743
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
126903
126744
  },
126904
- /**
126905
- * Returns the livestream configuration associated with the given meeting, requires the \"read\" permission on meetings.
126906
- * @summary Get a meeting\'s livestream
126907
- * @param {string} meetingId The meeting identifier
126908
- * @param {*} [options] Override http request option.
126909
- * @throws {RequiredError}
126910
- */
126911
- async getMeetingLivestream(meetingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLivestream200Response>> {
126912
- const localVarAxiosArgs = await localVarAxiosParamCreator.getMeetingLivestream(meetingId, options);
126913
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
126914
- const localVarOperationServerBasePath = operationServerMap['MeetingsApi.getMeetingLivestream']?.[localVarOperationServerIndex]?.url;
126915
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
126916
- },
126917
126745
  /**
126918
126746
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
126919
126747
  * @summary List meetings
@@ -126944,7 +126772,7 @@ export const MeetingsApiFp = function(configuration?: Configuration) {
126944
126772
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
126945
126773
  },
126946
126774
  /**
126947
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
126775
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
126948
126776
  * @summary Update a meeting
126949
126777
  * @param {string} meetingId The meeting identifier
126950
126778
  * @param {MeetingUpdateInputs} meetingUpdateInputs
@@ -126967,17 +126795,7 @@ export const MeetingsApiFactory = function (configuration?: Configuration, baseP
126967
126795
  const localVarFp = MeetingsApiFp(configuration)
126968
126796
  return {
126969
126797
  /**
126970
- * Creates and attaches a new livestream to the given meeting so it can be broadcast, requiring the \"create\" permission on meetings.
126971
- * @summary Add a livestream to a meeting
126972
- * @param {MeetingsApiAddMeetingLivestreamRequest} requestParameters Request parameters.
126973
- * @param {*} [options] Override http request option.
126974
- * @throws {RequiredError}
126975
- */
126976
- addMeetingLivestream(requestParameters: MeetingsApiAddMeetingLivestreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetLivestream200Response> {
126977
- return localVarFp.addMeetingLivestream(requestParameters.meetingId, options).then((request) => request(axios, basePath));
126978
- },
126979
- /**
126980
- * Creates a new video meeting for the organization, optionally linked to an event, event session, group, activity, or booking space, and configured with recording, chat, livestream, and AI settings, requiring the \"create\" permission on meetings.
126798
+ * Creates a new video meeting for the organization, optionally linked to an event, event session, group, activity, or booking space, and configured with recording, chat, and AI settings, requiring the \"create\" permission on meetings.
126981
126799
  * @summary Create a meeting
126982
126800
  * @param {MeetingsApiCreateMeetingRequest} requestParameters Request parameters.
126983
126801
  * @param {*} [options] Override http request option.
@@ -126996,16 +126814,6 @@ export const MeetingsApiFactory = function (configuration?: Configuration, baseP
126996
126814
  getMeeting(requestParameters: MeetingsApiGetMeetingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateMeeting200Response> {
126997
126815
  return localVarFp.getMeeting(requestParameters.meetingId, options).then((request) => request(axios, basePath));
126998
126816
  },
126999
- /**
127000
- * Returns the livestream configuration associated with the given meeting, requires the \"read\" permission on meetings.
127001
- * @summary Get a meeting\'s livestream
127002
- * @param {MeetingsApiGetMeetingLivestreamRequest} requestParameters Request parameters.
127003
- * @param {*} [options] Override http request option.
127004
- * @throws {RequiredError}
127005
- */
127006
- getMeetingLivestream(requestParameters: MeetingsApiGetMeetingLivestreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetLivestream200Response> {
127007
- return localVarFp.getMeetingLivestream(requestParameters.meetingId, options).then((request) => request(axios, basePath));
127008
- },
127009
126817
  /**
127010
126818
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
127011
126819
  * @summary List meetings
@@ -127027,7 +126835,7 @@ export const MeetingsApiFactory = function (configuration?: Configuration, baseP
127027
126835
  return localVarFp.joinMeeting(requestParameters.meetingId, options).then((request) => request(axios, basePath));
127028
126836
  },
127029
126837
  /**
127030
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
126838
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
127031
126839
  * @summary Update a meeting
127032
126840
  * @param {MeetingsApiUpdateMeetingRequest} requestParameters Request parameters.
127033
126841
  * @param {*} [options] Override http request option.
@@ -127039,16 +126847,6 @@ export const MeetingsApiFactory = function (configuration?: Configuration, baseP
127039
126847
  };
127040
126848
  };
127041
126849
 
127042
- /**
127043
- * Request parameters for addMeetingLivestream operation in MeetingsApi.
127044
- */
127045
- export interface MeetingsApiAddMeetingLivestreamRequest {
127046
- /**
127047
- * The meeting identifier
127048
- */
127049
- readonly meetingId: string
127050
- }
127051
-
127052
126850
  /**
127053
126851
  * Request parameters for createMeeting operation in MeetingsApi.
127054
126852
  */
@@ -127066,16 +126864,6 @@ export interface MeetingsApiGetMeetingRequest {
127066
126864
  readonly meetingId: string
127067
126865
  }
127068
126866
 
127069
- /**
127070
- * Request parameters for getMeetingLivestream operation in MeetingsApi.
127071
- */
127072
- export interface MeetingsApiGetMeetingLivestreamRequest {
127073
- /**
127074
- * The meeting identifier
127075
- */
127076
- readonly meetingId: string
127077
- }
127078
-
127079
126867
  /**
127080
126868
  * Request parameters for getMeetings operation in MeetingsApi.
127081
126869
  */
@@ -127128,18 +126916,7 @@ export interface MeetingsApiUpdateMeetingRequest {
127128
126916
  */
127129
126917
  export class MeetingsApi extends BaseAPI {
127130
126918
  /**
127131
- * Creates and attaches a new livestream to the given meeting so it can be broadcast, requiring the \"create\" permission on meetings.
127132
- * @summary Add a livestream to a meeting
127133
- * @param {MeetingsApiAddMeetingLivestreamRequest} requestParameters Request parameters.
127134
- * @param {*} [options] Override http request option.
127135
- * @throws {RequiredError}
127136
- */
127137
- public addMeetingLivestream(requestParameters: MeetingsApiAddMeetingLivestreamRequest, options?: RawAxiosRequestConfig) {
127138
- return MeetingsApiFp(this.configuration).addMeetingLivestream(requestParameters.meetingId, options).then((request) => request(this.axios, this.basePath));
127139
- }
127140
-
127141
- /**
127142
- * Creates a new video meeting for the organization, optionally linked to an event, event session, group, activity, or booking space, and configured with recording, chat, livestream, and AI settings, requiring the \"create\" permission on meetings.
126919
+ * Creates a new video meeting for the organization, optionally linked to an event, event session, group, activity, or booking space, and configured with recording, chat, and AI settings, requiring the \"create\" permission on meetings.
127143
126920
  * @summary Create a meeting
127144
126921
  * @param {MeetingsApiCreateMeetingRequest} requestParameters Request parameters.
127145
126922
  * @param {*} [options] Override http request option.
@@ -127160,17 +126937,6 @@ export class MeetingsApi extends BaseAPI {
127160
126937
  return MeetingsApiFp(this.configuration).getMeeting(requestParameters.meetingId, options).then((request) => request(this.axios, this.basePath));
127161
126938
  }
127162
126939
 
127163
- /**
127164
- * Returns the livestream configuration associated with the given meeting, requires the \"read\" permission on meetings.
127165
- * @summary Get a meeting\'s livestream
127166
- * @param {MeetingsApiGetMeetingLivestreamRequest} requestParameters Request parameters.
127167
- * @param {*} [options] Override http request option.
127168
- * @throws {RequiredError}
127169
- */
127170
- public getMeetingLivestream(requestParameters: MeetingsApiGetMeetingLivestreamRequest, options?: RawAxiosRequestConfig) {
127171
- return MeetingsApiFp(this.configuration).getMeetingLivestream(requestParameters.meetingId, options).then((request) => request(this.axios, this.basePath));
127172
- }
127173
-
127174
126940
  /**
127175
126941
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
127176
126942
  * @summary List meetings
@@ -127194,7 +126960,7 @@ export class MeetingsApi extends BaseAPI {
127194
126960
  }
127195
126961
 
127196
126962
  /**
127197
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
126963
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
127198
126964
  * @summary Update a meeting
127199
126965
  * @param {MeetingsApiUpdateMeetingRequest} requestParameters Request parameters.
127200
126966
  * @param {*} [options] Override http request option.
@@ -127751,62 +127517,25 @@ export class MeetingsLinksApi extends BaseAPI {
127751
127517
 
127752
127518
 
127753
127519
  /**
127754
- * MeetingsLivestreamsApi - axios parameter creator
127520
+ * MeetingsParticipantsApi - axios parameter creator
127755
127521
  */
127756
- export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?: Configuration) {
127522
+ export const MeetingsParticipantsApiAxiosParamCreator = function (configuration?: Configuration) {
127757
127523
  return {
127758
127524
  /**
127759
- * Disables the livestream identified by livestreamId so it can no longer ingest or broadcast, requiring both read and create permissions on meetings.
127760
- * @summary Disable a livestream
127761
- * @param {string} livestreamId The livestream identifier
127762
- * @param {*} [options] Override http request option.
127763
- * @throws {RequiredError}
127764
- */
127765
- disableLivestream: async (livestreamId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127766
- // verify required parameter 'livestreamId' is not null or undefined
127767
- assertParamExists('disableLivestream', 'livestreamId', livestreamId)
127768
- const localVarPath = `/meetings/livestreams/{livestreamId}/disable`
127769
- .replace('{livestreamId}', encodeURIComponent(String(livestreamId)));
127770
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
127771
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
127772
- let baseOptions;
127773
- if (configuration) {
127774
- baseOptions = configuration.baseOptions;
127775
- }
127776
-
127777
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
127778
- const localVarHeaderParameter = {} as any;
127779
- const localVarQueryParameter = {} as any;
127780
-
127781
- // authentication ApiKeyAuth required
127782
- await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
127783
-
127784
- // authentication OrganizationId required
127785
- await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
127786
-
127787
- localVarHeaderParameter['Accept'] = 'application/json';
127788
-
127789
- setSearchParams(localVarUrlObj, localVarQueryParameter);
127790
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
127791
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
127792
-
127793
- return {
127794
- url: toPathString(localVarUrlObj),
127795
- options: localVarRequestOptions,
127796
- };
127797
- },
127798
- /**
127799
- * Enables the livestream identified by livestreamId so it can begin ingesting and broadcasting, requiring both read and create permissions on meetings.
127800
- * @summary Enable a livestream
127801
- * @param {string} livestreamId The livestream identifier
127525
+ * Adds a participant to the given meeting, assigning a role preset based on the meeting type and requester\'s admin status, and returns the participant along with a join token; requires read and create permissions on meetings.
127526
+ * @summary Add a participant to a meeting
127527
+ * @param {string} meetingId The meeting identifier
127528
+ * @param {MeetingParticipantCreateInputs} meetingParticipantCreateInputs
127802
127529
  * @param {*} [options] Override http request option.
127803
127530
  * @throws {RequiredError}
127804
127531
  */
127805
- enableLivestream: async (livestreamId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127806
- // verify required parameter 'livestreamId' is not null or undefined
127807
- assertParamExists('enableLivestream', 'livestreamId', livestreamId)
127808
- const localVarPath = `/meetings/livestreams/{livestreamId}/enable`
127809
- .replace('{livestreamId}', encodeURIComponent(String(livestreamId)));
127532
+ createMeetingParticipant: async (meetingId: string, meetingParticipantCreateInputs: MeetingParticipantCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127533
+ // verify required parameter 'meetingId' is not null or undefined
127534
+ assertParamExists('createMeetingParticipant', 'meetingId', meetingId)
127535
+ // verify required parameter 'meetingParticipantCreateInputs' is not null or undefined
127536
+ assertParamExists('createMeetingParticipant', 'meetingParticipantCreateInputs', meetingParticipantCreateInputs)
127537
+ const localVarPath = `/meetings/{meetingId}/participants`
127538
+ .replace('{meetingId}', encodeURIComponent(String(meetingId)));
127810
127539
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
127811
127540
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
127812
127541
  let baseOptions;
@@ -127824,11 +127553,13 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127824
127553
  // authentication OrganizationId required
127825
127554
  await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
127826
127555
 
127556
+ localVarHeaderParameter['Content-Type'] = 'application/json';
127827
127557
  localVarHeaderParameter['Accept'] = 'application/json';
127828
127558
 
127829
127559
  setSearchParams(localVarUrlObj, localVarQueryParameter);
127830
127560
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
127831
127561
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
127562
+ localVarRequestOptions.data = serializeDataIfNeeded(meetingParticipantCreateInputs, localVarRequestOptions, configuration)
127832
127563
 
127833
127564
  return {
127834
127565
  url: toPathString(localVarUrlObj),
@@ -127836,17 +127567,21 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127836
127567
  };
127837
127568
  },
127838
127569
  /**
127839
- * Returns details for a single livestream by ID, including its Cloudflare RealtimeKit status and stream key; requires \"read\" permission on meetings.
127840
- * @summary Get a livestream
127841
- * @param {string} livestreamId The livestream identifier
127570
+ * Removes the participant identified by participantId from the given meeting, revoking their access, and requires both read and delete permissions on meetings.
127571
+ * @summary Remove a participant from a meeting
127572
+ * @param {string} meetingId The meeting identifier
127573
+ * @param {string} participantId The participant identifier
127842
127574
  * @param {*} [options] Override http request option.
127843
127575
  * @throws {RequiredError}
127844
127576
  */
127845
- getLivestream: async (livestreamId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127846
- // verify required parameter 'livestreamId' is not null or undefined
127847
- assertParamExists('getLivestream', 'livestreamId', livestreamId)
127848
- const localVarPath = `/meetings/livestreams/{livestreamId}`
127849
- .replace('{livestreamId}', encodeURIComponent(String(livestreamId)));
127577
+ deleteMeetingParticipant: async (meetingId: string, participantId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127578
+ // verify required parameter 'meetingId' is not null or undefined
127579
+ assertParamExists('deleteMeetingParticipant', 'meetingId', meetingId)
127580
+ // verify required parameter 'participantId' is not null or undefined
127581
+ assertParamExists('deleteMeetingParticipant', 'participantId', participantId)
127582
+ const localVarPath = `/meetings/{meetingId}/participants/{participantId}`
127583
+ .replace('{meetingId}', encodeURIComponent(String(meetingId)))
127584
+ .replace('{participantId}', encodeURIComponent(String(participantId)));
127850
127585
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
127851
127586
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
127852
127587
  let baseOptions;
@@ -127854,7 +127589,7 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127854
127589
  baseOptions = configuration.baseOptions;
127855
127590
  }
127856
127591
 
127857
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
127592
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
127858
127593
  const localVarHeaderParameter = {} as any;
127859
127594
  const localVarQueryParameter = {} as any;
127860
127595
 
@@ -127876,21 +127611,21 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127876
127611
  };
127877
127612
  },
127878
127613
  /**
127879
- * Returns a paginated list of sessions that occurred on the given livestream, supporting page and pageSize parameters; requires \"read\" permission on meetings.
127880
- * @summary List a livestream\'s sessions
127881
- * @param {string} livestreamId The livestream identifier
127882
- * @param {number} [page] Page number
127883
- * @param {number} [pageSize] Number of items per page
127884
- * @param {string} [orderBy] Field to order by
127885
- * @param {string} [search] Search query
127614
+ * Returns details for a single participant in a meeting, including their peer ID, display name, join/leave times, and linked account (if not a guest); requires \"read\" permission on meetings.
127615
+ * @summary Get a meeting participant
127616
+ * @param {string} meetingId The meeting identifier
127617
+ * @param {string} participantId The participant identifier
127886
127618
  * @param {*} [options] Override http request option.
127887
127619
  * @throws {RequiredError}
127888
127620
  */
127889
- getLivestreamSessions: async (livestreamId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127890
- // verify required parameter 'livestreamId' is not null or undefined
127891
- assertParamExists('getLivestreamSessions', 'livestreamId', livestreamId)
127892
- const localVarPath = `/meetings/livestreams/{livestreamId}/sessions`
127893
- .replace('{livestreamId}', encodeURIComponent(String(livestreamId)));
127621
+ getMeetingParticipant: async (meetingId: string, participantId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127622
+ // verify required parameter 'meetingId' is not null or undefined
127623
+ assertParamExists('getMeetingParticipant', 'meetingId', meetingId)
127624
+ // verify required parameter 'participantId' is not null or undefined
127625
+ assertParamExists('getMeetingParticipant', 'participantId', participantId)
127626
+ const localVarPath = `/meetings/{meetingId}/participants/{participantId}`
127627
+ .replace('{meetingId}', encodeURIComponent(String(meetingId)))
127628
+ .replace('{participantId}', encodeURIComponent(String(participantId)));
127894
127629
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
127895
127630
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
127896
127631
  let baseOptions;
@@ -127908,22 +127643,6 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127908
127643
  // authentication OrganizationId required
127909
127644
  await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
127910
127645
 
127911
- if (page !== undefined) {
127912
- localVarQueryParameter['page'] = page;
127913
- }
127914
-
127915
- if (pageSize !== undefined) {
127916
- localVarQueryParameter['pageSize'] = pageSize;
127917
- }
127918
-
127919
- if (orderBy !== undefined) {
127920
- localVarQueryParameter['orderBy'] = orderBy;
127921
- }
127922
-
127923
- if (search !== undefined) {
127924
- localVarQueryParameter['search'] = search;
127925
- }
127926
-
127927
127646
  localVarHeaderParameter['Accept'] = 'application/json';
127928
127647
 
127929
127648
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -127936,8 +127655,9 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127936
127655
  };
127937
127656
  },
127938
127657
  /**
127939
- * Returns a paginated list of livestreams for the organization\'s meetings app, supporting page, pageSize, orderBy, and search parameters; requires \"read\" permission on meetings.
127940
- * @summary List livestreams
127658
+ * Returns a paginated list of participants for the given meeting, each enriched with the linked account when the participant is not a guest, supporting page and pageSize parameters; requires \"read\" permission on meetings.
127659
+ * @summary List a meeting\'s participants
127660
+ * @param {string} meetingId The meeting identifier
127941
127661
  * @param {number} [page] Page number
127942
127662
  * @param {number} [pageSize] Number of items per page
127943
127663
  * @param {string} [orderBy] Field to order by
@@ -127945,8 +127665,11 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127945
127665
  * @param {*} [options] Override http request option.
127946
127666
  * @throws {RequiredError}
127947
127667
  */
127948
- getLivestreams: async (page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127949
- const localVarPath = `/meetings/livestreams`;
127668
+ getMeetingParticipants: async (meetingId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127669
+ // verify required parameter 'meetingId' is not null or undefined
127670
+ assertParamExists('getMeetingParticipants', 'meetingId', meetingId)
127671
+ const localVarPath = `/meetings/{meetingId}/participants`
127672
+ .replace('{meetingId}', encodeURIComponent(String(meetingId)));
127950
127673
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
127951
127674
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
127952
127675
  let baseOptions;
@@ -127992,593 +127715,21 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127992
127715
  };
127993
127716
  },
127994
127717
  /**
127995
- * Rotates the ingest stream key for the livestream identified by livestreamId, invalidating the previous key, and requires both read and create permissions on meetings.
127996
- * @summary Reset a livestream\'s stream key
127997
- * @param {string} livestreamId The livestream identifier
127718
+ * Issues a new authentication token for the participant identified by participantId in the given meeting, invalidating their previous token, and requires both read and create permissions on meetings.
127719
+ * @summary Regenerate a participant\'s join token
127720
+ * @param {string} meetingId The meeting identifier
127721
+ * @param {string} participantId The participant identifier
127998
127722
  * @param {*} [options] Override http request option.
127999
127723
  * @throws {RequiredError}
128000
127724
  */
128001
- resetLivestreamStreamKey: async (livestreamId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
128002
- // verify required parameter 'livestreamId' is not null or undefined
128003
- assertParamExists('resetLivestreamStreamKey', 'livestreamId', livestreamId)
128004
- const localVarPath = `/meetings/livestreams/{livestreamId}/reset-stream-key`
128005
- .replace('{livestreamId}', encodeURIComponent(String(livestreamId)));
128006
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
128007
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
128008
- let baseOptions;
128009
- if (configuration) {
128010
- baseOptions = configuration.baseOptions;
128011
- }
128012
-
128013
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
128014
- const localVarHeaderParameter = {} as any;
128015
- const localVarQueryParameter = {} as any;
128016
-
128017
- // authentication ApiKeyAuth required
128018
- await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
128019
-
128020
- // authentication OrganizationId required
128021
- await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
128022
-
128023
- localVarHeaderParameter['Accept'] = 'application/json';
128024
-
128025
- setSearchParams(localVarUrlObj, localVarQueryParameter);
128026
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
128027
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
128028
-
128029
- return {
128030
- url: toPathString(localVarUrlObj),
128031
- options: localVarRequestOptions,
128032
- };
128033
- },
128034
- }
128035
- };
128036
-
128037
- /**
128038
- * MeetingsLivestreamsApi - functional programming interface
128039
- */
128040
- export const MeetingsLivestreamsApiFp = function(configuration?: Configuration) {
128041
- const localVarAxiosParamCreator = MeetingsLivestreamsApiAxiosParamCreator(configuration)
128042
- return {
128043
- /**
128044
- * Disables the livestream identified by livestreamId so it can no longer ingest or broadcast, requiring both read and create permissions on meetings.
128045
- * @summary Disable a livestream
128046
- * @param {string} livestreamId The livestream identifier
128047
- * @param {*} [options] Override http request option.
128048
- * @throws {RequiredError}
128049
- */
128050
- async disableLivestream(livestreamId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLivestream200Response>> {
128051
- const localVarAxiosArgs = await localVarAxiosParamCreator.disableLivestream(livestreamId, options);
128052
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
128053
- const localVarOperationServerBasePath = operationServerMap['MeetingsLivestreamsApi.disableLivestream']?.[localVarOperationServerIndex]?.url;
128054
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
128055
- },
128056
- /**
128057
- * Enables the livestream identified by livestreamId so it can begin ingesting and broadcasting, requiring both read and create permissions on meetings.
128058
- * @summary Enable a livestream
128059
- * @param {string} livestreamId The livestream identifier
128060
- * @param {*} [options] Override http request option.
128061
- * @throws {RequiredError}
128062
- */
128063
- async enableLivestream(livestreamId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLivestream200Response>> {
128064
- const localVarAxiosArgs = await localVarAxiosParamCreator.enableLivestream(livestreamId, options);
128065
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
128066
- const localVarOperationServerBasePath = operationServerMap['MeetingsLivestreamsApi.enableLivestream']?.[localVarOperationServerIndex]?.url;
128067
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
128068
- },
128069
- /**
128070
- * Returns details for a single livestream by ID, including its Cloudflare RealtimeKit status and stream key; requires \"read\" permission on meetings.
128071
- * @summary Get a livestream
128072
- * @param {string} livestreamId The livestream identifier
128073
- * @param {*} [options] Override http request option.
128074
- * @throws {RequiredError}
128075
- */
128076
- async getLivestream(livestreamId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLivestream200Response>> {
128077
- const localVarAxiosArgs = await localVarAxiosParamCreator.getLivestream(livestreamId, options);
128078
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
128079
- const localVarOperationServerBasePath = operationServerMap['MeetingsLivestreamsApi.getLivestream']?.[localVarOperationServerIndex]?.url;
128080
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
128081
- },
128082
- /**
128083
- * Returns a paginated list of sessions that occurred on the given livestream, supporting page and pageSize parameters; requires \"read\" permission on meetings.
128084
- * @summary List a livestream\'s sessions
128085
- * @param {string} livestreamId The livestream identifier
128086
- * @param {number} [page] Page number
128087
- * @param {number} [pageSize] Number of items per page
128088
- * @param {string} [orderBy] Field to order by
128089
- * @param {string} [search] Search query
128090
- * @param {*} [options] Override http request option.
128091
- * @throws {RequiredError}
128092
- */
128093
- async getLivestreamSessions(livestreamId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLivestreamSessions200Response>> {
128094
- const localVarAxiosArgs = await localVarAxiosParamCreator.getLivestreamSessions(livestreamId, page, pageSize, orderBy, search, options);
128095
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
128096
- const localVarOperationServerBasePath = operationServerMap['MeetingsLivestreamsApi.getLivestreamSessions']?.[localVarOperationServerIndex]?.url;
128097
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
128098
- },
128099
- /**
128100
- * Returns a paginated list of livestreams for the organization\'s meetings app, supporting page, pageSize, orderBy, and search parameters; requires \"read\" permission on meetings.
128101
- * @summary List livestreams
128102
- * @param {number} [page] Page number
128103
- * @param {number} [pageSize] Number of items per page
128104
- * @param {string} [orderBy] Field to order by
128105
- * @param {string} [search] Search query
128106
- * @param {*} [options] Override http request option.
128107
- * @throws {RequiredError}
128108
- */
128109
- async getLivestreams(page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLivestreams200Response>> {
128110
- const localVarAxiosArgs = await localVarAxiosParamCreator.getLivestreams(page, pageSize, orderBy, search, options);
128111
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
128112
- const localVarOperationServerBasePath = operationServerMap['MeetingsLivestreamsApi.getLivestreams']?.[localVarOperationServerIndex]?.url;
128113
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
128114
- },
128115
- /**
128116
- * Rotates the ingest stream key for the livestream identified by livestreamId, invalidating the previous key, and requires both read and create permissions on meetings.
128117
- * @summary Reset a livestream\'s stream key
128118
- * @param {string} livestreamId The livestream identifier
128119
- * @param {*} [options] Override http request option.
128120
- * @throws {RequiredError}
128121
- */
128122
- async resetLivestreamStreamKey(livestreamId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLivestream200Response>> {
128123
- const localVarAxiosArgs = await localVarAxiosParamCreator.resetLivestreamStreamKey(livestreamId, options);
128124
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
128125
- const localVarOperationServerBasePath = operationServerMap['MeetingsLivestreamsApi.resetLivestreamStreamKey']?.[localVarOperationServerIndex]?.url;
128126
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
128127
- },
128128
- }
128129
- };
128130
-
128131
- /**
128132
- * MeetingsLivestreamsApi - factory interface
128133
- */
128134
- export const MeetingsLivestreamsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
128135
- const localVarFp = MeetingsLivestreamsApiFp(configuration)
128136
- return {
128137
- /**
128138
- * Disables the livestream identified by livestreamId so it can no longer ingest or broadcast, requiring both read and create permissions on meetings.
128139
- * @summary Disable a livestream
128140
- * @param {MeetingsLivestreamsApiDisableLivestreamRequest} requestParameters Request parameters.
128141
- * @param {*} [options] Override http request option.
128142
- * @throws {RequiredError}
128143
- */
128144
- disableLivestream(requestParameters: MeetingsLivestreamsApiDisableLivestreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetLivestream200Response> {
128145
- return localVarFp.disableLivestream(requestParameters.livestreamId, options).then((request) => request(axios, basePath));
128146
- },
128147
- /**
128148
- * Enables the livestream identified by livestreamId so it can begin ingesting and broadcasting, requiring both read and create permissions on meetings.
128149
- * @summary Enable a livestream
128150
- * @param {MeetingsLivestreamsApiEnableLivestreamRequest} requestParameters Request parameters.
128151
- * @param {*} [options] Override http request option.
128152
- * @throws {RequiredError}
128153
- */
128154
- enableLivestream(requestParameters: MeetingsLivestreamsApiEnableLivestreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetLivestream200Response> {
128155
- return localVarFp.enableLivestream(requestParameters.livestreamId, options).then((request) => request(axios, basePath));
128156
- },
128157
- /**
128158
- * Returns details for a single livestream by ID, including its Cloudflare RealtimeKit status and stream key; requires \"read\" permission on meetings.
128159
- * @summary Get a livestream
128160
- * @param {MeetingsLivestreamsApiGetLivestreamRequest} requestParameters Request parameters.
128161
- * @param {*} [options] Override http request option.
128162
- * @throws {RequiredError}
128163
- */
128164
- getLivestream(requestParameters: MeetingsLivestreamsApiGetLivestreamRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetLivestream200Response> {
128165
- return localVarFp.getLivestream(requestParameters.livestreamId, options).then((request) => request(axios, basePath));
128166
- },
128167
- /**
128168
- * Returns a paginated list of sessions that occurred on the given livestream, supporting page and pageSize parameters; requires \"read\" permission on meetings.
128169
- * @summary List a livestream\'s sessions
128170
- * @param {MeetingsLivestreamsApiGetLivestreamSessionsRequest} requestParameters Request parameters.
128171
- * @param {*} [options] Override http request option.
128172
- * @throws {RequiredError}
128173
- */
128174
- getLivestreamSessions(requestParameters: MeetingsLivestreamsApiGetLivestreamSessionsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetLivestreamSessions200Response> {
128175
- return localVarFp.getLivestreamSessions(requestParameters.livestreamId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
128176
- },
128177
- /**
128178
- * Returns a paginated list of livestreams for the organization\'s meetings app, supporting page, pageSize, orderBy, and search parameters; requires \"read\" permission on meetings.
128179
- * @summary List livestreams
128180
- * @param {MeetingsLivestreamsApiGetLivestreamsRequest} requestParameters Request parameters.
128181
- * @param {*} [options] Override http request option.
128182
- * @throws {RequiredError}
128183
- */
128184
- getLivestreams(requestParameters: MeetingsLivestreamsApiGetLivestreamsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetLivestreams200Response> {
128185
- return localVarFp.getLivestreams(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
128186
- },
128187
- /**
128188
- * Rotates the ingest stream key for the livestream identified by livestreamId, invalidating the previous key, and requires both read and create permissions on meetings.
128189
- * @summary Reset a livestream\'s stream key
128190
- * @param {MeetingsLivestreamsApiResetLivestreamStreamKeyRequest} requestParameters Request parameters.
128191
- * @param {*} [options] Override http request option.
128192
- * @throws {RequiredError}
128193
- */
128194
- resetLivestreamStreamKey(requestParameters: MeetingsLivestreamsApiResetLivestreamStreamKeyRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetLivestream200Response> {
128195
- return localVarFp.resetLivestreamStreamKey(requestParameters.livestreamId, options).then((request) => request(axios, basePath));
128196
- },
128197
- };
128198
- };
128199
-
128200
- /**
128201
- * Request parameters for disableLivestream operation in MeetingsLivestreamsApi.
128202
- */
128203
- export interface MeetingsLivestreamsApiDisableLivestreamRequest {
128204
- /**
128205
- * The livestream identifier
128206
- */
128207
- readonly livestreamId: string
128208
- }
128209
-
128210
- /**
128211
- * Request parameters for enableLivestream operation in MeetingsLivestreamsApi.
128212
- */
128213
- export interface MeetingsLivestreamsApiEnableLivestreamRequest {
128214
- /**
128215
- * The livestream identifier
128216
- */
128217
- readonly livestreamId: string
128218
- }
128219
-
128220
- /**
128221
- * Request parameters for getLivestream operation in MeetingsLivestreamsApi.
128222
- */
128223
- export interface MeetingsLivestreamsApiGetLivestreamRequest {
128224
- /**
128225
- * The livestream identifier
128226
- */
128227
- readonly livestreamId: string
128228
- }
128229
-
128230
- /**
128231
- * Request parameters for getLivestreamSessions operation in MeetingsLivestreamsApi.
128232
- */
128233
- export interface MeetingsLivestreamsApiGetLivestreamSessionsRequest {
128234
- /**
128235
- * The livestream identifier
128236
- */
128237
- readonly livestreamId: string
128238
-
128239
- /**
128240
- * Page number
128241
- */
128242
- readonly page?: number
128243
-
128244
- /**
128245
- * Number of items per page
128246
- */
128247
- readonly pageSize?: number
128248
-
128249
- /**
128250
- * Field to order by
128251
- */
128252
- readonly orderBy?: string
128253
-
128254
- /**
128255
- * Search query
128256
- */
128257
- readonly search?: string
128258
- }
128259
-
128260
- /**
128261
- * Request parameters for getLivestreams operation in MeetingsLivestreamsApi.
128262
- */
128263
- export interface MeetingsLivestreamsApiGetLivestreamsRequest {
128264
- /**
128265
- * Page number
128266
- */
128267
- readonly page?: number
128268
-
128269
- /**
128270
- * Number of items per page
128271
- */
128272
- readonly pageSize?: number
128273
-
128274
- /**
128275
- * Field to order by
128276
- */
128277
- readonly orderBy?: string
128278
-
128279
- /**
128280
- * Search query
128281
- */
128282
- readonly search?: string
128283
- }
128284
-
128285
- /**
128286
- * Request parameters for resetLivestreamStreamKey operation in MeetingsLivestreamsApi.
128287
- */
128288
- export interface MeetingsLivestreamsApiResetLivestreamStreamKeyRequest {
128289
- /**
128290
- * The livestream identifier
128291
- */
128292
- readonly livestreamId: string
128293
- }
128294
-
128295
- /**
128296
- * MeetingsLivestreamsApi - object-oriented interface
128297
- */
128298
- export class MeetingsLivestreamsApi extends BaseAPI {
128299
- /**
128300
- * Disables the livestream identified by livestreamId so it can no longer ingest or broadcast, requiring both read and create permissions on meetings.
128301
- * @summary Disable a livestream
128302
- * @param {MeetingsLivestreamsApiDisableLivestreamRequest} requestParameters Request parameters.
128303
- * @param {*} [options] Override http request option.
128304
- * @throws {RequiredError}
128305
- */
128306
- public disableLivestream(requestParameters: MeetingsLivestreamsApiDisableLivestreamRequest, options?: RawAxiosRequestConfig) {
128307
- return MeetingsLivestreamsApiFp(this.configuration).disableLivestream(requestParameters.livestreamId, options).then((request) => request(this.axios, this.basePath));
128308
- }
128309
-
128310
- /**
128311
- * Enables the livestream identified by livestreamId so it can begin ingesting and broadcasting, requiring both read and create permissions on meetings.
128312
- * @summary Enable a livestream
128313
- * @param {MeetingsLivestreamsApiEnableLivestreamRequest} requestParameters Request parameters.
128314
- * @param {*} [options] Override http request option.
128315
- * @throws {RequiredError}
128316
- */
128317
- public enableLivestream(requestParameters: MeetingsLivestreamsApiEnableLivestreamRequest, options?: RawAxiosRequestConfig) {
128318
- return MeetingsLivestreamsApiFp(this.configuration).enableLivestream(requestParameters.livestreamId, options).then((request) => request(this.axios, this.basePath));
128319
- }
128320
-
128321
- /**
128322
- * Returns details for a single livestream by ID, including its Cloudflare RealtimeKit status and stream key; requires \"read\" permission on meetings.
128323
- * @summary Get a livestream
128324
- * @param {MeetingsLivestreamsApiGetLivestreamRequest} requestParameters Request parameters.
128325
- * @param {*} [options] Override http request option.
128326
- * @throws {RequiredError}
128327
- */
128328
- public getLivestream(requestParameters: MeetingsLivestreamsApiGetLivestreamRequest, options?: RawAxiosRequestConfig) {
128329
- return MeetingsLivestreamsApiFp(this.configuration).getLivestream(requestParameters.livestreamId, options).then((request) => request(this.axios, this.basePath));
128330
- }
128331
-
128332
- /**
128333
- * Returns a paginated list of sessions that occurred on the given livestream, supporting page and pageSize parameters; requires \"read\" permission on meetings.
128334
- * @summary List a livestream\'s sessions
128335
- * @param {MeetingsLivestreamsApiGetLivestreamSessionsRequest} requestParameters Request parameters.
128336
- * @param {*} [options] Override http request option.
128337
- * @throws {RequiredError}
128338
- */
128339
- public getLivestreamSessions(requestParameters: MeetingsLivestreamsApiGetLivestreamSessionsRequest, options?: RawAxiosRequestConfig) {
128340
- return MeetingsLivestreamsApiFp(this.configuration).getLivestreamSessions(requestParameters.livestreamId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
128341
- }
128342
-
128343
- /**
128344
- * Returns a paginated list of livestreams for the organization\'s meetings app, supporting page, pageSize, orderBy, and search parameters; requires \"read\" permission on meetings.
128345
- * @summary List livestreams
128346
- * @param {MeetingsLivestreamsApiGetLivestreamsRequest} requestParameters Request parameters.
128347
- * @param {*} [options] Override http request option.
128348
- * @throws {RequiredError}
128349
- */
128350
- public getLivestreams(requestParameters: MeetingsLivestreamsApiGetLivestreamsRequest = {}, options?: RawAxiosRequestConfig) {
128351
- return MeetingsLivestreamsApiFp(this.configuration).getLivestreams(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
128352
- }
128353
-
128354
- /**
128355
- * Rotates the ingest stream key for the livestream identified by livestreamId, invalidating the previous key, and requires both read and create permissions on meetings.
128356
- * @summary Reset a livestream\'s stream key
128357
- * @param {MeetingsLivestreamsApiResetLivestreamStreamKeyRequest} requestParameters Request parameters.
128358
- * @param {*} [options] Override http request option.
128359
- * @throws {RequiredError}
128360
- */
128361
- public resetLivestreamStreamKey(requestParameters: MeetingsLivestreamsApiResetLivestreamStreamKeyRequest, options?: RawAxiosRequestConfig) {
128362
- return MeetingsLivestreamsApiFp(this.configuration).resetLivestreamStreamKey(requestParameters.livestreamId, options).then((request) => request(this.axios, this.basePath));
128363
- }
128364
- }
128365
-
128366
-
128367
-
128368
- /**
128369
- * MeetingsParticipantsApi - axios parameter creator
128370
- */
128371
- export const MeetingsParticipantsApiAxiosParamCreator = function (configuration?: Configuration) {
128372
- return {
128373
- /**
128374
- * Adds a participant to the given meeting, assigning a role preset based on the meeting type and requester\'s admin status, and returns the participant along with a join token; requires read and create permissions on meetings.
128375
- * @summary Add a participant to a meeting
128376
- * @param {string} meetingId The meeting identifier
128377
- * @param {MeetingParticipantCreateInputs} meetingParticipantCreateInputs
128378
- * @param {*} [options] Override http request option.
128379
- * @throws {RequiredError}
128380
- */
128381
- createMeetingParticipant: async (meetingId: string, meetingParticipantCreateInputs: MeetingParticipantCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
128382
- // verify required parameter 'meetingId' is not null or undefined
128383
- assertParamExists('createMeetingParticipant', 'meetingId', meetingId)
128384
- // verify required parameter 'meetingParticipantCreateInputs' is not null or undefined
128385
- assertParamExists('createMeetingParticipant', 'meetingParticipantCreateInputs', meetingParticipantCreateInputs)
128386
- const localVarPath = `/meetings/{meetingId}/participants`
128387
- .replace('{meetingId}', encodeURIComponent(String(meetingId)));
128388
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
128389
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
128390
- let baseOptions;
128391
- if (configuration) {
128392
- baseOptions = configuration.baseOptions;
128393
- }
128394
-
128395
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
128396
- const localVarHeaderParameter = {} as any;
128397
- const localVarQueryParameter = {} as any;
128398
-
128399
- // authentication ApiKeyAuth required
128400
- await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
128401
-
128402
- // authentication OrganizationId required
128403
- await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
128404
-
128405
- localVarHeaderParameter['Content-Type'] = 'application/json';
128406
- localVarHeaderParameter['Accept'] = 'application/json';
128407
-
128408
- setSearchParams(localVarUrlObj, localVarQueryParameter);
128409
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
128410
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
128411
- localVarRequestOptions.data = serializeDataIfNeeded(meetingParticipantCreateInputs, localVarRequestOptions, configuration)
128412
-
128413
- return {
128414
- url: toPathString(localVarUrlObj),
128415
- options: localVarRequestOptions,
128416
- };
128417
- },
128418
- /**
128419
- * Removes the participant identified by participantId from the given meeting, revoking their access, and requires both read and delete permissions on meetings.
128420
- * @summary Remove a participant from a meeting
128421
- * @param {string} meetingId The meeting identifier
128422
- * @param {string} participantId The participant identifier
128423
- * @param {*} [options] Override http request option.
128424
- * @throws {RequiredError}
128425
- */
128426
- deleteMeetingParticipant: async (meetingId: string, participantId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
128427
- // verify required parameter 'meetingId' is not null or undefined
128428
- assertParamExists('deleteMeetingParticipant', 'meetingId', meetingId)
128429
- // verify required parameter 'participantId' is not null or undefined
128430
- assertParamExists('deleteMeetingParticipant', 'participantId', participantId)
128431
- const localVarPath = `/meetings/{meetingId}/participants/{participantId}`
128432
- .replace('{meetingId}', encodeURIComponent(String(meetingId)))
128433
- .replace('{participantId}', encodeURIComponent(String(participantId)));
128434
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
128435
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
128436
- let baseOptions;
128437
- if (configuration) {
128438
- baseOptions = configuration.baseOptions;
128439
- }
128440
-
128441
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
128442
- const localVarHeaderParameter = {} as any;
128443
- const localVarQueryParameter = {} as any;
128444
-
128445
- // authentication ApiKeyAuth required
128446
- await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
128447
-
128448
- // authentication OrganizationId required
128449
- await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
128450
-
128451
- localVarHeaderParameter['Accept'] = 'application/json';
128452
-
128453
- setSearchParams(localVarUrlObj, localVarQueryParameter);
128454
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
128455
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
128456
-
128457
- return {
128458
- url: toPathString(localVarUrlObj),
128459
- options: localVarRequestOptions,
128460
- };
128461
- },
128462
- /**
128463
- * Returns details for a single participant in a meeting, including their peer ID, display name, join/leave times, and linked account (if not a guest); requires \"read\" permission on meetings.
128464
- * @summary Get a meeting participant
128465
- * @param {string} meetingId The meeting identifier
128466
- * @param {string} participantId The participant identifier
128467
- * @param {*} [options] Override http request option.
128468
- * @throws {RequiredError}
128469
- */
128470
- getMeetingParticipant: async (meetingId: string, participantId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
128471
- // verify required parameter 'meetingId' is not null or undefined
128472
- assertParamExists('getMeetingParticipant', 'meetingId', meetingId)
128473
- // verify required parameter 'participantId' is not null or undefined
128474
- assertParamExists('getMeetingParticipant', 'participantId', participantId)
128475
- const localVarPath = `/meetings/{meetingId}/participants/{participantId}`
128476
- .replace('{meetingId}', encodeURIComponent(String(meetingId)))
128477
- .replace('{participantId}', encodeURIComponent(String(participantId)));
128478
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
128479
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
128480
- let baseOptions;
128481
- if (configuration) {
128482
- baseOptions = configuration.baseOptions;
128483
- }
128484
-
128485
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
128486
- const localVarHeaderParameter = {} as any;
128487
- const localVarQueryParameter = {} as any;
128488
-
128489
- // authentication ApiKeyAuth required
128490
- await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
128491
-
128492
- // authentication OrganizationId required
128493
- await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
128494
-
128495
- localVarHeaderParameter['Accept'] = 'application/json';
128496
-
128497
- setSearchParams(localVarUrlObj, localVarQueryParameter);
128498
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
128499
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
128500
-
128501
- return {
128502
- url: toPathString(localVarUrlObj),
128503
- options: localVarRequestOptions,
128504
- };
128505
- },
128506
- /**
128507
- * Returns a paginated list of participants for the given meeting, each enriched with the linked account when the participant is not a guest, supporting page and pageSize parameters; requires \"read\" permission on meetings.
128508
- * @summary List a meeting\'s participants
128509
- * @param {string} meetingId The meeting identifier
128510
- * @param {number} [page] Page number
128511
- * @param {number} [pageSize] Number of items per page
128512
- * @param {string} [orderBy] Field to order by
128513
- * @param {string} [search] Search query
128514
- * @param {*} [options] Override http request option.
128515
- * @throws {RequiredError}
128516
- */
128517
- getMeetingParticipants: async (meetingId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
128518
- // verify required parameter 'meetingId' is not null or undefined
128519
- assertParamExists('getMeetingParticipants', 'meetingId', meetingId)
128520
- const localVarPath = `/meetings/{meetingId}/participants`
128521
- .replace('{meetingId}', encodeURIComponent(String(meetingId)));
128522
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
128523
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
128524
- let baseOptions;
128525
- if (configuration) {
128526
- baseOptions = configuration.baseOptions;
128527
- }
128528
-
128529
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
128530
- const localVarHeaderParameter = {} as any;
128531
- const localVarQueryParameter = {} as any;
128532
-
128533
- // authentication ApiKeyAuth required
128534
- await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
128535
-
128536
- // authentication OrganizationId required
128537
- await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
128538
-
128539
- if (page !== undefined) {
128540
- localVarQueryParameter['page'] = page;
128541
- }
128542
-
128543
- if (pageSize !== undefined) {
128544
- localVarQueryParameter['pageSize'] = pageSize;
128545
- }
128546
-
128547
- if (orderBy !== undefined) {
128548
- localVarQueryParameter['orderBy'] = orderBy;
128549
- }
128550
-
128551
- if (search !== undefined) {
128552
- localVarQueryParameter['search'] = search;
128553
- }
128554
-
128555
- localVarHeaderParameter['Accept'] = 'application/json';
128556
-
128557
- setSearchParams(localVarUrlObj, localVarQueryParameter);
128558
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
128559
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
128560
-
128561
- return {
128562
- url: toPathString(localVarUrlObj),
128563
- options: localVarRequestOptions,
128564
- };
128565
- },
128566
- /**
128567
- * Issues a new authentication token for the participant identified by participantId in the given meeting, invalidating their previous token, and requires both read and create permissions on meetings.
128568
- * @summary Regenerate a participant\'s join token
128569
- * @param {string} meetingId The meeting identifier
128570
- * @param {string} participantId The participant identifier
128571
- * @param {*} [options] Override http request option.
128572
- * @throws {RequiredError}
128573
- */
128574
- regenerateMeetingParticipantToken: async (meetingId: string, participantId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
128575
- // verify required parameter 'meetingId' is not null or undefined
128576
- assertParamExists('regenerateMeetingParticipantToken', 'meetingId', meetingId)
128577
- // verify required parameter 'participantId' is not null or undefined
128578
- assertParamExists('regenerateMeetingParticipantToken', 'participantId', participantId)
128579
- const localVarPath = `/meetings/{meetingId}/participants/{participantId}/regenerate`
128580
- .replace('{meetingId}', encodeURIComponent(String(meetingId)))
128581
- .replace('{participantId}', encodeURIComponent(String(participantId)));
127725
+ regenerateMeetingParticipantToken: async (meetingId: string, participantId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127726
+ // verify required parameter 'meetingId' is not null or undefined
127727
+ assertParamExists('regenerateMeetingParticipantToken', 'meetingId', meetingId)
127728
+ // verify required parameter 'participantId' is not null or undefined
127729
+ assertParamExists('regenerateMeetingParticipantToken', 'participantId', participantId)
127730
+ const localVarPath = `/meetings/{meetingId}/participants/{participantId}/regenerate`
127731
+ .replace('{meetingId}', encodeURIComponent(String(meetingId)))
127732
+ .replace('{participantId}', encodeURIComponent(String(participantId)));
128582
127733
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
128583
127734
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
128584
127735
  let baseOptions;
@@ -135521,7 +134672,7 @@ export class OrganizationModulesCustomTranslationsApi extends BaseAPI {
135521
134672
  export const OrganizationModulesSettingsApiAxiosParamCreator = function (configuration?: Configuration) {
135522
134673
  return {
135523
134674
  /**
135524
- * Returns the organization\'s cross-module configuration (e.g. meeting call/webinar/livestream presets and support auto-resolve behavior), creating default settings if none exist yet; requires org read permission.
134675
+ * Returns the organization\'s cross-module configuration (e.g. meeting call/webinar presets and support auto-resolve behavior), creating default settings if none exist yet; requires org read permission.
135525
134676
  * @summary Get an organization\'s module settings
135526
134677
  * @param {*} [options] Override http request option.
135527
134678
  * @throws {RequiredError}
@@ -135607,7 +134758,7 @@ export const OrganizationModulesSettingsApiFp = function(configuration?: Configu
135607
134758
  const localVarAxiosParamCreator = OrganizationModulesSettingsApiAxiosParamCreator(configuration)
135608
134759
  return {
135609
134760
  /**
135610
- * Returns the organization\'s cross-module configuration (e.g. meeting call/webinar/livestream presets and support auto-resolve behavior), creating default settings if none exist yet; requires org read permission.
134761
+ * Returns the organization\'s cross-module configuration (e.g. meeting call/webinar presets and support auto-resolve behavior), creating default settings if none exist yet; requires org read permission.
135611
134762
  * @summary Get an organization\'s module settings
135612
134763
  * @param {*} [options] Override http request option.
135613
134764
  * @throws {RequiredError}
@@ -135641,7 +134792,7 @@ export const OrganizationModulesSettingsApiFactory = function (configuration?: C
135641
134792
  const localVarFp = OrganizationModulesSettingsApiFp(configuration)
135642
134793
  return {
135643
134794
  /**
135644
- * Returns the organization\'s cross-module configuration (e.g. meeting call/webinar/livestream presets and support auto-resolve behavior), creating default settings if none exist yet; requires org read permission.
134795
+ * Returns the organization\'s cross-module configuration (e.g. meeting call/webinar presets and support auto-resolve behavior), creating default settings if none exist yet; requires org read permission.
135645
134796
  * @summary Get an organization\'s module settings
135646
134797
  * @param {*} [options] Override http request option.
135647
134798
  * @throws {RequiredError}
@@ -135674,7 +134825,7 @@ export interface OrganizationModulesSettingsApiUpdateOrganizationModuleSettingsR
135674
134825
  */
135675
134826
  export class OrganizationModulesSettingsApi extends BaseAPI {
135676
134827
  /**
135677
- * Returns the organization\'s cross-module configuration (e.g. meeting call/webinar/livestream presets and support auto-resolve behavior), creating default settings if none exist yet; requires org read permission.
134828
+ * Returns the organization\'s cross-module configuration (e.g. meeting call/webinar presets and support auto-resolve behavior), creating default settings if none exist yet; requires org read permission.
135678
134829
  * @summary Get an organization\'s module settings
135679
134830
  * @param {*} [options] Override http request option.
135680
134831
  * @throws {RequiredError}
@@ -153823,12 +152974,11 @@ export const StreamsApiAxiosParamCreator = function (configuration?: Configurati
153823
152974
  };
153824
152975
  },
153825
152976
  /**
153826
- * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity (a meeting-only input counts as not attached), and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
152977
+ * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, or group, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity, and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
153827
152978
  * @summary List an organization\'s stream inputs
153828
152979
  * @param {string} [eventId] Filter by eventId
153829
152980
  * @param {string} [sessionId] Filter by sessionId
153830
152981
  * @param {string} [groupId] Filter by groupId
153831
- * @param {string} [meetingId] Filter by meetingId
153832
152982
  * @param {boolean} [connected] Filter by connected
153833
152983
  * @param {boolean} [attached] Filter by attached
153834
152984
  * @param {number} [page] Page number
@@ -153838,7 +152988,7 @@ export const StreamsApiAxiosParamCreator = function (configuration?: Configurati
153838
152988
  * @param {*} [options] Override http request option.
153839
152989
  * @throws {RequiredError}
153840
152990
  */
153841
- getStreamInputs: async (eventId?: string, sessionId?: string, groupId?: string, meetingId?: string, connected?: boolean, attached?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
152991
+ getStreamInputs: async (eventId?: string, sessionId?: string, groupId?: string, connected?: boolean, attached?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
153842
152992
  const localVarPath = `/streams`;
153843
152993
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
153844
152994
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -153869,10 +153019,6 @@ export const StreamsApiAxiosParamCreator = function (configuration?: Configurati
153869
153019
  localVarQueryParameter['groupId'] = groupId;
153870
153020
  }
153871
153021
 
153872
- if (meetingId !== undefined) {
153873
- localVarQueryParameter['meetingId'] = meetingId;
153874
- }
153875
-
153876
153022
  if (connected !== undefined) {
153877
153023
  localVarQueryParameter['connected'] = connected;
153878
153024
  }
@@ -154107,12 +153253,11 @@ export const StreamsApiFp = function(configuration?: Configuration) {
154107
153253
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
154108
153254
  },
154109
153255
  /**
154110
- * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity (a meeting-only input counts as not attached), and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
153256
+ * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, or group, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity, and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
154111
153257
  * @summary List an organization\'s stream inputs
154112
153258
  * @param {string} [eventId] Filter by eventId
154113
153259
  * @param {string} [sessionId] Filter by sessionId
154114
153260
  * @param {string} [groupId] Filter by groupId
154115
- * @param {string} [meetingId] Filter by meetingId
154116
153261
  * @param {boolean} [connected] Filter by connected
154117
153262
  * @param {boolean} [attached] Filter by attached
154118
153263
  * @param {number} [page] Page number
@@ -154122,8 +153267,8 @@ export const StreamsApiFp = function(configuration?: Configuration) {
154122
153267
  * @param {*} [options] Override http request option.
154123
153268
  * @throws {RequiredError}
154124
153269
  */
154125
- async getStreamInputs(eventId?: string, sessionId?: string, groupId?: string, meetingId?: string, connected?: boolean, attached?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStreamInputs200Response>> {
154126
- const localVarAxiosArgs = await localVarAxiosParamCreator.getStreamInputs(eventId, sessionId, groupId, meetingId, connected, attached, page, pageSize, orderBy, search, options);
153270
+ async getStreamInputs(eventId?: string, sessionId?: string, groupId?: string, connected?: boolean, attached?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetStreamInputs200Response>> {
153271
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getStreamInputs(eventId, sessionId, groupId, connected, attached, page, pageSize, orderBy, search, options);
154127
153272
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
154128
153273
  const localVarOperationServerBasePath = operationServerMap['StreamsApi.getStreamInputs']?.[localVarOperationServerIndex]?.url;
154129
153274
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -154213,14 +153358,14 @@ export const StreamsApiFactory = function (configuration?: Configuration, basePa
154213
153358
  return localVarFp.getStreamInput(requestParameters.streamId, options).then((request) => request(axios, basePath));
154214
153359
  },
154215
153360
  /**
154216
- * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity (a meeting-only input counts as not attached), and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
153361
+ * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, or group, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity, and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
154217
153362
  * @summary List an organization\'s stream inputs
154218
153363
  * @param {StreamsApiGetStreamInputsRequest} requestParameters Request parameters.
154219
153364
  * @param {*} [options] Override http request option.
154220
153365
  * @throws {RequiredError}
154221
153366
  */
154222
153367
  getStreamInputs(requestParameters: StreamsApiGetStreamInputsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetStreamInputs200Response> {
154223
- return localVarFp.getStreamInputs(requestParameters.eventId, requestParameters.sessionId, requestParameters.groupId, requestParameters.meetingId, requestParameters.connected, requestParameters.attached, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
153368
+ return localVarFp.getStreamInputs(requestParameters.eventId, requestParameters.sessionId, requestParameters.groupId, requestParameters.connected, requestParameters.attached, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
154224
153369
  },
154225
153370
  /**
154226
153371
  * Returns a paginated list of recorded videos associated with the given stream, with optional search and ordering, and requires \"read\" permission on both streams and storage.
@@ -154301,11 +153446,6 @@ export interface StreamsApiGetStreamInputsRequest {
154301
153446
  */
154302
153447
  readonly groupId?: string
154303
153448
 
154304
- /**
154305
- * Filter by meetingId
154306
- */
154307
- readonly meetingId?: string
154308
-
154309
153449
  /**
154310
153450
  * Filter by connected
154311
153451
  */
@@ -154429,14 +153569,14 @@ export class StreamsApi extends BaseAPI {
154429
153569
  }
154430
153570
 
154431
153571
  /**
154432
- * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity (a meeting-only input counts as not attached), and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
153572
+ * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, or group, by whether an encoder is connected, by whether the input is attached to an event, session, group or activity, and by free-text search; each item includes when its latest broadcast started; requires read permission on streams.
154433
153573
  * @summary List an organization\'s stream inputs
154434
153574
  * @param {StreamsApiGetStreamInputsRequest} requestParameters Request parameters.
154435
153575
  * @param {*} [options] Override http request option.
154436
153576
  * @throws {RequiredError}
154437
153577
  */
154438
153578
  public getStreamInputs(requestParameters: StreamsApiGetStreamInputsRequest = {}, options?: RawAxiosRequestConfig) {
154439
- return StreamsApiFp(this.configuration).getStreamInputs(requestParameters.eventId, requestParameters.sessionId, requestParameters.groupId, requestParameters.meetingId, requestParameters.connected, requestParameters.attached, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
153579
+ return StreamsApiFp(this.configuration).getStreamInputs(requestParameters.eventId, requestParameters.sessionId, requestParameters.groupId, requestParameters.connected, requestParameters.attached, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
154440
153580
  }
154441
153581
 
154442
153582
  /**