@connectedxm/admin-sdk 16.14.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.
- package/.openapi-generator/FILES +2 -0
- package/AdminApi.ts +6 -0
- package/README.md +2 -2
- package/api.ts +1053 -9
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/AdminApi.d.ts +3 -1
- package/dist/AdminApi.js +2 -0
- package/dist/api.d.ts +544 -9
- package/dist/api.js +823 -24
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/AdminApi.d.ts +3 -1
- package/dist/esm/AdminApi.js +3 -1
- package/dist/esm/api.d.ts +544 -9
- package/dist/esm/api.js +800 -9
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/ChannelsInterestsApi.md +364 -0
- package/docs/EventsInterestsApi.md +181 -0
- package/docs/GroupsInterestsApi.md +2 -2
- 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.
|
|
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).
|
|
@@ -23448,6 +23448,529 @@ export var GetContentsTypeEnum;
|
|
|
23448
23448
|
GetContentsTypeEnum["Audio"] = "audio";
|
|
23449
23449
|
GetContentsTypeEnum["Article"] = "article";
|
|
23450
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
|
+
}
|
|
23451
23974
|
/**
|
|
23452
23975
|
* ChannelsTranslationsApi - axios parameter creator
|
|
23453
23976
|
*/
|
|
@@ -37324,6 +37847,274 @@ export class EventsGroupcouponreminderApi extends BaseAPI {
|
|
|
37324
37847
|
return EventsGroupcouponreminderApiFp(this.configuration).updateEventGroupCouponReminder(requestParameters.eventId, requestParameters.eventGroupCouponReminderUpdateInputs, options).then((request) => request(this.axios, this.basePath));
|
|
37325
37848
|
}
|
|
37326
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
|
+
}
|
|
37327
38118
|
/**
|
|
37328
38119
|
* EventsMatchesApi - axios parameter creator
|
|
37329
38120
|
*/
|
|
@@ -79154,7 +79945,7 @@ export class GroupsEventsApi extends BaseAPI {
|
|
|
79154
79945
|
export const GroupsInterestsApiAxiosParamCreator = function (configuration) {
|
|
79155
79946
|
return {
|
|
79156
79947
|
/**
|
|
79157
|
-
* 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
|
|
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.
|
|
79158
79949
|
* @summary Add an interest to a group
|
|
79159
79950
|
* @param {string} groupId The group identifier
|
|
79160
79951
|
* @param {string} interestId The interest identifier
|
|
@@ -79242,7 +80033,7 @@ export const GroupsInterestsApiAxiosParamCreator = function (configuration) {
|
|
|
79242
80033
|
};
|
|
79243
80034
|
}),
|
|
79244
80035
|
/**
|
|
79245
|
-
* 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
|
|
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.
|
|
79246
80037
|
* @summary Remove an interest from a group
|
|
79247
80038
|
* @param {string} groupId The group identifier
|
|
79248
80039
|
* @param {string} accountId The account identifier
|
|
@@ -79288,7 +80079,7 @@ export const GroupsInterestsApiFp = function (configuration) {
|
|
|
79288
80079
|
const localVarAxiosParamCreator = GroupsInterestsApiAxiosParamCreator(configuration);
|
|
79289
80080
|
return {
|
|
79290
80081
|
/**
|
|
79291
|
-
* 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
|
|
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.
|
|
79292
80083
|
* @summary Add an interest to a group
|
|
79293
80084
|
* @param {string} groupId The group identifier
|
|
79294
80085
|
* @param {string} interestId The interest identifier
|
|
@@ -79325,7 +80116,7 @@ export const GroupsInterestsApiFp = function (configuration) {
|
|
|
79325
80116
|
});
|
|
79326
80117
|
},
|
|
79327
80118
|
/**
|
|
79328
|
-
* 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
|
|
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.
|
|
79329
80120
|
* @summary Remove an interest from a group
|
|
79330
80121
|
* @param {string} groupId The group identifier
|
|
79331
80122
|
* @param {string} accountId The account identifier
|
|
@@ -79350,7 +80141,7 @@ export const GroupsInterestsApiFactory = function (configuration, basePath, axio
|
|
|
79350
80141
|
const localVarFp = GroupsInterestsApiFp(configuration);
|
|
79351
80142
|
return {
|
|
79352
80143
|
/**
|
|
79353
|
-
* 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
|
|
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.
|
|
79354
80145
|
* @summary Add an interest to a group
|
|
79355
80146
|
* @param {GroupsInterestsApiAddGroupInterestRequest} requestParameters Request parameters.
|
|
79356
80147
|
* @param {*} [options] Override http request option.
|
|
@@ -79370,7 +80161,7 @@ export const GroupsInterestsApiFactory = function (configuration, basePath, axio
|
|
|
79370
80161
|
return localVarFp.getGroupInterests(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
79371
80162
|
},
|
|
79372
80163
|
/**
|
|
79373
|
-
* 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
|
|
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.
|
|
79374
80165
|
* @summary Remove an interest from a group
|
|
79375
80166
|
* @param {GroupsInterestsApiRemoveGroupInterestRequest} requestParameters Request parameters.
|
|
79376
80167
|
* @param {*} [options] Override http request option.
|
|
@@ -79386,7 +80177,7 @@ export const GroupsInterestsApiFactory = function (configuration, basePath, axio
|
|
|
79386
80177
|
*/
|
|
79387
80178
|
export class GroupsInterestsApi extends BaseAPI {
|
|
79388
80179
|
/**
|
|
79389
|
-
* 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
|
|
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.
|
|
79390
80181
|
* @summary Add an interest to a group
|
|
79391
80182
|
* @param {GroupsInterestsApiAddGroupInterestRequest} requestParameters Request parameters.
|
|
79392
80183
|
* @param {*} [options] Override http request option.
|
|
@@ -79406,7 +80197,7 @@ export class GroupsInterestsApi extends BaseAPI {
|
|
|
79406
80197
|
return GroupsInterestsApiFp(this.configuration).getGroupInterests(requestParameters.groupId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
79407
80198
|
}
|
|
79408
80199
|
/**
|
|
79409
|
-
* 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
|
|
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.
|
|
79410
80201
|
* @summary Remove an interest from a group
|
|
79411
80202
|
* @param {GroupsInterestsApiRemoveGroupInterestRequest} requestParameters Request parameters.
|
|
79412
80203
|
* @param {*} [options] Override http request option.
|