@connectedxm/admin-sdk 6.25.2 → 6.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/api.ts CHANGED
@@ -4531,6 +4531,16 @@ export interface CustomReportCreateInputs {
4531
4531
  export interface CustomReportExportInputs {
4532
4532
  'email': string;
4533
4533
  }
4534
+ export interface CustomReportSchedule {
4535
+ 'scheduleExpression': string | null;
4536
+ 'scheduleTimezone': string | null;
4537
+ 'scheduleEmails': Array<string> | null;
4538
+ }
4539
+ export interface CustomReportScheduleInputs {
4540
+ 'scheduleExpression'?: string | null;
4541
+ 'scheduleTimezone'?: string | null;
4542
+ 'scheduleEmails'?: Array<string> | null;
4543
+ }
4534
4544
  export interface CustomReportUpdateInputs {
4535
4545
  'name'?: string | null;
4536
4546
  'description'?: string | null;
@@ -6223,6 +6233,7 @@ export interface EventSessionUpdateInputs {
6223
6233
 
6224
6234
  export enum EventSessionVisibility {
6225
6235
  Public = 'PUBLIC',
6236
+ Preview = 'PREVIEW',
6226
6237
  Restricted = 'RESTRICTED',
6227
6238
  Registered = 'REGISTERED',
6228
6239
  Hidden = 'HIDDEN'
@@ -7279,6 +7290,16 @@ export enum GetCustomReport200ResponseStatusEnum {
7279
7290
  Ok = 'ok'
7280
7291
  }
7281
7292
 
7293
+ export interface GetCustomReportSchedule200Response {
7294
+ 'status': GetCustomReportSchedule200ResponseStatusEnum;
7295
+ 'message': string;
7296
+ 'data': CustomReportSchedule | null;
7297
+ }
7298
+
7299
+ export enum GetCustomReportSchedule200ResponseStatusEnum {
7300
+ Ok = 'ok'
7301
+ }
7302
+
7282
7303
  export interface GetCustomReportUsers200Response {
7283
7304
  'status': GetCustomReportUsers200ResponseStatusEnum;
7284
7305
  'message': string;
@@ -14014,6 +14035,16 @@ export enum UploadVideoCaptions200ResponseStatusEnum {
14014
14035
  Ok = 'ok'
14015
14036
  }
14016
14037
 
14038
+ export interface UpsertCustomReportSchedule200Response {
14039
+ 'status': UpsertCustomReportSchedule200ResponseStatusEnum;
14040
+ 'message': string;
14041
+ 'data': CustomReportSchedule;
14042
+ }
14043
+
14044
+ export enum UpsertCustomReportSchedule200ResponseStatusEnum {
14045
+ Ok = 'ok'
14046
+ }
14047
+
14017
14048
  export interface UpsertLinkPreview200Response {
14018
14049
  'status': UpsertLinkPreview200ResponseStatusEnum;
14019
14050
  'message': string;
@@ -79535,6 +79566,102 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
79535
79566
  options: localVarRequestOptions,
79536
79567
  };
79537
79568
  },
79569
+ /**
79570
+ * Add Event Session Visible Pass Type endpoint
79571
+ * @summary Add Event Session Visible Pass Type
79572
+ * @param {string} eventId The event identifier
79573
+ * @param {string} sessionId The session identifier
79574
+ * @param {string} passTypeId The passType identifier
79575
+ * @param {*} [options] Override http request option.
79576
+ * @throws {RequiredError}
79577
+ */
79578
+ addEventSessionVisiblePassType: async (eventId: string, sessionId: string, passTypeId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
79579
+ // verify required parameter 'eventId' is not null or undefined
79580
+ assertParamExists('addEventSessionVisiblePassType', 'eventId', eventId)
79581
+ // verify required parameter 'sessionId' is not null or undefined
79582
+ assertParamExists('addEventSessionVisiblePassType', 'sessionId', sessionId)
79583
+ // verify required parameter 'passTypeId' is not null or undefined
79584
+ assertParamExists('addEventSessionVisiblePassType', 'passTypeId', passTypeId)
79585
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/visiblePassTypes/{passTypeId}`
79586
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
79587
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
79588
+ .replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)));
79589
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
79590
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
79591
+ let baseOptions;
79592
+ if (configuration) {
79593
+ baseOptions = configuration.baseOptions;
79594
+ }
79595
+
79596
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
79597
+ const localVarHeaderParameter = {} as any;
79598
+ const localVarQueryParameter = {} as any;
79599
+
79600
+ // authentication ApiKeyAuth required
79601
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
79602
+
79603
+ // authentication OrganizationId required
79604
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
79605
+
79606
+ localVarHeaderParameter['Accept'] = 'application/json';
79607
+
79608
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
79609
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
79610
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
79611
+
79612
+ return {
79613
+ url: toPathString(localVarUrlObj),
79614
+ options: localVarRequestOptions,
79615
+ };
79616
+ },
79617
+ /**
79618
+ * Add Event Session Visible Tier endpoint
79619
+ * @summary Add Event Session Visible Tier
79620
+ * @param {string} eventId The event identifier
79621
+ * @param {string} sessionId The session identifier
79622
+ * @param {string} tierId The tier identifier
79623
+ * @param {*} [options] Override http request option.
79624
+ * @throws {RequiredError}
79625
+ */
79626
+ addEventSessionVisibleTier: async (eventId: string, sessionId: string, tierId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
79627
+ // verify required parameter 'eventId' is not null or undefined
79628
+ assertParamExists('addEventSessionVisibleTier', 'eventId', eventId)
79629
+ // verify required parameter 'sessionId' is not null or undefined
79630
+ assertParamExists('addEventSessionVisibleTier', 'sessionId', sessionId)
79631
+ // verify required parameter 'tierId' is not null or undefined
79632
+ assertParamExists('addEventSessionVisibleTier', 'tierId', tierId)
79633
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/visibleTiers/{tierId}`
79634
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
79635
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
79636
+ .replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
79637
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
79638
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
79639
+ let baseOptions;
79640
+ if (configuration) {
79641
+ baseOptions = configuration.baseOptions;
79642
+ }
79643
+
79644
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
79645
+ const localVarHeaderParameter = {} as any;
79646
+ const localVarQueryParameter = {} as any;
79647
+
79648
+ // authentication ApiKeyAuth required
79649
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
79650
+
79651
+ // authentication OrganizationId required
79652
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
79653
+
79654
+ localVarHeaderParameter['Accept'] = 'application/json';
79655
+
79656
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
79657
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
79658
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
79659
+
79660
+ return {
79661
+ url: toPathString(localVarUrlObj),
79662
+ options: localVarRequestOptions,
79663
+ };
79664
+ },
79538
79665
  /**
79539
79666
  * Clone Event Session endpoint
79540
79667
  * @summary Clone Event Session
@@ -80299,9 +80426,10 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
80299
80426
  };
80300
80427
  },
80301
80428
  /**
80302
- * Get Event Sessions endpoint
80303
- * @summary Get Event Sessions
80429
+ * Get Event Session Visible Pass Types endpoint
80430
+ * @summary Get Event Session Visible Pass Types
80304
80431
  * @param {string} eventId The event identifier
80432
+ * @param {string} sessionId The session identifier
80305
80433
  * @param {number} [page] Page number
80306
80434
  * @param {number} [pageSize] Number of items per page
80307
80435
  * @param {string} [orderBy] Field to order by
@@ -80309,11 +80437,14 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
80309
80437
  * @param {*} [options] Override http request option.
80310
80438
  * @throws {RequiredError}
80311
80439
  */
80312
- getEventSessions: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80440
+ getEventSessionVisiblePassTypes: async (eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80313
80441
  // verify required parameter 'eventId' is not null or undefined
80314
- assertParamExists('getEventSessions', 'eventId', eventId)
80315
- const localVarPath = `/events/{eventId}/sessions`
80316
- .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
80442
+ assertParamExists('getEventSessionVisiblePassTypes', 'eventId', eventId)
80443
+ // verify required parameter 'sessionId' is not null or undefined
80444
+ assertParamExists('getEventSessionVisiblePassTypes', 'sessionId', sessionId)
80445
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/visiblePassTypes`
80446
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
80447
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
80317
80448
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
80318
80449
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80319
80450
  let baseOptions;
@@ -80359,25 +80490,25 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
80359
80490
  };
80360
80491
  },
80361
80492
  /**
80362
- * Remove Event Session Account endpoint
80363
- * @summary Remove Event Session Account
80493
+ * Get Event Session Visible Tiers endpoint
80494
+ * @summary Get Event Session Visible Tiers
80364
80495
  * @param {string} eventId The event identifier
80365
80496
  * @param {string} sessionId The session identifier
80366
- * @param {string} accountId The account identifier
80497
+ * @param {number} [page] Page number
80498
+ * @param {number} [pageSize] Number of items per page
80499
+ * @param {string} [orderBy] Field to order by
80500
+ * @param {string} [search] Search query
80367
80501
  * @param {*} [options] Override http request option.
80368
80502
  * @throws {RequiredError}
80369
80503
  */
80370
- removeEventSessionAccount: async (eventId: string, sessionId: string, accountId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80504
+ getEventSessionVisibleTiers: async (eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80371
80505
  // verify required parameter 'eventId' is not null or undefined
80372
- assertParamExists('removeEventSessionAccount', 'eventId', eventId)
80506
+ assertParamExists('getEventSessionVisibleTiers', 'eventId', eventId)
80373
80507
  // verify required parameter 'sessionId' is not null or undefined
80374
- assertParamExists('removeEventSessionAccount', 'sessionId', sessionId)
80375
- // verify required parameter 'accountId' is not null or undefined
80376
- assertParamExists('removeEventSessionAccount', 'accountId', accountId)
80377
- const localVarPath = `/events/{eventId}/sessions/{sessionId}/accounts/{accountId}`
80508
+ assertParamExists('getEventSessionVisibleTiers', 'sessionId', sessionId)
80509
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/visibleTiers`
80378
80510
  .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
80379
- .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
80380
- .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
80511
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)));
80381
80512
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
80382
80513
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80383
80514
  let baseOptions;
@@ -80385,7 +80516,7 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
80385
80516
  baseOptions = configuration.baseOptions;
80386
80517
  }
80387
80518
 
80388
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
80519
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
80389
80520
  const localVarHeaderParameter = {} as any;
80390
80521
  const localVarQueryParameter = {} as any;
80391
80522
 
@@ -80395,53 +80526,21 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
80395
80526
  // authentication OrganizationId required
80396
80527
  await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
80397
80528
 
80398
- localVarHeaderParameter['Accept'] = 'application/json';
80399
-
80400
- setSearchParams(localVarUrlObj, localVarQueryParameter);
80401
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80402
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
80403
-
80404
- return {
80405
- url: toPathString(localVarUrlObj),
80406
- options: localVarRequestOptions,
80407
- };
80408
- },
80409
- /**
80410
- * Remove Event Session Block endpoint
80411
- * @summary Remove Event Session Block
80412
- * @param {string} eventId The event identifier
80413
- * @param {string} sessionId The session identifier
80414
- * @param {string} blockId The block identifier
80415
- * @param {*} [options] Override http request option.
80416
- * @throws {RequiredError}
80417
- */
80418
- removeEventSessionBlock: async (eventId: string, sessionId: string, blockId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80419
- // verify required parameter 'eventId' is not null or undefined
80420
- assertParamExists('removeEventSessionBlock', 'eventId', eventId)
80421
- // verify required parameter 'sessionId' is not null or undefined
80422
- assertParamExists('removeEventSessionBlock', 'sessionId', sessionId)
80423
- // verify required parameter 'blockId' is not null or undefined
80424
- assertParamExists('removeEventSessionBlock', 'blockId', blockId)
80425
- const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks/{blockId}`
80426
- .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
80427
- .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
80428
- .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
80429
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
80430
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80431
- let baseOptions;
80432
- if (configuration) {
80433
- baseOptions = configuration.baseOptions;
80529
+ if (page !== undefined) {
80530
+ localVarQueryParameter['page'] = page;
80434
80531
  }
80435
80532
 
80436
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
80437
- const localVarHeaderParameter = {} as any;
80438
- const localVarQueryParameter = {} as any;
80533
+ if (pageSize !== undefined) {
80534
+ localVarQueryParameter['pageSize'] = pageSize;
80535
+ }
80439
80536
 
80440
- // authentication ApiKeyAuth required
80441
- await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
80537
+ if (orderBy !== undefined) {
80538
+ localVarQueryParameter['orderBy'] = orderBy;
80539
+ }
80442
80540
 
80443
- // authentication OrganizationId required
80444
- await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
80541
+ if (search !== undefined) {
80542
+ localVarQueryParameter['search'] = search;
80543
+ }
80445
80544
 
80446
80545
  localVarHeaderParameter['Accept'] = 'application/json';
80447
80546
 
@@ -80455,25 +80554,21 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
80455
80554
  };
80456
80555
  },
80457
80556
  /**
80458
- * Remove Event Session Pass Type endpoint
80459
- * @summary Remove Event Session Pass Type
80557
+ * Get Event Sessions endpoint
80558
+ * @summary Get Event Sessions
80460
80559
  * @param {string} eventId The event identifier
80461
- * @param {string} sessionId The session identifier
80462
- * @param {string} passTypeId The passType identifier
80560
+ * @param {number} [page] Page number
80561
+ * @param {number} [pageSize] Number of items per page
80562
+ * @param {string} [orderBy] Field to order by
80563
+ * @param {string} [search] Search query
80463
80564
  * @param {*} [options] Override http request option.
80464
80565
  * @throws {RequiredError}
80465
80566
  */
80466
- removeEventSessionPassType: async (eventId: string, sessionId: string, passTypeId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80567
+ getEventSessions: async (eventId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80467
80568
  // verify required parameter 'eventId' is not null or undefined
80468
- assertParamExists('removeEventSessionPassType', 'eventId', eventId)
80469
- // verify required parameter 'sessionId' is not null or undefined
80470
- assertParamExists('removeEventSessionPassType', 'sessionId', sessionId)
80471
- // verify required parameter 'passTypeId' is not null or undefined
80472
- assertParamExists('removeEventSessionPassType', 'passTypeId', passTypeId)
80473
- const localVarPath = `/events/{eventId}/sessions/{sessionId}/passTypes/{passTypeId}`
80474
- .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
80475
- .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
80476
- .replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)));
80569
+ assertParamExists('getEventSessions', 'eventId', eventId)
80570
+ const localVarPath = `/events/{eventId}/sessions`
80571
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)));
80477
80572
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
80478
80573
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80479
80574
  let baseOptions;
@@ -80481,7 +80576,7 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
80481
80576
  baseOptions = configuration.baseOptions;
80482
80577
  }
80483
80578
 
80484
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
80579
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
80485
80580
  const localVarHeaderParameter = {} as any;
80486
80581
  const localVarQueryParameter = {} as any;
80487
80582
 
@@ -80491,6 +80586,22 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
80491
80586
  // authentication OrganizationId required
80492
80587
  await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
80493
80588
 
80589
+ if (page !== undefined) {
80590
+ localVarQueryParameter['page'] = page;
80591
+ }
80592
+
80593
+ if (pageSize !== undefined) {
80594
+ localVarQueryParameter['pageSize'] = pageSize;
80595
+ }
80596
+
80597
+ if (orderBy !== undefined) {
80598
+ localVarQueryParameter['orderBy'] = orderBy;
80599
+ }
80600
+
80601
+ if (search !== undefined) {
80602
+ localVarQueryParameter['search'] = search;
80603
+ }
80604
+
80494
80605
  localVarHeaderParameter['Accept'] = 'application/json';
80495
80606
 
80496
80607
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -80503,25 +80614,25 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
80503
80614
  };
80504
80615
  },
80505
80616
  /**
80506
- * Remove Event Session Speaker endpoint
80507
- * @summary Remove Event Session Speaker
80617
+ * Remove Event Session Account endpoint
80618
+ * @summary Remove Event Session Account
80508
80619
  * @param {string} eventId The event identifier
80509
80620
  * @param {string} sessionId The session identifier
80510
- * @param {string} speakerId The speaker identifier
80621
+ * @param {string} accountId The account identifier
80511
80622
  * @param {*} [options] Override http request option.
80512
80623
  * @throws {RequiredError}
80513
80624
  */
80514
- removeEventSessionSpeaker: async (eventId: string, sessionId: string, speakerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80625
+ removeEventSessionAccount: async (eventId: string, sessionId: string, accountId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80515
80626
  // verify required parameter 'eventId' is not null or undefined
80516
- assertParamExists('removeEventSessionSpeaker', 'eventId', eventId)
80627
+ assertParamExists('removeEventSessionAccount', 'eventId', eventId)
80517
80628
  // verify required parameter 'sessionId' is not null or undefined
80518
- assertParamExists('removeEventSessionSpeaker', 'sessionId', sessionId)
80519
- // verify required parameter 'speakerId' is not null or undefined
80520
- assertParamExists('removeEventSessionSpeaker', 'speakerId', speakerId)
80521
- const localVarPath = `/events/{eventId}/sessions/{sessionId}/speakers/{speakerId}`
80629
+ assertParamExists('removeEventSessionAccount', 'sessionId', sessionId)
80630
+ // verify required parameter 'accountId' is not null or undefined
80631
+ assertParamExists('removeEventSessionAccount', 'accountId', accountId)
80632
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/accounts/{accountId}`
80522
80633
  .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
80523
80634
  .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
80524
- .replace(`{${"speakerId"}}`, encodeURIComponent(String(speakerId)));
80635
+ .replace(`{${"accountId"}}`, encodeURIComponent(String(accountId)));
80525
80636
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
80526
80637
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80527
80638
  let baseOptions;
@@ -80551,25 +80662,169 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
80551
80662
  };
80552
80663
  },
80553
80664
  /**
80554
- * Remove Event Session Sponsor endpoint
80555
- * @summary Remove Event Session Sponsor
80665
+ * Remove Event Session Block endpoint
80666
+ * @summary Remove Event Session Block
80556
80667
  * @param {string} eventId The event identifier
80557
80668
  * @param {string} sessionId The session identifier
80558
- * @param {string} sponsorId The sponsor identifier
80669
+ * @param {string} blockId The block identifier
80559
80670
  * @param {*} [options] Override http request option.
80560
80671
  * @throws {RequiredError}
80561
80672
  */
80562
- removeEventSessionSponsor: async (eventId: string, sessionId: string, sponsorId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80673
+ removeEventSessionBlock: async (eventId: string, sessionId: string, blockId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80563
80674
  // verify required parameter 'eventId' is not null or undefined
80564
- assertParamExists('removeEventSessionSponsor', 'eventId', eventId)
80675
+ assertParamExists('removeEventSessionBlock', 'eventId', eventId)
80565
80676
  // verify required parameter 'sessionId' is not null or undefined
80566
- assertParamExists('removeEventSessionSponsor', 'sessionId', sessionId)
80567
- // verify required parameter 'sponsorId' is not null or undefined
80568
- assertParamExists('removeEventSessionSponsor', 'sponsorId', sponsorId)
80569
- const localVarPath = `/events/{eventId}/sessions/{sessionId}/sponsors/{sponsorId}`
80677
+ assertParamExists('removeEventSessionBlock', 'sessionId', sessionId)
80678
+ // verify required parameter 'blockId' is not null or undefined
80679
+ assertParamExists('removeEventSessionBlock', 'blockId', blockId)
80680
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/blocks/{blockId}`
80570
80681
  .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
80571
80682
  .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
80572
- .replace(`{${"sponsorId"}}`, encodeURIComponent(String(sponsorId)));
80683
+ .replace(`{${"blockId"}}`, encodeURIComponent(String(blockId)));
80684
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
80685
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80686
+ let baseOptions;
80687
+ if (configuration) {
80688
+ baseOptions = configuration.baseOptions;
80689
+ }
80690
+
80691
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
80692
+ const localVarHeaderParameter = {} as any;
80693
+ const localVarQueryParameter = {} as any;
80694
+
80695
+ // authentication ApiKeyAuth required
80696
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
80697
+
80698
+ // authentication OrganizationId required
80699
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
80700
+
80701
+ localVarHeaderParameter['Accept'] = 'application/json';
80702
+
80703
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
80704
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80705
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
80706
+
80707
+ return {
80708
+ url: toPathString(localVarUrlObj),
80709
+ options: localVarRequestOptions,
80710
+ };
80711
+ },
80712
+ /**
80713
+ * Remove Event Session Pass Type endpoint
80714
+ * @summary Remove Event Session Pass Type
80715
+ * @param {string} eventId The event identifier
80716
+ * @param {string} sessionId The session identifier
80717
+ * @param {string} passTypeId The passType identifier
80718
+ * @param {*} [options] Override http request option.
80719
+ * @throws {RequiredError}
80720
+ */
80721
+ removeEventSessionPassType: async (eventId: string, sessionId: string, passTypeId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80722
+ // verify required parameter 'eventId' is not null or undefined
80723
+ assertParamExists('removeEventSessionPassType', 'eventId', eventId)
80724
+ // verify required parameter 'sessionId' is not null or undefined
80725
+ assertParamExists('removeEventSessionPassType', 'sessionId', sessionId)
80726
+ // verify required parameter 'passTypeId' is not null or undefined
80727
+ assertParamExists('removeEventSessionPassType', 'passTypeId', passTypeId)
80728
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/passTypes/{passTypeId}`
80729
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
80730
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
80731
+ .replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)));
80732
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
80733
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80734
+ let baseOptions;
80735
+ if (configuration) {
80736
+ baseOptions = configuration.baseOptions;
80737
+ }
80738
+
80739
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
80740
+ const localVarHeaderParameter = {} as any;
80741
+ const localVarQueryParameter = {} as any;
80742
+
80743
+ // authentication ApiKeyAuth required
80744
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
80745
+
80746
+ // authentication OrganizationId required
80747
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
80748
+
80749
+ localVarHeaderParameter['Accept'] = 'application/json';
80750
+
80751
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
80752
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80753
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
80754
+
80755
+ return {
80756
+ url: toPathString(localVarUrlObj),
80757
+ options: localVarRequestOptions,
80758
+ };
80759
+ },
80760
+ /**
80761
+ * Remove Event Session Speaker endpoint
80762
+ * @summary Remove Event Session Speaker
80763
+ * @param {string} eventId The event identifier
80764
+ * @param {string} sessionId The session identifier
80765
+ * @param {string} speakerId The speaker identifier
80766
+ * @param {*} [options] Override http request option.
80767
+ * @throws {RequiredError}
80768
+ */
80769
+ removeEventSessionSpeaker: async (eventId: string, sessionId: string, speakerId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80770
+ // verify required parameter 'eventId' is not null or undefined
80771
+ assertParamExists('removeEventSessionSpeaker', 'eventId', eventId)
80772
+ // verify required parameter 'sessionId' is not null or undefined
80773
+ assertParamExists('removeEventSessionSpeaker', 'sessionId', sessionId)
80774
+ // verify required parameter 'speakerId' is not null or undefined
80775
+ assertParamExists('removeEventSessionSpeaker', 'speakerId', speakerId)
80776
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/speakers/{speakerId}`
80777
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
80778
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
80779
+ .replace(`{${"speakerId"}}`, encodeURIComponent(String(speakerId)));
80780
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
80781
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80782
+ let baseOptions;
80783
+ if (configuration) {
80784
+ baseOptions = configuration.baseOptions;
80785
+ }
80786
+
80787
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
80788
+ const localVarHeaderParameter = {} as any;
80789
+ const localVarQueryParameter = {} as any;
80790
+
80791
+ // authentication ApiKeyAuth required
80792
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
80793
+
80794
+ // authentication OrganizationId required
80795
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
80796
+
80797
+ localVarHeaderParameter['Accept'] = 'application/json';
80798
+
80799
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
80800
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80801
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
80802
+
80803
+ return {
80804
+ url: toPathString(localVarUrlObj),
80805
+ options: localVarRequestOptions,
80806
+ };
80807
+ },
80808
+ /**
80809
+ * Remove Event Session Sponsor endpoint
80810
+ * @summary Remove Event Session Sponsor
80811
+ * @param {string} eventId The event identifier
80812
+ * @param {string} sessionId The session identifier
80813
+ * @param {string} sponsorId The sponsor identifier
80814
+ * @param {*} [options] Override http request option.
80815
+ * @throws {RequiredError}
80816
+ */
80817
+ removeEventSessionSponsor: async (eventId: string, sessionId: string, sponsorId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80818
+ // verify required parameter 'eventId' is not null or undefined
80819
+ assertParamExists('removeEventSessionSponsor', 'eventId', eventId)
80820
+ // verify required parameter 'sessionId' is not null or undefined
80821
+ assertParamExists('removeEventSessionSponsor', 'sessionId', sessionId)
80822
+ // verify required parameter 'sponsorId' is not null or undefined
80823
+ assertParamExists('removeEventSessionSponsor', 'sponsorId', sponsorId)
80824
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/sponsors/{sponsorId}`
80825
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
80826
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
80827
+ .replace(`{${"sponsorId"}}`, encodeURIComponent(String(sponsorId)));
80573
80828
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
80574
80829
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80575
80830
  let baseOptions;
@@ -80694,6 +80949,102 @@ export const EventsSessionsApiAxiosParamCreator = function (configuration?: Conf
80694
80949
  options: localVarRequestOptions,
80695
80950
  };
80696
80951
  },
80952
+ /**
80953
+ * Remove Event Session Visible Pass Type endpoint
80954
+ * @summary Remove Event Session Visible Pass Type
80955
+ * @param {string} eventId The event identifier
80956
+ * @param {string} sessionId The session identifier
80957
+ * @param {string} passTypeId The passType identifier
80958
+ * @param {*} [options] Override http request option.
80959
+ * @throws {RequiredError}
80960
+ */
80961
+ removeEventSessionVisiblePassType: async (eventId: string, sessionId: string, passTypeId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
80962
+ // verify required parameter 'eventId' is not null or undefined
80963
+ assertParamExists('removeEventSessionVisiblePassType', 'eventId', eventId)
80964
+ // verify required parameter 'sessionId' is not null or undefined
80965
+ assertParamExists('removeEventSessionVisiblePassType', 'sessionId', sessionId)
80966
+ // verify required parameter 'passTypeId' is not null or undefined
80967
+ assertParamExists('removeEventSessionVisiblePassType', 'passTypeId', passTypeId)
80968
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/visiblePassTypes/{passTypeId}`
80969
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
80970
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
80971
+ .replace(`{${"passTypeId"}}`, encodeURIComponent(String(passTypeId)));
80972
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
80973
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
80974
+ let baseOptions;
80975
+ if (configuration) {
80976
+ baseOptions = configuration.baseOptions;
80977
+ }
80978
+
80979
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
80980
+ const localVarHeaderParameter = {} as any;
80981
+ const localVarQueryParameter = {} as any;
80982
+
80983
+ // authentication ApiKeyAuth required
80984
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
80985
+
80986
+ // authentication OrganizationId required
80987
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
80988
+
80989
+ localVarHeaderParameter['Accept'] = 'application/json';
80990
+
80991
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
80992
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80993
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
80994
+
80995
+ return {
80996
+ url: toPathString(localVarUrlObj),
80997
+ options: localVarRequestOptions,
80998
+ };
80999
+ },
81000
+ /**
81001
+ * Remove Event Session Visible Tier endpoint
81002
+ * @summary Remove Event Session Visible Tier
81003
+ * @param {string} eventId The event identifier
81004
+ * @param {string} sessionId The session identifier
81005
+ * @param {string} tierId The tier identifier
81006
+ * @param {*} [options] Override http request option.
81007
+ * @throws {RequiredError}
81008
+ */
81009
+ removeEventSessionVisibleTier: async (eventId: string, sessionId: string, tierId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
81010
+ // verify required parameter 'eventId' is not null or undefined
81011
+ assertParamExists('removeEventSessionVisibleTier', 'eventId', eventId)
81012
+ // verify required parameter 'sessionId' is not null or undefined
81013
+ assertParamExists('removeEventSessionVisibleTier', 'sessionId', sessionId)
81014
+ // verify required parameter 'tierId' is not null or undefined
81015
+ assertParamExists('removeEventSessionVisibleTier', 'tierId', tierId)
81016
+ const localVarPath = `/events/{eventId}/sessions/{sessionId}/visibleTiers/{tierId}`
81017
+ .replace(`{${"eventId"}}`, encodeURIComponent(String(eventId)))
81018
+ .replace(`{${"sessionId"}}`, encodeURIComponent(String(sessionId)))
81019
+ .replace(`{${"tierId"}}`, encodeURIComponent(String(tierId)));
81020
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
81021
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
81022
+ let baseOptions;
81023
+ if (configuration) {
81024
+ baseOptions = configuration.baseOptions;
81025
+ }
81026
+
81027
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
81028
+ const localVarHeaderParameter = {} as any;
81029
+ const localVarQueryParameter = {} as any;
81030
+
81031
+ // authentication ApiKeyAuth required
81032
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
81033
+
81034
+ // authentication OrganizationId required
81035
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
81036
+
81037
+ localVarHeaderParameter['Accept'] = 'application/json';
81038
+
81039
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
81040
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
81041
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
81042
+
81043
+ return {
81044
+ url: toPathString(localVarUrlObj),
81045
+ options: localVarRequestOptions,
81046
+ };
81047
+ },
80697
81048
  /**
80698
81049
  * Update Event Session endpoint
80699
81050
  * @summary Update Event Session
@@ -80861,6 +81212,36 @@ export const EventsSessionsApiFp = function(configuration?: Configuration) {
80861
81212
  const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.addEventSessionTrack']?.[localVarOperationServerIndex]?.url;
80862
81213
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
80863
81214
  },
81215
+ /**
81216
+ * Add Event Session Visible Pass Type endpoint
81217
+ * @summary Add Event Session Visible Pass Type
81218
+ * @param {string} eventId The event identifier
81219
+ * @param {string} sessionId The session identifier
81220
+ * @param {string} passTypeId The passType identifier
81221
+ * @param {*} [options] Override http request option.
81222
+ * @throws {RequiredError}
81223
+ */
81224
+ async addEventSessionVisiblePassType(eventId: string, sessionId: string, passTypeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>> {
81225
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addEventSessionVisiblePassType(eventId, sessionId, passTypeId, options);
81226
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
81227
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.addEventSessionVisiblePassType']?.[localVarOperationServerIndex]?.url;
81228
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
81229
+ },
81230
+ /**
81231
+ * Add Event Session Visible Tier endpoint
81232
+ * @summary Add Event Session Visible Tier
81233
+ * @param {string} eventId The event identifier
81234
+ * @param {string} sessionId The session identifier
81235
+ * @param {string} tierId The tier identifier
81236
+ * @param {*} [options] Override http request option.
81237
+ * @throws {RequiredError}
81238
+ */
81239
+ async addEventSessionVisibleTier(eventId: string, sessionId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>> {
81240
+ const localVarAxiosArgs = await localVarAxiosParamCreator.addEventSessionVisibleTier(eventId, sessionId, tierId, options);
81241
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
81242
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.addEventSessionVisibleTier']?.[localVarOperationServerIndex]?.url;
81243
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
81244
+ },
80864
81245
  /**
80865
81246
  * Clone Event Session endpoint
80866
81247
  * @summary Clone Event Session
@@ -81081,6 +81462,42 @@ export const EventsSessionsApiFp = function(configuration?: Configuration) {
81081
81462
  const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.getEventSessionTracks']?.[localVarOperationServerIndex]?.url;
81082
81463
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
81083
81464
  },
81465
+ /**
81466
+ * Get Event Session Visible Pass Types endpoint
81467
+ * @summary Get Event Session Visible Pass Types
81468
+ * @param {string} eventId The event identifier
81469
+ * @param {string} sessionId The session identifier
81470
+ * @param {number} [page] Page number
81471
+ * @param {number} [pageSize] Number of items per page
81472
+ * @param {string} [orderBy] Field to order by
81473
+ * @param {string} [search] Search query
81474
+ * @param {*} [options] Override http request option.
81475
+ * @throws {RequiredError}
81476
+ */
81477
+ async getEventSessionVisiblePassTypes(eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetEventAddOnPassTypes200Response>> {
81478
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventSessionVisiblePassTypes(eventId, sessionId, page, pageSize, orderBy, search, options);
81479
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
81480
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.getEventSessionVisiblePassTypes']?.[localVarOperationServerIndex]?.url;
81481
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
81482
+ },
81483
+ /**
81484
+ * Get Event Session Visible Tiers endpoint
81485
+ * @summary Get Event Session Visible Tiers
81486
+ * @param {string} eventId The event identifier
81487
+ * @param {string} sessionId The session identifier
81488
+ * @param {number} [page] Page number
81489
+ * @param {number} [pageSize] Number of items per page
81490
+ * @param {string} [orderBy] Field to order by
81491
+ * @param {string} [search] Search query
81492
+ * @param {*} [options] Override http request option.
81493
+ * @throws {RequiredError}
81494
+ */
81495
+ async getEventSessionVisibleTiers(eventId: string, sessionId: string, page?: number, pageSize?: number, orderBy?: string, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetAccountTiers200Response>> {
81496
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getEventSessionVisibleTiers(eventId, sessionId, page, pageSize, orderBy, search, options);
81497
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
81498
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.getEventSessionVisibleTiers']?.[localVarOperationServerIndex]?.url;
81499
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
81500
+ },
81084
81501
  /**
81085
81502
  * Get Event Sessions endpoint
81086
81503
  * @summary Get Event Sessions
@@ -81203,6 +81620,36 @@ export const EventsSessionsApiFp = function(configuration?: Configuration) {
81203
81620
  const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.removeEventSessionTrack']?.[localVarOperationServerIndex]?.url;
81204
81621
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
81205
81622
  },
81623
+ /**
81624
+ * Remove Event Session Visible Pass Type endpoint
81625
+ * @summary Remove Event Session Visible Pass Type
81626
+ * @param {string} eventId The event identifier
81627
+ * @param {string} sessionId The session identifier
81628
+ * @param {string} passTypeId The passType identifier
81629
+ * @param {*} [options] Override http request option.
81630
+ * @throws {RequiredError}
81631
+ */
81632
+ async removeEventSessionVisiblePassType(eventId: string, sessionId: string, passTypeId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>> {
81633
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventSessionVisiblePassType(eventId, sessionId, passTypeId, options);
81634
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
81635
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.removeEventSessionVisiblePassType']?.[localVarOperationServerIndex]?.url;
81636
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
81637
+ },
81638
+ /**
81639
+ * Remove Event Session Visible Tier endpoint
81640
+ * @summary Remove Event Session Visible Tier
81641
+ * @param {string} eventId The event identifier
81642
+ * @param {string} sessionId The session identifier
81643
+ * @param {string} tierId The tier identifier
81644
+ * @param {*} [options] Override http request option.
81645
+ * @throws {RequiredError}
81646
+ */
81647
+ async removeEventSessionVisibleTier(eventId: string, sessionId: string, tierId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateEventSession200Response>> {
81648
+ const localVarAxiosArgs = await localVarAxiosParamCreator.removeEventSessionVisibleTier(eventId, sessionId, tierId, options);
81649
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
81650
+ const localVarOperationServerBasePath = operationServerMap['EventsSessionsApi.removeEventSessionVisibleTier']?.[localVarOperationServerIndex]?.url;
81651
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
81652
+ },
81206
81653
  /**
81207
81654
  * Update Event Session endpoint
81208
81655
  * @summary Update Event Session
@@ -81297,6 +81744,26 @@ export const EventsSessionsApiFactory = function (configuration?: Configuration,
81297
81744
  addEventSessionTrack(requestParameters: EventsSessionsApiAddEventSessionTrackRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
81298
81745
  return localVarFp.addEventSessionTrack(requestParameters.eventId, requestParameters.sessionId, requestParameters.trackId, options).then((request) => request(axios, basePath));
81299
81746
  },
81747
+ /**
81748
+ * Add Event Session Visible Pass Type endpoint
81749
+ * @summary Add Event Session Visible Pass Type
81750
+ * @param {EventsSessionsApiAddEventSessionVisiblePassTypeRequest} requestParameters Request parameters.
81751
+ * @param {*} [options] Override http request option.
81752
+ * @throws {RequiredError}
81753
+ */
81754
+ addEventSessionVisiblePassType(requestParameters: EventsSessionsApiAddEventSessionVisiblePassTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
81755
+ return localVarFp.addEventSessionVisiblePassType(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
81756
+ },
81757
+ /**
81758
+ * Add Event Session Visible Tier endpoint
81759
+ * @summary Add Event Session Visible Tier
81760
+ * @param {EventsSessionsApiAddEventSessionVisibleTierRequest} requestParameters Request parameters.
81761
+ * @param {*} [options] Override http request option.
81762
+ * @throws {RequiredError}
81763
+ */
81764
+ addEventSessionVisibleTier(requestParameters: EventsSessionsApiAddEventSessionVisibleTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
81765
+ return localVarFp.addEventSessionVisibleTier(requestParameters.eventId, requestParameters.sessionId, requestParameters.tierId, options).then((request) => request(axios, basePath));
81766
+ },
81300
81767
  /**
81301
81768
  * Clone Event Session endpoint
81302
81769
  * @summary Clone Event Session
@@ -81427,6 +81894,26 @@ export const EventsSessionsApiFactory = function (configuration?: Configuration,
81427
81894
  getEventSessionTracks(requestParameters: EventsSessionsApiGetEventSessionTracksRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventSessionTracks200Response> {
81428
81895
  return localVarFp.getEventSessionTracks(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
81429
81896
  },
81897
+ /**
81898
+ * Get Event Session Visible Pass Types endpoint
81899
+ * @summary Get Event Session Visible Pass Types
81900
+ * @param {EventsSessionsApiGetEventSessionVisiblePassTypesRequest} requestParameters Request parameters.
81901
+ * @param {*} [options] Override http request option.
81902
+ * @throws {RequiredError}
81903
+ */
81904
+ getEventSessionVisiblePassTypes(requestParameters: EventsSessionsApiGetEventSessionVisiblePassTypesRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetEventAddOnPassTypes200Response> {
81905
+ return localVarFp.getEventSessionVisiblePassTypes(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
81906
+ },
81907
+ /**
81908
+ * Get Event Session Visible Tiers endpoint
81909
+ * @summary Get Event Session Visible Tiers
81910
+ * @param {EventsSessionsApiGetEventSessionVisibleTiersRequest} requestParameters Request parameters.
81911
+ * @param {*} [options] Override http request option.
81912
+ * @throws {RequiredError}
81913
+ */
81914
+ getEventSessionVisibleTiers(requestParameters: EventsSessionsApiGetEventSessionVisibleTiersRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetAccountTiers200Response> {
81915
+ return localVarFp.getEventSessionVisibleTiers(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(axios, basePath));
81916
+ },
81430
81917
  /**
81431
81918
  * Get Event Sessions endpoint
81432
81919
  * @summary Get Event Sessions
@@ -81507,6 +81994,26 @@ export const EventsSessionsApiFactory = function (configuration?: Configuration,
81507
81994
  removeEventSessionTrack(requestParameters: EventsSessionsApiRemoveEventSessionTrackRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
81508
81995
  return localVarFp.removeEventSessionTrack(requestParameters.eventId, requestParameters.sessionId, requestParameters.trackId, options).then((request) => request(axios, basePath));
81509
81996
  },
81997
+ /**
81998
+ * Remove Event Session Visible Pass Type endpoint
81999
+ * @summary Remove Event Session Visible Pass Type
82000
+ * @param {EventsSessionsApiRemoveEventSessionVisiblePassTypeRequest} requestParameters Request parameters.
82001
+ * @param {*} [options] Override http request option.
82002
+ * @throws {RequiredError}
82003
+ */
82004
+ removeEventSessionVisiblePassType(requestParameters: EventsSessionsApiRemoveEventSessionVisiblePassTypeRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
82005
+ return localVarFp.removeEventSessionVisiblePassType(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, options).then((request) => request(axios, basePath));
82006
+ },
82007
+ /**
82008
+ * Remove Event Session Visible Tier endpoint
82009
+ * @summary Remove Event Session Visible Tier
82010
+ * @param {EventsSessionsApiRemoveEventSessionVisibleTierRequest} requestParameters Request parameters.
82011
+ * @param {*} [options] Override http request option.
82012
+ * @throws {RequiredError}
82013
+ */
82014
+ removeEventSessionVisibleTier(requestParameters: EventsSessionsApiRemoveEventSessionVisibleTierRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateEventSession200Response> {
82015
+ return localVarFp.removeEventSessionVisibleTier(requestParameters.eventId, requestParameters.sessionId, requestParameters.tierId, options).then((request) => request(axios, basePath));
82016
+ },
81510
82017
  /**
81511
82018
  * Update Event Session endpoint
81512
82019
  * @summary Update Event Session
@@ -81660,6 +82167,46 @@ export interface EventsSessionsApiAddEventSessionTrackRequest {
81660
82167
  readonly trackId: string
81661
82168
  }
81662
82169
 
82170
+ /**
82171
+ * Request parameters for addEventSessionVisiblePassType operation in EventsSessionsApi.
82172
+ */
82173
+ export interface EventsSessionsApiAddEventSessionVisiblePassTypeRequest {
82174
+ /**
82175
+ * The event identifier
82176
+ */
82177
+ readonly eventId: string
82178
+
82179
+ /**
82180
+ * The session identifier
82181
+ */
82182
+ readonly sessionId: string
82183
+
82184
+ /**
82185
+ * The passType identifier
82186
+ */
82187
+ readonly passTypeId: string
82188
+ }
82189
+
82190
+ /**
82191
+ * Request parameters for addEventSessionVisibleTier operation in EventsSessionsApi.
82192
+ */
82193
+ export interface EventsSessionsApiAddEventSessionVisibleTierRequest {
82194
+ /**
82195
+ * The event identifier
82196
+ */
82197
+ readonly eventId: string
82198
+
82199
+ /**
82200
+ * The session identifier
82201
+ */
82202
+ readonly sessionId: string
82203
+
82204
+ /**
82205
+ * The tier identifier
82206
+ */
82207
+ readonly tierId: string
82208
+ }
82209
+
81663
82210
  /**
81664
82211
  * Request parameters for cloneEventSession operation in EventsSessionsApi.
81665
82212
  */
@@ -82039,6 +82586,76 @@ export interface EventsSessionsApiGetEventSessionTracksRequest {
82039
82586
  readonly search?: string
82040
82587
  }
82041
82588
 
82589
+ /**
82590
+ * Request parameters for getEventSessionVisiblePassTypes operation in EventsSessionsApi.
82591
+ */
82592
+ export interface EventsSessionsApiGetEventSessionVisiblePassTypesRequest {
82593
+ /**
82594
+ * The event identifier
82595
+ */
82596
+ readonly eventId: string
82597
+
82598
+ /**
82599
+ * The session identifier
82600
+ */
82601
+ readonly sessionId: string
82602
+
82603
+ /**
82604
+ * Page number
82605
+ */
82606
+ readonly page?: number
82607
+
82608
+ /**
82609
+ * Number of items per page
82610
+ */
82611
+ readonly pageSize?: number
82612
+
82613
+ /**
82614
+ * Field to order by
82615
+ */
82616
+ readonly orderBy?: string
82617
+
82618
+ /**
82619
+ * Search query
82620
+ */
82621
+ readonly search?: string
82622
+ }
82623
+
82624
+ /**
82625
+ * Request parameters for getEventSessionVisibleTiers operation in EventsSessionsApi.
82626
+ */
82627
+ export interface EventsSessionsApiGetEventSessionVisibleTiersRequest {
82628
+ /**
82629
+ * The event identifier
82630
+ */
82631
+ readonly eventId: string
82632
+
82633
+ /**
82634
+ * The session identifier
82635
+ */
82636
+ readonly sessionId: string
82637
+
82638
+ /**
82639
+ * Page number
82640
+ */
82641
+ readonly page?: number
82642
+
82643
+ /**
82644
+ * Number of items per page
82645
+ */
82646
+ readonly pageSize?: number
82647
+
82648
+ /**
82649
+ * Field to order by
82650
+ */
82651
+ readonly orderBy?: string
82652
+
82653
+ /**
82654
+ * Search query
82655
+ */
82656
+ readonly search?: string
82657
+ }
82658
+
82042
82659
  /**
82043
82660
  * Request parameters for getEventSessions operation in EventsSessionsApi.
82044
82661
  */
@@ -82209,6 +82826,46 @@ export interface EventsSessionsApiRemoveEventSessionTrackRequest {
82209
82826
  readonly trackId: string
82210
82827
  }
82211
82828
 
82829
+ /**
82830
+ * Request parameters for removeEventSessionVisiblePassType operation in EventsSessionsApi.
82831
+ */
82832
+ export interface EventsSessionsApiRemoveEventSessionVisiblePassTypeRequest {
82833
+ /**
82834
+ * The event identifier
82835
+ */
82836
+ readonly eventId: string
82837
+
82838
+ /**
82839
+ * The session identifier
82840
+ */
82841
+ readonly sessionId: string
82842
+
82843
+ /**
82844
+ * The passType identifier
82845
+ */
82846
+ readonly passTypeId: string
82847
+ }
82848
+
82849
+ /**
82850
+ * Request parameters for removeEventSessionVisibleTier operation in EventsSessionsApi.
82851
+ */
82852
+ export interface EventsSessionsApiRemoveEventSessionVisibleTierRequest {
82853
+ /**
82854
+ * The event identifier
82855
+ */
82856
+ readonly eventId: string
82857
+
82858
+ /**
82859
+ * The session identifier
82860
+ */
82861
+ readonly sessionId: string
82862
+
82863
+ /**
82864
+ * The tier identifier
82865
+ */
82866
+ readonly tierId: string
82867
+ }
82868
+
82212
82869
  /**
82213
82870
  * Request parameters for updateEventSession operation in EventsSessionsApi.
82214
82871
  */
@@ -82310,6 +82967,28 @@ export class EventsSessionsApi extends BaseAPI {
82310
82967
  return EventsSessionsApiFp(this.configuration).addEventSessionTrack(requestParameters.eventId, requestParameters.sessionId, requestParameters.trackId, options).then((request) => request(this.axios, this.basePath));
82311
82968
  }
82312
82969
 
82970
+ /**
82971
+ * Add Event Session Visible Pass Type endpoint
82972
+ * @summary Add Event Session Visible Pass Type
82973
+ * @param {EventsSessionsApiAddEventSessionVisiblePassTypeRequest} requestParameters Request parameters.
82974
+ * @param {*} [options] Override http request option.
82975
+ * @throws {RequiredError}
82976
+ */
82977
+ public addEventSessionVisiblePassType(requestParameters: EventsSessionsApiAddEventSessionVisiblePassTypeRequest, options?: RawAxiosRequestConfig) {
82978
+ return EventsSessionsApiFp(this.configuration).addEventSessionVisiblePassType(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
82979
+ }
82980
+
82981
+ /**
82982
+ * Add Event Session Visible Tier endpoint
82983
+ * @summary Add Event Session Visible Tier
82984
+ * @param {EventsSessionsApiAddEventSessionVisibleTierRequest} requestParameters Request parameters.
82985
+ * @param {*} [options] Override http request option.
82986
+ * @throws {RequiredError}
82987
+ */
82988
+ public addEventSessionVisibleTier(requestParameters: EventsSessionsApiAddEventSessionVisibleTierRequest, options?: RawAxiosRequestConfig) {
82989
+ return EventsSessionsApiFp(this.configuration).addEventSessionVisibleTier(requestParameters.eventId, requestParameters.sessionId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
82990
+ }
82991
+
82313
82992
  /**
82314
82993
  * Clone Event Session endpoint
82315
82994
  * @summary Clone Event Session
@@ -82453,6 +83132,28 @@ export class EventsSessionsApi extends BaseAPI {
82453
83132
  return EventsSessionsApiFp(this.configuration).getEventSessionTracks(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
82454
83133
  }
82455
83134
 
83135
+ /**
83136
+ * Get Event Session Visible Pass Types endpoint
83137
+ * @summary Get Event Session Visible Pass Types
83138
+ * @param {EventsSessionsApiGetEventSessionVisiblePassTypesRequest} requestParameters Request parameters.
83139
+ * @param {*} [options] Override http request option.
83140
+ * @throws {RequiredError}
83141
+ */
83142
+ public getEventSessionVisiblePassTypes(requestParameters: EventsSessionsApiGetEventSessionVisiblePassTypesRequest, options?: RawAxiosRequestConfig) {
83143
+ return EventsSessionsApiFp(this.configuration).getEventSessionVisiblePassTypes(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
83144
+ }
83145
+
83146
+ /**
83147
+ * Get Event Session Visible Tiers endpoint
83148
+ * @summary Get Event Session Visible Tiers
83149
+ * @param {EventsSessionsApiGetEventSessionVisibleTiersRequest} requestParameters Request parameters.
83150
+ * @param {*} [options] Override http request option.
83151
+ * @throws {RequiredError}
83152
+ */
83153
+ public getEventSessionVisibleTiers(requestParameters: EventsSessionsApiGetEventSessionVisibleTiersRequest, options?: RawAxiosRequestConfig) {
83154
+ return EventsSessionsApiFp(this.configuration).getEventSessionVisibleTiers(requestParameters.eventId, requestParameters.sessionId, requestParameters.page, requestParameters.pageSize, requestParameters.orderBy, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
83155
+ }
83156
+
82456
83157
  /**
82457
83158
  * Get Event Sessions endpoint
82458
83159
  * @summary Get Event Sessions
@@ -82541,6 +83242,28 @@ export class EventsSessionsApi extends BaseAPI {
82541
83242
  return EventsSessionsApiFp(this.configuration).removeEventSessionTrack(requestParameters.eventId, requestParameters.sessionId, requestParameters.trackId, options).then((request) => request(this.axios, this.basePath));
82542
83243
  }
82543
83244
 
83245
+ /**
83246
+ * Remove Event Session Visible Pass Type endpoint
83247
+ * @summary Remove Event Session Visible Pass Type
83248
+ * @param {EventsSessionsApiRemoveEventSessionVisiblePassTypeRequest} requestParameters Request parameters.
83249
+ * @param {*} [options] Override http request option.
83250
+ * @throws {RequiredError}
83251
+ */
83252
+ public removeEventSessionVisiblePassType(requestParameters: EventsSessionsApiRemoveEventSessionVisiblePassTypeRequest, options?: RawAxiosRequestConfig) {
83253
+ return EventsSessionsApiFp(this.configuration).removeEventSessionVisiblePassType(requestParameters.eventId, requestParameters.sessionId, requestParameters.passTypeId, options).then((request) => request(this.axios, this.basePath));
83254
+ }
83255
+
83256
+ /**
83257
+ * Remove Event Session Visible Tier endpoint
83258
+ * @summary Remove Event Session Visible Tier
83259
+ * @param {EventsSessionsApiRemoveEventSessionVisibleTierRequest} requestParameters Request parameters.
83260
+ * @param {*} [options] Override http request option.
83261
+ * @throws {RequiredError}
83262
+ */
83263
+ public removeEventSessionVisibleTier(requestParameters: EventsSessionsApiRemoveEventSessionVisibleTierRequest, options?: RawAxiosRequestConfig) {
83264
+ return EventsSessionsApiFp(this.configuration).removeEventSessionVisibleTier(requestParameters.eventId, requestParameters.sessionId, requestParameters.tierId, options).then((request) => request(this.axios, this.basePath));
83265
+ }
83266
+
82544
83267
  /**
82545
83268
  * Update Event Session endpoint
82546
83269
  * @summary Update Event Session
@@ -122731,6 +123454,46 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
122731
123454
  options: localVarRequestOptions,
122732
123455
  };
122733
123456
  },
123457
+ /**
123458
+ * Delete Custom Report Schedule endpoint
123459
+ * @summary Delete Custom Report Schedule
123460
+ * @param {string} reportId The report identifier
123461
+ * @param {*} [options] Override http request option.
123462
+ * @throws {RequiredError}
123463
+ */
123464
+ deleteCustomReportSchedule: async (reportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
123465
+ // verify required parameter 'reportId' is not null or undefined
123466
+ assertParamExists('deleteCustomReportSchedule', 'reportId', reportId)
123467
+ const localVarPath = `/reports/custom/{reportId}/schedule`
123468
+ .replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
123469
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
123470
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
123471
+ let baseOptions;
123472
+ if (configuration) {
123473
+ baseOptions = configuration.baseOptions;
123474
+ }
123475
+
123476
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
123477
+ const localVarHeaderParameter = {} as any;
123478
+ const localVarQueryParameter = {} as any;
123479
+
123480
+ // authentication ApiKeyAuth required
123481
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
123482
+
123483
+ // authentication OrganizationId required
123484
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
123485
+
123486
+ localVarHeaderParameter['Accept'] = 'application/json';
123487
+
123488
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
123489
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
123490
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
123491
+
123492
+ return {
123493
+ url: toPathString(localVarUrlObj),
123494
+ options: localVarRequestOptions,
123495
+ };
123496
+ },
122734
123497
  /**
122735
123498
  * Export Custom Report endpoint
122736
123499
  * @summary Export Custom Report
@@ -122816,6 +123579,46 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
122816
123579
  options: localVarRequestOptions,
122817
123580
  };
122818
123581
  },
123582
+ /**
123583
+ * Get Custom Report Schedule endpoint
123584
+ * @summary Get Custom Report Schedule
123585
+ * @param {string} reportId The report identifier
123586
+ * @param {*} [options] Override http request option.
123587
+ * @throws {RequiredError}
123588
+ */
123589
+ getCustomReportSchedule: async (reportId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
123590
+ // verify required parameter 'reportId' is not null or undefined
123591
+ assertParamExists('getCustomReportSchedule', 'reportId', reportId)
123592
+ const localVarPath = `/reports/custom/{reportId}/schedule`
123593
+ .replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
123594
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
123595
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
123596
+ let baseOptions;
123597
+ if (configuration) {
123598
+ baseOptions = configuration.baseOptions;
123599
+ }
123600
+
123601
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
123602
+ const localVarHeaderParameter = {} as any;
123603
+ const localVarQueryParameter = {} as any;
123604
+
123605
+ // authentication ApiKeyAuth required
123606
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
123607
+
123608
+ // authentication OrganizationId required
123609
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
123610
+
123611
+ localVarHeaderParameter['Accept'] = 'application/json';
123612
+
123613
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
123614
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
123615
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
123616
+
123617
+ return {
123618
+ url: toPathString(localVarUrlObj),
123619
+ options: localVarRequestOptions,
123620
+ };
123621
+ },
122819
123622
  /**
122820
123623
  * Get Custom Reports endpoint
122821
123624
  * @summary Get Custom Reports
@@ -123013,6 +123816,51 @@ export const ReportsApiAxiosParamCreator = function (configuration?: Configurati
123013
123816
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
123014
123817
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
123015
123818
 
123819
+ return {
123820
+ url: toPathString(localVarUrlObj),
123821
+ options: localVarRequestOptions,
123822
+ };
123823
+ },
123824
+ /**
123825
+ * Upsert Custom Report Schedule endpoint
123826
+ * @summary Upsert Custom Report Schedule
123827
+ * @param {string} reportId The report identifier
123828
+ * @param {CustomReportScheduleInputs} customReportScheduleInputs
123829
+ * @param {*} [options] Override http request option.
123830
+ * @throws {RequiredError}
123831
+ */
123832
+ upsertCustomReportSchedule: async (reportId: string, customReportScheduleInputs: CustomReportScheduleInputs, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
123833
+ // verify required parameter 'reportId' is not null or undefined
123834
+ assertParamExists('upsertCustomReportSchedule', 'reportId', reportId)
123835
+ // verify required parameter 'customReportScheduleInputs' is not null or undefined
123836
+ assertParamExists('upsertCustomReportSchedule', 'customReportScheduleInputs', customReportScheduleInputs)
123837
+ const localVarPath = `/reports/custom/{reportId}/schedule`
123838
+ .replace(`{${"reportId"}}`, encodeURIComponent(String(reportId)));
123839
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
123840
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
123841
+ let baseOptions;
123842
+ if (configuration) {
123843
+ baseOptions = configuration.baseOptions;
123844
+ }
123845
+
123846
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
123847
+ const localVarHeaderParameter = {} as any;
123848
+ const localVarQueryParameter = {} as any;
123849
+
123850
+ // authentication ApiKeyAuth required
123851
+ await setApiKeyToObject(localVarHeaderParameter, "api-key", configuration)
123852
+
123853
+ // authentication OrganizationId required
123854
+ await setApiKeyToObject(localVarHeaderParameter, "organization", configuration)
123855
+
123856
+ localVarHeaderParameter['Content-Type'] = 'application/json';
123857
+ localVarHeaderParameter['Accept'] = 'application/json';
123858
+
123859
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
123860
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
123861
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
123862
+ localVarRequestOptions.data = serializeDataIfNeeded(customReportScheduleInputs, localVarRequestOptions, configuration)
123863
+
123016
123864
  return {
123017
123865
  url: toPathString(localVarUrlObj),
123018
123866
  options: localVarRequestOptions,
@@ -123054,6 +123902,19 @@ export const ReportsApiFp = function(configuration?: Configuration) {
123054
123902
  const localVarOperationServerBasePath = operationServerMap['ReportsApi.deleteCustomReport']?.[localVarOperationServerIndex]?.url;
123055
123903
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
123056
123904
  },
123905
+ /**
123906
+ * Delete Custom Report Schedule endpoint
123907
+ * @summary Delete Custom Report Schedule
123908
+ * @param {string} reportId The report identifier
123909
+ * @param {*} [options] Override http request option.
123910
+ * @throws {RequiredError}
123911
+ */
123912
+ async deleteCustomReportSchedule(reportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomReportSchedule200Response>> {
123913
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCustomReportSchedule(reportId, options);
123914
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
123915
+ const localVarOperationServerBasePath = operationServerMap['ReportsApi.deleteCustomReportSchedule']?.[localVarOperationServerIndex]?.url;
123916
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
123917
+ },
123057
123918
  /**
123058
123919
  * Export Custom Report endpoint
123059
123920
  * @summary Export Custom Report
@@ -123081,6 +123942,19 @@ export const ReportsApiFp = function(configuration?: Configuration) {
123081
123942
  const localVarOperationServerBasePath = operationServerMap['ReportsApi.getCustomReport']?.[localVarOperationServerIndex]?.url;
123082
123943
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
123083
123944
  },
123945
+ /**
123946
+ * Get Custom Report Schedule endpoint
123947
+ * @summary Get Custom Report Schedule
123948
+ * @param {string} reportId The report identifier
123949
+ * @param {*} [options] Override http request option.
123950
+ * @throws {RequiredError}
123951
+ */
123952
+ async getCustomReportSchedule(reportId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCustomReportSchedule200Response>> {
123953
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCustomReportSchedule(reportId, options);
123954
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
123955
+ const localVarOperationServerBasePath = operationServerMap['ReportsApi.getCustomReportSchedule']?.[localVarOperationServerIndex]?.url;
123956
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
123957
+ },
123084
123958
  /**
123085
123959
  * Get Custom Reports endpoint
123086
123960
  * @summary Get Custom Reports
@@ -123139,6 +124013,20 @@ export const ReportsApiFp = function(configuration?: Configuration) {
123139
124013
  const localVarOperationServerBasePath = operationServerMap['ReportsApi.updateCustomReport']?.[localVarOperationServerIndex]?.url;
123140
124014
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
123141
124015
  },
124016
+ /**
124017
+ * Upsert Custom Report Schedule endpoint
124018
+ * @summary Upsert Custom Report Schedule
124019
+ * @param {string} reportId The report identifier
124020
+ * @param {CustomReportScheduleInputs} customReportScheduleInputs
124021
+ * @param {*} [options] Override http request option.
124022
+ * @throws {RequiredError}
124023
+ */
124024
+ async upsertCustomReportSchedule(reportId: string, customReportScheduleInputs: CustomReportScheduleInputs, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpsertCustomReportSchedule200Response>> {
124025
+ const localVarAxiosArgs = await localVarAxiosParamCreator.upsertCustomReportSchedule(reportId, customReportScheduleInputs, options);
124026
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
124027
+ const localVarOperationServerBasePath = operationServerMap['ReportsApi.upsertCustomReportSchedule']?.[localVarOperationServerIndex]?.url;
124028
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
124029
+ },
123142
124030
  }
123143
124031
  };
123144
124032
 
@@ -123168,6 +124056,16 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
123168
124056
  deleteCustomReport(requestParameters: ReportsApiDeleteCustomReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<CreateAccountInvitations200Response> {
123169
124057
  return localVarFp.deleteCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
123170
124058
  },
124059
+ /**
124060
+ * Delete Custom Report Schedule endpoint
124061
+ * @summary Delete Custom Report Schedule
124062
+ * @param {ReportsApiDeleteCustomReportScheduleRequest} requestParameters Request parameters.
124063
+ * @param {*} [options] Override http request option.
124064
+ * @throws {RequiredError}
124065
+ */
124066
+ deleteCustomReportSchedule(requestParameters: ReportsApiDeleteCustomReportScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCustomReportSchedule200Response> {
124067
+ return localVarFp.deleteCustomReportSchedule(requestParameters.reportId, options).then((request) => request(axios, basePath));
124068
+ },
123171
124069
  /**
123172
124070
  * Export Custom Report endpoint
123173
124071
  * @summary Export Custom Report
@@ -123188,6 +124086,16 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
123188
124086
  getCustomReport(requestParameters: ReportsApiGetCustomReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCustomReport200Response> {
123189
124087
  return localVarFp.getCustomReport(requestParameters.reportId, options).then((request) => request(axios, basePath));
123190
124088
  },
124089
+ /**
124090
+ * Get Custom Report Schedule endpoint
124091
+ * @summary Get Custom Report Schedule
124092
+ * @param {ReportsApiGetCustomReportScheduleRequest} requestParameters Request parameters.
124093
+ * @param {*} [options] Override http request option.
124094
+ * @throws {RequiredError}
124095
+ */
124096
+ getCustomReportSchedule(requestParameters: ReportsApiGetCustomReportScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCustomReportSchedule200Response> {
124097
+ return localVarFp.getCustomReportSchedule(requestParameters.reportId, options).then((request) => request(axios, basePath));
124098
+ },
123191
124099
  /**
123192
124100
  * Get Custom Reports endpoint
123193
124101
  * @summary Get Custom Reports
@@ -123228,6 +124136,16 @@ export const ReportsApiFactory = function (configuration?: Configuration, basePa
123228
124136
  updateCustomReport(requestParameters: ReportsApiUpdateCustomReportRequest, options?: RawAxiosRequestConfig): AxiosPromise<GetCustomReport200Response> {
123229
124137
  return localVarFp.updateCustomReport(requestParameters.reportId, requestParameters.report, options).then((request) => request(axios, basePath));
123230
124138
  },
124139
+ /**
124140
+ * Upsert Custom Report Schedule endpoint
124141
+ * @summary Upsert Custom Report Schedule
124142
+ * @param {ReportsApiUpsertCustomReportScheduleRequest} requestParameters Request parameters.
124143
+ * @param {*} [options] Override http request option.
124144
+ * @throws {RequiredError}
124145
+ */
124146
+ upsertCustomReportSchedule(requestParameters: ReportsApiUpsertCustomReportScheduleRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpsertCustomReportSchedule200Response> {
124147
+ return localVarFp.upsertCustomReportSchedule(requestParameters.reportId, requestParameters.customReportScheduleInputs, options).then((request) => request(axios, basePath));
124148
+ },
123231
124149
  };
123232
124150
  };
123233
124151
 
@@ -123253,6 +124171,16 @@ export interface ReportsApiDeleteCustomReportRequest {
123253
124171
  readonly reportId: string
123254
124172
  }
123255
124173
 
124174
+ /**
124175
+ * Request parameters for deleteCustomReportSchedule operation in ReportsApi.
124176
+ */
124177
+ export interface ReportsApiDeleteCustomReportScheduleRequest {
124178
+ /**
124179
+ * The report identifier
124180
+ */
124181
+ readonly reportId: string
124182
+ }
124183
+
123256
124184
  /**
123257
124185
  * Request parameters for exportCustomReport operation in ReportsApi.
123258
124186
  */
@@ -123275,6 +124203,16 @@ export interface ReportsApiGetCustomReportRequest {
123275
124203
  readonly reportId: string
123276
124204
  }
123277
124205
 
124206
+ /**
124207
+ * Request parameters for getCustomReportSchedule operation in ReportsApi.
124208
+ */
124209
+ export interface ReportsApiGetCustomReportScheduleRequest {
124210
+ /**
124211
+ * The report identifier
124212
+ */
124213
+ readonly reportId: string
124214
+ }
124215
+
123278
124216
  /**
123279
124217
  * Request parameters for getCustomReports operation in ReportsApi.
123280
124218
  */
@@ -123345,6 +124283,18 @@ export interface ReportsApiUpdateCustomReportRequest {
123345
124283
  readonly report: CustomReportUpdateInputs
123346
124284
  }
123347
124285
 
124286
+ /**
124287
+ * Request parameters for upsertCustomReportSchedule operation in ReportsApi.
124288
+ */
124289
+ export interface ReportsApiUpsertCustomReportScheduleRequest {
124290
+ /**
124291
+ * The report identifier
124292
+ */
124293
+ readonly reportId: string
124294
+
124295
+ readonly customReportScheduleInputs: CustomReportScheduleInputs
124296
+ }
124297
+
123348
124298
  /**
123349
124299
  * ReportsApi - object-oriented interface
123350
124300
  */
@@ -123371,6 +124321,17 @@ export class ReportsApi extends BaseAPI {
123371
124321
  return ReportsApiFp(this.configuration).deleteCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
123372
124322
  }
123373
124323
 
124324
+ /**
124325
+ * Delete Custom Report Schedule endpoint
124326
+ * @summary Delete Custom Report Schedule
124327
+ * @param {ReportsApiDeleteCustomReportScheduleRequest} requestParameters Request parameters.
124328
+ * @param {*} [options] Override http request option.
124329
+ * @throws {RequiredError}
124330
+ */
124331
+ public deleteCustomReportSchedule(requestParameters: ReportsApiDeleteCustomReportScheduleRequest, options?: RawAxiosRequestConfig) {
124332
+ return ReportsApiFp(this.configuration).deleteCustomReportSchedule(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
124333
+ }
124334
+
123374
124335
  /**
123375
124336
  * Export Custom Report endpoint
123376
124337
  * @summary Export Custom Report
@@ -123393,6 +124354,17 @@ export class ReportsApi extends BaseAPI {
123393
124354
  return ReportsApiFp(this.configuration).getCustomReport(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
123394
124355
  }
123395
124356
 
124357
+ /**
124358
+ * Get Custom Report Schedule endpoint
124359
+ * @summary Get Custom Report Schedule
124360
+ * @param {ReportsApiGetCustomReportScheduleRequest} requestParameters Request parameters.
124361
+ * @param {*} [options] Override http request option.
124362
+ * @throws {RequiredError}
124363
+ */
124364
+ public getCustomReportSchedule(requestParameters: ReportsApiGetCustomReportScheduleRequest, options?: RawAxiosRequestConfig) {
124365
+ return ReportsApiFp(this.configuration).getCustomReportSchedule(requestParameters.reportId, options).then((request) => request(this.axios, this.basePath));
124366
+ }
124367
+
123396
124368
  /**
123397
124369
  * Get Custom Reports endpoint
123398
124370
  * @summary Get Custom Reports
@@ -123436,6 +124408,17 @@ export class ReportsApi extends BaseAPI {
123436
124408
  public updateCustomReport(requestParameters: ReportsApiUpdateCustomReportRequest, options?: RawAxiosRequestConfig) {
123437
124409
  return ReportsApiFp(this.configuration).updateCustomReport(requestParameters.reportId, requestParameters.report, options).then((request) => request(this.axios, this.basePath));
123438
124410
  }
124411
+
124412
+ /**
124413
+ * Upsert Custom Report Schedule endpoint
124414
+ * @summary Upsert Custom Report Schedule
124415
+ * @param {ReportsApiUpsertCustomReportScheduleRequest} requestParameters Request parameters.
124416
+ * @param {*} [options] Override http request option.
124417
+ * @throws {RequiredError}
124418
+ */
124419
+ public upsertCustomReportSchedule(requestParameters: ReportsApiUpsertCustomReportScheduleRequest, options?: RawAxiosRequestConfig) {
124420
+ return ReportsApiFp(this.configuration).upsertCustomReportSchedule(requestParameters.reportId, requestParameters.customReportScheduleInputs, options).then((request) => request(this.axios, this.basePath));
124421
+ }
123439
124422
  }
123440
124423
 
123441
124424