@connectedxm/admin-sdk 16.13.0 → 16.15.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 (53) hide show
  1. package/.openapi-generator/FILES +14 -0
  2. package/AdminApi.ts +9 -0
  3. package/README.md +2 -2
  4. package/api.ts +1768 -54
  5. package/base.ts +1 -1
  6. package/common.ts +1 -1
  7. package/configuration.ts +1 -1
  8. package/dist/AdminApi.d.ts +4 -1
  9. package/dist/AdminApi.js +3 -0
  10. package/dist/api.d.ts +934 -15
  11. package/dist/api.js +1288 -47
  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 +4 -1
  19. package/dist/esm/AdminApi.js +4 -1
  20. package/dist/esm/api.d.ts +934 -15
  21. package/dist/esm/api.js +1247 -18
  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/BaseReplay.md +38 -0
  29. package/docs/BaseReplaySession.md +24 -0
  30. package/docs/BaseStreamInput.md +2 -0
  31. package/docs/BaseVideo.md +4 -0
  32. package/docs/ChannelsInterestsApi.md +364 -0
  33. package/docs/CreateReplay200Response.md +24 -0
  34. package/docs/EventSession.md +4 -0
  35. package/docs/EventSessionAllOfCount.md +20 -0
  36. package/docs/EventSessionCreateInputs.md +2 -0
  37. package/docs/EventSessionUpdateInputs.md +2 -0
  38. package/docs/EventsInterestsApi.md +181 -0
  39. package/docs/GetReplays200Response.md +26 -0
  40. package/docs/GroupsInterestsApi.md +2 -2
  41. package/docs/Replay.md +40 -0
  42. package/docs/ReplayCreateInputs.md +26 -0
  43. package/docs/ReplayUpdateInputs.md +24 -0
  44. package/docs/ReplayVideo.md +50 -0
  45. package/docs/StreamInput.md +8 -0
  46. package/docs/StreamInputCreateInputs.md +2 -0
  47. package/docs/StreamInputUpdateInputs.md +2 -0
  48. package/docs/StreamsApi.md +7 -1
  49. package/docs/StreamsReplaysApi.md +293 -0
  50. package/docs/Video.md +10 -0
  51. package/docs/VideoAllOfStream.md +22 -0
  52. package/docs/VideoAllOfStreamSession.md +22 -0
  53. package/package.json +1 -1
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.13.0
7
+ * The version of the OpenAPI document: 16.15.0
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -546,6 +546,10 @@ export var CreatePreset200ResponseStatusEnum;
546
546
  (function (CreatePreset200ResponseStatusEnum) {
547
547
  CreatePreset200ResponseStatusEnum["Ok"] = "ok";
548
548
  })(CreatePreset200ResponseStatusEnum || (CreatePreset200ResponseStatusEnum = {}));
549
+ export var CreateReplay200ResponseStatusEnum;
550
+ (function (CreateReplay200ResponseStatusEnum) {
551
+ CreateReplay200ResponseStatusEnum["Ok"] = "ok";
552
+ })(CreateReplay200ResponseStatusEnum || (CreateReplay200ResponseStatusEnum = {}));
549
553
  export var CreateRoom200ResponseStatusEnum;
550
554
  (function (CreateRoom200ResponseStatusEnum) {
551
555
  CreateRoom200ResponseStatusEnum["Ok"] = "ok";
@@ -1920,6 +1924,10 @@ export var GetPushDevice200ResponseStatusEnum;
1920
1924
  (function (GetPushDevice200ResponseStatusEnum) {
1921
1925
  GetPushDevice200ResponseStatusEnum["Ok"] = "ok";
1922
1926
  })(GetPushDevice200ResponseStatusEnum || (GetPushDevice200ResponseStatusEnum = {}));
1927
+ export var GetReplays200ResponseStatusEnum;
1928
+ (function (GetReplays200ResponseStatusEnum) {
1929
+ GetReplays200ResponseStatusEnum["Ok"] = "ok";
1930
+ })(GetReplays200ResponseStatusEnum || (GetReplays200ResponseStatusEnum = {}));
1923
1931
  export var GetReport200ResponseStatusEnum;
1924
1932
  (function (GetReport200ResponseStatusEnum) {
1925
1933
  GetReport200ResponseStatusEnum["Ok"] = "ok";
@@ -23440,6 +23448,529 @@ export var GetContentsTypeEnum;
23440
23448
  GetContentsTypeEnum["Audio"] = "audio";
23441
23449
  GetContentsTypeEnum["Article"] = "article";
23442
23450
  })(GetContentsTypeEnum || (GetContentsTypeEnum = {}));
23451
+ /**
23452
+ * ChannelsInterestsApi - axios parameter creator
23453
+ */
23454
+ export const ChannelsInterestsApiAxiosParamCreator = function (configuration) {
23455
+ return {
23456
+ /**
23457
+ * Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23458
+ * @summary Add an interest to a content item
23459
+ * @param {string} channelId The channel identifier
23460
+ * @param {string} contentId The content identifier
23461
+ * @param {string} interestId The interest identifier
23462
+ * @param {*} [options] Override http request option.
23463
+ * @throws {RequiredError}
23464
+ */
23465
+ addChannelContentInterest: (channelId_1, contentId_1, interestId_1, ...args_1) => __awaiter(this, [channelId_1, contentId_1, interestId_1, ...args_1], void 0, function* (channelId, contentId, interestId, options = {}) {
23466
+ // verify required parameter 'channelId' is not null or undefined
23467
+ assertParamExists('addChannelContentInterest', 'channelId', channelId);
23468
+ // verify required parameter 'contentId' is not null or undefined
23469
+ assertParamExists('addChannelContentInterest', 'contentId', contentId);
23470
+ // verify required parameter 'interestId' is not null or undefined
23471
+ assertParamExists('addChannelContentInterest', 'interestId', interestId);
23472
+ const localVarPath = `/channels/{channelId}/contents/{contentId}/interests/{interestId}`
23473
+ .replace('{channelId}', encodeURIComponent(String(channelId)))
23474
+ .replace('{contentId}', encodeURIComponent(String(contentId)))
23475
+ .replace('{interestId}', encodeURIComponent(String(interestId)));
23476
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23477
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23478
+ let baseOptions;
23479
+ if (configuration) {
23480
+ baseOptions = configuration.baseOptions;
23481
+ }
23482
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
23483
+ const localVarHeaderParameter = {};
23484
+ const localVarQueryParameter = {};
23485
+ // authentication ApiKeyAuth required
23486
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
23487
+ // authentication OrganizationId required
23488
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
23489
+ localVarHeaderParameter['Accept'] = 'application/json';
23490
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23491
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23492
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23493
+ return {
23494
+ url: toPathString(localVarUrlObj),
23495
+ options: localVarRequestOptions,
23496
+ };
23497
+ }),
23498
+ /**
23499
+ * Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23500
+ * @summary Add an interest to a channel
23501
+ * @param {string} channelId The channel identifier
23502
+ * @param {string} interestId The interest identifier
23503
+ * @param {*} [options] Override http request option.
23504
+ * @throws {RequiredError}
23505
+ */
23506
+ addChannelInterest: (channelId_1, interestId_1, ...args_1) => __awaiter(this, [channelId_1, interestId_1, ...args_1], void 0, function* (channelId, interestId, options = {}) {
23507
+ // verify required parameter 'channelId' is not null or undefined
23508
+ assertParamExists('addChannelInterest', 'channelId', channelId);
23509
+ // verify required parameter 'interestId' is not null or undefined
23510
+ assertParamExists('addChannelInterest', 'interestId', interestId);
23511
+ const localVarPath = `/channels/{channelId}/interests/{interestId}`
23512
+ .replace('{channelId}', encodeURIComponent(String(channelId)))
23513
+ .replace('{interestId}', encodeURIComponent(String(interestId)));
23514
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23515
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23516
+ let baseOptions;
23517
+ if (configuration) {
23518
+ baseOptions = configuration.baseOptions;
23519
+ }
23520
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
23521
+ const localVarHeaderParameter = {};
23522
+ const localVarQueryParameter = {};
23523
+ // authentication ApiKeyAuth required
23524
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
23525
+ // authentication OrganizationId required
23526
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
23527
+ localVarHeaderParameter['Accept'] = 'application/json';
23528
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23529
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23530
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23531
+ return {
23532
+ url: toPathString(localVarUrlObj),
23533
+ options: localVarRequestOptions,
23534
+ };
23535
+ }),
23536
+ /**
23537
+ * Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
23538
+ * @summary List a content item\'s interests
23539
+ * @param {string} channelId The channel identifier
23540
+ * @param {string} contentId The content identifier
23541
+ * @param {number} [page] Page number
23542
+ * @param {number} [pageSize] Number of items per page
23543
+ * @param {string} [orderBy] Field to order by
23544
+ * @param {string} [search] Search query
23545
+ * @param {*} [options] Override http request option.
23546
+ * @throws {RequiredError}
23547
+ */
23548
+ getChannelContentInterests: (channelId_1, contentId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [channelId_1, contentId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (channelId, contentId, page, pageSize, orderBy, search, options = {}) {
23549
+ // verify required parameter 'channelId' is not null or undefined
23550
+ assertParamExists('getChannelContentInterests', 'channelId', channelId);
23551
+ // verify required parameter 'contentId' is not null or undefined
23552
+ assertParamExists('getChannelContentInterests', 'contentId', contentId);
23553
+ const localVarPath = `/channels/{channelId}/contents/{contentId}/interests`
23554
+ .replace('{channelId}', encodeURIComponent(String(channelId)))
23555
+ .replace('{contentId}', encodeURIComponent(String(contentId)));
23556
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23557
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23558
+ let baseOptions;
23559
+ if (configuration) {
23560
+ baseOptions = configuration.baseOptions;
23561
+ }
23562
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
23563
+ const localVarHeaderParameter = {};
23564
+ const localVarQueryParameter = {};
23565
+ // authentication ApiKeyAuth required
23566
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
23567
+ // authentication OrganizationId required
23568
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
23569
+ if (page !== undefined) {
23570
+ localVarQueryParameter['page'] = page;
23571
+ }
23572
+ if (pageSize !== undefined) {
23573
+ localVarQueryParameter['pageSize'] = pageSize;
23574
+ }
23575
+ if (orderBy !== undefined) {
23576
+ localVarQueryParameter['orderBy'] = orderBy;
23577
+ }
23578
+ if (search !== undefined) {
23579
+ localVarQueryParameter['search'] = search;
23580
+ }
23581
+ localVarHeaderParameter['Accept'] = 'application/json';
23582
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23583
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23584
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23585
+ return {
23586
+ url: toPathString(localVarUrlObj),
23587
+ options: localVarRequestOptions,
23588
+ };
23589
+ }),
23590
+ /**
23591
+ * Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
23592
+ * @summary List a channel\'s interests
23593
+ * @param {string} channelId The channel identifier
23594
+ * @param {number} [page] Page number
23595
+ * @param {number} [pageSize] Number of items per page
23596
+ * @param {string} [orderBy] Field to order by
23597
+ * @param {string} [search] Search query
23598
+ * @param {*} [options] Override http request option.
23599
+ * @throws {RequiredError}
23600
+ */
23601
+ getChannelInterests: (channelId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [channelId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (channelId, page, pageSize, orderBy, search, options = {}) {
23602
+ // verify required parameter 'channelId' is not null or undefined
23603
+ assertParamExists('getChannelInterests', 'channelId', channelId);
23604
+ const localVarPath = `/channels/{channelId}/interests`
23605
+ .replace('{channelId}', encodeURIComponent(String(channelId)));
23606
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23607
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23608
+ let baseOptions;
23609
+ if (configuration) {
23610
+ baseOptions = configuration.baseOptions;
23611
+ }
23612
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
23613
+ const localVarHeaderParameter = {};
23614
+ const localVarQueryParameter = {};
23615
+ // authentication ApiKeyAuth required
23616
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
23617
+ // authentication OrganizationId required
23618
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
23619
+ if (page !== undefined) {
23620
+ localVarQueryParameter['page'] = page;
23621
+ }
23622
+ if (pageSize !== undefined) {
23623
+ localVarQueryParameter['pageSize'] = pageSize;
23624
+ }
23625
+ if (orderBy !== undefined) {
23626
+ localVarQueryParameter['orderBy'] = orderBy;
23627
+ }
23628
+ if (search !== undefined) {
23629
+ localVarQueryParameter['search'] = search;
23630
+ }
23631
+ localVarHeaderParameter['Accept'] = 'application/json';
23632
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23633
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23634
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23635
+ return {
23636
+ url: toPathString(localVarUrlObj),
23637
+ options: localVarRequestOptions,
23638
+ };
23639
+ }),
23640
+ /**
23641
+ * Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23642
+ * @summary Remove an interest from a content item
23643
+ * @param {string} channelId The channel identifier
23644
+ * @param {string} contentId The content identifier
23645
+ * @param {string} interestId The interest identifier
23646
+ * @param {*} [options] Override http request option.
23647
+ * @throws {RequiredError}
23648
+ */
23649
+ removeChannelContentInterest: (channelId_1, contentId_1, interestId_1, ...args_1) => __awaiter(this, [channelId_1, contentId_1, interestId_1, ...args_1], void 0, function* (channelId, contentId, interestId, options = {}) {
23650
+ // verify required parameter 'channelId' is not null or undefined
23651
+ assertParamExists('removeChannelContentInterest', 'channelId', channelId);
23652
+ // verify required parameter 'contentId' is not null or undefined
23653
+ assertParamExists('removeChannelContentInterest', 'contentId', contentId);
23654
+ // verify required parameter 'interestId' is not null or undefined
23655
+ assertParamExists('removeChannelContentInterest', 'interestId', interestId);
23656
+ const localVarPath = `/channels/{channelId}/contents/{contentId}/interests/{interestId}`
23657
+ .replace('{channelId}', encodeURIComponent(String(channelId)))
23658
+ .replace('{contentId}', encodeURIComponent(String(contentId)))
23659
+ .replace('{interestId}', encodeURIComponent(String(interestId)));
23660
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23661
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23662
+ let baseOptions;
23663
+ if (configuration) {
23664
+ baseOptions = configuration.baseOptions;
23665
+ }
23666
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
23667
+ const localVarHeaderParameter = {};
23668
+ const localVarQueryParameter = {};
23669
+ // authentication ApiKeyAuth required
23670
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
23671
+ // authentication OrganizationId required
23672
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
23673
+ localVarHeaderParameter['Accept'] = 'application/json';
23674
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23675
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23676
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23677
+ return {
23678
+ url: toPathString(localVarUrlObj),
23679
+ options: localVarRequestOptions,
23680
+ };
23681
+ }),
23682
+ /**
23683
+ * Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23684
+ * @summary Remove an interest from a channel
23685
+ * @param {string} channelId The channel identifier
23686
+ * @param {string} interestId The interest identifier
23687
+ * @param {*} [options] Override http request option.
23688
+ * @throws {RequiredError}
23689
+ */
23690
+ removeChannelInterest: (channelId_1, interestId_1, ...args_1) => __awaiter(this, [channelId_1, interestId_1, ...args_1], void 0, function* (channelId, interestId, options = {}) {
23691
+ // verify required parameter 'channelId' is not null or undefined
23692
+ assertParamExists('removeChannelInterest', 'channelId', channelId);
23693
+ // verify required parameter 'interestId' is not null or undefined
23694
+ assertParamExists('removeChannelInterest', 'interestId', interestId);
23695
+ const localVarPath = `/channels/{channelId}/interests/{interestId}`
23696
+ .replace('{channelId}', encodeURIComponent(String(channelId)))
23697
+ .replace('{interestId}', encodeURIComponent(String(interestId)));
23698
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23699
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23700
+ let baseOptions;
23701
+ if (configuration) {
23702
+ baseOptions = configuration.baseOptions;
23703
+ }
23704
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
23705
+ const localVarHeaderParameter = {};
23706
+ const localVarQueryParameter = {};
23707
+ // authentication ApiKeyAuth required
23708
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
23709
+ // authentication OrganizationId required
23710
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
23711
+ localVarHeaderParameter['Accept'] = 'application/json';
23712
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23713
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23714
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
23715
+ return {
23716
+ url: toPathString(localVarUrlObj),
23717
+ options: localVarRequestOptions,
23718
+ };
23719
+ }),
23720
+ };
23721
+ };
23722
+ /**
23723
+ * ChannelsInterestsApi - functional programming interface
23724
+ */
23725
+ export const ChannelsInterestsApiFp = function (configuration) {
23726
+ const localVarAxiosParamCreator = ChannelsInterestsApiAxiosParamCreator(configuration);
23727
+ return {
23728
+ /**
23729
+ * Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23730
+ * @summary Add an interest to a content item
23731
+ * @param {string} channelId The channel identifier
23732
+ * @param {string} contentId The content identifier
23733
+ * @param {string} interestId The interest identifier
23734
+ * @param {*} [options] Override http request option.
23735
+ * @throws {RequiredError}
23736
+ */
23737
+ addChannelContentInterest(channelId, contentId, interestId, options) {
23738
+ return __awaiter(this, void 0, void 0, function* () {
23739
+ var _a, _b, _c;
23740
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addChannelContentInterest(channelId, contentId, interestId, options);
23741
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
23742
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsInterestsApi.addChannelContentInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
23743
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23744
+ });
23745
+ },
23746
+ /**
23747
+ * Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23748
+ * @summary Add an interest to a channel
23749
+ * @param {string} channelId The channel identifier
23750
+ * @param {string} interestId The interest identifier
23751
+ * @param {*} [options] Override http request option.
23752
+ * @throws {RequiredError}
23753
+ */
23754
+ addChannelInterest(channelId, interestId, options) {
23755
+ return __awaiter(this, void 0, void 0, function* () {
23756
+ var _a, _b, _c;
23757
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addChannelInterest(channelId, interestId, options);
23758
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
23759
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsInterestsApi.addChannelInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
23760
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23761
+ });
23762
+ },
23763
+ /**
23764
+ * Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
23765
+ * @summary List a content item\'s interests
23766
+ * @param {string} channelId The channel identifier
23767
+ * @param {string} contentId The content identifier
23768
+ * @param {number} [page] Page number
23769
+ * @param {number} [pageSize] Number of items per page
23770
+ * @param {string} [orderBy] Field to order by
23771
+ * @param {string} [search] Search query
23772
+ * @param {*} [options] Override http request option.
23773
+ * @throws {RequiredError}
23774
+ */
23775
+ getChannelContentInterests(channelId, contentId, page, pageSize, orderBy, search, options) {
23776
+ return __awaiter(this, void 0, void 0, function* () {
23777
+ var _a, _b, _c;
23778
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getChannelContentInterests(channelId, contentId, page, pageSize, orderBy, search, options);
23779
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
23780
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsInterestsApi.getChannelContentInterests']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
23781
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23782
+ });
23783
+ },
23784
+ /**
23785
+ * Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
23786
+ * @summary List a channel\'s interests
23787
+ * @param {string} channelId The channel identifier
23788
+ * @param {number} [page] Page number
23789
+ * @param {number} [pageSize] Number of items per page
23790
+ * @param {string} [orderBy] Field to order by
23791
+ * @param {string} [search] Search query
23792
+ * @param {*} [options] Override http request option.
23793
+ * @throws {RequiredError}
23794
+ */
23795
+ getChannelInterests(channelId, page, pageSize, orderBy, search, options) {
23796
+ return __awaiter(this, void 0, void 0, function* () {
23797
+ var _a, _b, _c;
23798
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getChannelInterests(channelId, page, pageSize, orderBy, search, options);
23799
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
23800
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsInterestsApi.getChannelInterests']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
23801
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23802
+ });
23803
+ },
23804
+ /**
23805
+ * Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23806
+ * @summary Remove an interest from a content item
23807
+ * @param {string} channelId The channel identifier
23808
+ * @param {string} contentId The content identifier
23809
+ * @param {string} interestId The interest identifier
23810
+ * @param {*} [options] Override http request option.
23811
+ * @throws {RequiredError}
23812
+ */
23813
+ removeChannelContentInterest(channelId, contentId, interestId, options) {
23814
+ return __awaiter(this, void 0, void 0, function* () {
23815
+ var _a, _b, _c;
23816
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeChannelContentInterest(channelId, contentId, interestId, options);
23817
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
23818
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsInterestsApi.removeChannelContentInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
23819
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23820
+ });
23821
+ },
23822
+ /**
23823
+ * Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23824
+ * @summary Remove an interest from a channel
23825
+ * @param {string} channelId The channel identifier
23826
+ * @param {string} interestId The interest identifier
23827
+ * @param {*} [options] Override http request option.
23828
+ * @throws {RequiredError}
23829
+ */
23830
+ removeChannelInterest(channelId, interestId, options) {
23831
+ return __awaiter(this, void 0, void 0, function* () {
23832
+ var _a, _b, _c;
23833
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeChannelInterest(channelId, interestId, options);
23834
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
23835
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ChannelsInterestsApi.removeChannelInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
23836
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23837
+ });
23838
+ },
23839
+ };
23840
+ };
23841
+ /**
23842
+ * ChannelsInterestsApi - factory interface
23843
+ */
23844
+ export const ChannelsInterestsApiFactory = function (configuration, basePath, axios) {
23845
+ const localVarFp = ChannelsInterestsApiFp(configuration);
23846
+ return {
23847
+ /**
23848
+ * Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23849
+ * @summary Add an interest to a content item
23850
+ * @param {ChannelsInterestsApiAddChannelContentInterestRequest} requestParameters Request parameters.
23851
+ * @param {*} [options] Override http request option.
23852
+ * @throws {RequiredError}
23853
+ */
23854
+ addChannelContentInterest(requestParameters, options) {
23855
+ return localVarFp.addChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(axios, basePath));
23856
+ },
23857
+ /**
23858
+ * Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23859
+ * @summary Add an interest to a channel
23860
+ * @param {ChannelsInterestsApiAddChannelInterestRequest} requestParameters Request parameters.
23861
+ * @param {*} [options] Override http request option.
23862
+ * @throws {RequiredError}
23863
+ */
23864
+ addChannelInterest(requestParameters, options) {
23865
+ return localVarFp.addChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(axios, basePath));
23866
+ },
23867
+ /**
23868
+ * Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
23869
+ * @summary List a content item\'s interests
23870
+ * @param {ChannelsInterestsApiGetChannelContentInterestsRequest} requestParameters Request parameters.
23871
+ * @param {*} [options] Override http request option.
23872
+ * @throws {RequiredError}
23873
+ */
23874
+ getChannelContentInterests(requestParameters, options) {
23875
+ return localVarFp.getChannelContentInterests(requestParameters.channelId, requestParameters.contentId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
23876
+ },
23877
+ /**
23878
+ * Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
23879
+ * @summary List a channel\'s interests
23880
+ * @param {ChannelsInterestsApiGetChannelInterestsRequest} requestParameters Request parameters.
23881
+ * @param {*} [options] Override http request option.
23882
+ * @throws {RequiredError}
23883
+ */
23884
+ getChannelInterests(requestParameters, options) {
23885
+ return localVarFp.getChannelInterests(requestParameters.channelId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
23886
+ },
23887
+ /**
23888
+ * Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23889
+ * @summary Remove an interest from a content item
23890
+ * @param {ChannelsInterestsApiRemoveChannelContentInterestRequest} requestParameters Request parameters.
23891
+ * @param {*} [options] Override http request option.
23892
+ * @throws {RequiredError}
23893
+ */
23894
+ removeChannelContentInterest(requestParameters, options) {
23895
+ return localVarFp.removeChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(axios, basePath));
23896
+ },
23897
+ /**
23898
+ * Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23899
+ * @summary Remove an interest from a channel
23900
+ * @param {ChannelsInterestsApiRemoveChannelInterestRequest} requestParameters Request parameters.
23901
+ * @param {*} [options] Override http request option.
23902
+ * @throws {RequiredError}
23903
+ */
23904
+ removeChannelInterest(requestParameters, options) {
23905
+ return localVarFp.removeChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(axios, basePath));
23906
+ },
23907
+ };
23908
+ };
23909
+ /**
23910
+ * ChannelsInterestsApi - object-oriented interface
23911
+ */
23912
+ export class ChannelsInterestsApi extends BaseAPI {
23913
+ /**
23914
+ * Associates an existing interest with a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23915
+ * @summary Add an interest to a content item
23916
+ * @param {ChannelsInterestsApiAddChannelContentInterestRequest} requestParameters Request parameters.
23917
+ * @param {*} [options] Override http request option.
23918
+ * @throws {RequiredError}
23919
+ */
23920
+ addChannelContentInterest(requestParameters, options) {
23921
+ return ChannelsInterestsApiFp(this.configuration).addChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
23922
+ }
23923
+ /**
23924
+ * Associates an existing interest with a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23925
+ * @summary Add an interest to a channel
23926
+ * @param {ChannelsInterestsApiAddChannelInterestRequest} requestParameters Request parameters.
23927
+ * @param {*} [options] Override http request option.
23928
+ * @throws {RequiredError}
23929
+ */
23930
+ addChannelInterest(requestParameters, options) {
23931
+ return ChannelsInterestsApiFp(this.configuration).addChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
23932
+ }
23933
+ /**
23934
+ * Returns a paginated list of interest tags associated with the given content item, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels, contents and interests.
23935
+ * @summary List a content item\'s interests
23936
+ * @param {ChannelsInterestsApiGetChannelContentInterestsRequest} requestParameters Request parameters.
23937
+ * @param {*} [options] Override http request option.
23938
+ * @throws {RequiredError}
23939
+ */
23940
+ getChannelContentInterests(requestParameters, options) {
23941
+ return ChannelsInterestsApiFp(this.configuration).getChannelContentInterests(requestParameters.channelId, requestParameters.contentId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
23942
+ }
23943
+ /**
23944
+ * Returns a paginated list of interest tags associated with the given channel, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on channels and interests.
23945
+ * @summary List a channel\'s interests
23946
+ * @param {ChannelsInterestsApiGetChannelInterestsRequest} requestParameters Request parameters.
23947
+ * @param {*} [options] Override http request option.
23948
+ * @throws {RequiredError}
23949
+ */
23950
+ getChannelInterests(requestParameters, options) {
23951
+ return ChannelsInterestsApiFp(this.configuration).getChannelInterests(requestParameters.channelId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
23952
+ }
23953
+ /**
23954
+ * Removes an interest from a content item within a channel, requiring read permission on channels and update permission on both contents and interests; the content\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23955
+ * @summary Remove an interest from a content item
23956
+ * @param {ChannelsInterestsApiRemoveChannelContentInterestRequest} requestParameters Request parameters.
23957
+ * @param {*} [options] Override http request option.
23958
+ * @throws {RequiredError}
23959
+ */
23960
+ removeChannelContentInterest(requestParameters, options) {
23961
+ return ChannelsInterestsApiFp(this.configuration).removeChannelContentInterest(requestParameters.channelId, requestParameters.contentId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
23962
+ }
23963
+ /**
23964
+ * Removes an interest from a channel, requiring update permission on both channels and interests; the channel\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
23965
+ * @summary Remove an interest from a channel
23966
+ * @param {ChannelsInterestsApiRemoveChannelInterestRequest} requestParameters Request parameters.
23967
+ * @param {*} [options] Override http request option.
23968
+ * @throws {RequiredError}
23969
+ */
23970
+ removeChannelInterest(requestParameters, options) {
23971
+ return ChannelsInterestsApiFp(this.configuration).removeChannelInterest(requestParameters.channelId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
23972
+ }
23973
+ }
23443
23974
  /**
23444
23975
  * ChannelsTranslationsApi - axios parameter creator
23445
23976
  */
@@ -37316,6 +37847,274 @@ export class EventsGroupcouponreminderApi extends BaseAPI {
37316
37847
  return EventsGroupcouponreminderApiFp(this.configuration).updateEventGroupCouponReminder(requestParameters.eventId, requestParameters.eventGroupCouponReminderUpdateInputs, options).then((request) => request(this.axios, this.basePath));
37317
37848
  }
37318
37849
  }
37850
+ /**
37851
+ * EventsInterestsApi - axios parameter creator
37852
+ */
37853
+ export const EventsInterestsApiAxiosParamCreator = function (configuration) {
37854
+ return {
37855
+ /**
37856
+ * Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
37857
+ * @summary Add an interest to an event
37858
+ * @param {string} eventId The event identifier
37859
+ * @param {string} interestId The interest identifier
37860
+ * @param {*} [options] Override http request option.
37861
+ * @throws {RequiredError}
37862
+ */
37863
+ addEventInterest: (eventId_1, interestId_1, ...args_1) => __awaiter(this, [eventId_1, interestId_1, ...args_1], void 0, function* (eventId, interestId, options = {}) {
37864
+ // verify required parameter 'eventId' is not null or undefined
37865
+ assertParamExists('addEventInterest', 'eventId', eventId);
37866
+ // verify required parameter 'interestId' is not null or undefined
37867
+ assertParamExists('addEventInterest', 'interestId', interestId);
37868
+ const localVarPath = `/events/{eventId}/interests/{interestId}`
37869
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
37870
+ .replace('{interestId}', encodeURIComponent(String(interestId)));
37871
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37872
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37873
+ let baseOptions;
37874
+ if (configuration) {
37875
+ baseOptions = configuration.baseOptions;
37876
+ }
37877
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
37878
+ const localVarHeaderParameter = {};
37879
+ const localVarQueryParameter = {};
37880
+ // authentication ApiKeyAuth required
37881
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
37882
+ // authentication OrganizationId required
37883
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
37884
+ localVarHeaderParameter['Accept'] = 'application/json';
37885
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37886
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37887
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
37888
+ return {
37889
+ url: toPathString(localVarUrlObj),
37890
+ options: localVarRequestOptions,
37891
+ };
37892
+ }),
37893
+ /**
37894
+ * Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
37895
+ * @summary List an event\'s interests
37896
+ * @param {string} eventId The event identifier
37897
+ * @param {number} [page] Page number
37898
+ * @param {number} [pageSize] Number of items per page
37899
+ * @param {string} [orderBy] Field to order by
37900
+ * @param {string} [search] Search query
37901
+ * @param {*} [options] Override http request option.
37902
+ * @throws {RequiredError}
37903
+ */
37904
+ getEventInterests: (eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, page, pageSize, orderBy, search, options = {}) {
37905
+ // verify required parameter 'eventId' is not null or undefined
37906
+ assertParamExists('getEventInterests', 'eventId', eventId);
37907
+ const localVarPath = `/events/{eventId}/interests`
37908
+ .replace('{eventId}', encodeURIComponent(String(eventId)));
37909
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37910
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37911
+ let baseOptions;
37912
+ if (configuration) {
37913
+ baseOptions = configuration.baseOptions;
37914
+ }
37915
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
37916
+ const localVarHeaderParameter = {};
37917
+ const localVarQueryParameter = {};
37918
+ // authentication ApiKeyAuth required
37919
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
37920
+ // authentication OrganizationId required
37921
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
37922
+ if (page !== undefined) {
37923
+ localVarQueryParameter['page'] = page;
37924
+ }
37925
+ if (pageSize !== undefined) {
37926
+ localVarQueryParameter['pageSize'] = pageSize;
37927
+ }
37928
+ if (orderBy !== undefined) {
37929
+ localVarQueryParameter['orderBy'] = orderBy;
37930
+ }
37931
+ if (search !== undefined) {
37932
+ localVarQueryParameter['search'] = search;
37933
+ }
37934
+ localVarHeaderParameter['Accept'] = 'application/json';
37935
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37936
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37937
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
37938
+ return {
37939
+ url: toPathString(localVarUrlObj),
37940
+ options: localVarRequestOptions,
37941
+ };
37942
+ }),
37943
+ /**
37944
+ * Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
37945
+ * @summary Remove an interest from an event
37946
+ * @param {string} eventId The event identifier
37947
+ * @param {string} interestId The interest identifier
37948
+ * @param {*} [options] Override http request option.
37949
+ * @throws {RequiredError}
37950
+ */
37951
+ removeEventInterest: (eventId_1, interestId_1, ...args_1) => __awaiter(this, [eventId_1, interestId_1, ...args_1], void 0, function* (eventId, interestId, options = {}) {
37952
+ // verify required parameter 'eventId' is not null or undefined
37953
+ assertParamExists('removeEventInterest', 'eventId', eventId);
37954
+ // verify required parameter 'interestId' is not null or undefined
37955
+ assertParamExists('removeEventInterest', 'interestId', interestId);
37956
+ const localVarPath = `/events/{eventId}/interests/{interestId}`
37957
+ .replace('{eventId}', encodeURIComponent(String(eventId)))
37958
+ .replace('{interestId}', encodeURIComponent(String(interestId)));
37959
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37960
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37961
+ let baseOptions;
37962
+ if (configuration) {
37963
+ baseOptions = configuration.baseOptions;
37964
+ }
37965
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
37966
+ const localVarHeaderParameter = {};
37967
+ const localVarQueryParameter = {};
37968
+ // authentication ApiKeyAuth required
37969
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
37970
+ // authentication OrganizationId required
37971
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
37972
+ localVarHeaderParameter['Accept'] = 'application/json';
37973
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37974
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37975
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
37976
+ return {
37977
+ url: toPathString(localVarUrlObj),
37978
+ options: localVarRequestOptions,
37979
+ };
37980
+ }),
37981
+ };
37982
+ };
37983
+ /**
37984
+ * EventsInterestsApi - functional programming interface
37985
+ */
37986
+ export const EventsInterestsApiFp = function (configuration) {
37987
+ const localVarAxiosParamCreator = EventsInterestsApiAxiosParamCreator(configuration);
37988
+ return {
37989
+ /**
37990
+ * Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
37991
+ * @summary Add an interest to an event
37992
+ * @param {string} eventId The event identifier
37993
+ * @param {string} interestId The interest identifier
37994
+ * @param {*} [options] Override http request option.
37995
+ * @throws {RequiredError}
37996
+ */
37997
+ addEventInterest(eventId, interestId, options) {
37998
+ return __awaiter(this, void 0, void 0, function* () {
37999
+ var _a, _b, _c;
38000
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventInterest(eventId, interestId, options);
38001
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
38002
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsInterestsApi.addEventInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
38003
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38004
+ });
38005
+ },
38006
+ /**
38007
+ * Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
38008
+ * @summary List an event\'s interests
38009
+ * @param {string} eventId The event identifier
38010
+ * @param {number} [page] Page number
38011
+ * @param {number} [pageSize] Number of items per page
38012
+ * @param {string} [orderBy] Field to order by
38013
+ * @param {string} [search] Search query
38014
+ * @param {*} [options] Override http request option.
38015
+ * @throws {RequiredError}
38016
+ */
38017
+ getEventInterests(eventId, page, pageSize, orderBy, search, options) {
38018
+ return __awaiter(this, void 0, void 0, function* () {
38019
+ var _a, _b, _c;
38020
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventInterests(eventId, page, pageSize, orderBy, search, options);
38021
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
38022
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsInterestsApi.getEventInterests']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
38023
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38024
+ });
38025
+ },
38026
+ /**
38027
+ * Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
38028
+ * @summary Remove an interest from an event
38029
+ * @param {string} eventId The event identifier
38030
+ * @param {string} interestId The interest identifier
38031
+ * @param {*} [options] Override http request option.
38032
+ * @throws {RequiredError}
38033
+ */
38034
+ removeEventInterest(eventId, interestId, options) {
38035
+ return __awaiter(this, void 0, void 0, function* () {
38036
+ var _a, _b, _c;
38037
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventInterest(eventId, interestId, options);
38038
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
38039
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsInterestsApi.removeEventInterest']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
38040
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38041
+ });
38042
+ },
38043
+ };
38044
+ };
38045
+ /**
38046
+ * EventsInterestsApi - factory interface
38047
+ */
38048
+ export const EventsInterestsApiFactory = function (configuration, basePath, axios) {
38049
+ const localVarFp = EventsInterestsApiFp(configuration);
38050
+ return {
38051
+ /**
38052
+ * Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
38053
+ * @summary Add an interest to an event
38054
+ * @param {EventsInterestsApiAddEventInterestRequest} requestParameters Request parameters.
38055
+ * @param {*} [options] Override http request option.
38056
+ * @throws {RequiredError}
38057
+ */
38058
+ addEventInterest(requestParameters, options) {
38059
+ return localVarFp.addEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(axios, basePath));
38060
+ },
38061
+ /**
38062
+ * Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
38063
+ * @summary List an event\'s interests
38064
+ * @param {EventsInterestsApiGetEventInterestsRequest} requestParameters Request parameters.
38065
+ * @param {*} [options] Override http request option.
38066
+ * @throws {RequiredError}
38067
+ */
38068
+ getEventInterests(requestParameters, options) {
38069
+ return localVarFp.getEventInterests(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
38070
+ },
38071
+ /**
38072
+ * Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
38073
+ * @summary Remove an interest from an event
38074
+ * @param {EventsInterestsApiRemoveEventInterestRequest} requestParameters Request parameters.
38075
+ * @param {*} [options] Override http request option.
38076
+ * @throws {RequiredError}
38077
+ */
38078
+ removeEventInterest(requestParameters, options) {
38079
+ return localVarFp.removeEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(axios, basePath));
38080
+ },
38081
+ };
38082
+ };
38083
+ /**
38084
+ * EventsInterestsApi - object-oriented interface
38085
+ */
38086
+ export class EventsInterestsApi extends BaseAPI {
38087
+ /**
38088
+ * Associates an existing interest with an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
38089
+ * @summary Add an interest to an event
38090
+ * @param {EventsInterestsApiAddEventInterestRequest} requestParameters Request parameters.
38091
+ * @param {*} [options] Override http request option.
38092
+ * @throws {RequiredError}
38093
+ */
38094
+ addEventInterest(requestParameters, options) {
38095
+ return EventsInterestsApiFp(this.configuration).addEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
38096
+ }
38097
+ /**
38098
+ * Returns a paginated list of interest tags associated with the given event, optionally filtered by a search term on the interest name and sorted via orderBy; requires \"read\" permission on events and interests.
38099
+ * @summary List an event\'s interests
38100
+ * @param {EventsInterestsApiGetEventInterestsRequest} requestParameters Request parameters.
38101
+ * @param {*} [options] Override http request option.
38102
+ * @throws {RequiredError}
38103
+ */
38104
+ getEventInterests(requestParameters, options) {
38105
+ return EventsInterestsApiFp(this.configuration).getEventInterests(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
38106
+ }
38107
+ /**
38108
+ * Removes an interest from an event, requiring update permission on both events and interests; the event\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
38109
+ * @summary Remove an interest from an event
38110
+ * @param {EventsInterestsApiRemoveEventInterestRequest} requestParameters Request parameters.
38111
+ * @param {*} [options] Override http request option.
38112
+ * @throws {RequiredError}
38113
+ */
38114
+ removeEventInterest(requestParameters, options) {
38115
+ return EventsInterestsApiFp(this.configuration).removeEventInterest(requestParameters.eventId, requestParameters.interestId, options).then((request) => request(this.axios, this.basePath));
38116
+ }
38117
+ }
37319
38118
  /**
37320
38119
  * EventsMatchesApi - axios parameter creator
37321
38120
  */
@@ -79146,7 +79945,7 @@ export class GroupsEventsApi extends BaseAPI {
79146
79945
  export const GroupsInterestsApiAxiosParamCreator = function (configuration) {
79147
79946
  return {
79148
79947
  /**
79149
- * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
79948
+ * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79150
79949
  * @summary Add an interest to a group
79151
79950
  * @param {string} groupId The group identifier
79152
79951
  * @param {string} interestId The interest identifier
@@ -79234,7 +80033,7 @@ export const GroupsInterestsApiAxiosParamCreator = function (configuration) {
79234
80033
  };
79235
80034
  }),
79236
80035
  /**
79237
- * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80036
+ * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79238
80037
  * @summary Remove an interest from a group
79239
80038
  * @param {string} groupId The group identifier
79240
80039
  * @param {string} accountId The account identifier
@@ -79280,7 +80079,7 @@ export const GroupsInterestsApiFp = function (configuration) {
79280
80079
  const localVarAxiosParamCreator = GroupsInterestsApiAxiosParamCreator(configuration);
79281
80080
  return {
79282
80081
  /**
79283
- * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80082
+ * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79284
80083
  * @summary Add an interest to a group
79285
80084
  * @param {string} groupId The group identifier
79286
80085
  * @param {string} interestId The interest identifier
@@ -79317,7 +80116,7 @@ export const GroupsInterestsApiFp = function (configuration) {
79317
80116
  });
79318
80117
  },
79319
80118
  /**
79320
- * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80119
+ * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79321
80120
  * @summary Remove an interest from a group
79322
80121
  * @param {string} groupId The group identifier
79323
80122
  * @param {string} accountId The account identifier
@@ -79342,7 +80141,7 @@ export const GroupsInterestsApiFactory = function (configuration, basePath, axio
79342
80141
  const localVarFp = GroupsInterestsApiFp(configuration);
79343
80142
  return {
79344
80143
  /**
79345
- * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80144
+ * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79346
80145
  * @summary Add an interest to a group
79347
80146
  * @param {GroupsInterestsApiAddGroupInterestRequest} requestParameters Request parameters.
79348
80147
  * @param {*} [options] Override http request option.
@@ -79362,7 +80161,7 @@ export const GroupsInterestsApiFactory = function (configuration, basePath, axio
79362
80161
  return localVarFp.getGroupInterests(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
79363
80162
  },
79364
80163
  /**
79365
- * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80164
+ * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79366
80165
  * @summary Remove an interest from a group
79367
80166
  * @param {GroupsInterestsApiRemoveGroupInterestRequest} requestParameters Request parameters.
79368
80167
  * @param {*} [options] Override http request option.
@@ -79378,7 +80177,7 @@ export const GroupsInterestsApiFactory = function (configuration, basePath, axio
79378
80177
  */
79379
80178
  export class GroupsInterestsApi extends BaseAPI {
79380
80179
  /**
79381
- * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80180
+ * Associates an existing interest with a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79382
80181
  * @summary Add an interest to a group
79383
80182
  * @param {GroupsInterestsApiAddGroupInterestRequest} requestParameters Request parameters.
79384
80183
  * @param {*} [options] Override http request option.
@@ -79398,7 +80197,7 @@ export class GroupsInterestsApi extends BaseAPI {
79398
80197
  return GroupsInterestsApiFp(this.configuration).getGroupInterests(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
79399
80198
  }
79400
80199
  /**
79401
- * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list is invalidated.
80200
+ * Disassociates an interest from a group, requiring update permission on both groups and interests; the group\'s cached data is refreshed and its interests list and the interest\'s cached detail and lists are invalidated.
79402
80201
  * @summary Remove an interest from a group
79403
80202
  * @param {GroupsInterestsApiRemoveGroupInterestRequest} requestParameters Request parameters.
79404
80203
  * @param {*} [options] Override http request option.
@@ -106795,12 +107594,14 @@ export const StreamsApiAxiosParamCreator = function (configuration) {
106795
107594
  };
106796
107595
  }),
106797
107596
  /**
106798
- * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, and by free-text search; requires read permission on streams.
107597
+ * 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.
106799
107598
  * @summary List an organization\'s stream inputs
106800
107599
  * @param {string} [eventId] Filter by eventId
106801
107600
  * @param {string} [sessionId] Filter by sessionId
106802
107601
  * @param {string} [groupId] Filter by groupId
106803
107602
  * @param {string} [meetingId] Filter by meetingId
107603
+ * @param {boolean} [connected] Filter by connected
107604
+ * @param {boolean} [attached] Filter by attached
106804
107605
  * @param {number} [page] Page number
106805
107606
  * @param {number} [pageSize] Number of items per page
106806
107607
  * @param {string} [orderBy] Field to order by
@@ -106808,7 +107609,7 @@ export const StreamsApiAxiosParamCreator = function (configuration) {
106808
107609
  * @param {*} [options] Override http request option.
106809
107610
  * @throws {RequiredError}
106810
107611
  */
106811
- getStreamInputs: (eventId_1, sessionId_1, groupId_1, meetingId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, sessionId_1, groupId_1, meetingId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, sessionId, groupId, meetingId, page, pageSize, orderBy, search, options = {}) {
107612
+ 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 = {}) {
106812
107613
  const localVarPath = `/streams`;
106813
107614
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
106814
107615
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -106835,6 +107636,12 @@ export const StreamsApiAxiosParamCreator = function (configuration) {
106835
107636
  if (meetingId !== undefined) {
106836
107637
  localVarQueryParameter['meetingId'] = meetingId;
106837
107638
  }
107639
+ if (connected !== undefined) {
107640
+ localVarQueryParameter['connected'] = connected;
107641
+ }
107642
+ if (attached !== undefined) {
107643
+ localVarQueryParameter['attached'] = attached;
107644
+ }
106838
107645
  if (page !== undefined) {
106839
107646
  localVarQueryParameter['page'] = page;
106840
107647
  }
@@ -107041,12 +107848,14 @@ export const StreamsApiFp = function (configuration) {
107041
107848
  });
107042
107849
  },
107043
107850
  /**
107044
- * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, and by free-text search; requires read permission on streams.
107851
+ * 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.
107045
107852
  * @summary List an organization\'s stream inputs
107046
107853
  * @param {string} [eventId] Filter by eventId
107047
107854
  * @param {string} [sessionId] Filter by sessionId
107048
107855
  * @param {string} [groupId] Filter by groupId
107049
107856
  * @param {string} [meetingId] Filter by meetingId
107857
+ * @param {boolean} [connected] Filter by connected
107858
+ * @param {boolean} [attached] Filter by attached
107050
107859
  * @param {number} [page] Page number
107051
107860
  * @param {number} [pageSize] Number of items per page
107052
107861
  * @param {string} [orderBy] Field to order by
@@ -107054,10 +107863,10 @@ export const StreamsApiFp = function (configuration) {
107054
107863
  * @param {*} [options] Override http request option.
107055
107864
  * @throws {RequiredError}
107056
107865
  */
107057
- getStreamInputs(eventId, sessionId, groupId, meetingId, page, pageSize, orderBy, search, options) {
107866
+ getStreamInputs(eventId, sessionId, groupId, meetingId, connected, attached, page, pageSize, orderBy, search, options) {
107058
107867
  return __awaiter(this, void 0, void 0, function* () {
107059
107868
  var _a, _b, _c;
107060
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getStreamInputs(eventId, sessionId, groupId, meetingId, page, pageSize, orderBy, search, options);
107869
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getStreamInputs(eventId, sessionId, groupId, meetingId, connected, attached, page, pageSize, orderBy, search, options);
107061
107870
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
107062
107871
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsApi.getStreamInputs']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
107063
107872
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -107156,14 +107965,14 @@ export const StreamsApiFactory = function (configuration, basePath, axios) {
107156
107965
  return localVarFp.getStreamInput(requestParameters.streamId, options).then((request) => request(axios, basePath));
107157
107966
  },
107158
107967
  /**
107159
- * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, and by free-text search; requires read permission on streams.
107968
+ * 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.
107160
107969
  * @summary List an organization\'s stream inputs
107161
107970
  * @param {StreamsApiGetStreamInputsRequest} requestParameters Request parameters.
107162
107971
  * @param {*} [options] Override http request option.
107163
107972
  * @throws {RequiredError}
107164
107973
  */
107165
107974
  getStreamInputs(requestParameters = {}, options) {
107166
- return localVarFp.getStreamInputs(requestParameters.eventId, requestParameters.sessionId, requestParameters.groupId, requestParameters.meetingId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
107975
+ 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));
107167
107976
  },
107168
107977
  /**
107169
107978
  * 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.
@@ -107232,14 +108041,14 @@ export class StreamsApi extends BaseAPI {
107232
108041
  return StreamsApiFp(this.configuration).getStreamInput(requestParameters.streamId, options).then((request) => request(this.axios, this.basePath));
107233
108042
  }
107234
108043
  /**
107235
- * Returns a paginated list of stream inputs for the organization, filterable by associated event, session, group, or meeting, and by free-text search; requires read permission on streams.
108044
+ * 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.
107236
108045
  * @summary List an organization\'s stream inputs
107237
108046
  * @param {StreamsApiGetStreamInputsRequest} requestParameters Request parameters.
107238
108047
  * @param {*} [options] Override http request option.
107239
108048
  * @throws {RequiredError}
107240
108049
  */
107241
108050
  getStreamInputs(requestParameters = {}, options) {
107242
- return StreamsApiFp(this.configuration).getStreamInputs(requestParameters.eventId, requestParameters.sessionId, requestParameters.groupId, requestParameters.meetingId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
108051
+ 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));
107243
108052
  }
107244
108053
  /**
107245
108054
  * 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.
@@ -107697,6 +108506,426 @@ export class StreamsOutputsApi extends BaseAPI {
107697
108506
  return StreamsOutputsApiFp(this.configuration).updateStreamInputOutput(requestParameters.streamId, requestParameters.outputId, requestParameters.streamInputOutputUpdateInputs, options).then((request) => request(this.axios, this.basePath));
107698
108507
  }
107699
108508
  }
108509
+ /**
108510
+ * StreamsReplaysApi - axios parameter creator
108511
+ */
108512
+ export const StreamsReplaysApiAxiosParamCreator = function (configuration) {
108513
+ return {
108514
+ /**
108515
+ * Attaches a video from storage as a replay to exactly one session, event or group; a video can be a replay on several targets, but only once on each (a repeat returns 400 \"Replay already exists\"). Requires create permission on streams.
108516
+ * @summary Add a video as a replay
108517
+ * @param {ReplayCreateInputs} replayCreateInputs
108518
+ * @param {*} [options] Override http request option.
108519
+ * @throws {RequiredError}
108520
+ */
108521
+ createReplay: (replayCreateInputs_1, ...args_1) => __awaiter(this, [replayCreateInputs_1, ...args_1], void 0, function* (replayCreateInputs, options = {}) {
108522
+ // verify required parameter 'replayCreateInputs' is not null or undefined
108523
+ assertParamExists('createReplay', 'replayCreateInputs', replayCreateInputs);
108524
+ const localVarPath = `/replays`;
108525
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
108526
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
108527
+ let baseOptions;
108528
+ if (configuration) {
108529
+ baseOptions = configuration.baseOptions;
108530
+ }
108531
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
108532
+ const localVarHeaderParameter = {};
108533
+ const localVarQueryParameter = {};
108534
+ // authentication ApiKeyAuth required
108535
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
108536
+ // authentication OrganizationId required
108537
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
108538
+ localVarHeaderParameter['Content-Type'] = 'application/json';
108539
+ localVarHeaderParameter['Accept'] = 'application/json';
108540
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
108541
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
108542
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
108543
+ localVarRequestOptions.data = serializeDataIfNeeded(replayCreateInputs, localVarRequestOptions, configuration);
108544
+ return {
108545
+ url: toPathString(localVarUrlObj),
108546
+ options: localVarRequestOptions,
108547
+ };
108548
+ }),
108549
+ /**
108550
+ * Detaches a replay from its session, event or group; the video stays in storage. Requires delete permission on streams.
108551
+ * @summary Remove a replay
108552
+ * @param {string} replayId The replay identifier
108553
+ * @param {*} [options] Override http request option.
108554
+ * @throws {RequiredError}
108555
+ */
108556
+ deleteReplay: (replayId_1, ...args_1) => __awaiter(this, [replayId_1, ...args_1], void 0, function* (replayId, options = {}) {
108557
+ // verify required parameter 'replayId' is not null or undefined
108558
+ assertParamExists('deleteReplay', 'replayId', replayId);
108559
+ const localVarPath = `/replays/{replayId}`
108560
+ .replace('{replayId}', encodeURIComponent(String(replayId)));
108561
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
108562
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
108563
+ let baseOptions;
108564
+ if (configuration) {
108565
+ baseOptions = configuration.baseOptions;
108566
+ }
108567
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
108568
+ const localVarHeaderParameter = {};
108569
+ const localVarQueryParameter = {};
108570
+ // authentication ApiKeyAuth required
108571
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
108572
+ // authentication OrganizationId required
108573
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
108574
+ localVarHeaderParameter['Accept'] = 'application/json';
108575
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
108576
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
108577
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
108578
+ return {
108579
+ url: toPathString(localVarUrlObj),
108580
+ options: localVarRequestOptions,
108581
+ };
108582
+ }),
108583
+ /**
108584
+ * Returns a single replay with its video and the name of the session, event or group it is attached to; requires read permission on streams.
108585
+ * @summary Get a replay
108586
+ * @param {string} replayId The replay identifier
108587
+ * @param {*} [options] Override http request option.
108588
+ * @throws {RequiredError}
108589
+ */
108590
+ getReplay: (replayId_1, ...args_1) => __awaiter(this, [replayId_1, ...args_1], void 0, function* (replayId, options = {}) {
108591
+ // verify required parameter 'replayId' is not null or undefined
108592
+ assertParamExists('getReplay', 'replayId', replayId);
108593
+ const localVarPath = `/replays/{replayId}`
108594
+ .replace('{replayId}', encodeURIComponent(String(replayId)));
108595
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
108596
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
108597
+ let baseOptions;
108598
+ if (configuration) {
108599
+ baseOptions = configuration.baseOptions;
108600
+ }
108601
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
108602
+ const localVarHeaderParameter = {};
108603
+ const localVarQueryParameter = {};
108604
+ // authentication ApiKeyAuth required
108605
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
108606
+ // authentication OrganizationId required
108607
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
108608
+ localVarHeaderParameter['Accept'] = 'application/json';
108609
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
108610
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
108611
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
108612
+ return {
108613
+ url: toPathString(localVarUrlObj),
108614
+ options: localVarRequestOptions,
108615
+ };
108616
+ }),
108617
+ /**
108618
+ * Returns a paginated list of the organization\'s replays, newest first, each with its video and the name of the session, event or group it is attached to, filterable by session, event, group or video; requires read permission on streams.
108619
+ * @summary List replays
108620
+ * @param {string} [sessionId] Filter by sessionId
108621
+ * @param {string} [eventId] Filter by eventId
108622
+ * @param {string} [groupId] Filter by groupId
108623
+ * @param {string} [videoId] Filter by videoId
108624
+ * @param {number} [page] Page number
108625
+ * @param {number} [pageSize] Number of items per page
108626
+ * @param {string} [orderBy] Field to order by
108627
+ * @param {string} [search] Search query
108628
+ * @param {*} [options] Override http request option.
108629
+ * @throws {RequiredError}
108630
+ */
108631
+ getReplays: (sessionId_1, eventId_1, groupId_1, videoId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [sessionId_1, eventId_1, groupId_1, videoId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (sessionId, eventId, groupId, videoId, page, pageSize, orderBy, search, options = {}) {
108632
+ const localVarPath = `/replays`;
108633
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
108634
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
108635
+ let baseOptions;
108636
+ if (configuration) {
108637
+ baseOptions = configuration.baseOptions;
108638
+ }
108639
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
108640
+ const localVarHeaderParameter = {};
108641
+ const localVarQueryParameter = {};
108642
+ // authentication ApiKeyAuth required
108643
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
108644
+ // authentication OrganizationId required
108645
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
108646
+ if (sessionId !== undefined) {
108647
+ localVarQueryParameter['sessionId'] = sessionId;
108648
+ }
108649
+ if (eventId !== undefined) {
108650
+ localVarQueryParameter['eventId'] = eventId;
108651
+ }
108652
+ if (groupId !== undefined) {
108653
+ localVarQueryParameter['groupId'] = groupId;
108654
+ }
108655
+ if (videoId !== undefined) {
108656
+ localVarQueryParameter['videoId'] = videoId;
108657
+ }
108658
+ if (page !== undefined) {
108659
+ localVarQueryParameter['page'] = page;
108660
+ }
108661
+ if (pageSize !== undefined) {
108662
+ localVarQueryParameter['pageSize'] = pageSize;
108663
+ }
108664
+ if (orderBy !== undefined) {
108665
+ localVarQueryParameter['orderBy'] = orderBy;
108666
+ }
108667
+ if (search !== undefined) {
108668
+ localVarQueryParameter['search'] = search;
108669
+ }
108670
+ localVarHeaderParameter['Accept'] = 'application/json';
108671
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
108672
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
108673
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
108674
+ return {
108675
+ url: toPathString(localVarUrlObj),
108676
+ options: localVarRequestOptions,
108677
+ };
108678
+ }),
108679
+ /**
108680
+ * Moves a replay to exactly one other session, event or group in the organization; the video itself is unchanged. Requires update permission on streams.
108681
+ * @summary Move a replay
108682
+ * @param {string} replayId The replay identifier
108683
+ * @param {ReplayUpdateInputs} replayUpdateInputs
108684
+ * @param {*} [options] Override http request option.
108685
+ * @throws {RequiredError}
108686
+ */
108687
+ updateReplay: (replayId_1, replayUpdateInputs_1, ...args_1) => __awaiter(this, [replayId_1, replayUpdateInputs_1, ...args_1], void 0, function* (replayId, replayUpdateInputs, options = {}) {
108688
+ // verify required parameter 'replayId' is not null or undefined
108689
+ assertParamExists('updateReplay', 'replayId', replayId);
108690
+ // verify required parameter 'replayUpdateInputs' is not null or undefined
108691
+ assertParamExists('updateReplay', 'replayUpdateInputs', replayUpdateInputs);
108692
+ const localVarPath = `/replays/{replayId}`
108693
+ .replace('{replayId}', encodeURIComponent(String(replayId)));
108694
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
108695
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
108696
+ let baseOptions;
108697
+ if (configuration) {
108698
+ baseOptions = configuration.baseOptions;
108699
+ }
108700
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
108701
+ const localVarHeaderParameter = {};
108702
+ const localVarQueryParameter = {};
108703
+ // authentication ApiKeyAuth required
108704
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
108705
+ // authentication OrganizationId required
108706
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
108707
+ localVarHeaderParameter['Content-Type'] = 'application/json';
108708
+ localVarHeaderParameter['Accept'] = 'application/json';
108709
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
108710
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
108711
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
108712
+ localVarRequestOptions.data = serializeDataIfNeeded(replayUpdateInputs, localVarRequestOptions, configuration);
108713
+ return {
108714
+ url: toPathString(localVarUrlObj),
108715
+ options: localVarRequestOptions,
108716
+ };
108717
+ }),
108718
+ };
108719
+ };
108720
+ /**
108721
+ * StreamsReplaysApi - functional programming interface
108722
+ */
108723
+ export const StreamsReplaysApiFp = function (configuration) {
108724
+ const localVarAxiosParamCreator = StreamsReplaysApiAxiosParamCreator(configuration);
108725
+ return {
108726
+ /**
108727
+ * Attaches a video from storage as a replay to exactly one session, event or group; a video can be a replay on several targets, but only once on each (a repeat returns 400 \"Replay already exists\"). Requires create permission on streams.
108728
+ * @summary Add a video as a replay
108729
+ * @param {ReplayCreateInputs} replayCreateInputs
108730
+ * @param {*} [options] Override http request option.
108731
+ * @throws {RequiredError}
108732
+ */
108733
+ createReplay(replayCreateInputs, options) {
108734
+ return __awaiter(this, void 0, void 0, function* () {
108735
+ var _a, _b, _c;
108736
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.createReplay(replayCreateInputs, options);
108737
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
108738
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsReplaysApi.createReplay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
108739
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
108740
+ });
108741
+ },
108742
+ /**
108743
+ * Detaches a replay from its session, event or group; the video stays in storage. Requires delete permission on streams.
108744
+ * @summary Remove a replay
108745
+ * @param {string} replayId The replay identifier
108746
+ * @param {*} [options] Override http request option.
108747
+ * @throws {RequiredError}
108748
+ */
108749
+ deleteReplay(replayId, options) {
108750
+ return __awaiter(this, void 0, void 0, function* () {
108751
+ var _a, _b, _c;
108752
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteReplay(replayId, options);
108753
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
108754
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsReplaysApi.deleteReplay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
108755
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
108756
+ });
108757
+ },
108758
+ /**
108759
+ * Returns a single replay with its video and the name of the session, event or group it is attached to; requires read permission on streams.
108760
+ * @summary Get a replay
108761
+ * @param {string} replayId The replay identifier
108762
+ * @param {*} [options] Override http request option.
108763
+ * @throws {RequiredError}
108764
+ */
108765
+ getReplay(replayId, options) {
108766
+ return __awaiter(this, void 0, void 0, function* () {
108767
+ var _a, _b, _c;
108768
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getReplay(replayId, options);
108769
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
108770
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsReplaysApi.getReplay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
108771
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
108772
+ });
108773
+ },
108774
+ /**
108775
+ * Returns a paginated list of the organization\'s replays, newest first, each with its video and the name of the session, event or group it is attached to, filterable by session, event, group or video; requires read permission on streams.
108776
+ * @summary List replays
108777
+ * @param {string} [sessionId] Filter by sessionId
108778
+ * @param {string} [eventId] Filter by eventId
108779
+ * @param {string} [groupId] Filter by groupId
108780
+ * @param {string} [videoId] Filter by videoId
108781
+ * @param {number} [page] Page number
108782
+ * @param {number} [pageSize] Number of items per page
108783
+ * @param {string} [orderBy] Field to order by
108784
+ * @param {string} [search] Search query
108785
+ * @param {*} [options] Override http request option.
108786
+ * @throws {RequiredError}
108787
+ */
108788
+ getReplays(sessionId, eventId, groupId, videoId, page, pageSize, orderBy, search, options) {
108789
+ return __awaiter(this, void 0, void 0, function* () {
108790
+ var _a, _b, _c;
108791
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getReplays(sessionId, eventId, groupId, videoId, page, pageSize, orderBy, search, options);
108792
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
108793
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsReplaysApi.getReplays']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
108794
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
108795
+ });
108796
+ },
108797
+ /**
108798
+ * Moves a replay to exactly one other session, event or group in the organization; the video itself is unchanged. Requires update permission on streams.
108799
+ * @summary Move a replay
108800
+ * @param {string} replayId The replay identifier
108801
+ * @param {ReplayUpdateInputs} replayUpdateInputs
108802
+ * @param {*} [options] Override http request option.
108803
+ * @throws {RequiredError}
108804
+ */
108805
+ updateReplay(replayId, replayUpdateInputs, options) {
108806
+ return __awaiter(this, void 0, void 0, function* () {
108807
+ var _a, _b, _c;
108808
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateReplay(replayId, replayUpdateInputs, options);
108809
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
108810
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['StreamsReplaysApi.updateReplay']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
108811
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
108812
+ });
108813
+ },
108814
+ };
108815
+ };
108816
+ /**
108817
+ * StreamsReplaysApi - factory interface
108818
+ */
108819
+ export const StreamsReplaysApiFactory = function (configuration, basePath, axios) {
108820
+ const localVarFp = StreamsReplaysApiFp(configuration);
108821
+ return {
108822
+ /**
108823
+ * Attaches a video from storage as a replay to exactly one session, event or group; a video can be a replay on several targets, but only once on each (a repeat returns 400 \"Replay already exists\"). Requires create permission on streams.
108824
+ * @summary Add a video as a replay
108825
+ * @param {StreamsReplaysApiCreateReplayRequest} requestParameters Request parameters.
108826
+ * @param {*} [options] Override http request option.
108827
+ * @throws {RequiredError}
108828
+ */
108829
+ createReplay(requestParameters, options) {
108830
+ return localVarFp.createReplay(requestParameters.replayCreateInputs, options).then((request) => request(axios, basePath));
108831
+ },
108832
+ /**
108833
+ * Detaches a replay from its session, event or group; the video stays in storage. Requires delete permission on streams.
108834
+ * @summary Remove a replay
108835
+ * @param {StreamsReplaysApiDeleteReplayRequest} requestParameters Request parameters.
108836
+ * @param {*} [options] Override http request option.
108837
+ * @throws {RequiredError}
108838
+ */
108839
+ deleteReplay(requestParameters, options) {
108840
+ return localVarFp.deleteReplay(requestParameters.replayId, options).then((request) => request(axios, basePath));
108841
+ },
108842
+ /**
108843
+ * Returns a single replay with its video and the name of the session, event or group it is attached to; requires read permission on streams.
108844
+ * @summary Get a replay
108845
+ * @param {StreamsReplaysApiGetReplayRequest} requestParameters Request parameters.
108846
+ * @param {*} [options] Override http request option.
108847
+ * @throws {RequiredError}
108848
+ */
108849
+ getReplay(requestParameters, options) {
108850
+ return localVarFp.getReplay(requestParameters.replayId, options).then((request) => request(axios, basePath));
108851
+ },
108852
+ /**
108853
+ * Returns a paginated list of the organization\'s replays, newest first, each with its video and the name of the session, event or group it is attached to, filterable by session, event, group or video; requires read permission on streams.
108854
+ * @summary List replays
108855
+ * @param {StreamsReplaysApiGetReplaysRequest} requestParameters Request parameters.
108856
+ * @param {*} [options] Override http request option.
108857
+ * @throws {RequiredError}
108858
+ */
108859
+ getReplays(requestParameters = {}, options) {
108860
+ return localVarFp.getReplays(requestParameters.sessionId, requestParameters.eventId, requestParameters.groupId, requestParameters.videoId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
108861
+ },
108862
+ /**
108863
+ * Moves a replay to exactly one other session, event or group in the organization; the video itself is unchanged. Requires update permission on streams.
108864
+ * @summary Move a replay
108865
+ * @param {StreamsReplaysApiUpdateReplayRequest} requestParameters Request parameters.
108866
+ * @param {*} [options] Override http request option.
108867
+ * @throws {RequiredError}
108868
+ */
108869
+ updateReplay(requestParameters, options) {
108870
+ return localVarFp.updateReplay(requestParameters.replayId, requestParameters.replayUpdateInputs, options).then((request) => request(axios, basePath));
108871
+ },
108872
+ };
108873
+ };
108874
+ /**
108875
+ * StreamsReplaysApi - object-oriented interface
108876
+ */
108877
+ export class StreamsReplaysApi extends BaseAPI {
108878
+ /**
108879
+ * Attaches a video from storage as a replay to exactly one session, event or group; a video can be a replay on several targets, but only once on each (a repeat returns 400 \"Replay already exists\"). Requires create permission on streams.
108880
+ * @summary Add a video as a replay
108881
+ * @param {StreamsReplaysApiCreateReplayRequest} requestParameters Request parameters.
108882
+ * @param {*} [options] Override http request option.
108883
+ * @throws {RequiredError}
108884
+ */
108885
+ createReplay(requestParameters, options) {
108886
+ return StreamsReplaysApiFp(this.configuration).createReplay(requestParameters.replayCreateInputs, options).then((request) => request(this.axios, this.basePath));
108887
+ }
108888
+ /**
108889
+ * Detaches a replay from its session, event or group; the video stays in storage. Requires delete permission on streams.
108890
+ * @summary Remove a replay
108891
+ * @param {StreamsReplaysApiDeleteReplayRequest} requestParameters Request parameters.
108892
+ * @param {*} [options] Override http request option.
108893
+ * @throws {RequiredError}
108894
+ */
108895
+ deleteReplay(requestParameters, options) {
108896
+ return StreamsReplaysApiFp(this.configuration).deleteReplay(requestParameters.replayId, options).then((request) => request(this.axios, this.basePath));
108897
+ }
108898
+ /**
108899
+ * Returns a single replay with its video and the name of the session, event or group it is attached to; requires read permission on streams.
108900
+ * @summary Get a replay
108901
+ * @param {StreamsReplaysApiGetReplayRequest} requestParameters Request parameters.
108902
+ * @param {*} [options] Override http request option.
108903
+ * @throws {RequiredError}
108904
+ */
108905
+ getReplay(requestParameters, options) {
108906
+ return StreamsReplaysApiFp(this.configuration).getReplay(requestParameters.replayId, options).then((request) => request(this.axios, this.basePath));
108907
+ }
108908
+ /**
108909
+ * Returns a paginated list of the organization\'s replays, newest first, each with its video and the name of the session, event or group it is attached to, filterable by session, event, group or video; requires read permission on streams.
108910
+ * @summary List replays
108911
+ * @param {StreamsReplaysApiGetReplaysRequest} requestParameters Request parameters.
108912
+ * @param {*} [options] Override http request option.
108913
+ * @throws {RequiredError}
108914
+ */
108915
+ getReplays(requestParameters = {}, options) {
108916
+ return StreamsReplaysApiFp(this.configuration).getReplays(requestParameters.sessionId, requestParameters.eventId, requestParameters.groupId, requestParameters.videoId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
108917
+ }
108918
+ /**
108919
+ * Moves a replay to exactly one other session, event or group in the organization; the video itself is unchanged. Requires update permission on streams.
108920
+ * @summary Move a replay
108921
+ * @param {StreamsReplaysApiUpdateReplayRequest} requestParameters Request parameters.
108922
+ * @param {*} [options] Override http request option.
108923
+ * @throws {RequiredError}
108924
+ */
108925
+ updateReplay(requestParameters, options) {
108926
+ return StreamsReplaysApiFp(this.configuration).updateReplay(requestParameters.replayId, requestParameters.replayUpdateInputs, options).then((request) => request(this.axios, this.basePath));
108927
+ }
108928
+ }
107700
108929
  /**
107701
108930
  * StreamsSessionsApi - axios parameter creator
107702
108931
  */