@connectedxm/admin-sdk 16.8.0 → 16.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api.ts +957 -233
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +379 -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 +379 -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/BaseEventSponsorshipLevel.md +12 -0
- package/docs/EventSponsorshipLevel.md +12 -0
- package/docs/EventSponsorshipLevelCreateInputs.md +12 -0
- package/docs/EventSponsorshipLevelUpdateInputs.md +12 -0
- 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.0
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -2147,7 +2147,15 @@ export interface BaseEventSponsorshipLevel {
|
|
|
2147
2147
|
'sponsorCouponPassLimit': number;
|
|
2148
2148
|
'sponsorCouponPassTypeId': string | null;
|
|
2149
2149
|
'bookingSpaceAllowance': number;
|
|
2150
|
+
'price': number | null;
|
|
2151
|
+
'supply': number | null;
|
|
2152
|
+
'purchasable': boolean;
|
|
2153
|
+
'taxCode': string | null;
|
|
2154
|
+
'taxIncluded': boolean;
|
|
2155
|
+
'taxLocation': TaxLocationType;
|
|
2150
2156
|
}
|
|
2157
|
+
|
|
2158
|
+
|
|
2151
2159
|
export interface BaseEventTrack {
|
|
2152
2160
|
'id': string;
|
|
2153
2161
|
'slug': string;
|
|
@@ -7359,12 +7367,20 @@ export interface EventSponsorshipLevel {
|
|
|
7359
7367
|
'sponsorCouponPassLimit': number;
|
|
7360
7368
|
'sponsorCouponPassTypeId': string | null;
|
|
7361
7369
|
'bookingSpaceAllowance': number;
|
|
7370
|
+
'price': number | null;
|
|
7371
|
+
'supply': number | null;
|
|
7372
|
+
'purchasable': boolean;
|
|
7373
|
+
'taxCode': string | null;
|
|
7374
|
+
'taxIncluded': boolean;
|
|
7375
|
+
'taxLocation': TaxLocationType;
|
|
7362
7376
|
'sponsorCouponPassType': BaseEventPassType | null;
|
|
7363
7377
|
'sortOrder': number;
|
|
7364
7378
|
'sponsors': Array<BaseEventSponsorship>;
|
|
7365
7379
|
'createdAt': string;
|
|
7366
7380
|
'updatedAt': string;
|
|
7367
7381
|
}
|
|
7382
|
+
|
|
7383
|
+
|
|
7368
7384
|
export interface EventSponsorshipLevelCreateInputs {
|
|
7369
7385
|
'name': string;
|
|
7370
7386
|
'slug'?: string | null;
|
|
@@ -7381,7 +7397,15 @@ export interface EventSponsorshipLevelCreateInputs {
|
|
|
7381
7397
|
'sponsorCouponPassLimit'?: number;
|
|
7382
7398
|
'sponsorCouponPassTypeId'?: string | null;
|
|
7383
7399
|
'bookingSpaceAllowance'?: number;
|
|
7400
|
+
'price'?: number | null;
|
|
7401
|
+
'supply'?: number | null;
|
|
7402
|
+
'purchasable'?: boolean;
|
|
7403
|
+
'taxCode'?: string | null;
|
|
7404
|
+
'taxIncluded'?: boolean;
|
|
7405
|
+
'taxLocation'?: TaxLocationType;
|
|
7384
7406
|
}
|
|
7407
|
+
|
|
7408
|
+
|
|
7385
7409
|
export interface EventSponsorshipLevelSurvey {
|
|
7386
7410
|
'id': string;
|
|
7387
7411
|
'slug': string;
|
|
@@ -7423,7 +7447,15 @@ export interface EventSponsorshipLevelUpdateInputs {
|
|
|
7423
7447
|
'sponsorCouponPassLimit'?: number;
|
|
7424
7448
|
'sponsorCouponPassTypeId'?: string | null;
|
|
7425
7449
|
'bookingSpaceAllowance'?: number;
|
|
7450
|
+
'price'?: number | null;
|
|
7451
|
+
'supply'?: number | null;
|
|
7452
|
+
'purchasable'?: boolean;
|
|
7453
|
+
'taxCode'?: string | null;
|
|
7454
|
+
'taxIncluded'?: boolean;
|
|
7455
|
+
'taxLocation'?: TaxLocationType;
|
|
7426
7456
|
}
|
|
7457
|
+
|
|
7458
|
+
|
|
7427
7459
|
export interface EventSponsorshipProgress {
|
|
7428
7460
|
'id': string;
|
|
7429
7461
|
'name': string;
|
|
@@ -68618,218 +68650,25 @@ export const EventsPagesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
68618
68650
|
};
|
|
68619
68651
|
},
|
|
68620
68652
|
/**
|
|
68621
|
-
*
|
|
68622
|
-
* @summary
|
|
68623
|
-
* @param {string} eventId The event identifier
|
|
68624
|
-
* @param {EventPageCreateInputs} eventPageCreateInputs
|
|
68625
|
-
* @param {*} [options] Override http request option.
|
|
68626
|
-
* @throws {RequiredError}
|
|
68627
|
-
*/
|
|
68628
|
-
createEventPage: async (eventId: string, eventPageCreateInputs: EventPageCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68629
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
68630
|
-
assertParamExists('createEventPage', 'eventId', eventId)
|
|
68631
|
-
// verify required parameter 'eventPageCreateInputs' is not null or undefined
|
|
68632
|
-
assertParamExists('createEventPage', 'eventPageCreateInputs', eventPageCreateInputs)
|
|
68633
|
-
const localVarPath = `/events/{eventId}/pages`
|
|
68634
|
-
.replace('{eventId}', encodeURIComponent(String(eventId)));
|
|
68635
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68636
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68637
|
-
let baseOptions;
|
|
68638
|
-
if (configuration) {
|
|
68639
|
-
baseOptions = configuration.baseOptions;
|
|
68640
|
-
}
|
|
68641
|
-
|
|
68642
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
68643
|
-
const localVarHeaderParameter = {} as any;
|
|
68644
|
-
const localVarQueryParameter = {} as any;
|
|
68645
|
-
|
|
68646
|
-
// authentication ApiKeyAuth required
|
|
68647
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
68648
|
-
|
|
68649
|
-
// authentication OrganizationId required
|
|
68650
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
68651
|
-
|
|
68652
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
68653
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
68654
|
-
|
|
68655
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68656
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68657
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68658
|
-
localVarRequestOptions.data = serializeDataIfNeeded(eventPageCreateInputs, localVarRequestOptions, configuration)
|
|
68659
|
-
|
|
68660
|
-
return {
|
|
68661
|
-
url: toPathString(localVarUrlObj),
|
|
68662
|
-
options: localVarRequestOptions,
|
|
68663
|
-
};
|
|
68664
|
-
},
|
|
68665
|
-
/**
|
|
68666
|
-
* Deletes a custom content page from an event and re-sequences the sort order of the event\'s remaining pages, requiring update permission on events.
|
|
68667
|
-
* @summary Delete an event page
|
|
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
|
|
68668
68655
|
* @param {string} eventId The event identifier
|
|
68669
68656
|
* @param {string} pageId The page identifier
|
|
68657
|
+
* @param {string} passTypeId The passType identifier
|
|
68670
68658
|
* @param {*} [options] Override http request option.
|
|
68671
68659
|
* @throws {RequiredError}
|
|
68672
68660
|
*/
|
|
68673
|
-
|
|
68674
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
68675
|
-
assertParamExists('deleteEventPage', 'eventId', eventId)
|
|
68676
|
-
// verify required parameter 'pageId' is not null or undefined
|
|
68677
|
-
assertParamExists('deleteEventPage', 'pageId', pageId)
|
|
68678
|
-
const localVarPath = `/events/{eventId}/pages/{pageId}`
|
|
68679
|
-
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
68680
|
-
.replace('{pageId}', encodeURIComponent(String(pageId)));
|
|
68681
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68682
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68683
|
-
let baseOptions;
|
|
68684
|
-
if (configuration) {
|
|
68685
|
-
baseOptions = configuration.baseOptions;
|
|
68686
|
-
}
|
|
68687
|
-
|
|
68688
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
68689
|
-
const localVarHeaderParameter = {} as any;
|
|
68690
|
-
const localVarQueryParameter = {} as any;
|
|
68691
|
-
|
|
68692
|
-
// authentication ApiKeyAuth required
|
|
68693
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
68694
|
-
|
|
68695
|
-
// authentication OrganizationId required
|
|
68696
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
68697
|
-
|
|
68698
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
68699
|
-
|
|
68700
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68701
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68702
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68703
|
-
|
|
68704
|
-
return {
|
|
68705
|
-
url: toPathString(localVarUrlObj),
|
|
68706
|
-
options: localVarRequestOptions,
|
|
68707
|
-
};
|
|
68708
|
-
},
|
|
68709
|
-
/**
|
|
68710
|
-
* Retrieves the details of a single page belonging to the specified event by its page ID; requires the \"read\" permission on the \"events\" module.
|
|
68711
|
-
* @summary Get an event page
|
|
68712
|
-
* @param {string} eventId The event identifier
|
|
68713
|
-
* @param {string} pageId The page identifier
|
|
68714
|
-
* @param {*} [options] Override http request option.
|
|
68715
|
-
* @throws {RequiredError}
|
|
68716
|
-
*/
|
|
68717
|
-
getEventPage: async (eventId: string, pageId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68718
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
68719
|
-
assertParamExists('getEventPage', 'eventId', eventId)
|
|
68720
|
-
// verify required parameter 'pageId' is not null or undefined
|
|
68721
|
-
assertParamExists('getEventPage', 'pageId', pageId)
|
|
68722
|
-
const localVarPath = `/events/{eventId}/pages/{pageId}`
|
|
68723
|
-
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
68724
|
-
.replace('{pageId}', encodeURIComponent(String(pageId)));
|
|
68725
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68726
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68727
|
-
let baseOptions;
|
|
68728
|
-
if (configuration) {
|
|
68729
|
-
baseOptions = configuration.baseOptions;
|
|
68730
|
-
}
|
|
68731
|
-
|
|
68732
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
68733
|
-
const localVarHeaderParameter = {} as any;
|
|
68734
|
-
const localVarQueryParameter = {} as any;
|
|
68735
|
-
|
|
68736
|
-
// authentication ApiKeyAuth required
|
|
68737
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
68738
|
-
|
|
68739
|
-
// authentication OrganizationId required
|
|
68740
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
68741
|
-
|
|
68742
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
68743
|
-
|
|
68744
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68745
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68746
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68747
|
-
|
|
68748
|
-
return {
|
|
68749
|
-
url: toPathString(localVarUrlObj),
|
|
68750
|
-
options: localVarRequestOptions,
|
|
68751
|
-
};
|
|
68752
|
-
},
|
|
68753
|
-
/**
|
|
68754
|
-
* Returns a paginated list of images attached to the specified event page, supporting search and sorting; requires the \"read\" permission on both the \"events\" and \"storage\" modules.
|
|
68755
|
-
* @summary List an event page\'s images
|
|
68756
|
-
* @param {string} eventId The event identifier
|
|
68757
|
-
* @param {string} pageId The page identifier
|
|
68758
|
-
* @param {number} [page] Page number
|
|
68759
|
-
* @param {number} [pageSize] Number of items per page
|
|
68760
|
-
* @param {string} [orderBy] Field to order by
|
|
68761
|
-
* @param {string} [search] Search query
|
|
68762
|
-
* @param {*} [options] Override http request option.
|
|
68763
|
-
* @throws {RequiredError}
|
|
68764
|
-
*/
|
|
68765
|
-
getEventPageImages: async (eventId: string, pageId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68661
|
+
addEventPagePassType: async (eventId: string, pageId: string, passTypeId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68766
68662
|
// verify required parameter 'eventId' is not null or undefined
|
|
68767
|
-
assertParamExists('
|
|
68663
|
+
assertParamExists('addEventPagePassType', 'eventId', eventId)
|
|
68768
68664
|
// verify required parameter 'pageId' is not null or undefined
|
|
68769
|
-
assertParamExists('
|
|
68770
|
-
|
|
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}`
|
|
68771
68669
|
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
68772
|
-
.replace('{pageId}', encodeURIComponent(String(pageId)))
|
|
68773
|
-
|
|
68774
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68775
|
-
let baseOptions;
|
|
68776
|
-
if (configuration) {
|
|
68777
|
-
baseOptions = configuration.baseOptions;
|
|
68778
|
-
}
|
|
68779
|
-
|
|
68780
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
68781
|
-
const localVarHeaderParameter = {} as any;
|
|
68782
|
-
const localVarQueryParameter = {} as any;
|
|
68783
|
-
|
|
68784
|
-
// authentication ApiKeyAuth required
|
|
68785
|
-
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
68786
|
-
|
|
68787
|
-
// authentication OrganizationId required
|
|
68788
|
-
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
68789
|
-
|
|
68790
|
-
if (page !== undefined) {
|
|
68791
|
-
localVarQueryParameter['page'] = page;
|
|
68792
|
-
}
|
|
68793
|
-
|
|
68794
|
-
if (pageSize !== undefined) {
|
|
68795
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
68796
|
-
}
|
|
68797
|
-
|
|
68798
|
-
if (orderBy !== undefined) {
|
|
68799
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
68800
|
-
}
|
|
68801
|
-
|
|
68802
|
-
if (search !== undefined) {
|
|
68803
|
-
localVarQueryParameter['search'] = search;
|
|
68804
|
-
}
|
|
68805
|
-
|
|
68806
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
68807
|
-
|
|
68808
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68809
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68810
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68811
|
-
|
|
68812
|
-
return {
|
|
68813
|
-
url: toPathString(localVarUrlObj),
|
|
68814
|
-
options: localVarRequestOptions,
|
|
68815
|
-
};
|
|
68816
|
-
},
|
|
68817
|
-
/**
|
|
68818
|
-
* Returns a paginated list of custom pages belonging to the specified event, supporting search and sorting; requires the \"read\" permission on the \"events\" module.
|
|
68819
|
-
* @summary List an event\'s pages
|
|
68820
|
-
* @param {string} eventId The event identifier
|
|
68821
|
-
* @param {number} [page] Page number
|
|
68822
|
-
* @param {number} [pageSize] Number of items per page
|
|
68823
|
-
* @param {string} [orderBy] Field to order by
|
|
68824
|
-
* @param {string} [search] Search query
|
|
68825
|
-
* @param {*} [options] Override http request option.
|
|
68826
|
-
* @throws {RequiredError}
|
|
68827
|
-
*/
|
|
68828
|
-
getEventPages: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68829
|
-
// verify required parameter 'eventId' is not null or undefined
|
|
68830
|
-
assertParamExists('getEventPages', 'eventId', eventId)
|
|
68831
|
-
const localVarPath = `/events/{eventId}/pages`
|
|
68832
|
-
.replace('{eventId}', encodeURIComponent(String(eventId)));
|
|
68670
|
+
.replace('{pageId}', encodeURIComponent(String(pageId)))
|
|
68671
|
+
.replace('{passTypeId}', encodeURIComponent(String(passTypeId)));
|
|
68833
68672
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68834
68673
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68835
68674
|
let baseOptions;
|
|
@@ -68837,7 +68676,7 @@ export const EventsPagesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
68837
68676
|
baseOptions = configuration.baseOptions;
|
|
68838
68677
|
}
|
|
68839
68678
|
|
|
68840
|
-
const localVarRequestOptions = { method: '
|
|
68679
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
68841
68680
|
const localVarHeaderParameter = {} as any;
|
|
68842
68681
|
const localVarQueryParameter = {} as any;
|
|
68843
68682
|
|
|
@@ -68847,22 +68686,6 @@ export const EventsPagesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
68847
68686
|
// authentication OrganizationId required
|
|
68848
68687
|
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
68849
68688
|
|
|
68850
|
-
if (page !== undefined) {
|
|
68851
|
-
localVarQueryParameter['page'] = page;
|
|
68852
|
-
}
|
|
68853
|
-
|
|
68854
|
-
if (pageSize !== undefined) {
|
|
68855
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
68856
|
-
}
|
|
68857
|
-
|
|
68858
|
-
if (orderBy !== undefined) {
|
|
68859
|
-
localVarQueryParameter['orderBy'] = orderBy;
|
|
68860
|
-
}
|
|
68861
|
-
|
|
68862
|
-
if (search !== undefined) {
|
|
68863
|
-
localVarQueryParameter['search'] = search;
|
|
68864
|
-
}
|
|
68865
|
-
|
|
68866
68689
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
68867
68690
|
|
|
68868
68691
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -68875,25 +68698,25 @@ export const EventsPagesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
68875
68698
|
};
|
|
68876
68699
|
},
|
|
68877
68700
|
/**
|
|
68878
|
-
*
|
|
68879
|
-
* @summary
|
|
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
|
|
68880
68703
|
* @param {string} eventId The event identifier
|
|
68881
68704
|
* @param {string} pageId The page identifier
|
|
68882
|
-
* @param {string}
|
|
68705
|
+
* @param {string} tierId The tier identifier
|
|
68883
68706
|
* @param {*} [options] Override http request option.
|
|
68884
68707
|
* @throws {RequiredError}
|
|
68885
68708
|
*/
|
|
68886
|
-
|
|
68709
|
+
addEventPageTier: async (eventId: string, pageId: string, tierId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68887
68710
|
// verify required parameter 'eventId' is not null or undefined
|
|
68888
|
-
assertParamExists('
|
|
68711
|
+
assertParamExists('addEventPageTier', 'eventId', eventId)
|
|
68889
68712
|
// verify required parameter 'pageId' is not null or undefined
|
|
68890
|
-
assertParamExists('
|
|
68891
|
-
// verify required parameter '
|
|
68892
|
-
assertParamExists('
|
|
68893
|
-
const localVarPath = `/events/{eventId}/pages/{pageId}/
|
|
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}`
|
|
68894
68717
|
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
68895
68718
|
.replace('{pageId}', encodeURIComponent(String(pageId)))
|
|
68896
|
-
.replace('{
|
|
68719
|
+
.replace('{tierId}', encodeURIComponent(String(tierId)));
|
|
68897
68720
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68898
68721
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68899
68722
|
let baseOptions;
|
|
@@ -68901,7 +68724,536 @@ export const EventsPagesApiAxiosParamCreator = function (configuration?: Configu
|
|
|
68901
68724
|
baseOptions = configuration.baseOptions;
|
|
68902
68725
|
}
|
|
68903
68726
|
|
|
68904
|
-
const localVarRequestOptions = { method: '
|
|
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
|
+
},
|
|
68748
|
+
/**
|
|
68749
|
+
* Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
|
|
68750
|
+
* @summary Create an event page
|
|
68751
|
+
* @param {string} eventId The event identifier
|
|
68752
|
+
* @param {EventPageCreateInputs} eventPageCreateInputs
|
|
68753
|
+
* @param {*} [options] Override http request option.
|
|
68754
|
+
* @throws {RequiredError}
|
|
68755
|
+
*/
|
|
68756
|
+
createEventPage: async (eventId: string, eventPageCreateInputs: EventPageCreateInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68757
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
68758
|
+
assertParamExists('createEventPage', 'eventId', eventId)
|
|
68759
|
+
// verify required parameter 'eventPageCreateInputs' is not null or undefined
|
|
68760
|
+
assertParamExists('createEventPage', 'eventPageCreateInputs', eventPageCreateInputs)
|
|
68761
|
+
const localVarPath = `/events/{eventId}/pages`
|
|
68762
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)));
|
|
68763
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68764
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68765
|
+
let baseOptions;
|
|
68766
|
+
if (configuration) {
|
|
68767
|
+
baseOptions = configuration.baseOptions;
|
|
68768
|
+
}
|
|
68769
|
+
|
|
68770
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
68771
|
+
const localVarHeaderParameter = {} as any;
|
|
68772
|
+
const localVarQueryParameter = {} as any;
|
|
68773
|
+
|
|
68774
|
+
// authentication ApiKeyAuth required
|
|
68775
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
68776
|
+
|
|
68777
|
+
// authentication OrganizationId required
|
|
68778
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
68779
|
+
|
|
68780
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
68781
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
68782
|
+
|
|
68783
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68784
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68785
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68786
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventPageCreateInputs, localVarRequestOptions, configuration)
|
|
68787
|
+
|
|
68788
|
+
return {
|
|
68789
|
+
url: toPathString(localVarUrlObj),
|
|
68790
|
+
options: localVarRequestOptions,
|
|
68791
|
+
};
|
|
68792
|
+
},
|
|
68793
|
+
/**
|
|
68794
|
+
* Deletes a custom content page from an event and re-sequences the sort order of the event\'s remaining pages, requiring update permission on events.
|
|
68795
|
+
* @summary Delete an event page
|
|
68796
|
+
* @param {string} eventId The event identifier
|
|
68797
|
+
* @param {string} pageId The page identifier
|
|
68798
|
+
* @param {*} [options] Override http request option.
|
|
68799
|
+
* @throws {RequiredError}
|
|
68800
|
+
*/
|
|
68801
|
+
deleteEventPage: async (eventId: string, pageId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68802
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
68803
|
+
assertParamExists('deleteEventPage', 'eventId', eventId)
|
|
68804
|
+
// verify required parameter 'pageId' is not null or undefined
|
|
68805
|
+
assertParamExists('deleteEventPage', 'pageId', pageId)
|
|
68806
|
+
const localVarPath = `/events/{eventId}/pages/{pageId}`
|
|
68807
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
68808
|
+
.replace('{pageId}', encodeURIComponent(String(pageId)));
|
|
68809
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68810
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68811
|
+
let baseOptions;
|
|
68812
|
+
if (configuration) {
|
|
68813
|
+
baseOptions = configuration.baseOptions;
|
|
68814
|
+
}
|
|
68815
|
+
|
|
68816
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
68817
|
+
const localVarHeaderParameter = {} as any;
|
|
68818
|
+
const localVarQueryParameter = {} as any;
|
|
68819
|
+
|
|
68820
|
+
// authentication ApiKeyAuth required
|
|
68821
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
68822
|
+
|
|
68823
|
+
// authentication OrganizationId required
|
|
68824
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
68825
|
+
|
|
68826
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
68827
|
+
|
|
68828
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68829
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68830
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68831
|
+
|
|
68832
|
+
return {
|
|
68833
|
+
url: toPathString(localVarUrlObj),
|
|
68834
|
+
options: localVarRequestOptions,
|
|
68835
|
+
};
|
|
68836
|
+
},
|
|
68837
|
+
/**
|
|
68838
|
+
* Retrieves the details of a single page belonging to the specified event by its page ID; requires the \"read\" permission on the \"events\" module.
|
|
68839
|
+
* @summary Get an event page
|
|
68840
|
+
* @param {string} eventId The event identifier
|
|
68841
|
+
* @param {string} pageId The page identifier
|
|
68842
|
+
* @param {*} [options] Override http request option.
|
|
68843
|
+
* @throws {RequiredError}
|
|
68844
|
+
*/
|
|
68845
|
+
getEventPage: async (eventId: string, pageId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68846
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
68847
|
+
assertParamExists('getEventPage', 'eventId', eventId)
|
|
68848
|
+
// verify required parameter 'pageId' is not null or undefined
|
|
68849
|
+
assertParamExists('getEventPage', 'pageId', pageId)
|
|
68850
|
+
const localVarPath = `/events/{eventId}/pages/{pageId}`
|
|
68851
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
68852
|
+
.replace('{pageId}', encodeURIComponent(String(pageId)));
|
|
68853
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68854
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68855
|
+
let baseOptions;
|
|
68856
|
+
if (configuration) {
|
|
68857
|
+
baseOptions = configuration.baseOptions;
|
|
68858
|
+
}
|
|
68859
|
+
|
|
68860
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
68861
|
+
const localVarHeaderParameter = {} as any;
|
|
68862
|
+
const localVarQueryParameter = {} as any;
|
|
68863
|
+
|
|
68864
|
+
// authentication ApiKeyAuth required
|
|
68865
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
68866
|
+
|
|
68867
|
+
// authentication OrganizationId required
|
|
68868
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
68869
|
+
|
|
68870
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
68871
|
+
|
|
68872
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68873
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68874
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68875
|
+
|
|
68876
|
+
return {
|
|
68877
|
+
url: toPathString(localVarUrlObj),
|
|
68878
|
+
options: localVarRequestOptions,
|
|
68879
|
+
};
|
|
68880
|
+
},
|
|
68881
|
+
/**
|
|
68882
|
+
* Returns a paginated list of images attached to the specified event page, supporting search and sorting; requires the \"read\" permission on both the \"events\" and \"storage\" modules.
|
|
68883
|
+
* @summary List an event page\'s images
|
|
68884
|
+
* @param {string} eventId The event identifier
|
|
68885
|
+
* @param {string} pageId The page identifier
|
|
68886
|
+
* @param {number} [page] Page number
|
|
68887
|
+
* @param {number} [pageSize] Number of items per page
|
|
68888
|
+
* @param {string} [orderBy] Field to order by
|
|
68889
|
+
* @param {string} [search] Search query
|
|
68890
|
+
* @param {*} [options] Override http request option.
|
|
68891
|
+
* @throws {RequiredError}
|
|
68892
|
+
*/
|
|
68893
|
+
getEventPageImages: async (eventId: string, pageId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
68894
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
68895
|
+
assertParamExists('getEventPageImages', 'eventId', eventId)
|
|
68896
|
+
// verify required parameter 'pageId' is not null or undefined
|
|
68897
|
+
assertParamExists('getEventPageImages', 'pageId', pageId)
|
|
68898
|
+
const localVarPath = `/events/{eventId}/pages/{pageId}/images`
|
|
68899
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
68900
|
+
.replace('{pageId}', encodeURIComponent(String(pageId)));
|
|
68901
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
68902
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68903
|
+
let baseOptions;
|
|
68904
|
+
if (configuration) {
|
|
68905
|
+
baseOptions = configuration.baseOptions;
|
|
68906
|
+
}
|
|
68907
|
+
|
|
68908
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
68909
|
+
const localVarHeaderParameter = {} as any;
|
|
68910
|
+
const localVarQueryParameter = {} as any;
|
|
68911
|
+
|
|
68912
|
+
// authentication ApiKeyAuth required
|
|
68913
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
68914
|
+
|
|
68915
|
+
// authentication OrganizationId required
|
|
68916
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
68917
|
+
|
|
68918
|
+
if (page !== undefined) {
|
|
68919
|
+
localVarQueryParameter['page'] = page;
|
|
68920
|
+
}
|
|
68921
|
+
|
|
68922
|
+
if (pageSize !== undefined) {
|
|
68923
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
68924
|
+
}
|
|
68925
|
+
|
|
68926
|
+
if (orderBy !== undefined) {
|
|
68927
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
68928
|
+
}
|
|
68929
|
+
|
|
68930
|
+
if (search !== undefined) {
|
|
68931
|
+
localVarQueryParameter['search'] = search;
|
|
68932
|
+
}
|
|
68933
|
+
|
|
68934
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
68935
|
+
|
|
68936
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
68937
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
68938
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
68939
|
+
|
|
68940
|
+
return {
|
|
68941
|
+
url: toPathString(localVarUrlObj),
|
|
68942
|
+
options: localVarRequestOptions,
|
|
68943
|
+
};
|
|
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
|
+
},
|
|
69073
|
+
/**
|
|
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.
|
|
69075
|
+
* @summary List an event\'s pages
|
|
69076
|
+
* @param {string} eventId The event identifier
|
|
69077
|
+
* @param {number} [page] Page number
|
|
69078
|
+
* @param {number} [pageSize] Number of items per page
|
|
69079
|
+
* @param {string} [orderBy] Field to order by
|
|
69080
|
+
* @param {string} [search] Search query
|
|
69081
|
+
* @param {*} [options] Override http request option.
|
|
69082
|
+
* @throws {RequiredError}
|
|
69083
|
+
*/
|
|
69084
|
+
getEventPages: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
69085
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
69086
|
+
assertParamExists('getEventPages', 'eventId', eventId)
|
|
69087
|
+
const localVarPath = `/events/{eventId}/pages`
|
|
69088
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)));
|
|
69089
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
69090
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
69091
|
+
let baseOptions;
|
|
69092
|
+
if (configuration) {
|
|
69093
|
+
baseOptions = configuration.baseOptions;
|
|
69094
|
+
}
|
|
69095
|
+
|
|
69096
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
69097
|
+
const localVarHeaderParameter = {} as any;
|
|
69098
|
+
const localVarQueryParameter = {} as any;
|
|
69099
|
+
|
|
69100
|
+
// authentication ApiKeyAuth required
|
|
69101
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
69102
|
+
|
|
69103
|
+
// authentication OrganizationId required
|
|
69104
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
69105
|
+
|
|
69106
|
+
if (page !== undefined) {
|
|
69107
|
+
localVarQueryParameter['page'] = page;
|
|
69108
|
+
}
|
|
69109
|
+
|
|
69110
|
+
if (pageSize !== undefined) {
|
|
69111
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
69112
|
+
}
|
|
69113
|
+
|
|
69114
|
+
if (orderBy !== undefined) {
|
|
69115
|
+
localVarQueryParameter['orderBy'] = orderBy;
|
|
69116
|
+
}
|
|
69117
|
+
|
|
69118
|
+
if (search !== undefined) {
|
|
69119
|
+
localVarQueryParameter['search'] = search;
|
|
69120
|
+
}
|
|
69121
|
+
|
|
69122
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
69123
|
+
|
|
69124
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
69125
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69126
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
69127
|
+
|
|
69128
|
+
return {
|
|
69129
|
+
url: toPathString(localVarUrlObj),
|
|
69130
|
+
options: localVarRequestOptions,
|
|
69131
|
+
};
|
|
69132
|
+
},
|
|
69133
|
+
/**
|
|
69134
|
+
* Detaches an image from an event page\'s image gallery without deleting the underlying image, requiring update permission on both events and storage.
|
|
69135
|
+
* @summary Remove an image from an event page
|
|
69136
|
+
* @param {string} eventId The event identifier
|
|
69137
|
+
* @param {string} pageId The page identifier
|
|
69138
|
+
* @param {string} imageId The image identifier
|
|
69139
|
+
* @param {*} [options] Override http request option.
|
|
69140
|
+
* @throws {RequiredError}
|
|
69141
|
+
*/
|
|
69142
|
+
removeEventPageImage: async (eventId: string, pageId: string, imageId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
69143
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
69144
|
+
assertParamExists('removeEventPageImage', 'eventId', eventId)
|
|
69145
|
+
// verify required parameter 'pageId' is not null or undefined
|
|
69146
|
+
assertParamExists('removeEventPageImage', 'pageId', pageId)
|
|
69147
|
+
// verify required parameter 'imageId' is not null or undefined
|
|
69148
|
+
assertParamExists('removeEventPageImage', 'imageId', imageId)
|
|
69149
|
+
const localVarPath = `/events/{eventId}/pages/{pageId}/images/{imageId}`
|
|
69150
|
+
.replace('{eventId}', encodeURIComponent(String(eventId)))
|
|
69151
|
+
.replace('{pageId}', encodeURIComponent(String(pageId)))
|
|
69152
|
+
.replace('{imageId}', encodeURIComponent(String(imageId)));
|
|
69153
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
69154
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
69155
|
+
let baseOptions;
|
|
69156
|
+
if (configuration) {
|
|
69157
|
+
baseOptions = configuration.baseOptions;
|
|
69158
|
+
}
|
|
69159
|
+
|
|
69160
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
69161
|
+
const localVarHeaderParameter = {} as any;
|
|
69162
|
+
const localVarQueryParameter = {} as any;
|
|
69163
|
+
|
|
69164
|
+
// authentication ApiKeyAuth required
|
|
69165
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
69166
|
+
|
|
69167
|
+
// authentication OrganizationId required
|
|
69168
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
69169
|
+
|
|
69170
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
69171
|
+
|
|
69172
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
69173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
69174
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
69175
|
+
|
|
69176
|
+
return {
|
|
69177
|
+
url: toPathString(localVarUrlObj),
|
|
69178
|
+
options: localVarRequestOptions,
|
|
69179
|
+
};
|
|
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};
|
|
68905
69257
|
const localVarHeaderParameter = {} as any;
|
|
68906
69258
|
const localVarQueryParameter = {} as any;
|
|
68907
69259
|
|
|
@@ -68995,6 +69347,36 @@ export const EventsPagesApiFp = function(configuration?: Configuration) {
|
|
|
68995
69347
|
const localVarOperationServerBasePath = operationServerMap['EventsPagesApi.addEventPageImage']?.[localVarOperationServerIndex]?.url;
|
|
68996
69348
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
68997
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
|
+
},
|
|
68998
69380
|
/**
|
|
68999
69381
|
* Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
|
|
69000
69382
|
* @summary Create an event page
|
|
@@ -69055,6 +69437,42 @@ export const EventsPagesApiFp = function(configuration?: Configuration) {
|
|
|
69055
69437
|
const localVarOperationServerBasePath = operationServerMap['EventsPagesApi.getEventPageImages']?.[localVarOperationServerIndex]?.url;
|
|
69056
69438
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69057
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
|
+
},
|
|
69058
69476
|
/**
|
|
69059
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.
|
|
69060
69478
|
* @summary List an event\'s pages
|
|
@@ -69087,6 +69505,36 @@ export const EventsPagesApiFp = function(configuration?: Configuration) {
|
|
|
69087
69505
|
const localVarOperationServerBasePath = operationServerMap['EventsPagesApi.removeEventPageImage']?.[localVarOperationServerIndex]?.url;
|
|
69088
69506
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
69089
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
|
+
},
|
|
69090
69538
|
/**
|
|
69091
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.
|
|
69092
69540
|
* @summary Update an event page
|
|
@@ -69121,6 +69569,26 @@ export const EventsPagesApiFactory = function (configuration?: Configuration, ba
|
|
|
69121
69569
|
addEventPageImage(requestParameters: EventsPagesApiAddEventPageImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPage200Response> {
|
|
69122
69570
|
return localVarFp.addEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
69123
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
|
+
},
|
|
69124
69592
|
/**
|
|
69125
69593
|
* Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
|
|
69126
69594
|
* @summary Create an event page
|
|
@@ -69161,6 +69629,26 @@ export const EventsPagesApiFactory = function (configuration?: Configuration, ba
|
|
|
69161
69629
|
getEventPageImages(requestParameters: EventsPagesApiGetEventPageImagesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventPageImages200Response> {
|
|
69162
69630
|
return localVarFp.getEventPageImages(requestParameters.eventId, requestParameters.pageId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
69163
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
|
+
},
|
|
69164
69652
|
/**
|
|
69165
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.
|
|
69166
69654
|
* @summary List an event\'s pages
|
|
@@ -69181,6 +69669,26 @@ export const EventsPagesApiFactory = function (configuration?: Configuration, ba
|
|
|
69181
69669
|
removeEventPageImage(requestParameters: EventsPagesApiRemoveEventPageImageRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventPage200Response> {
|
|
69182
69670
|
return localVarFp.removeEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(axios, basePath));
|
|
69183
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
|
+
},
|
|
69184
69692
|
/**
|
|
69185
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.
|
|
69186
69694
|
* @summary Update an event page
|
|
@@ -69214,6 +69722,46 @@ export interface EventsPagesApiAddEventPageImageRequest {
|
|
|
69214
69722
|
readonly imageId: string
|
|
69215
69723
|
}
|
|
69216
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
|
+
|
|
69217
69765
|
/**
|
|
69218
69766
|
* Request parameters for createEventPage operation in EventsPagesApi.
|
|
69219
69767
|
*/
|
|
@@ -69291,6 +69839,76 @@ export interface EventsPagesApiGetEventPageImagesRequest {
|
|
|
69291
69839
|
readonly search?: string
|
|
69292
69840
|
}
|
|
69293
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
|
+
|
|
69294
69912
|
/**
|
|
69295
69913
|
* Request parameters for getEventPages operation in EventsPagesApi.
|
|
69296
69914
|
*/
|
|
@@ -69341,6 +69959,46 @@ export interface EventsPagesApiRemoveEventPageImageRequest {
|
|
|
69341
69959
|
readonly imageId: string
|
|
69342
69960
|
}
|
|
69343
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
|
+
|
|
69344
70002
|
/**
|
|
69345
70003
|
* Request parameters for updateEventPage operation in EventsPagesApi.
|
|
69346
70004
|
*/
|
|
@@ -69373,6 +70031,28 @@ export class EventsPagesApi extends BaseAPI {
|
|
|
69373
70031
|
return EventsPagesApiFp(this.configuration).addEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
69374
70032
|
}
|
|
69375
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
|
+
|
|
69376
70056
|
/**
|
|
69377
70057
|
* Creates a new custom content page for an event, assigning it a slug and sort order, and requires create permission on events.
|
|
69378
70058
|
* @summary Create an event page
|
|
@@ -69417,6 +70097,28 @@ export class EventsPagesApi extends BaseAPI {
|
|
|
69417
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));
|
|
69418
70098
|
}
|
|
69419
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
|
+
|
|
69420
70122
|
/**
|
|
69421
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.
|
|
69422
70124
|
* @summary List an event\'s pages
|
|
@@ -69439,6 +70141,28 @@ export class EventsPagesApi extends BaseAPI {
|
|
|
69439
70141
|
return EventsPagesApiFp(this.configuration).removeEventPageImage(requestParameters.eventId, requestParameters.pageId, requestParameters.imageId, options).then((request) => request(this.axios, this.basePath));
|
|
69440
70142
|
}
|
|
69441
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
|
+
|
|
69442
70166
|
/**
|
|
69443
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.
|
|
69444
70168
|
* @summary Update an event page
|