@gooday_corp/gooday-api-client 1.3.56 → 1.3.61

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
@@ -3277,35 +3277,11 @@ export type CreateEventPayloadDTORepeatEnum = typeof CreateEventPayloadDTORepeat
3277
3277
  */
3278
3278
  export interface CreatePaymentLinkDTO {
3279
3279
  /**
3280
- * Currency in which the payment is made
3280
+ * Product ID
3281
3281
  * @type {string}
3282
3282
  * @memberof CreatePaymentLinkDTO
3283
3283
  */
3284
- 'currency': string;
3285
- /**
3286
- * Recurring interval for the payment
3287
- * @type {string}
3288
- * @memberof CreatePaymentLinkDTO
3289
- */
3290
- 'interval': string;
3291
- /**
3292
- * Amount to be charged in the smallest currency unit (e.g., cents for USD)
3293
- * @type {number}
3294
- * @memberof CreatePaymentLinkDTO
3295
- */
3296
- 'amount': number;
3297
- /**
3298
- * Name of the product or service for which payment is being made
3299
- * @type {string}
3300
- * @memberof CreatePaymentLinkDTO
3301
- */
3302
- 'name': string;
3303
- /**
3304
- * User Id
3305
- * @type {string}
3306
- * @memberof CreatePaymentLinkDTO
3307
- */
3308
- 'user': string;
3284
+ 'productID': string;
3309
3285
  }
3310
3286
  /**
3311
3287
  *
@@ -3910,6 +3886,25 @@ export interface EventResponseDTO {
3910
3886
  */
3911
3887
  'data': EventResponse;
3912
3888
  }
3889
+ /**
3890
+ *
3891
+ * @export
3892
+ * @interface FavoriteResponseDTO
3893
+ */
3894
+ export interface FavoriteResponseDTO {
3895
+ /**
3896
+ * statusCode
3897
+ * @type {number}
3898
+ * @memberof FavoriteResponseDTO
3899
+ */
3900
+ 'statusCode': number;
3901
+ /**
3902
+ *
3903
+ * @type {VenueFavoriteCount}
3904
+ * @memberof FavoriteResponseDTO
3905
+ */
3906
+ 'data': VenueFavoriteCount;
3907
+ }
3913
3908
  /**
3914
3909
  *
3915
3910
  * @export
@@ -3942,6 +3937,86 @@ export interface FileNameUploadDTO {
3942
3937
  */
3943
3938
  'bucketName': string;
3944
3939
  }
3940
+ /**
3941
+ *
3942
+ * @export
3943
+ * @interface FilterEntity
3944
+ */
3945
+ export interface FilterEntity {
3946
+ /**
3947
+ * Event id
3948
+ * @type {string}
3949
+ * @memberof FilterEntity
3950
+ */
3951
+ '_id': string;
3952
+ /**
3953
+ * Event name
3954
+ * @type {string}
3955
+ * @memberof FilterEntity
3956
+ */
3957
+ 'title': string;
3958
+ /**
3959
+ *
3960
+ * @type {Array<string>}
3961
+ * @memberof FilterEntity
3962
+ */
3963
+ 'photos': Array<string>;
3964
+ /**
3965
+ *
3966
+ * @type {Array<string>}
3967
+ * @memberof FilterEntity
3968
+ */
3969
+ 'coverPhoto': Array<string>;
3970
+ /**
3971
+ *
3972
+ * @type {string}
3973
+ * @memberof FilterEntity
3974
+ */
3975
+ 'type': string;
3976
+ /**
3977
+ *
3978
+ * @type {string}
3979
+ * @memberof FilterEntity
3980
+ */
3981
+ 'startDate': string;
3982
+ /**
3983
+ *
3984
+ * @type {string}
3985
+ * @memberof FilterEntity
3986
+ */
3987
+ 'endDate': string;
3988
+ /**
3989
+ *
3990
+ * @type {Array<TagsResponse>}
3991
+ * @memberof FilterEntity
3992
+ */
3993
+ 'tags': Array<TagsResponse>;
3994
+ /**
3995
+ *
3996
+ * @type {Array<string>}
3997
+ * @memberof FilterEntity
3998
+ */
3999
+ 'keyword': Array<string>;
4000
+ }
4001
+ /**
4002
+ *
4003
+ * @export
4004
+ * @interface FilterEntityResponseDTO
4005
+ */
4006
+ export interface FilterEntityResponseDTO {
4007
+ /**
4008
+ *
4009
+ * @type {Array<FilterEntity>}
4010
+ * @memberof FilterEntityResponseDTO
4011
+ */
4012
+ 'data': Array<FilterEntity>;
4013
+ /**
4014
+ * statusCode
4015
+ * @type {number}
4016
+ * @memberof FilterEntityResponseDTO
4017
+ */
4018
+ 'statusCode': number;
4019
+ }
3945
4020
  /**
3946
4021
  *
3947
4022
  * @export
@@ -4425,6 +4500,98 @@ export const FriendshipStatusDTOSuccessEnum = {
4425
4500
 
4426
4501
  export type FriendshipStatusDTOSuccessEnum = typeof FriendshipStatusDTOSuccessEnum[keyof typeof FriendshipStatusDTOSuccessEnum];
4427
4502
 
4503
+ /**
4504
+ *
4505
+ * @export
4506
+ * @interface GetAllVenueDto
4507
+ */
4508
+ export interface GetAllVenueDto {
4509
+ /**
4510
+ * Business name search
4511
+ * @type {string}
4512
+ * @memberof GetAllVenueDto
4513
+ */
4514
+ 'search'?: string;
4515
+ /**
4516
+ * Page number for pagination
4517
+ * @type {number}
4518
+ * @memberof GetAllVenueDto
4519
+ */
4520
+ 'page'?: number;
4521
+ /**
4522
+ * Number of items per page for pagination
4523
+ * @type {number}
4524
+ * @memberof GetAllVenueDto
4525
+ */
4526
+ 'limit'?: number;
4527
+ /**
4528
+ *
4529
+ * @type {number}
4530
+ * @memberof GetAllVenueDto
4531
+ */
4532
+ 'people'?: number;
4533
+ /**
4534
+ *
4535
+ * @type {Array<number>}
4536
+ * @memberof GetAllVenueDto
4537
+ */
4538
+ 'coordinates': Array<number>;
4539
+ }
4540
+ /**
4541
+ *
4542
+ * @export
4543
+ * @interface GetAllWhatsOnDTO
4544
+ */
4545
+ export interface GetAllWhatsOnDTO {
4546
+ /**
4547
+ *
4548
+ * @type {number}
4549
+ * @memberof GetAllWhatsOnDTO
4550
+ */
4551
+ 'page': number;
4552
+ /**
4553
+ *
4554
+ * @type {number}
4555
+ * @memberof GetAllWhatsOnDTO
4556
+ */
4557
+ 'pageSize': number;
4558
+ /**
4559
+ *
4560
+ * @type {string}
4561
+ * @memberof GetAllWhatsOnDTO
4562
+ */
4563
+ 'search'?: string;
4564
+ /**
4565
+ *
4566
+ * @type {string}
4567
+ * @memberof GetAllWhatsOnDTO
4568
+ */
4569
+ 'date'?: string;
4570
+ /**
4571
+ *
4572
+ * @type {string}
4573
+ * @memberof GetAllWhatsOnDTO
4574
+ */
4575
+ 'toTime'?: string;
4576
+ /**
4577
+ *
4578
+ * @type {Array<number>}
4579
+ * @memberof GetAllWhatsOnDTO
4580
+ */
4581
+ 'coordinates'?: Array<number>;
4582
+ /**
4583
+ *
4584
+ * @type {number}
4585
+ * @memberof GetAllWhatsOnDTO
4586
+ */
4587
+ 'capacity'?: number;
4588
+ /**
4589
+ *
4590
+ * @type {string}
4591
+ * @memberof GetAllWhatsOnDTO
4592
+ */
4593
+ 'venue'?: string;
4594
+ }
4428
4595
  /**
4429
4596
  *
4430
4597
  * @export
@@ -6318,6 +6485,25 @@ export interface PriceRangeListResponse {
6318
6485
  */
6319
6486
  'data': Array<PriceRangeEntity>;
6320
6487
  }
6488
+ /**
6489
+ *
6490
+ * @export
6491
+ * @interface ProductResponseDTO
6492
+ */
6493
+ export interface ProductResponseDTO {
6494
+ /**
6495
+ *
6496
+ * @type {object}
6497
+ * @memberof ProductResponseDTO
6498
+ */
6499
+ 'data': object;
6500
+ /**
6501
+ * statusCode
6502
+ * @type {number}
6503
+ * @memberof ProductResponseDTO
6504
+ */
6505
+ 'statusCode': number;
6506
+ }
6321
6507
  /**
6322
6508
  *
6323
6509
  * @export
@@ -7498,6 +7684,12 @@ export interface UserEntity {
7498
7684
  * @memberof UserEntity
7499
7685
  */
7500
7686
  'isEmailVerified': boolean;
7687
+ /**
7688
+ * Indicates whether the business owner subscription status
7689
+ * @type {string}
7690
+ * @memberof UserEntity
7691
+ */
7692
+ 'subscription': string;
7501
7693
  /**
7502
7694
  * Primary user calendar
7503
7695
  * @type {string}
@@ -7751,6 +7943,44 @@ export interface UserWaitingListResponseDTO {
7751
7943
  */
7752
7944
  'data': UserWaitingListPayloadDTO;
7753
7945
  }
7946
+ /**
7947
+ *
7948
+ * @export
7949
+ * @interface VenueFavoriteCount
7950
+ */
7951
+ export interface VenueFavoriteCount {
7952
+ /**
7953
+ *
7954
+ * @type {number}
7955
+ * @memberof VenueFavoriteCount
7956
+ */
7957
+ 'venueFavorite': number;
7958
+ /**
7959
+ *
7960
+ * @type {Array<UserEntity>}
7961
+ * @memberof VenueFavoriteCount
7962
+ */
7963
+ 'lastUser': Array<UserEntity>;
7964
+ }
7965
+ /**
7966
+ *
7967
+ * @export
7968
+ * @interface VenueResponseDTO
7969
+ */
7970
+ export interface VenueResponseDTO {
7971
+ /**
7972
+ * statusCode
7973
+ * @type {number}
7974
+ * @memberof VenueResponseDTO
7975
+ */
7976
+ 'statusCode': number;
7977
+ /**
7978
+ * Venue
7979
+ * @type {BusinessVenueDetailsEntity}
7980
+ * @memberof VenueResponseDTO
7981
+ */
7982
+ 'data': BusinessVenueDetailsEntity;
7983
+ }
7754
7984
  /**
7755
7985
  *
7756
7986
  * @export
@@ -8476,6 +8706,79 @@ export interface WhatsOnFavoriteResponseDTO {
8476
8706
  */
8477
8707
  'data': WhatsOnEntity;
8478
8708
  }
8709
+ /**
8710
+ *
8711
+ * @export
8712
+ * @interface WhatsOnFilterDTO
8713
+ */
8714
+ export interface WhatsOnFilterDTO {
8715
+ /**
8716
+ *
8717
+ * @type {number}
8718
+ * @memberof WhatsOnFilterDTO
8719
+ */
8720
+ 'page'?: number;
8721
+ /**
8722
+ *
8723
+ * @type {number}
8724
+ * @memberof WhatsOnFilterDTO
8725
+ */
8726
+ 'pageSize'?: number;
8727
+ /**
8728
+ *
8729
+ * @type {string}
8730
+ * @memberof WhatsOnFilterDTO
8731
+ */
8732
+ 'search'?: string;
8733
+ /**
8734
+ *
8735
+ * @type {Array<string>}
8736
+ * @memberof WhatsOnFilterDTO
8737
+ */
8738
+ 'category'?: Array<string>;
8739
+ /**
8740
+ *
8741
+ * @type {string}
8742
+ * @memberof WhatsOnFilterDTO
8743
+ */
8744
+ 'type'?: string;
8745
+ /**
8746
+ * Start date for the events
8747
+ * @type {string}
8748
+ * @memberof WhatsOnFilterDTO
8749
+ */
8750
+ 'date': string;
8751
+ /**
8752
+ *
8753
+ * @type {string}
8754
+ * @memberof WhatsOnFilterDTO
8755
+ */
8756
+ 'from'?: string;
8757
+ /**
8758
+ *
8759
+ * @type {string}
8760
+ * @memberof WhatsOnFilterDTO
8761
+ */
8762
+ 'to'?: string;
8763
+ /**
8764
+ *
8765
+ * @type {number}
8766
+ * @memberof WhatsOnFilterDTO
8767
+ */
8768
+ 'distance'?: number;
8769
+ /**
8770
+ * Maximum price filter
8771
+ * @type {number}
8772
+ * @memberof WhatsOnFilterDTO
8773
+ */
8774
+ 'maxPrice'?: number;
8775
+ /**
8776
+ *
8777
+ * @type {number}
8778
+ * @memberof WhatsOnFilterDTO
8779
+ */
8780
+ 'number'?: number;
8781
+ }
8479
8782
  /**
8480
8783
  *
8481
8784
  * @export
@@ -12006,6 +12309,41 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
12006
12309
  options: localVarRequestOptions,
12007
12310
  };
12008
12311
  },
12312
+ /**
12313
+ *
12314
+ * @param {FindBusinessStaff} findBusinessStaff
12315
+ * @param {*} [options] Override http request option.
12316
+ * @throws {RequiredError}
12317
+ */
12318
+ businessStaffControllerFindVenueStaffs: async (findBusinessStaff: FindBusinessStaff, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12319
+ // verify required parameter 'findBusinessStaff' is not null or undefined
12320
+ assertParamExists('businessStaffControllerFindVenueStaffs', 'findBusinessStaff', findBusinessStaff)
12321
+ const localVarPath = `/v1/business-staff/public-list`;
12322
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12323
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12324
+ let baseOptions;
12325
+ if (configuration) {
12326
+ baseOptions = configuration.baseOptions;
12327
+ }
12328
+
12329
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
12330
+ const localVarHeaderParameter = {} as any;
12331
+ const localVarQueryParameter = {} as any;
12332
+
12333
+
12334
+
12335
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12336
+
12337
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12338
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12339
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12340
+ localVarRequestOptions.data = serializeDataIfNeeded(findBusinessStaff, localVarRequestOptions, configuration)
12341
+
12342
+ return {
12343
+ url: toPathString(localVarUrlObj),
12344
+ options: localVarRequestOptions,
12345
+ };
12346
+ },
12009
12347
  /**
12010
12348
  *
12011
12349
  * @param {BusinessStaffDTO} businessStaffDTO
@@ -12201,6 +12539,41 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
12201
12539
  options: localVarRequestOptions,
12202
12540
  };
12203
12541
  },
12542
+ /**
12543
+ *
12544
+ * @param {GetAllVenueDto} getAllVenueDto
12545
+ * @param {*} [options] Override http request option.
12546
+ * @throws {RequiredError}
12547
+ */
12548
+ businessTypeControllerGetAllVenue: async (getAllVenueDto: GetAllVenueDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12549
+ // verify required parameter 'getAllVenueDto' is not null or undefined
12550
+ assertParamExists('businessTypeControllerGetAllVenue', 'getAllVenueDto', getAllVenueDto)
12551
+ const localVarPath = `/v1/business/venues`;
12552
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12553
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12554
+ let baseOptions;
12555
+ if (configuration) {
12556
+ baseOptions = configuration.baseOptions;
12557
+ }
12558
+
12559
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
12560
+ const localVarHeaderParameter = {} as any;
12561
+ const localVarQueryParameter = {} as any;
12562
+
12563
+
12564
+
12565
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12566
+
12567
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12568
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12569
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12570
+ localVarRequestOptions.data = serializeDataIfNeeded(getAllVenueDto, localVarRequestOptions, configuration)
12571
+
12572
+ return {
12573
+ url: toPathString(localVarUrlObj),
12574
+ options: localVarRequestOptions,
12575
+ };
12576
+ },
12204
12577
  /**
12205
12578
  *
12206
12579
  * @param {GetBusinessVenueDto} getBusinessVenueDto
@@ -12240,6 +12613,72 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
12240
12613
  options: localVarRequestOptions,
12241
12614
  };
12242
12615
  },
12616
+ /**
12617
+ *
12618
+ * @param {string} id
12619
+ * @param {*} [options] Override http request option.
12620
+ * @throws {RequiredError}
12621
+ */
12622
+ businessTypeControllerGetFavoriteVenueCount: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12623
+ // verify required parameter 'id' is not null or undefined
12624
+ assertParamExists('businessTypeControllerGetFavoriteVenueCount', 'id', id)
12625
+ const localVarPath = `/v1/business/public/favorite/count/{id}`
12626
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
12627
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12628
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12629
+ let baseOptions;
12630
+ if (configuration) {
12631
+ baseOptions = configuration.baseOptions;
12632
+ }
12633
+
12634
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
12635
+ const localVarHeaderParameter = {} as any;
12636
+ const localVarQueryParameter = {} as any;
12637
+
12638
+
12639
+
12640
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12641
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12642
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12643
+
12644
+ return {
12645
+ url: toPathString(localVarUrlObj),
12646
+ options: localVarRequestOptions,
12647
+ };
12648
+ },
12649
+ /**
12650
+ *
12651
+ * @param {string} id
12652
+ * @param {*} [options] Override http request option.
12653
+ * @throws {RequiredError}
12654
+ */
12655
+ businessTypeControllerGetVenueById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12656
+ // verify required parameter 'id' is not null or undefined
12657
+ assertParamExists('businessTypeControllerGetVenueById', 'id', id)
12658
+ const localVarPath = `/v1/business/venue/{id}`
12659
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
12660
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12661
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12662
+ let baseOptions;
12663
+ if (configuration) {
12664
+ baseOptions = configuration.baseOptions;
12665
+ }
12666
+
12667
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
12668
+ const localVarHeaderParameter = {} as any;
12669
+ const localVarQueryParameter = {} as any;
12670
+
12671
+
12672
+
12673
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12674
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12675
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12676
+
12677
+ return {
12678
+ url: toPathString(localVarUrlObj),
12679
+ options: localVarRequestOptions,
12680
+ };
12681
+ },
12243
12682
  /**
12244
12683
  *
12245
12684
  * @param {*} [options] Override http request option.
@@ -12703,6 +13142,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
12703
13142
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindByIdBusinessStaff']?.[localVarOperationServerIndex]?.url;
12704
13143
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12705
13144
  },
13145
+ /**
13146
+ *
13147
+ * @param {FindBusinessStaff} findBusinessStaff
13148
+ * @param {*} [options] Override http request option.
13149
+ * @throws {RequiredError}
13150
+ */
13151
+ async businessStaffControllerFindVenueStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffsResponseDTO>> {
13152
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerFindVenueStaffs(findBusinessStaff, options);
13153
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13154
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindVenueStaffs']?.[localVarOperationServerIndex]?.url;
13155
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13156
+ },
12706
13157
  /**
12707
13158
  *
12708
13159
  * @param {BusinessStaffDTO} businessStaffDTO
@@ -12764,6 +13215,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
12764
13215
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerFindFriendsFavoriteBusinessVenueList']?.[localVarOperationServerIndex]?.url;
12765
13216
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12766
13217
  },
13218
+ /**
13219
+ *
13220
+ * @param {GetAllVenueDto} getAllVenueDto
13221
+ * @param {*} [options] Override http request option.
13222
+ * @throws {RequiredError}
13223
+ */
13224
+ async businessTypeControllerGetAllVenue(getAllVenueDto: GetAllVenueDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
13225
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetAllVenue(getAllVenueDto, options);
13226
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13227
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetAllVenue']?.[localVarOperationServerIndex]?.url;
13228
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13229
+ },
12767
13230
  /**
12768
13231
  *
12769
13232
  * @param {GetBusinessVenueDto} getBusinessVenueDto
@@ -12776,6 +13239,30 @@ export const BusinessApiFp = function(configuration?: Configuration) {
12776
13239
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
12777
13240
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12778
13241
  },
13242
+ /**
13243
+ *
13244
+ * @param {string} id
13245
+ * @param {*} [options] Override http request option.
13246
+ * @throws {RequiredError}
13247
+ */
13248
+ async businessTypeControllerGetFavoriteVenueCount(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoriteResponseDTO>> {
13249
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetFavoriteVenueCount(id, options);
13250
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13251
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetFavoriteVenueCount']?.[localVarOperationServerIndex]?.url;
13252
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13253
+ },
13254
+ /**
13255
+ *
13256
+ * @param {string} id
13257
+ * @param {*} [options] Override http request option.
13258
+ * @throws {RequiredError}
13259
+ */
13260
+ async businessTypeControllerGetVenueById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueResponseDTO>> {
13261
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetVenueById(id, options);
13262
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
13263
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetVenueById']?.[localVarOperationServerIndex]?.url;
13264
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13265
+ },
12779
13266
  /**
12780
13267
  *
12781
13268
  * @param {*} [options] Override http request option.
@@ -12973,6 +13460,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
12973
13460
  businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
12974
13461
  return localVarFp.businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(axios, basePath));
12975
13462
  },
13463
+ /**
13464
+ *
13465
+ * @param {FindBusinessStaff} findBusinessStaff
13466
+ * @param {*} [options] Override http request option.
13467
+ * @throws {RequiredError}
13468
+ */
13469
+ businessStaffControllerFindVenueStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffsResponseDTO> {
13470
+ return localVarFp.businessStaffControllerFindVenueStaffs(findBusinessStaff, options).then((request) => request(axios, basePath));
13471
+ },
12976
13472
  /**
12977
13473
  *
12978
13474
  * @param {BusinessStaffDTO} businessStaffDTO
@@ -13019,6 +13515,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
13019
13515
  businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteListResponseDTO> {
13020
13516
  return localVarFp.businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(axios, basePath));
13021
13517
  },
13518
+ /**
13519
+ *
13520
+ * @param {GetAllVenueDto} getAllVenueDto
13521
+ * @param {*} [options] Override http request option.
13522
+ * @throws {RequiredError}
13523
+ */
13524
+ businessTypeControllerGetAllVenue(getAllVenueDto: GetAllVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
13525
+ return localVarFp.businessTypeControllerGetAllVenue(getAllVenueDto, options).then((request) => request(axios, basePath));
13526
+ },
13022
13527
  /**
13023
13528
  *
13024
13529
  * @param {GetBusinessVenueDto} getBusinessVenueDto
@@ -13028,6 +13533,24 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
13028
13533
  businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
13029
13534
  return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
13030
13535
  },
13536
+ /**
13537
+ *
13538
+ * @param {string} id
13539
+ * @param {*} [options] Override http request option.
13540
+ * @throws {RequiredError}
13541
+ */
13542
+ businessTypeControllerGetFavoriteVenueCount(id: string, options?: RawAxiosRequestConfig): AxiosPromise<FavoriteResponseDTO> {
13543
+ return localVarFp.businessTypeControllerGetFavoriteVenueCount(id, options).then((request) => request(axios, basePath));
13544
+ },
13545
+ /**
13546
+ *
13547
+ * @param {string} id
13548
+ * @param {*} [options] Override http request option.
13549
+ * @throws {RequiredError}
13550
+ */
13551
+ businessTypeControllerGetVenueById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<VenueResponseDTO> {
13552
+ return localVarFp.businessTypeControllerGetVenueById(id, options).then((request) => request(axios, basePath));
13553
+ },
13031
13554
  /**
13032
13555
  *
13033
13556
  * @param {*} [options] Override http request option.
@@ -13196,19 +13719,30 @@ export class BusinessApi extends BaseAPI {
13196
13719
  * @throws {RequiredError}
13197
13720
  * @memberof BusinessApi
13198
13721
  */
13199
- public businessStaffControllerFindBusinessStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig) {
13200
- return BusinessApiFp(this.configuration).businessStaffControllerFindBusinessStaffs(findBusinessStaff, options).then((request) => request(this.axios, this.basePath));
13722
+ public businessStaffControllerFindBusinessStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig) {
13723
+ return BusinessApiFp(this.configuration).businessStaffControllerFindBusinessStaffs(findBusinessStaff, options).then((request) => request(this.axios, this.basePath));
13724
+ }
13725
+
13726
+ /**
13727
+ *
13728
+ * @param {string} id
13729
+ * @param {*} [options] Override http request option.
13730
+ * @throws {RequiredError}
13731
+ * @memberof BusinessApi
13732
+ */
13733
+ public businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig) {
13734
+ return BusinessApiFp(this.configuration).businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(this.axios, this.basePath));
13201
13735
  }
13202
13736
 
13203
13737
  /**
13204
13738
  *
13205
- * @param {string} id
13739
+ * @param {FindBusinessStaff} findBusinessStaff
13206
13740
  * @param {*} [options] Override http request option.
13207
13741
  * @throws {RequiredError}
13208
13742
  * @memberof BusinessApi
13209
13743
  */
13210
- public businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig) {
13211
- return BusinessApiFp(this.configuration).businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(this.axios, this.basePath));
13744
+ public businessStaffControllerFindVenueStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig) {
13745
+ return BusinessApiFp(this.configuration).businessStaffControllerFindVenueStaffs(findBusinessStaff, options).then((request) => request(this.axios, this.basePath));
13212
13746
  }
13213
13747
 
13214
13748
  /**
@@ -13267,6 +13801,17 @@ export class BusinessApi extends BaseAPI {
13267
13801
  return BusinessApiFp(this.configuration).businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(this.axios, this.basePath));
13268
13802
  }
13269
13803
 
13804
+ /**
13805
+ *
13806
+ * @param {GetAllVenueDto} getAllVenueDto
13807
+ * @param {*} [options] Override http request option.
13808
+ * @throws {RequiredError}
13809
+ * @memberof BusinessApi
13810
+ */
13811
+ public businessTypeControllerGetAllVenue(getAllVenueDto: GetAllVenueDto, options?: RawAxiosRequestConfig) {
13812
+ return BusinessApiFp(this.configuration).businessTypeControllerGetAllVenue(getAllVenueDto, options).then((request) => request(this.axios, this.basePath));
13813
+ }
13814
+
13270
13815
  /**
13271
13816
  *
13272
13817
  * @param {GetBusinessVenueDto} getBusinessVenueDto
@@ -13278,6 +13823,28 @@ export class BusinessApi extends BaseAPI {
13278
13823
  return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
13279
13824
  }
13280
13825
 
13826
+ /**
13827
+ *
13828
+ * @param {string} id
13829
+ * @param {*} [options] Override http request option.
13830
+ * @throws {RequiredError}
13831
+ * @memberof BusinessApi
13832
+ */
13833
+ public businessTypeControllerGetFavoriteVenueCount(id: string, options?: RawAxiosRequestConfig) {
13834
+ return BusinessApiFp(this.configuration).businessTypeControllerGetFavoriteVenueCount(id, options).then((request) => request(this.axios, this.basePath));
13835
+ }
13836
+
13837
+ /**
13838
+ *
13839
+ * @param {string} id
13840
+ * @param {*} [options] Override http request option.
13841
+ * @throws {RequiredError}
13842
+ * @memberof BusinessApi
13843
+ */
13844
+ public businessTypeControllerGetVenueById(id: string, options?: RawAxiosRequestConfig) {
13845
+ return BusinessApiFp(this.configuration).businessTypeControllerGetVenueById(id, options).then((request) => request(this.axios, this.basePath));
13846
+ }
13847
+
13281
13848
  /**
13282
13849
  *
13283
13850
  * @param {*} [options] Override http request option.
@@ -18023,6 +18590,10 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
18023
18590
  const localVarHeaderParameter = {} as any;
18024
18591
  const localVarQueryParameter = {} as any;
18025
18592
 
18593
+ // authentication bearer required
18594
+ // http bearer authentication required
18595
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
18596
+
18026
18597
 
18027
18598
 
18028
18599
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -18148,6 +18719,39 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
18148
18719
 
18149
18720
 
18150
18721
 
18722
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18723
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18724
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18725
+
18726
+ return {
18727
+ url: toPathString(localVarUrlObj),
18728
+ options: localVarRequestOptions,
18729
+ };
18730
+ },
18731
+ /**
18732
+ *
18733
+ * @param {string} id
18734
+ * @param {*} [options] Override http request option.
18735
+ * @throws {RequiredError}
18736
+ */
18737
+ paymentControllerServiceById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18738
+ // verify required parameter 'id' is not null or undefined
18739
+ assertParamExists('paymentControllerServiceById', 'id', id)
18740
+ const localVarPath = `/v1/payment/stripe-plan/{id}`
18741
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
18742
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18743
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18744
+ let baseOptions;
18745
+ if (configuration) {
18746
+ baseOptions = configuration.baseOptions;
18747
+ }
18748
+
18749
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18750
+ const localVarHeaderParameter = {} as any;
18751
+ const localVarQueryParameter = {} as any;
18752
+
18753
+
18754
+
18151
18755
  setSearchParams(localVarUrlObj, localVarQueryParameter);
18152
18756
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18153
18757
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -18319,6 +18923,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
18319
18923
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
18320
18924
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18321
18925
  },
18926
+ /**
18927
+ *
18928
+ * @param {string} id
18929
+ * @param {*} [options] Override http request option.
18930
+ * @throws {RequiredError}
18931
+ */
18932
+ async paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductResponseDTO>> {
18933
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerServiceById(id, options);
18934
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18935
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerServiceById']?.[localVarOperationServerIndex]?.url;
18936
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18937
+ },
18322
18938
  /**
18323
18939
  *
18324
18940
  * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
@@ -18410,6 +19026,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
18410
19026
  paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
18411
19027
  return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
18412
19028
  },
19029
+ /**
19030
+ *
19031
+ * @param {string} id
19032
+ * @param {*} [options] Override http request option.
19033
+ * @throws {RequiredError}
19034
+ */
19035
+ paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductResponseDTO> {
19036
+ return localVarFp.paymentControllerServiceById(id, options).then((request) => request(axios, basePath));
19037
+ },
18413
19038
  /**
18414
19039
  *
18415
19040
  * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
@@ -18509,6 +19134,17 @@ export class PlansApi extends BaseAPI {
18509
19134
  return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
18510
19135
  }
18511
19136
 
19137
+ /**
19138
+ *
19139
+ * @param {string} id
19140
+ * @param {*} [options] Override http request option.
19141
+ * @throws {RequiredError}
19142
+ * @memberof PlansApi
19143
+ */
19144
+ public paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig) {
19145
+ return PlansApiFp(this.configuration).paymentControllerServiceById(id, options).then((request) => request(this.axios, this.basePath));
19146
+ }
19147
+
18512
19148
  /**
18513
19149
  *
18514
19150
  * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
@@ -18715,6 +19351,41 @@ export const PrepaidServiceApiAxiosParamCreator = function (configuration?: Conf
18715
19351
 
18716
19352
 
18717
19353
 
19354
+ localVarHeaderParameter['Content-Type'] = 'application/json';
19355
+
19356
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
19357
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
19358
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
19359
+ localVarRequestOptions.data = serializeDataIfNeeded(prepaidServiceFindDTO, localVarRequestOptions, configuration)
19360
+
19361
+ return {
19362
+ url: toPathString(localVarUrlObj),
19363
+ options: localVarRequestOptions,
19364
+ };
19365
+ },
19366
+ /**
19367
+ *
19368
+ * @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
19369
+ * @param {*} [options] Override http request option.
19370
+ * @throws {RequiredError}
19371
+ */
19372
+ prepaidServiceControllerFindServiceByVenue: async (prepaidServiceFindDTO: PrepaidServiceFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
19373
+ // verify required parameter 'prepaidServiceFindDTO' is not null or undefined
19374
+ assertParamExists('prepaidServiceControllerFindServiceByVenue', 'prepaidServiceFindDTO', prepaidServiceFindDTO)
19375
+ const localVarPath = `/v1/prepaid-service/public-list`;
19376
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
19377
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
19378
+ let baseOptions;
19379
+ if (configuration) {
19380
+ baseOptions = configuration.baseOptions;
19381
+ }
19382
+
19383
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
19384
+ const localVarHeaderParameter = {} as any;
19385
+ const localVarQueryParameter = {} as any;
19386
+
19387
+
19388
+
18718
19389
  localVarHeaderParameter['Content-Type'] = 'application/json';
18719
19390
 
18720
19391
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -18915,6 +19586,18 @@ export const PrepaidServiceApiFp = function(configuration?: Configuration) {
18915
19586
  const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerFindService']?.[localVarOperationServerIndex]?.url;
18916
19587
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18917
19588
  },
19589
+ /**
19590
+ *
19591
+ * @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
19592
+ * @param {*} [options] Override http request option.
19593
+ * @throws {RequiredError}
19594
+ */
19595
+ async prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrepaidServiceResponseDTO>> {
19596
+ const localVarAxiosArgs = await localVarAxiosParamCreator.prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO, options);
19597
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
19598
+ const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerFindServiceByVenue']?.[localVarOperationServerIndex]?.url;
19599
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
19600
+ },
18918
19601
  /**
18919
19602
  *
18920
19603
  * @param {PrepaidServiceAvailabilityPayloadDTO} prepaidServiceAvailabilityPayloadDTO
@@ -19006,6 +19689,15 @@ export const PrepaidServiceApiFactory = function (configuration?: Configuration,
19006
19689
  prepaidServiceControllerFindService(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceResponseDTO> {
19007
19690
  return localVarFp.prepaidServiceControllerFindService(prepaidServiceFindDTO, options).then((request) => request(axios, basePath));
19008
19691
  },
19692
+ /**
19693
+ *
19694
+ * @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
19695
+ * @param {*} [options] Override http request option.
19696
+ * @throws {RequiredError}
19697
+ */
19698
+ prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceResponseDTO> {
19699
+ return localVarFp.prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO, options).then((request) => request(axios, basePath));
19700
+ },
19009
19701
  /**
19010
19702
  *
19011
19703
  * @param {PrepaidServiceAvailabilityPayloadDTO} prepaidServiceAvailabilityPayloadDTO
@@ -19098,6 +19790,17 @@ export class PrepaidServiceApi extends BaseAPI {
19098
19790
  return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerFindService(prepaidServiceFindDTO, options).then((request) => request(this.axios, this.basePath));
19099
19791
  }
19100
19792
 
19793
+ /**
19794
+ *
19795
+ * @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
19796
+ * @param {*} [options] Override http request option.
19797
+ * @throws {RequiredError}
19798
+ * @memberof PrepaidServiceApi
19799
+ */
19800
+ public prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig) {
19801
+ return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO, options).then((request) => request(this.axios, this.basePath));
19802
+ }
19803
+
19101
19804
  /**
19102
19805
  *
19103
19806
  * @param {PrepaidServiceAvailabilityPayloadDTO} prepaidServiceAvailabilityPayloadDTO
@@ -22024,6 +22727,45 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
22024
22727
  options: localVarRequestOptions,
22025
22728
  };
22026
22729
  },
22730
+ /**
22731
+ *
22732
+ * @param {WhatsOnFilterDTO} whatsOnFilterDTO
22733
+ * @param {*} [options] Override http request option.
22734
+ * @throws {RequiredError}
22735
+ */
22736
+ whatsOnControllerFilterWhatsOn: async (whatsOnFilterDTO: WhatsOnFilterDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22737
+ // verify required parameter 'whatsOnFilterDTO' is not null or undefined
22738
+ assertParamExists('whatsOnControllerFilterWhatsOn', 'whatsOnFilterDTO', whatsOnFilterDTO)
22739
+ const localVarPath = `/v1/whats-on/filter/list`;
22740
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22741
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22742
+ let baseOptions;
22743
+ if (configuration) {
22744
+ baseOptions = configuration.baseOptions;
22745
+ }
22746
+
22747
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
22748
+ const localVarHeaderParameter = {} as any;
22749
+ const localVarQueryParameter = {} as any;
22750
+
22751
+ // authentication bearer required
22752
+ // http bearer authentication required
22753
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
22754
+
22755
+
22756
+
22757
+ localVarHeaderParameter['Content-Type'] = 'application/json';
22758
+
22759
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22760
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22761
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
22762
+ localVarRequestOptions.data = serializeDataIfNeeded(whatsOnFilterDTO, localVarRequestOptions, configuration)
22763
+
22764
+ return {
22765
+ url: toPathString(localVarUrlObj),
22766
+ options: localVarRequestOptions,
22767
+ };
22768
+ },
22027
22769
  /**
22028
22770
  *
22029
22771
  * @param {WhatsOnFindDTO} whatsOnFindDTO
@@ -22280,6 +23022,41 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
22280
23022
  options: localVarRequestOptions,
22281
23023
  };
22282
23024
  },
23025
+ /**
23026
+ *
23027
+ * @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
23028
+ * @param {*} [options] Override http request option.
23029
+ * @throws {RequiredError}
23030
+ */
23031
+ whatsOnControllerGetAllWhatsOn: async (getAllWhatsOnDTO: GetAllWhatsOnDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
23032
+ // verify required parameter 'getAllWhatsOnDTO' is not null or undefined
23033
+ assertParamExists('whatsOnControllerGetAllWhatsOn', 'getAllWhatsOnDTO', getAllWhatsOnDTO)
23034
+ const localVarPath = `/v1/whats-on/public-list`;
23035
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23036
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23037
+ let baseOptions;
23038
+ if (configuration) {
23039
+ baseOptions = configuration.baseOptions;
23040
+ }
23041
+
23042
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
23043
+ const localVarHeaderParameter = {} as any;
23044
+ const localVarQueryParameter = {} as any;
23045
+
23046
+
23047
+
23048
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23049
+
23050
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23051
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23052
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23053
+ localVarRequestOptions.data = serializeDataIfNeeded(getAllWhatsOnDTO, localVarRequestOptions, configuration)
23054
+
23055
+ return {
23056
+ url: toPathString(localVarUrlObj),
23057
+ options: localVarRequestOptions,
23058
+ };
23059
+ },
22283
23060
  /**
22284
23061
  *
22285
23062
  * @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
@@ -22594,6 +23371,18 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
22594
23371
  const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerDiscountCodeApply']?.[localVarOperationServerIndex]?.url;
22595
23372
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22596
23373
  },
23374
+ /**
23375
+ *
23376
+ * @param {WhatsOnFilterDTO} whatsOnFilterDTO
23377
+ * @param {*} [options] Override http request option.
23378
+ * @throws {RequiredError}
23379
+ */
23380
+ async whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilterEntityResponseDTO>> {
23381
+ const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFilterWhatsOn(whatsOnFilterDTO, options);
23382
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23383
+ const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFilterWhatsOn']?.[localVarOperationServerIndex]?.url;
23384
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23385
+ },
22597
23386
  /**
22598
23387
  *
22599
23388
  * @param {WhatsOnFindDTO} whatsOnFindDTO
@@ -22670,6 +23459,18 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
22670
23459
  const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindWhatsOnById']?.[localVarOperationServerIndex]?.url;
22671
23460
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22672
23461
  },
23462
+ /**
23463
+ *
23464
+ * @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
23465
+ * @param {*} [options] Override http request option.
23466
+ * @throws {RequiredError}
23467
+ */
23468
+ async whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO: GetAllWhatsOnDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
23469
+ const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO, options);
23470
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23471
+ const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerGetAllWhatsOn']?.[localVarOperationServerIndex]?.url;
23472
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23473
+ },
22673
23474
  /**
22674
23475
  *
22675
23476
  * @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
@@ -22791,6 +23592,15 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
22791
23592
  whatsOnControllerDiscountCodeApply(whatsDiscountCodePayloadDTO: WhatsDiscountCodePayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsDiscountCodeResponseDTO> {
22792
23593
  return localVarFp.whatsOnControllerDiscountCodeApply(whatsDiscountCodePayloadDTO, options).then((request) => request(axios, basePath));
22793
23594
  },
23595
+ /**
23596
+ *
23597
+ * @param {WhatsOnFilterDTO} whatsOnFilterDTO
23598
+ * @param {*} [options] Override http request option.
23599
+ * @throws {RequiredError}
23600
+ */
23601
+ whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig): AxiosPromise<FilterEntityResponseDTO> {
23602
+ return localVarFp.whatsOnControllerFilterWhatsOn(whatsOnFilterDTO, options).then((request) => request(axios, basePath));
23603
+ },
22794
23604
  /**
22795
23605
  *
22796
23606
  * @param {WhatsOnFindDTO} whatsOnFindDTO
@@ -22849,6 +23659,15 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
22849
23659
  whatsOnControllerFindWhatsOnById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteResponseDTO> {
22850
23660
  return localVarFp.whatsOnControllerFindWhatsOnById(id, options).then((request) => request(axios, basePath));
22851
23661
  },
23662
+ /**
23663
+ *
23664
+ * @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
23665
+ * @param {*} [options] Override http request option.
23666
+ * @throws {RequiredError}
23667
+ */
23668
+ whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO: GetAllWhatsOnDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
23669
+ return localVarFp.whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO, options).then((request) => request(axios, basePath));
23670
+ },
22852
23671
  /**
22853
23672
  *
22854
23673
  * @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
@@ -22955,6 +23774,17 @@ export class WhatsOnApi extends BaseAPI {
22955
23774
  return WhatsOnApiFp(this.configuration).whatsOnControllerDiscountCodeApply(whatsDiscountCodePayloadDTO, options).then((request) => request(this.axios, this.basePath));
22956
23775
  }
22957
23776
 
23777
+ /**
23778
+ *
23779
+ * @param {WhatsOnFilterDTO} whatsOnFilterDTO
23780
+ * @param {*} [options] Override http request option.
23781
+ * @throws {RequiredError}
23782
+ * @memberof WhatsOnApi
23783
+ */
23784
+ public whatsOnControllerFilterWhatsOn(whatsOnFilterDTO: WhatsOnFilterDTO, options?: RawAxiosRequestConfig) {
23785
+ return WhatsOnApiFp(this.configuration).whatsOnControllerFilterWhatsOn(whatsOnFilterDTO, options).then((request) => request(this.axios, this.basePath));
23786
+ }
23787
+
22958
23788
  /**
22959
23789
  *
22960
23790
  * @param {WhatsOnFindDTO} whatsOnFindDTO
@@ -23025,6 +23855,17 @@ export class WhatsOnApi extends BaseAPI {
23025
23855
  return WhatsOnApiFp(this.configuration).whatsOnControllerFindWhatsOnById(id, options).then((request) => request(this.axios, this.basePath));
23026
23856
  }
23027
23857
 
23858
+ /**
23859
+ *
23860
+ * @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
23861
+ * @param {*} [options] Override http request option.
23862
+ * @throws {RequiredError}
23863
+ * @memberof WhatsOnApi
23864
+ */
23865
+ public whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO: GetAllWhatsOnDTO, options?: RawAxiosRequestConfig) {
23866
+ return WhatsOnApiFp(this.configuration).whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO, options).then((request) => request(this.axios, this.basePath));
23867
+ }
23868
+
23028
23869
  /**
23029
23870
  *
23030
23871
  * @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO