@connectedxm/admin-sdk 16.16.3 → 17.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/.openapi-generator/FILES +1 -6
  2. package/AdminApi.ts +0 -3
  3. package/README.md +2 -2
  4. package/api.ts +91 -951
  5. package/base.ts +1 -1
  6. package/common.ts +1 -1
  7. package/configuration.ts +1 -1
  8. package/dist/AdminApi.d.ts +1 -2
  9. package/dist/AdminApi.js +0 -1
  10. package/dist/api.d.ts +25 -482
  11. package/dist/api.js +51 -697
  12. package/dist/base.d.ts +1 -1
  13. package/dist/base.js +1 -1
  14. package/dist/common.d.ts +1 -1
  15. package/dist/common.js +1 -1
  16. package/dist/configuration.d.ts +1 -1
  17. package/dist/configuration.js +1 -1
  18. package/dist/esm/AdminApi.d.ts +1 -2
  19. package/dist/esm/AdminApi.js +1 -2
  20. package/dist/esm/api.d.ts +25 -482
  21. package/dist/esm/api.js +27 -669
  22. package/dist/esm/base.d.ts +1 -1
  23. package/dist/esm/base.js +1 -1
  24. package/dist/esm/common.d.ts +1 -1
  25. package/dist/esm/common.js +1 -1
  26. package/dist/esm/configuration.d.ts +1 -1
  27. package/dist/esm/configuration.js +1 -1
  28. package/docs/MeetingCreatableType.md +10 -0
  29. package/docs/MeetingCreateInputs.md +1 -3
  30. package/docs/MeetingUpdateInputs.md +1 -3
  31. package/docs/MeetingsApi.md +2 -106
  32. package/docs/OrganizationModuleSettings.md +0 -4
  33. package/docs/OrganizationModuleSettingsUpdateInputs.md +0 -4
  34. package/docs/OrganizationModulesSettingsApi.md +1 -1
  35. package/docs/StreamInput.md +0 -4
  36. package/docs/StreamInputCreateInputs.md +0 -2
  37. package/docs/StreamInputUpdateInputs.md +0 -2
  38. package/docs/StreamsApi.md +1 -4
  39. package/package.json +1 -1
  40. package/docs/GetLivestream200Response.md +0 -24
  41. package/docs/GetLivestreamSessions200Response.md +0 -26
  42. package/docs/GetLivestreams200Response.md +0 -26
  43. package/docs/Livestream.md +0 -38
  44. package/docs/LivestreamSession.md +0 -36
  45. package/docs/MeetingsLivestreamsApi.md +0 -340
package/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: 17.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";
@@ -2351,6 +2332,11 @@ export var MeetingAspectRatio;
2351
2332
  MeetingAspectRatio["Square"] = "SQUARE";
2352
2333
  MeetingAspectRatio["Widescreen"] = "WIDESCREEN";
2353
2334
  })(MeetingAspectRatio || (MeetingAspectRatio = {}));
2335
+ export var MeetingCreatableType;
2336
+ (function (MeetingCreatableType) {
2337
+ MeetingCreatableType["GroupCall"] = "GROUP_CALL";
2338
+ MeetingCreatableType["Webinar"] = "WEBINAR";
2339
+ })(MeetingCreatableType || (MeetingCreatableType = {}));
2354
2340
  export var MeetingCreateInputsPreferredRegionEnum;
2355
2341
  (function (MeetingCreateInputsPreferredRegionEnum) {
2356
2342
  MeetingCreateInputsPreferredRegionEnum["ApSouth1"] = "ap-south-1";
@@ -86291,41 +86277,7 @@ export class LoginsAccountsApi extends BaseAPI {
86291
86277
  export const MeetingsApiAxiosParamCreator = function (configuration) {
86292
86278
  return {
86293
86279
  /**
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.
86280
+ * 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
86281
  * @summary Create a meeting
86330
86282
  * @param {MeetingCreateInputs} meetingCreateInputs
86331
86283
  * @param {*} [options] Override http request option.
@@ -86393,40 +86345,6 @@ export const MeetingsApiAxiosParamCreator = function (configuration) {
86393
86345
  options: localVarRequestOptions,
86394
86346
  };
86395
86347
  }),
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
86348
  /**
86431
86349
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
86432
86350
  * @summary List meetings
@@ -86508,7 +86426,7 @@ export const MeetingsApiAxiosParamCreator = function (configuration) {
86508
86426
  };
86509
86427
  }),
86510
86428
  /**
86511
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
86429
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
86512
86430
  * @summary Update a meeting
86513
86431
  * @param {string} meetingId The meeting identifier
86514
86432
  * @param {MeetingUpdateInputs} meetingUpdateInputs
@@ -86555,23 +86473,7 @@ export const MeetingsApiFp = function (configuration) {
86555
86473
  const localVarAxiosParamCreator = MeetingsApiAxiosParamCreator(configuration);
86556
86474
  return {
86557
86475
  /**
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.
86476
+ * 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
86477
  * @summary Create a meeting
86576
86478
  * @param {MeetingCreateInputs} meetingCreateInputs
86577
86479
  * @param {*} [options] Override http request option.
@@ -86602,22 +86504,6 @@ export const MeetingsApiFp = function (configuration) {
86602
86504
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
86603
86505
  });
86604
86506
  },
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
86507
  /**
86622
86508
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
86623
86509
  * @summary List meetings
@@ -86654,7 +86540,7 @@ export const MeetingsApiFp = function (configuration) {
86654
86540
  });
86655
86541
  },
86656
86542
  /**
86657
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
86543
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
86658
86544
  * @summary Update a meeting
86659
86545
  * @param {string} meetingId The meeting identifier
86660
86546
  * @param {MeetingUpdateInputs} meetingUpdateInputs
@@ -86679,17 +86565,7 @@ export const MeetingsApiFactory = function (configuration, basePath, axios) {
86679
86565
  const localVarFp = MeetingsApiFp(configuration);
86680
86566
  return {
86681
86567
  /**
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.
86568
+ * 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
86569
  * @summary Create a meeting
86694
86570
  * @param {MeetingsApiCreateMeetingRequest} requestParameters Request parameters.
86695
86571
  * @param {*} [options] Override http request option.
@@ -86708,16 +86584,6 @@ export const MeetingsApiFactory = function (configuration, basePath, axios) {
86708
86584
  getMeeting(requestParameters, options) {
86709
86585
  return localVarFp.getMeeting(requestParameters.meetingId, options).then((request) => request(axios, basePath));
86710
86586
  },
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
86587
  /**
86722
86588
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
86723
86589
  * @summary List meetings
@@ -86739,7 +86605,7 @@ export const MeetingsApiFactory = function (configuration, basePath, axios) {
86739
86605
  return localVarFp.joinMeeting(requestParameters.meetingId, options).then((request) => request(axios, basePath));
86740
86606
  },
86741
86607
  /**
86742
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
86608
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
86743
86609
  * @summary Update a meeting
86744
86610
  * @param {MeetingsApiUpdateMeetingRequest} requestParameters Request parameters.
86745
86611
  * @param {*} [options] Override http request option.
@@ -86755,17 +86621,7 @@ export const MeetingsApiFactory = function (configuration, basePath, axios) {
86755
86621
  */
86756
86622
  export class MeetingsApi extends BaseAPI {
86757
86623
  /**
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.
86624
+ * 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
86625
  * @summary Create a meeting
86770
86626
  * @param {MeetingsApiCreateMeetingRequest} requestParameters Request parameters.
86771
86627
  * @param {*} [options] Override http request option.
@@ -86784,16 +86640,6 @@ export class MeetingsApi extends BaseAPI {
86784
86640
  getMeeting(requestParameters, options) {
86785
86641
  return MeetingsApiFp(this.configuration).getMeeting(requestParameters.meetingId, options).then((request) => request(this.axios, this.basePath));
86786
86642
  }
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
86643
  /**
86798
86644
  * Returns a paginated list of meetings for the organization, supports search and requires the \"read\" permission on meetings.
86799
86645
  * @summary List meetings
@@ -86815,7 +86661,7 @@ export class MeetingsApi extends BaseAPI {
86815
86661
  return MeetingsApiFp(this.configuration).joinMeeting(requestParameters.meetingId, options).then((request) => request(this.axios, this.basePath));
86816
86662
  }
86817
86663
  /**
86818
- * Updates the settings of an existing meeting, such as its title, recording, chat, livestream, or AI configuration, requiring the \"update\" permission on meetings.
86664
+ * Updates the settings of an existing meeting, such as its title, recording, chat, or AI configuration, requiring the \"update\" permission on meetings.
86819
86665
  * @summary Update a meeting
86820
86666
  * @param {MeetingsApiUpdateMeetingRequest} requestParameters Request parameters.
86821
86667
  * @param {*} [options] Override http request option.
@@ -87250,489 +87096,6 @@ export class MeetingsLinksApi extends BaseAPI {
87250
87096
  return MeetingsLinksApiFp(this.configuration).updateMeetingLink(requestParameters.meetingId, requestParameters.linkId, requestParameters.meetingLinkUpdateInputs, options).then((request) => request(this.axios, this.basePath));
87251
87097
  }
87252
87098
  }
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
87099
  /**
87737
87100
  * MeetingsParticipantsApi - axios parameter creator
87738
87101
  */
@@ -93479,7 +92842,7 @@ export class OrganizationModulesCustomTranslationsApi extends BaseAPI {
93479
92842
  export const OrganizationModulesSettingsApiAxiosParamCreator = function (configuration) {
93480
92843
  return {
93481
92844
  /**
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.
92845
+ * 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
92846
  * @summary Get an organization\'s module settings
93484
92847
  * @param {*} [options] Override http request option.
93485
92848
  * @throws {RequiredError}
@@ -93552,7 +92915,7 @@ export const OrganizationModulesSettingsApiFp = function (configuration) {
93552
92915
  const localVarAxiosParamCreator = OrganizationModulesSettingsApiAxiosParamCreator(configuration);
93553
92916
  return {
93554
92917
  /**
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.
92918
+ * 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
92919
  * @summary Get an organization\'s module settings
93557
92920
  * @param {*} [options] Override http request option.
93558
92921
  * @throws {RequiredError}
@@ -93591,7 +92954,7 @@ export const OrganizationModulesSettingsApiFactory = function (configuration, ba
93591
92954
  const localVarFp = OrganizationModulesSettingsApiFp(configuration);
93592
92955
  return {
93593
92956
  /**
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.
92957
+ * 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
92958
  * @summary Get an organization\'s module settings
93596
92959
  * @param {*} [options] Override http request option.
93597
92960
  * @throws {RequiredError}
@@ -93616,7 +92979,7 @@ export const OrganizationModulesSettingsApiFactory = function (configuration, ba
93616
92979
  */
93617
92980
  export class OrganizationModulesSettingsApi extends BaseAPI {
93618
92981
  /**
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.
92982
+ * 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
92983
  * @summary Get an organization\'s module settings
93621
92984
  * @param {*} [options] Override http request option.
93622
92985
  * @throws {RequiredError}
@@ -107995,12 +107358,11 @@ export const StreamsApiAxiosParamCreator = function (configuration) {
107995
107358
  };
107996
107359
  }),
107997
107360
  /**
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.
107361
+ * 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
107362
  * @summary List an organization\'s stream inputs
108000
107363
  * @param {string} [eventId] Filter by eventId
108001
107364
  * @param {string} [sessionId] Filter by sessionId
108002
107365
  * @param {string} [groupId] Filter by groupId
108003
- * @param {string} [meetingId] Filter by meetingId
108004
107366
  * @param {boolean} [connected] Filter by connected
108005
107367
  * @param {boolean} [attached] Filter by attached
108006
107368
  * @param {number} [page] Page number
@@ -108010,7 +107372,7 @@ export const StreamsApiAxiosParamCreator = function (configuration) {
108010
107372
  * @param {*} [options] Override http request option.
108011
107373
  * @throws {RequiredError}
108012
107374
  */
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 = {}) {
107375
+ 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
107376
  const localVarPath = `/streams`;
108015
107377
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
108016
107378
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -108034,9 +107396,6 @@ export const StreamsApiAxiosParamCreator = function (configuration) {
108034
107396
  if (groupId !== undefined) {
108035
107397
  localVarQueryParameter['groupId'] = groupId;
108036
107398
  }
108037
- if (meetingId !== undefined) {
108038
- localVarQueryParameter['meetingId'] = meetingId;
108039
- }
108040
107399
  if (connected !== undefined) {
108041
107400
  localVarQueryParameter['connected'] = connected;
108042
107401
  }
@@ -108249,12 +107608,11 @@ export const StreamsApiFp = function (configuration) {
108249
107608
  });
108250
107609
  },
108251
107610
  /**
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.
107611
+ * 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
107612
  * @summary List an organization\'s stream inputs
108254
107613
  * @param {string} [eventId] Filter by eventId
108255
107614
  * @param {string} [sessionId] Filter by sessionId
108256
107615
  * @param {string} [groupId] Filter by groupId
108257
- * @param {string} [meetingId] Filter by meetingId
108258
107616
  * @param {boolean} [connected] Filter by connected
108259
107617
  * @param {boolean} [attached] Filter by attached
108260
107618
  * @param {number} [page] Page number
@@ -108264,10 +107622,10 @@ export const StreamsApiFp = function (configuration) {
108264
107622
  * @param {*} [options] Override http request option.
108265
107623
  * @throws {RequiredError}
108266
107624
  */
108267
- getStreamInputs(eventId, sessionId, groupId, meetingId, connected, attached, page, pageSize, orderBy, search, options) {
107625
+ getStreamInputs(eventId, sessionId, groupId, connected, attached, page, pageSize, orderBy, search, options) {
108268
107626
  return __awaiter(this, void 0, void 0, function* () {
108269
107627
  var _a, _b, _c;
108270
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getStreamInputs(eventId, sessionId, groupId, meetingId, connected, attached, page, pageSize, orderBy, search, options);
107628
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getStreamInputs(eventId, sessionId, groupId, connected, attached, page, pageSize, orderBy, search, options);
108271
107629
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
108272
107630
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsApi.getStreamInputs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
108273
107631
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -108366,14 +107724,14 @@ export const StreamsApiFactory = function (configuration, basePath, axios) {
108366
107724
  return localVarFp.getStreamInput(requestParameters.streamId, options).then((request) => request(axios, basePath));
108367
107725
  },
108368
107726
  /**
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.
107727
+ * 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
107728
  * @summary List an organization\'s stream inputs
108371
107729
  * @param {StreamsApiGetStreamInputsRequest} requestParameters Request parameters.
108372
107730
  * @param {*} [options] Override http request option.
108373
107731
  * @throws {RequiredError}
108374
107732
  */
108375
107733
  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));
107734
+ 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
107735
  },
108378
107736
  /**
108379
107737
  * 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 +107800,14 @@ export class StreamsApi extends BaseAPI {
108442
107800
  return StreamsApiFp(this.configuration).getStreamInput(requestParameters.streamId, options).then((request) => request(this.axios, this.basePath));
108443
107801
  }
108444
107802
  /**
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.
107803
+ * 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
107804
  * @summary List an organization\'s stream inputs
108447
107805
  * @param {StreamsApiGetStreamInputsRequest} requestParameters Request parameters.
108448
107806
  * @param {*} [options] Override http request option.
108449
107807
  * @throws {RequiredError}
108450
107808
  */
108451
107809
  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));
107810
+ 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
107811
  }
108454
107812
  /**
108455
107813
  * 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.