@connectedxm/admin-sdk 7.13.0 → 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 +347 -0
- package/dist/api.d.ts +178 -0
- package/dist/api.js +255 -0
- package/dist/esm/api.d.ts +178 -0
- package/dist/esm/api.js +255 -0
- package/docs/EventMediaItem.md +2 -0
- package/docs/EventsMediaApi.md +183 -0
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -4816,6 +4816,7 @@ export interface EventMediaItem {
|
|
|
4816
4816
|
'file': BaseFile | null;
|
|
4817
4817
|
'sortOrder': number;
|
|
4818
4818
|
'allowedPassTypes': Array<BaseEventPassType>;
|
|
4819
|
+
'allowedTiers': Array<BaseTier>;
|
|
4819
4820
|
'createdAt': string;
|
|
4820
4821
|
'updatedAt': string;
|
|
4821
4822
|
}
|
|
@@ -35615,6 +35616,16 @@ export declare const EventsMediaApiAxiosParamCreator: (configuration?: Configura
|
|
|
35615
35616
|
* @throws {RequiredError}
|
|
35616
35617
|
*/
|
|
35617
35618
|
addEventMediaItemPassType: (eventId: string, mediaItemId: string, passTypeId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35619
|
+
/**
|
|
35620
|
+
* 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.
|
|
35621
|
+
* @summary Restrict an event media item to a tier
|
|
35622
|
+
* @param {string} eventId The event identifier
|
|
35623
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
35624
|
+
* @param {string} tierId The tier identifier
|
|
35625
|
+
* @param {*} [options] Override http request option.
|
|
35626
|
+
* @throws {RequiredError}
|
|
35627
|
+
*/
|
|
35628
|
+
addEventMediaItemTier: (eventId: string, mediaItemId: string, tierId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35618
35629
|
/**
|
|
35619
35630
|
* 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.
|
|
35620
35631
|
* @summary Create an event media item
|
|
@@ -35655,6 +35666,19 @@ export declare const EventsMediaApiAxiosParamCreator: (configuration?: Configura
|
|
|
35655
35666
|
* @throws {RequiredError}
|
|
35656
35667
|
*/
|
|
35657
35668
|
getEventMediaItemPassTypes: (eventId: string, mediaItemId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35669
|
+
/**
|
|
35670
|
+
* 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.
|
|
35671
|
+
* @summary List tiers linked to a media item
|
|
35672
|
+
* @param {string} eventId The event identifier
|
|
35673
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
35674
|
+
* @param {number} [page] Page number
|
|
35675
|
+
* @param {number} [pageSize] Number of items per page
|
|
35676
|
+
* @param {string} [orderBy] Field to order by
|
|
35677
|
+
* @param {string} [search] Search query
|
|
35678
|
+
* @param {*} [options] Override http request option.
|
|
35679
|
+
* @throws {RequiredError}
|
|
35680
|
+
*/
|
|
35681
|
+
getEventMediaItemTiers: (eventId: string, mediaItemId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35658
35682
|
/**
|
|
35659
35683
|
* 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.
|
|
35660
35684
|
* @summary List an event\'s media items
|
|
@@ -35678,6 +35702,16 @@ export declare const EventsMediaApiAxiosParamCreator: (configuration?: Configura
|
|
|
35678
35702
|
* @throws {RequiredError}
|
|
35679
35703
|
*/
|
|
35680
35704
|
removeEventMediaItemPassType: (eventId: string, mediaItemId: string, passTypeId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35705
|
+
/**
|
|
35706
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
35707
|
+
* @summary Remove a tier restriction from an event media item
|
|
35708
|
+
* @param {string} eventId The event identifier
|
|
35709
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
35710
|
+
* @param {string} tierId The tier identifier
|
|
35711
|
+
* @param {*} [options] Override http request option.
|
|
35712
|
+
* @throws {RequiredError}
|
|
35713
|
+
*/
|
|
35714
|
+
removeEventMediaItemTier: (eventId: string, mediaItemId: string, tierId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
35681
35715
|
/**
|
|
35682
35716
|
* 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.
|
|
35683
35717
|
* @summary Update an event media item
|
|
@@ -35703,6 +35737,16 @@ export declare const EventsMediaApiFp: (configuration?: Configuration) => {
|
|
|
35703
35737
|
* @throws {RequiredError}
|
|
35704
35738
|
*/
|
|
35705
35739
|
addEventMediaItemPassType(eventId: string, mediaItemId: string, passTypeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventMediaItem200Response>>;
|
|
35740
|
+
/**
|
|
35741
|
+
* 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.
|
|
35742
|
+
* @summary Restrict an event media item to a tier
|
|
35743
|
+
* @param {string} eventId The event identifier
|
|
35744
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
35745
|
+
* @param {string} tierId The tier identifier
|
|
35746
|
+
* @param {*} [options] Override http request option.
|
|
35747
|
+
* @throws {RequiredError}
|
|
35748
|
+
*/
|
|
35749
|
+
addEventMediaItemTier(eventId: string, mediaItemId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventMediaItem200Response>>;
|
|
35706
35750
|
/**
|
|
35707
35751
|
* 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.
|
|
35708
35752
|
* @summary Create an event media item
|
|
@@ -35743,6 +35787,19 @@ export declare const EventsMediaApiFp: (configuration?: Configuration) => {
|
|
|
35743
35787
|
* @throws {RequiredError}
|
|
35744
35788
|
*/
|
|
35745
35789
|
getEventMediaItemPassTypes(eventId: string, mediaItemId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventAddOnPassTypes200Response>>;
|
|
35790
|
+
/**
|
|
35791
|
+
* 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.
|
|
35792
|
+
* @summary List tiers linked to a media item
|
|
35793
|
+
* @param {string} eventId The event identifier
|
|
35794
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
35795
|
+
* @param {number} [page] Page number
|
|
35796
|
+
* @param {number} [pageSize] Number of items per page
|
|
35797
|
+
* @param {string} [orderBy] Field to order by
|
|
35798
|
+
* @param {string} [search] Search query
|
|
35799
|
+
* @param {*} [options] Override http request option.
|
|
35800
|
+
* @throws {RequiredError}
|
|
35801
|
+
*/
|
|
35802
|
+
getEventMediaItemTiers(eventId: string, mediaItemId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountTiers200Response>>;
|
|
35746
35803
|
/**
|
|
35747
35804
|
* 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.
|
|
35748
35805
|
* @summary List an event\'s media items
|
|
@@ -35766,6 +35823,16 @@ export declare const EventsMediaApiFp: (configuration?: Configuration) => {
|
|
|
35766
35823
|
* @throws {RequiredError}
|
|
35767
35824
|
*/
|
|
35768
35825
|
removeEventMediaItemPassType(eventId: string, mediaItemId: string, passTypeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventMediaItem200Response>>;
|
|
35826
|
+
/**
|
|
35827
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
35828
|
+
* @summary Remove a tier restriction from an event media item
|
|
35829
|
+
* @param {string} eventId The event identifier
|
|
35830
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
35831
|
+
* @param {string} tierId The tier identifier
|
|
35832
|
+
* @param {*} [options] Override http request option.
|
|
35833
|
+
* @throws {RequiredError}
|
|
35834
|
+
*/
|
|
35835
|
+
removeEventMediaItemTier(eventId: string, mediaItemId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventMediaItem200Response>>;
|
|
35769
35836
|
/**
|
|
35770
35837
|
* 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.
|
|
35771
35838
|
* @summary Update an event media item
|
|
@@ -35789,6 +35856,14 @@ export declare const EventsMediaApiFactory: (configuration?: Configuration, base
|
|
|
35789
35856
|
* @throws {RequiredError}
|
|
35790
35857
|
*/
|
|
35791
35858
|
addEventMediaItemPassType(requestParameters: EventsMediaApiAddEventMediaItemPassTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventMediaItem200Response>;
|
|
35859
|
+
/**
|
|
35860
|
+
* 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.
|
|
35861
|
+
* @summary Restrict an event media item to a tier
|
|
35862
|
+
* @param {EventsMediaApiAddEventMediaItemTierRequest} requestParameters Request parameters.
|
|
35863
|
+
* @param {*} [options] Override http request option.
|
|
35864
|
+
* @throws {RequiredError}
|
|
35865
|
+
*/
|
|
35866
|
+
addEventMediaItemTier(requestParameters: EventsMediaApiAddEventMediaItemTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventMediaItem200Response>;
|
|
35792
35867
|
/**
|
|
35793
35868
|
* 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.
|
|
35794
35869
|
* @summary Create an event media item
|
|
@@ -35821,6 +35896,14 @@ export declare const EventsMediaApiFactory: (configuration?: Configuration, base
|
|
|
35821
35896
|
* @throws {RequiredError}
|
|
35822
35897
|
*/
|
|
35823
35898
|
getEventMediaItemPassTypes(requestParameters: EventsMediaApiGetEventMediaItemPassTypesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventAddOnPassTypes200Response>;
|
|
35899
|
+
/**
|
|
35900
|
+
* 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.
|
|
35901
|
+
* @summary List tiers linked to a media item
|
|
35902
|
+
* @param {EventsMediaApiGetEventMediaItemTiersRequest} requestParameters Request parameters.
|
|
35903
|
+
* @param {*} [options] Override http request option.
|
|
35904
|
+
* @throws {RequiredError}
|
|
35905
|
+
*/
|
|
35906
|
+
getEventMediaItemTiers(requestParameters: EventsMediaApiGetEventMediaItemTiersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountTiers200Response>;
|
|
35824
35907
|
/**
|
|
35825
35908
|
* 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.
|
|
35826
35909
|
* @summary List an event\'s media items
|
|
@@ -35837,6 +35920,14 @@ export declare const EventsMediaApiFactory: (configuration?: Configuration, base
|
|
|
35837
35920
|
* @throws {RequiredError}
|
|
35838
35921
|
*/
|
|
35839
35922
|
removeEventMediaItemPassType(requestParameters: EventsMediaApiRemoveEventMediaItemPassTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventMediaItem200Response>;
|
|
35923
|
+
/**
|
|
35924
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
35925
|
+
* @summary Remove a tier restriction from an event media item
|
|
35926
|
+
* @param {EventsMediaApiRemoveEventMediaItemTierRequest} requestParameters Request parameters.
|
|
35927
|
+
* @param {*} [options] Override http request option.
|
|
35928
|
+
* @throws {RequiredError}
|
|
35929
|
+
*/
|
|
35930
|
+
removeEventMediaItemTier(requestParameters: EventsMediaApiRemoveEventMediaItemTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventMediaItem200Response>;
|
|
35840
35931
|
/**
|
|
35841
35932
|
* 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.
|
|
35842
35933
|
* @summary Update an event media item
|
|
@@ -35863,6 +35954,23 @@ export interface EventsMediaApiAddEventMediaItemPassTypeRequest {
|
|
|
35863
35954
|
*/
|
|
35864
35955
|
readonly passTypeId: string;
|
|
35865
35956
|
}
|
|
35957
|
+
/**
|
|
35958
|
+
* Request parameters for addEventMediaItemTier operation in EventsMediaApi.
|
|
35959
|
+
*/
|
|
35960
|
+
export interface EventsMediaApiAddEventMediaItemTierRequest {
|
|
35961
|
+
/**
|
|
35962
|
+
* The event identifier
|
|
35963
|
+
*/
|
|
35964
|
+
readonly eventId: string;
|
|
35965
|
+
/**
|
|
35966
|
+
* The mediaItem identifier
|
|
35967
|
+
*/
|
|
35968
|
+
readonly mediaItemId: string;
|
|
35969
|
+
/**
|
|
35970
|
+
* The tier identifier
|
|
35971
|
+
*/
|
|
35972
|
+
readonly tierId: string;
|
|
35973
|
+
}
|
|
35866
35974
|
/**
|
|
35867
35975
|
* Request parameters for createEventMediaItem operation in EventsMediaApi.
|
|
35868
35976
|
*/
|
|
@@ -35928,6 +36036,35 @@ export interface EventsMediaApiGetEventMediaItemPassTypesRequest {
|
|
|
35928
36036
|
*/
|
|
35929
36037
|
readonly search?: string;
|
|
35930
36038
|
}
|
|
36039
|
+
/**
|
|
36040
|
+
* Request parameters for getEventMediaItemTiers operation in EventsMediaApi.
|
|
36041
|
+
*/
|
|
36042
|
+
export interface EventsMediaApiGetEventMediaItemTiersRequest {
|
|
36043
|
+
/**
|
|
36044
|
+
* The event identifier
|
|
36045
|
+
*/
|
|
36046
|
+
readonly eventId: string;
|
|
36047
|
+
/**
|
|
36048
|
+
* The mediaItem identifier
|
|
36049
|
+
*/
|
|
36050
|
+
readonly mediaItemId: string;
|
|
36051
|
+
/**
|
|
36052
|
+
* Page number
|
|
36053
|
+
*/
|
|
36054
|
+
readonly page?: number;
|
|
36055
|
+
/**
|
|
36056
|
+
* Number of items per page
|
|
36057
|
+
*/
|
|
36058
|
+
readonly pageSize?: number;
|
|
36059
|
+
/**
|
|
36060
|
+
* Field to order by
|
|
36061
|
+
*/
|
|
36062
|
+
readonly orderBy?: string;
|
|
36063
|
+
/**
|
|
36064
|
+
* Search query
|
|
36065
|
+
*/
|
|
36066
|
+
readonly search?: string;
|
|
36067
|
+
}
|
|
35931
36068
|
/**
|
|
35932
36069
|
* Request parameters for getEventMediaItems operation in EventsMediaApi.
|
|
35933
36070
|
*/
|
|
@@ -35974,6 +36111,23 @@ export interface EventsMediaApiRemoveEventMediaItemPassTypeRequest {
|
|
|
35974
36111
|
*/
|
|
35975
36112
|
readonly passTypeId: string;
|
|
35976
36113
|
}
|
|
36114
|
+
/**
|
|
36115
|
+
* Request parameters for removeEventMediaItemTier operation in EventsMediaApi.
|
|
36116
|
+
*/
|
|
36117
|
+
export interface EventsMediaApiRemoveEventMediaItemTierRequest {
|
|
36118
|
+
/**
|
|
36119
|
+
* The event identifier
|
|
36120
|
+
*/
|
|
36121
|
+
readonly eventId: string;
|
|
36122
|
+
/**
|
|
36123
|
+
* The mediaItem identifier
|
|
36124
|
+
*/
|
|
36125
|
+
readonly mediaItemId: string;
|
|
36126
|
+
/**
|
|
36127
|
+
* The tier identifier
|
|
36128
|
+
*/
|
|
36129
|
+
readonly tierId: string;
|
|
36130
|
+
}
|
|
35977
36131
|
/**
|
|
35978
36132
|
* Request parameters for updateEventMediaItem operation in EventsMediaApi.
|
|
35979
36133
|
*/
|
|
@@ -36000,6 +36154,14 @@ export declare class EventsMediaApi extends BaseAPI {
|
|
|
36000
36154
|
* @throws {RequiredError}
|
|
36001
36155
|
*/
|
|
36002
36156
|
addEventMediaItemPassType(requestParameters: EventsMediaApiAddEventMediaItemPassTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventMediaItem200Response, any, {}>>;
|
|
36157
|
+
/**
|
|
36158
|
+
* 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.
|
|
36159
|
+
* @summary Restrict an event media item to a tier
|
|
36160
|
+
* @param {EventsMediaApiAddEventMediaItemTierRequest} requestParameters Request parameters.
|
|
36161
|
+
* @param {*} [options] Override http request option.
|
|
36162
|
+
* @throws {RequiredError}
|
|
36163
|
+
*/
|
|
36164
|
+
addEventMediaItemTier(requestParameters: EventsMediaApiAddEventMediaItemTierRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventMediaItem200Response, any, {}>>;
|
|
36003
36165
|
/**
|
|
36004
36166
|
* 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.
|
|
36005
36167
|
* @summary Create an event media item
|
|
@@ -36032,6 +36194,14 @@ export declare class EventsMediaApi extends BaseAPI {
|
|
|
36032
36194
|
* @throws {RequiredError}
|
|
36033
36195
|
*/
|
|
36034
36196
|
getEventMediaItemPassTypes(requestParameters: EventsMediaApiGetEventMediaItemPassTypesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEventAddOnPassTypes200Response, any, {}>>;
|
|
36197
|
+
/**
|
|
36198
|
+
* 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.
|
|
36199
|
+
* @summary List tiers linked to a media item
|
|
36200
|
+
* @param {EventsMediaApiGetEventMediaItemTiersRequest} requestParameters Request parameters.
|
|
36201
|
+
* @param {*} [options] Override http request option.
|
|
36202
|
+
* @throws {RequiredError}
|
|
36203
|
+
*/
|
|
36204
|
+
getEventMediaItemTiers(requestParameters: EventsMediaApiGetEventMediaItemTiersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetAccountTiers200Response, any, {}>>;
|
|
36035
36205
|
/**
|
|
36036
36206
|
* 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.
|
|
36037
36207
|
* @summary List an event\'s media items
|
|
@@ -36048,6 +36218,14 @@ export declare class EventsMediaApi extends BaseAPI {
|
|
|
36048
36218
|
* @throws {RequiredError}
|
|
36049
36219
|
*/
|
|
36050
36220
|
removeEventMediaItemPassType(requestParameters: EventsMediaApiRemoveEventMediaItemPassTypeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventMediaItem200Response, any, {}>>;
|
|
36221
|
+
/**
|
|
36222
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
36223
|
+
* @summary Remove a tier restriction from an event media item
|
|
36224
|
+
* @param {EventsMediaApiRemoveEventMediaItemTierRequest} requestParameters Request parameters.
|
|
36225
|
+
* @param {*} [options] Override http request option.
|
|
36226
|
+
* @throws {RequiredError}
|
|
36227
|
+
*/
|
|
36228
|
+
removeEventMediaItemTier(requestParameters: EventsMediaApiRemoveEventMediaItemTierRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEventMediaItem200Response, any, {}>>;
|
|
36051
36229
|
/**
|
|
36052
36230
|
* 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.
|
|
36053
36231
|
* @summary Update an event media item
|
package/dist/esm/api.js
CHANGED
|
@@ -36851,6 +36851,48 @@ export const EventsMediaApiAxiosParamCreator = function (configuration) {
|
|
|
36851
36851
|
options: localVarRequestOptions,
|
|
36852
36852
|
};
|
|
36853
36853
|
}),
|
|
36854
|
+
/**
|
|
36855
|
+
* 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.
|
|
36856
|
+
* @summary Restrict an event media item to a tier
|
|
36857
|
+
* @param {string} eventId The event identifier
|
|
36858
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
36859
|
+
* @param {string} tierId The tier identifier
|
|
36860
|
+
* @param {*} [options] Override http request option.
|
|
36861
|
+
* @throws {RequiredError}
|
|
36862
|
+
*/
|
|
36863
|
+
addEventMediaItemTier: (eventId_1, mediaItemId_1, tierId_1, ...args_1) => __awaiter(this, [eventId_1, mediaItemId_1, tierId_1, ...args_1], void 0, function* (eventId, mediaItemId, tierId, options = {}) {
|
|
36864
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
36865
|
+
assertParamExists('addEventMediaItemTier', 'eventId', eventId);
|
|
36866
|
+
// verify required parameter 'mediaItemId' is not null or undefined
|
|
36867
|
+
assertParamExists('addEventMediaItemTier', 'mediaItemId', mediaItemId);
|
|
36868
|
+
// verify required parameter 'tierId' is not null or undefined
|
|
36869
|
+
assertParamExists('addEventMediaItemTier', 'tierId', tierId);
|
|
36870
|
+
const localVarPath = `/events/{eventId}/media/{mediaItemId}/tiers/{tierId}`
|
|
36871
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
36872
|
+
.replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)))
|
|
36873
|
+
.replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
|
|
36874
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
36875
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
36876
|
+
let baseOptions;
|
|
36877
|
+
if (configuration) {
|
|
36878
|
+
baseOptions = configuration.baseOptions;
|
|
36879
|
+
}
|
|
36880
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
36881
|
+
const localVarHeaderParameter = {};
|
|
36882
|
+
const localVarQueryParameter = {};
|
|
36883
|
+
// authentication ApiKeyAuth required
|
|
36884
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
36885
|
+
// authentication OrganizationId required
|
|
36886
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
36887
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
36888
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
36889
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
36890
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
36891
|
+
return {
|
|
36892
|
+
url: toPathString(localVarUrlObj),
|
|
36893
|
+
options: localVarRequestOptions,
|
|
36894
|
+
};
|
|
36895
|
+
}),
|
|
36854
36896
|
/**
|
|
36855
36897
|
* 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.
|
|
36856
36898
|
* @summary Create an event media item
|
|
@@ -37020,6 +37062,60 @@ export const EventsMediaApiAxiosParamCreator = function (configuration) {
|
|
|
37020
37062
|
options: localVarRequestOptions,
|
|
37021
37063
|
};
|
|
37022
37064
|
}),
|
|
37065
|
+
/**
|
|
37066
|
+
* 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.
|
|
37067
|
+
* @summary List tiers linked to a media item
|
|
37068
|
+
* @param {string} eventId The event identifier
|
|
37069
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
37070
|
+
* @param {number} [page] Page number
|
|
37071
|
+
* @param {number} [pageSize] Number of items per page
|
|
37072
|
+
* @param {string} [orderBy] Field to order by
|
|
37073
|
+
* @param {string} [search] Search query
|
|
37074
|
+
* @param {*} [options] Override http request option.
|
|
37075
|
+
* @throws {RequiredError}
|
|
37076
|
+
*/
|
|
37077
|
+
getEventMediaItemTiers: (eventId_1, mediaItemId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1) => __awaiter(this, [eventId_1, mediaItemId_1, page_1, pageSize_1, orderBy_1, search_1, ...args_1], void 0, function* (eventId, mediaItemId, page, pageSize, orderBy, search, options = {}) {
|
|
37078
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
37079
|
+
assertParamExists('getEventMediaItemTiers', 'eventId', eventId);
|
|
37080
|
+
// verify required parameter 'mediaItemId' is not null or undefined
|
|
37081
|
+
assertParamExists('getEventMediaItemTiers', 'mediaItemId', mediaItemId);
|
|
37082
|
+
const localVarPath = `/events/{eventId}/media/{mediaItemId}/tiers`
|
|
37083
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
37084
|
+
.replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)));
|
|
37085
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37086
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37087
|
+
let baseOptions;
|
|
37088
|
+
if (configuration) {
|
|
37089
|
+
baseOptions = configuration.baseOptions;
|
|
37090
|
+
}
|
|
37091
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
37092
|
+
const localVarHeaderParameter = {};
|
|
37093
|
+
const localVarQueryParameter = {};
|
|
37094
|
+
// authentication ApiKeyAuth required
|
|
37095
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
37096
|
+
// authentication OrganizationId required
|
|
37097
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
37098
|
+
if (page !== undefined) {
|
|
37099
|
+
localVarQueryParameter['page'] = page;
|
|
37100
|
+
}
|
|
37101
|
+
if (pageSize !== undefined) {
|
|
37102
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
37103
|
+
}
|
|
37104
|
+
if (orderBy !== undefined) {
|
|
37105
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
37106
|
+
}
|
|
37107
|
+
if (search !== undefined) {
|
|
37108
|
+
localVarQueryParameter['search'] = search;
|
|
37109
|
+
}
|
|
37110
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
37111
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37112
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37113
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37114
|
+
return {
|
|
37115
|
+
url: toPathString(localVarUrlObj),
|
|
37116
|
+
options: localVarRequestOptions,
|
|
37117
|
+
};
|
|
37118
|
+
}),
|
|
37023
37119
|
/**
|
|
37024
37120
|
* 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.
|
|
37025
37121
|
* @summary List an event\'s media items
|
|
@@ -37116,6 +37212,48 @@ export const EventsMediaApiAxiosParamCreator = function (configuration) {
|
|
|
37116
37212
|
options: localVarRequestOptions,
|
|
37117
37213
|
};
|
|
37118
37214
|
}),
|
|
37215
|
+
/**
|
|
37216
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
37217
|
+
* @summary Remove a tier restriction from an event media item
|
|
37218
|
+
* @param {string} eventId The event identifier
|
|
37219
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
37220
|
+
* @param {string} tierId The tier identifier
|
|
37221
|
+
* @param {*} [options] Override http request option.
|
|
37222
|
+
* @throws {RequiredError}
|
|
37223
|
+
*/
|
|
37224
|
+
removeEventMediaItemTier: (eventId_1, mediaItemId_1, tierId_1, ...args_1) => __awaiter(this, [eventId_1, mediaItemId_1, tierId_1, ...args_1], void 0, function* (eventId, mediaItemId, tierId, options = {}) {
|
|
37225
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
37226
|
+
assertParamExists('removeEventMediaItemTier', 'eventId', eventId);
|
|
37227
|
+
// verify required parameter 'mediaItemId' is not null or undefined
|
|
37228
|
+
assertParamExists('removeEventMediaItemTier', 'mediaItemId', mediaItemId);
|
|
37229
|
+
// verify required parameter 'tierId' is not null or undefined
|
|
37230
|
+
assertParamExists('removeEventMediaItemTier', 'tierId', tierId);
|
|
37231
|
+
const localVarPath = `/events/{eventId}/media/{mediaItemId}/tiers/{tierId}`
|
|
37232
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
37233
|
+
.replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)))
|
|
37234
|
+
.replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
|
|
37235
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37236
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
37237
|
+
let baseOptions;
|
|
37238
|
+
if (configuration) {
|
|
37239
|
+
baseOptions = configuration.baseOptions;
|
|
37240
|
+
}
|
|
37241
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
37242
|
+
const localVarHeaderParameter = {};
|
|
37243
|
+
const localVarQueryParameter = {};
|
|
37244
|
+
// authentication ApiKeyAuth required
|
|
37245
|
+
yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
|
|
37246
|
+
// authentication OrganizationId required
|
|
37247
|
+
yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
|
|
37248
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
37249
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
37250
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37251
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37252
|
+
return {
|
|
37253
|
+
url: toPathString(localVarUrlObj),
|
|
37254
|
+
options: localVarRequestOptions,
|
|
37255
|
+
};
|
|
37256
|
+
}),
|
|
37119
37257
|
/**
|
|
37120
37258
|
* 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.
|
|
37121
37259
|
* @summary Update an event media item
|
|
@@ -37185,6 +37323,24 @@ export const EventsMediaApiFp = function (configuration) {
|
|
|
37185
37323
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37186
37324
|
});
|
|
37187
37325
|
},
|
|
37326
|
+
/**
|
|
37327
|
+
* 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.
|
|
37328
|
+
* @summary Restrict an event media item to a tier
|
|
37329
|
+
* @param {string} eventId The event identifier
|
|
37330
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
37331
|
+
* @param {string} tierId The tier identifier
|
|
37332
|
+
* @param {*} [options] Override http request option.
|
|
37333
|
+
* @throws {RequiredError}
|
|
37334
|
+
*/
|
|
37335
|
+
addEventMediaItemTier(eventId, mediaItemId, tierId, options) {
|
|
37336
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37337
|
+
var _a, _b, _c;
|
|
37338
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventMediaItemTier(eventId, mediaItemId, tierId, options);
|
|
37339
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37340
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsMediaApi.addEventMediaItemTier']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37341
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37342
|
+
});
|
|
37343
|
+
},
|
|
37188
37344
|
/**
|
|
37189
37345
|
* 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.
|
|
37190
37346
|
* @summary Create an event media item
|
|
@@ -37257,6 +37413,27 @@ export const EventsMediaApiFp = function (configuration) {
|
|
|
37257
37413
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37258
37414
|
});
|
|
37259
37415
|
},
|
|
37416
|
+
/**
|
|
37417
|
+
* 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.
|
|
37418
|
+
* @summary List tiers linked to a media item
|
|
37419
|
+
* @param {string} eventId The event identifier
|
|
37420
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
37421
|
+
* @param {number} [page] Page number
|
|
37422
|
+
* @param {number} [pageSize] Number of items per page
|
|
37423
|
+
* @param {string} [orderBy] Field to order by
|
|
37424
|
+
* @param {string} [search] Search query
|
|
37425
|
+
* @param {*} [options] Override http request option.
|
|
37426
|
+
* @throws {RequiredError}
|
|
37427
|
+
*/
|
|
37428
|
+
getEventMediaItemTiers(eventId, mediaItemId, page, pageSize, orderBy, search, options) {
|
|
37429
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37430
|
+
var _a, _b, _c;
|
|
37431
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventMediaItemTiers(eventId, mediaItemId, page, pageSize, orderBy, search, options);
|
|
37432
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37433
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsMediaApi.getEventMediaItemTiers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37434
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37435
|
+
});
|
|
37436
|
+
},
|
|
37260
37437
|
/**
|
|
37261
37438
|
* 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.
|
|
37262
37439
|
* @summary List an event\'s media items
|
|
@@ -37296,6 +37473,24 @@ export const EventsMediaApiFp = function (configuration) {
|
|
|
37296
37473
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37297
37474
|
});
|
|
37298
37475
|
},
|
|
37476
|
+
/**
|
|
37477
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
37478
|
+
* @summary Remove a tier restriction from an event media item
|
|
37479
|
+
* @param {string} eventId The event identifier
|
|
37480
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
37481
|
+
* @param {string} tierId The tier identifier
|
|
37482
|
+
* @param {*} [options] Override http request option.
|
|
37483
|
+
* @throws {RequiredError}
|
|
37484
|
+
*/
|
|
37485
|
+
removeEventMediaItemTier(eventId, mediaItemId, tierId, options) {
|
|
37486
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37487
|
+
var _a, _b, _c;
|
|
37488
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventMediaItemTier(eventId, mediaItemId, tierId, options);
|
|
37489
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37490
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsMediaApi.removeEventMediaItemTier']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37491
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37492
|
+
});
|
|
37493
|
+
},
|
|
37299
37494
|
/**
|
|
37300
37495
|
* 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.
|
|
37301
37496
|
* @summary Update an event media item
|
|
@@ -37332,6 +37527,16 @@ export const EventsMediaApiFactory = function (configuration, basePath, axios) {
|
|
|
37332
37527
|
addEventMediaItemPassType(requestParameters, options) {
|
|
37333
37528
|
return localVarFp.addEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
|
|
37334
37529
|
},
|
|
37530
|
+
/**
|
|
37531
|
+
* 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.
|
|
37532
|
+
* @summary Restrict an event media item to a tier
|
|
37533
|
+
* @param {EventsMediaApiAddEventMediaItemTierRequest} requestParameters Request parameters.
|
|
37534
|
+
* @param {*} [options] Override http request option.
|
|
37535
|
+
* @throws {RequiredError}
|
|
37536
|
+
*/
|
|
37537
|
+
addEventMediaItemTier(requestParameters, options) {
|
|
37538
|
+
return localVarFp.addEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(axios, basePath));
|
|
37539
|
+
},
|
|
37335
37540
|
/**
|
|
37336
37541
|
* 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.
|
|
37337
37542
|
* @summary Create an event media item
|
|
@@ -37372,6 +37577,16 @@ export const EventsMediaApiFactory = function (configuration, basePath, axios) {
|
|
|
37372
37577
|
getEventMediaItemPassTypes(requestParameters, options) {
|
|
37373
37578
|
return localVarFp.getEventMediaItemPassTypes(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
37374
37579
|
},
|
|
37580
|
+
/**
|
|
37581
|
+
* 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.
|
|
37582
|
+
* @summary List tiers linked to a media item
|
|
37583
|
+
* @param {EventsMediaApiGetEventMediaItemTiersRequest} requestParameters Request parameters.
|
|
37584
|
+
* @param {*} [options] Override http request option.
|
|
37585
|
+
* @throws {RequiredError}
|
|
37586
|
+
*/
|
|
37587
|
+
getEventMediaItemTiers(requestParameters, options) {
|
|
37588
|
+
return localVarFp.getEventMediaItemTiers(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
37589
|
+
},
|
|
37375
37590
|
/**
|
|
37376
37591
|
* 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.
|
|
37377
37592
|
* @summary List an event\'s media items
|
|
@@ -37392,6 +37607,16 @@ export const EventsMediaApiFactory = function (configuration, basePath, axios) {
|
|
|
37392
37607
|
removeEventMediaItemPassType(requestParameters, options) {
|
|
37393
37608
|
return localVarFp.removeEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
|
|
37394
37609
|
},
|
|
37610
|
+
/**
|
|
37611
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
37612
|
+
* @summary Remove a tier restriction from an event media item
|
|
37613
|
+
* @param {EventsMediaApiRemoveEventMediaItemTierRequest} requestParameters Request parameters.
|
|
37614
|
+
* @param {*} [options] Override http request option.
|
|
37615
|
+
* @throws {RequiredError}
|
|
37616
|
+
*/
|
|
37617
|
+
removeEventMediaItemTier(requestParameters, options) {
|
|
37618
|
+
return localVarFp.removeEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(axios, basePath));
|
|
37619
|
+
},
|
|
37395
37620
|
/**
|
|
37396
37621
|
* 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.
|
|
37397
37622
|
* @summary Update an event media item
|
|
@@ -37418,6 +37643,16 @@ export class EventsMediaApi extends BaseAPI {
|
|
|
37418
37643
|
addEventMediaItemPassType(requestParameters, options) {
|
|
37419
37644
|
return EventsMediaApiFp(this.configuration).addEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
37420
37645
|
}
|
|
37646
|
+
/**
|
|
37647
|
+
* 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.
|
|
37648
|
+
* @summary Restrict an event media item to a tier
|
|
37649
|
+
* @param {EventsMediaApiAddEventMediaItemTierRequest} requestParameters Request parameters.
|
|
37650
|
+
* @param {*} [options] Override http request option.
|
|
37651
|
+
* @throws {RequiredError}
|
|
37652
|
+
*/
|
|
37653
|
+
addEventMediaItemTier(requestParameters, options) {
|
|
37654
|
+
return EventsMediaApiFp(this.configuration).addEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
|
|
37655
|
+
}
|
|
37421
37656
|
/**
|
|
37422
37657
|
* 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.
|
|
37423
37658
|
* @summary Create an event media item
|
|
@@ -37458,6 +37693,16 @@ export class EventsMediaApi extends BaseAPI {
|
|
|
37458
37693
|
getEventMediaItemPassTypes(requestParameters, options) {
|
|
37459
37694
|
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));
|
|
37460
37695
|
}
|
|
37696
|
+
/**
|
|
37697
|
+
* 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.
|
|
37698
|
+
* @summary List tiers linked to a media item
|
|
37699
|
+
* @param {EventsMediaApiGetEventMediaItemTiersRequest} requestParameters Request parameters.
|
|
37700
|
+
* @param {*} [options] Override http request option.
|
|
37701
|
+
* @throws {RequiredError}
|
|
37702
|
+
*/
|
|
37703
|
+
getEventMediaItemTiers(requestParameters, options) {
|
|
37704
|
+
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));
|
|
37705
|
+
}
|
|
37461
37706
|
/**
|
|
37462
37707
|
* 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.
|
|
37463
37708
|
* @summary List an event\'s media items
|
|
@@ -37478,6 +37723,16 @@ export class EventsMediaApi extends BaseAPI {
|
|
|
37478
37723
|
removeEventMediaItemPassType(requestParameters, options) {
|
|
37479
37724
|
return EventsMediaApiFp(this.configuration).removeEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
37480
37725
|
}
|
|
37726
|
+
/**
|
|
37727
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
37728
|
+
* @summary Remove a tier restriction from an event media item
|
|
37729
|
+
* @param {EventsMediaApiRemoveEventMediaItemTierRequest} requestParameters Request parameters.
|
|
37730
|
+
* @param {*} [options] Override http request option.
|
|
37731
|
+
* @throws {RequiredError}
|
|
37732
|
+
*/
|
|
37733
|
+
removeEventMediaItemTier(requestParameters, options) {
|
|
37734
|
+
return EventsMediaApiFp(this.configuration).removeEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
|
|
37735
|
+
}
|
|
37481
37736
|
/**
|
|
37482
37737
|
* 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.
|
|
37483
37738
|
* @summary Update an event media item
|
package/docs/EventMediaItem.md
CHANGED
|
@@ -16,6 +16,7 @@ Name | Type | Description | Notes
|
|
|
16
16
|
**file** | [**BaseFile**](BaseFile.md) | | [default to undefined]
|
|
17
17
|
**sortOrder** | **number** | | [default to undefined]
|
|
18
18
|
**allowedPassTypes** | [**Array<BaseEventPassType>**](BaseEventPassType.md) | | [default to undefined]
|
|
19
|
+
**allowedTiers** | [**Array<BaseTier>**](BaseTier.md) | | [default to undefined]
|
|
19
20
|
**createdAt** | **string** | | [default to undefined]
|
|
20
21
|
**updatedAt** | **string** | | [default to undefined]
|
|
21
22
|
|
|
@@ -36,6 +37,7 @@ const instance: EventMediaItem = {
|
|
|
36
37
|
file,
|
|
37
38
|
sortOrder,
|
|
38
39
|
allowedPassTypes,
|
|
40
|
+
allowedTiers,
|
|
39
41
|
createdAt,
|
|
40
42
|
updatedAt,
|
|
41
43
|
};
|