@connectedxm/admin-sdk 10.20.1 → 10.22.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 +3 -0
- package/README.md +2 -2
- package/api.ts +456 -2
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +252 -2
- package/dist/api.js +315 -25
- 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 +252 -2
- package/dist/esm/api.js +291 -1
- 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/Activity.md +2 -0
- package/docs/ActivityCreateInputs.md +2 -0
- package/docs/BaseActivity.md +2 -0
- package/docs/BaseEventMediaItem.md +2 -0
- package/docs/BaseEventMediaItemLike.md +24 -0
- package/docs/EventEmailType.md +2 -0
- package/docs/EventMediaItem.md +2 -0
- package/docs/EventMediaItemCreateInputs.md +2 -0
- package/docs/EventMediaItemLike.md +30 -0
- package/docs/EventMediaItemUpdateInputs.md +2 -0
- package/docs/EventsMediaApi.md +137 -0
- package/docs/EventsRegistrationsApi.md +64 -0
- package/docs/GetEventMediaItemLikes200Response.md +26 -0
- package/docs/NotificationPreferences.md +2 -0
- package/docs/OrganizationModuleSettings.md +4 -0
- package/docs/OrganizationModuleSettingsTranslation.md +2 -0
- package/docs/OrganizationModuleSettingsTranslationUpdateInputs.md +2 -0
- package/docs/OrganizationModuleSettingsUpdateInputs.md +4 -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: 10.
|
|
7
|
+
* The version of the OpenAPI document: 10.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -628,6 +628,7 @@ export var EventEmailType;
|
|
|
628
628
|
EventEmailType["Approval"] = "approval";
|
|
629
629
|
EventEmailType["Denial"] = "denial";
|
|
630
630
|
EventEmailType["Transfer"] = "transfer";
|
|
631
|
+
EventEmailType["AbandonedRegistration"] = "abandonedRegistration";
|
|
631
632
|
})(EventEmailType || (EventEmailType = {}));
|
|
632
633
|
export var EventReportDateType;
|
|
633
634
|
(function (EventReportDateType) {
|
|
@@ -1113,6 +1114,10 @@ export var GetEventFollowups200ResponseStatusEnum;
|
|
|
1113
1114
|
(function (GetEventFollowups200ResponseStatusEnum) {
|
|
1114
1115
|
GetEventFollowups200ResponseStatusEnum["Ok"] = "ok";
|
|
1115
1116
|
})(GetEventFollowups200ResponseStatusEnum || (GetEventFollowups200ResponseStatusEnum = {}));
|
|
1117
|
+
export var GetEventMediaItemLikes200ResponseStatusEnum;
|
|
1118
|
+
(function (GetEventMediaItemLikes200ResponseStatusEnum) {
|
|
1119
|
+
GetEventMediaItemLikes200ResponseStatusEnum["Ok"] = "ok";
|
|
1120
|
+
})(GetEventMediaItemLikes200ResponseStatusEnum || (GetEventMediaItemLikes200ResponseStatusEnum = {}));
|
|
1116
1121
|
export var GetEventMediaItemTranslation200ResponseStatusEnum;
|
|
1117
1122
|
(function (GetEventMediaItemTranslation200ResponseStatusEnum) {
|
|
1118
1123
|
GetEventMediaItemTranslation200ResponseStatusEnum["Ok"] = "ok";
|
|
@@ -34537,6 +34542,118 @@ export const EventsMediaApiAxiosParamCreator = function (configuration) {
|
|
|
34537
34542
|
options: localVarRequestOptions,
|
|
34538
34543
|
};
|
|
34539
34544
|
}),
|
|
34545
|
+
/**
|
|
34546
|
+
* Returns a paginated list of activity records posted on a specific event media item, optionally filtered by activity status and search term, requiring read permission on events, storage, and activities.
|
|
34547
|
+
* @summary List a media item\'s activity feed
|
|
34548
|
+
* @param {string} eventId The event identifier
|
|
34549
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
34550
|
+
* @param {ActivityStatus} [status] Filter by status
|
|
34551
|
+
* @param {number} [page] Page number
|
|
34552
|
+
* @param {number} [pageSize] Number of items per page
|
|
34553
|
+
* @param {string} [orderBy] Field to order by
|
|
34554
|
+
* @param {string} [search] Search query
|
|
34555
|
+
* @param {*} [options] Override http request option.
|
|
34556
|
+
* @throws {RequiredError}
|
|
34557
|
+
*/
|
|
34558
|
+
getEventMediaItemActivities: (eventId_1, mediaItemId_1, status_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, mediaItemId_1, status_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, mediaItemId, status, page, pageSize, orderBy, search, options = {}) {
|
|
34559
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
34560
|
+
assertParamExists('getEventMediaItemActivities', 'eventId', eventId);
|
|
34561
|
+
// verify required parameter 'mediaItemId' is not null or undefined
|
|
34562
|
+
assertParamExists('getEventMediaItemActivities', 'mediaItemId', mediaItemId);
|
|
34563
|
+
const localVarPath = `/events/{eventId}/media/{mediaItemId}/activities`
|
|
34564
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
34565
|
+
.replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)));
|
|
34566
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34567
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34568
|
+
let baseOptions;
|
|
34569
|
+
if (configuration) {
|
|
34570
|
+
baseOptions = configuration.baseOptions;
|
|
34571
|
+
}
|
|
34572
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
34573
|
+
const localVarHeaderParameter = {};
|
|
34574
|
+
const localVarQueryParameter = {};
|
|
34575
|
+
// authentication ApiKeyAuth required
|
|
34576
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
34577
|
+
// authentication OrganizationId required
|
|
34578
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
34579
|
+
if (status !== undefined) {
|
|
34580
|
+
localVarQueryParameter['status'] = status;
|
|
34581
|
+
}
|
|
34582
|
+
if (page !== undefined) {
|
|
34583
|
+
localVarQueryParameter['page'] = page;
|
|
34584
|
+
}
|
|
34585
|
+
if (pageSize !== undefined) {
|
|
34586
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
34587
|
+
}
|
|
34588
|
+
if (orderBy !== undefined) {
|
|
34589
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
34590
|
+
}
|
|
34591
|
+
if (search !== undefined) {
|
|
34592
|
+
localVarQueryParameter['search'] = search;
|
|
34593
|
+
}
|
|
34594
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
34595
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34596
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34597
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34598
|
+
return {
|
|
34599
|
+
url: toPathString(localVarUrlObj),
|
|
34600
|
+
options: localVarRequestOptions,
|
|
34601
|
+
};
|
|
34602
|
+
}),
|
|
34603
|
+
/**
|
|
34604
|
+
* Returns a paginated list of accounts that liked a specific event media item, optionally filtered by search term and sort order, requiring read permission on events and storage.
|
|
34605
|
+
* @summary List a media item\'s likes
|
|
34606
|
+
* @param {string} eventId The event identifier
|
|
34607
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
34608
|
+
* @param {number} [page] Page number
|
|
34609
|
+
* @param {number} [pageSize] Number of items per page
|
|
34610
|
+
* @param {string} [orderBy] Field to order by
|
|
34611
|
+
* @param {string} [search] Search query
|
|
34612
|
+
* @param {*} [options] Override http request option.
|
|
34613
|
+
* @throws {RequiredError}
|
|
34614
|
+
*/
|
|
34615
|
+
getEventMediaItemLikes: (eventId_1, mediaItemId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, mediaItemId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, mediaItemId, page, pageSize, orderBy, search, options = {}) {
|
|
34616
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
34617
|
+
assertParamExists('getEventMediaItemLikes', 'eventId', eventId);
|
|
34618
|
+
// verify required parameter 'mediaItemId' is not null or undefined
|
|
34619
|
+
assertParamExists('getEventMediaItemLikes', 'mediaItemId', mediaItemId);
|
|
34620
|
+
const localVarPath = `/events/{eventId}/media/{mediaItemId}/likes`
|
|
34621
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
34622
|
+
.replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)));
|
|
34623
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34624
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34625
|
+
let baseOptions;
|
|
34626
|
+
if (configuration) {
|
|
34627
|
+
baseOptions = configuration.baseOptions;
|
|
34628
|
+
}
|
|
34629
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
34630
|
+
const localVarHeaderParameter = {};
|
|
34631
|
+
const localVarQueryParameter = {};
|
|
34632
|
+
// authentication ApiKeyAuth required
|
|
34633
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
34634
|
+
// authentication OrganizationId required
|
|
34635
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
34636
|
+
if (page !== undefined) {
|
|
34637
|
+
localVarQueryParameter['page'] = page;
|
|
34638
|
+
}
|
|
34639
|
+
if (pageSize !== undefined) {
|
|
34640
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
34641
|
+
}
|
|
34642
|
+
if (orderBy !== undefined) {
|
|
34643
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
34644
|
+
}
|
|
34645
|
+
if (search !== undefined) {
|
|
34646
|
+
localVarQueryParameter['search'] = search;
|
|
34647
|
+
}
|
|
34648
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
34649
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34650
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34651
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
34652
|
+
return {
|
|
34653
|
+
url: toPathString(localVarUrlObj),
|
|
34654
|
+
options: localVarRequestOptions,
|
|
34655
|
+
};
|
|
34656
|
+
}),
|
|
34540
34657
|
/**
|
|
34541
34658
|
* Returns a paginated list of the event\'s pass types (ticket types) that are associated with a given media item, supporting search and ordering; requires read access to events and storage.
|
|
34542
34659
|
* @summary List pass types linked to a media item
|
|
@@ -34921,6 +35038,49 @@ export const EventsMediaApiFp = function (configuration) {
|
|
|
34921
35038
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34922
35039
|
});
|
|
34923
35040
|
},
|
|
35041
|
+
/**
|
|
35042
|
+
* Returns a paginated list of activity records posted on a specific event media item, optionally filtered by activity status and search term, requiring read permission on events, storage, and activities.
|
|
35043
|
+
* @summary List a media item\'s activity feed
|
|
35044
|
+
* @param {string} eventId The event identifier
|
|
35045
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
35046
|
+
* @param {ActivityStatus} [status] Filter by status
|
|
35047
|
+
* @param {number} [page] Page number
|
|
35048
|
+
* @param {number} [pageSize] Number of items per page
|
|
35049
|
+
* @param {string} [orderBy] Field to order by
|
|
35050
|
+
* @param {string} [search] Search query
|
|
35051
|
+
* @param {*} [options] Override http request option.
|
|
35052
|
+
* @throws {RequiredError}
|
|
35053
|
+
*/
|
|
35054
|
+
getEventMediaItemActivities(eventId, mediaItemId, status, page, pageSize, orderBy, search, options) {
|
|
35055
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35056
|
+
var _a, _b, _c;
|
|
35057
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventMediaItemActivities(eventId, mediaItemId, status, page, pageSize, orderBy, search, options);
|
|
35058
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
35059
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsMediaApi.getEventMediaItemActivities']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
35060
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35061
|
+
});
|
|
35062
|
+
},
|
|
35063
|
+
/**
|
|
35064
|
+
* Returns a paginated list of accounts that liked a specific event media item, optionally filtered by search term and sort order, requiring read permission on events and storage.
|
|
35065
|
+
* @summary List a media item\'s likes
|
|
35066
|
+
* @param {string} eventId The event identifier
|
|
35067
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
35068
|
+
* @param {number} [page] Page number
|
|
35069
|
+
* @param {number} [pageSize] Number of items per page
|
|
35070
|
+
* @param {string} [orderBy] Field to order by
|
|
35071
|
+
* @param {string} [search] Search query
|
|
35072
|
+
* @param {*} [options] Override http request option.
|
|
35073
|
+
* @throws {RequiredError}
|
|
35074
|
+
*/
|
|
35075
|
+
getEventMediaItemLikes(eventId, mediaItemId, page, pageSize, orderBy, search, options) {
|
|
35076
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
35077
|
+
var _a, _b, _c;
|
|
35078
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventMediaItemLikes(eventId, mediaItemId, page, pageSize, orderBy, search, options);
|
|
35079
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
35080
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsMediaApi.getEventMediaItemLikes']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
35081
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
35082
|
+
});
|
|
35083
|
+
},
|
|
34924
35084
|
/**
|
|
34925
35085
|
* Returns a paginated list of the event\'s pass types (ticket types) that are associated with a given media item, supporting search and ordering; requires read access to events and storage.
|
|
34926
35086
|
* @summary List pass types linked to a media item
|
|
@@ -35096,6 +35256,26 @@ export const EventsMediaApiFactory = function (configuration, basePath, axios) {
|
|
|
35096
35256
|
getEventMediaItem(requestParameters, options) {
|
|
35097
35257
|
return localVarFp.getEventMediaItem(requestParameters.eventId, requestParameters.itemId, options).then((request) => request(axios, basePath));
|
|
35098
35258
|
},
|
|
35259
|
+
/**
|
|
35260
|
+
* Returns a paginated list of activity records posted on a specific event media item, optionally filtered by activity status and search term, requiring read permission on events, storage, and activities.
|
|
35261
|
+
* @summary List a media item\'s activity feed
|
|
35262
|
+
* @param {EventsMediaApiGetEventMediaItemActivitiesRequest} requestParameters Request parameters.
|
|
35263
|
+
* @param {*} [options] Override http request option.
|
|
35264
|
+
* @throws {RequiredError}
|
|
35265
|
+
*/
|
|
35266
|
+
getEventMediaItemActivities(requestParameters, options) {
|
|
35267
|
+
return localVarFp.getEventMediaItemActivities(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
35268
|
+
},
|
|
35269
|
+
/**
|
|
35270
|
+
* Returns a paginated list of accounts that liked a specific event media item, optionally filtered by search term and sort order, requiring read permission on events and storage.
|
|
35271
|
+
* @summary List a media item\'s likes
|
|
35272
|
+
* @param {EventsMediaApiGetEventMediaItemLikesRequest} requestParameters Request parameters.
|
|
35273
|
+
* @param {*} [options] Override http request option.
|
|
35274
|
+
* @throws {RequiredError}
|
|
35275
|
+
*/
|
|
35276
|
+
getEventMediaItemLikes(requestParameters, options) {
|
|
35277
|
+
return localVarFp.getEventMediaItemLikes(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
35278
|
+
},
|
|
35099
35279
|
/**
|
|
35100
35280
|
* Returns a paginated list of the event\'s pass types (ticket types) that are associated with a given media item, supporting search and ordering; requires read access to events and storage.
|
|
35101
35281
|
* @summary List pass types linked to a media item
|
|
@@ -35212,6 +35392,26 @@ export class EventsMediaApi extends BaseAPI {
|
|
|
35212
35392
|
getEventMediaItem(requestParameters, options) {
|
|
35213
35393
|
return EventsMediaApiFp(this.configuration).getEventMediaItem(requestParameters.eventId, requestParameters.itemId, options).then((request) => request(this.axios, this.basePath));
|
|
35214
35394
|
}
|
|
35395
|
+
/**
|
|
35396
|
+
* Returns a paginated list of activity records posted on a specific event media item, optionally filtered by activity status and search term, requiring read permission on events, storage, and activities.
|
|
35397
|
+
* @summary List a media item\'s activity feed
|
|
35398
|
+
* @param {EventsMediaApiGetEventMediaItemActivitiesRequest} requestParameters Request parameters.
|
|
35399
|
+
* @param {*} [options] Override http request option.
|
|
35400
|
+
* @throws {RequiredError}
|
|
35401
|
+
*/
|
|
35402
|
+
getEventMediaItemActivities(requestParameters, options) {
|
|
35403
|
+
return EventsMediaApiFp(this.configuration).getEventMediaItemActivities(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
35404
|
+
}
|
|
35405
|
+
/**
|
|
35406
|
+
* Returns a paginated list of accounts that liked a specific event media item, optionally filtered by search term and sort order, requiring read permission on events and storage.
|
|
35407
|
+
* @summary List a media item\'s likes
|
|
35408
|
+
* @param {EventsMediaApiGetEventMediaItemLikesRequest} requestParameters Request parameters.
|
|
35409
|
+
* @param {*} [options] Override http request option.
|
|
35410
|
+
* @throws {RequiredError}
|
|
35411
|
+
*/
|
|
35412
|
+
getEventMediaItemLikes(requestParameters, options) {
|
|
35413
|
+
return EventsMediaApiFp(this.configuration).getEventMediaItemLikes(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
35414
|
+
}
|
|
35215
35415
|
/**
|
|
35216
35416
|
* Returns a paginated list of the event\'s pass types (ticket types) that are associated with a given media item, supporting search and ordering; requires read access to events and storage.
|
|
35217
35417
|
* @summary List pass types linked to a media item
|
|
@@ -48816,6 +49016,56 @@ export const EventsRegistrationsApiAxiosParamCreator = function (configuration)
|
|
|
48816
49016
|
options: localVarRequestOptions,
|
|
48817
49017
|
};
|
|
48818
49018
|
}),
|
|
49019
|
+
/**
|
|
49020
|
+
* Returns a paginated list of registrations for the given event that match the backend abandoned-registration predicate (all passes still draft and untouched for 24 hours); requires \"read\" permission on events and attendees.
|
|
49021
|
+
* @summary List an event\'s abandoned registrations
|
|
49022
|
+
* @param {string} eventId The event identifier
|
|
49023
|
+
* @param {number} [page] Page number
|
|
49024
|
+
* @param {number} [pageSize] Number of items per page
|
|
49025
|
+
* @param {string} [orderBy] Field to order by
|
|
49026
|
+
* @param {string} [search] Search query
|
|
49027
|
+
* @param {*} [options] Override http request option.
|
|
49028
|
+
* @throws {RequiredError}
|
|
49029
|
+
*/
|
|
49030
|
+
getEventAbandonedRegistrations: (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 = {}) {
|
|
49031
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
49032
|
+
assertParamExists('getEventAbandonedRegistrations', 'eventId', eventId);
|
|
49033
|
+
const localVarPath = `/events/{eventId}/registrations/abandoned`
|
|
49034
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
49035
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
49036
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49037
|
+
let baseOptions;
|
|
49038
|
+
if (configuration) {
|
|
49039
|
+
baseOptions = configuration.baseOptions;
|
|
49040
|
+
}
|
|
49041
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
49042
|
+
const localVarHeaderParameter = {};
|
|
49043
|
+
const localVarQueryParameter = {};
|
|
49044
|
+
// authentication ApiKeyAuth required
|
|
49045
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
49046
|
+
// authentication OrganizationId required
|
|
49047
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
49048
|
+
if (page !== undefined) {
|
|
49049
|
+
localVarQueryParameter['page'] = page;
|
|
49050
|
+
}
|
|
49051
|
+
if (pageSize !== undefined) {
|
|
49052
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
49053
|
+
}
|
|
49054
|
+
if (orderBy !== undefined) {
|
|
49055
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
49056
|
+
}
|
|
49057
|
+
if (search !== undefined) {
|
|
49058
|
+
localVarQueryParameter['search'] = search;
|
|
49059
|
+
}
|
|
49060
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
49061
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
49062
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
49063
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
49064
|
+
return {
|
|
49065
|
+
url: toPathString(localVarUrlObj),
|
|
49066
|
+
options: localVarRequestOptions,
|
|
49067
|
+
};
|
|
49068
|
+
}),
|
|
48819
49069
|
/**
|
|
48820
49070
|
* Resolves the registration that owns the given pass, then returns a paginated list of every pass on that registration — including the one identified by passId — optionally filtered by purchase status and search term; requires \"read\" permission on events and attendees.
|
|
48821
49071
|
* @summary List every pass on the registration that owns a given pass
|
|
@@ -49347,6 +49597,26 @@ export const EventsRegistrationsApiFp = function (configuration) {
|
|
|
49347
49597
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
49348
49598
|
});
|
|
49349
49599
|
},
|
|
49600
|
+
/**
|
|
49601
|
+
* Returns a paginated list of registrations for the given event that match the backend abandoned-registration predicate (all passes still draft and untouched for 24 hours); requires \"read\" permission on events and attendees.
|
|
49602
|
+
* @summary List an event\'s abandoned registrations
|
|
49603
|
+
* @param {string} eventId The event identifier
|
|
49604
|
+
* @param {number} [page] Page number
|
|
49605
|
+
* @param {number} [pageSize] Number of items per page
|
|
49606
|
+
* @param {string} [orderBy] Field to order by
|
|
49607
|
+
* @param {string} [search] Search query
|
|
49608
|
+
* @param {*} [options] Override http request option.
|
|
49609
|
+
* @throws {RequiredError}
|
|
49610
|
+
*/
|
|
49611
|
+
getEventAbandonedRegistrations(eventId, page, pageSize, orderBy, search, options) {
|
|
49612
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
49613
|
+
var _a, _b, _c;
|
|
49614
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventAbandonedRegistrations(eventId, page, pageSize, orderBy, search, options);
|
|
49615
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
49616
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsRegistrationsApi.getEventAbandonedRegistrations']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
49617
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
49618
|
+
});
|
|
49619
|
+
},
|
|
49350
49620
|
/**
|
|
49351
49621
|
* Resolves the registration that owns the given pass, then returns a paginated list of every pass on that registration — including the one identified by passId — optionally filtered by purchase status and search term; requires \"read\" permission on events and attendees.
|
|
49352
49622
|
* @summary List every pass on the registration that owns a given pass
|
|
@@ -49572,6 +49842,16 @@ export const EventsRegistrationsApiFactory = function (configuration, basePath,
|
|
|
49572
49842
|
deleteEventRegistration(requestParameters, options) {
|
|
49573
49843
|
return localVarFp.deleteEventRegistration(requestParameters.eventId, requestParameters.registrationId, options).then((request) => request(axios, basePath));
|
|
49574
49844
|
},
|
|
49845
|
+
/**
|
|
49846
|
+
* Returns a paginated list of registrations for the given event that match the backend abandoned-registration predicate (all passes still draft and untouched for 24 hours); requires \"read\" permission on events and attendees.
|
|
49847
|
+
* @summary List an event\'s abandoned registrations
|
|
49848
|
+
* @param {EventsRegistrationsApiGetEventAbandonedRegistrationsRequest} requestParameters Request parameters.
|
|
49849
|
+
* @param {*} [options] Override http request option.
|
|
49850
|
+
* @throws {RequiredError}
|
|
49851
|
+
*/
|
|
49852
|
+
getEventAbandonedRegistrations(requestParameters, options) {
|
|
49853
|
+
return localVarFp.getEventAbandonedRegistrations(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
49854
|
+
},
|
|
49575
49855
|
/**
|
|
49576
49856
|
* Resolves the registration that owns the given pass, then returns a paginated list of every pass on that registration — including the one identified by passId — optionally filtered by purchase status and search term; requires \"read\" permission on events and attendees.
|
|
49577
49857
|
* @summary List every pass on the registration that owns a given pass
|
|
@@ -49698,6 +49978,16 @@ export class EventsRegistrationsApi extends BaseAPI {
|
|
|
49698
49978
|
deleteEventRegistration(requestParameters, options) {
|
|
49699
49979
|
return EventsRegistrationsApiFp(this.configuration).deleteEventRegistration(requestParameters.eventId, requestParameters.registrationId, options).then((request) => request(this.axios, this.basePath));
|
|
49700
49980
|
}
|
|
49981
|
+
/**
|
|
49982
|
+
* Returns a paginated list of registrations for the given event that match the backend abandoned-registration predicate (all passes still draft and untouched for 24 hours); requires \"read\" permission on events and attendees.
|
|
49983
|
+
* @summary List an event\'s abandoned registrations
|
|
49984
|
+
* @param {EventsRegistrationsApiGetEventAbandonedRegistrationsRequest} requestParameters Request parameters.
|
|
49985
|
+
* @param {*} [options] Override http request option.
|
|
49986
|
+
* @throws {RequiredError}
|
|
49987
|
+
*/
|
|
49988
|
+
getEventAbandonedRegistrations(requestParameters, options) {
|
|
49989
|
+
return EventsRegistrationsApiFp(this.configuration).getEventAbandonedRegistrations(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
49990
|
+
}
|
|
49701
49991
|
/**
|
|
49702
49992
|
* Resolves the registration that owns the given pass, then returns a paginated list of every pass on that registration — including the one identified by passId — optionally filtered by purchase status and search term; requires \"read\" permission on events and attendees.
|
|
49703
49993
|
* @summary List every pass on the registration that owns a given pass
|
package/dist/esm/base.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 10.
|
|
5
|
+
* The version of the OpenAPI document: 10.22.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.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: 10.
|
|
7
|
+
* The version of the OpenAPI document: 10.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 10.
|
|
5
|
+
* The version of the OpenAPI document: 10.22.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.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: 10.
|
|
7
|
+
* The version of the OpenAPI document: 10.22.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Connected Admin API
|
|
3
3
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 10.
|
|
5
|
+
* The version of the OpenAPI document: 10.22.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Connected Admin API
|
|
4
4
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
5
5
|
*
|
|
6
|
-
* The version of the OpenAPI document: 10.
|
|
6
|
+
* The version of the OpenAPI document: 10.22.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/docs/Activity.md
CHANGED
|
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
|
|
|
21
21
|
**eventId** | **string** | | [default to undefined]
|
|
22
22
|
**groupId** | **string** | | [default to undefined]
|
|
23
23
|
**contentId** | **string** | | [default to undefined]
|
|
24
|
+
**eventMediaItemId** | **string** | | [default to undefined]
|
|
24
25
|
**createdAt** | **string** | | [default to undefined]
|
|
25
26
|
**updatedAt** | **string** | | [default to undefined]
|
|
26
27
|
**_count** | [**BaseActivityCount**](BaseActivityCount.md) | | [default to undefined]
|
|
@@ -54,6 +55,7 @@ const instance: Activity = {
|
|
|
54
55
|
eventId,
|
|
55
56
|
groupId,
|
|
56
57
|
contentId,
|
|
58
|
+
eventMediaItemId,
|
|
57
59
|
createdAt,
|
|
58
60
|
updatedAt,
|
|
59
61
|
_count,
|
|
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**eventId** | **string** | | [optional] [default to undefined]
|
|
16
16
|
**groupId** | **string** | | [optional] [default to undefined]
|
|
17
17
|
**contentId** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**eventMediaItemId** | **string** | | [optional] [default to undefined]
|
|
18
19
|
**commentedId** | **string** | | [optional] [default to undefined]
|
|
19
20
|
**meetingId** | **string** | | [optional] [default to undefined]
|
|
20
21
|
**createdAt** | **string** | | [optional] [default to undefined]
|
|
@@ -35,6 +36,7 @@ const instance: ActivityCreateInputs = {
|
|
|
35
36
|
eventId,
|
|
36
37
|
groupId,
|
|
37
38
|
contentId,
|
|
39
|
+
eventMediaItemId,
|
|
38
40
|
commentedId,
|
|
39
41
|
meetingId,
|
|
40
42
|
createdAt,
|
package/docs/BaseActivity.md
CHANGED
|
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
|
|
|
21
21
|
**eventId** | **string** | | [default to undefined]
|
|
22
22
|
**groupId** | **string** | | [default to undefined]
|
|
23
23
|
**contentId** | **string** | | [default to undefined]
|
|
24
|
+
**eventMediaItemId** | **string** | | [default to undefined]
|
|
24
25
|
**createdAt** | **string** | | [default to undefined]
|
|
25
26
|
**updatedAt** | **string** | | [default to undefined]
|
|
26
27
|
**_count** | [**BaseActivityCount**](BaseActivityCount.md) | | [default to undefined]
|
|
@@ -47,6 +48,7 @@ const instance: BaseActivity = {
|
|
|
47
48
|
eventId,
|
|
48
49
|
groupId,
|
|
49
50
|
contentId,
|
|
51
|
+
eventMediaItemId,
|
|
50
52
|
createdAt,
|
|
51
53
|
updatedAt,
|
|
52
54
|
_count,
|
|
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**fileId** | **string** | | [default to undefined]
|
|
16
16
|
**file** | [**BaseFile**](BaseFile.md) | | [default to undefined]
|
|
17
17
|
**sortOrder** | **number** | | [default to undefined]
|
|
18
|
+
**mediaInteractionsEnabled** | **boolean** | | [default to undefined]
|
|
18
19
|
|
|
19
20
|
## Example
|
|
20
21
|
|
|
@@ -32,6 +33,7 @@ const instance: BaseEventMediaItem = {
|
|
|
32
33
|
fileId,
|
|
33
34
|
file,
|
|
34
35
|
sortOrder,
|
|
36
|
+
mediaInteractionsEnabled,
|
|
35
37
|
};
|
|
36
38
|
```
|
|
37
39
|
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# BaseEventMediaItemLike
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**accountId** | **string** | | [default to undefined]
|
|
9
|
+
**eventId** | **string** | | [default to undefined]
|
|
10
|
+
**eventMediaItemId** | **string** | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { BaseEventMediaItemLike } from '@connectedxm/admin-sdk';
|
|
16
|
+
|
|
17
|
+
const instance: BaseEventMediaItemLike = {
|
|
18
|
+
accountId,
|
|
19
|
+
eventId,
|
|
20
|
+
eventMediaItemId,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/EventEmailType.md
CHANGED
|
@@ -15,4 +15,6 @@
|
|
|
15
15
|
|
|
16
16
|
* `Transfer` (value: `'transfer'`)
|
|
17
17
|
|
|
18
|
+
* `AbandonedRegistration` (value: `'abandonedRegistration'`)
|
|
19
|
+
|
|
18
20
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/EventMediaItem.md
CHANGED
|
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
|
|
|
15
15
|
**fileId** | **string** | | [default to undefined]
|
|
16
16
|
**file** | [**BaseFile**](BaseFile.md) | | [default to undefined]
|
|
17
17
|
**sortOrder** | **number** | | [default to undefined]
|
|
18
|
+
**mediaInteractionsEnabled** | **boolean** | | [default to undefined]
|
|
18
19
|
**allowedPassTypes** | [**Array<BaseEventPassType>**](BaseEventPassType.md) | | [default to undefined]
|
|
19
20
|
**allowedTiers** | [**Array<BaseTier>**](BaseTier.md) | | [default to undefined]
|
|
20
21
|
**createdAt** | **string** | | [default to undefined]
|
|
@@ -36,6 +37,7 @@ const instance: EventMediaItem = {
|
|
|
36
37
|
fileId,
|
|
37
38
|
file,
|
|
38
39
|
sortOrder,
|
|
40
|
+
mediaInteractionsEnabled,
|
|
39
41
|
allowedPassTypes,
|
|
40
42
|
allowedTiers,
|
|
41
43
|
createdAt,
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**imageId** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**videoId** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**fileId** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**mediaInteractionsEnabled** | **boolean** | | [optional] [default to undefined]
|
|
14
15
|
|
|
15
16
|
## Example
|
|
16
17
|
|
|
@@ -24,6 +25,7 @@ const instance: EventMediaItemCreateInputs = {
|
|
|
24
25
|
imageId,
|
|
25
26
|
videoId,
|
|
26
27
|
fileId,
|
|
28
|
+
mediaInteractionsEnabled,
|
|
27
29
|
};
|
|
28
30
|
```
|
|
29
31
|
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# EventMediaItemLike
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**accountId** | **string** | | [default to undefined]
|
|
9
|
+
**eventId** | **string** | | [default to undefined]
|
|
10
|
+
**eventMediaItemId** | **string** | | [default to undefined]
|
|
11
|
+
**account** | [**BaseAccount**](BaseAccount.md) | | [default to undefined]
|
|
12
|
+
**createdAt** | **string** | | [default to undefined]
|
|
13
|
+
**updatedAt** | **string** | | [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { EventMediaItemLike } from '@connectedxm/admin-sdk';
|
|
19
|
+
|
|
20
|
+
const instance: EventMediaItemLike = {
|
|
21
|
+
accountId,
|
|
22
|
+
eventId,
|
|
23
|
+
eventMediaItemId,
|
|
24
|
+
account,
|
|
25
|
+
createdAt,
|
|
26
|
+
updatedAt,
|
|
27
|
+
};
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**name** | **string** | | [optional] [default to undefined]
|
|
9
9
|
**description** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**sortOrder** | **number** | | [optional] [default to undefined]
|
|
11
|
+
**mediaInteractionsEnabled** | **boolean** | | [optional] [default to undefined]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ const instance: EventMediaItemUpdateInputs = {
|
|
|
18
19
|
name,
|
|
19
20
|
description,
|
|
20
21
|
sortOrder,
|
|
22
|
+
mediaInteractionsEnabled,
|
|
21
23
|
};
|
|
22
24
|
```
|
|
23
25
|
|