@connectedxm/admin-sdk 16.8.1 → 16.9.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 +2 -2
- package/api.ts +693 -1
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +355 -1
- package/dist/api.js +511 -1
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +355 -1
- package/dist/esm/api.js +511 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/docs/EventsPagesApi.md +366 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Connected Admin API
|
|
5
5
|
* The Admin API allows you to manage your Connected community programmatically.
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 16.
|
|
7
|
+
* The version of the OpenAPI document: 16.9.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -68649,6 +68649,102 @@ export const EventsPagesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
68649
68649
|
options: localVarRequestOptions,
|
|
68650
68650
|
};
|
|
68651
68651
|
},
|
|
68652
|
+
/**
|
|
68653
|
+
* Grants a specific pass type access to an event page, restricting who can view it, and requires read and update permission on events.
|
|
68654
|
+
* @summary Restrict an event page to a pass type
|
|
68655
|
+
* @param {string} eventId The event identifier
|
|
68656
|
+
* @param {string} pageId The page identifier
|
|
68657
|
+
* @param {string} passTypeId The passType identifier
|
|
68658
|
+
* @param {*} [options] Override http request option.
|
|
68659
|
+
* @throws {RequiredError}
|
|
68660
|
+
*/
|
|
68661
|
+
addEventPagePassType: async (eventId: string, pageId: string, passTypeId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68662
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
68663
|
+
assertParamExists('addEventPagePassType', 'eventId', eventId)
|
|
68664
|
+
// verify required parameter 'pageId' is not null or undefined
|
|
68665
|
+
assertParamExists('addEventPagePassType', 'pageId', pageId)
|
|
68666
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
68667
|
+
assertParamExists('addEventPagePassType', 'passTypeId', passTypeId)
|
|
68668
|
+
const localVarPath = `/events/{eventId}/pages/{pageId}/passTypes/{passTypeId}`
|
|
68669
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
68670
|
+
.replace('{pageId}', encodeURIComponent(String(pageId)))
|
|
68671
|
+
.replace('{passTypeId}', encodeURIComponent(String(passTypeId)));
|
|
68672
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68673
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68674
|
+
let baseOptions;
|
|
68675
|
+
if (configuration) {
|
|
68676
|
+
baseOptions = configuration.baseOptions;
|
|
68677
|
+
}
|
|
68678
|
+
|
|
68679
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
68680
|
+
const localVarHeaderParameter = {} as any;
|
|
68681
|
+
const localVarQueryParameter = {} as any;
|
|
68682
|
+
|
|
68683
|
+
// authentication ApiKeyAuth required
|
|
68684
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
68685
|
+
|
|
68686
|
+
// authentication OrganizationId required
|
|
68687
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
68688
|
+
|
|
68689
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
68690
|
+
|
|
68691
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68692
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68693
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68694
|
+
|
|
68695
|
+
return {
|
|
68696
|
+
url: toPathString(localVarUrlObj),
|
|
68697
|
+
options: localVarRequestOptions,
|
|
68698
|
+
};
|
|
68699
|
+
},
|
|
68700
|
+
/**
|
|
68701
|
+
* Grants a specific account tier (tier/segment) access to an event page, restricting who can view it, and requires read and update permission on events.
|
|
68702
|
+
* @summary Restrict an event page to a tier
|
|
68703
|
+
* @param {string} eventId The event identifier
|
|
68704
|
+
* @param {string} pageId The page identifier
|
|
68705
|
+
* @param {string} tierId The tier identifier
|
|
68706
|
+
* @param {*} [options] Override http request option.
|
|
68707
|
+
* @throws {RequiredError}
|
|
68708
|
+
*/
|
|
68709
|
+
addEventPageTier: async (eventId: string, pageId: string, tierId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68710
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
68711
|
+
assertParamExists('addEventPageTier', 'eventId', eventId)
|
|
68712
|
+
// verify required parameter 'pageId' is not null or undefined
|
|
68713
|
+
assertParamExists('addEventPageTier', 'pageId', pageId)
|
|
68714
|
+
// verify required parameter 'tierId' is not null or undefined
|
|
68715
|
+
assertParamExists('addEventPageTier', 'tierId', tierId)
|
|
68716
|
+
const localVarPath = `/events/{eventId}/pages/{pageId}/tiers/{tierId}`
|
|
68717
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
68718
|
+
.replace('{pageId}', encodeURIComponent(String(pageId)))
|
|
68719
|
+
.replace('{tierId}', encodeURIComponent(String(tierId)));
|
|
68720
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68721
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68722
|
+
let baseOptions;
|
|
68723
|
+
if (configuration) {
|
|
68724
|
+
baseOptions = configuration.baseOptions;
|
|
68725
|
+
}
|
|
68726
|
+
|
|
68727
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
68728
|
+
const localVarHeaderParameter = {} as any;
|
|
68729
|
+
const localVarQueryParameter = {} as any;
|
|
68730
|
+
|
|
68731
|
+
// authentication ApiKeyAuth required
|
|
68732
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
68733
|
+
|
|
68734
|
+
// authentication OrganizationId required
|
|
68735
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
68736
|
+
|
|
68737
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
68738
|
+
|
|
68739
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68740
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68741
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68742
|
+
|
|
68743
|
+
return {
|
|
68744
|
+
url: toPathString(localVarUrlObj),
|
|
68745
|
+
options: localVarRequestOptions,
|
|
68746
|
+
};
|
|
68747
|
+
},
|
|
68652
68748
|
/**
|
|
68653
68749
|
* Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
|
|
68654
68750
|
* @summary Create an event page
|
|
@@ -68846,6 +68942,134 @@ export const EventsPagesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
68846
68942
|
options: localVarRequestOptions,
|
|
68847
68943
|
};
|
|
68848
68944
|
},
|
|
68945
|
+
/**
|
|
68946
|
+
* Returns a paginated list of the event\'s pass types (ticket types) that are associated with a given event page, supporting search and ordering; requires read access to events.
|
|
68947
|
+
* @summary List pass types linked to an event page
|
|
68948
|
+
* @param {string} eventId The event identifier
|
|
68949
|
+
* @param {string} pageId The page identifier
|
|
68950
|
+
* @param {number} [page] Page number
|
|
68951
|
+
* @param {number} [pageSize] Number of items per page
|
|
68952
|
+
* @param {string} [orderBy] Field to order by
|
|
68953
|
+
* @param {string} [search] Search query
|
|
68954
|
+
* @param {*} [options] Override http request option.
|
|
68955
|
+
* @throws {RequiredError}
|
|
68956
|
+
*/
|
|
68957
|
+
getEventPagePassTypes: async (eventId: string, pageId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68958
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
68959
|
+
assertParamExists('getEventPagePassTypes', 'eventId', eventId)
|
|
68960
|
+
// verify required parameter 'pageId' is not null or undefined
|
|
68961
|
+
assertParamExists('getEventPagePassTypes', 'pageId', pageId)
|
|
68962
|
+
const localVarPath = `/events/{eventId}/pages/{pageId}/passTypes`
|
|
68963
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
68964
|
+
.replace('{pageId}', encodeURIComponent(String(pageId)));
|
|
68965
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68966
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68967
|
+
let baseOptions;
|
|
68968
|
+
if (configuration) {
|
|
68969
|
+
baseOptions = configuration.baseOptions;
|
|
68970
|
+
}
|
|
68971
|
+
|
|
68972
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
68973
|
+
const localVarHeaderParameter = {} as any;
|
|
68974
|
+
const localVarQueryParameter = {} as any;
|
|
68975
|
+
|
|
68976
|
+
// authentication ApiKeyAuth required
|
|
68977
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
68978
|
+
|
|
68979
|
+
// authentication OrganizationId required
|
|
68980
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
68981
|
+
|
|
68982
|
+
if (page !== undefined) {
|
|
68983
|
+
localVarQueryParameter['page'] = page;
|
|
68984
|
+
}
|
|
68985
|
+
|
|
68986
|
+
if (pageSize !== undefined) {
|
|
68987
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
68988
|
+
}
|
|
68989
|
+
|
|
68990
|
+
if (orderBy !== undefined) {
|
|
68991
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
68992
|
+
}
|
|
68993
|
+
|
|
68994
|
+
if (search !== undefined) {
|
|
68995
|
+
localVarQueryParameter['search'] = search;
|
|
68996
|
+
}
|
|
68997
|
+
|
|
68998
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
68999
|
+
|
|
69000
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
69001
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69002
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
69003
|
+
|
|
69004
|
+
return {
|
|
69005
|
+
url: toPathString(localVarUrlObj),
|
|
69006
|
+
options: localVarRequestOptions,
|
|
69007
|
+
};
|
|
69008
|
+
},
|
|
69009
|
+
/**
|
|
69010
|
+
* Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given event page, supporting search and ordering; requires read access to events.
|
|
69011
|
+
* @summary List tiers linked to an event page
|
|
69012
|
+
* @param {string} eventId The event identifier
|
|
69013
|
+
* @param {string} pageId The page identifier
|
|
69014
|
+
* @param {number} [page] Page number
|
|
69015
|
+
* @param {number} [pageSize] Number of items per page
|
|
69016
|
+
* @param {string} [orderBy] Field to order by
|
|
69017
|
+
* @param {string} [search] Search query
|
|
69018
|
+
* @param {*} [options] Override http request option.
|
|
69019
|
+
* @throws {RequiredError}
|
|
69020
|
+
*/
|
|
69021
|
+
getEventPageTiers: async (eventId: string, pageId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
69022
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
69023
|
+
assertParamExists('getEventPageTiers', 'eventId', eventId)
|
|
69024
|
+
// verify required parameter 'pageId' is not null or undefined
|
|
69025
|
+
assertParamExists('getEventPageTiers', 'pageId', pageId)
|
|
69026
|
+
const localVarPath = `/events/{eventId}/pages/{pageId}/tiers`
|
|
69027
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
69028
|
+
.replace('{pageId}', encodeURIComponent(String(pageId)));
|
|
69029
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
69030
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
69031
|
+
let baseOptions;
|
|
69032
|
+
if (configuration) {
|
|
69033
|
+
baseOptions = configuration.baseOptions;
|
|
69034
|
+
}
|
|
69035
|
+
|
|
69036
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
69037
|
+
const localVarHeaderParameter = {} as any;
|
|
69038
|
+
const localVarQueryParameter = {} as any;
|
|
69039
|
+
|
|
69040
|
+
// authentication ApiKeyAuth required
|
|
69041
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
69042
|
+
|
|
69043
|
+
// authentication OrganizationId required
|
|
69044
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
69045
|
+
|
|
69046
|
+
if (page !== undefined) {
|
|
69047
|
+
localVarQueryParameter['page'] = page;
|
|
69048
|
+
}
|
|
69049
|
+
|
|
69050
|
+
if (pageSize !== undefined) {
|
|
69051
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
69052
|
+
}
|
|
69053
|
+
|
|
69054
|
+
if (orderBy !== undefined) {
|
|
69055
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
69056
|
+
}
|
|
69057
|
+
|
|
69058
|
+
if (search !== undefined) {
|
|
69059
|
+
localVarQueryParameter['search'] = search;
|
|
69060
|
+
}
|
|
69061
|
+
|
|
69062
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
69063
|
+
|
|
69064
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
69065
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69066
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
69067
|
+
|
|
69068
|
+
return {
|
|
69069
|
+
url: toPathString(localVarUrlObj),
|
|
69070
|
+
options: localVarRequestOptions,
|
|
69071
|
+
};
|
|
69072
|
+
},
|
|
68849
69073
|
/**
|
|
68850
69074
|
* Returns a paginated list of custom pages belonging to the specified event, supporting search and sorting; requires the \"read\" permission on the \"events\" module.
|
|
68851
69075
|
* @summary List an event\'s pages
|
|
@@ -68954,6 +69178,102 @@ export const EventsPagesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
68954
69178
|
options: localVarRequestOptions,
|
|
68955
69179
|
};
|
|
68956
69180
|
},
|
|
69181
|
+
/**
|
|
69182
|
+
* Revokes a pass type\'s access to an event page, and requires read and update permission on events.
|
|
69183
|
+
* @summary Remove a pass type restriction from an event page
|
|
69184
|
+
* @param {string} eventId The event identifier
|
|
69185
|
+
* @param {string} pageId The page identifier
|
|
69186
|
+
* @param {string} passTypeId The passType identifier
|
|
69187
|
+
* @param {*} [options] Override http request option.
|
|
69188
|
+
* @throws {RequiredError}
|
|
69189
|
+
*/
|
|
69190
|
+
removeEventPagePassType: async (eventId: string, pageId: string, passTypeId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
69191
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
69192
|
+
assertParamExists('removeEventPagePassType', 'eventId', eventId)
|
|
69193
|
+
// verify required parameter 'pageId' is not null or undefined
|
|
69194
|
+
assertParamExists('removeEventPagePassType', 'pageId', pageId)
|
|
69195
|
+
// verify required parameter 'passTypeId' is not null or undefined
|
|
69196
|
+
assertParamExists('removeEventPagePassType', 'passTypeId', passTypeId)
|
|
69197
|
+
const localVarPath = `/events/{eventId}/pages/{pageId}/passTypes/{passTypeId}`
|
|
69198
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
69199
|
+
.replace('{pageId}', encodeURIComponent(String(pageId)))
|
|
69200
|
+
.replace('{passTypeId}', encodeURIComponent(String(passTypeId)));
|
|
69201
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
69202
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
69203
|
+
let baseOptions;
|
|
69204
|
+
if (configuration) {
|
|
69205
|
+
baseOptions = configuration.baseOptions;
|
|
69206
|
+
}
|
|
69207
|
+
|
|
69208
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
69209
|
+
const localVarHeaderParameter = {} as any;
|
|
69210
|
+
const localVarQueryParameter = {} as any;
|
|
69211
|
+
|
|
69212
|
+
// authentication ApiKeyAuth required
|
|
69213
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
69214
|
+
|
|
69215
|
+
// authentication OrganizationId required
|
|
69216
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
69217
|
+
|
|
69218
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
69219
|
+
|
|
69220
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
69221
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69222
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
69223
|
+
|
|
69224
|
+
return {
|
|
69225
|
+
url: toPathString(localVarUrlObj),
|
|
69226
|
+
options: localVarRequestOptions,
|
|
69227
|
+
};
|
|
69228
|
+
},
|
|
69229
|
+
/**
|
|
69230
|
+
* Revokes an account tier\'s (tier/segment) access to an event page, and requires read and update permission on events.
|
|
69231
|
+
* @summary Remove a tier restriction from an event page
|
|
69232
|
+
* @param {string} eventId The event identifier
|
|
69233
|
+
* @param {string} pageId The page identifier
|
|
69234
|
+
* @param {string} tierId The tier identifier
|
|
69235
|
+
* @param {*} [options] Override http request option.
|
|
69236
|
+
* @throws {RequiredError}
|
|
69237
|
+
*/
|
|
69238
|
+
removeEventPageTier: async (eventId: string, pageId: string, tierId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
69239
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
69240
|
+
assertParamExists('removeEventPageTier', 'eventId', eventId)
|
|
69241
|
+
// verify required parameter 'pageId' is not null or undefined
|
|
69242
|
+
assertParamExists('removeEventPageTier', 'pageId', pageId)
|
|
69243
|
+
// verify required parameter 'tierId' is not null or undefined
|
|
69244
|
+
assertParamExists('removeEventPageTier', 'tierId', tierId)
|
|
69245
|
+
const localVarPath = `/events/{eventId}/pages/{pageId}/tiers/{tierId}`
|
|
69246
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
69247
|
+
.replace('{pageId}', encodeURIComponent(String(pageId)))
|
|
69248
|
+
.replace('{tierId}', encodeURIComponent(String(tierId)));
|
|
69249
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
69250
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
69251
|
+
let baseOptions;
|
|
69252
|
+
if (configuration) {
|
|
69253
|
+
baseOptions = configuration.baseOptions;
|
|
69254
|
+
}
|
|
69255
|
+
|
|
69256
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
69257
|
+
const localVarHeaderParameter = {} as any;
|
|
69258
|
+
const localVarQueryParameter = {} as any;
|
|
69259
|
+
|
|
69260
|
+
// authentication ApiKeyAuth required
|
|
69261
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
69262
|
+
|
|
69263
|
+
// authentication OrganizationId required
|
|
69264
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
69265
|
+
|
|
69266
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
69267
|
+
|
|
69268
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
69269
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69270
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
69271
|
+
|
|
69272
|
+
return {
|
|
69273
|
+
url: toPathString(localVarUrlObj),
|
|
69274
|
+
options: localVarRequestOptions,
|
|
69275
|
+
};
|
|
69276
|
+
},
|
|
68957
69277
|
/**
|
|
68958
69278
|
* Updates the content, title, or sort order of an existing custom event page, re-sequencing other pages when the sort order changes, and requires update permission on events.
|
|
68959
69279
|
* @summary Update an event page
|
|
@@ -69027,6 +69347,36 @@ export const EventsPagesApiFp = function(configuration?: Configuration) {
|
|
|
69027
69347
|
const localVarOperationServerBasePath = operationServerMap['EventsPagesApi.addEventPageImage']?.[localVarOperationServerIndex]?.url;
|
|
69028
69348
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69029
69349
|
},
|
|
69350
|
+
/**
|
|
69351
|
+
* Grants a specific pass type access to an event page, restricting who can view it, and requires read and update permission on events.
|
|
69352
|
+
* @summary Restrict an event page to a pass type
|
|
69353
|
+
* @param {string} eventId The event identifier
|
|
69354
|
+
* @param {string} pageId The page identifier
|
|
69355
|
+
* @param {string} passTypeId The passType identifier
|
|
69356
|
+
* @param {*} [options] Override http request option.
|
|
69357
|
+
* @throws {RequiredError}
|
|
69358
|
+
*/
|
|
69359
|
+
async addEventPagePassType(eventId: string, pageId: string, passTypeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventPage200Response>> {
|
|
69360
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addEventPagePassType(eventId, pageId, passTypeId, options);
|
|
69361
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
69362
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPagesApi.addEventPagePassType']?.[localVarOperationServerIndex]?.url;
|
|
69363
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69364
|
+
},
|
|
69365
|
+
/**
|
|
69366
|
+
* Grants a specific account tier (tier/segment) access to an event page, restricting who can view it, and requires read and update permission on events.
|
|
69367
|
+
* @summary Restrict an event page to a tier
|
|
69368
|
+
* @param {string} eventId The event identifier
|
|
69369
|
+
* @param {string} pageId The page identifier
|
|
69370
|
+
* @param {string} tierId The tier identifier
|
|
69371
|
+
* @param {*} [options] Override http request option.
|
|
69372
|
+
* @throws {RequiredError}
|
|
69373
|
+
*/
|
|
69374
|
+
async addEventPageTier(eventId: string, pageId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventPage200Response>> {
|
|
69375
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addEventPageTier(eventId, pageId, tierId, options);
|
|
69376
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
69377
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPagesApi.addEventPageTier']?.[localVarOperationServerIndex]?.url;
|
|
69378
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69379
|
+
},
|
|
69030
69380
|
/**
|
|
69031
69381
|
* Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
|
|
69032
69382
|
* @summary Create an event page
|
|
@@ -69087,6 +69437,42 @@ export const EventsPagesApiFp = function(configuration?: Configuration) {
|
|
|
69087
69437
|
const localVarOperationServerBasePath = operationServerMap['EventsPagesApi.getEventPageImages']?.[localVarOperationServerIndex]?.url;
|
|
69088
69438
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69089
69439
|
},
|
|
69440
|
+
/**
|
|
69441
|
+
* Returns a paginated list of the event\'s pass types (ticket types) that are associated with a given event page, supporting search and ordering; requires read access to events.
|
|
69442
|
+
* @summary List pass types linked to an event page
|
|
69443
|
+
* @param {string} eventId The event identifier
|
|
69444
|
+
* @param {string} pageId The page identifier
|
|
69445
|
+
* @param {number} [page] Page number
|
|
69446
|
+
* @param {number} [pageSize] Number of items per page
|
|
69447
|
+
* @param {string} [orderBy] Field to order by
|
|
69448
|
+
* @param {string} [search] Search query
|
|
69449
|
+
* @param {*} [options] Override http request option.
|
|
69450
|
+
* @throws {RequiredError}
|
|
69451
|
+
*/
|
|
69452
|
+
async getEventPagePassTypes(eventId: string, pageId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventAddOnPassTypes200Response>> {
|
|
69453
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPagePassTypes(eventId, pageId, page, pageSize, orderBy, search, options);
|
|
69454
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
69455
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPagesApi.getEventPagePassTypes']?.[localVarOperationServerIndex]?.url;
|
|
69456
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69457
|
+
},
|
|
69458
|
+
/**
|
|
69459
|
+
* Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given event page, supporting search and ordering; requires read access to events.
|
|
69460
|
+
* @summary List tiers linked to an event page
|
|
69461
|
+
* @param {string} eventId The event identifier
|
|
69462
|
+
* @param {string} pageId The page identifier
|
|
69463
|
+
* @param {number} [page] Page number
|
|
69464
|
+
* @param {number} [pageSize] Number of items per page
|
|
69465
|
+
* @param {string} [orderBy] Field to order by
|
|
69466
|
+
* @param {string} [search] Search query
|
|
69467
|
+
* @param {*} [options] Override http request option.
|
|
69468
|
+
* @throws {RequiredError}
|
|
69469
|
+
*/
|
|
69470
|
+
async getEventPageTiers(eventId: string, pageId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountTiers200Response>> {
|
|
69471
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getEventPageTiers(eventId, pageId, page, pageSize, orderBy, search, options);
|
|
69472
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
69473
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPagesApi.getEventPageTiers']?.[localVarOperationServerIndex]?.url;
|
|
69474
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69475
|
+
},
|
|
69090
69476
|
/**
|
|
69091
69477
|
* Returns a paginated list of custom pages belonging to the specified event, supporting search and sorting; requires the \"read\" permission on the \"events\" module.
|
|
69092
69478
|
* @summary List an event\'s pages
|
|
@@ -69119,6 +69505,36 @@ export const EventsPagesApiFp = function(configuration?: Configuration) {
|
|
|
69119
69505
|
const localVarOperationServerBasePath = operationServerMap['EventsPagesApi.removeEventPageImage']?.[localVarOperationServerIndex]?.url;
|
|
69120
69506
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69121
69507
|
},
|
|
69508
|
+
/**
|
|
69509
|
+
* Revokes a pass type\'s access to an event page, and requires read and update permission on events.
|
|
69510
|
+
* @summary Remove a pass type restriction from an event page
|
|
69511
|
+
* @param {string} eventId The event identifier
|
|
69512
|
+
* @param {string} pageId The page identifier
|
|
69513
|
+
* @param {string} passTypeId The passType identifier
|
|
69514
|
+
* @param {*} [options] Override http request option.
|
|
69515
|
+
* @throws {RequiredError}
|
|
69516
|
+
*/
|
|
69517
|
+
async removeEventPagePassType(eventId: string, pageId: string, passTypeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventPage200Response>> {
|
|
69518
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventPagePassType(eventId, pageId, passTypeId, options);
|
|
69519
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
69520
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPagesApi.removeEventPagePassType']?.[localVarOperationServerIndex]?.url;
|
|
69521
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69522
|
+
},
|
|
69523
|
+
/**
|
|
69524
|
+
* Revokes an account tier\'s (tier/segment) access to an event page, and requires read and update permission on events.
|
|
69525
|
+
* @summary Remove a tier restriction from an event page
|
|
69526
|
+
* @param {string} eventId The event identifier
|
|
69527
|
+
* @param {string} pageId The page identifier
|
|
69528
|
+
* @param {string} tierId The tier identifier
|
|
69529
|
+
* @param {*} [options] Override http request option.
|
|
69530
|
+
* @throws {RequiredError}
|
|
69531
|
+
*/
|
|
69532
|
+
async removeEventPageTier(eventId: string, pageId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventPage200Response>> {
|
|
69533
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventPageTier(eventId, pageId, tierId, options);
|
|
69534
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
69535
|
+
const localVarOperationServerBasePath = operationServerMap['EventsPagesApi.removeEventPageTier']?.[localVarOperationServerIndex]?.url;
|
|
69536
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69537
|
+
},
|
|
69122
69538
|
/**
|
|
69123
69539
|
* Updates the content, title, or sort order of an existing custom event page, re-sequencing other pages when the sort order changes, and requires update permission on events.
|
|
69124
69540
|
* @summary Update an event page
|
|
@@ -69153,6 +69569,26 @@ export const EventsPagesApiFactory = function (configuration?: Configuration, ba
|
|
|
69153
69569
|
addEventPageImage(requestParameters: EventsPagesApiAddEventPageImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPage200Response> {
|
|
69154
69570
|
return localVarFp.addEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
69155
69571
|
},
|
|
69572
|
+
/**
|
|
69573
|
+
* Grants a specific pass type access to an event page, restricting who can view it, and requires read and update permission on events.
|
|
69574
|
+
* @summary Restrict an event page to a pass type
|
|
69575
|
+
* @param {EventsPagesApiAddEventPagePassTypeRequest} requestParameters Request parameters.
|
|
69576
|
+
* @param {*} [options] Override http request option.
|
|
69577
|
+
* @throws {RequiredError}
|
|
69578
|
+
*/
|
|
69579
|
+
addEventPagePassType(requestParameters: EventsPagesApiAddEventPagePassTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPage200Response> {
|
|
69580
|
+
return localVarFp.addEventPagePassType(requestParameters.eventId, requestParameters.pageId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
|
|
69581
|
+
},
|
|
69582
|
+
/**
|
|
69583
|
+
* Grants a specific account tier (tier/segment) access to an event page, restricting who can view it, and requires read and update permission on events.
|
|
69584
|
+
* @summary Restrict an event page to a tier
|
|
69585
|
+
* @param {EventsPagesApiAddEventPageTierRequest} requestParameters Request parameters.
|
|
69586
|
+
* @param {*} [options] Override http request option.
|
|
69587
|
+
* @throws {RequiredError}
|
|
69588
|
+
*/
|
|
69589
|
+
addEventPageTier(requestParameters: EventsPagesApiAddEventPageTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPage200Response> {
|
|
69590
|
+
return localVarFp.addEventPageTier(requestParameters.eventId, requestParameters.pageId, requestParameters.tierId, options).then((request) => request(axios, basePath));
|
|
69591
|
+
},
|
|
69156
69592
|
/**
|
|
69157
69593
|
* Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
|
|
69158
69594
|
* @summary Create an event page
|
|
@@ -69193,6 +69629,26 @@ export const EventsPagesApiFactory = function (configuration?: Configuration, ba
|
|
|
69193
69629
|
getEventPageImages(requestParameters: EventsPagesApiGetEventPageImagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPageImages200Response> {
|
|
69194
69630
|
return localVarFp.getEventPageImages(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
69195
69631
|
},
|
|
69632
|
+
/**
|
|
69633
|
+
* Returns a paginated list of the event\'s pass types (ticket types) that are associated with a given event page, supporting search and ordering; requires read access to events.
|
|
69634
|
+
* @summary List pass types linked to an event page
|
|
69635
|
+
* @param {EventsPagesApiGetEventPagePassTypesRequest} requestParameters Request parameters.
|
|
69636
|
+
* @param {*} [options] Override http request option.
|
|
69637
|
+
* @throws {RequiredError}
|
|
69638
|
+
*/
|
|
69639
|
+
getEventPagePassTypes(requestParameters: EventsPagesApiGetEventPagePassTypesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventAddOnPassTypes200Response> {
|
|
69640
|
+
return localVarFp.getEventPagePassTypes(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
69641
|
+
},
|
|
69642
|
+
/**
|
|
69643
|
+
* Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given event page, supporting search and ordering; requires read access to events.
|
|
69644
|
+
* @summary List tiers linked to an event page
|
|
69645
|
+
* @param {EventsPagesApiGetEventPageTiersRequest} requestParameters Request parameters.
|
|
69646
|
+
* @param {*} [options] Override http request option.
|
|
69647
|
+
* @throws {RequiredError}
|
|
69648
|
+
*/
|
|
69649
|
+
getEventPageTiers(requestParameters: EventsPagesApiGetEventPageTiersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountTiers200Response> {
|
|
69650
|
+
return localVarFp.getEventPageTiers(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
69651
|
+
},
|
|
69196
69652
|
/**
|
|
69197
69653
|
* Returns a paginated list of custom pages belonging to the specified event, supporting search and sorting; requires the \"read\" permission on the \"events\" module.
|
|
69198
69654
|
* @summary List an event\'s pages
|
|
@@ -69213,6 +69669,26 @@ export const EventsPagesApiFactory = function (configuration?: Configuration, ba
|
|
|
69213
69669
|
removeEventPageImage(requestParameters: EventsPagesApiRemoveEventPageImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPage200Response> {
|
|
69214
69670
|
return localVarFp.removeEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
69215
69671
|
},
|
|
69672
|
+
/**
|
|
69673
|
+
* Revokes a pass type\'s access to an event page, and requires read and update permission on events.
|
|
69674
|
+
* @summary Remove a pass type restriction from an event page
|
|
69675
|
+
* @param {EventsPagesApiRemoveEventPagePassTypeRequest} requestParameters Request parameters.
|
|
69676
|
+
* @param {*} [options] Override http request option.
|
|
69677
|
+
* @throws {RequiredError}
|
|
69678
|
+
*/
|
|
69679
|
+
removeEventPagePassType(requestParameters: EventsPagesApiRemoveEventPagePassTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPage200Response> {
|
|
69680
|
+
return localVarFp.removeEventPagePassType(requestParameters.eventId, requestParameters.pageId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
|
|
69681
|
+
},
|
|
69682
|
+
/**
|
|
69683
|
+
* Revokes an account tier\'s (tier/segment) access to an event page, and requires read and update permission on events.
|
|
69684
|
+
* @summary Remove a tier restriction from an event page
|
|
69685
|
+
* @param {EventsPagesApiRemoveEventPageTierRequest} requestParameters Request parameters.
|
|
69686
|
+
* @param {*} [options] Override http request option.
|
|
69687
|
+
* @throws {RequiredError}
|
|
69688
|
+
*/
|
|
69689
|
+
removeEventPageTier(requestParameters: EventsPagesApiRemoveEventPageTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPage200Response> {
|
|
69690
|
+
return localVarFp.removeEventPageTier(requestParameters.eventId, requestParameters.pageId, requestParameters.tierId, options).then((request) => request(axios, basePath));
|
|
69691
|
+
},
|
|
69216
69692
|
/**
|
|
69217
69693
|
* Updates the content, title, or sort order of an existing custom event page, re-sequencing other pages when the sort order changes, and requires update permission on events.
|
|
69218
69694
|
* @summary Update an event page
|
|
@@ -69246,6 +69722,46 @@ export interface EventsPagesApiAddEventPageImageRequest {
|
|
|
69246
69722
|
readonly imageId: string
|
|
69247
69723
|
}
|
|
69248
69724
|
|
|
69725
|
+
/**
|
|
69726
|
+
* Request parameters for addEventPagePassType operation in EventsPagesApi.
|
|
69727
|
+
*/
|
|
69728
|
+
export interface EventsPagesApiAddEventPagePassTypeRequest {
|
|
69729
|
+
/**
|
|
69730
|
+
* The event identifier
|
|
69731
|
+
*/
|
|
69732
|
+
readonly eventId: string
|
|
69733
|
+
|
|
69734
|
+
/**
|
|
69735
|
+
* The page identifier
|
|
69736
|
+
*/
|
|
69737
|
+
readonly pageId: string
|
|
69738
|
+
|
|
69739
|
+
/**
|
|
69740
|
+
* The passType identifier
|
|
69741
|
+
*/
|
|
69742
|
+
readonly passTypeId: string
|
|
69743
|
+
}
|
|
69744
|
+
|
|
69745
|
+
/**
|
|
69746
|
+
* Request parameters for addEventPageTier operation in EventsPagesApi.
|
|
69747
|
+
*/
|
|
69748
|
+
export interface EventsPagesApiAddEventPageTierRequest {
|
|
69749
|
+
/**
|
|
69750
|
+
* The event identifier
|
|
69751
|
+
*/
|
|
69752
|
+
readonly eventId: string
|
|
69753
|
+
|
|
69754
|
+
/**
|
|
69755
|
+
* The page identifier
|
|
69756
|
+
*/
|
|
69757
|
+
readonly pageId: string
|
|
69758
|
+
|
|
69759
|
+
/**
|
|
69760
|
+
* The tier identifier
|
|
69761
|
+
*/
|
|
69762
|
+
readonly tierId: string
|
|
69763
|
+
}
|
|
69764
|
+
|
|
69249
69765
|
/**
|
|
69250
69766
|
* Request parameters for createEventPage operation in EventsPagesApi.
|
|
69251
69767
|
*/
|
|
@@ -69323,6 +69839,76 @@ export interface EventsPagesApiGetEventPageImagesRequest {
|
|
|
69323
69839
|
readonly search?: string
|
|
69324
69840
|
}
|
|
69325
69841
|
|
|
69842
|
+
/**
|
|
69843
|
+
* Request parameters for getEventPagePassTypes operation in EventsPagesApi.
|
|
69844
|
+
*/
|
|
69845
|
+
export interface EventsPagesApiGetEventPagePassTypesRequest {
|
|
69846
|
+
/**
|
|
69847
|
+
* The event identifier
|
|
69848
|
+
*/
|
|
69849
|
+
readonly eventId: string
|
|
69850
|
+
|
|
69851
|
+
/**
|
|
69852
|
+
* The page identifier
|
|
69853
|
+
*/
|
|
69854
|
+
readonly pageId: string
|
|
69855
|
+
|
|
69856
|
+
/**
|
|
69857
|
+
* Page number
|
|
69858
|
+
*/
|
|
69859
|
+
readonly page?: number
|
|
69860
|
+
|
|
69861
|
+
/**
|
|
69862
|
+
* Number of items per page
|
|
69863
|
+
*/
|
|
69864
|
+
readonly pageSize?: number
|
|
69865
|
+
|
|
69866
|
+
/**
|
|
69867
|
+
* Field to order by
|
|
69868
|
+
*/
|
|
69869
|
+
readonly orderBy?: string
|
|
69870
|
+
|
|
69871
|
+
/**
|
|
69872
|
+
* Search query
|
|
69873
|
+
*/
|
|
69874
|
+
readonly search?: string
|
|
69875
|
+
}
|
|
69876
|
+
|
|
69877
|
+
/**
|
|
69878
|
+
* Request parameters for getEventPageTiers operation in EventsPagesApi.
|
|
69879
|
+
*/
|
|
69880
|
+
export interface EventsPagesApiGetEventPageTiersRequest {
|
|
69881
|
+
/**
|
|
69882
|
+
* The event identifier
|
|
69883
|
+
*/
|
|
69884
|
+
readonly eventId: string
|
|
69885
|
+
|
|
69886
|
+
/**
|
|
69887
|
+
* The page identifier
|
|
69888
|
+
*/
|
|
69889
|
+
readonly pageId: string
|
|
69890
|
+
|
|
69891
|
+
/**
|
|
69892
|
+
* Page number
|
|
69893
|
+
*/
|
|
69894
|
+
readonly page?: number
|
|
69895
|
+
|
|
69896
|
+
/**
|
|
69897
|
+
* Number of items per page
|
|
69898
|
+
*/
|
|
69899
|
+
readonly pageSize?: number
|
|
69900
|
+
|
|
69901
|
+
/**
|
|
69902
|
+
* Field to order by
|
|
69903
|
+
*/
|
|
69904
|
+
readonly orderBy?: string
|
|
69905
|
+
|
|
69906
|
+
/**
|
|
69907
|
+
* Search query
|
|
69908
|
+
*/
|
|
69909
|
+
readonly search?: string
|
|
69910
|
+
}
|
|
69911
|
+
|
|
69326
69912
|
/**
|
|
69327
69913
|
* Request parameters for getEventPages operation in EventsPagesApi.
|
|
69328
69914
|
*/
|
|
@@ -69373,6 +69959,46 @@ export interface EventsPagesApiRemoveEventPageImageRequest {
|
|
|
69373
69959
|
readonly imageId: string
|
|
69374
69960
|
}
|
|
69375
69961
|
|
|
69962
|
+
/**
|
|
69963
|
+
* Request parameters for removeEventPagePassType operation in EventsPagesApi.
|
|
69964
|
+
*/
|
|
69965
|
+
export interface EventsPagesApiRemoveEventPagePassTypeRequest {
|
|
69966
|
+
/**
|
|
69967
|
+
* The event identifier
|
|
69968
|
+
*/
|
|
69969
|
+
readonly eventId: string
|
|
69970
|
+
|
|
69971
|
+
/**
|
|
69972
|
+
* The page identifier
|
|
69973
|
+
*/
|
|
69974
|
+
readonly pageId: string
|
|
69975
|
+
|
|
69976
|
+
/**
|
|
69977
|
+
* The passType identifier
|
|
69978
|
+
*/
|
|
69979
|
+
readonly passTypeId: string
|
|
69980
|
+
}
|
|
69981
|
+
|
|
69982
|
+
/**
|
|
69983
|
+
* Request parameters for removeEventPageTier operation in EventsPagesApi.
|
|
69984
|
+
*/
|
|
69985
|
+
export interface EventsPagesApiRemoveEventPageTierRequest {
|
|
69986
|
+
/**
|
|
69987
|
+
* The event identifier
|
|
69988
|
+
*/
|
|
69989
|
+
readonly eventId: string
|
|
69990
|
+
|
|
69991
|
+
/**
|
|
69992
|
+
* The page identifier
|
|
69993
|
+
*/
|
|
69994
|
+
readonly pageId: string
|
|
69995
|
+
|
|
69996
|
+
/**
|
|
69997
|
+
* The tier identifier
|
|
69998
|
+
*/
|
|
69999
|
+
readonly tierId: string
|
|
70000
|
+
}
|
|
70001
|
+
|
|
69376
70002
|
/**
|
|
69377
70003
|
* Request parameters for updateEventPage operation in EventsPagesApi.
|
|
69378
70004
|
*/
|
|
@@ -69405,6 +70031,28 @@ export class EventsPagesApi extends BaseAPI {
|
|
|
69405
70031
|
return EventsPagesApiFp(this.configuration).addEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
69406
70032
|
}
|
|
69407
70033
|
|
|
70034
|
+
/**
|
|
70035
|
+
* Grants a specific pass type access to an event page, restricting who can view it, and requires read and update permission on events.
|
|
70036
|
+
* @summary Restrict an event page to a pass type
|
|
70037
|
+
* @param {EventsPagesApiAddEventPagePassTypeRequest} requestParameters Request parameters.
|
|
70038
|
+
* @param {*} [options] Override http request option.
|
|
70039
|
+
* @throws {RequiredError}
|
|
70040
|
+
*/
|
|
70041
|
+
public addEventPagePassType(requestParameters: EventsPagesApiAddEventPagePassTypeRequest, options?: RawAxiosRequestConfig) {
|
|
70042
|
+
return EventsPagesApiFp(this.configuration).addEventPagePassType(requestParameters.eventId, requestParameters.pageId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
70043
|
+
}
|
|
70044
|
+
|
|
70045
|
+
/**
|
|
70046
|
+
* Grants a specific account tier (tier/segment) access to an event page, restricting who can view it, and requires read and update permission on events.
|
|
70047
|
+
* @summary Restrict an event page to a tier
|
|
70048
|
+
* @param {EventsPagesApiAddEventPageTierRequest} requestParameters Request parameters.
|
|
70049
|
+
* @param {*} [options] Override http request option.
|
|
70050
|
+
* @throws {RequiredError}
|
|
70051
|
+
*/
|
|
70052
|
+
public addEventPageTier(requestParameters: EventsPagesApiAddEventPageTierRequest, options?: RawAxiosRequestConfig) {
|
|
70053
|
+
return EventsPagesApiFp(this.configuration).addEventPageTier(requestParameters.eventId, requestParameters.pageId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
|
|
70054
|
+
}
|
|
70055
|
+
|
|
69408
70056
|
/**
|
|
69409
70057
|
* Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
|
|
69410
70058
|
* @summary Create an event page
|
|
@@ -69449,6 +70097,28 @@ export class EventsPagesApi extends BaseAPI {
|
|
|
69449
70097
|
return EventsPagesApiFp(this.configuration).getEventPageImages(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
69450
70098
|
}
|
|
69451
70099
|
|
|
70100
|
+
/**
|
|
70101
|
+
* Returns a paginated list of the event\'s pass types (ticket types) that are associated with a given event page, supporting search and ordering; requires read access to events.
|
|
70102
|
+
* @summary List pass types linked to an event page
|
|
70103
|
+
* @param {EventsPagesApiGetEventPagePassTypesRequest} requestParameters Request parameters.
|
|
70104
|
+
* @param {*} [options] Override http request option.
|
|
70105
|
+
* @throws {RequiredError}
|
|
70106
|
+
*/
|
|
70107
|
+
public getEventPagePassTypes(requestParameters: EventsPagesApiGetEventPagePassTypesRequest, options?: RawAxiosRequestConfig) {
|
|
70108
|
+
return EventsPagesApiFp(this.configuration).getEventPagePassTypes(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
70109
|
+
}
|
|
70110
|
+
|
|
70111
|
+
/**
|
|
70112
|
+
* Returns a paginated list of the event\'s account tiers (tiers/segments) that are associated with a given event page, supporting search and ordering; requires read access to events.
|
|
70113
|
+
* @summary List tiers linked to an event page
|
|
70114
|
+
* @param {EventsPagesApiGetEventPageTiersRequest} requestParameters Request parameters.
|
|
70115
|
+
* @param {*} [options] Override http request option.
|
|
70116
|
+
* @throws {RequiredError}
|
|
70117
|
+
*/
|
|
70118
|
+
public getEventPageTiers(requestParameters: EventsPagesApiGetEventPageTiersRequest, options?: RawAxiosRequestConfig) {
|
|
70119
|
+
return EventsPagesApiFp(this.configuration).getEventPageTiers(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
70120
|
+
}
|
|
70121
|
+
|
|
69452
70122
|
/**
|
|
69453
70123
|
* Returns a paginated list of custom pages belonging to the specified event, supporting search and sorting; requires the \"read\" permission on the \"events\" module.
|
|
69454
70124
|
* @summary List an event\'s pages
|
|
@@ -69471,6 +70141,28 @@ export class EventsPagesApi extends BaseAPI {
|
|
|
69471
70141
|
return EventsPagesApiFp(this.configuration).removeEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
69472
70142
|
}
|
|
69473
70143
|
|
|
70144
|
+
/**
|
|
70145
|
+
* Revokes a pass type\'s access to an event page, and requires read and update permission on events.
|
|
70146
|
+
* @summary Remove a pass type restriction from an event page
|
|
70147
|
+
* @param {EventsPagesApiRemoveEventPagePassTypeRequest} requestParameters Request parameters.
|
|
70148
|
+
* @param {*} [options] Override http request option.
|
|
70149
|
+
* @throws {RequiredError}
|
|
70150
|
+
*/
|
|
70151
|
+
public removeEventPagePassType(requestParameters: EventsPagesApiRemoveEventPagePassTypeRequest, options?: RawAxiosRequestConfig) {
|
|
70152
|
+
return EventsPagesApiFp(this.configuration).removeEventPagePassType(requestParameters.eventId, requestParameters.pageId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
|
|
70153
|
+
}
|
|
70154
|
+
|
|
70155
|
+
/**
|
|
70156
|
+
* Revokes an account tier\'s (tier/segment) access to an event page, and requires read and update permission on events.
|
|
70157
|
+
* @summary Remove a tier restriction from an event page
|
|
70158
|
+
* @param {EventsPagesApiRemoveEventPageTierRequest} requestParameters Request parameters.
|
|
70159
|
+
* @param {*} [options] Override http request option.
|
|
70160
|
+
* @throws {RequiredError}
|
|
70161
|
+
*/
|
|
70162
|
+
public removeEventPageTier(requestParameters: EventsPagesApiRemoveEventPageTierRequest, options?: RawAxiosRequestConfig) {
|
|
70163
|
+
return EventsPagesApiFp(this.configuration).removeEventPageTier(requestParameters.eventId, requestParameters.pageId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
|
|
70164
|
+
}
|
|
70165
|
+
|
|
69474
70166
|
/**
|
|
69475
70167
|
* Updates the content, title, or sort order of an existing custom event page, re-sequencing other pages when the sort order changes, and requires update permission on events.
|
|
69476
70168
|
* @summary Update an event page
|