@connectedxm/admin-sdk 10.20.1 → 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/.openapi-generator/FILES +3 -0
- package/README.md +2 -2
- package/api.ts +319 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +178 -1
- package/dist/api.js +224 -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 +178 -1
- package/dist/esm/api.js +200 -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/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/GetEventMediaItemLikes200Response.md +26 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -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.
|
|
1
|
+
## @connectedxm/admin-sdk@10.21.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.
|
|
39
|
+
npm install @connectedxm/admin-sdk@10.21.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.
|
|
7
|
+
* The version of the OpenAPI document: 10.21.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;
|
|
@@ -5521,6 +5530,7 @@ export interface EventMediaItem {
|
|
|
5521
5530
|
'fileId': string | null;
|
|
5522
5531
|
'file': BaseFile | null;
|
|
5523
5532
|
'sortOrder': number;
|
|
5533
|
+
'mediaInteractionsEnabled': boolean;
|
|
5524
5534
|
'allowedPassTypes': Array<BaseEventPassType>;
|
|
5525
5535
|
'allowedTiers': Array<BaseTier>;
|
|
5526
5536
|
'createdAt': string;
|
|
@@ -5533,6 +5543,15 @@ export interface EventMediaItemCreateInputs {
|
|
|
5533
5543
|
'imageId'?: string | null;
|
|
5534
5544
|
'videoId'?: string | null;
|
|
5535
5545
|
'fileId'?: string | null;
|
|
5546
|
+
'mediaInteractionsEnabled'?: boolean;
|
|
5547
|
+
}
|
|
5548
|
+
export interface EventMediaItemLike {
|
|
5549
|
+
'accountId': string;
|
|
5550
|
+
'eventId': string;
|
|
5551
|
+
'eventMediaItemId': string;
|
|
5552
|
+
'account': BaseAccount;
|
|
5553
|
+
'createdAt': string;
|
|
5554
|
+
'updatedAt': string;
|
|
5536
5555
|
}
|
|
5537
5556
|
export interface EventMediaItemTranslation {
|
|
5538
5557
|
'id': string;
|
|
@@ -5550,6 +5569,7 @@ export interface EventMediaItemUpdateInputs {
|
|
|
5550
5569
|
'name'?: string | null;
|
|
5551
5570
|
'description'?: string | null;
|
|
5552
5571
|
'sortOrder'?: number | null;
|
|
5572
|
+
'mediaInteractionsEnabled'?: boolean;
|
|
5553
5573
|
}
|
|
5554
5574
|
export interface EventOnSite {
|
|
5555
5575
|
'eventId': string;
|
|
@@ -8168,6 +8188,17 @@ export enum GetEventFollowups200ResponseStatusEnum {
|
|
|
8168
8188
|
Ok = 'ok'
|
|
8169
8189
|
}
|
|
8170
8190
|
|
|
8191
|
+
export interface GetEventMediaItemLikes200Response {
|
|
8192
|
+
'status': GetEventMediaItemLikes200ResponseStatusEnum;
|
|
8193
|
+
'message': string;
|
|
8194
|
+
'data': Array<EventMediaItemLike>;
|
|
8195
|
+
'count'?: number;
|
|
8196
|
+
}
|
|
8197
|
+
|
|
8198
|
+
export enum GetEventMediaItemLikes200ResponseStatusEnum {
|
|
8199
|
+
Ok = 'ok'
|
|
8200
|
+
}
|
|
8201
|
+
|
|
8171
8202
|
export interface GetEventMediaItemTranslation200Response {
|
|
8172
8203
|
'status': GetEventMediaItemTranslation200ResponseStatusEnum;
|
|
8173
8204
|
'message': string;
|
|
@@ -56559,6 +56590,139 @@ export const EventsMediaApiAxiosParamCreator = function (configuration?: Configu
|
|
|
56559
56590
|
options: localVarRequestOptions,
|
|
56560
56591
|
};
|
|
56561
56592
|
},
|
|
56593
|
+
/**
|
|
56594
|
+
* 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.
|
|
56595
|
+
* @summary List a media item\'s activity feed
|
|
56596
|
+
* @param {string} eventId The event identifier
|
|
56597
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
56598
|
+
* @param {ActivityStatus} [status] Filter by status
|
|
56599
|
+
* @param {number} [page] Page number
|
|
56600
|
+
* @param {number} [pageSize] Number of items per page
|
|
56601
|
+
* @param {string} [orderBy] Field to order by
|
|
56602
|
+
* @param {string} [search] Search query
|
|
56603
|
+
* @param {*} [options] Override http request option.
|
|
56604
|
+
* @throws {RequiredError}
|
|
56605
|
+
*/
|
|
56606
|
+
getEventMediaItemActivities: async (eventId: string, mediaItemId: string, status?: ActivityStatus, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56607
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
56608
|
+
assertParamExists('getEventMediaItemActivities', 'eventId', eventId)
|
|
56609
|
+
// verify required parameter 'mediaItemId' is not null or undefined
|
|
56610
|
+
assertParamExists('getEventMediaItemActivities', 'mediaItemId', mediaItemId)
|
|
56611
|
+
const localVarPath = `/events/{eventId}/media/{mediaItemId}/activities`
|
|
56612
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
56613
|
+
.replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)));
|
|
56614
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56615
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56616
|
+
let baseOptions;
|
|
56617
|
+
if (configuration) {
|
|
56618
|
+
baseOptions = configuration.baseOptions;
|
|
56619
|
+
}
|
|
56620
|
+
|
|
56621
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
56622
|
+
const localVarHeaderParameter = {} as any;
|
|
56623
|
+
const localVarQueryParameter = {} as any;
|
|
56624
|
+
|
|
56625
|
+
// authentication ApiKeyAuth required
|
|
56626
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
56627
|
+
|
|
56628
|
+
// authentication OrganizationId required
|
|
56629
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
56630
|
+
|
|
56631
|
+
if (status !== undefined) {
|
|
56632
|
+
localVarQueryParameter['status'] = status;
|
|
56633
|
+
}
|
|
56634
|
+
|
|
56635
|
+
if (page !== undefined) {
|
|
56636
|
+
localVarQueryParameter['page'] = page;
|
|
56637
|
+
}
|
|
56638
|
+
|
|
56639
|
+
if (pageSize !== undefined) {
|
|
56640
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
56641
|
+
}
|
|
56642
|
+
|
|
56643
|
+
if (orderBy !== undefined) {
|
|
56644
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
56645
|
+
}
|
|
56646
|
+
|
|
56647
|
+
if (search !== undefined) {
|
|
56648
|
+
localVarQueryParameter['search'] = search;
|
|
56649
|
+
}
|
|
56650
|
+
|
|
56651
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
56652
|
+
|
|
56653
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56654
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
56655
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
56656
|
+
|
|
56657
|
+
return {
|
|
56658
|
+
url: toPathString(localVarUrlObj),
|
|
56659
|
+
options: localVarRequestOptions,
|
|
56660
|
+
};
|
|
56661
|
+
},
|
|
56662
|
+
/**
|
|
56663
|
+
* 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.
|
|
56664
|
+
* @summary List a media item\'s likes
|
|
56665
|
+
* @param {string} eventId The event identifier
|
|
56666
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
56667
|
+
* @param {number} [page] Page number
|
|
56668
|
+
* @param {number} [pageSize] Number of items per page
|
|
56669
|
+
* @param {string} [orderBy] Field to order by
|
|
56670
|
+
* @param {string} [search] Search query
|
|
56671
|
+
* @param {*} [options] Override http request option.
|
|
56672
|
+
* @throws {RequiredError}
|
|
56673
|
+
*/
|
|
56674
|
+
getEventMediaItemLikes: async (eventId: string, mediaItemId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56675
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
56676
|
+
assertParamExists('getEventMediaItemLikes', 'eventId', eventId)
|
|
56677
|
+
// verify required parameter 'mediaItemId' is not null or undefined
|
|
56678
|
+
assertParamExists('getEventMediaItemLikes', 'mediaItemId', mediaItemId)
|
|
56679
|
+
const localVarPath = `/events/{eventId}/media/{mediaItemId}/likes`
|
|
56680
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
56681
|
+
.replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)));
|
|
56682
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56683
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56684
|
+
let baseOptions;
|
|
56685
|
+
if (configuration) {
|
|
56686
|
+
baseOptions = configuration.baseOptions;
|
|
56687
|
+
}
|
|
56688
|
+
|
|
56689
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
56690
|
+
const localVarHeaderParameter = {} as any;
|
|
56691
|
+
const localVarQueryParameter = {} as any;
|
|
56692
|
+
|
|
56693
|
+
// authentication ApiKeyAuth required
|
|
56694
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
56695
|
+
|
|
56696
|
+
// authentication OrganizationId required
|
|
56697
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
56698
|
+
|
|
56699
|
+
if (page !== undefined) {
|
|
56700
|
+
localVarQueryParameter['page'] = page;
|
|
56701
|
+
}
|
|
56702
|
+
|
|
56703
|
+
if (pageSize !== undefined) {
|
|
56704
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
56705
|
+
}
|
|
56706
|
+
|
|
56707
|
+
if (orderBy !== undefined) {
|
|
56708
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
56709
|
+
}
|
|
56710
|
+
|
|
56711
|
+
if (search !== undefined) {
|
|
56712
|
+
localVarQueryParameter['search'] = search;
|
|
56713
|
+
}
|
|
56714
|
+
|
|
56715
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
56716
|
+
|
|
56717
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
56718
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
56719
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
56720
|
+
|
|
56721
|
+
return {
|
|
56722
|
+
url: toPathString(localVarUrlObj),
|
|
56723
|
+
options: localVarRequestOptions,
|
|
56724
|
+
};
|
|
56725
|
+
},
|
|
56562
56726
|
/**
|
|
56563
56727
|
* 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
56728
|
* @summary List pass types linked to a media item
|
|
@@ -56978,6 +57142,43 @@ export const EventsMediaApiFp = function(configuration?: Configuration) {
|
|
|
56978
57142
|
const localVarOperationServerBasePath = operationServerMap['EventsMediaApi.getEventMediaItem']?.[localVarOperationServerIndex]?.url;
|
|
56979
57143
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
56980
57144
|
},
|
|
57145
|
+
/**
|
|
57146
|
+
* 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.
|
|
57147
|
+
* @summary List a media item\'s activity feed
|
|
57148
|
+
* @param {string} eventId The event identifier
|
|
57149
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
57150
|
+
* @param {ActivityStatus} [status] Filter by status
|
|
57151
|
+
* @param {number} [page] Page number
|
|
57152
|
+
* @param {number} [pageSize] Number of items per page
|
|
57153
|
+
* @param {string} [orderBy] Field to order by
|
|
57154
|
+
* @param {string} [search] Search query
|
|
57155
|
+
* @param {*} [options] Override http request option.
|
|
57156
|
+
* @throws {RequiredError}
|
|
57157
|
+
*/
|
|
57158
|
+
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>> {
|
|
57159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventMediaItemActivities(eventId, mediaItemId, status, page, pageSize, orderBy, search, options);
|
|
57160
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57161
|
+
const localVarOperationServerBasePath = operationServerMap['EventsMediaApi.getEventMediaItemActivities']?.[localVarOperationServerIndex]?.url;
|
|
57162
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57163
|
+
},
|
|
57164
|
+
/**
|
|
57165
|
+
* 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.
|
|
57166
|
+
* @summary List a media item\'s likes
|
|
57167
|
+
* @param {string} eventId The event identifier
|
|
57168
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
57169
|
+
* @param {number} [page] Page number
|
|
57170
|
+
* @param {number} [pageSize] Number of items per page
|
|
57171
|
+
* @param {string} [orderBy] Field to order by
|
|
57172
|
+
* @param {string} [search] Search query
|
|
57173
|
+
* @param {*} [options] Override http request option.
|
|
57174
|
+
* @throws {RequiredError}
|
|
57175
|
+
*/
|
|
57176
|
+
async getEventMediaItemLikes(eventId: string, mediaItemId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventMediaItemLikes200Response>> {
|
|
57177
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventMediaItemLikes(eventId, mediaItemId, page, pageSize, orderBy, search, options);
|
|
57178
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57179
|
+
const localVarOperationServerBasePath = operationServerMap['EventsMediaApi.getEventMediaItemLikes']?.[localVarOperationServerIndex]?.url;
|
|
57180
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57181
|
+
},
|
|
56981
57182
|
/**
|
|
56982
57183
|
* 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
57184
|
* @summary List pass types linked to a media item
|
|
@@ -57136,6 +57337,26 @@ export const EventsMediaApiFactory = function (configuration?: Configuration, ba
|
|
|
57136
57337
|
getEventMediaItem(requestParameters: EventsMediaApiGetEventMediaItemRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventMediaItem200Response> {
|
|
57137
57338
|
return localVarFp.getEventMediaItem(requestParameters.eventId, requestParameters.itemId, options).then((request) => request(axios, basePath));
|
|
57138
57339
|
},
|
|
57340
|
+
/**
|
|
57341
|
+
* 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.
|
|
57342
|
+
* @summary List a media item\'s activity feed
|
|
57343
|
+
* @param {EventsMediaApiGetEventMediaItemActivitiesRequest} requestParameters Request parameters.
|
|
57344
|
+
* @param {*} [options] Override http request option.
|
|
57345
|
+
* @throws {RequiredError}
|
|
57346
|
+
*/
|
|
57347
|
+
getEventMediaItemActivities(requestParameters: EventsMediaApiGetEventMediaItemActivitiesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountActivities200Response> {
|
|
57348
|
+
return localVarFp.getEventMediaItemActivities(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.status, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
57349
|
+
},
|
|
57350
|
+
/**
|
|
57351
|
+
* 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.
|
|
57352
|
+
* @summary List a media item\'s likes
|
|
57353
|
+
* @param {EventsMediaApiGetEventMediaItemLikesRequest} requestParameters Request parameters.
|
|
57354
|
+
* @param {*} [options] Override http request option.
|
|
57355
|
+
* @throws {RequiredError}
|
|
57356
|
+
*/
|
|
57357
|
+
getEventMediaItemLikes(requestParameters: EventsMediaApiGetEventMediaItemLikesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventMediaItemLikes200Response> {
|
|
57358
|
+
return localVarFp.getEventMediaItemLikes(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
57359
|
+
},
|
|
57139
57360
|
/**
|
|
57140
57361
|
* 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
57362
|
* @summary List pass types linked to a media item
|
|
@@ -57281,6 +57502,81 @@ export interface EventsMediaApiGetEventMediaItemRequest {
|
|
|
57281
57502
|
readonly itemId: string
|
|
57282
57503
|
}
|
|
57283
57504
|
|
|
57505
|
+
/**
|
|
57506
|
+
* Request parameters for getEventMediaItemActivities operation in EventsMediaApi.
|
|
57507
|
+
*/
|
|
57508
|
+
export interface EventsMediaApiGetEventMediaItemActivitiesRequest {
|
|
57509
|
+
/**
|
|
57510
|
+
* The event identifier
|
|
57511
|
+
*/
|
|
57512
|
+
readonly eventId: string
|
|
57513
|
+
|
|
57514
|
+
/**
|
|
57515
|
+
* The mediaItem identifier
|
|
57516
|
+
*/
|
|
57517
|
+
readonly mediaItemId: string
|
|
57518
|
+
|
|
57519
|
+
/**
|
|
57520
|
+
* Filter by status
|
|
57521
|
+
*/
|
|
57522
|
+
readonly status?: ActivityStatus
|
|
57523
|
+
|
|
57524
|
+
/**
|
|
57525
|
+
* Page number
|
|
57526
|
+
*/
|
|
57527
|
+
readonly page?: number
|
|
57528
|
+
|
|
57529
|
+
/**
|
|
57530
|
+
* Number of items per page
|
|
57531
|
+
*/
|
|
57532
|
+
readonly pageSize?: number
|
|
57533
|
+
|
|
57534
|
+
/**
|
|
57535
|
+
* Field to order by
|
|
57536
|
+
*/
|
|
57537
|
+
readonly orderBy?: string
|
|
57538
|
+
|
|
57539
|
+
/**
|
|
57540
|
+
* Search query
|
|
57541
|
+
*/
|
|
57542
|
+
readonly search?: string
|
|
57543
|
+
}
|
|
57544
|
+
|
|
57545
|
+
/**
|
|
57546
|
+
* Request parameters for getEventMediaItemLikes operation in EventsMediaApi.
|
|
57547
|
+
*/
|
|
57548
|
+
export interface EventsMediaApiGetEventMediaItemLikesRequest {
|
|
57549
|
+
/**
|
|
57550
|
+
* The event identifier
|
|
57551
|
+
*/
|
|
57552
|
+
readonly eventId: string
|
|
57553
|
+
|
|
57554
|
+
/**
|
|
57555
|
+
* The mediaItem identifier
|
|
57556
|
+
*/
|
|
57557
|
+
readonly mediaItemId: string
|
|
57558
|
+
|
|
57559
|
+
/**
|
|
57560
|
+
* Page number
|
|
57561
|
+
*/
|
|
57562
|
+
readonly page?: number
|
|
57563
|
+
|
|
57564
|
+
/**
|
|
57565
|
+
* Number of items per page
|
|
57566
|
+
*/
|
|
57567
|
+
readonly pageSize?: number
|
|
57568
|
+
|
|
57569
|
+
/**
|
|
57570
|
+
* Field to order by
|
|
57571
|
+
*/
|
|
57572
|
+
readonly orderBy?: string
|
|
57573
|
+
|
|
57574
|
+
/**
|
|
57575
|
+
* Search query
|
|
57576
|
+
*/
|
|
57577
|
+
readonly search?: string
|
|
57578
|
+
}
|
|
57579
|
+
|
|
57284
57580
|
/**
|
|
57285
57581
|
* Request parameters for getEventMediaItemPassTypes operation in EventsMediaApi.
|
|
57286
57582
|
*/
|
|
@@ -57502,6 +57798,28 @@ export class EventsMediaApi extends BaseAPI {
|
|
|
57502
57798
|
return EventsMediaApiFp(this.configuration).getEventMediaItem(requestParameters.eventId, requestParameters.itemId, options).then((request) => request(this.axios, this.basePath));
|
|
57503
57799
|
}
|
|
57504
57800
|
|
|
57801
|
+
/**
|
|
57802
|
+
* 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.
|
|
57803
|
+
* @summary List a media item\'s activity feed
|
|
57804
|
+
* @param {EventsMediaApiGetEventMediaItemActivitiesRequest} requestParameters Request parameters.
|
|
57805
|
+
* @param {*} [options] Override http request option.
|
|
57806
|
+
* @throws {RequiredError}
|
|
57807
|
+
*/
|
|
57808
|
+
public getEventMediaItemActivities(requestParameters: EventsMediaApiGetEventMediaItemActivitiesRequest, options?: RawAxiosRequestConfig) {
|
|
57809
|
+
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));
|
|
57810
|
+
}
|
|
57811
|
+
|
|
57812
|
+
/**
|
|
57813
|
+
* 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.
|
|
57814
|
+
* @summary List a media item\'s likes
|
|
57815
|
+
* @param {EventsMediaApiGetEventMediaItemLikesRequest} requestParameters Request parameters.
|
|
57816
|
+
* @param {*} [options] Override http request option.
|
|
57817
|
+
* @throws {RequiredError}
|
|
57818
|
+
*/
|
|
57819
|
+
public getEventMediaItemLikes(requestParameters: EventsMediaApiGetEventMediaItemLikesRequest, options?: RawAxiosRequestConfig) {
|
|
57820
|
+
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));
|
|
57821
|
+
}
|
|
57822
|
+
|
|
57505
57823
|
/**
|
|
57506
57824
|
* 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
57825
|
* @summary List pass types linked to a media item
|
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.
|
|
7
|
+
* The version of the OpenAPI document: 10.21.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/common.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.
|
|
7
|
+
* The version of the OpenAPI document: 10.21.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/configuration.ts
CHANGED
|
@@ -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.21.0
|
|
7
7
|
*
|
|
8
8
|
*
|
|
9
9
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|