@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/dist/esm/api.js 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).
@@ -1716,18 +1716,6 @@ export var GetLevelTranslations200ResponseStatusEnum;
1716
1716
  (function (GetLevelTranslations200ResponseStatusEnum) {
1717
1717
  GetLevelTranslations200ResponseStatusEnum["Ok"] = "ok";
1718
1718
  })(GetLevelTranslations200ResponseStatusEnum || (GetLevelTranslations200ResponseStatusEnum = {}));
1719
- export var GetLivestream200ResponseStatusEnum;
1720
- (function (GetLivestream200ResponseStatusEnum) {
1721
- GetLivestream200ResponseStatusEnum["Ok"] = "ok";
1722
- })(GetLivestream200ResponseStatusEnum || (GetLivestream200ResponseStatusEnum = {}));
1723
- export var GetLivestreamSessions200ResponseStatusEnum;
1724
- (function (GetLivestreamSessions200ResponseStatusEnum) {
1725
- GetLivestreamSessions200ResponseStatusEnum["Ok"] = "ok";
1726
- })(GetLivestreamSessions200ResponseStatusEnum || (GetLivestreamSessions200ResponseStatusEnum = {}));
1727
- export var GetLivestreams200ResponseStatusEnum;
1728
- (function (GetLivestreams200ResponseStatusEnum) {
1729
- GetLivestreams200ResponseStatusEnum["Ok"] = "ok";
1730
- })(GetLivestreams200ResponseStatusEnum || (GetLivestreams200ResponseStatusEnum = {}));
1731
1719
  export var GetLogin200ResponseStatusEnum;
1732
1720
  (function (GetLogin200ResponseStatusEnum) {
1733
1721
  GetLogin200ResponseStatusEnum["Ok"] = "ok";
@@ -2310,13 +2298,6 @@ export var LinkInputsMarksEnum;
2310
2298
  LinkInputsMarksEnum["Underline"] = "underline";
2311
2299
  LinkInputsMarksEnum["Strike"] = "strike";
2312
2300
  })(LinkInputsMarksEnum || (LinkInputsMarksEnum = {}));
2313
- export var LivestreamStatusEnum;
2314
- (function (LivestreamStatusEnum) {
2315
- LivestreamStatusEnum["Live"] = "LIVE";
2316
- LivestreamStatusEnum["Idle"] = "IDLE";
2317
- LivestreamStatusEnum["Errored"] = "ERRORED";
2318
- LivestreamStatusEnum["Invoked"] = "INVOKED";
2319
- })(LivestreamStatusEnum || (LivestreamStatusEnum = {}));
2320
2301
  export var LocationQuestionOption;
2321
2302
  (function (LocationQuestionOption) {
2322
2303
  LocationQuestionOption["Country"] = "country";
@@ -2367,7 +2348,6 @@ export var MeetingRecordingUpdateInputsActionEnum;
2367
2348
  export var MeetingSessionTypeEnum;
2368
2349
  (function (MeetingSessionTypeEnum) {
2369
2350
  MeetingSessionTypeEnum["Meeting"] = "meeting";
2370
- MeetingSessionTypeEnum["Livestream"] = "livestream";
2371
2351
  MeetingSessionTypeEnum["Participant"] = "participant";
2372
2352
  })(MeetingSessionTypeEnum || (MeetingSessionTypeEnum = {}));
2373
2353
  export var MeetingSessionStatusEnum;
@@ -2445,7 +2425,6 @@ export var MeetingType;
2445
2425
  (function (MeetingType) {
2446
2426
  MeetingType["GroupCall"] = "GROUP_CALL";
2447
2427
  MeetingType["Webinar"] = "WEBINAR";
2448
- MeetingType["Livestream"] = "LIVESTREAM";
2449
2428
  })(MeetingType || (MeetingType = {}));
2450
2429
  export var MeetingUpdateInputsPreferredRegionEnum;
2451
2430
  (function (MeetingUpdateInputsPreferredRegionEnum) {
@@ -86291,41 +86270,7 @@ export class LoginsAccountsApi extends BaseAPI {
86291
86270
  export const MeetingsApiAxiosParamCreator = function (configuration) {
86292
86271
  return {
86293
86272
  /**
86294
- * Creates and attaches a new livestream to the given meeting so it can be broadcast, requiring the \"create\" permission on meetings.
86295
- * @summary Add a livestream to a meeting
86296
- * @param {string} meetingId The meeting identifier
86297
- * @param {*} [options] Override http request option.
86298
- * @throws {RequiredError}
86299
- */
86300
- addMeetingLivestream: (meetingId_1, ...args_1) => __awaiter(this, [meetingId_1, ...args_1], void 0, function* (meetingId, options = {}) {
86301
- // verify required parameter 'meetingId' is not null or undefined
86302
- assertParamExists('addMeetingLivestream', 'meetingId', meetingId);
86303
- const localVarPath = `/meetings/{meetingId}/livestream`
86304
- .replace('{meetingId}', encodeURIComponent(String(meetingId)));
86305
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
86306
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
86307
- let baseOptions;
86308
- if (configuration) {
86309
- baseOptions = configuration.baseOptions;
86310
- }
86311
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
86312
- const localVarHeaderParameter = {};
86313
- const localVarQueryParameter = {};
86314
- // authentication ApiKeyAuth required
86315
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
86316
- // authentication OrganizationId required
86317
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
86318
- localVarHeaderParameter['Accept'] = 'application/json';
86319
- setSearchParams(localVarUrlObj, localVarQueryParameter);
86320
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
86321
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
86322
- return {
86323
- url: toPathString(localVarUrlObj),
86324
- options: localVarRequestOptions,
86325
- };
86326
- }),
86327
- /**
86328
- * 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.
86273
+ * 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.
86329
86274
  * @summary Create a meeting
86330
86275
  * @param {MeetingCreateInputs} meetingCreateInputs
86331
86276
  * @param {*} [options] Override http request option.
@@ -86393,40 +86338,6 @@ export const MeetingsApiAxiosParamCreator = function (configuration) {
86393
86338
  options: localVarRequestOptions,
86394
86339
  };
86395
86340
  }),
86396
- /**
86397
- * Returns the livestream configuration associated with the given meeting, requires the \"read\" permission on meetings.
86398
- * @summary Get a meeting\'s livestream
86399
- * @param {string} meetingId The meeting identifier
86400
- * @param {*} [options] Override http request option.
86401
- * @throws {RequiredError}
86402
- */
86403
- getMeetingLivestream: (meetingId_1, ...args_1) => __awaiter(this, [meetingId_1, ...args_1], void 0, function* (meetingId, options = {}) {
86404
- // verify required parameter 'meetingId' is not null or undefined
86405
- assertParamExists('getMeetingLivestream', 'meetingId', meetingId);
86406
- const localVarPath = `/meetings/{meetingId}/livestream`
86407
- .replace('{meetingId}', encodeURIComponent(String(meetingId)));
86408
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
86409
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
86410
- let baseOptions;
86411
- if (configuration) {
86412
- baseOptions = configuration.baseOptions;
86413
- }
86414
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
86415
- const localVarHeaderParameter = {};
86416
- const localVarQueryParameter = {};
86417
- // authentication ApiKeyAuth required
86418
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
86419
- // authentication OrganizationId required
86420
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
86421
- localVarHeaderParameter['Accept'] = 'application/json';
86422
- setSearchParams(localVarUrlObj, localVarQueryParameter);
86423
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
86424
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
86425
- return {
86426
- url: toPathString(localVarUrlObj),
86427
- options: localVarRequestOptions,
86428
- };
86429
- }),
86430
86341
  /**
86431
86342
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
86432
86343
  * @summary List meetings
@@ -86508,7 +86419,7 @@ export const MeetingsApiAxiosParamCreator = function (configuration) {
86508
86419
  };
86509
86420
  }),
86510
86421
  /**
86511
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
86422
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
86512
86423
  * @summary Update a meeting
86513
86424
  * @param {string} meetingId The meeting identifier
86514
86425
  * @param {MeetingUpdateInputs} meetingUpdateInputs
@@ -86555,23 +86466,7 @@ export const MeetingsApiFp = function (configuration) {
86555
86466
  const localVarAxiosParamCreator = MeetingsApiAxiosParamCreator(configuration);
86556
86467
  return {
86557
86468
  /**
86558
- * Creates and attaches a new livestream to the given meeting so it can be broadcast, requiring the \"create\" permission on meetings.
86559
- * @summary Add a livestream to a meeting
86560
- * @param {string} meetingId The meeting identifier
86561
- * @param {*} [options] Override http request option.
86562
- * @throws {RequiredError}
86563
- */
86564
- addMeetingLivestream(meetingId, options) {
86565
- return __awaiter(this, void 0, void 0, function* () {
86566
- var _a, _b, _c;
86567
- const localVarAxiosArgs = yield localVarAxiosParamCreator.addMeetingLivestream(meetingId, options);
86568
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
86569
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MeetingsApi.addMeetingLivestream']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
86570
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
86571
- });
86572
- },
86573
- /**
86574
- * 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.
86469
+ * 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.
86575
86470
  * @summary Create a meeting
86576
86471
  * @param {MeetingCreateInputs} meetingCreateInputs
86577
86472
  * @param {*} [options] Override http request option.
@@ -86602,22 +86497,6 @@ export const MeetingsApiFp = function (configuration) {
86602
86497
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
86603
86498
  });
86604
86499
  },
86605
- /**
86606
- * Returns the livestream configuration associated with the given meeting, requires the \"read\" permission on meetings.
86607
- * @summary Get a meeting\'s livestream
86608
- * @param {string} meetingId The meeting identifier
86609
- * @param {*} [options] Override http request option.
86610
- * @throws {RequiredError}
86611
- */
86612
- getMeetingLivestream(meetingId, options) {
86613
- return __awaiter(this, void 0, void 0, function* () {
86614
- var _a, _b, _c;
86615
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getMeetingLivestream(meetingId, options);
86616
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
86617
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MeetingsApi.getMeetingLivestream']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
86618
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
86619
- });
86620
- },
86621
86500
  /**
86622
86501
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
86623
86502
  * @summary List meetings
@@ -86654,7 +86533,7 @@ export const MeetingsApiFp = function (configuration) {
86654
86533
  });
86655
86534
  },
86656
86535
  /**
86657
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
86536
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
86658
86537
  * @summary Update a meeting
86659
86538
  * @param {string} meetingId The meeting identifier
86660
86539
  * @param {MeetingUpdateInputs} meetingUpdateInputs
@@ -86679,17 +86558,7 @@ export const MeetingsApiFactory = function (configuration, basePath, axios) {
86679
86558
  const localVarFp = MeetingsApiFp(configuration);
86680
86559
  return {
86681
86560
  /**
86682
- * Creates and attaches a new livestream to the given meeting so it can be broadcast, requiring the \"create\" permission on meetings.
86683
- * @summary Add a livestream to a meeting
86684
- * @param {MeetingsApiAddMeetingLivestreamRequest} requestParameters Request parameters.
86685
- * @param {*} [options] Override http request option.
86686
- * @throws {RequiredError}
86687
- */
86688
- addMeetingLivestream(requestParameters, options) {
86689
- return localVarFp.addMeetingLivestream(requestParameters.meetingId, options).then((request) => request(axios, basePath));
86690
- },
86691
- /**
86692
- * 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.
86561
+ * 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.
86693
86562
  * @summary Create a meeting
86694
86563
  * @param {MeetingsApiCreateMeetingRequest} requestParameters Request parameters.
86695
86564
  * @param {*} [options] Override http request option.
@@ -86708,16 +86577,6 @@ export const MeetingsApiFactory = function (configuration, basePath, axios) {
86708
86577
  getMeeting(requestParameters, options) {
86709
86578
  return localVarFp.getMeeting(requestParameters.meetingId, options).then((request) => request(axios, basePath));
86710
86579
  },
86711
- /**
86712
- * Returns the livestream configuration associated with the given meeting, requires the \"read\" permission on meetings.
86713
- * @summary Get a meeting\'s livestream
86714
- * @param {MeetingsApiGetMeetingLivestreamRequest} requestParameters Request parameters.
86715
- * @param {*} [options] Override http request option.
86716
- * @throws {RequiredError}
86717
- */
86718
- getMeetingLivestream(requestParameters, options) {
86719
- return localVarFp.getMeetingLivestream(requestParameters.meetingId, options).then((request) => request(axios, basePath));
86720
- },
86721
86580
  /**
86722
86581
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
86723
86582
  * @summary List meetings
@@ -86739,7 +86598,7 @@ export const MeetingsApiFactory = function (configuration, basePath, axios) {
86739
86598
  return localVarFp.joinMeeting(requestParameters.meetingId, options).then((request) => request(axios, basePath));
86740
86599
  },
86741
86600
  /**
86742
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
86601
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
86743
86602
  * @summary Update a meeting
86744
86603
  * @param {MeetingsApiUpdateMeetingRequest} requestParameters Request parameters.
86745
86604
  * @param {*} [options] Override http request option.
@@ -86755,17 +86614,7 @@ export const MeetingsApiFactory = function (configuration, basePath, axios) {
86755
86614
  */
86756
86615
  export class MeetingsApi extends BaseAPI {
86757
86616
  /**
86758
- * Creates and attaches a new livestream to the given meeting so it can be broadcast, requiring the \"create\" permission on meetings.
86759
- * @summary Add a livestream to a meeting
86760
- * @param {MeetingsApiAddMeetingLivestreamRequest} requestParameters Request parameters.
86761
- * @param {*} [options] Override http request option.
86762
- * @throws {RequiredError}
86763
- */
86764
- addMeetingLivestream(requestParameters, options) {
86765
- return MeetingsApiFp(this.configuration).addMeetingLivestream(requestParameters.meetingId, options).then((request) => request(this.axios, this.basePath));
86766
- }
86767
- /**
86768
- * 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.
86617
+ * 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.
86769
86618
  * @summary Create a meeting
86770
86619
  * @param {MeetingsApiCreateMeetingRequest} requestParameters Request parameters.
86771
86620
  * @param {*} [options] Override http request option.
@@ -86784,16 +86633,6 @@ export class MeetingsApi extends BaseAPI {
86784
86633
  getMeeting(requestParameters, options) {
86785
86634
  return MeetingsApiFp(this.configuration).getMeeting(requestParameters.meetingId, options).then((request) => request(this.axios, this.basePath));
86786
86635
  }
86787
- /**
86788
- * Returns the livestream configuration associated with the given meeting, requires the \"read\" permission on meetings.
86789
- * @summary Get a meeting\'s livestream
86790
- * @param {MeetingsApiGetMeetingLivestreamRequest} requestParameters Request parameters.
86791
- * @param {*} [options] Override http request option.
86792
- * @throws {RequiredError}
86793
- */
86794
- getMeetingLivestream(requestParameters, options) {
86795
- return MeetingsApiFp(this.configuration).getMeetingLivestream(requestParameters.meetingId, options).then((request) => request(this.axios, this.basePath));
86796
- }
86797
86636
  /**
86798
86637
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
86799
86638
  * @summary List meetings
@@ -86815,7 +86654,7 @@ export class MeetingsApi extends BaseAPI {
86815
86654
  return MeetingsApiFp(this.configuration).joinMeeting(requestParameters.meetingId, options).then((request) => request(this.axios, this.basePath));
86816
86655
  }
86817
86656
  /**
86818
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
86657
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
86819
86658
  * @summary Update a meeting
86820
86659
  * @param {MeetingsApiUpdateMeetingRequest} requestParameters Request parameters.
86821
86660
  * @param {*} [options] Override http request option.
@@ -87250,489 +87089,6 @@ export class MeetingsLinksApi extends BaseAPI {
87250
87089
  return MeetingsLinksApiFp(this.configuration).updateMeetingLink(requestParameters.meetingId, requestParameters.linkId, requestParameters.meetingLinkUpdateInputs, options).then((request) => request(this.axios, this.basePath));
87251
87090
  }
87252
87091
  }
87253
- /**
87254
- * MeetingsLivestreamsApi - axios parameter creator
87255
- */
87256
- export const MeetingsLivestreamsApiAxiosParamCreator = function (configuration) {
87257
- return {
87258
- /**
87259
- * Disables the livestream identified by livestreamId so it can no longer ingest or broadcast, requiring both read and create permissions on meetings.
87260
- * @summary Disable a livestream
87261
- * @param {string} livestreamId The livestream identifier
87262
- * @param {*} [options] Override http request option.
87263
- * @throws {RequiredError}
87264
- */
87265
- disableLivestream: (livestreamId_1, ...args_1) => __awaiter(this, [livestreamId_1, ...args_1], void 0, function* (livestreamId, options = {}) {
87266
- // verify required parameter 'livestreamId' is not null or undefined
87267
- assertParamExists('disableLivestream', 'livestreamId', livestreamId);
87268
- const localVarPath = `/meetings/livestreams/{livestreamId}/disable`
87269
- .replace('{livestreamId}', encodeURIComponent(String(livestreamId)));
87270
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
87271
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87272
- let baseOptions;
87273
- if (configuration) {
87274
- baseOptions = configuration.baseOptions;
87275
- }
87276
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
87277
- const localVarHeaderParameter = {};
87278
- const localVarQueryParameter = {};
87279
- // authentication ApiKeyAuth required
87280
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
87281
- // authentication OrganizationId required
87282
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
87283
- localVarHeaderParameter['Accept'] = 'application/json';
87284
- setSearchParams(localVarUrlObj, localVarQueryParameter);
87285
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
87286
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
87287
- return {
87288
- url: toPathString(localVarUrlObj),
87289
- options: localVarRequestOptions,
87290
- };
87291
- }),
87292
- /**
87293
- * Enables the livestream identified by livestreamId so it can begin ingesting and broadcasting, requiring both read and create permissions on meetings.
87294
- * @summary Enable a livestream
87295
- * @param {string} livestreamId The livestream identifier
87296
- * @param {*} [options] Override http request option.
87297
- * @throws {RequiredError}
87298
- */
87299
- enableLivestream: (livestreamId_1, ...args_1) => __awaiter(this, [livestreamId_1, ...args_1], void 0, function* (livestreamId, options = {}) {
87300
- // verify required parameter 'livestreamId' is not null or undefined
87301
- assertParamExists('enableLivestream', 'livestreamId', livestreamId);
87302
- const localVarPath = `/meetings/livestreams/{livestreamId}/enable`
87303
- .replace('{livestreamId}', encodeURIComponent(String(livestreamId)));
87304
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
87305
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87306
- let baseOptions;
87307
- if (configuration) {
87308
- baseOptions = configuration.baseOptions;
87309
- }
87310
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
87311
- const localVarHeaderParameter = {};
87312
- const localVarQueryParameter = {};
87313
- // authentication ApiKeyAuth required
87314
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
87315
- // authentication OrganizationId required
87316
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
87317
- localVarHeaderParameter['Accept'] = 'application/json';
87318
- setSearchParams(localVarUrlObj, localVarQueryParameter);
87319
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
87320
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
87321
- return {
87322
- url: toPathString(localVarUrlObj),
87323
- options: localVarRequestOptions,
87324
- };
87325
- }),
87326
- /**
87327
- * Returns details for a single livestream by ID, including its Cloudflare RealtimeKit status and stream key; requires \"read\" permission on meetings.
87328
- * @summary Get a livestream
87329
- * @param {string} livestreamId The livestream identifier
87330
- * @param {*} [options] Override http request option.
87331
- * @throws {RequiredError}
87332
- */
87333
- getLivestream: (livestreamId_1, ...args_1) => __awaiter(this, [livestreamId_1, ...args_1], void 0, function* (livestreamId, options = {}) {
87334
- // verify required parameter 'livestreamId' is not null or undefined
87335
- assertParamExists('getLivestream', 'livestreamId', livestreamId);
87336
- const localVarPath = `/meetings/livestreams/{livestreamId}`
87337
- .replace('{livestreamId}', encodeURIComponent(String(livestreamId)));
87338
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
87339
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87340
- let baseOptions;
87341
- if (configuration) {
87342
- baseOptions = configuration.baseOptions;
87343
- }
87344
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
87345
- const localVarHeaderParameter = {};
87346
- const localVarQueryParameter = {};
87347
- // authentication ApiKeyAuth required
87348
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
87349
- // authentication OrganizationId required
87350
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
87351
- localVarHeaderParameter['Accept'] = 'application/json';
87352
- setSearchParams(localVarUrlObj, localVarQueryParameter);
87353
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
87354
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
87355
- return {
87356
- url: toPathString(localVarUrlObj),
87357
- options: localVarRequestOptions,
87358
- };
87359
- }),
87360
- /**
87361
- * Returns a paginated list of sessions that occurred on the given livestream, supporting page and pageSize parameters; requires \"read\" permission on meetings.
87362
- * @summary List a livestream\'s sessions
87363
- * @param {string} livestreamId The livestream identifier
87364
- * @param {number} [page] Page number
87365
- * @param {number} [pageSize] Number of items per page
87366
- * @param {string} [orderBy] Field to order by
87367
- * @param {string} [search] Search query
87368
- * @param {*} [options] Override http request option.
87369
- * @throws {RequiredError}
87370
- */
87371
- getLivestreamSessions: (livestreamId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [livestreamId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (livestreamId, page, pageSize, orderBy, search, options = {}) {
87372
- // verify required parameter 'livestreamId' is not null or undefined
87373
- assertParamExists('getLivestreamSessions', 'livestreamId', livestreamId);
87374
- const localVarPath = `/meetings/livestreams/{livestreamId}/sessions`
87375
- .replace('{livestreamId}', encodeURIComponent(String(livestreamId)));
87376
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
87377
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87378
- let baseOptions;
87379
- if (configuration) {
87380
- baseOptions = configuration.baseOptions;
87381
- }
87382
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
87383
- const localVarHeaderParameter = {};
87384
- const localVarQueryParameter = {};
87385
- // authentication ApiKeyAuth required
87386
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
87387
- // authentication OrganizationId required
87388
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
87389
- if (page !== undefined) {
87390
- localVarQueryParameter['page'] = page;
87391
- }
87392
- if (pageSize !== undefined) {
87393
- localVarQueryParameter['pageSize'] = pageSize;
87394
- }
87395
- if (orderBy !== undefined) {
87396
- localVarQueryParameter['orderBy'] = orderBy;
87397
- }
87398
- if (search !== undefined) {
87399
- localVarQueryParameter['search'] = search;
87400
- }
87401
- localVarHeaderParameter['Accept'] = 'application/json';
87402
- setSearchParams(localVarUrlObj, localVarQueryParameter);
87403
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
87404
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
87405
- return {
87406
- url: toPathString(localVarUrlObj),
87407
- options: localVarRequestOptions,
87408
- };
87409
- }),
87410
- /**
87411
- * Returns a paginated list of livestreams for the organization\'s meetings app, supporting page, pageSize, orderBy, and search parameters; requires \"read\" permission on meetings.
87412
- * @summary List livestreams
87413
- * @param {number} [page] Page number
87414
- * @param {number} [pageSize] Number of items per page
87415
- * @param {string} [orderBy] Field to order by
87416
- * @param {string} [search] Search query
87417
- * @param {*} [options] Override http request option.
87418
- * @throws {RequiredError}
87419
- */
87420
- getLivestreams: (page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (page, pageSize, orderBy, search, options = {}) {
87421
- const localVarPath = `/meetings/livestreams`;
87422
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
87423
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87424
- let baseOptions;
87425
- if (configuration) {
87426
- baseOptions = configuration.baseOptions;
87427
- }
87428
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
87429
- const localVarHeaderParameter = {};
87430
- const localVarQueryParameter = {};
87431
- // authentication ApiKeyAuth required
87432
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
87433
- // authentication OrganizationId required
87434
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
87435
- if (page !== undefined) {
87436
- localVarQueryParameter['page'] = page;
87437
- }
87438
- if (pageSize !== undefined) {
87439
- localVarQueryParameter['pageSize'] = pageSize;
87440
- }
87441
- if (orderBy !== undefined) {
87442
- localVarQueryParameter['orderBy'] = orderBy;
87443
- }
87444
- if (search !== undefined) {
87445
- localVarQueryParameter['search'] = search;
87446
- }
87447
- localVarHeaderParameter['Accept'] = 'application/json';
87448
- setSearchParams(localVarUrlObj, localVarQueryParameter);
87449
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
87450
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
87451
- return {
87452
- url: toPathString(localVarUrlObj),
87453
- options: localVarRequestOptions,
87454
- };
87455
- }),
87456
- /**
87457
- * Rotates the ingest stream key for the livestream identified by livestreamId, invalidating the previous key, and requires both read and create permissions on meetings.
87458
- * @summary Reset a livestream\'s stream key
87459
- * @param {string} livestreamId The livestream identifier
87460
- * @param {*} [options] Override http request option.
87461
- * @throws {RequiredError}
87462
- */
87463
- resetLivestreamStreamKey: (livestreamId_1, ...args_1) => __awaiter(this, [livestreamId_1, ...args_1], void 0, function* (livestreamId, options = {}) {
87464
- // verify required parameter 'livestreamId' is not null or undefined
87465
- assertParamExists('resetLivestreamStreamKey', 'livestreamId', livestreamId);
87466
- const localVarPath = `/meetings/livestreams/{livestreamId}/reset-stream-key`
87467
- .replace('{livestreamId}', encodeURIComponent(String(livestreamId)));
87468
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
87469
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
87470
- let baseOptions;
87471
- if (configuration) {
87472
- baseOptions = configuration.baseOptions;
87473
- }
87474
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
87475
- const localVarHeaderParameter = {};
87476
- const localVarQueryParameter = {};
87477
- // authentication ApiKeyAuth required
87478
- yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
87479
- // authentication OrganizationId required
87480
- yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
87481
- localVarHeaderParameter['Accept'] = 'application/json';
87482
- setSearchParams(localVarUrlObj, localVarQueryParameter);
87483
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
87484
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
87485
- return {
87486
- url: toPathString(localVarUrlObj),
87487
- options: localVarRequestOptions,
87488
- };
87489
- }),
87490
- };
87491
- };
87492
- /**
87493
- * MeetingsLivestreamsApi - functional programming interface
87494
- */
87495
- export const MeetingsLivestreamsApiFp = function (configuration) {
87496
- const localVarAxiosParamCreator = MeetingsLivestreamsApiAxiosParamCreator(configuration);
87497
- return {
87498
- /**
87499
- * Disables the livestream identified by livestreamId so it can no longer ingest or broadcast, requiring both read and create permissions on meetings.
87500
- * @summary Disable a livestream
87501
- * @param {string} livestreamId The livestream identifier
87502
- * @param {*} [options] Override http request option.
87503
- * @throws {RequiredError}
87504
- */
87505
- disableLivestream(livestreamId, options) {
87506
- return __awaiter(this, void 0, void 0, function* () {
87507
- var _a, _b, _c;
87508
- const localVarAxiosArgs = yield localVarAxiosParamCreator.disableLivestream(livestreamId, options);
87509
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
87510
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MeetingsLivestreamsApi.disableLivestream']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
87511
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
87512
- });
87513
- },
87514
- /**
87515
- * Enables the livestream identified by livestreamId so it can begin ingesting and broadcasting, requiring both read and create permissions on meetings.
87516
- * @summary Enable a livestream
87517
- * @param {string} livestreamId The livestream identifier
87518
- * @param {*} [options] Override http request option.
87519
- * @throws {RequiredError}
87520
- */
87521
- enableLivestream(livestreamId, options) {
87522
- return __awaiter(this, void 0, void 0, function* () {
87523
- var _a, _b, _c;
87524
- const localVarAxiosArgs = yield localVarAxiosParamCreator.enableLivestream(livestreamId, options);
87525
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
87526
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MeetingsLivestreamsApi.enableLivestream']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
87527
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
87528
- });
87529
- },
87530
- /**
87531
- * Returns details for a single livestream by ID, including its Cloudflare RealtimeKit status and stream key; requires \"read\" permission on meetings.
87532
- * @summary Get a livestream
87533
- * @param {string} livestreamId The livestream identifier
87534
- * @param {*} [options] Override http request option.
87535
- * @throws {RequiredError}
87536
- */
87537
- getLivestream(livestreamId, options) {
87538
- return __awaiter(this, void 0, void 0, function* () {
87539
- var _a, _b, _c;
87540
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getLivestream(livestreamId, options);
87541
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
87542
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MeetingsLivestreamsApi.getLivestream']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
87543
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
87544
- });
87545
- },
87546
- /**
87547
- * Returns a paginated list of sessions that occurred on the given livestream, supporting page and pageSize parameters; requires \"read\" permission on meetings.
87548
- * @summary List a livestream\'s sessions
87549
- * @param {string} livestreamId The livestream identifier
87550
- * @param {number} [page] Page number
87551
- * @param {number} [pageSize] Number of items per page
87552
- * @param {string} [orderBy] Field to order by
87553
- * @param {string} [search] Search query
87554
- * @param {*} [options] Override http request option.
87555
- * @throws {RequiredError}
87556
- */
87557
- getLivestreamSessions(livestreamId, page, pageSize, orderBy, search, options) {
87558
- return __awaiter(this, void 0, void 0, function* () {
87559
- var _a, _b, _c;
87560
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getLivestreamSessions(livestreamId, page, pageSize, orderBy, search, options);
87561
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
87562
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MeetingsLivestreamsApi.getLivestreamSessions']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
87563
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
87564
- });
87565
- },
87566
- /**
87567
- * Returns a paginated list of livestreams for the organization\'s meetings app, supporting page, pageSize, orderBy, and search parameters; requires \"read\" permission on meetings.
87568
- * @summary List livestreams
87569
- * @param {number} [page] Page number
87570
- * @param {number} [pageSize] Number of items per page
87571
- * @param {string} [orderBy] Field to order by
87572
- * @param {string} [search] Search query
87573
- * @param {*} [options] Override http request option.
87574
- * @throws {RequiredError}
87575
- */
87576
- getLivestreams(page, pageSize, orderBy, search, options) {
87577
- return __awaiter(this, void 0, void 0, function* () {
87578
- var _a, _b, _c;
87579
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getLivestreams(page, pageSize, orderBy, search, options);
87580
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
87581
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MeetingsLivestreamsApi.getLivestreams']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
87582
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
87583
- });
87584
- },
87585
- /**
87586
- * Rotates the ingest stream key for the livestream identified by livestreamId, invalidating the previous key, and requires both read and create permissions on meetings.
87587
- * @summary Reset a livestream\'s stream key
87588
- * @param {string} livestreamId The livestream identifier
87589
- * @param {*} [options] Override http request option.
87590
- * @throws {RequiredError}
87591
- */
87592
- resetLivestreamStreamKey(livestreamId, options) {
87593
- return __awaiter(this, void 0, void 0, function* () {
87594
- var _a, _b, _c;
87595
- const localVarAxiosArgs = yield localVarAxiosParamCreator.resetLivestreamStreamKey(livestreamId, options);
87596
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
87597
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['MeetingsLivestreamsApi.resetLivestreamStreamKey']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
87598
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
87599
- });
87600
- },
87601
- };
87602
- };
87603
- /**
87604
- * MeetingsLivestreamsApi - factory interface
87605
- */
87606
- export const MeetingsLivestreamsApiFactory = function (configuration, basePath, axios) {
87607
- const localVarFp = MeetingsLivestreamsApiFp(configuration);
87608
- return {
87609
- /**
87610
- * Disables the livestream identified by livestreamId so it can no longer ingest or broadcast, requiring both read and create permissions on meetings.
87611
- * @summary Disable a livestream
87612
- * @param {MeetingsLivestreamsApiDisableLivestreamRequest} requestParameters Request parameters.
87613
- * @param {*} [options] Override http request option.
87614
- * @throws {RequiredError}
87615
- */
87616
- disableLivestream(requestParameters, options) {
87617
- return localVarFp.disableLivestream(requestParameters.livestreamId, options).then((request) => request(axios, basePath));
87618
- },
87619
- /**
87620
- * Enables the livestream identified by livestreamId so it can begin ingesting and broadcasting, requiring both read and create permissions on meetings.
87621
- * @summary Enable a livestream
87622
- * @param {MeetingsLivestreamsApiEnableLivestreamRequest} requestParameters Request parameters.
87623
- * @param {*} [options] Override http request option.
87624
- * @throws {RequiredError}
87625
- */
87626
- enableLivestream(requestParameters, options) {
87627
- return localVarFp.enableLivestream(requestParameters.livestreamId, options).then((request) => request(axios, basePath));
87628
- },
87629
- /**
87630
- * Returns details for a single livestream by ID, including its Cloudflare RealtimeKit status and stream key; requires \"read\" permission on meetings.
87631
- * @summary Get a livestream
87632
- * @param {MeetingsLivestreamsApiGetLivestreamRequest} requestParameters Request parameters.
87633
- * @param {*} [options] Override http request option.
87634
- * @throws {RequiredError}
87635
- */
87636
- getLivestream(requestParameters, options) {
87637
- return localVarFp.getLivestream(requestParameters.livestreamId, options).then((request) => request(axios, basePath));
87638
- },
87639
- /**
87640
- * Returns a paginated list of sessions that occurred on the given livestream, supporting page and pageSize parameters; requires \"read\" permission on meetings.
87641
- * @summary List a livestream\'s sessions
87642
- * @param {MeetingsLivestreamsApiGetLivestreamSessionsRequest} requestParameters Request parameters.
87643
- * @param {*} [options] Override http request option.
87644
- * @throws {RequiredError}
87645
- */
87646
- getLivestreamSessions(requestParameters, options) {
87647
- return localVarFp.getLivestreamSessions(requestParameters.livestreamId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
87648
- },
87649
- /**
87650
- * Returns a paginated list of livestreams for the organization\'s meetings app, supporting page, pageSize, orderBy, and search parameters; requires \"read\" permission on meetings.
87651
- * @summary List livestreams
87652
- * @param {MeetingsLivestreamsApiGetLivestreamsRequest} requestParameters Request parameters.
87653
- * @param {*} [options] Override http request option.
87654
- * @throws {RequiredError}
87655
- */
87656
- getLivestreams(requestParameters = {}, options) {
87657
- return localVarFp.getLivestreams(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
87658
- },
87659
- /**
87660
- * Rotates the ingest stream key for the livestream identified by livestreamId, invalidating the previous key, and requires both read and create permissions on meetings.
87661
- * @summary Reset a livestream\'s stream key
87662
- * @param {MeetingsLivestreamsApiResetLivestreamStreamKeyRequest} requestParameters Request parameters.
87663
- * @param {*} [options] Override http request option.
87664
- * @throws {RequiredError}
87665
- */
87666
- resetLivestreamStreamKey(requestParameters, options) {
87667
- return localVarFp.resetLivestreamStreamKey(requestParameters.livestreamId, options).then((request) => request(axios, basePath));
87668
- },
87669
- };
87670
- };
87671
- /**
87672
- * MeetingsLivestreamsApi - object-oriented interface
87673
- */
87674
- export class MeetingsLivestreamsApi extends BaseAPI {
87675
- /**
87676
- * Disables the livestream identified by livestreamId so it can no longer ingest or broadcast, requiring both read and create permissions on meetings.
87677
- * @summary Disable a livestream
87678
- * @param {MeetingsLivestreamsApiDisableLivestreamRequest} requestParameters Request parameters.
87679
- * @param {*} [options] Override http request option.
87680
- * @throws {RequiredError}
87681
- */
87682
- disableLivestream(requestParameters, options) {
87683
- return MeetingsLivestreamsApiFp(this.configuration).disableLivestream(requestParameters.livestreamId, options).then((request) => request(this.axios, this.basePath));
87684
- }
87685
- /**
87686
- * Enables the livestream identified by livestreamId so it can begin ingesting and broadcasting, requiring both read and create permissions on meetings.
87687
- * @summary Enable a livestream
87688
- * @param {MeetingsLivestreamsApiEnableLivestreamRequest} requestParameters Request parameters.
87689
- * @param {*} [options] Override http request option.
87690
- * @throws {RequiredError}
87691
- */
87692
- enableLivestream(requestParameters, options) {
87693
- return MeetingsLivestreamsApiFp(this.configuration).enableLivestream(requestParameters.livestreamId, options).then((request) => request(this.axios, this.basePath));
87694
- }
87695
- /**
87696
- * Returns details for a single livestream by ID, including its Cloudflare RealtimeKit status and stream key; requires \"read\" permission on meetings.
87697
- * @summary Get a livestream
87698
- * @param {MeetingsLivestreamsApiGetLivestreamRequest} requestParameters Request parameters.
87699
- * @param {*} [options] Override http request option.
87700
- * @throws {RequiredError}
87701
- */
87702
- getLivestream(requestParameters, options) {
87703
- return MeetingsLivestreamsApiFp(this.configuration).getLivestream(requestParameters.livestreamId, options).then((request) => request(this.axios, this.basePath));
87704
- }
87705
- /**
87706
- * Returns a paginated list of sessions that occurred on the given livestream, supporting page and pageSize parameters; requires \"read\" permission on meetings.
87707
- * @summary List a livestream\'s sessions
87708
- * @param {MeetingsLivestreamsApiGetLivestreamSessionsRequest} requestParameters Request parameters.
87709
- * @param {*} [options] Override http request option.
87710
- * @throws {RequiredError}
87711
- */
87712
- getLivestreamSessions(requestParameters, options) {
87713
- return MeetingsLivestreamsApiFp(this.configuration).getLivestreamSessions(requestParameters.livestreamId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
87714
- }
87715
- /**
87716
- * Returns a paginated list of livestreams for the organization\'s meetings app, supporting page, pageSize, orderBy, and search parameters; requires \"read\" permission on meetings.
87717
- * @summary List livestreams
87718
- * @param {MeetingsLivestreamsApiGetLivestreamsRequest} requestParameters Request parameters.
87719
- * @param {*} [options] Override http request option.
87720
- * @throws {RequiredError}
87721
- */
87722
- getLivestreams(requestParameters = {}, options) {
87723
- return MeetingsLivestreamsApiFp(this.configuration).getLivestreams(requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
87724
- }
87725
- /**
87726
- * Rotates the ingest stream key for the livestream identified by livestreamId, invalidating the previous key, and requires both read and create permissions on meetings.
87727
- * @summary Reset a livestream\'s stream key
87728
- * @param {MeetingsLivestreamsApiResetLivestreamStreamKeyRequest} requestParameters Request parameters.
87729
- * @param {*} [options] Override http request option.
87730
- * @throws {RequiredError}
87731
- */
87732
- resetLivestreamStreamKey(requestParameters, options) {
87733
- return MeetingsLivestreamsApiFp(this.configuration).resetLivestreamStreamKey(requestParameters.livestreamId, options).then((request) => request(this.axios, this.basePath));
87734
- }
87735
- }
87736
87092
  /**
87737
87093
  * MeetingsParticipantsApi - axios parameter creator
87738
87094
  */
@@ -93479,7 +92835,7 @@ export class OrganizationModulesCustomTranslationsApi extends BaseAPI {
93479
92835
  export const OrganizationModulesSettingsApiAxiosParamCreator = function (configuration) {
93480
92836
  return {
93481
92837
  /**
93482
- * 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.
92838
+ * 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.
93483
92839
  * @summary Get an organization\'s module settings
93484
92840
  * @param {*} [options] Override http request option.
93485
92841
  * @throws {RequiredError}
@@ -93552,7 +92908,7 @@ export const OrganizationModulesSettingsApiFp = function (configuration) {
93552
92908
  const localVarAxiosParamCreator = OrganizationModulesSettingsApiAxiosParamCreator(configuration);
93553
92909
  return {
93554
92910
  /**
93555
- * 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.
92911
+ * 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.
93556
92912
  * @summary Get an organization\'s module settings
93557
92913
  * @param {*} [options] Override http request option.
93558
92914
  * @throws {RequiredError}
@@ -93591,7 +92947,7 @@ export const OrganizationModulesSettingsApiFactory = function (configuration, ba
93591
92947
  const localVarFp = OrganizationModulesSettingsApiFp(configuration);
93592
92948
  return {
93593
92949
  /**
93594
- * 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.
92950
+ * 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.
93595
92951
  * @summary Get an organization\'s module settings
93596
92952
  * @param {*} [options] Override http request option.
93597
92953
  * @throws {RequiredError}
@@ -93616,7 +92972,7 @@ export const OrganizationModulesSettingsApiFactory = function (configuration, ba
93616
92972
  */
93617
92973
  export class OrganizationModulesSettingsApi extends BaseAPI {
93618
92974
  /**
93619
- * 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.
92975
+ * 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.
93620
92976
  * @summary Get an organization\'s module settings
93621
92977
  * @param {*} [options] Override http request option.
93622
92978
  * @throws {RequiredError}
@@ -107995,12 +107351,11 @@ export const StreamsApiAxiosParamCreator = function (configuration) {
107995
107351
  };
107996
107352
  }),
107997
107353
  /**
107998
- * 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.
107354
+ * 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.
107999
107355
  * @summary List an organization\'s stream inputs
108000
107356
  * @param {string} [eventId] Filter by eventId
108001
107357
  * @param {string} [sessionId] Filter by sessionId
108002
107358
  * @param {string} [groupId] Filter by groupId
108003
- * @param {string} [meetingId] Filter by meetingId
108004
107359
  * @param {boolean} [connected] Filter by connected
108005
107360
  * @param {boolean} [attached] Filter by attached
108006
107361
  * @param {number} [page] Page number
@@ -108010,7 +107365,7 @@ export const StreamsApiAxiosParamCreator = function (configuration) {
108010
107365
  * @param {*} [options] Override http request option.
108011
107366
  * @throws {RequiredError}
108012
107367
  */
108013
- getStreamInputs: (eventId_1, sessionId_1, groupId_1, meetingId_1, connected_1, attached_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, groupId_1, meetingId_1, connected_1, attached_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, sessionId, groupId, meetingId, connected, attached, page, pageSize, orderBy, search, options = {}) {
107368
+ getStreamInputs: (eventId_1, sessionId_1, groupId_1, connected_1, attached_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, groupId_1, connected_1, attached_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, sessionId, groupId, connected, attached, page, pageSize, orderBy, search, options = {}) {
108014
107369
  const localVarPath = `/streams`;
108015
107370
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
108016
107371
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -108034,9 +107389,6 @@ export const StreamsApiAxiosParamCreator = function (configuration) {
108034
107389
  if (groupId !== undefined) {
108035
107390
  localVarQueryParameter['groupId'] = groupId;
108036
107391
  }
108037
- if (meetingId !== undefined) {
108038
- localVarQueryParameter['meetingId'] = meetingId;
108039
- }
108040
107392
  if (connected !== undefined) {
108041
107393
  localVarQueryParameter['connected'] = connected;
108042
107394
  }
@@ -108249,12 +107601,11 @@ export const StreamsApiFp = function (configuration) {
108249
107601
  });
108250
107602
  },
108251
107603
  /**
108252
- * 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.
107604
+ * 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.
108253
107605
  * @summary List an organization\'s stream inputs
108254
107606
  * @param {string} [eventId] Filter by eventId
108255
107607
  * @param {string} [sessionId] Filter by sessionId
108256
107608
  * @param {string} [groupId] Filter by groupId
108257
- * @param {string} [meetingId] Filter by meetingId
108258
107609
  * @param {boolean} [connected] Filter by connected
108259
107610
  * @param {boolean} [attached] Filter by attached
108260
107611
  * @param {number} [page] Page number
@@ -108264,10 +107615,10 @@ export const StreamsApiFp = function (configuration) {
108264
107615
  * @param {*} [options] Override http request option.
108265
107616
  * @throws {RequiredError}
108266
107617
  */
108267
- getStreamInputs(eventId, sessionId, groupId, meetingId, connected, attached, page, pageSize, orderBy, search, options) {
107618
+ getStreamInputs(eventId, sessionId, groupId, connected, attached, page, pageSize, orderBy, search, options) {
108268
107619
  return __awaiter(this, void 0, void 0, function* () {
108269
107620
  var _a, _b, _c;
108270
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getStreamInputs(eventId, sessionId, groupId, meetingId, connected, attached, page, pageSize, orderBy, search, options);
107621
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getStreamInputs(eventId, sessionId, groupId, connected, attached, page, pageSize, orderBy, search, options);
108271
107622
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
108272
107623
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsApi.getStreamInputs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
108273
107624
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -108366,14 +107717,14 @@ export const StreamsApiFactory = function (configuration, basePath, axios) {
108366
107717
  return localVarFp.getStreamInput(requestParameters.streamId, options).then((request) => request(axios, basePath));
108367
107718
  },
108368
107719
  /**
108369
- * 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.
107720
+ * 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.
108370
107721
  * @summary List an organization\'s stream inputs
108371
107722
  * @param {StreamsApiGetStreamInputsRequest} requestParameters Request parameters.
108372
107723
  * @param {*} [options] Override http request option.
108373
107724
  * @throws {RequiredError}
108374
107725
  */
108375
107726
  getStreamInputs(requestParameters = {}, options) {
108376
- 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));
107727
+ 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));
108377
107728
  },
108378
107729
  /**
108379
107730
  * 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.
@@ -108442,14 +107793,14 @@ export class StreamsApi extends BaseAPI {
108442
107793
  return StreamsApiFp(this.configuration).getStreamInput(requestParameters.streamId, options).then((request) => request(this.axios, this.basePath));
108443
107794
  }
108444
107795
  /**
108445
- * 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.
107796
+ * 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.
108446
107797
  * @summary List an organization\'s stream inputs
108447
107798
  * @param {StreamsApiGetStreamInputsRequest} requestParameters Request parameters.
108448
107799
  * @param {*} [options] Override http request option.
108449
107800
  * @throws {RequiredError}
108450
107801
  */
108451
107802
  getStreamInputs(requestParameters = {}, options) {
108452
- 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));
107803
+ 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));
108453
107804
  }
108454
107805
  /**
108455
107806
  * 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.