@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.
Files changed (41) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/README.md +2 -2
  3. package/api.ts +456 -2
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +252 -2
  8. package/dist/api.js +315 -25
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +252 -2
  16. package/dist/esm/api.js +291 -1
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/docs/Activity.md +2 -0
  24. package/docs/ActivityCreateInputs.md +2 -0
  25. package/docs/BaseActivity.md +2 -0
  26. package/docs/BaseEventMediaItem.md +2 -0
  27. package/docs/BaseEventMediaItemLike.md +24 -0
  28. package/docs/EventEmailType.md +2 -0
  29. package/docs/EventMediaItem.md +2 -0
  30. package/docs/EventMediaItemCreateInputs.md +2 -0
  31. package/docs/EventMediaItemLike.md +30 -0
  32. package/docs/EventMediaItemUpdateInputs.md +2 -0
  33. package/docs/EventsMediaApi.md +137 -0
  34. package/docs/EventsRegistrationsApi.md +64 -0
  35. package/docs/GetEventMediaItemLikes200Response.md +26 -0
  36. package/docs/NotificationPreferences.md +2 -0
  37. package/docs/OrganizationModuleSettings.md +4 -0
  38. package/docs/OrganizationModuleSettingsTranslation.md +2 -0
  39. package/docs/OrganizationModuleSettingsTranslationUpdateInputs.md +2 -0
  40. package/docs/OrganizationModuleSettingsUpdateInputs.md +4 -0
  41. package/package.json +1 -1
@@ -131,6 +131,7 @@ docs/BaseEventAttribute.md
131
131
  docs/BaseEventBlock.md
132
132
  docs/BaseEventEmail.md
133
133
  docs/BaseEventMediaItem.md
134
+ docs/BaseEventMediaItemLike.md
134
135
  docs/BaseEventOnSite.md
135
136
  docs/BaseEventOnSiteBadgeColorRule.md
136
137
  docs/BaseEventOnSiteLabel.md
@@ -537,6 +538,7 @@ docs/EventFollowupUpdateInputs.md
537
538
  docs/EventLocationInputs.md
538
539
  docs/EventMediaItem.md
539
540
  docs/EventMediaItemCreateInputs.md
541
+ docs/EventMediaItemLike.md
540
542
  docs/EventMediaItemTranslation.md
541
543
  docs/EventMediaItemTranslationUpdateInputs.md
542
544
  docs/EventMediaItemUpdateInputs.md
@@ -857,6 +859,7 @@ docs/GetEventFollowupQuestions200Response.md
857
859
  docs/GetEventFollowupTranslation200Response.md
858
860
  docs/GetEventFollowupTranslations200Response.md
859
861
  docs/GetEventFollowups200Response.md
862
+ docs/GetEventMediaItemLikes200Response.md
860
863
  docs/GetEventMediaItemTranslation200Response.md
861
864
  docs/GetEventMediaItemTranslations200Response.md
862
865
  docs/GetEventMediaItems200Response.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @connectedxm/admin-sdk@10.20.1
1
+ ## @connectedxm/admin-sdk@10.22.0
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @connectedxm/admin-sdk@10.20.1 --save
39
+ npm install @connectedxm/admin-sdk@10.22.0 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
package/api.ts 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.20.1
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).
@@ -328,6 +328,7 @@ export interface Activity {
328
328
  'eventId': string | null;
329
329
  'groupId': string | null;
330
330
  'contentId': string | null;
331
+ 'eventMediaItemId': string | null;
331
332
  'createdAt': string;
332
333
  'updatedAt': string;
333
334
  '_count': BaseActivityCount;
@@ -352,6 +353,7 @@ export interface ActivityCreateInputs {
352
353
  'eventId'?: string | null;
353
354
  'groupId'?: string | null;
354
355
  'contentId'?: string | null;
356
+ 'eventMediaItemId'?: string | null;
355
357
  'commentedId'?: string | null;
356
358
  'meetingId'?: string | null;
357
359
  'createdAt'?: string | null;
@@ -889,6 +891,7 @@ export interface BaseActivity {
889
891
  'eventId': string | null;
890
892
  'groupId': string | null;
891
893
  'contentId': string | null;
894
+ 'eventMediaItemId': string | null;
892
895
  'createdAt': string;
893
896
  'updatedAt': string;
894
897
  '_count': BaseActivityCount;
@@ -1372,6 +1375,12 @@ export interface BaseEventMediaItem {
1372
1375
  'fileId': string | null;
1373
1376
  'file': BaseFile | null;
1374
1377
  'sortOrder': number;
1378
+ 'mediaInteractionsEnabled': boolean;
1379
+ }
1380
+ export interface BaseEventMediaItemLike {
1381
+ 'accountId': string;
1382
+ 'eventId': string;
1383
+ 'eventMediaItemId': string;
1375
1384
  }
1376
1385
  export interface BaseEventOnSite {
1377
1386
  'eventId': string;
@@ -5440,7 +5449,8 @@ export enum EventEmailType {
5440
5449
  Reminder = 'reminder',
5441
5450
  Approval = 'approval',
5442
5451
  Denial = 'denial',
5443
- Transfer = 'transfer'
5452
+ Transfer = 'transfer',
5453
+ AbandonedRegistration = 'abandonedRegistration'
5444
5454
  }
5445
5455
 
5446
5456
 
@@ -5521,6 +5531,7 @@ export interface EventMediaItem {
5521
5531
  'fileId': string | null;
5522
5532
  'file': BaseFile | null;
5523
5533
  'sortOrder': number;
5534
+ 'mediaInteractionsEnabled': boolean;
5524
5535
  'allowedPassTypes': Array<BaseEventPassType>;
5525
5536
  'allowedTiers': Array<BaseTier>;
5526
5537
  'createdAt': string;
@@ -5533,6 +5544,15 @@ export interface EventMediaItemCreateInputs {
5533
5544
  'imageId'?: string | null;
5534
5545
  'videoId'?: string | null;
5535
5546
  'fileId'?: string | null;
5547
+ 'mediaInteractionsEnabled'?: boolean;
5548
+ }
5549
+ export interface EventMediaItemLike {
5550
+ 'accountId': string;
5551
+ 'eventId': string;
5552
+ 'eventMediaItemId': string;
5553
+ 'account': BaseAccount;
5554
+ 'createdAt': string;
5555
+ 'updatedAt': string;
5536
5556
  }
5537
5557
  export interface EventMediaItemTranslation {
5538
5558
  'id': string;
@@ -5550,6 +5570,7 @@ export interface EventMediaItemUpdateInputs {
5550
5570
  'name'?: string | null;
5551
5571
  'description'?: string | null;
5552
5572
  'sortOrder'?: number | null;
5573
+ 'mediaInteractionsEnabled'?: boolean;
5553
5574
  }
5554
5575
  export interface EventOnSite {
5555
5576
  'eventId': string;
@@ -8168,6 +8189,17 @@ export enum GetEventFollowups200ResponseStatusEnum {
8168
8189
  Ok = 'ok'
8169
8190
  }
8170
8191
 
8192
+ export interface GetEventMediaItemLikes200Response {
8193
+ 'status': GetEventMediaItemLikes200ResponseStatusEnum;
8194
+ 'message': string;
8195
+ 'data': Array<EventMediaItemLike>;
8196
+ 'count'?: number;
8197
+ }
8198
+
8199
+ export enum GetEventMediaItemLikes200ResponseStatusEnum {
8200
+ Ok = 'ok'
8201
+ }
8202
+
8171
8203
  export interface GetEventMediaItemTranslation200Response {
8172
8204
  'status': GetEventMediaItemTranslation200ResponseStatusEnum;
8173
8205
  'message': string;
@@ -11576,6 +11608,7 @@ export interface NotificationPreferences {
11576
11608
  'transferPush': boolean;
11577
11609
  'transferEmail': boolean;
11578
11610
  'eventReminderEmail': boolean;
11611
+ 'abandonedRegistrationEmail': boolean;
11579
11612
  'bookingReminderEmail': boolean;
11580
11613
  'chatPush': boolean;
11581
11614
  'chatUnreadEmail': boolean;
@@ -11874,6 +11907,8 @@ export interface OrganizationModuleSettings {
11874
11907
  'eventDenialEmailBody': string | null;
11875
11908
  'eventTransferEmailReplyTo': string | null;
11876
11909
  'eventTransferEmailBody': string | null;
11910
+ 'eventAbandonedRegistrationEmailReplyTo': string | null;
11911
+ 'eventAbandonedRegistrationEmailBody': string | null;
11877
11912
  }
11878
11913
  export interface OrganizationModuleSettingsTranslation {
11879
11914
  'organizationId': string;
@@ -11885,6 +11920,7 @@ export interface OrganizationModuleSettingsTranslation {
11885
11920
  'eventApprovalEmailBody': string | null;
11886
11921
  'eventDenialEmailBody': string | null;
11887
11922
  'eventTransferEmailBody': string | null;
11923
+ 'eventAbandonedRegistrationEmailBody': string | null;
11888
11924
  }
11889
11925
  export interface OrganizationModuleSettingsTranslationUpdateInputs {
11890
11926
  'supportAutoResolveMessage'?: string;
@@ -11894,6 +11930,7 @@ export interface OrganizationModuleSettingsTranslationUpdateInputs {
11894
11930
  'eventApprovalEmailBody'?: string | null;
11895
11931
  'eventDenialEmailBody'?: string | null;
11896
11932
  'eventTransferEmailBody'?: string | null;
11933
+ 'eventAbandonedRegistrationEmailBody'?: string | null;
11897
11934
  }
11898
11935
  export interface OrganizationModuleSettingsUpdateInputs {
11899
11936
  'meetingGroupCallAdminPreset'?: string;
@@ -11916,6 +11953,8 @@ export interface OrganizationModuleSettingsUpdateInputs {
11916
11953
  'eventDenialEmailBody'?: string | null;
11917
11954
  'eventTransferEmailReplyTo'?: string | null;
11918
11955
  'eventTransferEmailBody'?: string | null;
11956
+ 'eventAbandonedRegistrationEmailReplyTo'?: string | null;
11957
+ 'eventAbandonedRegistrationEmailBody'?: string | null;
11919
11958
  }
11920
11959
 
11921
11960
  export enum OrganizationModuleType {
@@ -56559,6 +56598,139 @@ export const EventsMediaApiAxiosParamCreator = function (configuration?: Configu
56559
56598
  options: localVarRequestOptions,
56560
56599
  };
56561
56600
  },
56601
+ /**
56602
+ * 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.
56603
+ * @summary List a media item\'s activity feed
56604
+ * @param {string} eventId The event identifier
56605
+ * @param {string} mediaItemId The mediaItem identifier
56606
+ * @param {ActivityStatus} [status] Filter by status
56607
+ * @param {number} [page] Page number
56608
+ * @param {number} [pageSize] Number of items per page
56609
+ * @param {string} [orderBy] Field to order by
56610
+ * @param {string} [search] Search query
56611
+ * @param {*} [options] Override http request option.
56612
+ * @throws {RequiredError}
56613
+ */
56614
+ getEventMediaItemActivities: async (eventId: string, mediaItemId: string, status?: ActivityStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
56615
+ // verify required parameter 'eventId' is not null or undefined
56616
+ assertParamExists('getEventMediaItemActivities', 'eventId', eventId)
56617
+ // verify required parameter 'mediaItemId' is not null or undefined
56618
+ assertParamExists('getEventMediaItemActivities', 'mediaItemId', mediaItemId)
56619
+ const localVarPath = `/events/{eventId}/media/{mediaItemId}/activities`
56620
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
56621
+ .replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)));
56622
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
56623
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56624
+ let baseOptions;
56625
+ if (configuration) {
56626
+ baseOptions = configuration.baseOptions;
56627
+ }
56628
+
56629
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
56630
+ const localVarHeaderParameter = {} as any;
56631
+ const localVarQueryParameter = {} as any;
56632
+
56633
+ // authentication ApiKeyAuth required
56634
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
56635
+
56636
+ // authentication OrganizationId required
56637
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
56638
+
56639
+ if (status !== undefined) {
56640
+ localVarQueryParameter['status'] = status;
56641
+ }
56642
+
56643
+ if (page !== undefined) {
56644
+ localVarQueryParameter['page'] = page;
56645
+ }
56646
+
56647
+ if (pageSize !== undefined) {
56648
+ localVarQueryParameter['pageSize'] = pageSize;
56649
+ }
56650
+
56651
+ if (orderBy !== undefined) {
56652
+ localVarQueryParameter['orderBy'] = orderBy;
56653
+ }
56654
+
56655
+ if (search !== undefined) {
56656
+ localVarQueryParameter['search'] = search;
56657
+ }
56658
+
56659
+ localVarHeaderParameter['Accept'] = 'application/json';
56660
+
56661
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56662
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56663
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
56664
+
56665
+ return {
56666
+ url: toPathString(localVarUrlObj),
56667
+ options: localVarRequestOptions,
56668
+ };
56669
+ },
56670
+ /**
56671
+ * 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.
56672
+ * @summary List a media item\'s likes
56673
+ * @param {string} eventId The event identifier
56674
+ * @param {string} mediaItemId The mediaItem identifier
56675
+ * @param {number} [page] Page number
56676
+ * @param {number} [pageSize] Number of items per page
56677
+ * @param {string} [orderBy] Field to order by
56678
+ * @param {string} [search] Search query
56679
+ * @param {*} [options] Override http request option.
56680
+ * @throws {RequiredError}
56681
+ */
56682
+ getEventMediaItemLikes: async (eventId: string, mediaItemId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
56683
+ // verify required parameter 'eventId' is not null or undefined
56684
+ assertParamExists('getEventMediaItemLikes', 'eventId', eventId)
56685
+ // verify required parameter 'mediaItemId' is not null or undefined
56686
+ assertParamExists('getEventMediaItemLikes', 'mediaItemId', mediaItemId)
56687
+ const localVarPath = `/events/{eventId}/media/{mediaItemId}/likes`
56688
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
56689
+ .replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)));
56690
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
56691
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
56692
+ let baseOptions;
56693
+ if (configuration) {
56694
+ baseOptions = configuration.baseOptions;
56695
+ }
56696
+
56697
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
56698
+ const localVarHeaderParameter = {} as any;
56699
+ const localVarQueryParameter = {} as any;
56700
+
56701
+ // authentication ApiKeyAuth required
56702
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
56703
+
56704
+ // authentication OrganizationId required
56705
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
56706
+
56707
+ if (page !== undefined) {
56708
+ localVarQueryParameter['page'] = page;
56709
+ }
56710
+
56711
+ if (pageSize !== undefined) {
56712
+ localVarQueryParameter['pageSize'] = pageSize;
56713
+ }
56714
+
56715
+ if (orderBy !== undefined) {
56716
+ localVarQueryParameter['orderBy'] = orderBy;
56717
+ }
56718
+
56719
+ if (search !== undefined) {
56720
+ localVarQueryParameter['search'] = search;
56721
+ }
56722
+
56723
+ localVarHeaderParameter['Accept'] = 'application/json';
56724
+
56725
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
56726
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
56727
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
56728
+
56729
+ return {
56730
+ url: toPathString(localVarUrlObj),
56731
+ options: localVarRequestOptions,
56732
+ };
56733
+ },
56562
56734
  /**
56563
56735
  * 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.
56564
56736
  * @summary List pass types linked to a media item
@@ -56978,6 +57150,43 @@ export const EventsMediaApiFp = function(configuration?: Configuration) {
56978
57150
  const localVarOperationServerBasePath = operationServerMap['EventsMediaApi.getEventMediaItem']?.[localVarOperationServerIndex]?.url;
56979
57151
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
56980
57152
  },
57153
+ /**
57154
+ * 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.
57155
+ * @summary List a media item\'s activity feed
57156
+ * @param {string} eventId The event identifier
57157
+ * @param {string} mediaItemId The mediaItem identifier
57158
+ * @param {ActivityStatus} [status] Filter by status
57159
+ * @param {number} [page] Page number
57160
+ * @param {number} [pageSize] Number of items per page
57161
+ * @param {string} [orderBy] Field to order by
57162
+ * @param {string} [search] Search query
57163
+ * @param {*} [options] Override http request option.
57164
+ * @throws {RequiredError}
57165
+ */
57166
+ async getEventMediaItemActivities(eventId: string, mediaItemId: string, status?: ActivityStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountActivities200Response>> {
57167
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventMediaItemActivities(eventId, mediaItemId, status, page, pageSize, orderBy, search, options);
57168
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
57169
+ const localVarOperationServerBasePath = operationServerMap['EventsMediaApi.getEventMediaItemActivities']?.[localVarOperationServerIndex]?.url;
57170
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
57171
+ },
57172
+ /**
57173
+ * 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.
57174
+ * @summary List a media item\'s likes
57175
+ * @param {string} eventId The event identifier
57176
+ * @param {string} mediaItemId The mediaItem identifier
57177
+ * @param {number} [page] Page number
57178
+ * @param {number} [pageSize] Number of items per page
57179
+ * @param {string} [orderBy] Field to order by
57180
+ * @param {string} [search] Search query
57181
+ * @param {*} [options] Override http request option.
57182
+ * @throws {RequiredError}
57183
+ */
57184
+ async getEventMediaItemLikes(eventId: string, mediaItemId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventMediaItemLikes200Response>> {
57185
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventMediaItemLikes(eventId, mediaItemId, page, pageSize, orderBy, search, options);
57186
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
57187
+ const localVarOperationServerBasePath = operationServerMap['EventsMediaApi.getEventMediaItemLikes']?.[localVarOperationServerIndex]?.url;
57188
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
57189
+ },
56981
57190
  /**
56982
57191
  * 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.
56983
57192
  * @summary List pass types linked to a media item
@@ -57136,6 +57345,26 @@ export const EventsMediaApiFactory = function (configuration?: Configuration, ba
57136
57345
  getEventMediaItem(requestParameters: EventsMediaApiGetEventMediaItemRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventMediaItem200Response> {
57137
57346
  return localVarFp.getEventMediaItem(requestParameters.eventId, requestParameters.itemId, options).then((request) => request(axios, basePath));
57138
57347
  },
57348
+ /**
57349
+ * 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.
57350
+ * @summary List a media item\'s activity feed
57351
+ * @param {EventsMediaApiGetEventMediaItemActivitiesRequest} requestParameters Request parameters.
57352
+ * @param {*} [options] Override http request option.
57353
+ * @throws {RequiredError}
57354
+ */
57355
+ getEventMediaItemActivities(requestParameters: EventsMediaApiGetEventMediaItemActivitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountActivities200Response> {
57356
+ return localVarFp.getEventMediaItemActivities(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
57357
+ },
57358
+ /**
57359
+ * 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.
57360
+ * @summary List a media item\'s likes
57361
+ * @param {EventsMediaApiGetEventMediaItemLikesRequest} requestParameters Request parameters.
57362
+ * @param {*} [options] Override http request option.
57363
+ * @throws {RequiredError}
57364
+ */
57365
+ getEventMediaItemLikes(requestParameters: EventsMediaApiGetEventMediaItemLikesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventMediaItemLikes200Response> {
57366
+ return localVarFp.getEventMediaItemLikes(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
57367
+ },
57139
57368
  /**
57140
57369
  * 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.
57141
57370
  * @summary List pass types linked to a media item
@@ -57281,6 +57510,81 @@ export interface EventsMediaApiGetEventMediaItemRequest {
57281
57510
  readonly itemId: string
57282
57511
  }
57283
57512
 
57513
+ /**
57514
+ * Request parameters for getEventMediaItemActivities operation in EventsMediaApi.
57515
+ */
57516
+ export interface EventsMediaApiGetEventMediaItemActivitiesRequest {
57517
+ /**
57518
+ * The event identifier
57519
+ */
57520
+ readonly eventId: string
57521
+
57522
+ /**
57523
+ * The mediaItem identifier
57524
+ */
57525
+ readonly mediaItemId: string
57526
+
57527
+ /**
57528
+ * Filter by status
57529
+ */
57530
+ readonly status?: ActivityStatus
57531
+
57532
+ /**
57533
+ * Page number
57534
+ */
57535
+ readonly page?: number
57536
+
57537
+ /**
57538
+ * Number of items per page
57539
+ */
57540
+ readonly pageSize?: number
57541
+
57542
+ /**
57543
+ * Field to order by
57544
+ */
57545
+ readonly orderBy?: string
57546
+
57547
+ /**
57548
+ * Search query
57549
+ */
57550
+ readonly search?: string
57551
+ }
57552
+
57553
+ /**
57554
+ * Request parameters for getEventMediaItemLikes operation in EventsMediaApi.
57555
+ */
57556
+ export interface EventsMediaApiGetEventMediaItemLikesRequest {
57557
+ /**
57558
+ * The event identifier
57559
+ */
57560
+ readonly eventId: string
57561
+
57562
+ /**
57563
+ * The mediaItem identifier
57564
+ */
57565
+ readonly mediaItemId: string
57566
+
57567
+ /**
57568
+ * Page number
57569
+ */
57570
+ readonly page?: number
57571
+
57572
+ /**
57573
+ * Number of items per page
57574
+ */
57575
+ readonly pageSize?: number
57576
+
57577
+ /**
57578
+ * Field to order by
57579
+ */
57580
+ readonly orderBy?: string
57581
+
57582
+ /**
57583
+ * Search query
57584
+ */
57585
+ readonly search?: string
57586
+ }
57587
+
57284
57588
  /**
57285
57589
  * Request parameters for getEventMediaItemPassTypes operation in EventsMediaApi.
57286
57590
  */
@@ -57502,6 +57806,28 @@ export class EventsMediaApi extends BaseAPI {
57502
57806
  return EventsMediaApiFp(this.configuration).getEventMediaItem(requestParameters.eventId, requestParameters.itemId, options).then((request) => request(this.axios, this.basePath));
57503
57807
  }
57504
57808
 
57809
+ /**
57810
+ * 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.
57811
+ * @summary List a media item\'s activity feed
57812
+ * @param {EventsMediaApiGetEventMediaItemActivitiesRequest} requestParameters Request parameters.
57813
+ * @param {*} [options] Override http request option.
57814
+ * @throws {RequiredError}
57815
+ */
57816
+ public getEventMediaItemActivities(requestParameters: EventsMediaApiGetEventMediaItemActivitiesRequest, options?: RawAxiosRequestConfig) {
57817
+ 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));
57818
+ }
57819
+
57820
+ /**
57821
+ * 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.
57822
+ * @summary List a media item\'s likes
57823
+ * @param {EventsMediaApiGetEventMediaItemLikesRequest} requestParameters Request parameters.
57824
+ * @param {*} [options] Override http request option.
57825
+ * @throws {RequiredError}
57826
+ */
57827
+ public getEventMediaItemLikes(requestParameters: EventsMediaApiGetEventMediaItemLikesRequest, options?: RawAxiosRequestConfig) {
57828
+ 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));
57829
+ }
57830
+
57505
57831
  /**
57506
57832
  * 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.
57507
57833
  * @summary List pass types linked to a media item
@@ -75540,6 +75866,66 @@ export const EventsRegistrationsApiAxiosParamCreator = function (configuration?:
75540
75866
  options: localVarRequestOptions,
75541
75867
  };
75542
75868
  },
75869
+ /**
75870
+ * 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.
75871
+ * @summary List an event\'s abandoned registrations
75872
+ * @param {string} eventId The event identifier
75873
+ * @param {number} [page] Page number
75874
+ * @param {number} [pageSize] Number of items per page
75875
+ * @param {string} [orderBy] Field to order by
75876
+ * @param {string} [search] Search query
75877
+ * @param {*} [options] Override http request option.
75878
+ * @throws {RequiredError}
75879
+ */
75880
+ getEventAbandonedRegistrations: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
75881
+ // verify required parameter 'eventId' is not null or undefined
75882
+ assertParamExists('getEventAbandonedRegistrations', 'eventId', eventId)
75883
+ const localVarPath = `/events/{eventId}/registrations/abandoned`
75884
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
75885
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
75886
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
75887
+ let baseOptions;
75888
+ if (configuration) {
75889
+ baseOptions = configuration.baseOptions;
75890
+ }
75891
+
75892
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
75893
+ const localVarHeaderParameter = {} as any;
75894
+ const localVarQueryParameter = {} as any;
75895
+
75896
+ // authentication ApiKeyAuth required
75897
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
75898
+
75899
+ // authentication OrganizationId required
75900
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
75901
+
75902
+ if (page !== undefined) {
75903
+ localVarQueryParameter['page'] = page;
75904
+ }
75905
+
75906
+ if (pageSize !== undefined) {
75907
+ localVarQueryParameter['pageSize'] = pageSize;
75908
+ }
75909
+
75910
+ if (orderBy !== undefined) {
75911
+ localVarQueryParameter['orderBy'] = orderBy;
75912
+ }
75913
+
75914
+ if (search !== undefined) {
75915
+ localVarQueryParameter['search'] = search;
75916
+ }
75917
+
75918
+ localVarHeaderParameter['Accept'] = 'application/json';
75919
+
75920
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
75921
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
75922
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
75923
+
75924
+ return {
75925
+ url: toPathString(localVarUrlObj),
75926
+ options: localVarRequestOptions,
75927
+ };
75928
+ },
75543
75929
  /**
75544
75930
  * 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.
75545
75931
  * @summary List every pass on the registration that owns a given pass
@@ -76154,6 +76540,23 @@ export const EventsRegistrationsApiFp = function(configuration?: Configuration)
76154
76540
  const localVarOperationServerBasePath = operationServerMap['EventsRegistrationsApi.deleteEventRegistration']?.[localVarOperationServerIndex]?.url;
76155
76541
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
76156
76542
  },
76543
+ /**
76544
+ * 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.
76545
+ * @summary List an event\'s abandoned registrations
76546
+ * @param {string} eventId The event identifier
76547
+ * @param {number} [page] Page number
76548
+ * @param {number} [pageSize] Number of items per page
76549
+ * @param {string} [orderBy] Field to order by
76550
+ * @param {string} [search] Search query
76551
+ * @param {*} [options] Override http request option.
76552
+ * @throws {RequiredError}
76553
+ */
76554
+ async getEventAbandonedRegistrations(eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountRegistrations200Response>> {
76555
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventAbandonedRegistrations(eventId, page, pageSize, orderBy, search, options);
76556
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
76557
+ const localVarOperationServerBasePath = operationServerMap['EventsRegistrationsApi.getEventAbandonedRegistrations']?.[localVarOperationServerIndex]?.url;
76558
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
76559
+ },
76157
76560
  /**
76158
76561
  * 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.
76159
76562
  * @summary List every pass on the registration that owns a given pass
@@ -76350,6 +76753,16 @@ export const EventsRegistrationsApiFactory = function (configuration?: Configura
76350
76753
  deleteEventRegistration(requestParameters: EventsRegistrationsApiDeleteEventRegistrationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventRegistration200Response> {
76351
76754
  return localVarFp.deleteEventRegistration(requestParameters.eventId, requestParameters.registrationId, options).then((request) => request(axios, basePath));
76352
76755
  },
76756
+ /**
76757
+ * 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.
76758
+ * @summary List an event\'s abandoned registrations
76759
+ * @param {EventsRegistrationsApiGetEventAbandonedRegistrationsRequest} requestParameters Request parameters.
76760
+ * @param {*} [options] Override http request option.
76761
+ * @throws {RequiredError}
76762
+ */
76763
+ getEventAbandonedRegistrations(requestParameters: EventsRegistrationsApiGetEventAbandonedRegistrationsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountRegistrations200Response> {
76764
+ return localVarFp.getEventAbandonedRegistrations(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
76765
+ },
76353
76766
  /**
76354
76767
  * 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.
76355
76768
  * @summary List every pass on the registration that owns a given pass
@@ -76480,6 +76893,36 @@ export interface EventsRegistrationsApiDeleteEventRegistrationRequest {
76480
76893
  readonly registrationId: string
76481
76894
  }
76482
76895
 
76896
+ /**
76897
+ * Request parameters for getEventAbandonedRegistrations operation in EventsRegistrationsApi.
76898
+ */
76899
+ export interface EventsRegistrationsApiGetEventAbandonedRegistrationsRequest {
76900
+ /**
76901
+ * The event identifier
76902
+ */
76903
+ readonly eventId: string
76904
+
76905
+ /**
76906
+ * Page number
76907
+ */
76908
+ readonly page?: number
76909
+
76910
+ /**
76911
+ * Number of items per page
76912
+ */
76913
+ readonly pageSize?: number
76914
+
76915
+ /**
76916
+ * Field to order by
76917
+ */
76918
+ readonly orderBy?: string
76919
+
76920
+ /**
76921
+ * Search query
76922
+ */
76923
+ readonly search?: string
76924
+ }
76925
+
76483
76926
  /**
76484
76927
  * Request parameters for getEventPassRegistrationPasses operation in EventsRegistrationsApi.
76485
76928
  */
@@ -76788,6 +77231,17 @@ export class EventsRegistrationsApi extends BaseAPI {
76788
77231
  return EventsRegistrationsApiFp(this.configuration).deleteEventRegistration(requestParameters.eventId, requestParameters.registrationId, options).then((request) => request(this.axios, this.basePath));
76789
77232
  }
76790
77233
 
77234
+ /**
77235
+ * 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.
77236
+ * @summary List an event\'s abandoned registrations
77237
+ * @param {EventsRegistrationsApiGetEventAbandonedRegistrationsRequest} requestParameters Request parameters.
77238
+ * @param {*} [options] Override http request option.
77239
+ * @throws {RequiredError}
77240
+ */
77241
+ public getEventAbandonedRegistrations(requestParameters: EventsRegistrationsApiGetEventAbandonedRegistrationsRequest, options?: RawAxiosRequestConfig) {
77242
+ return EventsRegistrationsApiFp(this.configuration).getEventAbandonedRegistrations(requestParameters.eventId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
77243
+ }
77244
+
76791
77245
  /**
76792
77246
  * 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.
76793
77247
  * @summary List every pass on the registration that owns a given pass
package/base.ts 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.20.1
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).