@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/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/api.js
CHANGED
|
@@ -37117,6 +37117,48 @@ const EventsMediaApiAxiosParamCreator = function (configuration) {
|
|
|
37117
37117
|
options: localVarRequestOptions,
|
|
37118
37118
|
};
|
|
37119
37119
|
}),
|
|
37120
|
+
/**
|
|
37121
|
+
* 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.
|
|
37122
|
+
* @summary Restrict an event media item to a tier
|
|
37123
|
+
* @param {string} eventId The event identifier
|
|
37124
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
37125
|
+
* @param {string} tierId The tier identifier
|
|
37126
|
+
* @param {*} [options] Override http request option.
|
|
37127
|
+
* @throws {RequiredError}
|
|
37128
|
+
*/
|
|
37129
|
+
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 = {}) {
|
|
37130
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
37131
|
+
(0, common_1.assertParamExists)('addEventMediaItemTier', 'eventId', eventId);
|
|
37132
|
+
// verify required parameter 'mediaItemId' is not null or undefined
|
|
37133
|
+
(0, common_1.assertParamExists)('addEventMediaItemTier', 'mediaItemId', mediaItemId);
|
|
37134
|
+
// verify required parameter 'tierId' is not null or undefined
|
|
37135
|
+
(0, common_1.assertParamExists)('addEventMediaItemTier', 'tierId', tierId);
|
|
37136
|
+
const localVarPath = `/events/{eventId}/media/{mediaItemId}/tiers/{tierId}`
|
|
37137
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
37138
|
+
.replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)))
|
|
37139
|
+
.replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
|
|
37140
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37141
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37142
|
+
let baseOptions;
|
|
37143
|
+
if (configuration) {
|
|
37144
|
+
baseOptions = configuration.baseOptions;
|
|
37145
|
+
}
|
|
37146
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
37147
|
+
const localVarHeaderParameter = {};
|
|
37148
|
+
const localVarQueryParameter = {};
|
|
37149
|
+
// authentication ApiKeyAuth required
|
|
37150
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
37151
|
+
// authentication OrganizationId required
|
|
37152
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
37153
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
37154
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37155
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37156
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37157
|
+
return {
|
|
37158
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
37159
|
+
options: localVarRequestOptions,
|
|
37160
|
+
};
|
|
37161
|
+
}),
|
|
37120
37162
|
/**
|
|
37121
37163
|
* 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.
|
|
37122
37164
|
* @summary Create an event media item
|
|
@@ -37286,6 +37328,60 @@ const EventsMediaApiAxiosParamCreator = function (configuration) {
|
|
|
37286
37328
|
options: localVarRequestOptions,
|
|
37287
37329
|
};
|
|
37288
37330
|
}),
|
|
37331
|
+
/**
|
|
37332
|
+
* 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.
|
|
37333
|
+
* @summary List tiers linked to a media item
|
|
37334
|
+
* @param {string} eventId The event identifier
|
|
37335
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
37336
|
+
* @param {number} [page] Page number
|
|
37337
|
+
* @param {number} [pageSize] Number of items per page
|
|
37338
|
+
* @param {string} [orderBy] Field to order by
|
|
37339
|
+
* @param {string} [search] Search query
|
|
37340
|
+
* @param {*} [options] Override http request option.
|
|
37341
|
+
* @throws {RequiredError}
|
|
37342
|
+
*/
|
|
37343
|
+
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 = {}) {
|
|
37344
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
37345
|
+
(0, common_1.assertParamExists)('getEventMediaItemTiers', 'eventId', eventId);
|
|
37346
|
+
// verify required parameter 'mediaItemId' is not null or undefined
|
|
37347
|
+
(0, common_1.assertParamExists)('getEventMediaItemTiers', 'mediaItemId', mediaItemId);
|
|
37348
|
+
const localVarPath = `/events/{eventId}/media/{mediaItemId}/tiers`
|
|
37349
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
37350
|
+
.replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)));
|
|
37351
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37352
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37353
|
+
let baseOptions;
|
|
37354
|
+
if (configuration) {
|
|
37355
|
+
baseOptions = configuration.baseOptions;
|
|
37356
|
+
}
|
|
37357
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
37358
|
+
const localVarHeaderParameter = {};
|
|
37359
|
+
const localVarQueryParameter = {};
|
|
37360
|
+
// authentication ApiKeyAuth required
|
|
37361
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
37362
|
+
// authentication OrganizationId required
|
|
37363
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
37364
|
+
if (page !== undefined) {
|
|
37365
|
+
localVarQueryParameter['page'] = page;
|
|
37366
|
+
}
|
|
37367
|
+
if (pageSize !== undefined) {
|
|
37368
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
37369
|
+
}
|
|
37370
|
+
if (orderBy !== undefined) {
|
|
37371
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
37372
|
+
}
|
|
37373
|
+
if (search !== undefined) {
|
|
37374
|
+
localVarQueryParameter['search'] = search;
|
|
37375
|
+
}
|
|
37376
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
37377
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37378
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37379
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37380
|
+
return {
|
|
37381
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
37382
|
+
options: localVarRequestOptions,
|
|
37383
|
+
};
|
|
37384
|
+
}),
|
|
37289
37385
|
/**
|
|
37290
37386
|
* 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.
|
|
37291
37387
|
* @summary List an event\'s media items
|
|
@@ -37382,6 +37478,48 @@ const EventsMediaApiAxiosParamCreator = function (configuration) {
|
|
|
37382
37478
|
options: localVarRequestOptions,
|
|
37383
37479
|
};
|
|
37384
37480
|
}),
|
|
37481
|
+
/**
|
|
37482
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
37483
|
+
* @summary Remove a tier restriction from an event media item
|
|
37484
|
+
* @param {string} eventId The event identifier
|
|
37485
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
37486
|
+
* @param {string} tierId The tier identifier
|
|
37487
|
+
* @param {*} [options] Override http request option.
|
|
37488
|
+
* @throws {RequiredError}
|
|
37489
|
+
*/
|
|
37490
|
+
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 = {}) {
|
|
37491
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
37492
|
+
(0, common_1.assertParamExists)('removeEventMediaItemTier', 'eventId', eventId);
|
|
37493
|
+
// verify required parameter 'mediaItemId' is not null or undefined
|
|
37494
|
+
(0, common_1.assertParamExists)('removeEventMediaItemTier', 'mediaItemId', mediaItemId);
|
|
37495
|
+
// verify required parameter 'tierId' is not null or undefined
|
|
37496
|
+
(0, common_1.assertParamExists)('removeEventMediaItemTier', 'tierId', tierId);
|
|
37497
|
+
const localVarPath = `/events/{eventId}/media/{mediaItemId}/tiers/{tierId}`
|
|
37498
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
|
|
37499
|
+
.replace(`{${"mediaItemId"}}`, encodeURIComponent(String(mediaItemId)))
|
|
37500
|
+
.replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
|
|
37501
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
37502
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
37503
|
+
let baseOptions;
|
|
37504
|
+
if (configuration) {
|
|
37505
|
+
baseOptions = configuration.baseOptions;
|
|
37506
|
+
}
|
|
37507
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
37508
|
+
const localVarHeaderParameter = {};
|
|
37509
|
+
const localVarQueryParameter = {};
|
|
37510
|
+
// authentication ApiKeyAuth required
|
|
37511
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "api-key", configuration);
|
|
37512
|
+
// authentication OrganizationId required
|
|
37513
|
+
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "organization", configuration);
|
|
37514
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
37515
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
37516
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
37517
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
37518
|
+
return {
|
|
37519
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
37520
|
+
options: localVarRequestOptions,
|
|
37521
|
+
};
|
|
37522
|
+
}),
|
|
37385
37523
|
/**
|
|
37386
37524
|
* 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.
|
|
37387
37525
|
* @summary Update an event media item
|
|
@@ -37452,6 +37590,24 @@ const EventsMediaApiFp = function (configuration) {
|
|
|
37452
37590
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37453
37591
|
});
|
|
37454
37592
|
},
|
|
37593
|
+
/**
|
|
37594
|
+
* 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.
|
|
37595
|
+
* @summary Restrict an event media item to a tier
|
|
37596
|
+
* @param {string} eventId The event identifier
|
|
37597
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
37598
|
+
* @param {string} tierId The tier identifier
|
|
37599
|
+
* @param {*} [options] Override http request option.
|
|
37600
|
+
* @throws {RequiredError}
|
|
37601
|
+
*/
|
|
37602
|
+
addEventMediaItemTier(eventId, mediaItemId, tierId, options) {
|
|
37603
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37604
|
+
var _a, _b, _c;
|
|
37605
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.addEventMediaItemTier(eventId, mediaItemId, tierId, options);
|
|
37606
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37607
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsMediaApi.addEventMediaItemTier']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37608
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37609
|
+
});
|
|
37610
|
+
},
|
|
37455
37611
|
/**
|
|
37456
37612
|
* 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.
|
|
37457
37613
|
* @summary Create an event media item
|
|
@@ -37524,6 +37680,27 @@ const EventsMediaApiFp = function (configuration) {
|
|
|
37524
37680
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37525
37681
|
});
|
|
37526
37682
|
},
|
|
37683
|
+
/**
|
|
37684
|
+
* 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.
|
|
37685
|
+
* @summary List tiers linked to a media item
|
|
37686
|
+
* @param {string} eventId The event identifier
|
|
37687
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
37688
|
+
* @param {number} [page] Page number
|
|
37689
|
+
* @param {number} [pageSize] Number of items per page
|
|
37690
|
+
* @param {string} [orderBy] Field to order by
|
|
37691
|
+
* @param {string} [search] Search query
|
|
37692
|
+
* @param {*} [options] Override http request option.
|
|
37693
|
+
* @throws {RequiredError}
|
|
37694
|
+
*/
|
|
37695
|
+
getEventMediaItemTiers(eventId, mediaItemId, page, pageSize, orderBy, search, options) {
|
|
37696
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37697
|
+
var _a, _b, _c;
|
|
37698
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getEventMediaItemTiers(eventId, mediaItemId, page, pageSize, orderBy, search, options);
|
|
37699
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37700
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsMediaApi.getEventMediaItemTiers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37701
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37702
|
+
});
|
|
37703
|
+
},
|
|
37527
37704
|
/**
|
|
37528
37705
|
* 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.
|
|
37529
37706
|
* @summary List an event\'s media items
|
|
@@ -37563,6 +37740,24 @@ const EventsMediaApiFp = function (configuration) {
|
|
|
37563
37740
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37564
37741
|
});
|
|
37565
37742
|
},
|
|
37743
|
+
/**
|
|
37744
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
37745
|
+
* @summary Remove a tier restriction from an event media item
|
|
37746
|
+
* @param {string} eventId The event identifier
|
|
37747
|
+
* @param {string} mediaItemId The mediaItem identifier
|
|
37748
|
+
* @param {string} tierId The tier identifier
|
|
37749
|
+
* @param {*} [options] Override http request option.
|
|
37750
|
+
* @throws {RequiredError}
|
|
37751
|
+
*/
|
|
37752
|
+
removeEventMediaItemTier(eventId, mediaItemId, tierId, options) {
|
|
37753
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
37754
|
+
var _a, _b, _c;
|
|
37755
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.removeEventMediaItemTier(eventId, mediaItemId, tierId, options);
|
|
37756
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
37757
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['EventsMediaApi.removeEventMediaItemTier']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37758
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37759
|
+
});
|
|
37760
|
+
},
|
|
37566
37761
|
/**
|
|
37567
37762
|
* 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.
|
|
37568
37763
|
* @summary Update an event media item
|
|
@@ -37600,6 +37795,16 @@ const EventsMediaApiFactory = function (configuration, basePath, axios) {
|
|
|
37600
37795
|
addEventMediaItemPassType(requestParameters, options) {
|
|
37601
37796
|
return localVarFp.addEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
|
|
37602
37797
|
},
|
|
37798
|
+
/**
|
|
37799
|
+
* 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.
|
|
37800
|
+
* @summary Restrict an event media item to a tier
|
|
37801
|
+
* @param {EventsMediaApiAddEventMediaItemTierRequest} requestParameters Request parameters.
|
|
37802
|
+
* @param {*} [options] Override http request option.
|
|
37803
|
+
* @throws {RequiredError}
|
|
37804
|
+
*/
|
|
37805
|
+
addEventMediaItemTier(requestParameters, options) {
|
|
37806
|
+
return localVarFp.addEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(axios, basePath));
|
|
37807
|
+
},
|
|
37603
37808
|
/**
|
|
37604
37809
|
* 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.
|
|
37605
37810
|
* @summary Create an event media item
|
|
@@ -37640,6 +37845,16 @@ const EventsMediaApiFactory = function (configuration, basePath, axios) {
|
|
|
37640
37845
|
getEventMediaItemPassTypes(requestParameters, options) {
|
|
37641
37846
|
return localVarFp.getEventMediaItemPassTypes(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
37642
37847
|
},
|
|
37848
|
+
/**
|
|
37849
|
+
* 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.
|
|
37850
|
+
* @summary List tiers linked to a media item
|
|
37851
|
+
* @param {EventsMediaApiGetEventMediaItemTiersRequest} requestParameters Request parameters.
|
|
37852
|
+
* @param {*} [options] Override http request option.
|
|
37853
|
+
* @throws {RequiredError}
|
|
37854
|
+
*/
|
|
37855
|
+
getEventMediaItemTiers(requestParameters, options) {
|
|
37856
|
+
return localVarFp.getEventMediaItemTiers(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
37857
|
+
},
|
|
37643
37858
|
/**
|
|
37644
37859
|
* 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.
|
|
37645
37860
|
* @summary List an event\'s media items
|
|
@@ -37660,6 +37875,16 @@ const EventsMediaApiFactory = function (configuration, basePath, axios) {
|
|
|
37660
37875
|
removeEventMediaItemPassType(requestParameters, options) {
|
|
37661
37876
|
return localVarFp.removeEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
|
|
37662
37877
|
},
|
|
37878
|
+
/**
|
|
37879
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
37880
|
+
* @summary Remove a tier restriction from an event media item
|
|
37881
|
+
* @param {EventsMediaApiRemoveEventMediaItemTierRequest} requestParameters Request parameters.
|
|
37882
|
+
* @param {*} [options] Override http request option.
|
|
37883
|
+
* @throws {RequiredError}
|
|
37884
|
+
*/
|
|
37885
|
+
removeEventMediaItemTier(requestParameters, options) {
|
|
37886
|
+
return localVarFp.removeEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(axios, basePath));
|
|
37887
|
+
},
|
|
37663
37888
|
/**
|
|
37664
37889
|
* 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.
|
|
37665
37890
|
* @summary Update an event media item
|
|
@@ -37687,6 +37912,16 @@ class EventsMediaApi extends base_1.BaseAPI {
|
|
|
37687
37912
|
addEventMediaItemPassType(requestParameters, options) {
|
|
37688
37913
|
return (0, exports.EventsMediaApiFp)(this.configuration).addEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
37689
37914
|
}
|
|
37915
|
+
/**
|
|
37916
|
+
* 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.
|
|
37917
|
+
* @summary Restrict an event media item to a tier
|
|
37918
|
+
* @param {EventsMediaApiAddEventMediaItemTierRequest} requestParameters Request parameters.
|
|
37919
|
+
* @param {*} [options] Override http request option.
|
|
37920
|
+
* @throws {RequiredError}
|
|
37921
|
+
*/
|
|
37922
|
+
addEventMediaItemTier(requestParameters, options) {
|
|
37923
|
+
return (0, exports.EventsMediaApiFp)(this.configuration).addEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
|
|
37924
|
+
}
|
|
37690
37925
|
/**
|
|
37691
37926
|
* 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.
|
|
37692
37927
|
* @summary Create an event media item
|
|
@@ -37727,6 +37962,16 @@ class EventsMediaApi extends base_1.BaseAPI {
|
|
|
37727
37962
|
getEventMediaItemPassTypes(requestParameters, options) {
|
|
37728
37963
|
return (0, exports.EventsMediaApiFp)(this.configuration).getEventMediaItemPassTypes(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
37729
37964
|
}
|
|
37965
|
+
/**
|
|
37966
|
+
* 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.
|
|
37967
|
+
* @summary List tiers linked to a media item
|
|
37968
|
+
* @param {EventsMediaApiGetEventMediaItemTiersRequest} requestParameters Request parameters.
|
|
37969
|
+
* @param {*} [options] Override http request option.
|
|
37970
|
+
* @throws {RequiredError}
|
|
37971
|
+
*/
|
|
37972
|
+
getEventMediaItemTiers(requestParameters, options) {
|
|
37973
|
+
return (0, exports.EventsMediaApiFp)(this.configuration).getEventMediaItemTiers(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
37974
|
+
}
|
|
37730
37975
|
/**
|
|
37731
37976
|
* 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.
|
|
37732
37977
|
* @summary List an event\'s media items
|
|
@@ -37747,6 +37992,16 @@ class EventsMediaApi extends base_1.BaseAPI {
|
|
|
37747
37992
|
removeEventMediaItemPassType(requestParameters, options) {
|
|
37748
37993
|
return (0, exports.EventsMediaApiFp)(this.configuration).removeEventMediaItemPassType(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
37749
37994
|
}
|
|
37995
|
+
/**
|
|
37996
|
+
* Revokes an account tier\'s (tier/segment) access to an event media item, and requires read and update permission on both events and storage.
|
|
37997
|
+
* @summary Remove a tier restriction from an event media item
|
|
37998
|
+
* @param {EventsMediaApiRemoveEventMediaItemTierRequest} requestParameters Request parameters.
|
|
37999
|
+
* @param {*} [options] Override http request option.
|
|
38000
|
+
* @throws {RequiredError}
|
|
38001
|
+
*/
|
|
38002
|
+
removeEventMediaItemTier(requestParameters, options) {
|
|
38003
|
+
return (0, exports.EventsMediaApiFp)(this.configuration).removeEventMediaItemTier(requestParameters.eventId, requestParameters.mediaItemId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
|
|
38004
|
+
}
|
|
37750
38005
|
/**
|
|
37751
38006
|
* 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.
|
|
37752
38007
|
* @summary Update an event media item
|