@connectedxm/admin-sdk 7.12.9 → 7.13.1
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/README.md +3 -0
- package/api.ts +351 -0
- package/dist/api.d.ts +182 -0
- package/dist/api.js +256 -0
- package/dist/esm/api.d.ts +182 -0
- package/dist/esm/api.js +256 -0
- package/docs/BaseSideEffect.md +2 -0
- package/docs/EventMediaItem.md +2 -0
- package/docs/EventsMediaApi.md +183 -0
- package/docs/SideEffect.md +4 -0
- package/docs/SideEffectTriggerType.md +2 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -444,12 +444,15 @@ Class | Method | HTTP request | Description
|
|
|
444
444
|
*EventsMatchesApi* | [**updateEventMatch**](docs/EventsMatchesApi.md#updateeventmatch) | **PUT** /events/{eventId}/rounds/{roundId}/matches/{matchId} | Update an event round match
|
|
445
445
|
*EventsMatchesApi* | [**updateEventRoundQuestion**](docs/EventsMatchesApi.md#updateeventroundquestion) | **PUT** /events/{eventId}/rounds/{roundId}/questions/{questionId} | Set a registration question\'s matchmaking type for a round
|
|
446
446
|
*EventsMediaApi* | [**addEventMediaItemPassType**](docs/EventsMediaApi.md#addeventmediaitempasstype) | **POST** /events/{eventId}/media/{mediaItemId}/passTypes/{passTypeId} | Restrict an event media item to a pass type
|
|
447
|
+
*EventsMediaApi* | [**addEventMediaItemTier**](docs/EventsMediaApi.md#addeventmediaitemtier) | **POST** /events/{eventId}/media/{mediaItemId}/tiers/{tierId} | Restrict an event media item to a tier
|
|
447
448
|
*EventsMediaApi* | [**createEventMediaItem**](docs/EventsMediaApi.md#createeventmediaitem) | **POST** /events/{eventId}/media | Create an event media item
|
|
448
449
|
*EventsMediaApi* | [**deleteEventMediaItem**](docs/EventsMediaApi.md#deleteeventmediaitem) | **DELETE** /events/{eventId}/media/{mediaItemId} | Delete an event media item
|
|
449
450
|
*EventsMediaApi* | [**getEventMediaItem**](docs/EventsMediaApi.md#geteventmediaitem) | **GET** /events/{eventId}/media/{itemId} | Get a single event media item
|
|
450
451
|
*EventsMediaApi* | [**getEventMediaItemPassTypes**](docs/EventsMediaApi.md#geteventmediaitempasstypes) | **GET** /events/{eventId}/media/{mediaItemId}/passTypes | List pass types linked to a media item
|
|
452
|
+
*EventsMediaApi* | [**getEventMediaItemTiers**](docs/EventsMediaApi.md#geteventmediaitemtiers) | **GET** /events/{eventId}/media/{mediaItemId}/tiers | List tiers linked to a media item
|
|
451
453
|
*EventsMediaApi* | [**getEventMediaItems**](docs/EventsMediaApi.md#geteventmediaitems) | **GET** /events/{eventId}/media | List an event\'s media items
|
|
452
454
|
*EventsMediaApi* | [**removeEventMediaItemPassType**](docs/EventsMediaApi.md#removeeventmediaitempasstype) | **DELETE** /events/{eventId}/media/{mediaItemId}/passTypes/{passTypeId} | Remove a pass type restriction from an event media item
|
|
455
|
+
*EventsMediaApi* | [**removeEventMediaItemTier**](docs/EventsMediaApi.md#removeeventmediaitemtier) | **DELETE** /events/{eventId}/media/{mediaItemId}/tiers/{tierId} | Remove a tier restriction from an event media item
|
|
453
456
|
*EventsMediaApi* | [**updateEventMediaItem**](docs/EventsMediaApi.md#updateeventmediaitem) | **PUT** /events/{eventId}/media/{mediaItemId} | Update an event media item
|
|
454
457
|
*EventsMediaTranslationsApi* | [**deleteEventMediaItemTranslation**](docs/EventsMediaTranslationsApi.md#deleteeventmediaitemtranslation) | **DELETE** /events/{eventId}/media/{mediaItemId}/translations/{locale} | Delete an event media item\'s translation
|
|
455
458
|
*EventsMediaTranslationsApi* | [**getEventMediaItemTranslation**](docs/EventsMediaTranslationsApi.md#geteventmediaitemtranslation) | **GET** /events/{eventId}/media/{mediaId}/translations/{locale} | Get a media item\'s translation for a locale
|
package/api.ts
CHANGED
|
@@ -2343,6 +2343,7 @@ export interface BaseSideEffect {
|
|
|
2343
2343
|
'id': string;
|
|
2344
2344
|
'newPassOfPassTypeId': string | null;
|
|
2345
2345
|
'checkedInPassEventId': string | null;
|
|
2346
|
+
'checkedInSessionId': string | null;
|
|
2346
2347
|
'newAccountTierId': string | null;
|
|
2347
2348
|
'removedAccountTierId': string | null;
|
|
2348
2349
|
'passWithQuestionChoiceId': string | null;
|
|
@@ -5296,6 +5297,7 @@ export interface EventMediaItem {
|
|
|
5296
5297
|
'file': BaseFile | null;
|
|
5297
5298
|
'sortOrder': number;
|
|
5298
5299
|
'allowedPassTypes': Array<BaseEventPassType>;
|
|
5300
|
+
'allowedTiers': Array<BaseTier>;
|
|
5299
5301
|
'createdAt': string;
|
|
5300
5302
|
'updatedAt': string;
|
|
5301
5303
|
}
|
|
@@ -12929,6 +12931,7 @@ export interface SideEffect {
|
|
|
12929
12931
|
'id': string;
|
|
12930
12932
|
'newPassOfPassTypeId': string | null;
|
|
12931
12933
|
'checkedInPassEventId': string | null;
|
|
12934
|
+
'checkedInSessionId': string | null;
|
|
12932
12935
|
'newAccountTierId': string | null;
|
|
12933
12936
|
'removedAccountTierId': string | null;
|
|
12934
12937
|
'passWithQuestionChoiceId': string | null;
|
|
@@ -12943,6 +12946,7 @@ export interface SideEffect {
|
|
|
12943
12946
|
'organizationId': string;
|
|
12944
12947
|
'newPassOfPassType': BaseEventPassType | null;
|
|
12945
12948
|
'checkedInPassEvent': BaseEvent | null;
|
|
12949
|
+
'checkedInSession': BaseEventSession | null;
|
|
12946
12950
|
'newAccountTier': BaseTier | null;
|
|
12947
12951
|
'removedAccountTier': BaseTier | null;
|
|
12948
12952
|
'passWithQuestionChoice': BaseRegistrationQuestionChoice | null;
|
|
@@ -12972,6 +12976,7 @@ export enum SideEffectActionType {
|
|
|
12972
12976
|
|
|
12973
12977
|
export enum SideEffectTriggerType {
|
|
12974
12978
|
CheckedInEventPass = 'CHECKED_IN_EVENT_PASS',
|
|
12979
|
+
CheckedInEventSession = 'CHECKED_IN_EVENT_SESSION',
|
|
12975
12980
|
NewAccountTier = 'NEW_ACCOUNT_TIER',
|
|
12976
12981
|
RemovedAccountTier = 'REMOVED_ACCOUNT_TIER',
|
|
12977
12982
|
NewPassOfPassType = 'NEW_PASS_OF_PASS_TYPE',
|
|
@@ -59408,6 +59413,54 @@ export const EventsMediaApiAxiosParamCreator = function (configuration?: Configu
|
|
|
59408
59413
|
options: localVarRequestOptions,
|
|
59409
59414
|
};
|
|
59410
59415
|
},
|
|
59416
|
+
/**
|
|
59417
|
+
* Grants a specific account tier (tier/segment) access to an event media item, restricting who can view it, and requires read and update permission on both events and storage.
|
|
59418
|
+
* @summary Restrict an event media item to a tier
|
|
59419
|
+
* @param {string} eventId The event identifier
|
|
59420
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
59421
|
+
* @param {string} tierId The tier identifier
|
|
59422
|
+
* @param {*} [options] Override http request option.
|
|
59423
|
+
* @throws {RequiredError}
|
|
59424
|
+
*/
|
|
59425
|
+
addEventMediaItemTier: async (eventId: string, mediaItemId: string, tierId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
59426
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
59427
|
+
assertParamExists('addEventMediaItemTier', 'eventId', eventId)
|
|
59428
|
+
// verify required parameter 'mediaItemId' is not null or undefined
|
|
59429
|
+
assertParamExists('addEventMediaItemTier', 'mediaItemId', mediaItemId)
|
|
59430
|
+
// verify required parameter 'tierId' is not null or undefined
|
|
59431
|
+
assertParamExists('addEventMediaItemTier', 'tierId', tierId)
|
|
59432
|
+
const localVarPath = `/events/{eventId}/media/{mediaItemId}/tiers/{tierId}`
|
|
59433
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
59434
|
+
.replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)))
|
|
59435
|
+
.replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
|
|
59436
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59437
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
59438
|
+
let baseOptions;
|
|
59439
|
+
if (configuration) {
|
|
59440
|
+
baseOptions = configuration.baseOptions;
|
|
59441
|
+
}
|
|
59442
|
+
|
|
59443
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
59444
|
+
const localVarHeaderParameter = {} as any;
|
|
59445
|
+
const localVarQueryParameter = {} as any;
|
|
59446
|
+
|
|
59447
|
+
// authentication ApiKeyAuth required
|
|
59448
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
59449
|
+
|
|
59450
|
+
// authentication OrganizationId required
|
|
59451
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
59452
|
+
|
|
59453
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
59454
|
+
|
|
59455
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
59456
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
59457
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
59458
|
+
|
|
59459
|
+
return {
|
|
59460
|
+
url: toPathString(localVarUrlObj),
|
|
59461
|
+
options: localVarRequestOptions,
|
|
59462
|
+
};
|
|
59463
|
+
},
|
|
59411
59464
|
/**
|
|
59412
59465
|
* Creates a new media item (image, video, or file) in an event\'s media gallery, and requires read and update permission on both events and storage.
|
|
59413
59466
|
* @summary Create an event media item
|
|
@@ -59605,6 +59658,70 @@ export const EventsMediaApiAxiosParamCreator = function (configuration?: Configu
|
|
|
59605
59658
|
options: localVarRequestOptions,
|
|
59606
59659
|
};
|
|
59607
59660
|
},
|
|
59661
|
+
/**
|
|
59662
|
+
* Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given media item, supporting search and ordering; requires read access to events and storage.
|
|
59663
|
+
* @summary List tiers linked to a media item
|
|
59664
|
+
* @param {string} eventId The event identifier
|
|
59665
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
59666
|
+
* @param {number} [page] Page number
|
|
59667
|
+
* @param {number} [pageSize] Number of items per page
|
|
59668
|
+
* @param {string} [orderBy] Field to order by
|
|
59669
|
+
* @param {string} [search] Search query
|
|
59670
|
+
* @param {*} [options] Override http request option.
|
|
59671
|
+
* @throws {RequiredError}
|
|
59672
|
+
*/
|
|
59673
|
+
getEventMediaItemTiers: async (eventId: string, mediaItemId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
59674
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
59675
|
+
assertParamExists('getEventMediaItemTiers', 'eventId', eventId)
|
|
59676
|
+
// verify required parameter 'mediaItemId' is not null or undefined
|
|
59677
|
+
assertParamExists('getEventMediaItemTiers', 'mediaItemId', mediaItemId)
|
|
59678
|
+
const localVarPath = `/events/{eventId}/media/{mediaItemId}/tiers`
|
|
59679
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
59680
|
+
.replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)));
|
|
59681
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59682
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
59683
|
+
let baseOptions;
|
|
59684
|
+
if (configuration) {
|
|
59685
|
+
baseOptions = configuration.baseOptions;
|
|
59686
|
+
}
|
|
59687
|
+
|
|
59688
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
59689
|
+
const localVarHeaderParameter = {} as any;
|
|
59690
|
+
const localVarQueryParameter = {} as any;
|
|
59691
|
+
|
|
59692
|
+
// authentication ApiKeyAuth required
|
|
59693
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
59694
|
+
|
|
59695
|
+
// authentication OrganizationId required
|
|
59696
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
59697
|
+
|
|
59698
|
+
if (page !== undefined) {
|
|
59699
|
+
localVarQueryParameter['page'] = page;
|
|
59700
|
+
}
|
|
59701
|
+
|
|
59702
|
+
if (pageSize !== undefined) {
|
|
59703
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
59704
|
+
}
|
|
59705
|
+
|
|
59706
|
+
if (orderBy !== undefined) {
|
|
59707
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
59708
|
+
}
|
|
59709
|
+
|
|
59710
|
+
if (search !== undefined) {
|
|
59711
|
+
localVarQueryParameter['search'] = search;
|
|
59712
|
+
}
|
|
59713
|
+
|
|
59714
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
59715
|
+
|
|
59716
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
59717
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
59718
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
59719
|
+
|
|
59720
|
+
return {
|
|
59721
|
+
url: toPathString(localVarUrlObj),
|
|
59722
|
+
options: localVarRequestOptions,
|
|
59723
|
+
};
|
|
59724
|
+
},
|
|
59608
59725
|
/**
|
|
59609
59726
|
* Returns a paginated list of media items (images, videos, or files) belonging to the given event, optionally filtered by media type, with search and ordering support; requires read access to events and storage.
|
|
59610
59727
|
* @summary List an event\'s media items
|
|
@@ -59718,6 +59835,54 @@ export const EventsMediaApiAxiosParamCreator = function (configuration?: Configu
|
|
|
59718
59835
|
options: localVarRequestOptions,
|
|
59719
59836
|
};
|
|
59720
59837
|
},
|
|
59838
|
+
/**
|
|
59839
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
59840
|
+
* @summary Remove a tier restriction from an event media item
|
|
59841
|
+
* @param {string} eventId The event identifier
|
|
59842
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
59843
|
+
* @param {string} tierId The tier identifier
|
|
59844
|
+
* @param {*} [options] Override http request option.
|
|
59845
|
+
* @throws {RequiredError}
|
|
59846
|
+
*/
|
|
59847
|
+
removeEventMediaItemTier: async (eventId: string, mediaItemId: string, tierId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
59848
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
59849
|
+
assertParamExists('removeEventMediaItemTier', 'eventId', eventId)
|
|
59850
|
+
// verify required parameter 'mediaItemId' is not null or undefined
|
|
59851
|
+
assertParamExists('removeEventMediaItemTier', 'mediaItemId', mediaItemId)
|
|
59852
|
+
// verify required parameter 'tierId' is not null or undefined
|
|
59853
|
+
assertParamExists('removeEventMediaItemTier', 'tierId', tierId)
|
|
59854
|
+
const localVarPath = `/events/{eventId}/media/{mediaItemId}/tiers/{tierId}`
|
|
59855
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
59856
|
+
.replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)))
|
|
59857
|
+
.replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
|
|
59858
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59859
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
59860
|
+
let baseOptions;
|
|
59861
|
+
if (configuration) {
|
|
59862
|
+
baseOptions = configuration.baseOptions;
|
|
59863
|
+
}
|
|
59864
|
+
|
|
59865
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
59866
|
+
const localVarHeaderParameter = {} as any;
|
|
59867
|
+
const localVarQueryParameter = {} as any;
|
|
59868
|
+
|
|
59869
|
+
// authentication ApiKeyAuth required
|
|
59870
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
59871
|
+
|
|
59872
|
+
// authentication OrganizationId required
|
|
59873
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
59874
|
+
|
|
59875
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
59876
|
+
|
|
59877
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
59878
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
59879
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
59880
|
+
|
|
59881
|
+
return {
|
|
59882
|
+
url: toPathString(localVarUrlObj),
|
|
59883
|
+
options: localVarRequestOptions,
|
|
59884
|
+
};
|
|
59885
|
+
},
|
|
59721
59886
|
/**
|
|
59722
59887
|
* Updates the fields (such as name, type, or file references) of an existing media item in an event\'s media gallery, and requires read and update permission on both events and storage.
|
|
59723
59888
|
* @summary Update an event media item
|
|
@@ -59791,6 +59956,21 @@ export const EventsMediaApiFp = function(configuration?: Configuration) {
|
|
|
59791
59956
|
const localVarOperationServerBasePath = operationServerMap['EventsMediaApi.addEventMediaItemPassType']?.[localVarOperationServerIndex]?.url;
|
|
59792
59957
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
59793
59958
|
},
|
|
59959
|
+
/**
|
|
59960
|
+
* Grants a specific account tier (tier/segment) access to an event media item, restricting who can view it, and requires read and update permission on both events and storage.
|
|
59961
|
+
* @summary Restrict an event media item to a tier
|
|
59962
|
+
* @param {string} eventId The event identifier
|
|
59963
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
59964
|
+
* @param {string} tierId The tier identifier
|
|
59965
|
+
* @param {*} [options] Override http request option.
|
|
59966
|
+
* @throws {RequiredError}
|
|
59967
|
+
*/
|
|
59968
|
+
async addEventMediaItemTier(eventId: string, mediaItemId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventMediaItem200Response>> {
|
|
59969
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addEventMediaItemTier(eventId, mediaItemId, tierId, options);
|
|
59970
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
59971
|
+
const localVarOperationServerBasePath = operationServerMap['EventsMediaApi.addEventMediaItemTier']?.[localVarOperationServerIndex]?.url;
|
|
59972
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
59973
|
+
},
|
|
59794
59974
|
/**
|
|
59795
59975
|
* Creates a new media item (image, video, or file) in an event\'s media gallery, and requires read and update permission on both events and storage.
|
|
59796
59976
|
* @summary Create an event media item
|
|
@@ -59851,6 +60031,24 @@ export const EventsMediaApiFp = function(configuration?: Configuration) {
|
|
|
59851
60031
|
const localVarOperationServerBasePath = operationServerMap['EventsMediaApi.getEventMediaItemPassTypes']?.[localVarOperationServerIndex]?.url;
|
|
59852
60032
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
59853
60033
|
},
|
|
60034
|
+
/**
|
|
60035
|
+
* Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given media item, supporting search and ordering; requires read access to events and storage.
|
|
60036
|
+
* @summary List tiers linked to a media item
|
|
60037
|
+
* @param {string} eventId The event identifier
|
|
60038
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
60039
|
+
* @param {number} [page] Page number
|
|
60040
|
+
* @param {number} [pageSize] Number of items per page
|
|
60041
|
+
* @param {string} [orderBy] Field to order by
|
|
60042
|
+
* @param {string} [search] Search query
|
|
60043
|
+
* @param {*} [options] Override http request option.
|
|
60044
|
+
* @throws {RequiredError}
|
|
60045
|
+
*/
|
|
60046
|
+
async getEventMediaItemTiers(eventId: string, mediaItemId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountTiers200Response>> {
|
|
60047
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventMediaItemTiers(eventId, mediaItemId, page, pageSize, orderBy, search, options);
|
|
60048
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
60049
|
+
const localVarOperationServerBasePath = operationServerMap['EventsMediaApi.getEventMediaItemTiers']?.[localVarOperationServerIndex]?.url;
|
|
60050
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
60051
|
+
},
|
|
59854
60052
|
/**
|
|
59855
60053
|
* Returns a paginated list of media items (images, videos, or files) belonging to the given event, optionally filtered by media type, with search and ordering support; requires read access to events and storage.
|
|
59856
60054
|
* @summary List an event\'s media items
|
|
@@ -59884,6 +60082,21 @@ export const EventsMediaApiFp = function(configuration?: Configuration) {
|
|
|
59884
60082
|
const localVarOperationServerBasePath = operationServerMap['EventsMediaApi.removeEventMediaItemPassType']?.[localVarOperationServerIndex]?.url;
|
|
59885
60083
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
59886
60084
|
},
|
|
60085
|
+
/**
|
|
60086
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
60087
|
+
* @summary Remove a tier restriction from an event media item
|
|
60088
|
+
* @param {string} eventId The event identifier
|
|
60089
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
60090
|
+
* @param {string} tierId The tier identifier
|
|
60091
|
+
* @param {*} [options] Override http request option.
|
|
60092
|
+
* @throws {RequiredError}
|
|
60093
|
+
*/
|
|
60094
|
+
async removeEventMediaItemTier(eventId: string, mediaItemId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventMediaItem200Response>> {
|
|
60095
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventMediaItemTier(eventId, mediaItemId, tierId, options);
|
|
60096
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
60097
|
+
const localVarOperationServerBasePath = operationServerMap['EventsMediaApi.removeEventMediaItemTier']?.[localVarOperationServerIndex]?.url;
|
|
60098
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
60099
|
+
},
|
|
59887
60100
|
/**
|
|
59888
60101
|
* Updates the fields (such as name, type, or file references) of an existing media item in an event\'s media gallery, and requires read and update permission on both events and storage.
|
|
59889
60102
|
* @summary Update an event media item
|
|
@@ -59918,6 +60131,16 @@ export const EventsMediaApiFactory = function (configuration?: Configuration, ba
|
|
|
59918
60131
|
addEventMediaItemPassType(requestParameters: EventsMediaApiAddEventMediaItemPassTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventMediaItem200Response> {
|
|
59919
60132
|
return localVarFp.addEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
|
|
59920
60133
|
},
|
|
60134
|
+
/**
|
|
60135
|
+
* Grants a specific account tier (tier/segment) access to an event media item, restricting who can view it, and requires read and update permission on both events and storage.
|
|
60136
|
+
* @summary Restrict an event media item to a tier
|
|
60137
|
+
* @param {EventsMediaApiAddEventMediaItemTierRequest} requestParameters Request parameters.
|
|
60138
|
+
* @param {*} [options] Override http request option.
|
|
60139
|
+
* @throws {RequiredError}
|
|
60140
|
+
*/
|
|
60141
|
+
addEventMediaItemTier(requestParameters: EventsMediaApiAddEventMediaItemTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventMediaItem200Response> {
|
|
60142
|
+
return localVarFp.addEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(axios, basePath));
|
|
60143
|
+
},
|
|
59921
60144
|
/**
|
|
59922
60145
|
* Creates a new media item (image, video, or file) in an event\'s media gallery, and requires read and update permission on both events and storage.
|
|
59923
60146
|
* @summary Create an event media item
|
|
@@ -59958,6 +60181,16 @@ export const EventsMediaApiFactory = function (configuration?: Configuration, ba
|
|
|
59958
60181
|
getEventMediaItemPassTypes(requestParameters: EventsMediaApiGetEventMediaItemPassTypesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventAddOnPassTypes200Response> {
|
|
59959
60182
|
return localVarFp.getEventMediaItemPassTypes(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
59960
60183
|
},
|
|
60184
|
+
/**
|
|
60185
|
+
* Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given media item, supporting search and ordering; requires read access to events and storage.
|
|
60186
|
+
* @summary List tiers linked to a media item
|
|
60187
|
+
* @param {EventsMediaApiGetEventMediaItemTiersRequest} requestParameters Request parameters.
|
|
60188
|
+
* @param {*} [options] Override http request option.
|
|
60189
|
+
* @throws {RequiredError}
|
|
60190
|
+
*/
|
|
60191
|
+
getEventMediaItemTiers(requestParameters: EventsMediaApiGetEventMediaItemTiersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountTiers200Response> {
|
|
60192
|
+
return localVarFp.getEventMediaItemTiers(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
60193
|
+
},
|
|
59961
60194
|
/**
|
|
59962
60195
|
* Returns a paginated list of media items (images, videos, or files) belonging to the given event, optionally filtered by media type, with search and ordering support; requires read access to events and storage.
|
|
59963
60196
|
* @summary List an event\'s media items
|
|
@@ -59978,6 +60211,16 @@ export const EventsMediaApiFactory = function (configuration?: Configuration, ba
|
|
|
59978
60211
|
removeEventMediaItemPassType(requestParameters: EventsMediaApiRemoveEventMediaItemPassTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventMediaItem200Response> {
|
|
59979
60212
|
return localVarFp.removeEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
|
|
59980
60213
|
},
|
|
60214
|
+
/**
|
|
60215
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
60216
|
+
* @summary Remove a tier restriction from an event media item
|
|
60217
|
+
* @param {EventsMediaApiRemoveEventMediaItemTierRequest} requestParameters Request parameters.
|
|
60218
|
+
* @param {*} [options] Override http request option.
|
|
60219
|
+
* @throws {RequiredError}
|
|
60220
|
+
*/
|
|
60221
|
+
removeEventMediaItemTier(requestParameters: EventsMediaApiRemoveEventMediaItemTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventMediaItem200Response> {
|
|
60222
|
+
return localVarFp.removeEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(axios, basePath));
|
|
60223
|
+
},
|
|
59981
60224
|
/**
|
|
59982
60225
|
* Updates the fields (such as name, type, or file references) of an existing media item in an event\'s media gallery, and requires read and update permission on both events and storage.
|
|
59983
60226
|
* @summary Update an event media item
|
|
@@ -60011,6 +60254,26 @@ export interface EventsMediaApiAddEventMediaItemPassTypeRequest {
|
|
|
60011
60254
|
readonly passTypeId: string
|
|
60012
60255
|
}
|
|
60013
60256
|
|
|
60257
|
+
/**
|
|
60258
|
+
* Request parameters for addEventMediaItemTier operation in EventsMediaApi.
|
|
60259
|
+
*/
|
|
60260
|
+
export interface EventsMediaApiAddEventMediaItemTierRequest {
|
|
60261
|
+
/**
|
|
60262
|
+
* The event identifier
|
|
60263
|
+
*/
|
|
60264
|
+
readonly eventId: string
|
|
60265
|
+
|
|
60266
|
+
/**
|
|
60267
|
+
* The mediaItem identifier
|
|
60268
|
+
*/
|
|
60269
|
+
readonly mediaItemId: string
|
|
60270
|
+
|
|
60271
|
+
/**
|
|
60272
|
+
* The tier identifier
|
|
60273
|
+
*/
|
|
60274
|
+
readonly tierId: string
|
|
60275
|
+
}
|
|
60276
|
+
|
|
60014
60277
|
/**
|
|
60015
60278
|
* Request parameters for createEventMediaItem operation in EventsMediaApi.
|
|
60016
60279
|
*/
|
|
@@ -60088,6 +60351,41 @@ export interface EventsMediaApiGetEventMediaItemPassTypesRequest {
|
|
|
60088
60351
|
readonly search?: string
|
|
60089
60352
|
}
|
|
60090
60353
|
|
|
60354
|
+
/**
|
|
60355
|
+
* Request parameters for getEventMediaItemTiers operation in EventsMediaApi.
|
|
60356
|
+
*/
|
|
60357
|
+
export interface EventsMediaApiGetEventMediaItemTiersRequest {
|
|
60358
|
+
/**
|
|
60359
|
+
* The event identifier
|
|
60360
|
+
*/
|
|
60361
|
+
readonly eventId: string
|
|
60362
|
+
|
|
60363
|
+
/**
|
|
60364
|
+
* The mediaItem identifier
|
|
60365
|
+
*/
|
|
60366
|
+
readonly mediaItemId: string
|
|
60367
|
+
|
|
60368
|
+
/**
|
|
60369
|
+
* Page number
|
|
60370
|
+
*/
|
|
60371
|
+
readonly page?: number
|
|
60372
|
+
|
|
60373
|
+
/**
|
|
60374
|
+
* Number of items per page
|
|
60375
|
+
*/
|
|
60376
|
+
readonly pageSize?: number
|
|
60377
|
+
|
|
60378
|
+
/**
|
|
60379
|
+
* Field to order by
|
|
60380
|
+
*/
|
|
60381
|
+
readonly orderBy?: string
|
|
60382
|
+
|
|
60383
|
+
/**
|
|
60384
|
+
* Search query
|
|
60385
|
+
*/
|
|
60386
|
+
readonly search?: string
|
|
60387
|
+
}
|
|
60388
|
+
|
|
60091
60389
|
/**
|
|
60092
60390
|
* Request parameters for getEventMediaItems operation in EventsMediaApi.
|
|
60093
60391
|
*/
|
|
@@ -60143,6 +60441,26 @@ export interface EventsMediaApiRemoveEventMediaItemPassTypeRequest {
|
|
|
60143
60441
|
readonly passTypeId: string
|
|
60144
60442
|
}
|
|
60145
60443
|
|
|
60444
|
+
/**
|
|
60445
|
+
* Request parameters for removeEventMediaItemTier operation in EventsMediaApi.
|
|
60446
|
+
*/
|
|
60447
|
+
export interface EventsMediaApiRemoveEventMediaItemTierRequest {
|
|
60448
|
+
/**
|
|
60449
|
+
* The event identifier
|
|
60450
|
+
*/
|
|
60451
|
+
readonly eventId: string
|
|
60452
|
+
|
|
60453
|
+
/**
|
|
60454
|
+
* The mediaItem identifier
|
|
60455
|
+
*/
|
|
60456
|
+
readonly mediaItemId: string
|
|
60457
|
+
|
|
60458
|
+
/**
|
|
60459
|
+
* The tier identifier
|
|
60460
|
+
*/
|
|
60461
|
+
readonly tierId: string
|
|
60462
|
+
}
|
|
60463
|
+
|
|
60146
60464
|
/**
|
|
60147
60465
|
* Request parameters for updateEventMediaItem operation in EventsMediaApi.
|
|
60148
60466
|
*/
|
|
@@ -60175,6 +60493,17 @@ export class EventsMediaApi extends BaseAPI {
|
|
|
60175
60493
|
return EventsMediaApiFp(this.configuration).addEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
60176
60494
|
}
|
|
60177
60495
|
|
|
60496
|
+
/**
|
|
60497
|
+
* Grants a specific account tier (tier/segment) access to an event media item, restricting who can view it, and requires read and update permission on both events and storage.
|
|
60498
|
+
* @summary Restrict an event media item to a tier
|
|
60499
|
+
* @param {EventsMediaApiAddEventMediaItemTierRequest} requestParameters Request parameters.
|
|
60500
|
+
* @param {*} [options] Override http request option.
|
|
60501
|
+
* @throws {RequiredError}
|
|
60502
|
+
*/
|
|
60503
|
+
public addEventMediaItemTier(requestParameters: EventsMediaApiAddEventMediaItemTierRequest, options?: RawAxiosRequestConfig) {
|
|
60504
|
+
return EventsMediaApiFp(this.configuration).addEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
|
|
60505
|
+
}
|
|
60506
|
+
|
|
60178
60507
|
/**
|
|
60179
60508
|
* Creates a new media item (image, video, or file) in an event\'s media gallery, and requires read and update permission on both events and storage.
|
|
60180
60509
|
* @summary Create an event media item
|
|
@@ -60219,6 +60548,17 @@ export class EventsMediaApi extends BaseAPI {
|
|
|
60219
60548
|
return EventsMediaApiFp(this.configuration).getEventMediaItemPassTypes(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
60220
60549
|
}
|
|
60221
60550
|
|
|
60551
|
+
/**
|
|
60552
|
+
* Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given media item, supporting search and ordering; requires read access to events and storage.
|
|
60553
|
+
* @summary List tiers linked to a media item
|
|
60554
|
+
* @param {EventsMediaApiGetEventMediaItemTiersRequest} requestParameters Request parameters.
|
|
60555
|
+
* @param {*} [options] Override http request option.
|
|
60556
|
+
* @throws {RequiredError}
|
|
60557
|
+
*/
|
|
60558
|
+
public getEventMediaItemTiers(requestParameters: EventsMediaApiGetEventMediaItemTiersRequest, options?: RawAxiosRequestConfig) {
|
|
60559
|
+
return EventsMediaApiFp(this.configuration).getEventMediaItemTiers(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
60560
|
+
}
|
|
60561
|
+
|
|
60222
60562
|
/**
|
|
60223
60563
|
* Returns a paginated list of media items (images, videos, or files) belonging to the given event, optionally filtered by media type, with search and ordering support; requires read access to events and storage.
|
|
60224
60564
|
* @summary List an event\'s media items
|
|
@@ -60241,6 +60581,17 @@ export class EventsMediaApi extends BaseAPI {
|
|
|
60241
60581
|
return EventsMediaApiFp(this.configuration).removeEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
60242
60582
|
}
|
|
60243
60583
|
|
|
60584
|
+
/**
|
|
60585
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
60586
|
+
* @summary Remove a tier restriction from an event media item
|
|
60587
|
+
* @param {EventsMediaApiRemoveEventMediaItemTierRequest} requestParameters Request parameters.
|
|
60588
|
+
* @param {*} [options] Override http request option.
|
|
60589
|
+
* @throws {RequiredError}
|
|
60590
|
+
*/
|
|
60591
|
+
public removeEventMediaItemTier(requestParameters: EventsMediaApiRemoveEventMediaItemTierRequest, options?: RawAxiosRequestConfig) {
|
|
60592
|
+
return EventsMediaApiFp(this.configuration).removeEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
|
|
60593
|
+
}
|
|
60594
|
+
|
|
60244
60595
|
/**
|
|
60245
60596
|
* Updates the fields (such as name, type, or file references) of an existing media item in an event\'s media gallery, and requires read and update permission on both events and storage.
|
|
60246
60597
|
* @summary Update an event media item
|