@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/dist/esm/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;
@@ -1419,12 +1422,14 @@ export interface BaseEventSessionAccess {
1419
1422
  export interface BaseEventSessionLocation {
1420
1423
  'id': string;
1421
1424
  'name': string;
1425
+ 'room': string | null;
1422
1426
  'address1': string | null;
1423
1427
  'address2': string | null;
1424
1428
  'zip': string | null;
1425
1429
  'city': string | null;
1426
1430
  'state': string | null;
1427
1431
  'country': string | null;
1432
+ 'location': string | null;
1428
1433
  'image': BaseImage | null;
1429
1434
  }
1430
1435
  export interface BaseEventSessionQuestion {
@@ -4231,6 +4236,9 @@ export interface Event {
4231
4236
  'state': string | null;
4232
4237
  'country': string | null;
4233
4238
  'zip': string | null;
4239
+ 'location': string | null;
4240
+ 'latitude': number | null;
4241
+ 'longitude': number | null;
4234
4242
  'imageId': string | null;
4235
4243
  'image': BaseImage | null;
4236
4244
  'squareImageId': string | null;
@@ -4245,6 +4253,8 @@ export interface Event {
4245
4253
  'paymentIntegrationId': string | null;
4246
4254
  'paymentIntegration': BasePaymentIntegration | null;
4247
4255
  'archived': boolean;
4256
+ 'mapImageLightUrl': string | null;
4257
+ 'mapImageDarkUrl': string | null;
4248
4258
  'roundName': string | null;
4249
4259
  'matchName': string | null;
4250
4260
  'passSupply': number | null;
@@ -4592,13 +4602,6 @@ export interface EventCreateInputs {
4592
4602
  'imageId'?: string | null;
4593
4603
  'squareImageId'?: string | null;
4594
4604
  '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
4605
  'creatorId'?: string | null;
4603
4606
  'seriesId'?: string | null;
4604
4607
  'registration'?: boolean;
@@ -4726,6 +4729,18 @@ export interface EventFollowupUpdateInputs {
4726
4729
  'guestDescription'?: string | null;
4727
4730
  'sortOrder'?: AdvertisementCreateInputsWeight | null;
4728
4731
  }
4732
+ export interface EventLocationInputs {
4733
+ 'venue'?: string | null;
4734
+ 'location'?: string | null;
4735
+ 'address1'?: string | null;
4736
+ 'address2'?: string | null;
4737
+ 'city'?: string | null;
4738
+ 'state'?: string | null;
4739
+ 'country'?: string | null;
4740
+ 'zip'?: string | null;
4741
+ 'latitude'?: number | null;
4742
+ 'longitude'?: number | null;
4743
+ }
4729
4744
  export interface EventMediaItem {
4730
4745
  'id': string;
4731
4746
  'name': string | null;
@@ -5369,19 +5384,25 @@ export interface EventSessionCreateInputs {
5369
5384
  export interface EventSessionLocation {
5370
5385
  'id': string;
5371
5386
  'name': string;
5387
+ 'room': string | null;
5372
5388
  'address1': string | null;
5373
5389
  'address2': string | null;
5374
5390
  'zip': string | null;
5375
5391
  'city': string | null;
5376
5392
  'state': string | null;
5377
5393
  'country': string | null;
5394
+ 'location': string | null;
5378
5395
  'image': BaseImage | null;
5396
+ 'latitude': number | null;
5397
+ 'longitude': number | null;
5379
5398
  'description': string | null;
5380
5399
  'createdAt': string;
5381
5400
  'updatedAt': string;
5382
5401
  }
5383
5402
  export interface EventSessionLocationCreateInputs {
5403
+ 'location'?: string | null;
5384
5404
  'name': string;
5405
+ 'room'?: string | null;
5385
5406
  'description'?: string | null;
5386
5407
  'imageId'?: string | null;
5387
5408
  'address1'?: string | null;
@@ -5390,6 +5411,8 @@ export interface EventSessionLocationCreateInputs {
5390
5411
  'state'?: string | null;
5391
5412
  'country'?: string | null;
5392
5413
  'zip'?: string | null;
5414
+ 'latitude'?: number | null;
5415
+ 'longitude'?: number | null;
5393
5416
  }
5394
5417
  export interface EventSessionLocationTranslation {
5395
5418
  'id': string;
@@ -5404,7 +5427,9 @@ export interface EventSessionLocationTranslationUpdateInputs {
5404
5427
  'description'?: string | null;
5405
5428
  }
5406
5429
  export interface EventSessionLocationUpdateInputs {
5430
+ 'location'?: string | null;
5407
5431
  'name'?: string;
5432
+ 'room'?: string | null;
5408
5433
  'description'?: string | null;
5409
5434
  'imageId'?: string | null;
5410
5435
  'address1'?: string | null;
@@ -5413,6 +5438,8 @@ export interface EventSessionLocationUpdateInputs {
5413
5438
  'state'?: string | null;
5414
5439
  'country'?: string | null;
5415
5440
  'zip'?: string | null;
5441
+ 'latitude'?: number | null;
5442
+ 'longitude'?: number | null;
5416
5443
  }
5417
5444
  export interface EventSessionPrice {
5418
5445
  'id': string;
@@ -5975,13 +6002,6 @@ export interface EventUpdateInputs {
5975
6002
  'imageId'?: string | null;
5976
6003
  'squareImageId'?: string | null;
5977
6004
  '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
6005
  'creatorId'?: string | null;
5986
6006
  'seriesId'?: string | null;
5987
6007
  'registration'?: boolean;
@@ -24893,6 +24913,14 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
24893
24913
  * @throws {RequiredError}
24894
24914
  */
24895
24915
  deleteEvent: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24916
+ /**
24917
+ * Clears the location details of an existing event, requiring the update events permission.
24918
+ * @summary Delete an event\'s location
24919
+ * @param {string} eventId The event identifier
24920
+ * @param {*} [options] Override http request option.
24921
+ * @throws {RequiredError}
24922
+ */
24923
+ deleteEventLocation: (eventId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24896
24924
  /**
24897
24925
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
24898
24926
  * @summary Disable build mode for an event
@@ -24964,6 +24992,15 @@ export declare const EventsApiAxiosParamCreator: (configuration?: Configuration)
24964
24992
  * @throws {RequiredError}
24965
24993
  */
24966
24994
  getEvents: (past?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24995
+ /**
24996
+ * Sets or updates the location details of an existing event, requiring the update events permission.
24997
+ * @summary Set an event\'s location
24998
+ * @param {string} eventId The event identifier
24999
+ * @param {EventLocationInputs} eventLocationInputs
25000
+ * @param {*} [options] Override http request option.
25001
+ * @throws {RequiredError}
25002
+ */
25003
+ setEventLocation: (eventId: string, eventLocationInputs: EventLocationInputs, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24967
25004
  /**
24968
25005
  * Updates the details of an existing event with the given fields, requiring the update events permission.
24969
25006
  * @summary Update an event
@@ -25003,6 +25040,14 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
25003
25040
  * @throws {RequiredError}
25004
25041
  */
25005
25042
  deleteEvent(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateAccountInvitations200Response>>;
25043
+ /**
25044
+ * Clears the location details of an existing event, requiring the update events permission.
25045
+ * @summary Delete an event\'s location
25046
+ * @param {string} eventId The event identifier
25047
+ * @param {*} [options] Override http request option.
25048
+ * @throws {RequiredError}
25049
+ */
25050
+ deleteEventLocation(eventId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEvent200Response>>;
25006
25051
  /**
25007
25052
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
25008
25053
  * @summary Disable build mode for an event
@@ -25074,6 +25119,15 @@ export declare const EventsApiFp: (configuration?: Configuration) => {
25074
25119
  * @throws {RequiredError}
25075
25120
  */
25076
25121
  getEvents(past?: boolean, featured?: boolean, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEvents200Response>>;
25122
+ /**
25123
+ * Sets or updates the location details of an existing event, requiring the update events permission.
25124
+ * @summary Set an event\'s location
25125
+ * @param {string} eventId The event identifier
25126
+ * @param {EventLocationInputs} eventLocationInputs
25127
+ * @param {*} [options] Override http request option.
25128
+ * @throws {RequiredError}
25129
+ */
25130
+ setEventLocation(eventId: string, eventLocationInputs: EventLocationInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEvent200Response>>;
25077
25131
  /**
25078
25132
  * Updates the details of an existing event with the given fields, requiring the update events permission.
25079
25133
  * @summary Update an event
@@ -25112,6 +25166,14 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
25112
25166
  * @throws {RequiredError}
25113
25167
  */
25114
25168
  deleteEvent(requestParameters: EventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response>;
25169
+ /**
25170
+ * Clears the location details of an existing event, requiring the update events permission.
25171
+ * @summary Delete an event\'s location
25172
+ * @param {EventsApiDeleteEventLocationRequest} requestParameters Request parameters.
25173
+ * @param {*} [options] Override http request option.
25174
+ * @throws {RequiredError}
25175
+ */
25176
+ deleteEventLocation(requestParameters: EventsApiDeleteEventLocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEvent200Response>;
25115
25177
  /**
25116
25178
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
25117
25179
  * @summary Disable build mode for an event
@@ -25168,6 +25230,14 @@ export declare const EventsApiFactory: (configuration?: Configuration, basePath?
25168
25230
  * @throws {RequiredError}
25169
25231
  */
25170
25232
  getEvents(requestParameters?: EventsApiGetEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEvents200Response>;
25233
+ /**
25234
+ * Sets or updates the location details of an existing event, requiring the update events permission.
25235
+ * @summary Set an event\'s location
25236
+ * @param {EventsApiSetEventLocationRequest} requestParameters Request parameters.
25237
+ * @param {*} [options] Override http request option.
25238
+ * @throws {RequiredError}
25239
+ */
25240
+ setEventLocation(requestParameters: EventsApiSetEventLocationRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEvent200Response>;
25171
25241
  /**
25172
25242
  * Updates the details of an existing event with the given fields, requiring the update events permission.
25173
25243
  * @summary Update an event
@@ -25202,6 +25272,15 @@ export interface EventsApiDeleteEventRequest {
25202
25272
  */
25203
25273
  readonly eventId: string;
25204
25274
  }
25275
+ /**
25276
+ * Request parameters for deleteEventLocation operation in EventsApi.
25277
+ */
25278
+ export interface EventsApiDeleteEventLocationRequest {
25279
+ /**
25280
+ * The event identifier
25281
+ */
25282
+ readonly eventId: string;
25283
+ }
25205
25284
  /**
25206
25285
  * Request parameters for disableEventBuildMode operation in EventsApi.
25207
25286
  */
@@ -25325,6 +25404,16 @@ export interface EventsApiGetEventsRequest {
25325
25404
  */
25326
25405
  readonly search?: string;
25327
25406
  }
25407
+ /**
25408
+ * Request parameters for setEventLocation operation in EventsApi.
25409
+ */
25410
+ export interface EventsApiSetEventLocationRequest {
25411
+ /**
25412
+ * The event identifier
25413
+ */
25414
+ readonly eventId: string;
25415
+ readonly eventLocationInputs: EventLocationInputs;
25416
+ }
25328
25417
  /**
25329
25418
  * Request parameters for updateEvent operation in EventsApi.
25330
25419
  */
@@ -25363,6 +25452,14 @@ export declare class EventsApi extends BaseAPI {
25363
25452
  * @throws {RequiredError}
25364
25453
  */
25365
25454
  deleteEvent(requestParameters: EventsApiDeleteEventRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateAccountInvitations200Response, any, {}>>;
25455
+ /**
25456
+ * Clears the location details of an existing event, requiring the update events permission.
25457
+ * @summary Delete an event\'s location
25458
+ * @param {EventsApiDeleteEventLocationRequest} requestParameters Request parameters.
25459
+ * @param {*} [options] Override http request option.
25460
+ * @throws {RequiredError}
25461
+ */
25462
+ deleteEventLocation(requestParameters: EventsApiDeleteEventLocationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEvent200Response, any, {}>>;
25366
25463
  /**
25367
25464
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
25368
25465
  * @summary Disable build mode for an event
@@ -25419,6 +25516,14 @@ export declare class EventsApi extends BaseAPI {
25419
25516
  * @throws {RequiredError}
25420
25517
  */
25421
25518
  getEvents(requestParameters?: EventsApiGetEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetEvents200Response, any, {}>>;
25519
+ /**
25520
+ * Sets or updates the location details of an existing event, requiring the update events permission.
25521
+ * @summary Set an event\'s location
25522
+ * @param {EventsApiSetEventLocationRequest} requestParameters Request parameters.
25523
+ * @param {*} [options] Override http request option.
25524
+ * @throws {RequiredError}
25525
+ */
25526
+ setEventLocation(requestParameters: EventsApiSetEventLocationRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateEvent200Response, any, {}>>;
25422
25527
  /**
25423
25528
  * Updates the details of an existing event with the given fields, requiring the update events permission.
25424
25529
  * @summary Update an event
package/dist/esm/api.js CHANGED
@@ -21240,6 +21240,40 @@ export const EventsApiAxiosParamCreator = function (configuration) {
21240
21240
  options: localVarRequestOptions,
21241
21241
  };
21242
21242
  }),
21243
+ /**
21244
+ * Clears the location details of an existing event, requiring the update events permission.
21245
+ * @summary Delete an event\'s location
21246
+ * @param {string} eventId The event identifier
21247
+ * @param {*} [options] Override http request option.
21248
+ * @throws {RequiredError}
21249
+ */
21250
+ deleteEventLocation: (eventId_1, ...args_1) => __awaiter(this, [eventId_1, ...args_1], void 0, function* (eventId, options = {}) {
21251
+ // verify required parameter 'eventId' is not null or undefined
21252
+ assertParamExists('deleteEventLocation', 'eventId', eventId);
21253
+ const localVarPath = `/events/{eventId}/location`
21254
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
21255
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21256
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21257
+ let baseOptions;
21258
+ if (configuration) {
21259
+ baseOptions = configuration.baseOptions;
21260
+ }
21261
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
21262
+ const localVarHeaderParameter = {};
21263
+ const localVarQueryParameter = {};
21264
+ // authentication ApiKeyAuth required
21265
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
21266
+ // authentication OrganizationId required
21267
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
21268
+ localVarHeaderParameter['Accept'] = 'application/json';
21269
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21270
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21271
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
21272
+ return {
21273
+ url: toPathString(localVarUrlObj),
21274
+ options: localVarRequestOptions,
21275
+ };
21276
+ }),
21243
21277
  /**
21244
21278
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
21245
21279
  * @summary Disable build mode for an event
@@ -21540,6 +21574,45 @@ export const EventsApiAxiosParamCreator = function (configuration) {
21540
21574
  options: localVarRequestOptions,
21541
21575
  };
21542
21576
  }),
21577
+ /**
21578
+ * Sets or updates the location details of an existing event, requiring the update events permission.
21579
+ * @summary Set an event\'s location
21580
+ * @param {string} eventId The event identifier
21581
+ * @param {EventLocationInputs} eventLocationInputs
21582
+ * @param {*} [options] Override http request option.
21583
+ * @throws {RequiredError}
21584
+ */
21585
+ setEventLocation: (eventId_1, eventLocationInputs_1, ...args_1) => __awaiter(this, [eventId_1, eventLocationInputs_1, ...args_1], void 0, function* (eventId, eventLocationInputs, options = {}) {
21586
+ // verify required parameter 'eventId' is not null or undefined
21587
+ assertParamExists('setEventLocation', 'eventId', eventId);
21588
+ // verify required parameter 'eventLocationInputs' is not null or undefined
21589
+ assertParamExists('setEventLocation', 'eventLocationInputs', eventLocationInputs);
21590
+ const localVarPath = `/events/{eventId}/location`
21591
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
21592
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21593
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21594
+ let baseOptions;
21595
+ if (configuration) {
21596
+ baseOptions = configuration.baseOptions;
21597
+ }
21598
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'PUT' }, baseOptions), options);
21599
+ const localVarHeaderParameter = {};
21600
+ const localVarQueryParameter = {};
21601
+ // authentication ApiKeyAuth required
21602
+ yield setApiKeyToObject(localVarHeaderParameter, "api-key", configuration);
21603
+ // authentication OrganizationId required
21604
+ yield setApiKeyToObject(localVarHeaderParameter, "organization", configuration);
21605
+ localVarHeaderParameter['Content-Type'] = 'application/json';
21606
+ localVarHeaderParameter['Accept'] = 'application/json';
21607
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21608
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21609
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
21610
+ localVarRequestOptions.data = serializeDataIfNeeded(eventLocationInputs, localVarRequestOptions, configuration);
21611
+ return {
21612
+ url: toPathString(localVarUrlObj),
21613
+ options: localVarRequestOptions,
21614
+ };
21615
+ }),
21543
21616
  /**
21544
21617
  * Updates the details of an existing event with the given fields, requiring the update events permission.
21545
21618
  * @summary Update an event
@@ -21636,6 +21709,22 @@ export const EventsApiFp = function (configuration) {
21636
21709
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21637
21710
  });
21638
21711
  },
21712
+ /**
21713
+ * Clears the location details of an existing event, requiring the update events permission.
21714
+ * @summary Delete an event\'s location
21715
+ * @param {string} eventId The event identifier
21716
+ * @param {*} [options] Override http request option.
21717
+ * @throws {RequiredError}
21718
+ */
21719
+ deleteEventLocation(eventId, options) {
21720
+ return __awaiter(this, void 0, void 0, function* () {
21721
+ var _a, _b, _c;
21722
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteEventLocation(eventId, options);
21723
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
21724
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.deleteEventLocation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
21725
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21726
+ });
21727
+ },
21639
21728
  /**
21640
21729
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
21641
21730
  * @summary Disable build mode for an event
@@ -21763,6 +21852,23 @@ export const EventsApiFp = function (configuration) {
21763
21852
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21764
21853
  });
21765
21854
  },
21855
+ /**
21856
+ * Sets or updates the location details of an existing event, requiring the update events permission.
21857
+ * @summary Set an event\'s location
21858
+ * @param {string} eventId The event identifier
21859
+ * @param {EventLocationInputs} eventLocationInputs
21860
+ * @param {*} [options] Override http request option.
21861
+ * @throws {RequiredError}
21862
+ */
21863
+ setEventLocation(eventId, eventLocationInputs, options) {
21864
+ return __awaiter(this, void 0, void 0, function* () {
21865
+ var _a, _b, _c;
21866
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.setEventLocation(eventId, eventLocationInputs, options);
21867
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
21868
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventsApi.setEventLocation']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
21869
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21870
+ });
21871
+ },
21766
21872
  /**
21767
21873
  * Updates the details of an existing event with the given fields, requiring the update events permission.
21768
21874
  * @summary Update an event
@@ -21818,6 +21924,16 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
21818
21924
  deleteEvent(requestParameters, options) {
21819
21925
  return localVarFp.deleteEvent(requestParameters.eventId, options).then((request) => request(axios, basePath));
21820
21926
  },
21927
+ /**
21928
+ * Clears the location details of an existing event, requiring the update events permission.
21929
+ * @summary Delete an event\'s location
21930
+ * @param {EventsApiDeleteEventLocationRequest} requestParameters Request parameters.
21931
+ * @param {*} [options] Override http request option.
21932
+ * @throws {RequiredError}
21933
+ */
21934
+ deleteEventLocation(requestParameters, options) {
21935
+ return localVarFp.deleteEventLocation(requestParameters.eventId, options).then((request) => request(axios, basePath));
21936
+ },
21821
21937
  /**
21822
21938
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
21823
21939
  * @summary Disable build mode for an event
@@ -21888,6 +22004,16 @@ export const EventsApiFactory = function (configuration, basePath, axios) {
21888
22004
  getEvents(requestParameters = {}, options) {
21889
22005
  return localVarFp.getEvents(requestParameters.past, requestParameters.featured, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
21890
22006
  },
22007
+ /**
22008
+ * Sets or updates the location details of an existing event, requiring the update events permission.
22009
+ * @summary Set an event\'s location
22010
+ * @param {EventsApiSetEventLocationRequest} requestParameters Request parameters.
22011
+ * @param {*} [options] Override http request option.
22012
+ * @throws {RequiredError}
22013
+ */
22014
+ setEventLocation(requestParameters, options) {
22015
+ return localVarFp.setEventLocation(requestParameters.eventId, requestParameters.eventLocationInputs, options).then((request) => request(axios, basePath));
22016
+ },
21891
22017
  /**
21892
22018
  * Updates the details of an existing event with the given fields, requiring the update events permission.
21893
22019
  * @summary Update an event
@@ -21934,6 +22060,16 @@ export class EventsApi extends BaseAPI {
21934
22060
  deleteEvent(requestParameters, options) {
21935
22061
  return EventsApiFp(this.configuration).deleteEvent(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
21936
22062
  }
22063
+ /**
22064
+ * Clears the location details of an existing event, requiring the update events permission.
22065
+ * @summary Delete an event\'s location
22066
+ * @param {EventsApiDeleteEventLocationRequest} requestParameters Request parameters.
22067
+ * @param {*} [options] Override http request option.
22068
+ * @throws {RequiredError}
22069
+ */
22070
+ deleteEventLocation(requestParameters, options) {
22071
+ return EventsApiFp(this.configuration).deleteEventLocation(requestParameters.eventId, options).then((request) => request(this.axios, this.basePath));
22072
+ }
21937
22073
  /**
21938
22074
  * Turns off build mode for an event ahead of its scheduled expiration, restoring normal access restrictions; requires the update events permission.
21939
22075
  * @summary Disable build mode for an event
@@ -22004,6 +22140,16 @@ export class EventsApi extends BaseAPI {
22004
22140
  getEvents(requestParameters = {}, options) {
22005
22141
  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));
22006
22142
  }
22143
+ /**
22144
+ * Sets or updates the location details of an existing event, requiring the update events permission.
22145
+ * @summary Set an event\'s location
22146
+ * @param {EventsApiSetEventLocationRequest} requestParameters Request parameters.
22147
+ * @param {*} [options] Override http request option.
22148
+ * @throws {RequiredError}
22149
+ */
22150
+ setEventLocation(requestParameters, options) {
22151
+ return EventsApiFp(this.configuration).setEventLocation(requestParameters.eventId, requestParameters.eventLocationInputs, options).then((request) => request(this.axios, this.basePath));
22152
+ }
22007
22153
  /**
22008
22154
  * Updates the details of an existing event with the given fields, requiring the update events permission.
22009
22155
  * @summary Update an event
package/docs/BaseEvent.md CHANGED
@@ -26,6 +26,9 @@ Name | Type | Description | Notes
26
26
  **state** | **string** | | [default to undefined]
27
27
  **country** | **string** | | [default to undefined]
28
28
  **zip** | **string** | | [default to undefined]
29
+ **location** | **string** | | [default to undefined]
30
+ **latitude** | **number** | | [default to undefined]
31
+ **longitude** | **number** | | [default to undefined]
29
32
  **imageId** | **string** | | [default to undefined]
30
33
  **image** | [**BaseImage**](BaseImage.md) | | [default to undefined]
31
34
  **squareImageId** | **string** | | [default to undefined]
@@ -68,6 +71,9 @@ const instance: BaseEvent = {
68
71
  state,
69
72
  country,
70
73
  zip,
74
+ location,
75
+ latitude,
76
+ longitude,
71
77
  imageId,
72
78
  image,
73
79
  squareImageId,
@@ -7,12 +7,14 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **id** | **string** | | [default to undefined]
9
9
  **name** | **string** | | [default to undefined]
10
+ **room** | **string** | | [default to undefined]
10
11
  **address1** | **string** | | [default to undefined]
11
12
  **address2** | **string** | | [default to undefined]
12
13
  **zip** | **string** | | [default to undefined]
13
14
  **city** | **string** | | [default to undefined]
14
15
  **state** | **string** | | [default to undefined]
15
16
  **country** | **string** | | [default to undefined]
17
+ **location** | **string** | | [default to undefined]
16
18
  **image** | [**BaseImage**](BaseImage.md) | | [default to undefined]
17
19
 
18
20
  ## Example
@@ -23,12 +25,14 @@ import { BaseEventSessionLocation } from '@connectedxm/admin-sdk';
23
25
  const instance: BaseEventSessionLocation = {
24
26
  id,
25
27
  name,
28
+ room,
26
29
  address1,
27
30
  address2,
28
31
  zip,
29
32
  city,
30
33
  state,
31
34
  country,
35
+ location,
32
36
  image,
33
37
  };
34
38
  ```
package/docs/Event.md CHANGED
@@ -26,6 +26,9 @@ Name | Type | Description | Notes
26
26
  **state** | **string** | | [default to undefined]
27
27
  **country** | **string** | | [default to undefined]
28
28
  **zip** | **string** | | [default to undefined]
29
+ **location** | **string** | | [default to undefined]
30
+ **latitude** | **number** | | [default to undefined]
31
+ **longitude** | **number** | | [default to undefined]
29
32
  **imageId** | **string** | | [default to undefined]
30
33
  **image** | [**BaseImage**](BaseImage.md) | | [default to undefined]
31
34
  **squareImageId** | **string** | | [default to undefined]
@@ -40,6 +43,8 @@ Name | Type | Description | Notes
40
43
  **paymentIntegrationId** | **string** | | [default to undefined]
41
44
  **paymentIntegration** | [**BasePaymentIntegration**](BasePaymentIntegration.md) | | [default to undefined]
42
45
  **archived** | **boolean** | | [default to undefined]
46
+ **mapImageLightUrl** | **string** | | [default to undefined]
47
+ **mapImageDarkUrl** | **string** | | [default to undefined]
43
48
  **roundName** | **string** | | [default to undefined]
44
49
  **matchName** | **string** | | [default to undefined]
45
50
  **passSupply** | **number** | | [default to undefined]
@@ -112,6 +117,9 @@ const instance: Event = {
112
117
  state,
113
118
  country,
114
119
  zip,
120
+ location,
121
+ latitude,
122
+ longitude,
115
123
  imageId,
116
124
  image,
117
125
  squareImageId,
@@ -126,6 +134,8 @@ const instance: Event = {
126
134
  paymentIntegrationId,
127
135
  paymentIntegration,
128
136
  archived,
137
+ mapImageLightUrl,
138
+ mapImageDarkUrl,
129
139
  roundName,
130
140
  matchName,
131
141
  passSupply,
@@ -23,13 +23,6 @@ Name | Type | Description | Notes
23
23
  **imageId** | **string** | | [optional] [default to undefined]
24
24
  **squareImageId** | **string** | | [optional] [default to undefined]
25
25
  **backgroundImageId** | **string** | | [optional] [default to undefined]
26
- **venue** | **string** | | [optional] [default to undefined]
27
- **address1** | **string** | | [optional] [default to undefined]
28
- **address2** | **string** | | [optional] [default to undefined]
29
- **city** | **string** | | [optional] [default to undefined]
30
- **state** | **string** | | [optional] [default to undefined]
31
- **country** | **string** | | [optional] [default to undefined]
32
- **zip** | **string** | | [optional] [default to undefined]
33
26
  **creatorId** | **string** | | [optional] [default to undefined]
34
27
  **seriesId** | **string** | | [optional] [default to undefined]
35
28
  **registration** | **boolean** | | [optional] [default to undefined]
@@ -92,13 +85,6 @@ const instance: EventCreateInputs = {
92
85
  imageId,
93
86
  squareImageId,
94
87
  backgroundImageId,
95
- venue,
96
- address1,
97
- address2,
98
- city,
99
- state,
100
- country,
101
- zip,
102
88
  creatorId,
103
89
  seriesId,
104
90
  registration,
@@ -0,0 +1,38 @@
1
+ # EventLocationInputs
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **venue** | **string** | | [optional] [default to undefined]
9
+ **location** | **string** | | [optional] [default to undefined]
10
+ **address1** | **string** | | [optional] [default to undefined]
11
+ **address2** | **string** | | [optional] [default to undefined]
12
+ **city** | **string** | | [optional] [default to undefined]
13
+ **state** | **string** | | [optional] [default to undefined]
14
+ **country** | **string** | | [optional] [default to undefined]
15
+ **zip** | **string** | | [optional] [default to undefined]
16
+ **latitude** | **number** | | [optional] [default to undefined]
17
+ **longitude** | **number** | | [optional] [default to undefined]
18
+
19
+ ## Example
20
+
21
+ ```typescript
22
+ import { EventLocationInputs } from '@connectedxm/admin-sdk';
23
+
24
+ const instance: EventLocationInputs = {
25
+ venue,
26
+ location,
27
+ address1,
28
+ address2,
29
+ city,
30
+ state,
31
+ country,
32
+ zip,
33
+ latitude,
34
+ longitude,
35
+ };
36
+ ```
37
+
38
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)