@connectedxm/admin-sdk 12.2.0 → 12.3.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 +1 -0
- package/README.md +2 -2
- package/api.ts +488 -95
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +272 -46
- package/dist/api.js +244 -78
- 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/api.d.ts +272 -46
- package/dist/esm/api.js +244 -78
- 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/AnnouncementsApi.md +13 -5
- package/docs/AnnouncementsAudiencesApi.md +16 -5
- package/docs/BaseStandardReport.md +1 -1
- package/docs/CustomReportCreateInputs.md +6 -0
- package/docs/NotificationsApi.md +20 -10
- package/docs/OrganizationApi.md +19 -5
- package/docs/ReportFilters.md +6 -0
- package/docs/ReportsApi.md +68 -10
- package/docs/StandardReport.md +2 -2
- package/docs/StandardReportAllOfNextCursor.md +18 -0
- 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: 12.
|
|
7
|
+
* The version of the OpenAPI document: 12.3.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -9532,7 +9532,10 @@ export const AnnouncementsApiAxiosParamCreator = function (configuration) {
|
|
|
9532
9532
|
/**
|
|
9533
9533
|
* Returns a paginated list of announcements for the organization, optionally filtered to one event, one group, community announcements only, or those using one audience, with search and ordering support; requires read permission on announcements.
|
|
9534
9534
|
* @summary List announcements
|
|
9535
|
-
* @param {
|
|
9535
|
+
* @param {string} [eventId] Filter by eventId
|
|
9536
|
+
* @param {string} [groupId] Filter by groupId
|
|
9537
|
+
* @param {string} [audienceId] Filter by audienceId
|
|
9538
|
+
* @param {boolean} [community] Filter by community
|
|
9536
9539
|
* @param {number} [page] Page number
|
|
9537
9540
|
* @param {number} [pageSize] Number of items per page
|
|
9538
9541
|
* @param {string} [orderBy] Field to order by
|
|
@@ -9540,7 +9543,7 @@ export const AnnouncementsApiAxiosParamCreator = function (configuration) {
|
|
|
9540
9543
|
* @param {*} [options] Override http request option.
|
|
9541
9544
|
* @throws {RequiredError}
|
|
9542
9545
|
*/
|
|
9543
|
-
getAnnouncements: (
|
|
9546
|
+
getAnnouncements: (eventId_1, groupId_1, audienceId_1, community_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, groupId_1, audienceId_1, community_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, groupId, audienceId, community, page, pageSize, orderBy, search, options = {}) {
|
|
9544
9547
|
const localVarPath = `/announcements`;
|
|
9545
9548
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9546
9549
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -9555,10 +9558,17 @@ export const AnnouncementsApiAxiosParamCreator = function (configuration) {
|
|
|
9555
9558
|
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
9556
9559
|
// authentication OrganizationId required
|
|
9557
9560
|
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
9558
|
-
if (
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9561
|
+
if (eventId !== undefined) {
|
|
9562
|
+
localVarQueryParameter['eventId'] = eventId;
|
|
9563
|
+
}
|
|
9564
|
+
if (groupId !== undefined) {
|
|
9565
|
+
localVarQueryParameter['groupId'] = groupId;
|
|
9566
|
+
}
|
|
9567
|
+
if (audienceId !== undefined) {
|
|
9568
|
+
localVarQueryParameter['audienceId'] = audienceId;
|
|
9569
|
+
}
|
|
9570
|
+
if (community !== undefined) {
|
|
9571
|
+
localVarQueryParameter['community'] = community;
|
|
9562
9572
|
}
|
|
9563
9573
|
if (page !== undefined) {
|
|
9564
9574
|
localVarQueryParameter['page'] = page;
|
|
@@ -9772,7 +9782,10 @@ export const AnnouncementsApiFp = function (configuration) {
|
|
|
9772
9782
|
/**
|
|
9773
9783
|
* Returns a paginated list of announcements for the organization, optionally filtered to one event, one group, community announcements only, or those using one audience, with search and ordering support; requires read permission on announcements.
|
|
9774
9784
|
* @summary List announcements
|
|
9775
|
-
* @param {
|
|
9785
|
+
* @param {string} [eventId] Filter by eventId
|
|
9786
|
+
* @param {string} [groupId] Filter by groupId
|
|
9787
|
+
* @param {string} [audienceId] Filter by audienceId
|
|
9788
|
+
* @param {boolean} [community] Filter by community
|
|
9776
9789
|
* @param {number} [page] Page number
|
|
9777
9790
|
* @param {number} [pageSize] Number of items per page
|
|
9778
9791
|
* @param {string} [orderBy] Field to order by
|
|
@@ -9780,10 +9793,10 @@ export const AnnouncementsApiFp = function (configuration) {
|
|
|
9780
9793
|
* @param {*} [options] Override http request option.
|
|
9781
9794
|
* @throws {RequiredError}
|
|
9782
9795
|
*/
|
|
9783
|
-
getAnnouncements(
|
|
9796
|
+
getAnnouncements(eventId, groupId, audienceId, community, page, pageSize, orderBy, search, options) {
|
|
9784
9797
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9785
9798
|
var _a, _b, _c;
|
|
9786
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAnnouncements(
|
|
9799
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAnnouncements(eventId, groupId, audienceId, community, page, pageSize, orderBy, search, options);
|
|
9787
9800
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
9788
9801
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnnouncementsApi.getAnnouncements']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
9789
9802
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -9898,7 +9911,7 @@ export const AnnouncementsApiFactory = function (configuration, basePath, axios)
|
|
|
9898
9911
|
* @throws {RequiredError}
|
|
9899
9912
|
*/
|
|
9900
9913
|
getAnnouncements(requestParameters = {}, options) {
|
|
9901
|
-
return localVarFp.getAnnouncements(requestParameters.
|
|
9914
|
+
return localVarFp.getAnnouncements(requestParameters.eventId, requestParameters.groupId, requestParameters.audienceId, requestParameters.community, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
9902
9915
|
},
|
|
9903
9916
|
/**
|
|
9904
9917
|
* Emails a preview of the announcement to the signed-in admin. Pass accountId to fill in merge fields as that account would see them; the preview still goes to the admin, never to the account. Fails if the announcement has no HTML content yet; requires create permission on announcements.
|
|
@@ -9993,7 +10006,7 @@ export class AnnouncementsApi extends BaseAPI {
|
|
|
9993
10006
|
* @throws {RequiredError}
|
|
9994
10007
|
*/
|
|
9995
10008
|
getAnnouncements(requestParameters = {}, options) {
|
|
9996
|
-
return AnnouncementsApiFp(this.configuration).getAnnouncements(requestParameters.
|
|
10009
|
+
return AnnouncementsApiFp(this.configuration).getAnnouncements(requestParameters.eventId, requestParameters.groupId, requestParameters.audienceId, requestParameters.community, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
9997
10010
|
}
|
|
9998
10011
|
/**
|
|
9999
10012
|
* Emails a preview of the announcement to the signed-in admin. Pass accountId to fill in merge fields as that account would see them; the preview still goes to the admin, never to the account. Fails if the announcement has no HTML content yet; requires create permission on announcements.
|
|
@@ -10339,7 +10352,11 @@ export const AnnouncementsAudiencesApiAxiosParamCreator = function (configuratio
|
|
|
10339
10352
|
/**
|
|
10340
10353
|
* Returns a paginated list of announcement audiences in one scope: pass an eventId, groupId or channelId for that scope\'s audiences, or none for community audiences. Active audiences by default, starred first; pass archived for the archived ones, or featured for starred ones only. requires read permission on announcements.
|
|
10341
10354
|
* @summary List announcement audiences
|
|
10342
|
-
* @param {
|
|
10355
|
+
* @param {string} [eventId] Filter by eventId
|
|
10356
|
+
* @param {string} [groupId] Filter by groupId
|
|
10357
|
+
* @param {string} [channelId] Filter by channelId
|
|
10358
|
+
* @param {boolean} [archived] Filter by archived
|
|
10359
|
+
* @param {boolean} [featured] Filter by featured
|
|
10343
10360
|
* @param {number} [page] Page number
|
|
10344
10361
|
* @param {number} [pageSize] Number of items per page
|
|
10345
10362
|
* @param {string} [orderBy] Field to order by
|
|
@@ -10347,7 +10364,7 @@ export const AnnouncementsAudiencesApiAxiosParamCreator = function (configuratio
|
|
|
10347
10364
|
* @param {*} [options] Override http request option.
|
|
10348
10365
|
* @throws {RequiredError}
|
|
10349
10366
|
*/
|
|
10350
|
-
getAnnouncementAudiences: (
|
|
10367
|
+
getAnnouncementAudiences: (eventId_1, groupId_1, channelId_1, archived_1, featured_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, groupId_1, channelId_1, archived_1, featured_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, groupId, channelId, archived, featured, page, pageSize, orderBy, search, options = {}) {
|
|
10351
10368
|
const localVarPath = `/announcements/audiences`;
|
|
10352
10369
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10353
10370
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10362,10 +10379,20 @@ export const AnnouncementsAudiencesApiAxiosParamCreator = function (configuratio
|
|
|
10362
10379
|
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
10363
10380
|
// authentication OrganizationId required
|
|
10364
10381
|
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
10365
|
-
if (
|
|
10366
|
-
|
|
10367
|
-
|
|
10368
|
-
|
|
10382
|
+
if (eventId !== undefined) {
|
|
10383
|
+
localVarQueryParameter['eventId'] = eventId;
|
|
10384
|
+
}
|
|
10385
|
+
if (groupId !== undefined) {
|
|
10386
|
+
localVarQueryParameter['groupId'] = groupId;
|
|
10387
|
+
}
|
|
10388
|
+
if (channelId !== undefined) {
|
|
10389
|
+
localVarQueryParameter['channelId'] = channelId;
|
|
10390
|
+
}
|
|
10391
|
+
if (archived !== undefined) {
|
|
10392
|
+
localVarQueryParameter['archived'] = archived;
|
|
10393
|
+
}
|
|
10394
|
+
if (featured !== undefined) {
|
|
10395
|
+
localVarQueryParameter['featured'] = featured;
|
|
10369
10396
|
}
|
|
10370
10397
|
if (page !== undefined) {
|
|
10371
10398
|
localVarQueryParameter['page'] = page;
|
|
@@ -10666,7 +10693,11 @@ export const AnnouncementsAudiencesApiFp = function (configuration) {
|
|
|
10666
10693
|
/**
|
|
10667
10694
|
* Returns a paginated list of announcement audiences in one scope: pass an eventId, groupId or channelId for that scope\'s audiences, or none for community audiences. Active audiences by default, starred first; pass archived for the archived ones, or featured for starred ones only. requires read permission on announcements.
|
|
10668
10695
|
* @summary List announcement audiences
|
|
10669
|
-
* @param {
|
|
10696
|
+
* @param {string} [eventId] Filter by eventId
|
|
10697
|
+
* @param {string} [groupId] Filter by groupId
|
|
10698
|
+
* @param {string} [channelId] Filter by channelId
|
|
10699
|
+
* @param {boolean} [archived] Filter by archived
|
|
10700
|
+
* @param {boolean} [featured] Filter by featured
|
|
10670
10701
|
* @param {number} [page] Page number
|
|
10671
10702
|
* @param {number} [pageSize] Number of items per page
|
|
10672
10703
|
* @param {string} [orderBy] Field to order by
|
|
@@ -10674,10 +10705,10 @@ export const AnnouncementsAudiencesApiFp = function (configuration) {
|
|
|
10674
10705
|
* @param {*} [options] Override http request option.
|
|
10675
10706
|
* @throws {RequiredError}
|
|
10676
10707
|
*/
|
|
10677
|
-
getAnnouncementAudiences(
|
|
10708
|
+
getAnnouncementAudiences(eventId, groupId, channelId, archived, featured, page, pageSize, orderBy, search, options) {
|
|
10678
10709
|
return __awaiter(this, void 0, void 0, function* () {
|
|
10679
10710
|
var _a, _b, _c;
|
|
10680
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAnnouncementAudiences(
|
|
10711
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getAnnouncementAudiences(eventId, groupId, channelId, archived, featured, page, pageSize, orderBy, search, options);
|
|
10681
10712
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
10682
10713
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['AnnouncementsAudiencesApi.getAnnouncementAudiences']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
10683
10714
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -10833,7 +10864,7 @@ export const AnnouncementsAudiencesApiFactory = function (configuration, basePat
|
|
|
10833
10864
|
* @throws {RequiredError}
|
|
10834
10865
|
*/
|
|
10835
10866
|
getAnnouncementAudiences(requestParameters = {}, options) {
|
|
10836
|
-
return localVarFp.getAnnouncementAudiences(requestParameters.
|
|
10867
|
+
return localVarFp.getAnnouncementAudiences(requestParameters.eventId, requestParameters.groupId, requestParameters.channelId, requestParameters.archived, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
10837
10868
|
},
|
|
10838
10869
|
/**
|
|
10839
10870
|
* Updates an audience\'s name, description, or root operator (how its top-level filter groups combine); requires update permission on announcements.
|
|
@@ -10959,7 +10990,7 @@ export class AnnouncementsAudiencesApi extends BaseAPI {
|
|
|
10959
10990
|
* @throws {RequiredError}
|
|
10960
10991
|
*/
|
|
10961
10992
|
getAnnouncementAudiences(requestParameters = {}, options) {
|
|
10962
|
-
return AnnouncementsAudiencesApiFp(this.configuration).getAnnouncementAudiences(requestParameters.
|
|
10993
|
+
return AnnouncementsAudiencesApiFp(this.configuration).getAnnouncementAudiences(requestParameters.eventId, requestParameters.groupId, requestParameters.channelId, requestParameters.archived, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
10963
10994
|
}
|
|
10964
10995
|
/**
|
|
10965
10996
|
* Updates an audience\'s name, description, or root operator (how its top-level filter groups combine); requires update permission on announcements.
|
|
@@ -85559,11 +85590,13 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
85559
85590
|
/**
|
|
85560
85591
|
* Returns the number of notifications for the current organization member, optionally filtered by read/unread status, source, or notification type, no special permission is required beyond authentication since results are scoped to the caller.
|
|
85561
85592
|
* @summary Count the caller\'s notifications
|
|
85562
|
-
* @param {
|
|
85593
|
+
* @param {boolean} [read] Filter by read
|
|
85594
|
+
* @param {AdminNotificationSource} [source] Filter by source
|
|
85595
|
+
* @param {AdminNotificationType} [type] Filter by type
|
|
85563
85596
|
* @param {*} [options] Override http request option.
|
|
85564
85597
|
* @throws {RequiredError}
|
|
85565
85598
|
*/
|
|
85566
|
-
getNotificationCount: (
|
|
85599
|
+
getNotificationCount: (read_1, source_1, type_1, ...args_1) => __awaiter(this, [read_1, source_1, type_1, ...args_1], void 0, function* (read, source, type, options = {}) {
|
|
85567
85600
|
const localVarPath = `/notifications/count`;
|
|
85568
85601
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
85569
85602
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -85578,10 +85611,14 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
85578
85611
|
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
85579
85612
|
// authentication OrganizationId required
|
|
85580
85613
|
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
85581
|
-
if (
|
|
85582
|
-
|
|
85583
|
-
|
|
85584
|
-
|
|
85614
|
+
if (read !== undefined) {
|
|
85615
|
+
localVarQueryParameter['read'] = read;
|
|
85616
|
+
}
|
|
85617
|
+
if (source !== undefined) {
|
|
85618
|
+
localVarQueryParameter['source'] = source;
|
|
85619
|
+
}
|
|
85620
|
+
if (type !== undefined) {
|
|
85621
|
+
localVarQueryParameter['type'] = type;
|
|
85585
85622
|
}
|
|
85586
85623
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
85587
85624
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -85625,7 +85662,9 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
85625
85662
|
/**
|
|
85626
85663
|
* Returns a paginated list of notifications for the authenticated organization member, filterable by read status, source, type, and search term; available to any authenticated organization member for their own notifications.
|
|
85627
85664
|
* @summary List the current member\'s notifications
|
|
85628
|
-
* @param {
|
|
85665
|
+
* @param {boolean} [read] Filter by read
|
|
85666
|
+
* @param {AdminNotificationSource} [source] Filter by source
|
|
85667
|
+
* @param {AdminNotificationType} [type] Filter by type
|
|
85629
85668
|
* @param {number} [page] Page number
|
|
85630
85669
|
* @param {number} [pageSize] Number of items per page
|
|
85631
85670
|
* @param {string} [orderBy] Field to order by
|
|
@@ -85633,7 +85672,7 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
85633
85672
|
* @param {*} [options] Override http request option.
|
|
85634
85673
|
* @throws {RequiredError}
|
|
85635
85674
|
*/
|
|
85636
|
-
getNotifications: (
|
|
85675
|
+
getNotifications: (read_1, source_1, type_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [read_1, source_1, type_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (read, source, type, page, pageSize, orderBy, search, options = {}) {
|
|
85637
85676
|
const localVarPath = `/notifications`;
|
|
85638
85677
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
85639
85678
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -85648,10 +85687,14 @@ export const NotificationsApiAxiosParamCreator = function (configuration) {
|
|
|
85648
85687
|
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
85649
85688
|
// authentication OrganizationId required
|
|
85650
85689
|
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
85651
|
-
if (
|
|
85652
|
-
|
|
85653
|
-
|
|
85654
|
-
|
|
85690
|
+
if (read !== undefined) {
|
|
85691
|
+
localVarQueryParameter['read'] = read;
|
|
85692
|
+
}
|
|
85693
|
+
if (source !== undefined) {
|
|
85694
|
+
localVarQueryParameter['source'] = source;
|
|
85695
|
+
}
|
|
85696
|
+
if (type !== undefined) {
|
|
85697
|
+
localVarQueryParameter['type'] = type;
|
|
85655
85698
|
}
|
|
85656
85699
|
if (page !== undefined) {
|
|
85657
85700
|
localVarQueryParameter['page'] = page;
|
|
@@ -85720,14 +85763,16 @@ export const NotificationsApiFp = function (configuration) {
|
|
|
85720
85763
|
/**
|
|
85721
85764
|
* Returns the number of notifications for the current organization member, optionally filtered by read/unread status, source, or notification type, no special permission is required beyond authentication since results are scoped to the caller.
|
|
85722
85765
|
* @summary Count the caller\'s notifications
|
|
85723
|
-
* @param {
|
|
85766
|
+
* @param {boolean} [read] Filter by read
|
|
85767
|
+
* @param {AdminNotificationSource} [source] Filter by source
|
|
85768
|
+
* @param {AdminNotificationType} [type] Filter by type
|
|
85724
85769
|
* @param {*} [options] Override http request option.
|
|
85725
85770
|
* @throws {RequiredError}
|
|
85726
85771
|
*/
|
|
85727
|
-
getNotificationCount(
|
|
85772
|
+
getNotificationCount(read, source, type, options) {
|
|
85728
85773
|
return __awaiter(this, void 0, void 0, function* () {
|
|
85729
85774
|
var _a, _b, _c;
|
|
85730
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getNotificationCount(
|
|
85775
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getNotificationCount(read, source, type, options);
|
|
85731
85776
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
85732
85777
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NotificationsApi.getNotificationCount']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
85733
85778
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -85751,7 +85796,9 @@ export const NotificationsApiFp = function (configuration) {
|
|
|
85751
85796
|
/**
|
|
85752
85797
|
* Returns a paginated list of notifications for the authenticated organization member, filterable by read status, source, type, and search term; available to any authenticated organization member for their own notifications.
|
|
85753
85798
|
* @summary List the current member\'s notifications
|
|
85754
|
-
* @param {
|
|
85799
|
+
* @param {boolean} [read] Filter by read
|
|
85800
|
+
* @param {AdminNotificationSource} [source] Filter by source
|
|
85801
|
+
* @param {AdminNotificationType} [type] Filter by type
|
|
85755
85802
|
* @param {number} [page] Page number
|
|
85756
85803
|
* @param {number} [pageSize] Number of items per page
|
|
85757
85804
|
* @param {string} [orderBy] Field to order by
|
|
@@ -85759,10 +85806,10 @@ export const NotificationsApiFp = function (configuration) {
|
|
|
85759
85806
|
* @param {*} [options] Override http request option.
|
|
85760
85807
|
* @throws {RequiredError}
|
|
85761
85808
|
*/
|
|
85762
|
-
getNotifications(
|
|
85809
|
+
getNotifications(read, source, type, page, pageSize, orderBy, search, options) {
|
|
85763
85810
|
return __awaiter(this, void 0, void 0, function* () {
|
|
85764
85811
|
var _a, _b, _c;
|
|
85765
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getNotifications(
|
|
85812
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getNotifications(read, source, type, page, pageSize, orderBy, search, options);
|
|
85766
85813
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
85767
85814
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['NotificationsApi.getNotifications']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
85768
85815
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -85800,7 +85847,7 @@ export const NotificationsApiFactory = function (configuration, basePath, axios)
|
|
|
85800
85847
|
* @throws {RequiredError}
|
|
85801
85848
|
*/
|
|
85802
85849
|
getNotificationCount(requestParameters = {}, options) {
|
|
85803
|
-
return localVarFp.getNotificationCount(requestParameters.
|
|
85850
|
+
return localVarFp.getNotificationCount(requestParameters.read, requestParameters.source, requestParameters.type, options).then((request) => request(axios, basePath));
|
|
85804
85851
|
},
|
|
85805
85852
|
/**
|
|
85806
85853
|
* Returns aggregate notification statistics for the authenticated organization member, including total and unread counts broken down by notification type and source; available to any authenticated organization member for their own notifications.
|
|
@@ -85819,7 +85866,7 @@ export const NotificationsApiFactory = function (configuration, basePath, axios)
|
|
|
85819
85866
|
* @throws {RequiredError}
|
|
85820
85867
|
*/
|
|
85821
85868
|
getNotifications(requestParameters = {}, options) {
|
|
85822
|
-
return localVarFp.getNotifications(requestParameters.
|
|
85869
|
+
return localVarFp.getNotifications(requestParameters.read, requestParameters.source, requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
85823
85870
|
},
|
|
85824
85871
|
/**
|
|
85825
85872
|
* Marks the given list of notification IDs as read for the current organization member and returns the count of notifications updated.
|
|
@@ -85845,7 +85892,7 @@ export class NotificationsApi extends BaseAPI {
|
|
|
85845
85892
|
* @throws {RequiredError}
|
|
85846
85893
|
*/
|
|
85847
85894
|
getNotificationCount(requestParameters = {}, options) {
|
|
85848
|
-
return NotificationsApiFp(this.configuration).getNotificationCount(requestParameters.
|
|
85895
|
+
return NotificationsApiFp(this.configuration).getNotificationCount(requestParameters.read, requestParameters.source, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
85849
85896
|
}
|
|
85850
85897
|
/**
|
|
85851
85898
|
* Returns aggregate notification statistics for the authenticated organization member, including total and unread counts broken down by notification type and source; available to any authenticated organization member for their own notifications.
|
|
@@ -85864,7 +85911,7 @@ export class NotificationsApi extends BaseAPI {
|
|
|
85864
85911
|
* @throws {RequiredError}
|
|
85865
85912
|
*/
|
|
85866
85913
|
getNotifications(requestParameters = {}, options) {
|
|
85867
|
-
return NotificationsApiFp(this.configuration).getNotifications(requestParameters.
|
|
85914
|
+
return NotificationsApiFp(this.configuration).getNotifications(requestParameters.read, requestParameters.source, requestParameters.type, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
85868
85915
|
}
|
|
85869
85916
|
/**
|
|
85870
85917
|
* Marks the given list of notification IDs as read for the current organization member and returns the count of notifications updated.
|
|
@@ -86037,11 +86084,16 @@ export const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
86037
86084
|
/**
|
|
86038
86085
|
* Performs a fuzzy, org-wide search using the given search term and optional filters, returning matching records (e.g. accounts, events) as search fields; available to any authenticated user of the organization.
|
|
86039
86086
|
* @summary Search across the organization
|
|
86040
|
-
* @param {
|
|
86087
|
+
* @param {boolean} [accounts] Filter by accounts
|
|
86088
|
+
* @param {boolean} [events] Filter by events
|
|
86089
|
+
* @param {boolean} [groups] Filter by groups
|
|
86090
|
+
* @param {boolean} [channels] Filter by channels
|
|
86091
|
+
* @param {boolean} [contents] Filter by contents
|
|
86092
|
+
* @param {boolean} [threads] Filter by threads
|
|
86041
86093
|
* @param {*} [options] Override http request option.
|
|
86042
86094
|
* @throws {RequiredError}
|
|
86043
86095
|
*/
|
|
86044
|
-
searchOrganization: (
|
|
86096
|
+
searchOrganization: (accounts_1, events_1, groups_1, channels_1, contents_1, threads_1, ...args_1) => __awaiter(this, [accounts_1, events_1, groups_1, channels_1, contents_1, threads_1, ...args_1], void 0, function* (accounts, events, groups, channels, contents, threads, options = {}) {
|
|
86045
86097
|
const localVarPath = `/organization/search`;
|
|
86046
86098
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
86047
86099
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -86056,10 +86108,23 @@ export const OrganizationApiAxiosParamCreator = function (configuration) {
|
|
|
86056
86108
|
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
86057
86109
|
// authentication OrganizationId required
|
|
86058
86110
|
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
86059
|
-
if (
|
|
86060
|
-
|
|
86061
|
-
|
|
86062
|
-
|
|
86111
|
+
if (accounts !== undefined) {
|
|
86112
|
+
localVarQueryParameter['accounts'] = accounts;
|
|
86113
|
+
}
|
|
86114
|
+
if (events !== undefined) {
|
|
86115
|
+
localVarQueryParameter['events'] = events;
|
|
86116
|
+
}
|
|
86117
|
+
if (groups !== undefined) {
|
|
86118
|
+
localVarQueryParameter['groups'] = groups;
|
|
86119
|
+
}
|
|
86120
|
+
if (channels !== undefined) {
|
|
86121
|
+
localVarQueryParameter['channels'] = channels;
|
|
86122
|
+
}
|
|
86123
|
+
if (contents !== undefined) {
|
|
86124
|
+
localVarQueryParameter['contents'] = contents;
|
|
86125
|
+
}
|
|
86126
|
+
if (threads !== undefined) {
|
|
86127
|
+
localVarQueryParameter['threads'] = threads;
|
|
86063
86128
|
}
|
|
86064
86129
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
86065
86130
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -86293,14 +86358,19 @@ export const OrganizationApiFp = function (configuration) {
|
|
|
86293
86358
|
/**
|
|
86294
86359
|
* Performs a fuzzy, org-wide search using the given search term and optional filters, returning matching records (e.g. accounts, events) as search fields; available to any authenticated user of the organization.
|
|
86295
86360
|
* @summary Search across the organization
|
|
86296
|
-
* @param {
|
|
86361
|
+
* @param {boolean} [accounts] Filter by accounts
|
|
86362
|
+
* @param {boolean} [events] Filter by events
|
|
86363
|
+
* @param {boolean} [groups] Filter by groups
|
|
86364
|
+
* @param {boolean} [channels] Filter by channels
|
|
86365
|
+
* @param {boolean} [contents] Filter by contents
|
|
86366
|
+
* @param {boolean} [threads] Filter by threads
|
|
86297
86367
|
* @param {*} [options] Override http request option.
|
|
86298
86368
|
* @throws {RequiredError}
|
|
86299
86369
|
*/
|
|
86300
|
-
searchOrganization(
|
|
86370
|
+
searchOrganization(accounts, events, groups, channels, contents, threads, options) {
|
|
86301
86371
|
return __awaiter(this, void 0, void 0, function* () {
|
|
86302
86372
|
var _a, _b, _c;
|
|
86303
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchOrganization(
|
|
86373
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.searchOrganization(accounts, events, groups, channels, contents, threads, options);
|
|
86304
86374
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
86305
86375
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['OrganizationApi.searchOrganization']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
86306
86376
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -86426,7 +86496,7 @@ export const OrganizationApiFactory = function (configuration, basePath, axios)
|
|
|
86426
86496
|
* @throws {RequiredError}
|
|
86427
86497
|
*/
|
|
86428
86498
|
searchOrganization(requestParameters = {}, options) {
|
|
86429
|
-
return localVarFp.searchOrganization(requestParameters.
|
|
86499
|
+
return localVarFp.searchOrganization(requestParameters.accounts, requestParameters.events, requestParameters.groups, requestParameters.channels, requestParameters.contents, requestParameters.threads, options).then((request) => request(axios, basePath));
|
|
86430
86500
|
},
|
|
86431
86501
|
/**
|
|
86432
86502
|
* Updates the current organization\'s core profile fields (such as name, contact details, and locales) and returns the updated organization record; requires update permission on the organization.
|
|
@@ -86521,7 +86591,7 @@ export class OrganizationApi extends BaseAPI {
|
|
|
86521
86591
|
* @throws {RequiredError}
|
|
86522
86592
|
*/
|
|
86523
86593
|
searchOrganization(requestParameters = {}, options) {
|
|
86524
|
-
return OrganizationApiFp(this.configuration).searchOrganization(requestParameters.
|
|
86594
|
+
return OrganizationApiFp(this.configuration).searchOrganization(requestParameters.accounts, requestParameters.events, requestParameters.groups, requestParameters.channels, requestParameters.contents, requestParameters.threads, options).then((request) => request(this.axios, this.basePath));
|
|
86525
86595
|
}
|
|
86526
86596
|
/**
|
|
86527
86597
|
* Updates the current organization\'s core profile fields (such as name, contact details, and locales) and returns the updated organization record; requires update permission on the organization.
|
|
@@ -94958,7 +95028,17 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
94958
95028
|
/**
|
|
94959
95029
|
* Returns a paginated, searchable list of custom report configurations saved for the current organization, matching on report name and supporting additional filters and sorting via orderBy; requires read permission on the reports resource.
|
|
94960
95030
|
* @summary List an organization\'s custom reports
|
|
94961
|
-
* @param {
|
|
95031
|
+
* @param {string} [eventId] Filter by eventId
|
|
95032
|
+
* @param {string} [placeId] Filter by placeId
|
|
95033
|
+
* @param {string} [groupId] Filter by groupId
|
|
95034
|
+
* @param {string} [channelId] Filter by channelId
|
|
95035
|
+
* @param {string} [accountId] Filter by accountId
|
|
95036
|
+
* @param {string} [surveyId] Filter by surveyId
|
|
95037
|
+
* @param {string} [sessionId] Filter by sessionId
|
|
95038
|
+
* @param {string} [seriesId] Filter by seriesId
|
|
95039
|
+
* @param {string} [spaceId] Filter by spaceId
|
|
95040
|
+
* @param {string} [entityId] Filter by entityId
|
|
95041
|
+
* @param {string} [since] Filter by since
|
|
94962
95042
|
* @param {number} [page] Page number
|
|
94963
95043
|
* @param {number} [pageSize] Number of items per page
|
|
94964
95044
|
* @param {string} [orderBy] Field to order by
|
|
@@ -94966,7 +95046,7 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
94966
95046
|
* @param {*} [options] Override http request option.
|
|
94967
95047
|
* @throws {RequiredError}
|
|
94968
95048
|
*/
|
|
94969
|
-
getCustomReports: (
|
|
95049
|
+
getCustomReports: (eventId_1, placeId_1, groupId_1, channelId_1, accountId_1, surveyId_1, sessionId_1, seriesId_1, spaceId_1, entityId_1, since_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, placeId_1, groupId_1, channelId_1, accountId_1, surveyId_1, sessionId_1, seriesId_1, spaceId_1, entityId_1, since_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, placeId, groupId, channelId, accountId, surveyId, sessionId, seriesId, spaceId, entityId, since, page, pageSize, orderBy, search, options = {}) {
|
|
94970
95050
|
const localVarPath = `/reports/custom`;
|
|
94971
95051
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
94972
95052
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -94981,10 +95061,38 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
94981
95061
|
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
94982
95062
|
// authentication OrganizationId required
|
|
94983
95063
|
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
94984
|
-
if (
|
|
94985
|
-
|
|
94986
|
-
|
|
94987
|
-
|
|
95064
|
+
if (eventId !== undefined) {
|
|
95065
|
+
localVarQueryParameter['eventId'] = eventId;
|
|
95066
|
+
}
|
|
95067
|
+
if (placeId !== undefined) {
|
|
95068
|
+
localVarQueryParameter['placeId'] = placeId;
|
|
95069
|
+
}
|
|
95070
|
+
if (groupId !== undefined) {
|
|
95071
|
+
localVarQueryParameter['groupId'] = groupId;
|
|
95072
|
+
}
|
|
95073
|
+
if (channelId !== undefined) {
|
|
95074
|
+
localVarQueryParameter['channelId'] = channelId;
|
|
95075
|
+
}
|
|
95076
|
+
if (accountId !== undefined) {
|
|
95077
|
+
localVarQueryParameter['accountId'] = accountId;
|
|
95078
|
+
}
|
|
95079
|
+
if (surveyId !== undefined) {
|
|
95080
|
+
localVarQueryParameter['surveyId'] = surveyId;
|
|
95081
|
+
}
|
|
95082
|
+
if (sessionId !== undefined) {
|
|
95083
|
+
localVarQueryParameter['sessionId'] = sessionId;
|
|
95084
|
+
}
|
|
95085
|
+
if (seriesId !== undefined) {
|
|
95086
|
+
localVarQueryParameter['seriesId'] = seriesId;
|
|
95087
|
+
}
|
|
95088
|
+
if (spaceId !== undefined) {
|
|
95089
|
+
localVarQueryParameter['spaceId'] = spaceId;
|
|
95090
|
+
}
|
|
95091
|
+
if (entityId !== undefined) {
|
|
95092
|
+
localVarQueryParameter['entityId'] = entityId;
|
|
95093
|
+
}
|
|
95094
|
+
if (since !== undefined) {
|
|
95095
|
+
localVarQueryParameter['since'] = since;
|
|
94988
95096
|
}
|
|
94989
95097
|
if (page !== undefined) {
|
|
94990
95098
|
localVarQueryParameter['page'] = page;
|
|
@@ -95011,11 +95119,21 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
95011
95119
|
* Executes the named standard report definition with the given filters and automatically pages through cursor-based results to return the complete row set; access is restricted to the domain permissions declared by that specific standard report, in addition to read permission on the reports resource.
|
|
95012
95120
|
* @summary Run a standard report and fetch all its rows
|
|
95013
95121
|
* @param {string} standard The standard identifier
|
|
95014
|
-
* @param {
|
|
95122
|
+
* @param {string} [eventId] Filter by eventId
|
|
95123
|
+
* @param {string} [placeId] Filter by placeId
|
|
95124
|
+
* @param {string} [groupId] Filter by groupId
|
|
95125
|
+
* @param {string} [channelId] Filter by channelId
|
|
95126
|
+
* @param {string} [accountId] Filter by accountId
|
|
95127
|
+
* @param {string} [surveyId] Filter by surveyId
|
|
95128
|
+
* @param {string} [sessionId] Filter by sessionId
|
|
95129
|
+
* @param {string} [seriesId] Filter by seriesId
|
|
95130
|
+
* @param {string} [spaceId] Filter by spaceId
|
|
95131
|
+
* @param {string} [entityId] Filter by entityId
|
|
95132
|
+
* @param {string} [since] Filter by since
|
|
95015
95133
|
* @param {*} [options] Override http request option.
|
|
95016
95134
|
* @throws {RequiredError}
|
|
95017
95135
|
*/
|
|
95018
|
-
getReport: (standard_1,
|
|
95136
|
+
getReport: (standard_1, eventId_1, placeId_1, groupId_1, channelId_1, accountId_1, surveyId_1, sessionId_1, seriesId_1, spaceId_1, entityId_1, since_1, ...args_1) => __awaiter(this, [standard_1, eventId_1, placeId_1, groupId_1, channelId_1, accountId_1, surveyId_1, sessionId_1, seriesId_1, spaceId_1, entityId_1, since_1, ...args_1], void 0, function* (standard, eventId, placeId, groupId, channelId, accountId, surveyId, sessionId, seriesId, spaceId, entityId, since, options = {}) {
|
|
95019
95137
|
// verify required parameter 'standard' is not null or undefined
|
|
95020
95138
|
assertParamExists('getReport', 'standard', standard);
|
|
95021
95139
|
const localVarPath = `/reports/{standard}`
|
|
@@ -95033,10 +95151,38 @@ export const ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
95033
95151
|
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
95034
95152
|
// authentication OrganizationId required
|
|
95035
95153
|
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
95036
|
-
if (
|
|
95037
|
-
|
|
95038
|
-
|
|
95039
|
-
|
|
95154
|
+
if (eventId !== undefined) {
|
|
95155
|
+
localVarQueryParameter['eventId'] = eventId;
|
|
95156
|
+
}
|
|
95157
|
+
if (placeId !== undefined) {
|
|
95158
|
+
localVarQueryParameter['placeId'] = placeId;
|
|
95159
|
+
}
|
|
95160
|
+
if (groupId !== undefined) {
|
|
95161
|
+
localVarQueryParameter['groupId'] = groupId;
|
|
95162
|
+
}
|
|
95163
|
+
if (channelId !== undefined) {
|
|
95164
|
+
localVarQueryParameter['channelId'] = channelId;
|
|
95165
|
+
}
|
|
95166
|
+
if (accountId !== undefined) {
|
|
95167
|
+
localVarQueryParameter['accountId'] = accountId;
|
|
95168
|
+
}
|
|
95169
|
+
if (surveyId !== undefined) {
|
|
95170
|
+
localVarQueryParameter['surveyId'] = surveyId;
|
|
95171
|
+
}
|
|
95172
|
+
if (sessionId !== undefined) {
|
|
95173
|
+
localVarQueryParameter['sessionId'] = sessionId;
|
|
95174
|
+
}
|
|
95175
|
+
if (seriesId !== undefined) {
|
|
95176
|
+
localVarQueryParameter['seriesId'] = seriesId;
|
|
95177
|
+
}
|
|
95178
|
+
if (spaceId !== undefined) {
|
|
95179
|
+
localVarQueryParameter['spaceId'] = spaceId;
|
|
95180
|
+
}
|
|
95181
|
+
if (entityId !== undefined) {
|
|
95182
|
+
localVarQueryParameter['entityId'] = entityId;
|
|
95183
|
+
}
|
|
95184
|
+
if (since !== undefined) {
|
|
95185
|
+
localVarQueryParameter['since'] = since;
|
|
95040
95186
|
}
|
|
95041
95187
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
95042
95188
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -95270,7 +95416,17 @@ export const ReportsApiFp = function (configuration) {
|
|
|
95270
95416
|
/**
|
|
95271
95417
|
* Returns a paginated, searchable list of custom report configurations saved for the current organization, matching on report name and supporting additional filters and sorting via orderBy; requires read permission on the reports resource.
|
|
95272
95418
|
* @summary List an organization\'s custom reports
|
|
95273
|
-
* @param {
|
|
95419
|
+
* @param {string} [eventId] Filter by eventId
|
|
95420
|
+
* @param {string} [placeId] Filter by placeId
|
|
95421
|
+
* @param {string} [groupId] Filter by groupId
|
|
95422
|
+
* @param {string} [channelId] Filter by channelId
|
|
95423
|
+
* @param {string} [accountId] Filter by accountId
|
|
95424
|
+
* @param {string} [surveyId] Filter by surveyId
|
|
95425
|
+
* @param {string} [sessionId] Filter by sessionId
|
|
95426
|
+
* @param {string} [seriesId] Filter by seriesId
|
|
95427
|
+
* @param {string} [spaceId] Filter by spaceId
|
|
95428
|
+
* @param {string} [entityId] Filter by entityId
|
|
95429
|
+
* @param {string} [since] Filter by since
|
|
95274
95430
|
* @param {number} [page] Page number
|
|
95275
95431
|
* @param {number} [pageSize] Number of items per page
|
|
95276
95432
|
* @param {string} [orderBy] Field to order by
|
|
@@ -95278,10 +95434,10 @@ export const ReportsApiFp = function (configuration) {
|
|
|
95278
95434
|
* @param {*} [options] Override http request option.
|
|
95279
95435
|
* @throws {RequiredError}
|
|
95280
95436
|
*/
|
|
95281
|
-
getCustomReports(
|
|
95437
|
+
getCustomReports(eventId, placeId, groupId, channelId, accountId, surveyId, sessionId, seriesId, spaceId, entityId, since, page, pageSize, orderBy, search, options) {
|
|
95282
95438
|
return __awaiter(this, void 0, void 0, function* () {
|
|
95283
95439
|
var _a, _b, _c;
|
|
95284
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCustomReports(
|
|
95440
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCustomReports(eventId, placeId, groupId, channelId, accountId, surveyId, sessionId, seriesId, spaceId, entityId, since, page, pageSize, orderBy, search, options);
|
|
95285
95441
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
95286
95442
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReportsApi.getCustomReports']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
95287
95443
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -95291,14 +95447,24 @@ export const ReportsApiFp = function (configuration) {
|
|
|
95291
95447
|
* Executes the named standard report definition with the given filters and automatically pages through cursor-based results to return the complete row set; access is restricted to the domain permissions declared by that specific standard report, in addition to read permission on the reports resource.
|
|
95292
95448
|
* @summary Run a standard report and fetch all its rows
|
|
95293
95449
|
* @param {string} standard The standard identifier
|
|
95294
|
-
* @param {
|
|
95450
|
+
* @param {string} [eventId] Filter by eventId
|
|
95451
|
+
* @param {string} [placeId] Filter by placeId
|
|
95452
|
+
* @param {string} [groupId] Filter by groupId
|
|
95453
|
+
* @param {string} [channelId] Filter by channelId
|
|
95454
|
+
* @param {string} [accountId] Filter by accountId
|
|
95455
|
+
* @param {string} [surveyId] Filter by surveyId
|
|
95456
|
+
* @param {string} [sessionId] Filter by sessionId
|
|
95457
|
+
* @param {string} [seriesId] Filter by seriesId
|
|
95458
|
+
* @param {string} [spaceId] Filter by spaceId
|
|
95459
|
+
* @param {string} [entityId] Filter by entityId
|
|
95460
|
+
* @param {string} [since] Filter by since
|
|
95295
95461
|
* @param {*} [options] Override http request option.
|
|
95296
95462
|
* @throws {RequiredError}
|
|
95297
95463
|
*/
|
|
95298
|
-
getReport(standard,
|
|
95464
|
+
getReport(standard, eventId, placeId, groupId, channelId, accountId, surveyId, sessionId, seriesId, spaceId, entityId, since, options) {
|
|
95299
95465
|
return __awaiter(this, void 0, void 0, function* () {
|
|
95300
95466
|
var _a, _b, _c;
|
|
95301
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getReport(standard,
|
|
95467
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getReport(standard, eventId, placeId, groupId, channelId, accountId, surveyId, sessionId, seriesId, spaceId, entityId, since, options);
|
|
95302
95468
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
95303
95469
|
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ReportsApi.getReport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
95304
95470
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -95430,7 +95596,7 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
|
|
|
95430
95596
|
* @throws {RequiredError}
|
|
95431
95597
|
*/
|
|
95432
95598
|
getCustomReports(requestParameters = {}, options) {
|
|
95433
|
-
return localVarFp.getCustomReports(requestParameters.
|
|
95599
|
+
return localVarFp.getCustomReports(requestParameters.eventId, requestParameters.placeId, requestParameters.groupId, requestParameters.channelId, requestParameters.accountId, requestParameters.surveyId, requestParameters.sessionId, requestParameters.seriesId, requestParameters.spaceId, requestParameters.entityId, requestParameters.since, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
95434
95600
|
},
|
|
95435
95601
|
/**
|
|
95436
95602
|
* Executes the named standard report definition with the given filters and automatically pages through cursor-based results to return the complete row set; access is restricted to the domain permissions declared by that specific standard report, in addition to read permission on the reports resource.
|
|
@@ -95440,7 +95606,7 @@ export const ReportsApiFactory = function (configuration, basePath, axios) {
|
|
|
95440
95606
|
* @throws {RequiredError}
|
|
95441
95607
|
*/
|
|
95442
95608
|
getReport(requestParameters, options) {
|
|
95443
|
-
return localVarFp.getReport(requestParameters.standard, requestParameters.
|
|
95609
|
+
return localVarFp.getReport(requestParameters.standard, requestParameters.eventId, requestParameters.placeId, requestParameters.groupId, requestParameters.channelId, requestParameters.accountId, requestParameters.surveyId, requestParameters.sessionId, requestParameters.seriesId, requestParameters.spaceId, requestParameters.entityId, requestParameters.since, options).then((request) => request(axios, basePath));
|
|
95444
95610
|
},
|
|
95445
95611
|
/**
|
|
95446
95612
|
* Returns the list of standard reports available to the organization, filtered by report type and further filtered to only those reports whose required permission domains the caller can read; requires the `read:reports` permission.
|
|
@@ -95546,7 +95712,7 @@ export class ReportsApi extends BaseAPI {
|
|
|
95546
95712
|
* @throws {RequiredError}
|
|
95547
95713
|
*/
|
|
95548
95714
|
getCustomReports(requestParameters = {}, options) {
|
|
95549
|
-
return ReportsApiFp(this.configuration).getCustomReports(requestParameters.
|
|
95715
|
+
return ReportsApiFp(this.configuration).getCustomReports(requestParameters.eventId, requestParameters.placeId, requestParameters.groupId, requestParameters.channelId, requestParameters.accountId, requestParameters.surveyId, requestParameters.sessionId, requestParameters.seriesId, requestParameters.spaceId, requestParameters.entityId, requestParameters.since, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
95550
95716
|
}
|
|
95551
95717
|
/**
|
|
95552
95718
|
* Executes the named standard report definition with the given filters and automatically pages through cursor-based results to return the complete row set; access is restricted to the domain permissions declared by that specific standard report, in addition to read permission on the reports resource.
|
|
@@ -95556,7 +95722,7 @@ export class ReportsApi extends BaseAPI {
|
|
|
95556
95722
|
* @throws {RequiredError}
|
|
95557
95723
|
*/
|
|
95558
95724
|
getReport(requestParameters, options) {
|
|
95559
|
-
return ReportsApiFp(this.configuration).getReport(requestParameters.standard, requestParameters.
|
|
95725
|
+
return ReportsApiFp(this.configuration).getReport(requestParameters.standard, requestParameters.eventId, requestParameters.placeId, requestParameters.groupId, requestParameters.channelId, requestParameters.accountId, requestParameters.surveyId, requestParameters.sessionId, requestParameters.seriesId, requestParameters.spaceId, requestParameters.entityId, requestParameters.since, options).then((request) => request(this.axios, this.basePath));
|
|
95560
95726
|
}
|
|
95561
95727
|
/**
|
|
95562
95728
|
* Returns the list of standard reports available to the organization, filtered by report type and further filtered to only those reports whose required permission domains the caller can read; requires the `read:reports` permission.
|