@connectedxm/admin-sdk 16.16.3 → 18.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 (46) hide show
  1. package/.openapi-generator/FILES +0 -6
  2. package/AdminApi.ts +0 -3
  3. package/README.md +2 -2
  4. package/api.ts +83 -953
  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 +20 -484
  11. package/dist/api.js +46 -699
  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 +20 -484
  21. package/dist/esm/api.js +22 -671
  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/Meeting.md +0 -2
  29. package/docs/MeetingCreateInputs.md +0 -2
  30. package/docs/MeetingType.md +0 -2
  31. package/docs/MeetingUpdateInputs.md +0 -2
  32. package/docs/MeetingsApi.md +2 -106
  33. package/docs/OrganizationModuleSettings.md +0 -4
  34. package/docs/OrganizationModuleSettingsUpdateInputs.md +0 -4
  35. package/docs/OrganizationModulesSettingsApi.md +1 -1
  36. package/docs/StreamInput.md +0 -4
  37. package/docs/StreamInputCreateInputs.md +0 -2
  38. package/docs/StreamInputUpdateInputs.md +0 -2
  39. package/docs/StreamsApi.md +1 -4
  40. package/package.json +1 -1
  41. package/docs/GetLivestream200Response.md +0 -24
  42. package/docs/GetLivestreamSessions200Response.md +0 -26
  43. package/docs/GetLivestreams200Response.md +0 -26
  44. package/docs/Livestream.md +0 -38
  45. package/docs/LivestreamSession.md +0 -36
  46. 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.3
7
+ * The version of the OpenAPI document: 18.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',
@@ -12292,7 +12229,6 @@ export interface Meeting {
12292
12229
  'preferred_region'?: MeetingPreferredRegionEnum | null;
12293
12230
  'status'?: MeetingStatusEnum;
12294
12231
  'record_on_start': boolean;
12295
- 'live_stream_on_start': boolean;
12296
12232
  'persist_chat': boolean;
12297
12233
  'summarize_on_end': boolean;
12298
12234
  }
@@ -12327,7 +12263,6 @@ export interface MeetingCreateInputs {
12327
12263
  'title': string | null;
12328
12264
  'preferred_region': MeetingCreateInputsPreferredRegionEnum | null;
12329
12265
  'record_on_start': boolean;
12330
- 'live_stream_on_start': boolean;
12331
12266
  'persist_chat': boolean;
12332
12267
  'summarize_on_end': boolean;
12333
12268
  }
@@ -12445,7 +12380,6 @@ export interface MeetingSession {
12445
12380
 
12446
12381
  export enum MeetingSessionTypeEnum {
12447
12382
  Meeting = 'meeting',
12448
- Livestream = 'livestream',
12449
12383
  Participant = 'participant'
12450
12384
  }
12451
12385
  export enum MeetingSessionStatusEnum {
@@ -12725,8 +12659,7 @@ export interface MeetingSessionTranscriptDownload {
12725
12659
 
12726
12660
  export enum MeetingType {
12727
12661
  GroupCall = 'GROUP_CALL',
12728
- Webinar = 'WEBINAR',
12729
- Livestream = 'LIVESTREAM'
12662
+ Webinar = 'WEBINAR'
12730
12663
  }
12731
12664
 
12732
12665
 
@@ -12742,7 +12675,6 @@ export interface MeetingUpdateInputs {
12742
12675
  'title'?: string | null;
12743
12676
  'preferred_region'?: MeetingUpdateInputsPreferredRegionEnum | null;
12744
12677
  'record_on_start'?: boolean;
12745
- 'live_stream_on_start'?: boolean;
12746
12678
  'status'?: MeetingUpdateInputsStatusEnum;
12747
12679
  'persist_chat'?: boolean;
12748
12680
  'summarize_on_end'?: boolean;
@@ -13134,8 +13066,6 @@ export interface OrganizationModuleSettings {
13134
13066
  'meetingGroupCallGuestPreset': string;
13135
13067
  'meetingWebinarAdminPreset': string;
13136
13068
  'meetingWebinarGuestPreset': string;
13137
- 'meetingLivestreamAdminPreset': string;
13138
- 'meetingLivestreamGuestPreset': string;
13139
13069
  'supportAutoResolve': boolean;
13140
13070
  'supportAutoResolveMessage'?: string;
13141
13071
  'eventConfirmationEmailReplyTo': string | null;
@@ -13180,8 +13110,6 @@ export interface OrganizationModuleSettingsUpdateInputs {
13180
13110
  'meetingGroupCallGuestPreset'?: string;
13181
13111
  'meetingWebinarAdminPreset'?: string;
13182
13112
  'meetingWebinarGuestPreset'?: string;
13183
- 'meetingLivestreamAdminPreset'?: string;
13184
- 'meetingLivestreamGuestPreset'?: string;
13185
13113
  'supportAutoResolve'?: boolean;
13186
13114
  'supportAutoResolveMessage'?: string;
13187
13115
  'eventConfirmationEmailReplyTo'?: string | null;
@@ -15327,8 +15255,6 @@ export interface StreamInput {
15327
15255
  'event': BaseEvent | null;
15328
15256
  'session': BaseEventSession | null;
15329
15257
  'group': BaseGroup | null;
15330
- 'meetingId': string | null;
15331
- 'meeting': BaseMeeting | null;
15332
15258
  'activityId': string | null;
15333
15259
  'activity': BaseActivity | null;
15334
15260
  'streamInputId': string | null;
@@ -15345,7 +15271,6 @@ export interface StreamInputCreateInputs {
15345
15271
  'eventId'?: string | null;
15346
15272
  'sessionId'?: string | null;
15347
15273
  'groupId'?: string | null;
15348
- 'meetingId'?: string | null;
15349
15274
  'activityId'?: string | null;
15350
15275
  'details'?: object | null;
15351
15276
  'imageId'?: string | null;
@@ -15415,7 +15340,6 @@ export interface StreamInputUpdateInputs {
15415
15340
  'eventId'?: string | null;
15416
15341
  'sessionId'?: string | null;
15417
15342
  'groupId'?: string | null;
15418
- 'meetingId'?: string | null;
15419
15343
  'activityId'?: string | null;
15420
15344
  'connected'?: boolean;
15421
15345
  'imageId'?: string | null;
@@ -126552,47 +126476,7 @@ export class LoginsAccountsApi extends BaseAPI {
126552
126476
  export const MeetingsApiAxiosParamCreator = function (configuration?: Configuration) {
126553
126477
  return {
126554
126478
  /**
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.
126479
+ * 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
126480
  * @summary Create a meeting
126597
126481
  * @param {MeetingCreateInputs} meetingCreateInputs
126598
126482
  * @param {*} [options] Override http request option.
@@ -126672,46 +126556,6 @@ export const MeetingsApiAxiosParamCreator = function (configuration?: Configurat
126672
126556
  options: localVarRequestOptions,
126673
126557
  };
126674
126558
  },
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
126559
  /**
126716
126560
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
126717
126561
  * @summary List meetings
@@ -126809,7 +126653,7 @@ export const MeetingsApiAxiosParamCreator = function (configuration?: Configurat
126809
126653
  };
126810
126654
  },
126811
126655
  /**
126812
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
126656
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
126813
126657
  * @summary Update a meeting
126814
126658
  * @param {string} meetingId The meeting identifier
126815
126659
  * @param {MeetingUpdateInputs} meetingUpdateInputs
@@ -126863,20 +126707,7 @@ export const MeetingsApiFp = function(configuration?: Configuration) {
126863
126707
  const localVarAxiosParamCreator = MeetingsApiAxiosParamCreator(configuration)
126864
126708
  return {
126865
126709
  /**
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.
126710
+ * 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
126711
  * @summary Create a meeting
126881
126712
  * @param {MeetingCreateInputs} meetingCreateInputs
126882
126713
  * @param {*} [options] Override http request option.
@@ -126901,19 +126732,6 @@ export const MeetingsApiFp = function(configuration?: Configuration) {
126901
126732
  const localVarOperationServerBasePath = operationServerMap['MeetingsApi.getMeeting']?.[localVarOperationServerIndex]?.url;
126902
126733
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
126903
126734
  },
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
126735
  /**
126918
126736
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
126919
126737
  * @summary List meetings
@@ -126944,7 +126762,7 @@ export const MeetingsApiFp = function(configuration?: Configuration) {
126944
126762
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
126945
126763
  },
126946
126764
  /**
126947
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
126765
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
126948
126766
  * @summary Update a meeting
126949
126767
  * @param {string} meetingId The meeting identifier
126950
126768
  * @param {MeetingUpdateInputs} meetingUpdateInputs
@@ -126967,17 +126785,7 @@ export const MeetingsApiFactory = function (configuration?: Configuration, baseP
126967
126785
  const localVarFp = MeetingsApiFp(configuration)
126968
126786
  return {
126969
126787
  /**
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.
126788
+ * 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
126789
  * @summary Create a meeting
126982
126790
  * @param {MeetingsApiCreateMeetingRequest} requestParameters Request parameters.
126983
126791
  * @param {*} [options] Override http request option.
@@ -126996,16 +126804,6 @@ export const MeetingsApiFactory = function (configuration?: Configuration, baseP
126996
126804
  getMeeting(requestParameters: MeetingsApiGetMeetingRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateMeeting200Response> {
126997
126805
  return localVarFp.getMeeting(requestParameters.meetingId, options).then((request) => request(axios, basePath));
126998
126806
  },
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
126807
  /**
127010
126808
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
127011
126809
  * @summary List meetings
@@ -127027,7 +126825,7 @@ export const MeetingsApiFactory = function (configuration?: Configuration, baseP
127027
126825
  return localVarFp.joinMeeting(requestParameters.meetingId, options).then((request) => request(axios, basePath));
127028
126826
  },
127029
126827
  /**
127030
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
126828
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
127031
126829
  * @summary Update a meeting
127032
126830
  * @param {MeetingsApiUpdateMeetingRequest} requestParameters Request parameters.
127033
126831
  * @param {*} [options] Override http request option.
@@ -127039,16 +126837,6 @@ export const MeetingsApiFactory = function (configuration?: Configuration, baseP
127039
126837
  };
127040
126838
  };
127041
126839
 
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
126840
  /**
127053
126841
  * Request parameters for createMeeting operation in MeetingsApi.
127054
126842
  */
@@ -127066,16 +126854,6 @@ export interface MeetingsApiGetMeetingRequest {
127066
126854
  readonly meetingId: string
127067
126855
  }
127068
126856
 
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
126857
  /**
127080
126858
  * Request parameters for getMeetings operation in MeetingsApi.
127081
126859
  */
@@ -127128,18 +126906,7 @@ export interface MeetingsApiUpdateMeetingRequest {
127128
126906
  */
127129
126907
  export class MeetingsApi extends BaseAPI {
127130
126908
  /**
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.
126909
+ * 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
126910
  * @summary Create a meeting
127144
126911
  * @param {MeetingsApiCreateMeetingRequest} requestParameters Request parameters.
127145
126912
  * @param {*} [options] Override http request option.
@@ -127160,17 +126927,6 @@ export class MeetingsApi extends BaseAPI {
127160
126927
  return MeetingsApiFp(this.configuration).getMeeting(requestParameters.meetingId, options).then((request) => request(this.axios, this.basePath));
127161
126928
  }
127162
126929
 
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
126930
  /**
127175
126931
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
127176
126932
  * @summary List meetings
@@ -127194,7 +126950,7 @@ export class MeetingsApi extends BaseAPI {
127194
126950
  }
127195
126951
 
127196
126952
  /**
127197
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
126953
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
127198
126954
  * @summary Update a meeting
127199
126955
  * @param {MeetingsApiUpdateMeetingRequest} requestParameters Request parameters.
127200
126956
  * @param {*} [options] Override http request option.
@@ -127751,62 +127507,25 @@ export class MeetingsLinksApi extends BaseAPI {
127751
127507
 
127752
127508
 
127753
127509
  /**
127754
- * MeetingsLivestreamsApi - axios parameter creator
127510
+ * MeetingsParticipantsApi - axios parameter creator
127755
127511
  */
127756
- export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?: Configuration) {
127512
+ export const MeetingsParticipantsApiAxiosParamCreator = function (configuration?: Configuration) {
127757
127513
  return {
127758
127514
  /**
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
127515
+ * 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.
127516
+ * @summary Add a participant to a meeting
127517
+ * @param {string} meetingId The meeting identifier
127518
+ * @param {MeetingParticipantCreateInputs} meetingParticipantCreateInputs
127802
127519
  * @param {*} [options] Override http request option.
127803
127520
  * @throws {RequiredError}
127804
127521
  */
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)));
127522
+ createMeetingParticipant: async (meetingId: string, meetingParticipantCreateInputs: MeetingParticipantCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127523
+ // verify required parameter 'meetingId' is not null or undefined
127524
+ assertParamExists('createMeetingParticipant', 'meetingId', meetingId)
127525
+ // verify required parameter 'meetingParticipantCreateInputs' is not null or undefined
127526
+ assertParamExists('createMeetingParticipant', 'meetingParticipantCreateInputs', meetingParticipantCreateInputs)
127527
+ const localVarPath = `/meetings/{meetingId}/participants`
127528
+ .replace('{meetingId}', encodeURIComponent(String(meetingId)));
127810
127529
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
127811
127530
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
127812
127531
  let baseOptions;
@@ -127824,11 +127543,13 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127824
127543
  // authentication OrganizationId required
127825
127544
  await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
127826
127545
 
127546
+ localVarHeaderParameter['Content-Type'] = 'application/json';
127827
127547
  localVarHeaderParameter['Accept'] = 'application/json';
127828
127548
 
127829
127549
  setSearchParams(localVarUrlObj, localVarQueryParameter);
127830
127550
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
127831
127551
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
127552
+ localVarRequestOptions.data = serializeDataIfNeeded(meetingParticipantCreateInputs, localVarRequestOptions, configuration)
127832
127553
 
127833
127554
  return {
127834
127555
  url: toPathString(localVarUrlObj),
@@ -127836,17 +127557,21 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127836
127557
  };
127837
127558
  },
127838
127559
  /**
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
127560
+ * Removes the participant identified by participantId from the given meeting, revoking their access, and requires both read and delete permissions on meetings.
127561
+ * @summary Remove a participant from a meeting
127562
+ * @param {string} meetingId The meeting identifier
127563
+ * @param {string} participantId The participant identifier
127842
127564
  * @param {*} [options] Override http request option.
127843
127565
  * @throws {RequiredError}
127844
127566
  */
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)));
127567
+ deleteMeetingParticipant: async (meetingId: string, participantId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127568
+ // verify required parameter 'meetingId' is not null or undefined
127569
+ assertParamExists('deleteMeetingParticipant', 'meetingId', meetingId)
127570
+ // verify required parameter 'participantId' is not null or undefined
127571
+ assertParamExists('deleteMeetingParticipant', 'participantId', participantId)
127572
+ const localVarPath = `/meetings/{meetingId}/participants/{participantId}`
127573
+ .replace('{meetingId}', encodeURIComponent(String(meetingId)))
127574
+ .replace('{participantId}', encodeURIComponent(String(participantId)));
127850
127575
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
127851
127576
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
127852
127577
  let baseOptions;
@@ -127854,7 +127579,7 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127854
127579
  baseOptions = configuration.baseOptions;
127855
127580
  }
127856
127581
 
127857
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
127582
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
127858
127583
  const localVarHeaderParameter = {} as any;
127859
127584
  const localVarQueryParameter = {} as any;
127860
127585
 
@@ -127876,21 +127601,21 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127876
127601
  };
127877
127602
  },
127878
127603
  /**
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
127604
+ * 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.
127605
+ * @summary Get a meeting participant
127606
+ * @param {string} meetingId The meeting identifier
127607
+ * @param {string} participantId The participant identifier
127886
127608
  * @param {*} [options] Override http request option.
127887
127609
  * @throws {RequiredError}
127888
127610
  */
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)));
127611
+ getMeetingParticipant: async (meetingId: string, participantId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127612
+ // verify required parameter 'meetingId' is not null or undefined
127613
+ assertParamExists('getMeetingParticipant', 'meetingId', meetingId)
127614
+ // verify required parameter 'participantId' is not null or undefined
127615
+ assertParamExists('getMeetingParticipant', 'participantId', participantId)
127616
+ const localVarPath = `/meetings/{meetingId}/participants/{participantId}`
127617
+ .replace('{meetingId}', encodeURIComponent(String(meetingId)))
127618
+ .replace('{participantId}', encodeURIComponent(String(participantId)));
127894
127619
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
127895
127620
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
127896
127621
  let baseOptions;
@@ -127908,22 +127633,6 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127908
127633
  // authentication OrganizationId required
127909
127634
  await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
127910
127635
 
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
127636
  localVarHeaderParameter['Accept'] = 'application/json';
127928
127637
 
127929
127638
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -127936,8 +127645,9 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127936
127645
  };
127937
127646
  },
127938
127647
  /**
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
127648
+ * 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.
127649
+ * @summary List a meeting\'s participants
127650
+ * @param {string} meetingId The meeting identifier
127941
127651
  * @param {number} [page] Page number
127942
127652
  * @param {number} [pageSize] Number of items per page
127943
127653
  * @param {string} [orderBy] Field to order by
@@ -127945,8 +127655,11 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127945
127655
  * @param {*} [options] Override http request option.
127946
127656
  * @throws {RequiredError}
127947
127657
  */
127948
- getLivestreams: async (page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127949
- const localVarPath = `/meetings/livestreams`;
127658
+ getMeetingParticipants: async (meetingId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127659
+ // verify required parameter 'meetingId' is not null or undefined
127660
+ assertParamExists('getMeetingParticipants', 'meetingId', meetingId)
127661
+ const localVarPath = `/meetings/{meetingId}/participants`
127662
+ .replace('{meetingId}', encodeURIComponent(String(meetingId)));
127950
127663
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
127951
127664
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
127952
127665
  let baseOptions;
@@ -127992,593 +127705,21 @@ export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration?:
127992
127705
  };
127993
127706
  },
127994
127707
  /**
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
127708
+ * 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.
127709
+ * @summary Regenerate a participant\'s join token
127710
+ * @param {string} meetingId The meeting identifier
127711
+ * @param {string} participantId The participant identifier
127998
127712
  * @param {*} [options] Override http request option.
127999
127713
  * @throws {RequiredError}
128000
127714
  */
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)));
127715
+ regenerateMeetingParticipantToken: async (meetingId: string, participantId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
127716
+ // verify required parameter 'meetingId' is not null or undefined
127717
+ assertParamExists('regenerateMeetingParticipantToken', 'meetingId', meetingId)
127718
+ // verify required parameter 'participantId' is not null or undefined
127719
+ assertParamExists('regenerateMeetingParticipantToken', 'participantId', participantId)
127720
+ const localVarPath = `/meetings/{meetingId}/participants/{participantId}/regenerate`
127721
+ .replace('{meetingId}', encodeURIComponent(String(meetingId)))
127722
+ .replace('{participantId}', encodeURIComponent(String(participantId)));
128582
127723
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
128583
127724
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
128584
127725
  let baseOptions;
@@ -135521,7 +134662,7 @@ export class OrganizationModulesCustomTranslationsApi extends BaseAPI {
135521
134662
  export const OrganizationModulesSettingsApiAxiosParamCreator = function (configuration?: Configuration) {
135522
134663
  return {
135523
134664
  /**
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.
134665
+ * 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
134666
  * @summary Get an organization\'s module settings
135526
134667
  * @param {*} [options] Override http request option.
135527
134668
  * @throws {RequiredError}
@@ -135607,7 +134748,7 @@ export const OrganizationModulesSettingsApiFp = function(configuration?: Configu
135607
134748
  const localVarAxiosParamCreator = OrganizationModulesSettingsApiAxiosParamCreator(configuration)
135608
134749
  return {
135609
134750
  /**
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.
134751
+ * 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
134752
  * @summary Get an organization\'s module settings
135612
134753
  * @param {*} [options] Override http request option.
135613
134754
  * @throws {RequiredError}
@@ -135641,7 +134782,7 @@ export const OrganizationModulesSettingsApiFactory = function (configuration?: C
135641
134782
  const localVarFp = OrganizationModulesSettingsApiFp(configuration)
135642
134783
  return {
135643
134784
  /**
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.
134785
+ * 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
134786
  * @summary Get an organization\'s module settings
135646
134787
  * @param {*} [options] Override http request option.
135647
134788
  * @throws {RequiredError}
@@ -135674,7 +134815,7 @@ export interface OrganizationModulesSettingsApiUpdateOrganizationModuleSettingsR
135674
134815
  */
135675
134816
  export class OrganizationModulesSettingsApi extends BaseAPI {
135676
134817
  /**
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.
134818
+ * 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
134819
  * @summary Get an organization\'s module settings
135679
134820
  * @param {*} [options] Override http request option.
135680
134821
  * @throws {RequiredError}
@@ -153823,12 +152964,11 @@ export const StreamsApiAxiosParamCreator = function (configuration?: Configurati
153823
152964
  };
153824
152965
  },
153825
152966
  /**
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.
152967
+ * 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
152968
  * @summary List an organization\'s stream inputs
153828
152969
  * @param {string} [eventId] Filter by eventId
153829
152970
  * @param {string} [sessionId] Filter by sessionId
153830
152971
  * @param {string} [groupId] Filter by groupId
153831
- * @param {string} [meetingId] Filter by meetingId
153832
152972
  * @param {boolean} [connected] Filter by connected
153833
152973
  * @param {boolean} [attached] Filter by attached
153834
152974
  * @param {number} [page] Page number
@@ -153838,7 +152978,7 @@ export const StreamsApiAxiosParamCreator = function (configuration?: Configurati
153838
152978
  * @param {*} [options] Override http request option.
153839
152979
  * @throws {RequiredError}
153840
152980
  */
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> => {
152981
+ 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
152982
  const localVarPath = `/streams`;
153843
152983
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
153844
152984
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -153869,10 +153009,6 @@ export const StreamsApiAxiosParamCreator = function (configuration?: Configurati
153869
153009
  localVarQueryParameter['groupId'] = groupId;
153870
153010
  }
153871
153011
 
153872
- if (meetingId !== undefined) {
153873
- localVarQueryParameter['meetingId'] = meetingId;
153874
- }
153875
-
153876
153012
  if (connected !== undefined) {
153877
153013
  localVarQueryParameter['connected'] = connected;
153878
153014
  }
@@ -154107,12 +153243,11 @@ export const StreamsApiFp = function(configuration?: Configuration) {
154107
153243
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
154108
153244
  },
154109
153245
  /**
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.
153246
+ * 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
153247
  * @summary List an organization\'s stream inputs
154112
153248
  * @param {string} [eventId] Filter by eventId
154113
153249
  * @param {string} [sessionId] Filter by sessionId
154114
153250
  * @param {string} [groupId] Filter by groupId
154115
- * @param {string} [meetingId] Filter by meetingId
154116
153251
  * @param {boolean} [connected] Filter by connected
154117
153252
  * @param {boolean} [attached] Filter by attached
154118
153253
  * @param {number} [page] Page number
@@ -154122,8 +153257,8 @@ export const StreamsApiFp = function(configuration?: Configuration) {
154122
153257
  * @param {*} [options] Override http request option.
154123
153258
  * @throws {RequiredError}
154124
153259
  */
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);
153260
+ 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>> {
153261
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getStreamInputs(eventId, sessionId, groupId, connected, attached, page, pageSize, orderBy, search, options);
154127
153262
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
154128
153263
  const localVarOperationServerBasePath = operationServerMap['StreamsApi.getStreamInputs']?.[localVarOperationServerIndex]?.url;
154129
153264
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -154213,14 +153348,14 @@ export const StreamsApiFactory = function (configuration?: Configuration, basePa
154213
153348
  return localVarFp.getStreamInput(requestParameters.streamId, options).then((request) => request(axios, basePath));
154214
153349
  },
154215
153350
  /**
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.
153351
+ * 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
153352
  * @summary List an organization\'s stream inputs
154218
153353
  * @param {StreamsApiGetStreamInputsRequest} requestParameters Request parameters.
154219
153354
  * @param {*} [options] Override http request option.
154220
153355
  * @throws {RequiredError}
154221
153356
  */
154222
153357
  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));
153358
+ 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
153359
  },
154225
153360
  /**
154226
153361
  * 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 +153436,6 @@ export interface StreamsApiGetStreamInputsRequest {
154301
153436
  */
154302
153437
  readonly groupId?: string
154303
153438
 
154304
- /**
154305
- * Filter by meetingId
154306
- */
154307
- readonly meetingId?: string
154308
-
154309
153439
  /**
154310
153440
  * Filter by connected
154311
153441
  */
@@ -154429,14 +153559,14 @@ export class StreamsApi extends BaseAPI {
154429
153559
  }
154430
153560
 
154431
153561
  /**
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.
153562
+ * 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
153563
  * @summary List an organization\'s stream inputs
154434
153564
  * @param {StreamsApiGetStreamInputsRequest} requestParameters Request parameters.
154435
153565
  * @param {*} [options] Override http request option.
154436
153566
  * @throws {RequiredError}
154437
153567
  */
154438
153568
  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));
153569
+ 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
153570
  }
154441
153571
 
154442
153572
  /**