@connectedxm/admin-sdk 7.5.1 → 7.8.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/.openapi-generator/FILES +1 -0
- package/README.md +3 -0
- package/api.ts +210 -14
- package/dist/api.d.ts +119 -14
- package/dist/api.js +146 -0
- package/dist/esm/api.d.ts +119 -14
- package/dist/esm/api.js +146 -0
- package/docs/BaseEvent.md +6 -0
- package/docs/BaseEventSessionLocation.md +4 -0
- package/docs/Event.md +10 -0
- package/docs/EventCreateInputs.md +0 -14
- package/docs/EventLocationInputs.md +38 -0
- package/docs/EventSessionLocation.md +8 -0
- package/docs/EventSessionLocationCreateInputs.md +8 -0
- package/docs/EventSessionLocationUpdateInputs.md +8 -0
- package/docs/EventUpdateInputs.md +0 -14
- package/docs/EventsApi.md +108 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -513,6 +513,7 @@ docs/EventFaqSectionUpdateInputs.md
|
|
|
513
513
|
docs/EventFollowupCreateInputs.md
|
|
514
514
|
docs/EventFollowupTranslationUpdateInputs.md
|
|
515
515
|
docs/EventFollowupUpdateInputs.md
|
|
516
|
+
docs/EventLocationInputs.md
|
|
516
517
|
docs/EventMediaItem.md
|
|
517
518
|
docs/EventMediaItemCreateInputs.md
|
|
518
519
|
docs/EventMediaItemTranslation.md
|
package/README.md
CHANGED
|
@@ -267,6 +267,7 @@ Class | Method | HTTP request | Description
|
|
|
267
267
|
*EventsApi* | [**cloneEvent**](docs/EventsApi.md#cloneevent) | **POST** /events/{eventId}/clone | Clone an event
|
|
268
268
|
*EventsApi* | [**createEvent**](docs/EventsApi.md#createevent) | **POST** /events | Create an event
|
|
269
269
|
*EventsApi* | [**deleteEvent**](docs/EventsApi.md#deleteevent) | **DELETE** /events/{eventId} | Delete an event
|
|
270
|
+
*EventsApi* | [**deleteEventLocation**](docs/EventsApi.md#deleteeventlocation) | **DELETE** /events/{eventId}/location | Delete an event\'s location
|
|
270
271
|
*EventsApi* | [**disableEventBuildMode**](docs/EventsApi.md#disableeventbuildmode) | **DELETE** /events/{eventId}/build-mode | Disable build mode for an event
|
|
271
272
|
*EventsApi* | [**enableEventBuildMode**](docs/EventsApi.md#enableeventbuildmode) | **POST** /events/{eventId}/build-mode | Enable build mode for an event
|
|
272
273
|
*EventsApi* | [**getEvent**](docs/EventsApi.md#getevent) | **GET** /events/{eventId} | Get an event
|
|
@@ -274,6 +275,7 @@ Class | Method | HTTP request | Description
|
|
|
274
275
|
*EventsApi* | [**getEventPayments**](docs/EventsApi.md#geteventpayments) | **GET** /events/{eventId}/payments | List an event\'s payments
|
|
275
276
|
*EventsApi* | [**getEventTiers**](docs/EventsApi.md#geteventtiers) | **GET** /events/{eventId}/tiers | List an event\'s account tiers
|
|
276
277
|
*EventsApi* | [**getEvents**](docs/EventsApi.md#getevents) | **GET** /events | List events
|
|
278
|
+
*EventsApi* | [**setEventLocation**](docs/EventsApi.md#seteventlocation) | **PUT** /events/{eventId}/location | Set an event\'s location
|
|
277
279
|
*EventsApi* | [**updateEvent**](docs/EventsApi.md#updateevent) | **PUT** /events/{eventId} | Update an event
|
|
278
280
|
*EventsAccessApi* | [**addEventAccessUser**](docs/EventsAccessApi.md#addeventaccessuser) | **POST** /events/{eventId}/access-users | Grant a user access to an event
|
|
279
281
|
*EventsAccessApi* | [**getEventAccessUsers**](docs/EventsAccessApi.md#geteventaccessusers) | **GET** /events/{eventId}/access-users | List an event\'s access users
|
|
@@ -1739,6 +1741,7 @@ Class | Method | HTTP request | Description
|
|
|
1739
1741
|
- [EventFollowupCreateInputs](docs/EventFollowupCreateInputs.md)
|
|
1740
1742
|
- [EventFollowupTranslationUpdateInputs](docs/EventFollowupTranslationUpdateInputs.md)
|
|
1741
1743
|
- [EventFollowupUpdateInputs](docs/EventFollowupUpdateInputs.md)
|
|
1744
|
+
- [EventLocationInputs](docs/EventLocationInputs.md)
|
|
1742
1745
|
- [EventMediaItem](docs/EventMediaItem.md)
|
|
1743
1746
|
- [EventMediaItemCreateInputs](docs/EventMediaItemCreateInputs.md)
|
|
1744
1747
|
- [EventMediaItemTranslation](docs/EventMediaItemTranslation.md)
|
package/api.ts
CHANGED
|
@@ -1227,6 +1227,9 @@ export interface BaseEvent {
|
|
|
1227
1227
|
'state': string | null;
|
|
1228
1228
|
'country': string | null;
|
|
1229
1229
|
'zip': string | null;
|
|
1230
|
+
'location': string | null;
|
|
1231
|
+
'latitude': number | null;
|
|
1232
|
+
'longitude': number | null;
|
|
1230
1233
|
'imageId': string | null;
|
|
1231
1234
|
'image': BaseImage | null;
|
|
1232
1235
|
'squareImageId': string | null;
|
|
@@ -1542,12 +1545,14 @@ export interface BaseEventSessionAccess {
|
|
|
1542
1545
|
export interface BaseEventSessionLocation {
|
|
1543
1546
|
'id': string;
|
|
1544
1547
|
'name': string;
|
|
1548
|
+
'room': string | null;
|
|
1545
1549
|
'address1': string | null;
|
|
1546
1550
|
'address2': string | null;
|
|
1547
1551
|
'zip': string | null;
|
|
1548
1552
|
'city': string | null;
|
|
1549
1553
|
'state': string | null;
|
|
1550
1554
|
'country': string | null;
|
|
1555
|
+
'location': string | null;
|
|
1551
1556
|
'image': BaseImage | null;
|
|
1552
1557
|
}
|
|
1553
1558
|
export interface BaseEventSessionQuestion {
|
|
@@ -4670,6 +4675,9 @@ export interface Event {
|
|
|
4670
4675
|
'state': string | null;
|
|
4671
4676
|
'country': string | null;
|
|
4672
4677
|
'zip': string | null;
|
|
4678
|
+
'location': string | null;
|
|
4679
|
+
'latitude': number | null;
|
|
4680
|
+
'longitude': number | null;
|
|
4673
4681
|
'imageId': string | null;
|
|
4674
4682
|
'image': BaseImage | null;
|
|
4675
4683
|
'squareImageId': string | null;
|
|
@@ -4684,6 +4692,8 @@ export interface Event {
|
|
|
4684
4692
|
'paymentIntegrationId': string | null;
|
|
4685
4693
|
'paymentIntegration': BasePaymentIntegration | null;
|
|
4686
4694
|
'archived': boolean;
|
|
4695
|
+
'mapImageLightUrl': string | null;
|
|
4696
|
+
'mapImageDarkUrl': string | null;
|
|
4687
4697
|
'roundName': string | null;
|
|
4688
4698
|
'matchName': string | null;
|
|
4689
4699
|
'passSupply': number | null;
|
|
@@ -5060,13 +5070,6 @@ export interface EventCreateInputs {
|
|
|
5060
5070
|
'imageId'?: string | null;
|
|
5061
5071
|
'squareImageId'?: string | null;
|
|
5062
5072
|
'backgroundImageId'?: string | null;
|
|
5063
|
-
'venue'?: string | null;
|
|
5064
|
-
'address1'?: string | null;
|
|
5065
|
-
'address2'?: string | null;
|
|
5066
|
-
'city'?: string | null;
|
|
5067
|
-
'state'?: string | null;
|
|
5068
|
-
'country'?: string | null;
|
|
5069
|
-
'zip'?: string | null;
|
|
5070
5073
|
'creatorId'?: string | null;
|
|
5071
5074
|
'seriesId'?: string | null;
|
|
5072
5075
|
'registration'?: boolean;
|
|
@@ -5203,6 +5206,18 @@ export interface EventFollowupUpdateInputs {
|
|
|
5203
5206
|
'guestDescription'?: string | null;
|
|
5204
5207
|
'sortOrder'?: AdvertisementCreateInputsWeight | null;
|
|
5205
5208
|
}
|
|
5209
|
+
export interface EventLocationInputs {
|
|
5210
|
+
'venue'?: string | null;
|
|
5211
|
+
'location'?: string | null;
|
|
5212
|
+
'address1'?: string | null;
|
|
5213
|
+
'address2'?: string | null;
|
|
5214
|
+
'city'?: string | null;
|
|
5215
|
+
'state'?: string | null;
|
|
5216
|
+
'country'?: string | null;
|
|
5217
|
+
'zip'?: string | null;
|
|
5218
|
+
'latitude'?: number | null;
|
|
5219
|
+
'longitude'?: number | null;
|
|
5220
|
+
}
|
|
5206
5221
|
export interface EventMediaItem {
|
|
5207
5222
|
'id': string;
|
|
5208
5223
|
'name': string | null;
|
|
@@ -5883,19 +5898,25 @@ export interface EventSessionCreateInputs {
|
|
|
5883
5898
|
export interface EventSessionLocation {
|
|
5884
5899
|
'id': string;
|
|
5885
5900
|
'name': string;
|
|
5901
|
+
'room': string | null;
|
|
5886
5902
|
'address1': string | null;
|
|
5887
5903
|
'address2': string | null;
|
|
5888
5904
|
'zip': string | null;
|
|
5889
5905
|
'city': string | null;
|
|
5890
5906
|
'state': string | null;
|
|
5891
5907
|
'country': string | null;
|
|
5908
|
+
'location': string | null;
|
|
5892
5909
|
'image': BaseImage | null;
|
|
5910
|
+
'latitude': number | null;
|
|
5911
|
+
'longitude': number | null;
|
|
5893
5912
|
'description': string | null;
|
|
5894
5913
|
'createdAt': string;
|
|
5895
5914
|
'updatedAt': string;
|
|
5896
5915
|
}
|
|
5897
5916
|
export interface EventSessionLocationCreateInputs {
|
|
5917
|
+
'location'?: string | null;
|
|
5898
5918
|
'name': string;
|
|
5919
|
+
'room'?: string | null;
|
|
5899
5920
|
'description'?: string | null;
|
|
5900
5921
|
'imageId'?: string | null;
|
|
5901
5922
|
'address1'?: string | null;
|
|
@@ -5904,6 +5925,8 @@ export interface EventSessionLocationCreateInputs {
|
|
|
5904
5925
|
'state'?: string | null;
|
|
5905
5926
|
'country'?: string | null;
|
|
5906
5927
|
'zip'?: string | null;
|
|
5928
|
+
'latitude'?: number | null;
|
|
5929
|
+
'longitude'?: number | null;
|
|
5907
5930
|
}
|
|
5908
5931
|
export interface EventSessionLocationTranslation {
|
|
5909
5932
|
'id': string;
|
|
@@ -5918,7 +5941,9 @@ export interface EventSessionLocationTranslationUpdateInputs {
|
|
|
5918
5941
|
'description'?: string | null;
|
|
5919
5942
|
}
|
|
5920
5943
|
export interface EventSessionLocationUpdateInputs {
|
|
5944
|
+
'location'?: string | null;
|
|
5921
5945
|
'name'?: string;
|
|
5946
|
+
'room'?: string | null;
|
|
5922
5947
|
'description'?: string | null;
|
|
5923
5948
|
'imageId'?: string | null;
|
|
5924
5949
|
'address1'?: string | null;
|
|
@@ -5927,6 +5952,8 @@ export interface EventSessionLocationUpdateInputs {
|
|
|
5927
5952
|
'state'?: string | null;
|
|
5928
5953
|
'country'?: string | null;
|
|
5929
5954
|
'zip'?: string | null;
|
|
5955
|
+
'latitude'?: number | null;
|
|
5956
|
+
'longitude'?: number | null;
|
|
5930
5957
|
}
|
|
5931
5958
|
export interface EventSessionPrice {
|
|
5932
5959
|
'id': string;
|
|
@@ -6509,13 +6536,6 @@ export interface EventUpdateInputs {
|
|
|
6509
6536
|
'imageId'?: string | null;
|
|
6510
6537
|
'squareImageId'?: string | null;
|
|
6511
6538
|
'backgroundImageId'?: string | null;
|
|
6512
|
-
'venue'?: string | null;
|
|
6513
|
-
'address1'?: string | null;
|
|
6514
|
-
'address2'?: string | null;
|
|
6515
|
-
'city'?: string | null;
|
|
6516
|
-
'state'?: string | null;
|
|
6517
|
-
'country'?: string | null;
|
|
6518
|
-
'zip'?: string | null;
|
|
6519
6539
|
'creatorId'?: string | null;
|
|
6520
6540
|
'seriesId'?: string | null;
|
|
6521
6541
|
'registration'?: boolean;
|
|
@@ -38523,6 +38543,46 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
38523
38543
|
options: localVarRequestOptions,
|
|
38524
38544
|
};
|
|
38525
38545
|
},
|
|
38546
|
+
/**
|
|
38547
|
+
* Clears the location details of an existing event, requiring the update events permission.
|
|
38548
|
+
* @summary Delete an event\'s location
|
|
38549
|
+
* @param {string} eventId The event identifier
|
|
38550
|
+
* @param {*} [options] Override http request option.
|
|
38551
|
+
* @throws {RequiredError}
|
|
38552
|
+
*/
|
|
38553
|
+
deleteEventLocation: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38554
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
38555
|
+
assertParamExists('deleteEventLocation', 'eventId', eventId)
|
|
38556
|
+
const localVarPath = `/events/{eventId}/location`
|
|
38557
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
38558
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38559
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38560
|
+
let baseOptions;
|
|
38561
|
+
if (configuration) {
|
|
38562
|
+
baseOptions = configuration.baseOptions;
|
|
38563
|
+
}
|
|
38564
|
+
|
|
38565
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
38566
|
+
const localVarHeaderParameter = {} as any;
|
|
38567
|
+
const localVarQueryParameter = {} as any;
|
|
38568
|
+
|
|
38569
|
+
// authentication ApiKeyAuth required
|
|
38570
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
38571
|
+
|
|
38572
|
+
// authentication OrganizationId required
|
|
38573
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
38574
|
+
|
|
38575
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
38576
|
+
|
|
38577
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38578
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38579
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38580
|
+
|
|
38581
|
+
return {
|
|
38582
|
+
url: toPathString(localVarUrlObj),
|
|
38583
|
+
options: localVarRequestOptions,
|
|
38584
|
+
};
|
|
38585
|
+
},
|
|
38526
38586
|
/**
|
|
38527
38587
|
* Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
|
|
38528
38588
|
* @summary Disable build mode for an event
|
|
@@ -38881,6 +38941,51 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
38881
38941
|
options: localVarRequestOptions,
|
|
38882
38942
|
};
|
|
38883
38943
|
},
|
|
38944
|
+
/**
|
|
38945
|
+
* Sets or updates the location details of an existing event, requiring the update events permission.
|
|
38946
|
+
* @summary Set an event\'s location
|
|
38947
|
+
* @param {string} eventId The event identifier
|
|
38948
|
+
* @param {EventLocationInputs} eventLocationInputs
|
|
38949
|
+
* @param {*} [options] Override http request option.
|
|
38950
|
+
* @throws {RequiredError}
|
|
38951
|
+
*/
|
|
38952
|
+
setEventLocation: async (eventId: string, eventLocationInputs: EventLocationInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38953
|
+
// verify required parameter 'eventId' is not null or undefined
|
|
38954
|
+
assertParamExists('setEventLocation', 'eventId', eventId)
|
|
38955
|
+
// verify required parameter 'eventLocationInputs' is not null or undefined
|
|
38956
|
+
assertParamExists('setEventLocation', 'eventLocationInputs', eventLocationInputs)
|
|
38957
|
+
const localVarPath = `/events/{eventId}/location`
|
|
38958
|
+
.replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
|
|
38959
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38960
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38961
|
+
let baseOptions;
|
|
38962
|
+
if (configuration) {
|
|
38963
|
+
baseOptions = configuration.baseOptions;
|
|
38964
|
+
}
|
|
38965
|
+
|
|
38966
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
38967
|
+
const localVarHeaderParameter = {} as any;
|
|
38968
|
+
const localVarQueryParameter = {} as any;
|
|
38969
|
+
|
|
38970
|
+
// authentication ApiKeyAuth required
|
|
38971
|
+
await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
|
|
38972
|
+
|
|
38973
|
+
// authentication OrganizationId required
|
|
38974
|
+
await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
|
|
38975
|
+
|
|
38976
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38977
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
38978
|
+
|
|
38979
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38980
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38981
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38982
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventLocationInputs, localVarRequestOptions, configuration)
|
|
38983
|
+
|
|
38984
|
+
return {
|
|
38985
|
+
url: toPathString(localVarUrlObj),
|
|
38986
|
+
options: localVarRequestOptions,
|
|
38987
|
+
};
|
|
38988
|
+
},
|
|
38884
38989
|
/**
|
|
38885
38990
|
* Updates the details of an existing event with the given fields, requiring the update events permission.
|
|
38886
38991
|
* @summary Update an event
|
|
@@ -38975,6 +39080,19 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
38975
39080
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.deleteEvent']?.[localVarOperationServerIndex]?.url;
|
|
38976
39081
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38977
39082
|
},
|
|
39083
|
+
/**
|
|
39084
|
+
* Clears the location details of an existing event, requiring the update events permission.
|
|
39085
|
+
* @summary Delete an event\'s location
|
|
39086
|
+
* @param {string} eventId The event identifier
|
|
39087
|
+
* @param {*} [options] Override http request option.
|
|
39088
|
+
* @throws {RequiredError}
|
|
39089
|
+
*/
|
|
39090
|
+
async deleteEventLocation(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEvent200Response>> {
|
|
39091
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEventLocation(eventId, options);
|
|
39092
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39093
|
+
const localVarOperationServerBasePath = operationServerMap['EventsApi.deleteEventLocation']?.[localVarOperationServerIndex]?.url;
|
|
39094
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39095
|
+
},
|
|
38978
39096
|
/**
|
|
38979
39097
|
* Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
|
|
38980
39098
|
* @summary Disable build mode for an event
|
|
@@ -39081,6 +39199,20 @@ export const EventsApiFp = function(configuration?: Configuration) {
|
|
|
39081
39199
|
const localVarOperationServerBasePath = operationServerMap['EventsApi.getEvents']?.[localVarOperationServerIndex]?.url;
|
|
39082
39200
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39083
39201
|
},
|
|
39202
|
+
/**
|
|
39203
|
+
* Sets or updates the location details of an existing event, requiring the update events permission.
|
|
39204
|
+
* @summary Set an event\'s location
|
|
39205
|
+
* @param {string} eventId The event identifier
|
|
39206
|
+
* @param {EventLocationInputs} eventLocationInputs
|
|
39207
|
+
* @param {*} [options] Override http request option.
|
|
39208
|
+
* @throws {RequiredError}
|
|
39209
|
+
*/
|
|
39210
|
+
async setEventLocation(eventId: string, eventLocationInputs: EventLocationInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEvent200Response>> {
|
|
39211
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.setEventLocation(eventId, eventLocationInputs, options);
|
|
39212
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
39213
|
+
const localVarOperationServerBasePath = operationServerMap['EventsApi.setEventLocation']?.[localVarOperationServerIndex]?.url;
|
|
39214
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
39215
|
+
},
|
|
39084
39216
|
/**
|
|
39085
39217
|
* Updates the details of an existing event with the given fields, requiring the update events permission.
|
|
39086
39218
|
* @summary Update an event
|
|
@@ -39134,6 +39266,16 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
39134
39266
|
deleteEvent(requestParameters: EventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
|
|
39135
39267
|
return localVarFp.deleteEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
39136
39268
|
},
|
|
39269
|
+
/**
|
|
39270
|
+
* Clears the location details of an existing event, requiring the update events permission.
|
|
39271
|
+
* @summary Delete an event\'s location
|
|
39272
|
+
* @param {EventsApiDeleteEventLocationRequest} requestParameters Request parameters.
|
|
39273
|
+
* @param {*} [options] Override http request option.
|
|
39274
|
+
* @throws {RequiredError}
|
|
39275
|
+
*/
|
|
39276
|
+
deleteEventLocation(requestParameters: EventsApiDeleteEventLocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEvent200Response> {
|
|
39277
|
+
return localVarFp.deleteEventLocation(requestParameters.eventId, options).then((request) => request(axios, basePath));
|
|
39278
|
+
},
|
|
39137
39279
|
/**
|
|
39138
39280
|
* Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
|
|
39139
39281
|
* @summary Disable build mode for an event
|
|
@@ -39204,6 +39346,16 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
|
|
|
39204
39346
|
getEvents(requestParameters: EventsApiGetEventsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetEvents200Response> {
|
|
39205
39347
|
return localVarFp.getEvents(requestParameters.past, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
39206
39348
|
},
|
|
39349
|
+
/**
|
|
39350
|
+
* Sets or updates the location details of an existing event, requiring the update events permission.
|
|
39351
|
+
* @summary Set an event\'s location
|
|
39352
|
+
* @param {EventsApiSetEventLocationRequest} requestParameters Request parameters.
|
|
39353
|
+
* @param {*} [options] Override http request option.
|
|
39354
|
+
* @throws {RequiredError}
|
|
39355
|
+
*/
|
|
39356
|
+
setEventLocation(requestParameters: EventsApiSetEventLocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEvent200Response> {
|
|
39357
|
+
return localVarFp.setEventLocation(requestParameters.eventId, requestParameters.eventLocationInputs, options).then((request) => request(axios, basePath));
|
|
39358
|
+
},
|
|
39207
39359
|
/**
|
|
39208
39360
|
* Updates the details of an existing event with the given fields, requiring the update events permission.
|
|
39209
39361
|
* @summary Update an event
|
|
@@ -39246,6 +39398,16 @@ export interface EventsApiDeleteEventRequest {
|
|
|
39246
39398
|
readonly eventId: string
|
|
39247
39399
|
}
|
|
39248
39400
|
|
|
39401
|
+
/**
|
|
39402
|
+
* Request parameters for deleteEventLocation operation in EventsApi.
|
|
39403
|
+
*/
|
|
39404
|
+
export interface EventsApiDeleteEventLocationRequest {
|
|
39405
|
+
/**
|
|
39406
|
+
* The event identifier
|
|
39407
|
+
*/
|
|
39408
|
+
readonly eventId: string
|
|
39409
|
+
}
|
|
39410
|
+
|
|
39249
39411
|
/**
|
|
39250
39412
|
* Request parameters for disableEventBuildMode operation in EventsApi.
|
|
39251
39413
|
*/
|
|
@@ -39391,6 +39553,18 @@ export interface EventsApiGetEventsRequest {
|
|
|
39391
39553
|
readonly search?: string
|
|
39392
39554
|
}
|
|
39393
39555
|
|
|
39556
|
+
/**
|
|
39557
|
+
* Request parameters for setEventLocation operation in EventsApi.
|
|
39558
|
+
*/
|
|
39559
|
+
export interface EventsApiSetEventLocationRequest {
|
|
39560
|
+
/**
|
|
39561
|
+
* The event identifier
|
|
39562
|
+
*/
|
|
39563
|
+
readonly eventId: string
|
|
39564
|
+
|
|
39565
|
+
readonly eventLocationInputs: EventLocationInputs
|
|
39566
|
+
}
|
|
39567
|
+
|
|
39394
39568
|
/**
|
|
39395
39569
|
* Request parameters for updateEvent operation in EventsApi.
|
|
39396
39570
|
*/
|
|
@@ -39440,6 +39614,17 @@ export class EventsApi extends BaseAPI {
|
|
|
39440
39614
|
return EventsApiFp(this.configuration).deleteEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
39441
39615
|
}
|
|
39442
39616
|
|
|
39617
|
+
/**
|
|
39618
|
+
* Clears the location details of an existing event, requiring the update events permission.
|
|
39619
|
+
* @summary Delete an event\'s location
|
|
39620
|
+
* @param {EventsApiDeleteEventLocationRequest} requestParameters Request parameters.
|
|
39621
|
+
* @param {*} [options] Override http request option.
|
|
39622
|
+
* @throws {RequiredError}
|
|
39623
|
+
*/
|
|
39624
|
+
public deleteEventLocation(requestParameters: EventsApiDeleteEventLocationRequest, options?: RawAxiosRequestConfig) {
|
|
39625
|
+
return EventsApiFp(this.configuration).deleteEventLocation(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
|
|
39626
|
+
}
|
|
39627
|
+
|
|
39443
39628
|
/**
|
|
39444
39629
|
* Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
|
|
39445
39630
|
* @summary Disable build mode for an event
|
|
@@ -39517,6 +39702,17 @@ export class EventsApi extends BaseAPI {
|
|
|
39517
39702
|
return EventsApiFp(this.configuration).getEvents(requestParameters.past, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
39518
39703
|
}
|
|
39519
39704
|
|
|
39705
|
+
/**
|
|
39706
|
+
* Sets or updates the location details of an existing event, requiring the update events permission.
|
|
39707
|
+
* @summary Set an event\'s location
|
|
39708
|
+
* @param {EventsApiSetEventLocationRequest} requestParameters Request parameters.
|
|
39709
|
+
* @param {*} [options] Override http request option.
|
|
39710
|
+
* @throws {RequiredError}
|
|
39711
|
+
*/
|
|
39712
|
+
public setEventLocation(requestParameters: EventsApiSetEventLocationRequest, options?: RawAxiosRequestConfig) {
|
|
39713
|
+
return EventsApiFp(this.configuration).setEventLocation(requestParameters.eventId, requestParameters.eventLocationInputs, options).then((request) => request(this.axios, this.basePath));
|
|
39714
|
+
}
|
|
39715
|
+
|
|
39520
39716
|
/**
|
|
39521
39717
|
* Updates the details of an existing event with the given fields, requiring the update events permission.
|
|
39522
39718
|
* @summary Update an event
|