@connectedxm/admin-sdk 10.20.0 → 10.21.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/dist/api.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.20.0
5
+ * The version of the OpenAPI document: 10.21.0
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -304,6 +304,7 @@ export interface Activity {
304
304
  'eventId': string | null;
305
305
  'groupId': string | null;
306
306
  'contentId': string | null;
307
+ 'eventMediaItemId': string | null;
307
308
  'createdAt': string;
308
309
  'updatedAt': string;
309
310
  '_count': BaseActivityCount;
@@ -326,6 +327,7 @@ export interface ActivityCreateInputs {
326
327
  'eventId'?: string | null;
327
328
  'groupId'?: string | null;
328
329
  'contentId'?: string | null;
330
+ 'eventMediaItemId'?: string | null;
329
331
  'commentedId'?: string | null;
330
332
  'meetingId'?: string | null;
331
333
  'createdAt'?: string | null;
@@ -806,6 +808,7 @@ export interface BaseActivity {
806
808
  'eventId': string | null;
807
809
  'groupId': string | null;
808
810
  'contentId': string | null;
811
+ 'eventMediaItemId': string | null;
809
812
  'createdAt': string;
810
813
  'updatedAt': string;
811
814
  '_count': BaseActivityCount;
@@ -1259,6 +1262,12 @@ export interface BaseEventMediaItem {
1259
1262
  'fileId': string | null;
1260
1263
  'file': BaseFile | null;
1261
1264
  'sortOrder': number;
1265
+ 'mediaInteractionsEnabled': boolean;
1266
+ }
1267
+ export interface BaseEventMediaItemLike {
1268
+ 'accountId': string;
1269
+ 'eventId': string;
1270
+ 'eventMediaItemId': string;
1262
1271
  }
1263
1272
  export interface BaseEventOnSite {
1264
1273
  'eventId': string;
@@ -1386,6 +1395,7 @@ export interface BaseEventPassTypeExchangeTarget {
1386
1395
  'targetPassTypeId': string;
1387
1396
  'targetPassType': BaseEventPassType;
1388
1397
  'fixedPricing': boolean;
1398
+ 'ignoreRefundSchedules': boolean;
1389
1399
  'amount': number;
1390
1400
  'startDate': string | null;
1391
1401
  'endDate': string | null;
@@ -5027,6 +5037,7 @@ export interface EventMediaItem {
5027
5037
  'fileId': string | null;
5028
5038
  'file': BaseFile | null;
5029
5039
  'sortOrder': number;
5040
+ 'mediaInteractionsEnabled': boolean;
5030
5041
  'allowedPassTypes': Array<BaseEventPassType>;
5031
5042
  'allowedTiers': Array<BaseTier>;
5032
5043
  'createdAt': string;
@@ -5039,6 +5050,15 @@ export interface EventMediaItemCreateInputs {
5039
5050
  'imageId'?: string | null;
5040
5051
  'videoId'?: string | null;
5041
5052
  'fileId'?: string | null;
5053
+ 'mediaInteractionsEnabled'?: boolean;
5054
+ }
5055
+ export interface EventMediaItemLike {
5056
+ 'accountId': string;
5057
+ 'eventId': string;
5058
+ 'eventMediaItemId': string;
5059
+ 'account': BaseAccount;
5060
+ 'createdAt': string;
5061
+ 'updatedAt': string;
5042
5062
  }
5043
5063
  export interface EventMediaItemTranslation {
5044
5064
  'id': string;
@@ -5056,6 +5076,7 @@ export interface EventMediaItemUpdateInputs {
5056
5076
  'name'?: string | null;
5057
5077
  'description'?: string | null;
5058
5078
  'sortOrder'?: number | null;
5079
+ 'mediaInteractionsEnabled'?: boolean;
5059
5080
  }
5060
5081
  export interface EventOnSite {
5061
5082
  'eventId': string;
@@ -5295,6 +5316,7 @@ export interface EventPassTypeExchangeTarget {
5295
5316
  'targetPassTypeId': string;
5296
5317
  'targetPassType': BaseEventPassType;
5297
5318
  'fixedPricing': boolean;
5319
+ 'ignoreRefundSchedules': boolean;
5298
5320
  'amount': number;
5299
5321
  'startDate': string | null;
5300
5322
  'endDate': string | null;
@@ -7385,6 +7407,15 @@ export interface GetEventFollowups200Response {
7385
7407
  export declare enum GetEventFollowups200ResponseStatusEnum {
7386
7408
  Ok = "ok"
7387
7409
  }
7410
+ export interface GetEventMediaItemLikes200Response {
7411
+ 'status': GetEventMediaItemLikes200ResponseStatusEnum;
7412
+ 'message': string;
7413
+ 'data': Array<EventMediaItemLike>;
7414
+ 'count'?: number;
7415
+ }
7416
+ export declare enum GetEventMediaItemLikes200ResponseStatusEnum {
7417
+ Ok = "ok"
7418
+ }
7388
7419
  export interface GetEventMediaItemTranslation200Response {
7389
7420
  'status': GetEventMediaItemTranslation200ResponseStatusEnum;
7390
7421
  'message': string;
@@ -10805,6 +10836,7 @@ export interface PassTypeExchangeTargetCreateInputs {
10805
10836
  'enabled': boolean;
10806
10837
  'targetPassTypeId': string;
10807
10838
  'fixedPricing'?: boolean;
10839
+ 'ignoreRefundSchedules'?: boolean;
10808
10840
  'amount'?: number;
10809
10841
  'startDate'?: string | null;
10810
10842
  'endDate'?: string | null;
@@ -10812,6 +10844,7 @@ export interface PassTypeExchangeTargetCreateInputs {
10812
10844
  export interface PassTypeExchangeTargetUpdateInputs {
10813
10845
  'enabled'?: boolean;
10814
10846
  'fixedPricing'?: boolean;
10847
+ 'ignoreRefundSchedules'?: boolean;
10815
10848
  'amount'?: number;
10816
10849
  'startDate'?: string | null;
10817
10850
  'endDate'?: string | null;
@@ -34341,6 +34374,33 @@ export declare const EventsMediaApiAxiosParamCreator: (configuration?: Configura
34341
34374
  * @throws {RequiredError}
34342
34375
  */
34343
34376
  getEventMediaItem: (eventId: string, itemId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
34377
+ /**
34378
+ * 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.
34379
+ * @summary List a media item\'s activity feed
34380
+ * @param {string} eventId The event identifier
34381
+ * @param {string} mediaItemId The mediaItem identifier
34382
+ * @param {ActivityStatus} [status] Filter by status
34383
+ * @param {number} [page] Page number
34384
+ * @param {number} [pageSize] Number of items per page
34385
+ * @param {string} [orderBy] Field to order by
34386
+ * @param {string} [search] Search query
34387
+ * @param {*} [options] Override http request option.
34388
+ * @throws {RequiredError}
34389
+ */
34390
+ getEventMediaItemActivities: (eventId: string, mediaItemId: string, status?: ActivityStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
34391
+ /**
34392
+ * 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.
34393
+ * @summary List a media item\'s likes
34394
+ * @param {string} eventId The event identifier
34395
+ * @param {string} mediaItemId The mediaItem identifier
34396
+ * @param {number} [page] Page number
34397
+ * @param {number} [pageSize] Number of items per page
34398
+ * @param {string} [orderBy] Field to order by
34399
+ * @param {string} [search] Search query
34400
+ * @param {*} [options] Override http request option.
34401
+ * @throws {RequiredError}
34402
+ */
34403
+ getEventMediaItemLikes: (eventId: string, mediaItemId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
34344
34404
  /**
34345
34405
  * 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.
34346
34406
  * @summary List pass types linked to a media item
@@ -34462,6 +34522,33 @@ export declare const EventsMediaApiFp: (configuration?: Configuration) => {
34462
34522
  * @throws {RequiredError}
34463
34523
  */
34464
34524
  getEventMediaItem(eventId: string, itemId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventMediaItem200Response>>;
34525
+ /**
34526
+ * 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.
34527
+ * @summary List a media item\'s activity feed
34528
+ * @param {string} eventId The event identifier
34529
+ * @param {string} mediaItemId The mediaItem identifier
34530
+ * @param {ActivityStatus} [status] Filter by status
34531
+ * @param {number} [page] Page number
34532
+ * @param {number} [pageSize] Number of items per page
34533
+ * @param {string} [orderBy] Field to order by
34534
+ * @param {string} [search] Search query
34535
+ * @param {*} [options] Override http request option.
34536
+ * @throws {RequiredError}
34537
+ */
34538
+ getEventMediaItemActivities(eventId: string, mediaItemId: string, status?: ActivityStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountActivities200Response>>;
34539
+ /**
34540
+ * 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.
34541
+ * @summary List a media item\'s likes
34542
+ * @param {string} eventId The event identifier
34543
+ * @param {string} mediaItemId The mediaItem identifier
34544
+ * @param {number} [page] Page number
34545
+ * @param {number} [pageSize] Number of items per page
34546
+ * @param {string} [orderBy] Field to order by
34547
+ * @param {string} [search] Search query
34548
+ * @param {*} [options] Override http request option.
34549
+ * @throws {RequiredError}
34550
+ */
34551
+ getEventMediaItemLikes(eventId: string, mediaItemId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventMediaItemLikes200Response>>;
34465
34552
  /**
34466
34553
  * 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.
34467
34554
  * @summary List pass types linked to a media item
@@ -34576,6 +34663,22 @@ export declare const EventsMediaApiFactory: (configuration?: Configuration, base
34576
34663
  * @throws {RequiredError}
34577
34664
  */
34578
34665
  getEventMediaItem(requestParameters: EventsMediaApiGetEventMediaItemRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventMediaItem200Response>;
34666
+ /**
34667
+ * 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.
34668
+ * @summary List a media item\'s activity feed
34669
+ * @param {EventsMediaApiGetEventMediaItemActivitiesRequest} requestParameters Request parameters.
34670
+ * @param {*} [options] Override http request option.
34671
+ * @throws {RequiredError}
34672
+ */
34673
+ getEventMediaItemActivities(requestParameters: EventsMediaApiGetEventMediaItemActivitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountActivities200Response>;
34674
+ /**
34675
+ * 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.
34676
+ * @summary List a media item\'s likes
34677
+ * @param {EventsMediaApiGetEventMediaItemLikesRequest} requestParameters Request parameters.
34678
+ * @param {*} [options] Override http request option.
34679
+ * @throws {RequiredError}
34680
+ */
34681
+ getEventMediaItemLikes(requestParameters: EventsMediaApiGetEventMediaItemLikesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventMediaItemLikes200Response>;
34579
34682
  /**
34580
34683
  * 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.
34581
34684
  * @summary List pass types linked to a media item
@@ -34695,6 +34798,68 @@ export interface EventsMediaApiGetEventMediaItemRequest {
34695
34798
  */
34696
34799
  readonly itemId: string;
34697
34800
  }
34801
+ /**
34802
+ * Request parameters for getEventMediaItemActivities operation in EventsMediaApi.
34803
+ */
34804
+ export interface EventsMediaApiGetEventMediaItemActivitiesRequest {
34805
+ /**
34806
+ * The event identifier
34807
+ */
34808
+ readonly eventId: string;
34809
+ /**
34810
+ * The mediaItem identifier
34811
+ */
34812
+ readonly mediaItemId: string;
34813
+ /**
34814
+ * Filter by status
34815
+ */
34816
+ readonly status?: ActivityStatus;
34817
+ /**
34818
+ * Page number
34819
+ */
34820
+ readonly page?: number;
34821
+ /**
34822
+ * Number of items per page
34823
+ */
34824
+ readonly pageSize?: number;
34825
+ /**
34826
+ * Field to order by
34827
+ */
34828
+ readonly orderBy?: string;
34829
+ /**
34830
+ * Search query
34831
+ */
34832
+ readonly search?: string;
34833
+ }
34834
+ /**
34835
+ * Request parameters for getEventMediaItemLikes operation in EventsMediaApi.
34836
+ */
34837
+ export interface EventsMediaApiGetEventMediaItemLikesRequest {
34838
+ /**
34839
+ * The event identifier
34840
+ */
34841
+ readonly eventId: string;
34842
+ /**
34843
+ * The mediaItem identifier
34844
+ */
34845
+ readonly mediaItemId: string;
34846
+ /**
34847
+ * Page number
34848
+ */
34849
+ readonly page?: number;
34850
+ /**
34851
+ * Number of items per page
34852
+ */
34853
+ readonly pageSize?: number;
34854
+ /**
34855
+ * Field to order by
34856
+ */
34857
+ readonly orderBy?: string;
34858
+ /**
34859
+ * Search query
34860
+ */
34861
+ readonly search?: string;
34862
+ }
34698
34863
  /**
34699
34864
  * Request parameters for getEventMediaItemPassTypes operation in EventsMediaApi.
34700
34865
  */
@@ -34874,6 +35039,22 @@ export declare class EventsMediaApi extends BaseAPI {
34874
35039
  * @throws {RequiredError}
34875
35040
  */
34876
35041
  getEventMediaItem(requestParameters: EventsMediaApiGetEventMediaItemRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventMediaItem200Response, any, {}>>;
35042
+ /**
35043
+ * 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.
35044
+ * @summary List a media item\'s activity feed
35045
+ * @param {EventsMediaApiGetEventMediaItemActivitiesRequest} requestParameters Request parameters.
35046
+ * @param {*} [options] Override http request option.
35047
+ * @throws {RequiredError}
35048
+ */
35049
+ getEventMediaItemActivities(requestParameters: EventsMediaApiGetEventMediaItemActivitiesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountActivities200Response, any, {}>>;
35050
+ /**
35051
+ * 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.
35052
+ * @summary List a media item\'s likes
35053
+ * @param {EventsMediaApiGetEventMediaItemLikesRequest} requestParameters Request parameters.
35054
+ * @param {*} [options] Override http request option.
35055
+ * @throws {RequiredError}
35056
+ */
35057
+ getEventMediaItemLikes(requestParameters: EventsMediaApiGetEventMediaItemLikesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventMediaItemLikes200Response, any, {}>>;
34877
35058
  /**
34878
35059
  * 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.
34879
35060
  * @summary List pass types linked to a media item