@connectedxm/admin-sdk 7.5.1 → 7.8.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.
@@ -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;
@@ -1548,6 +1551,7 @@ export interface BaseEventSessionLocation {
1548
1551
  'city': string | null;
1549
1552
  'state': string | null;
1550
1553
  'country': string | null;
1554
+ 'location': string | null;
1551
1555
  'image': BaseImage | null;
1552
1556
  }
1553
1557
  export interface BaseEventSessionQuestion {
@@ -4670,6 +4674,9 @@ export interface Event {
4670
4674
  'state': string | null;
4671
4675
  'country': string | null;
4672
4676
  'zip': string | null;
4677
+ 'location': string | null;
4678
+ 'latitude': number | null;
4679
+ 'longitude': number | null;
4673
4680
  'imageId': string | null;
4674
4681
  'image': BaseImage | null;
4675
4682
  'squareImageId': string | null;
@@ -4684,6 +4691,8 @@ export interface Event {
4684
4691
  'paymentIntegrationId': string | null;
4685
4692
  'paymentIntegration': BasePaymentIntegration | null;
4686
4693
  'archived': boolean;
4694
+ 'mapImageLightUrl': string | null;
4695
+ 'mapImageDarkUrl': string | null;
4687
4696
  'roundName': string | null;
4688
4697
  'matchName': string | null;
4689
4698
  'passSupply': number | null;
@@ -5060,13 +5069,6 @@ export interface EventCreateInputs {
5060
5069
  'imageId'?: string | null;
5061
5070
  'squareImageId'?: string | null;
5062
5071
  '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
5072
  'creatorId'?: string | null;
5071
5073
  'seriesId'?: string | null;
5072
5074
  'registration'?: boolean;
@@ -5203,6 +5205,18 @@ export interface EventFollowupUpdateInputs {
5203
5205
  'guestDescription'?: string | null;
5204
5206
  'sortOrder'?: AdvertisementCreateInputsWeight | null;
5205
5207
  }
5208
+ export interface EventLocationInputs {
5209
+ 'venue'?: string | null;
5210
+ 'location'?: string | null;
5211
+ 'address1'?: string | null;
5212
+ 'address2'?: string | null;
5213
+ 'city'?: string | null;
5214
+ 'state'?: string | null;
5215
+ 'country'?: string | null;
5216
+ 'zip'?: string | null;
5217
+ 'latitude'?: number | null;
5218
+ 'longitude'?: number | null;
5219
+ }
5206
5220
  export interface EventMediaItem {
5207
5221
  'id': string;
5208
5222
  'name': string | null;
@@ -5889,12 +5903,16 @@ export interface EventSessionLocation {
5889
5903
  'city': string | null;
5890
5904
  'state': string | null;
5891
5905
  'country': string | null;
5906
+ 'location': string | null;
5892
5907
  'image': BaseImage | null;
5908
+ 'latitude': number | null;
5909
+ 'longitude': number | null;
5893
5910
  'description': string | null;
5894
5911
  'createdAt': string;
5895
5912
  'updatedAt': string;
5896
5913
  }
5897
5914
  export interface EventSessionLocationCreateInputs {
5915
+ 'location'?: string | null;
5898
5916
  'name': string;
5899
5917
  'description'?: string | null;
5900
5918
  'imageId'?: string | null;
@@ -5918,6 +5936,7 @@ export interface EventSessionLocationTranslationUpdateInputs {
5918
5936
  'description'?: string | null;
5919
5937
  }
5920
5938
  export interface EventSessionLocationUpdateInputs {
5939
+ 'location'?: string | null;
5921
5940
  'name'?: string;
5922
5941
  'description'?: string | null;
5923
5942
  'imageId'?: string | null;
@@ -6509,13 +6528,6 @@ export interface EventUpdateInputs {
6509
6528
  'imageId'?: string | null;
6510
6529
  'squareImageId'?: string | null;
6511
6530
  '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
6531
  'creatorId'?: string | null;
6520
6532
  'seriesId'?: string | null;
6521
6533
  'registration'?: boolean;
@@ -38523,6 +38535,46 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
38523
38535
  options: localVarRequestOptions,
38524
38536
  };
38525
38537
  },
38538
+ /**
38539
+ * Clears the location details of an existing event, requiring the update events permission.
38540
+ * @summary Delete an event\'s location
38541
+ * @param {string} eventId The event identifier
38542
+ * @param {*} [options] Override http request option.
38543
+ * @throws {RequiredError}
38544
+ */
38545
+ deleteEventLocation: async (eventId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38546
+ // verify required parameter 'eventId' is not null or undefined
38547
+ assertParamExists('deleteEventLocation', 'eventId', eventId)
38548
+ const localVarPath = `/events/{eventId}/location`
38549
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
38550
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38551
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38552
+ let baseOptions;
38553
+ if (configuration) {
38554
+ baseOptions = configuration.baseOptions;
38555
+ }
38556
+
38557
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
38558
+ const localVarHeaderParameter = {} as any;
38559
+ const localVarQueryParameter = {} as any;
38560
+
38561
+ // authentication ApiKeyAuth required
38562
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
38563
+
38564
+ // authentication OrganizationId required
38565
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
38566
+
38567
+ localVarHeaderParameter['Accept'] = 'application/json';
38568
+
38569
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38570
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38571
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38572
+
38573
+ return {
38574
+ url: toPathString(localVarUrlObj),
38575
+ options: localVarRequestOptions,
38576
+ };
38577
+ },
38526
38578
  /**
38527
38579
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
38528
38580
  * @summary Disable build mode for an event
@@ -38881,6 +38933,51 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
38881
38933
  options: localVarRequestOptions,
38882
38934
  };
38883
38935
  },
38936
+ /**
38937
+ * Sets or updates the location details of an existing event, requiring the update events permission.
38938
+ * @summary Set an event\'s location
38939
+ * @param {string} eventId The event identifier
38940
+ * @param {EventLocationInputs} eventLocationInputs
38941
+ * @param {*} [options] Override http request option.
38942
+ * @throws {RequiredError}
38943
+ */
38944
+ setEventLocation: async (eventId: string, eventLocationInputs: EventLocationInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38945
+ // verify required parameter 'eventId' is not null or undefined
38946
+ assertParamExists('setEventLocation', 'eventId', eventId)
38947
+ // verify required parameter 'eventLocationInputs' is not null or undefined
38948
+ assertParamExists('setEventLocation', 'eventLocationInputs', eventLocationInputs)
38949
+ const localVarPath = `/events/{eventId}/location`
38950
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
38951
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
38952
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
38953
+ let baseOptions;
38954
+ if (configuration) {
38955
+ baseOptions = configuration.baseOptions;
38956
+ }
38957
+
38958
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
38959
+ const localVarHeaderParameter = {} as any;
38960
+ const localVarQueryParameter = {} as any;
38961
+
38962
+ // authentication ApiKeyAuth required
38963
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
38964
+
38965
+ // authentication OrganizationId required
38966
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
38967
+
38968
+ localVarHeaderParameter['Content-Type'] = 'application/json';
38969
+ localVarHeaderParameter['Accept'] = 'application/json';
38970
+
38971
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
38972
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
38973
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
38974
+ localVarRequestOptions.data = serializeDataIfNeeded(eventLocationInputs, localVarRequestOptions, configuration)
38975
+
38976
+ return {
38977
+ url: toPathString(localVarUrlObj),
38978
+ options: localVarRequestOptions,
38979
+ };
38980
+ },
38884
38981
  /**
38885
38982
  * Updates the details of an existing event with the given fields, requiring the update events permission.
38886
38983
  * @summary Update an event
@@ -38975,6 +39072,19 @@ export const EventsApiFp = function(configuration?: Configuration) {
38975
39072
  const localVarOperationServerBasePath = operationServerMap['EventsApi.deleteEvent']?.[localVarOperationServerIndex]?.url;
38976
39073
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38977
39074
  },
39075
+ /**
39076
+ * Clears the location details of an existing event, requiring the update events permission.
39077
+ * @summary Delete an event\'s location
39078
+ * @param {string} eventId The event identifier
39079
+ * @param {*} [options] Override http request option.
39080
+ * @throws {RequiredError}
39081
+ */
39082
+ async deleteEventLocation(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEvent200Response>> {
39083
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteEventLocation(eventId, options);
39084
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39085
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.deleteEventLocation']?.[localVarOperationServerIndex]?.url;
39086
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39087
+ },
38978
39088
  /**
38979
39089
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
38980
39090
  * @summary Disable build mode for an event
@@ -39081,6 +39191,20 @@ export const EventsApiFp = function(configuration?: Configuration) {
39081
39191
  const localVarOperationServerBasePath = operationServerMap['EventsApi.getEvents']?.[localVarOperationServerIndex]?.url;
39082
39192
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39083
39193
  },
39194
+ /**
39195
+ * Sets or updates the location details of an existing event, requiring the update events permission.
39196
+ * @summary Set an event\'s location
39197
+ * @param {string} eventId The event identifier
39198
+ * @param {EventLocationInputs} eventLocationInputs
39199
+ * @param {*} [options] Override http request option.
39200
+ * @throws {RequiredError}
39201
+ */
39202
+ async setEventLocation(eventId: string, eventLocationInputs: EventLocationInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEvent200Response>> {
39203
+ const localVarAxiosArgs = await localVarAxiosParamCreator.setEventLocation(eventId, eventLocationInputs, options);
39204
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
39205
+ const localVarOperationServerBasePath = operationServerMap['EventsApi.setEventLocation']?.[localVarOperationServerIndex]?.url;
39206
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
39207
+ },
39084
39208
  /**
39085
39209
  * Updates the details of an existing event with the given fields, requiring the update events permission.
39086
39210
  * @summary Update an event
@@ -39134,6 +39258,16 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
39134
39258
  deleteEvent(requestParameters: EventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
39135
39259
  return localVarFp.deleteEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
39136
39260
  },
39261
+ /**
39262
+ * Clears the location details of an existing event, requiring the update events permission.
39263
+ * @summary Delete an event\'s location
39264
+ * @param {EventsApiDeleteEventLocationRequest} requestParameters Request parameters.
39265
+ * @param {*} [options] Override http request option.
39266
+ * @throws {RequiredError}
39267
+ */
39268
+ deleteEventLocation(requestParameters: EventsApiDeleteEventLocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEvent200Response> {
39269
+ return localVarFp.deleteEventLocation(requestParameters.eventId, options).then((request) => request(axios, basePath));
39270
+ },
39137
39271
  /**
39138
39272
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
39139
39273
  * @summary Disable build mode for an event
@@ -39204,6 +39338,16 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
39204
39338
  getEvents(requestParameters: EventsApiGetEventsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<GetEvents200Response> {
39205
39339
  return localVarFp.getEvents(requestParameters.past, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
39206
39340
  },
39341
+ /**
39342
+ * Sets or updates the location details of an existing event, requiring the update events permission.
39343
+ * @summary Set an event\'s location
39344
+ * @param {EventsApiSetEventLocationRequest} requestParameters Request parameters.
39345
+ * @param {*} [options] Override http request option.
39346
+ * @throws {RequiredError}
39347
+ */
39348
+ setEventLocation(requestParameters: EventsApiSetEventLocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEvent200Response> {
39349
+ return localVarFp.setEventLocation(requestParameters.eventId, requestParameters.eventLocationInputs, options).then((request) => request(axios, basePath));
39350
+ },
39207
39351
  /**
39208
39352
  * Updates the details of an existing event with the given fields, requiring the update events permission.
39209
39353
  * @summary Update an event
@@ -39246,6 +39390,16 @@ export interface EventsApiDeleteEventRequest {
39246
39390
  readonly eventId: string
39247
39391
  }
39248
39392
 
39393
+ /**
39394
+ * Request parameters for deleteEventLocation operation in EventsApi.
39395
+ */
39396
+ export interface EventsApiDeleteEventLocationRequest {
39397
+ /**
39398
+ * The event identifier
39399
+ */
39400
+ readonly eventId: string
39401
+ }
39402
+
39249
39403
  /**
39250
39404
  * Request parameters for disableEventBuildMode operation in EventsApi.
39251
39405
  */
@@ -39391,6 +39545,18 @@ export interface EventsApiGetEventsRequest {
39391
39545
  readonly search?: string
39392
39546
  }
39393
39547
 
39548
+ /**
39549
+ * Request parameters for setEventLocation operation in EventsApi.
39550
+ */
39551
+ export interface EventsApiSetEventLocationRequest {
39552
+ /**
39553
+ * The event identifier
39554
+ */
39555
+ readonly eventId: string
39556
+
39557
+ readonly eventLocationInputs: EventLocationInputs
39558
+ }
39559
+
39394
39560
  /**
39395
39561
  * Request parameters for updateEvent operation in EventsApi.
39396
39562
  */
@@ -39440,6 +39606,17 @@ export class EventsApi extends BaseAPI {
39440
39606
  return EventsApiFp(this.configuration).deleteEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
39441
39607
  }
39442
39608
 
39609
+ /**
39610
+ * Clears the location details of an existing event, requiring the update events permission.
39611
+ * @summary Delete an event\'s location
39612
+ * @param {EventsApiDeleteEventLocationRequest} requestParameters Request parameters.
39613
+ * @param {*} [options] Override http request option.
39614
+ * @throws {RequiredError}
39615
+ */
39616
+ public deleteEventLocation(requestParameters: EventsApiDeleteEventLocationRequest, options?: RawAxiosRequestConfig) {
39617
+ return EventsApiFp(this.configuration).deleteEventLocation(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
39618
+ }
39619
+
39443
39620
  /**
39444
39621
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
39445
39622
  * @summary Disable build mode for an event
@@ -39517,6 +39694,17 @@ export class EventsApi extends BaseAPI {
39517
39694
  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
39695
  }
39519
39696
 
39697
+ /**
39698
+ * Sets or updates the location details of an existing event, requiring the update events permission.
39699
+ * @summary Set an event\'s location
39700
+ * @param {EventsApiSetEventLocationRequest} requestParameters Request parameters.
39701
+ * @param {*} [options] Override http request option.
39702
+ * @throws {RequiredError}
39703
+ */
39704
+ public setEventLocation(requestParameters: EventsApiSetEventLocationRequest, options?: RawAxiosRequestConfig) {
39705
+ return EventsApiFp(this.configuration).setEventLocation(requestParameters.eventId, requestParameters.eventLocationInputs, options).then((request) => request(this.axios, this.basePath));
39706
+ }
39707
+
39520
39708
  /**
39521
39709
  * Updates the details of an existing event with the given fields, requiring the update events permission.
39522
39710
  * @summary Update an event
package/dist/api.d.ts CHANGED
@@ -1124,6 +1124,9 @@ export interface BaseEvent {
1124
1124
  'state': string | null;
1125
1125
  'country': string | null;
1126
1126
  'zip': string | null;
1127
+ 'location': string | null;
1128
+ 'latitude': number | null;
1129
+ 'longitude': number | null;
1127
1130
  'imageId': string | null;
1128
1131
  'image': BaseImage | null;
1129
1132
  'squareImageId': string | null;
@@ -1425,6 +1428,7 @@ export interface BaseEventSessionLocation {
1425
1428
  'city': string | null;
1426
1429
  'state': string | null;
1427
1430
  'country': string | null;
1431
+ 'location': string | null;
1428
1432
  'image': BaseImage | null;
1429
1433
  }
1430
1434
  export interface BaseEventSessionQuestion {
@@ -4231,6 +4235,9 @@ export interface Event {
4231
4235
  'state': string | null;
4232
4236
  'country': string | null;
4233
4237
  'zip': string | null;
4238
+ 'location': string | null;
4239
+ 'latitude': number | null;
4240
+ 'longitude': number | null;
4234
4241
  'imageId': string | null;
4235
4242
  'image': BaseImage | null;
4236
4243
  'squareImageId': string | null;
@@ -4245,6 +4252,8 @@ export interface Event {
4245
4252
  'paymentIntegrationId': string | null;
4246
4253
  'paymentIntegration': BasePaymentIntegration | null;
4247
4254
  'archived': boolean;
4255
+ 'mapImageLightUrl': string | null;
4256
+ 'mapImageDarkUrl': string | null;
4248
4257
  'roundName': string | null;
4249
4258
  'matchName': string | null;
4250
4259
  'passSupply': number | null;
@@ -4592,13 +4601,6 @@ export interface EventCreateInputs {
4592
4601
  'imageId'?: string | null;
4593
4602
  'squareImageId'?: string | null;
4594
4603
  'backgroundImageId'?: string | null;
4595
- 'venue'?: string | null;
4596
- 'address1'?: string | null;
4597
- 'address2'?: string | null;
4598
- 'city'?: string | null;
4599
- 'state'?: string | null;
4600
- 'country'?: string | null;
4601
- 'zip'?: string | null;
4602
4604
  'creatorId'?: string | null;
4603
4605
  'seriesId'?: string | null;
4604
4606
  'registration'?: boolean;
@@ -4726,6 +4728,18 @@ export interface EventFollowupUpdateInputs {
4726
4728
  'guestDescription'?: string | null;
4727
4729
  'sortOrder'?: AdvertisementCreateInputsWeight | null;
4728
4730
  }
4731
+ export interface EventLocationInputs {
4732
+ 'venue'?: string | null;
4733
+ 'location'?: string | null;
4734
+ 'address1'?: string | null;
4735
+ 'address2'?: string | null;
4736
+ 'city'?: string | null;
4737
+ 'state'?: string | null;
4738
+ 'country'?: string | null;
4739
+ 'zip'?: string | null;
4740
+ 'latitude'?: number | null;
4741
+ 'longitude'?: number | null;
4742
+ }
4729
4743
  export interface EventMediaItem {
4730
4744
  'id': string;
4731
4745
  'name': string | null;
@@ -5375,12 +5389,16 @@ export interface EventSessionLocation {
5375
5389
  'city': string | null;
5376
5390
  'state': string | null;
5377
5391
  'country': string | null;
5392
+ 'location': string | null;
5378
5393
  'image': BaseImage | null;
5394
+ 'latitude': number | null;
5395
+ 'longitude': number | null;
5379
5396
  'description': string | null;
5380
5397
  'createdAt': string;
5381
5398
  'updatedAt': string;
5382
5399
  }
5383
5400
  export interface EventSessionLocationCreateInputs {
5401
+ 'location'?: string | null;
5384
5402
  'name': string;
5385
5403
  'description'?: string | null;
5386
5404
  'imageId'?: string | null;
@@ -5404,6 +5422,7 @@ export interface EventSessionLocationTranslationUpdateInputs {
5404
5422
  'description'?: string | null;
5405
5423
  }
5406
5424
  export interface EventSessionLocationUpdateInputs {
5425
+ 'location'?: string | null;
5407
5426
  'name'?: string;
5408
5427
  'description'?: string | null;
5409
5428
  'imageId'?: string | null;
@@ -5975,13 +5994,6 @@ export interface EventUpdateInputs {
5975
5994
  'imageId'?: string | null;
5976
5995
  'squareImageId'?: string | null;
5977
5996
  'backgroundImageId'?: string | null;
5978
- 'venue'?: string | null;
5979
- 'address1'?: string | null;
5980
- 'address2'?: string | null;
5981
- 'city'?: string | null;
5982
- 'state'?: string | null;
5983
- 'country'?: string | null;
5984
- 'zip'?: string | null;
5985
5997
  'creatorId'?: string | null;
5986
5998
  'seriesId'?: string | null;
5987
5999
  'registration'?: boolean;
@@ -24893,6 +24905,14 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
24893
24905
  * @throws {RequiredError}
24894
24906
  */
24895
24907
  deleteEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24908
+ /**
24909
+ * Clears the location details of an existing event, requiring the update events permission.
24910
+ * @summary Delete an event\'s location
24911
+ * @param {string} eventId The event identifier
24912
+ * @param {*} [options] Override http request option.
24913
+ * @throws {RequiredError}
24914
+ */
24915
+ deleteEventLocation: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24896
24916
  /**
24897
24917
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
24898
24918
  * @summary Disable build mode for an event
@@ -24964,6 +24984,15 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
24964
24984
  * @throws {RequiredError}
24965
24985
  */
24966
24986
  getEvents: (past?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24987
+ /**
24988
+ * Sets or updates the location details of an existing event, requiring the update events permission.
24989
+ * @summary Set an event\'s location
24990
+ * @param {string} eventId The event identifier
24991
+ * @param {EventLocationInputs} eventLocationInputs
24992
+ * @param {*} [options] Override http request option.
24993
+ * @throws {RequiredError}
24994
+ */
24995
+ setEventLocation: (eventId: string, eventLocationInputs: EventLocationInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24967
24996
  /**
24968
24997
  * Updates the details of an existing event with the given fields, requiring the update events permission.
24969
24998
  * @summary Update an event
@@ -25003,6 +25032,14 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
25003
25032
  * @throws {RequiredError}
25004
25033
  */
25005
25034
  deleteEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
25035
+ /**
25036
+ * Clears the location details of an existing event, requiring the update events permission.
25037
+ * @summary Delete an event\'s location
25038
+ * @param {string} eventId The event identifier
25039
+ * @param {*} [options] Override http request option.
25040
+ * @throws {RequiredError}
25041
+ */
25042
+ deleteEventLocation(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEvent200Response>>;
25006
25043
  /**
25007
25044
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
25008
25045
  * @summary Disable build mode for an event
@@ -25074,6 +25111,15 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
25074
25111
  * @throws {RequiredError}
25075
25112
  */
25076
25113
  getEvents(past?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvents200Response>>;
25114
+ /**
25115
+ * Sets or updates the location details of an existing event, requiring the update events permission.
25116
+ * @summary Set an event\'s location
25117
+ * @param {string} eventId The event identifier
25118
+ * @param {EventLocationInputs} eventLocationInputs
25119
+ * @param {*} [options] Override http request option.
25120
+ * @throws {RequiredError}
25121
+ */
25122
+ setEventLocation(eventId: string, eventLocationInputs: EventLocationInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEvent200Response>>;
25077
25123
  /**
25078
25124
  * Updates the details of an existing event with the given fields, requiring the update events permission.
25079
25125
  * @summary Update an event
@@ -25112,6 +25158,14 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
25112
25158
  * @throws {RequiredError}
25113
25159
  */
25114
25160
  deleteEvent(requestParameters: EventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
25161
+ /**
25162
+ * Clears the location details of an existing event, requiring the update events permission.
25163
+ * @summary Delete an event\'s location
25164
+ * @param {EventsApiDeleteEventLocationRequest} requestParameters Request parameters.
25165
+ * @param {*} [options] Override http request option.
25166
+ * @throws {RequiredError}
25167
+ */
25168
+ deleteEventLocation(requestParameters: EventsApiDeleteEventLocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEvent200Response>;
25115
25169
  /**
25116
25170
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
25117
25171
  * @summary Disable build mode for an event
@@ -25168,6 +25222,14 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
25168
25222
  * @throws {RequiredError}
25169
25223
  */
25170
25224
  getEvents(requestParameters?: EventsApiGetEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEvents200Response>;
25225
+ /**
25226
+ * Sets or updates the location details of an existing event, requiring the update events permission.
25227
+ * @summary Set an event\'s location
25228
+ * @param {EventsApiSetEventLocationRequest} requestParameters Request parameters.
25229
+ * @param {*} [options] Override http request option.
25230
+ * @throws {RequiredError}
25231
+ */
25232
+ setEventLocation(requestParameters: EventsApiSetEventLocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEvent200Response>;
25171
25233
  /**
25172
25234
  * Updates the details of an existing event with the given fields, requiring the update events permission.
25173
25235
  * @summary Update an event
@@ -25202,6 +25264,15 @@ export interface EventsApiDeleteEventRequest {
25202
25264
  */
25203
25265
  readonly eventId: string;
25204
25266
  }
25267
+ /**
25268
+ * Request parameters for deleteEventLocation operation in EventsApi.
25269
+ */
25270
+ export interface EventsApiDeleteEventLocationRequest {
25271
+ /**
25272
+ * The event identifier
25273
+ */
25274
+ readonly eventId: string;
25275
+ }
25205
25276
  /**
25206
25277
  * Request parameters for disableEventBuildMode operation in EventsApi.
25207
25278
  */
@@ -25325,6 +25396,16 @@ export interface EventsApiGetEventsRequest {
25325
25396
  */
25326
25397
  readonly search?: string;
25327
25398
  }
25399
+ /**
25400
+ * Request parameters for setEventLocation operation in EventsApi.
25401
+ */
25402
+ export interface EventsApiSetEventLocationRequest {
25403
+ /**
25404
+ * The event identifier
25405
+ */
25406
+ readonly eventId: string;
25407
+ readonly eventLocationInputs: EventLocationInputs;
25408
+ }
25328
25409
  /**
25329
25410
  * Request parameters for updateEvent operation in EventsApi.
25330
25411
  */
@@ -25363,6 +25444,14 @@ export declare class EventsApi extends BaseAPI {
25363
25444
  * @throws {RequiredError}
25364
25445
  */
25365
25446
  deleteEvent(requestParameters: EventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}>>;
25447
+ /**
25448
+ * Clears the location details of an existing event, requiring the update events permission.
25449
+ * @summary Delete an event\'s location
25450
+ * @param {EventsApiDeleteEventLocationRequest} requestParameters Request parameters.
25451
+ * @param {*} [options] Override http request option.
25452
+ * @throws {RequiredError}
25453
+ */
25454
+ deleteEventLocation(requestParameters: EventsApiDeleteEventLocationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEvent200Response, any, {}>>;
25366
25455
  /**
25367
25456
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
25368
25457
  * @summary Disable build mode for an event
@@ -25419,6 +25508,14 @@ export declare class EventsApi extends BaseAPI {
25419
25508
  * @throws {RequiredError}
25420
25509
  */
25421
25510
  getEvents(requestParameters?: EventsApiGetEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEvents200Response, any, {}>>;
25511
+ /**
25512
+ * Sets or updates the location details of an existing event, requiring the update events permission.
25513
+ * @summary Set an event\'s location
25514
+ * @param {EventsApiSetEventLocationRequest} requestParameters Request parameters.
25515
+ * @param {*} [options] Override http request option.
25516
+ * @throws {RequiredError}
25517
+ */
25518
+ setEventLocation(requestParameters: EventsApiSetEventLocationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEvent200Response, any, {}>>;
25422
25519
  /**
25423
25520
  * Updates the details of an existing event with the given fields, requiring the update events permission.
25424
25521
  * @summary Update an event