@gooday_corp/gooday-api-client 1.3.36 → 1.3.38
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +14 -0
- package/api.ts +1408 -78
- package/docs/AIApi.md +111 -0
- package/docs/BookingApi.md +13 -5
- package/docs/BusinessApi.md +215 -2
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/CreatePaymentLinkDTO.md +2 -10
- package/docs/FavoriteResponseDTO.md +22 -0
- package/docs/FilterEntity.md +36 -0
- package/docs/FilterEntityResponseDTO.md +22 -0
- package/docs/FriendsApi.md +17 -4
- package/docs/GetAllVenueDto.md +28 -0
- package/docs/GetAllWhatsOnDTO.md +34 -0
- package/docs/HomeFeedEntity.md +26 -0
- package/docs/HomeFeedListResponse.md +22 -0
- package/docs/HomeFeedListResponseDTO.md +22 -0
- package/docs/PlansApi.md +52 -1
- package/docs/PrepaidServiceApi.md +52 -0
- package/docs/ProductResponseDTO.md +22 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/SuggestionFriendResponseDTO.md +22 -0
- package/docs/TrendingFilterDTO.md +20 -0
- package/docs/UserEntity.md +2 -0
- package/docs/VenueFavoriteCount.md +22 -0
- package/docs/VenueResponseDTO.md +22 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnApi.md +226 -3
- package/docs/WhatsOnFilterDTO.md +40 -0
- package/docs/WhatsOnFindDTO.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3277,35 +3277,11 @@ export type CreateEventPayloadDTORepeatEnum = typeof CreateEventPayloadDTORepeat
|
|
|
3277
3277
|
*/
|
|
3278
3278
|
export interface CreatePaymentLinkDTO {
|
|
3279
3279
|
/**
|
|
3280
|
-
*
|
|
3280
|
+
* Product ID
|
|
3281
3281
|
* @type {string}
|
|
3282
3282
|
* @memberof CreatePaymentLinkDTO
|
|
3283
3283
|
*/
|
|
3284
|
-
'
|
|
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
|
|
@@ -4734,6 +4901,75 @@ export interface HistoryResponseDTO {
|
|
|
4734
4901
|
*/
|
|
4735
4902
|
'data': HistoryEntity;
|
|
4736
4903
|
}
|
|
4904
|
+
/**
|
|
4905
|
+
*
|
|
4906
|
+
* @export
|
|
4907
|
+
* @interface HomeFeedEntity
|
|
4908
|
+
*/
|
|
4909
|
+
export interface HomeFeedEntity {
|
|
4910
|
+
/**
|
|
4911
|
+
* Unique identifier for the assistant
|
|
4912
|
+
* @type {string}
|
|
4913
|
+
* @memberof HomeFeedEntity
|
|
4914
|
+
*/
|
|
4915
|
+
'_id': string;
|
|
4916
|
+
/**
|
|
4917
|
+
*
|
|
4918
|
+
* @type {string}
|
|
4919
|
+
* @memberof HomeFeedEntity
|
|
4920
|
+
*/
|
|
4921
|
+
'name': string;
|
|
4922
|
+
/**
|
|
4923
|
+
*
|
|
4924
|
+
* @type {string}
|
|
4925
|
+
* @memberof HomeFeedEntity
|
|
4926
|
+
*/
|
|
4927
|
+
'type': string;
|
|
4928
|
+
/**
|
|
4929
|
+
*
|
|
4930
|
+
* @type {string}
|
|
4931
|
+
* @memberof HomeFeedEntity
|
|
4932
|
+
*/
|
|
4933
|
+
'image': string;
|
|
4934
|
+
}
|
|
4935
|
+
/**
|
|
4936
|
+
*
|
|
4937
|
+
* @export
|
|
4938
|
+
* @interface HomeFeedListResponse
|
|
4939
|
+
*/
|
|
4940
|
+
export interface HomeFeedListResponse {
|
|
4941
|
+
/**
|
|
4942
|
+
*
|
|
4943
|
+
* @type {string}
|
|
4944
|
+
* @memberof HomeFeedListResponse
|
|
4945
|
+
*/
|
|
4946
|
+
'title': string;
|
|
4947
|
+
/**
|
|
4948
|
+
*
|
|
4949
|
+
* @type {Array<HomeFeedEntity>}
|
|
4950
|
+
* @memberof HomeFeedListResponse
|
|
4951
|
+
*/
|
|
4952
|
+
'data': Array<HomeFeedEntity>;
|
|
4953
|
+
}
|
|
4954
|
+
/**
|
|
4955
|
+
*
|
|
4956
|
+
* @export
|
|
4957
|
+
* @interface HomeFeedListResponseDTO
|
|
4958
|
+
*/
|
|
4959
|
+
export interface HomeFeedListResponseDTO {
|
|
4960
|
+
/**
|
|
4961
|
+
* statusCode
|
|
4962
|
+
* @type {number}
|
|
4963
|
+
* @memberof HomeFeedListResponseDTO
|
|
4964
|
+
*/
|
|
4965
|
+
'statusCode': number;
|
|
4966
|
+
/**
|
|
4967
|
+
*
|
|
4968
|
+
* @type {Array<HomeFeedListResponse>}
|
|
4969
|
+
* @memberof HomeFeedListResponseDTO
|
|
4970
|
+
*/
|
|
4971
|
+
'data': Array<HomeFeedListResponse>;
|
|
4972
|
+
}
|
|
4737
4973
|
/**
|
|
4738
4974
|
*
|
|
4739
4975
|
* @export
|
|
@@ -6249,6 +6485,25 @@ export interface PriceRangeListResponse {
|
|
|
6249
6485
|
*/
|
|
6250
6486
|
'data': Array<PriceRangeEntity>;
|
|
6251
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
|
+
}
|
|
6252
6507
|
/**
|
|
6253
6508
|
*
|
|
6254
6509
|
* @export
|
|
@@ -6779,6 +7034,25 @@ export interface StripeSetupPaymentIntentDTO {
|
|
|
6779
7034
|
*/
|
|
6780
7035
|
'clientSecret': string;
|
|
6781
7036
|
}
|
|
7037
|
+
/**
|
|
7038
|
+
*
|
|
7039
|
+
* @export
|
|
7040
|
+
* @interface SuggestionFriendResponseDTO
|
|
7041
|
+
*/
|
|
7042
|
+
export interface SuggestionFriendResponseDTO {
|
|
7043
|
+
/**
|
|
7044
|
+
* statusCode
|
|
7045
|
+
* @type {number}
|
|
7046
|
+
* @memberof SuggestionFriendResponseDTO
|
|
7047
|
+
*/
|
|
7048
|
+
'statusCode': number;
|
|
7049
|
+
/**
|
|
7050
|
+
* User
|
|
7051
|
+
* @type {Array<UserEntity>}
|
|
7052
|
+
* @memberof SuggestionFriendResponseDTO
|
|
7053
|
+
*/
|
|
7054
|
+
'data': Array<UserEntity>;
|
|
7055
|
+
}
|
|
6782
7056
|
/**
|
|
6783
7057
|
*
|
|
6784
7058
|
* @export
|
|
@@ -7207,15 +7481,28 @@ export interface TodoListResponseDTO {
|
|
|
7207
7481
|
/**
|
|
7208
7482
|
*
|
|
7209
7483
|
* @export
|
|
7210
|
-
* @interface
|
|
7484
|
+
* @interface TrendingFilterDTO
|
|
7211
7485
|
*/
|
|
7212
|
-
export interface
|
|
7213
|
-
/**
|
|
7214
|
-
*
|
|
7215
|
-
* @type {
|
|
7216
|
-
* @memberof
|
|
7217
|
-
*/
|
|
7218
|
-
'
|
|
7486
|
+
export interface TrendingFilterDTO {
|
|
7487
|
+
/**
|
|
7488
|
+
*
|
|
7489
|
+
* @type {string}
|
|
7490
|
+
* @memberof TrendingFilterDTO
|
|
7491
|
+
*/
|
|
7492
|
+
'category'?: string;
|
|
7493
|
+
}
|
|
7494
|
+
/**
|
|
7495
|
+
*
|
|
7496
|
+
* @export
|
|
7497
|
+
* @interface UndoPayloadDTO
|
|
7498
|
+
*/
|
|
7499
|
+
export interface UndoPayloadDTO {
|
|
7500
|
+
/**
|
|
7501
|
+
*
|
|
7502
|
+
* @type {Array<TaskEntity>}
|
|
7503
|
+
* @memberof UndoPayloadDTO
|
|
7504
|
+
*/
|
|
7505
|
+
'data': Array<TaskEntity>;
|
|
7219
7506
|
/**
|
|
7220
7507
|
*
|
|
7221
7508
|
* @type {string}
|
|
@@ -7397,6 +7684,12 @@ export interface UserEntity {
|
|
|
7397
7684
|
* @memberof UserEntity
|
|
7398
7685
|
*/
|
|
7399
7686
|
'isEmailVerified': boolean;
|
|
7687
|
+
/**
|
|
7688
|
+
* Indicates whether the business owner subscription status
|
|
7689
|
+
* @type {string}
|
|
7690
|
+
* @memberof UserEntity
|
|
7691
|
+
*/
|
|
7692
|
+
'subscription': string;
|
|
7400
7693
|
/**
|
|
7401
7694
|
* Primary user calendar
|
|
7402
7695
|
* @type {string}
|
|
@@ -7650,6 +7943,44 @@ export interface UserWaitingListResponseDTO {
|
|
|
7650
7943
|
*/
|
|
7651
7944
|
'data': UserWaitingListPayloadDTO;
|
|
7652
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
|
+
}
|
|
7653
7984
|
/**
|
|
7654
7985
|
*
|
|
7655
7986
|
* @export
|
|
@@ -8375,6 +8706,79 @@ export interface WhatsOnFavoriteResponseDTO {
|
|
|
8375
8706
|
*/
|
|
8376
8707
|
'data': WhatsOnEntity;
|
|
8377
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
|
+
}
|
|
8378
8782
|
/**
|
|
8379
8783
|
*
|
|
8380
8784
|
* @export
|
|
@@ -8405,6 +8809,12 @@ export interface WhatsOnFindDTO {
|
|
|
8405
8809
|
* @memberof WhatsOnFindDTO
|
|
8406
8810
|
*/
|
|
8407
8811
|
'venue'?: string;
|
|
8812
|
+
/**
|
|
8813
|
+
*
|
|
8814
|
+
* @type {string}
|
|
8815
|
+
* @memberof WhatsOnFindDTO
|
|
8816
|
+
*/
|
|
8817
|
+
'businessType'?: string;
|
|
8408
8818
|
}
|
|
8409
8819
|
/**
|
|
8410
8820
|
*
|
|
@@ -8741,6 +9151,97 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8741
9151
|
|
|
8742
9152
|
|
|
8743
9153
|
|
|
9154
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9155
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9156
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9157
|
+
|
|
9158
|
+
return {
|
|
9159
|
+
url: toPathString(localVarUrlObj),
|
|
9160
|
+
options: localVarRequestOptions,
|
|
9161
|
+
};
|
|
9162
|
+
},
|
|
9163
|
+
/**
|
|
9164
|
+
*
|
|
9165
|
+
* @param {number} [page]
|
|
9166
|
+
* @param {number} [pageSize]
|
|
9167
|
+
* @param {string} [identifier]
|
|
9168
|
+
* @param {*} [options] Override http request option.
|
|
9169
|
+
* @throws {RequiredError}
|
|
9170
|
+
*/
|
|
9171
|
+
assistantControllerGenerateCategoriesFeed: async (page?: number, pageSize?: number, identifier?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9172
|
+
const localVarPath = `/v1/ai/category-feed`;
|
|
9173
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9174
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9175
|
+
let baseOptions;
|
|
9176
|
+
if (configuration) {
|
|
9177
|
+
baseOptions = configuration.baseOptions;
|
|
9178
|
+
}
|
|
9179
|
+
|
|
9180
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9181
|
+
const localVarHeaderParameter = {} as any;
|
|
9182
|
+
const localVarQueryParameter = {} as any;
|
|
9183
|
+
|
|
9184
|
+
// authentication bearer required
|
|
9185
|
+
// http bearer authentication required
|
|
9186
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9187
|
+
|
|
9188
|
+
if (page !== undefined) {
|
|
9189
|
+
localVarQueryParameter['page'] = page;
|
|
9190
|
+
}
|
|
9191
|
+
|
|
9192
|
+
if (pageSize !== undefined) {
|
|
9193
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
9194
|
+
}
|
|
9195
|
+
|
|
9196
|
+
if (identifier !== undefined) {
|
|
9197
|
+
localVarQueryParameter['identifier'] = identifier;
|
|
9198
|
+
}
|
|
9199
|
+
|
|
9200
|
+
|
|
9201
|
+
|
|
9202
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9203
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9204
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
9205
|
+
|
|
9206
|
+
return {
|
|
9207
|
+
url: toPathString(localVarUrlObj),
|
|
9208
|
+
options: localVarRequestOptions,
|
|
9209
|
+
};
|
|
9210
|
+
},
|
|
9211
|
+
/**
|
|
9212
|
+
*
|
|
9213
|
+
* @param {number} [page]
|
|
9214
|
+
* @param {number} [pageSize]
|
|
9215
|
+
* @param {*} [options] Override http request option.
|
|
9216
|
+
* @throws {RequiredError}
|
|
9217
|
+
*/
|
|
9218
|
+
assistantControllerGenerateHomeFeed: async (page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
9219
|
+
const localVarPath = `/v1/ai/home-feed`;
|
|
9220
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9221
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9222
|
+
let baseOptions;
|
|
9223
|
+
if (configuration) {
|
|
9224
|
+
baseOptions = configuration.baseOptions;
|
|
9225
|
+
}
|
|
9226
|
+
|
|
9227
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
9228
|
+
const localVarHeaderParameter = {} as any;
|
|
9229
|
+
const localVarQueryParameter = {} as any;
|
|
9230
|
+
|
|
9231
|
+
// authentication bearer required
|
|
9232
|
+
// http bearer authentication required
|
|
9233
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
9234
|
+
|
|
9235
|
+
if (page !== undefined) {
|
|
9236
|
+
localVarQueryParameter['page'] = page;
|
|
9237
|
+
}
|
|
9238
|
+
|
|
9239
|
+
if (pageSize !== undefined) {
|
|
9240
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
9241
|
+
}
|
|
9242
|
+
|
|
9243
|
+
|
|
9244
|
+
|
|
8744
9245
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8745
9246
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8746
9247
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -8835,6 +9336,33 @@ export const AIApiFp = function(configuration?: Configuration) {
|
|
|
8835
9336
|
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerAiSuggestionList']?.[localVarOperationServerIndex]?.url;
|
|
8836
9337
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8837
9338
|
},
|
|
9339
|
+
/**
|
|
9340
|
+
*
|
|
9341
|
+
* @param {number} [page]
|
|
9342
|
+
* @param {number} [pageSize]
|
|
9343
|
+
* @param {string} [identifier]
|
|
9344
|
+
* @param {*} [options] Override http request option.
|
|
9345
|
+
* @throws {RequiredError}
|
|
9346
|
+
*/
|
|
9347
|
+
async assistantControllerGenerateCategoriesFeed(page?: number, pageSize?: number, identifier?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeFeedListResponseDTO>> {
|
|
9348
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerGenerateCategoriesFeed(page, pageSize, identifier, options);
|
|
9349
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9350
|
+
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerGenerateCategoriesFeed']?.[localVarOperationServerIndex]?.url;
|
|
9351
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9352
|
+
},
|
|
9353
|
+
/**
|
|
9354
|
+
*
|
|
9355
|
+
* @param {number} [page]
|
|
9356
|
+
* @param {number} [pageSize]
|
|
9357
|
+
* @param {*} [options] Override http request option.
|
|
9358
|
+
* @throws {RequiredError}
|
|
9359
|
+
*/
|
|
9360
|
+
async assistantControllerGenerateHomeFeed(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeFeedListResponseDTO>> {
|
|
9361
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerGenerateHomeFeed(page, pageSize, options);
|
|
9362
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9363
|
+
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerGenerateHomeFeed']?.[localVarOperationServerIndex]?.url;
|
|
9364
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9365
|
+
},
|
|
8838
9366
|
/**
|
|
8839
9367
|
*
|
|
8840
9368
|
* @param {*} [options] Override http request option.
|
|
@@ -8877,6 +9405,27 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
8877
9405
|
assistantControllerAiSuggestionList(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<AISuggestionListResponse> {
|
|
8878
9406
|
return localVarFp.assistantControllerAiSuggestionList(page, pageSize, options).then((request) => request(axios, basePath));
|
|
8879
9407
|
},
|
|
9408
|
+
/**
|
|
9409
|
+
*
|
|
9410
|
+
* @param {number} [page]
|
|
9411
|
+
* @param {number} [pageSize]
|
|
9412
|
+
* @param {string} [identifier]
|
|
9413
|
+
* @param {*} [options] Override http request option.
|
|
9414
|
+
* @throws {RequiredError}
|
|
9415
|
+
*/
|
|
9416
|
+
assistantControllerGenerateCategoriesFeed(page?: number, pageSize?: number, identifier?: string, options?: RawAxiosRequestConfig): AxiosPromise<HomeFeedListResponseDTO> {
|
|
9417
|
+
return localVarFp.assistantControllerGenerateCategoriesFeed(page, pageSize, identifier, options).then((request) => request(axios, basePath));
|
|
9418
|
+
},
|
|
9419
|
+
/**
|
|
9420
|
+
*
|
|
9421
|
+
* @param {number} [page]
|
|
9422
|
+
* @param {number} [pageSize]
|
|
9423
|
+
* @param {*} [options] Override http request option.
|
|
9424
|
+
* @throws {RequiredError}
|
|
9425
|
+
*/
|
|
9426
|
+
assistantControllerGenerateHomeFeed(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<HomeFeedListResponseDTO> {
|
|
9427
|
+
return localVarFp.assistantControllerGenerateHomeFeed(page, pageSize, options).then((request) => request(axios, basePath));
|
|
9428
|
+
},
|
|
8880
9429
|
/**
|
|
8881
9430
|
*
|
|
8882
9431
|
* @param {*} [options] Override http request option.
|
|
@@ -8915,6 +9464,31 @@ export class AIApi extends BaseAPI {
|
|
|
8915
9464
|
return AIApiFp(this.configuration).assistantControllerAiSuggestionList(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
8916
9465
|
}
|
|
8917
9466
|
|
|
9467
|
+
/**
|
|
9468
|
+
*
|
|
9469
|
+
* @param {number} [page]
|
|
9470
|
+
* @param {number} [pageSize]
|
|
9471
|
+
* @param {string} [identifier]
|
|
9472
|
+
* @param {*} [options] Override http request option.
|
|
9473
|
+
* @throws {RequiredError}
|
|
9474
|
+
* @memberof AIApi
|
|
9475
|
+
*/
|
|
9476
|
+
public assistantControllerGenerateCategoriesFeed(page?: number, pageSize?: number, identifier?: string, options?: RawAxiosRequestConfig) {
|
|
9477
|
+
return AIApiFp(this.configuration).assistantControllerGenerateCategoriesFeed(page, pageSize, identifier, options).then((request) => request(this.axios, this.basePath));
|
|
9478
|
+
}
|
|
9479
|
+
|
|
9480
|
+
/**
|
|
9481
|
+
*
|
|
9482
|
+
* @param {number} [page]
|
|
9483
|
+
* @param {number} [pageSize]
|
|
9484
|
+
* @param {*} [options] Override http request option.
|
|
9485
|
+
* @throws {RequiredError}
|
|
9486
|
+
* @memberof AIApi
|
|
9487
|
+
*/
|
|
9488
|
+
public assistantControllerGenerateHomeFeed(page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
9489
|
+
return AIApiFp(this.configuration).assistantControllerGenerateHomeFeed(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
9490
|
+
}
|
|
9491
|
+
|
|
8918
9492
|
/**
|
|
8919
9493
|
*
|
|
8920
9494
|
* @param {*} [options] Override http request option.
|
|
@@ -10806,10 +11380,13 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10806
11380
|
},
|
|
10807
11381
|
/**
|
|
10808
11382
|
*
|
|
11383
|
+
* @param {TrendingFilterDTO} trendingFilterDTO
|
|
10809
11384
|
* @param {*} [options] Override http request option.
|
|
10810
11385
|
* @throws {RequiredError}
|
|
10811
11386
|
*/
|
|
10812
|
-
bookingControllerTrendingEvents: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11387
|
+
bookingControllerTrendingEvents: async (trendingFilterDTO: TrendingFilterDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11388
|
+
// verify required parameter 'trendingFilterDTO' is not null or undefined
|
|
11389
|
+
assertParamExists('bookingControllerTrendingEvents', 'trendingFilterDTO', trendingFilterDTO)
|
|
10813
11390
|
const localVarPath = `/v1/booking/trending-events`;
|
|
10814
11391
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10815
11392
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -10828,9 +11405,12 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10828
11405
|
|
|
10829
11406
|
|
|
10830
11407
|
|
|
11408
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11409
|
+
|
|
10831
11410
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10832
11411
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10833
11412
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11413
|
+
localVarRequestOptions.data = serializeDataIfNeeded(trendingFilterDTO, localVarRequestOptions, configuration)
|
|
10834
11414
|
|
|
10835
11415
|
return {
|
|
10836
11416
|
url: toPathString(localVarUrlObj),
|
|
@@ -11061,11 +11641,12 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
11061
11641
|
},
|
|
11062
11642
|
/**
|
|
11063
11643
|
*
|
|
11644
|
+
* @param {TrendingFilterDTO} trendingFilterDTO
|
|
11064
11645
|
* @param {*} [options] Override http request option.
|
|
11065
11646
|
* @throws {RequiredError}
|
|
11066
11647
|
*/
|
|
11067
|
-
async bookingControllerTrendingEvents(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
11068
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerTrendingEvents(options);
|
|
11648
|
+
async bookingControllerTrendingEvents(trendingFilterDTO: TrendingFilterDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
11649
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerTrendingEvents(trendingFilterDTO, options);
|
|
11069
11650
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11070
11651
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerTrendingEvents']?.[localVarOperationServerIndex]?.url;
|
|
11071
11652
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11222,11 +11803,12 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
11222
11803
|
},
|
|
11223
11804
|
/**
|
|
11224
11805
|
*
|
|
11806
|
+
* @param {TrendingFilterDTO} trendingFilterDTO
|
|
11225
11807
|
* @param {*} [options] Override http request option.
|
|
11226
11808
|
* @throws {RequiredError}
|
|
11227
11809
|
*/
|
|
11228
|
-
bookingControllerTrendingEvents(options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
11229
|
-
return localVarFp.bookingControllerTrendingEvents(options).then((request) => request(axios, basePath));
|
|
11810
|
+
bookingControllerTrendingEvents(trendingFilterDTO: TrendingFilterDTO, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
11811
|
+
return localVarFp.bookingControllerTrendingEvents(trendingFilterDTO, options).then((request) => request(axios, basePath));
|
|
11230
11812
|
},
|
|
11231
11813
|
/**
|
|
11232
11814
|
*
|
|
@@ -11405,12 +11987,13 @@ export class BookingApi extends BaseAPI {
|
|
|
11405
11987
|
|
|
11406
11988
|
/**
|
|
11407
11989
|
*
|
|
11990
|
+
* @param {TrendingFilterDTO} trendingFilterDTO
|
|
11408
11991
|
* @param {*} [options] Override http request option.
|
|
11409
11992
|
* @throws {RequiredError}
|
|
11410
11993
|
* @memberof BookingApi
|
|
11411
11994
|
*/
|
|
11412
|
-
public bookingControllerTrendingEvents(options?: RawAxiosRequestConfig) {
|
|
11413
|
-
return BookingApiFp(this.configuration).bookingControllerTrendingEvents(options).then((request) => request(this.axios, this.basePath));
|
|
11995
|
+
public bookingControllerTrendingEvents(trendingFilterDTO: TrendingFilterDTO, options?: RawAxiosRequestConfig) {
|
|
11996
|
+
return BookingApiFp(this.configuration).bookingControllerTrendingEvents(trendingFilterDTO, options).then((request) => request(this.axios, this.basePath));
|
|
11414
11997
|
}
|
|
11415
11998
|
|
|
11416
11999
|
/**
|
|
@@ -11728,7 +12311,42 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11728
12311
|
},
|
|
11729
12312
|
/**
|
|
11730
12313
|
*
|
|
11731
|
-
* @param {
|
|
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
|
+
},
|
|
12347
|
+
/**
|
|
12348
|
+
*
|
|
12349
|
+
* @param {BusinessStaffDTO} businessStaffDTO
|
|
11732
12350
|
* @param {*} [options] Override http request option.
|
|
11733
12351
|
* @throws {RequiredError}
|
|
11734
12352
|
*/
|
|
@@ -11921,6 +12539,41 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11921
12539
|
options: localVarRequestOptions,
|
|
11922
12540
|
};
|
|
11923
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
|
+
},
|
|
11924
12577
|
/**
|
|
11925
12578
|
*
|
|
11926
12579
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -11960,6 +12613,72 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11960
12613
|
options: localVarRequestOptions,
|
|
11961
12614
|
};
|
|
11962
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
|
+
},
|
|
11963
12682
|
/**
|
|
11964
12683
|
*
|
|
11965
12684
|
* @param {*} [options] Override http request option.
|
|
@@ -11995,10 +12714,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
11995
12714
|
},
|
|
11996
12715
|
/**
|
|
11997
12716
|
*
|
|
12717
|
+
* @param {string} [id] Unique identifier for the category
|
|
11998
12718
|
* @param {*} [options] Override http request option.
|
|
11999
12719
|
* @throws {RequiredError}
|
|
12000
12720
|
*/
|
|
12001
|
-
businessTypeControllerListAllCategories: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12721
|
+
businessTypeControllerListAllCategories: async (id?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12002
12722
|
const localVarPath = `/v1/business/categories`;
|
|
12003
12723
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12004
12724
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12015,6 +12735,10 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12015
12735
|
// http bearer authentication required
|
|
12016
12736
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12017
12737
|
|
|
12738
|
+
if (id !== undefined) {
|
|
12739
|
+
localVarQueryParameter['id'] = id;
|
|
12740
|
+
}
|
|
12741
|
+
|
|
12018
12742
|
|
|
12019
12743
|
|
|
12020
12744
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12418,6 +13142,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12418
13142
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindByIdBusinessStaff']?.[localVarOperationServerIndex]?.url;
|
|
12419
13143
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12420
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
|
+
},
|
|
12421
13157
|
/**
|
|
12422
13158
|
*
|
|
12423
13159
|
* @param {BusinessStaffDTO} businessStaffDTO
|
|
@@ -12479,6 +13215,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12479
13215
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerFindFriendsFavoriteBusinessVenueList']?.[localVarOperationServerIndex]?.url;
|
|
12480
13216
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12481
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
|
+
},
|
|
12482
13230
|
/**
|
|
12483
13231
|
*
|
|
12484
13232
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -12491,6 +13239,30 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12491
13239
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
12492
13240
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12493
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
|
+
},
|
|
12494
13266
|
/**
|
|
12495
13267
|
*
|
|
12496
13268
|
* @param {*} [options] Override http request option.
|
|
@@ -12504,11 +13276,12 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12504
13276
|
},
|
|
12505
13277
|
/**
|
|
12506
13278
|
*
|
|
13279
|
+
* @param {string} [id] Unique identifier for the category
|
|
12507
13280
|
* @param {*} [options] Override http request option.
|
|
12508
13281
|
* @throws {RequiredError}
|
|
12509
13282
|
*/
|
|
12510
|
-
async businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
12511
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListAllCategories(options);
|
|
13283
|
+
async businessTypeControllerListAllCategories(id?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
13284
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListAllCategories(id, options);
|
|
12512
13285
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12513
13286
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListAllCategories']?.[localVarOperationServerIndex]?.url;
|
|
12514
13287
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12687,6 +13460,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
12687
13460
|
businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
|
|
12688
13461
|
return localVarFp.businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(axios, basePath));
|
|
12689
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
|
+
},
|
|
12690
13472
|
/**
|
|
12691
13473
|
*
|
|
12692
13474
|
* @param {BusinessStaffDTO} businessStaffDTO
|
|
@@ -12733,6 +13515,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
12733
13515
|
businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteListResponseDTO> {
|
|
12734
13516
|
return localVarFp.businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(axios, basePath));
|
|
12735
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
|
+
},
|
|
12736
13527
|
/**
|
|
12737
13528
|
*
|
|
12738
13529
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -12742,6 +13533,24 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
12742
13533
|
businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
12743
13534
|
return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
|
|
12744
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
|
+
},
|
|
12745
13554
|
/**
|
|
12746
13555
|
*
|
|
12747
13556
|
* @param {*} [options] Override http request option.
|
|
@@ -12752,11 +13561,12 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
12752
13561
|
},
|
|
12753
13562
|
/**
|
|
12754
13563
|
*
|
|
13564
|
+
* @param {string} [id] Unique identifier for the category
|
|
12755
13565
|
* @param {*} [options] Override http request option.
|
|
12756
13566
|
* @throws {RequiredError}
|
|
12757
13567
|
*/
|
|
12758
|
-
businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
12759
|
-
return localVarFp.businessTypeControllerListAllCategories(options).then((request) => request(axios, basePath));
|
|
13568
|
+
businessTypeControllerListAllCategories(id?: string, options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
13569
|
+
return localVarFp.businessTypeControllerListAllCategories(id, options).then((request) => request(axios, basePath));
|
|
12760
13570
|
},
|
|
12761
13571
|
/**
|
|
12762
13572
|
*
|
|
@@ -12924,6 +13734,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
12924
13734
|
return BusinessApiFp(this.configuration).businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(this.axios, this.basePath));
|
|
12925
13735
|
}
|
|
12926
13736
|
|
|
13737
|
+
/**
|
|
13738
|
+
*
|
|
13739
|
+
* @param {FindBusinessStaff} findBusinessStaff
|
|
13740
|
+
* @param {*} [options] Override http request option.
|
|
13741
|
+
* @throws {RequiredError}
|
|
13742
|
+
* @memberof BusinessApi
|
|
13743
|
+
*/
|
|
13744
|
+
public businessStaffControllerFindVenueStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig) {
|
|
13745
|
+
return BusinessApiFp(this.configuration).businessStaffControllerFindVenueStaffs(findBusinessStaff, options).then((request) => request(this.axios, this.basePath));
|
|
13746
|
+
}
|
|
13747
|
+
|
|
12927
13748
|
/**
|
|
12928
13749
|
*
|
|
12929
13750
|
* @param {BusinessStaffDTO} businessStaffDTO
|
|
@@ -12980,6 +13801,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
12980
13801
|
return BusinessApiFp(this.configuration).businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(this.axios, this.basePath));
|
|
12981
13802
|
}
|
|
12982
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
|
+
|
|
12983
13815
|
/**
|
|
12984
13816
|
*
|
|
12985
13817
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -12991,6 +13823,28 @@ export class BusinessApi extends BaseAPI {
|
|
|
12991
13823
|
return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
12992
13824
|
}
|
|
12993
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
|
+
|
|
12994
13848
|
/**
|
|
12995
13849
|
*
|
|
12996
13850
|
* @param {*} [options] Override http request option.
|
|
@@ -13003,12 +13857,13 @@ export class BusinessApi extends BaseAPI {
|
|
|
13003
13857
|
|
|
13004
13858
|
/**
|
|
13005
13859
|
*
|
|
13860
|
+
* @param {string} [id] Unique identifier for the category
|
|
13006
13861
|
* @param {*} [options] Override http request option.
|
|
13007
13862
|
* @throws {RequiredError}
|
|
13008
13863
|
* @memberof BusinessApi
|
|
13009
13864
|
*/
|
|
13010
|
-
public businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig) {
|
|
13011
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListAllCategories(options).then((request) => request(this.axios, this.basePath));
|
|
13865
|
+
public businessTypeControllerListAllCategories(id?: string, options?: RawAxiosRequestConfig) {
|
|
13866
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListAllCategories(id, options).then((request) => request(this.axios, this.basePath));
|
|
13012
13867
|
}
|
|
13013
13868
|
|
|
13014
13869
|
/**
|
|
@@ -15511,10 +16366,13 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15511
16366
|
},
|
|
15512
16367
|
/**
|
|
15513
16368
|
*
|
|
16369
|
+
* @param {string} [search]
|
|
16370
|
+
* @param {number} [page]
|
|
16371
|
+
* @param {number} [pageSize]
|
|
15514
16372
|
* @param {*} [options] Override http request option.
|
|
15515
16373
|
* @throws {RequiredError}
|
|
15516
16374
|
*/
|
|
15517
|
-
friendControllerSuggestedFriendList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
16375
|
+
friendControllerSuggestedFriendList: async (search?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15518
16376
|
const localVarPath = `/v1/friend/suggested-friends`;
|
|
15519
16377
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15520
16378
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -15531,6 +16389,18 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15531
16389
|
// http bearer authentication required
|
|
15532
16390
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15533
16391
|
|
|
16392
|
+
if (search !== undefined) {
|
|
16393
|
+
localVarQueryParameter['search'] = search;
|
|
16394
|
+
}
|
|
16395
|
+
|
|
16396
|
+
if (page !== undefined) {
|
|
16397
|
+
localVarQueryParameter['page'] = page;
|
|
16398
|
+
}
|
|
16399
|
+
|
|
16400
|
+
if (pageSize !== undefined) {
|
|
16401
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
16402
|
+
}
|
|
16403
|
+
|
|
15534
16404
|
|
|
15535
16405
|
|
|
15536
16406
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -15709,11 +16579,14 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
15709
16579
|
},
|
|
15710
16580
|
/**
|
|
15711
16581
|
*
|
|
16582
|
+
* @param {string} [search]
|
|
16583
|
+
* @param {number} [page]
|
|
16584
|
+
* @param {number} [pageSize]
|
|
15712
16585
|
* @param {*} [options] Override http request option.
|
|
15713
16586
|
* @throws {RequiredError}
|
|
15714
16587
|
*/
|
|
15715
|
-
async friendControllerSuggestedFriendList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
15716
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerSuggestedFriendList(options);
|
|
16588
|
+
async friendControllerSuggestedFriendList(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuggestionFriendResponseDTO>> {
|
|
16589
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerSuggestedFriendList(search, page, pageSize, options);
|
|
15717
16590
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15718
16591
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerSuggestedFriendList']?.[localVarOperationServerIndex]?.url;
|
|
15719
16592
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -15833,11 +16706,14 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
15833
16706
|
},
|
|
15834
16707
|
/**
|
|
15835
16708
|
*
|
|
16709
|
+
* @param {string} [search]
|
|
16710
|
+
* @param {number} [page]
|
|
16711
|
+
* @param {number} [pageSize]
|
|
15836
16712
|
* @param {*} [options] Override http request option.
|
|
15837
16713
|
* @throws {RequiredError}
|
|
15838
16714
|
*/
|
|
15839
|
-
friendControllerSuggestedFriendList(options?: RawAxiosRequestConfig): AxiosPromise<
|
|
15840
|
-
return localVarFp.friendControllerSuggestedFriendList(options).then((request) => request(axios, basePath));
|
|
16715
|
+
friendControllerSuggestedFriendList(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<SuggestionFriendResponseDTO> {
|
|
16716
|
+
return localVarFp.friendControllerSuggestedFriendList(search, page, pageSize, options).then((request) => request(axios, basePath));
|
|
15841
16717
|
},
|
|
15842
16718
|
/**
|
|
15843
16719
|
*
|
|
@@ -15971,12 +16847,15 @@ export class FriendsApi extends BaseAPI {
|
|
|
15971
16847
|
|
|
15972
16848
|
/**
|
|
15973
16849
|
*
|
|
16850
|
+
* @param {string} [search]
|
|
16851
|
+
* @param {number} [page]
|
|
16852
|
+
* @param {number} [pageSize]
|
|
15974
16853
|
* @param {*} [options] Override http request option.
|
|
15975
16854
|
* @throws {RequiredError}
|
|
15976
16855
|
* @memberof FriendsApi
|
|
15977
16856
|
*/
|
|
15978
|
-
public friendControllerSuggestedFriendList(options?: RawAxiosRequestConfig) {
|
|
15979
|
-
return FriendsApiFp(this.configuration).friendControllerSuggestedFriendList(options).then((request) => request(this.axios, this.basePath));
|
|
16857
|
+
public friendControllerSuggestedFriendList(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
16858
|
+
return FriendsApiFp(this.configuration).friendControllerSuggestedFriendList(search, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
15980
16859
|
}
|
|
15981
16860
|
|
|
15982
16861
|
/**
|
|
@@ -17711,6 +18590,10 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
17711
18590
|
const localVarHeaderParameter = {} as any;
|
|
17712
18591
|
const localVarQueryParameter = {} as any;
|
|
17713
18592
|
|
|
18593
|
+
// authentication bearer required
|
|
18594
|
+
// http bearer authentication required
|
|
18595
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18596
|
+
|
|
17714
18597
|
|
|
17715
18598
|
|
|
17716
18599
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -17847,14 +18730,15 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
17847
18730
|
},
|
|
17848
18731
|
/**
|
|
17849
18732
|
*
|
|
17850
|
-
* @param {
|
|
18733
|
+
* @param {string} id
|
|
17851
18734
|
* @param {*} [options] Override http request option.
|
|
17852
18735
|
* @throws {RequiredError}
|
|
17853
18736
|
*/
|
|
17854
|
-
|
|
17855
|
-
// verify required parameter '
|
|
17856
|
-
assertParamExists('
|
|
17857
|
-
const localVarPath = `/v1/payment/
|
|
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)));
|
|
17858
18742
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17859
18743
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17860
18744
|
let baseOptions;
|
|
@@ -17862,12 +18746,44 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
17862
18746
|
baseOptions = configuration.baseOptions;
|
|
17863
18747
|
}
|
|
17864
18748
|
|
|
17865
|
-
const localVarRequestOptions = { method: '
|
|
18749
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17866
18750
|
const localVarHeaderParameter = {} as any;
|
|
17867
18751
|
const localVarQueryParameter = {} as any;
|
|
17868
18752
|
|
|
17869
|
-
|
|
17870
|
-
|
|
18753
|
+
|
|
18754
|
+
|
|
18755
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18756
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18757
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18758
|
+
|
|
18759
|
+
return {
|
|
18760
|
+
url: toPathString(localVarUrlObj),
|
|
18761
|
+
options: localVarRequestOptions,
|
|
18762
|
+
};
|
|
18763
|
+
},
|
|
18764
|
+
/**
|
|
18765
|
+
*
|
|
18766
|
+
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
18767
|
+
* @param {*} [options] Override http request option.
|
|
18768
|
+
* @throws {RequiredError}
|
|
18769
|
+
*/
|
|
18770
|
+
paymentControllerSetupBookingPayment: async (bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18771
|
+
// verify required parameter 'bookingPaymentPayloadDTO' is not null or undefined
|
|
18772
|
+
assertParamExists('paymentControllerSetupBookingPayment', 'bookingPaymentPayloadDTO', bookingPaymentPayloadDTO)
|
|
18773
|
+
const localVarPath = `/v1/payment/booking`;
|
|
18774
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18775
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18776
|
+
let baseOptions;
|
|
18777
|
+
if (configuration) {
|
|
18778
|
+
baseOptions = configuration.baseOptions;
|
|
18779
|
+
}
|
|
18780
|
+
|
|
18781
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18782
|
+
const localVarHeaderParameter = {} as any;
|
|
18783
|
+
const localVarQueryParameter = {} as any;
|
|
18784
|
+
|
|
18785
|
+
// authentication bearer required
|
|
18786
|
+
// http bearer authentication required
|
|
17871
18787
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17872
18788
|
|
|
17873
18789
|
|
|
@@ -18007,6 +18923,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
18007
18923
|
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
|
|
18008
18924
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18009
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
|
+
},
|
|
18010
18938
|
/**
|
|
18011
18939
|
*
|
|
18012
18940
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -18098,6 +19026,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
18098
19026
|
paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18099
19027
|
return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
|
|
18100
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
|
+
},
|
|
18101
19038
|
/**
|
|
18102
19039
|
*
|
|
18103
19040
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -18197,6 +19134,17 @@ export class PlansApi extends BaseAPI {
|
|
|
18197
19134
|
return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
|
|
18198
19135
|
}
|
|
18199
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
|
+
|
|
18200
19148
|
/**
|
|
18201
19149
|
*
|
|
18202
19150
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -18403,6 +19351,41 @@ export const PrepaidServiceApiAxiosParamCreator = function (configuration?: Conf
|
|
|
18403
19351
|
|
|
18404
19352
|
|
|
18405
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
|
+
|
|
18406
19389
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18407
19390
|
|
|
18408
19391
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -18603,6 +19586,18 @@ export const PrepaidServiceApiFp = function(configuration?: Configuration) {
|
|
|
18603
19586
|
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerFindService']?.[localVarOperationServerIndex]?.url;
|
|
18604
19587
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18605
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
|
+
},
|
|
18606
19601
|
/**
|
|
18607
19602
|
*
|
|
18608
19603
|
* @param {PrepaidServiceAvailabilityPayloadDTO} prepaidServiceAvailabilityPayloadDTO
|
|
@@ -18694,6 +19689,15 @@ export const PrepaidServiceApiFactory = function (configuration?: Configuration,
|
|
|
18694
19689
|
prepaidServiceControllerFindService(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceResponseDTO> {
|
|
18695
19690
|
return localVarFp.prepaidServiceControllerFindService(prepaidServiceFindDTO, options).then((request) => request(axios, basePath));
|
|
18696
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
|
+
},
|
|
18697
19701
|
/**
|
|
18698
19702
|
*
|
|
18699
19703
|
* @param {PrepaidServiceAvailabilityPayloadDTO} prepaidServiceAvailabilityPayloadDTO
|
|
@@ -18786,6 +19790,17 @@ export class PrepaidServiceApi extends BaseAPI {
|
|
|
18786
19790
|
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerFindService(prepaidServiceFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
18787
19791
|
}
|
|
18788
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
|
+
|
|
18789
19804
|
/**
|
|
18790
19805
|
*
|
|
18791
19806
|
* @param {PrepaidServiceAvailabilityPayloadDTO} prepaidServiceAvailabilityPayloadDTO
|
|
@@ -21712,6 +22727,84 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21712
22727
|
options: localVarRequestOptions,
|
|
21713
22728
|
};
|
|
21714
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
|
+
},
|
|
22769
|
+
/**
|
|
22770
|
+
*
|
|
22771
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
22772
|
+
* @param {*} [options] Override http request option.
|
|
22773
|
+
* @throws {RequiredError}
|
|
22774
|
+
*/
|
|
22775
|
+
whatsOnControllerFindCategoryBaseWhatsOn: async (whatsOnFindDTO: WhatsOnFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22776
|
+
// verify required parameter 'whatsOnFindDTO' is not null or undefined
|
|
22777
|
+
assertParamExists('whatsOnControllerFindCategoryBaseWhatsOn', 'whatsOnFindDTO', whatsOnFindDTO)
|
|
22778
|
+
const localVarPath = `/v1/whats-on/categories/list`;
|
|
22779
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22780
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22781
|
+
let baseOptions;
|
|
22782
|
+
if (configuration) {
|
|
22783
|
+
baseOptions = configuration.baseOptions;
|
|
22784
|
+
}
|
|
22785
|
+
|
|
22786
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
22787
|
+
const localVarHeaderParameter = {} as any;
|
|
22788
|
+
const localVarQueryParameter = {} as any;
|
|
22789
|
+
|
|
22790
|
+
// authentication bearer required
|
|
22791
|
+
// http bearer authentication required
|
|
22792
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22793
|
+
|
|
22794
|
+
|
|
22795
|
+
|
|
22796
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22797
|
+
|
|
22798
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22799
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22800
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22801
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnFindDTO, localVarRequestOptions, configuration)
|
|
22802
|
+
|
|
22803
|
+
return {
|
|
22804
|
+
url: toPathString(localVarUrlObj),
|
|
22805
|
+
options: localVarRequestOptions,
|
|
22806
|
+
};
|
|
22807
|
+
},
|
|
21715
22808
|
/**
|
|
21716
22809
|
*
|
|
21717
22810
|
* @param {string} id
|
|
@@ -21753,10 +22846,11 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21753
22846
|
*
|
|
21754
22847
|
* @param {number} page
|
|
21755
22848
|
* @param {number} limit
|
|
22849
|
+
* @param {string} [category]
|
|
21756
22850
|
* @param {*} [options] Override http request option.
|
|
21757
22851
|
* @throws {RequiredError}
|
|
21758
22852
|
*/
|
|
21759
|
-
whatsOnControllerFindFavoriteWhatsOnList: async (page: number, limit: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22853
|
+
whatsOnControllerFindFavoriteWhatsOnList: async (page: number, limit: number, category?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21760
22854
|
// verify required parameter 'page' is not null or undefined
|
|
21761
22855
|
assertParamExists('whatsOnControllerFindFavoriteWhatsOnList', 'page', page)
|
|
21762
22856
|
// verify required parameter 'limit' is not null or undefined
|
|
@@ -21785,6 +22879,62 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21785
22879
|
localVarQueryParameter['limit'] = limit;
|
|
21786
22880
|
}
|
|
21787
22881
|
|
|
22882
|
+
if (category !== undefined) {
|
|
22883
|
+
localVarQueryParameter['category'] = category;
|
|
22884
|
+
}
|
|
22885
|
+
|
|
22886
|
+
|
|
22887
|
+
|
|
22888
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22889
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22890
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22891
|
+
|
|
22892
|
+
return {
|
|
22893
|
+
url: toPathString(localVarUrlObj),
|
|
22894
|
+
options: localVarRequestOptions,
|
|
22895
|
+
};
|
|
22896
|
+
},
|
|
22897
|
+
/**
|
|
22898
|
+
*
|
|
22899
|
+
* @param {number} page
|
|
22900
|
+
* @param {number} limit
|
|
22901
|
+
* @param {string} [category]
|
|
22902
|
+
* @param {*} [options] Override http request option.
|
|
22903
|
+
* @throws {RequiredError}
|
|
22904
|
+
*/
|
|
22905
|
+
whatsOnControllerFindMyFavoriteWhatsOnList: async (page: number, limit: number, category?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22906
|
+
// verify required parameter 'page' is not null or undefined
|
|
22907
|
+
assertParamExists('whatsOnControllerFindMyFavoriteWhatsOnList', 'page', page)
|
|
22908
|
+
// verify required parameter 'limit' is not null or undefined
|
|
22909
|
+
assertParamExists('whatsOnControllerFindMyFavoriteWhatsOnList', 'limit', limit)
|
|
22910
|
+
const localVarPath = `/v1/whats-on/myfavorite`;
|
|
22911
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22912
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22913
|
+
let baseOptions;
|
|
22914
|
+
if (configuration) {
|
|
22915
|
+
baseOptions = configuration.baseOptions;
|
|
22916
|
+
}
|
|
22917
|
+
|
|
22918
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
22919
|
+
const localVarHeaderParameter = {} as any;
|
|
22920
|
+
const localVarQueryParameter = {} as any;
|
|
22921
|
+
|
|
22922
|
+
// authentication bearer required
|
|
22923
|
+
// http bearer authentication required
|
|
22924
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22925
|
+
|
|
22926
|
+
if (page !== undefined) {
|
|
22927
|
+
localVarQueryParameter['page'] = page;
|
|
22928
|
+
}
|
|
22929
|
+
|
|
22930
|
+
if (limit !== undefined) {
|
|
22931
|
+
localVarQueryParameter['limit'] = limit;
|
|
22932
|
+
}
|
|
22933
|
+
|
|
22934
|
+
if (category !== undefined) {
|
|
22935
|
+
localVarQueryParameter['category'] = category;
|
|
22936
|
+
}
|
|
22937
|
+
|
|
21788
22938
|
|
|
21789
22939
|
|
|
21790
22940
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -21872,6 +23022,41 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21872
23022
|
options: localVarRequestOptions,
|
|
21873
23023
|
};
|
|
21874
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
|
+
},
|
|
21875
23060
|
/**
|
|
21876
23061
|
*
|
|
21877
23062
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -21946,10 +23131,11 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21946
23131
|
},
|
|
21947
23132
|
/**
|
|
21948
23133
|
*
|
|
23134
|
+
* @param {string} [businessType]
|
|
21949
23135
|
* @param {*} [options] Override http request option.
|
|
21950
23136
|
* @throws {RequiredError}
|
|
21951
23137
|
*/
|
|
21952
|
-
whatsOnControllerSponsored: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23138
|
+
whatsOnControllerSponsored: async (businessType?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21953
23139
|
const localVarPath = `/v1/whats-on/sponsored`;
|
|
21954
23140
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21955
23141
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -21966,6 +23152,10 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21966
23152
|
// http bearer authentication required
|
|
21967
23153
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
21968
23154
|
|
|
23155
|
+
if (businessType !== undefined) {
|
|
23156
|
+
localVarQueryParameter['businessType'] = businessType;
|
|
23157
|
+
}
|
|
23158
|
+
|
|
21969
23159
|
|
|
21970
23160
|
|
|
21971
23161
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -22181,6 +23371,30 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
22181
23371
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerDiscountCodeApply']?.[localVarOperationServerIndex]?.url;
|
|
22182
23372
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22183
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
|
+
},
|
|
23386
|
+
/**
|
|
23387
|
+
*
|
|
23388
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
23389
|
+
* @param {*} [options] Override http request option.
|
|
23390
|
+
* @throws {RequiredError}
|
|
23391
|
+
*/
|
|
23392
|
+
async whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
23393
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO, options);
|
|
23394
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23395
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindCategoryBaseWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
23396
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23397
|
+
},
|
|
22184
23398
|
/**
|
|
22185
23399
|
*
|
|
22186
23400
|
* @param {string} id
|
|
@@ -22197,15 +23411,30 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
22197
23411
|
*
|
|
22198
23412
|
* @param {number} page
|
|
22199
23413
|
* @param {number} limit
|
|
23414
|
+
* @param {string} [category]
|
|
22200
23415
|
* @param {*} [options] Override http request option.
|
|
22201
23416
|
* @throws {RequiredError}
|
|
22202
23417
|
*/
|
|
22203
|
-
async whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteListResponseDTO>> {
|
|
22204
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindFavoriteWhatsOnList(page, limit, options);
|
|
23418
|
+
async whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, category?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteListResponseDTO>> {
|
|
23419
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindFavoriteWhatsOnList(page, limit, category, options);
|
|
22205
23420
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22206
23421
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindFavoriteWhatsOnList']?.[localVarOperationServerIndex]?.url;
|
|
22207
23422
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22208
23423
|
},
|
|
23424
|
+
/**
|
|
23425
|
+
*
|
|
23426
|
+
* @param {number} page
|
|
23427
|
+
* @param {number} limit
|
|
23428
|
+
* @param {string} [category]
|
|
23429
|
+
* @param {*} [options] Override http request option.
|
|
23430
|
+
* @throws {RequiredError}
|
|
23431
|
+
*/
|
|
23432
|
+
async whatsOnControllerFindMyFavoriteWhatsOnList(page: number, limit: number, category?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteListResponseDTO>> {
|
|
23433
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindMyFavoriteWhatsOnList(page, limit, category, options);
|
|
23434
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23435
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindMyFavoriteWhatsOnList']?.[localVarOperationServerIndex]?.url;
|
|
23436
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23437
|
+
},
|
|
22209
23438
|
/**
|
|
22210
23439
|
*
|
|
22211
23440
|
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
@@ -22230,6 +23459,18 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
22230
23459
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindWhatsOnById']?.[localVarOperationServerIndex]?.url;
|
|
22231
23460
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22232
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
|
+
},
|
|
22233
23474
|
/**
|
|
22234
23475
|
*
|
|
22235
23476
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22255,11 +23496,12 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
22255
23496
|
},
|
|
22256
23497
|
/**
|
|
22257
23498
|
*
|
|
23499
|
+
* @param {string} [businessType]
|
|
22258
23500
|
* @param {*} [options] Override http request option.
|
|
22259
23501
|
* @throws {RequiredError}
|
|
22260
23502
|
*/
|
|
22261
|
-
async whatsOnControllerSponsored(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
22262
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerSponsored(options);
|
|
23503
|
+
async whatsOnControllerSponsored(businessType?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
23504
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerSponsored(businessType, options);
|
|
22263
23505
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22264
23506
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerSponsored']?.[localVarOperationServerIndex]?.url;
|
|
22265
23507
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -22350,6 +23592,24 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
22350
23592
|
whatsOnControllerDiscountCodeApply(whatsDiscountCodePayloadDTO: WhatsDiscountCodePayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsDiscountCodeResponseDTO> {
|
|
22351
23593
|
return localVarFp.whatsOnControllerDiscountCodeApply(whatsDiscountCodePayloadDTO, options).then((request) => request(axios, basePath));
|
|
22352
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
|
+
},
|
|
23604
|
+
/**
|
|
23605
|
+
*
|
|
23606
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
23607
|
+
* @param {*} [options] Override http request option.
|
|
23608
|
+
* @throws {RequiredError}
|
|
23609
|
+
*/
|
|
23610
|
+
whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
23611
|
+
return localVarFp.whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO, options).then((request) => request(axios, basePath));
|
|
23612
|
+
},
|
|
22353
23613
|
/**
|
|
22354
23614
|
*
|
|
22355
23615
|
* @param {string} id
|
|
@@ -22363,11 +23623,23 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
22363
23623
|
*
|
|
22364
23624
|
* @param {number} page
|
|
22365
23625
|
* @param {number} limit
|
|
23626
|
+
* @param {string} [category]
|
|
23627
|
+
* @param {*} [options] Override http request option.
|
|
23628
|
+
* @throws {RequiredError}
|
|
23629
|
+
*/
|
|
23630
|
+
whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, category?: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteListResponseDTO> {
|
|
23631
|
+
return localVarFp.whatsOnControllerFindFavoriteWhatsOnList(page, limit, category, options).then((request) => request(axios, basePath));
|
|
23632
|
+
},
|
|
23633
|
+
/**
|
|
23634
|
+
*
|
|
23635
|
+
* @param {number} page
|
|
23636
|
+
* @param {number} limit
|
|
23637
|
+
* @param {string} [category]
|
|
22366
23638
|
* @param {*} [options] Override http request option.
|
|
22367
23639
|
* @throws {RequiredError}
|
|
22368
23640
|
*/
|
|
22369
|
-
|
|
22370
|
-
return localVarFp.
|
|
23641
|
+
whatsOnControllerFindMyFavoriteWhatsOnList(page: number, limit: number, category?: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteListResponseDTO> {
|
|
23642
|
+
return localVarFp.whatsOnControllerFindMyFavoriteWhatsOnList(page, limit, category, options).then((request) => request(axios, basePath));
|
|
22371
23643
|
},
|
|
22372
23644
|
/**
|
|
22373
23645
|
*
|
|
@@ -22387,6 +23659,15 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
22387
23659
|
whatsOnControllerFindWhatsOnById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteResponseDTO> {
|
|
22388
23660
|
return localVarFp.whatsOnControllerFindWhatsOnById(id, options).then((request) => request(axios, basePath));
|
|
22389
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
|
+
},
|
|
22390
23671
|
/**
|
|
22391
23672
|
*
|
|
22392
23673
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22406,11 +23687,12 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
22406
23687
|
},
|
|
22407
23688
|
/**
|
|
22408
23689
|
*
|
|
23690
|
+
* @param {string} [businessType]
|
|
22409
23691
|
* @param {*} [options] Override http request option.
|
|
22410
23692
|
* @throws {RequiredError}
|
|
22411
23693
|
*/
|
|
22412
|
-
whatsOnControllerSponsored(options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
22413
|
-
return localVarFp.whatsOnControllerSponsored(options).then((request) => request(axios, basePath));
|
|
23694
|
+
whatsOnControllerSponsored(businessType?: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
23695
|
+
return localVarFp.whatsOnControllerSponsored(businessType, options).then((request) => request(axios, basePath));
|
|
22414
23696
|
},
|
|
22415
23697
|
/**
|
|
22416
23698
|
*
|
|
@@ -22492,6 +23774,28 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
22492
23774
|
return WhatsOnApiFp(this.configuration).whatsOnControllerDiscountCodeApply(whatsDiscountCodePayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
22493
23775
|
}
|
|
22494
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
|
+
|
|
23788
|
+
/**
|
|
23789
|
+
*
|
|
23790
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
23791
|
+
* @param {*} [options] Override http request option.
|
|
23792
|
+
* @throws {RequiredError}
|
|
23793
|
+
* @memberof WhatsOnApi
|
|
23794
|
+
*/
|
|
23795
|
+
public whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig) {
|
|
23796
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
23797
|
+
}
|
|
23798
|
+
|
|
22495
23799
|
/**
|
|
22496
23800
|
*
|
|
22497
23801
|
* @param {string} id
|
|
@@ -22507,12 +23811,26 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
22507
23811
|
*
|
|
22508
23812
|
* @param {number} page
|
|
22509
23813
|
* @param {number} limit
|
|
23814
|
+
* @param {string} [category]
|
|
23815
|
+
* @param {*} [options] Override http request option.
|
|
23816
|
+
* @throws {RequiredError}
|
|
23817
|
+
* @memberof WhatsOnApi
|
|
23818
|
+
*/
|
|
23819
|
+
public whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, category?: string, options?: RawAxiosRequestConfig) {
|
|
23820
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindFavoriteWhatsOnList(page, limit, category, options).then((request) => request(this.axios, this.basePath));
|
|
23821
|
+
}
|
|
23822
|
+
|
|
23823
|
+
/**
|
|
23824
|
+
*
|
|
23825
|
+
* @param {number} page
|
|
23826
|
+
* @param {number} limit
|
|
23827
|
+
* @param {string} [category]
|
|
22510
23828
|
* @param {*} [options] Override http request option.
|
|
22511
23829
|
* @throws {RequiredError}
|
|
22512
23830
|
* @memberof WhatsOnApi
|
|
22513
23831
|
*/
|
|
22514
|
-
public
|
|
22515
|
-
return WhatsOnApiFp(this.configuration).
|
|
23832
|
+
public whatsOnControllerFindMyFavoriteWhatsOnList(page: number, limit: number, category?: string, options?: RawAxiosRequestConfig) {
|
|
23833
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindMyFavoriteWhatsOnList(page, limit, category, options).then((request) => request(this.axios, this.basePath));
|
|
22516
23834
|
}
|
|
22517
23835
|
|
|
22518
23836
|
/**
|
|
@@ -22537,6 +23855,17 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
22537
23855
|
return WhatsOnApiFp(this.configuration).whatsOnControllerFindWhatsOnById(id, options).then((request) => request(this.axios, this.basePath));
|
|
22538
23856
|
}
|
|
22539
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
|
+
|
|
22540
23869
|
/**
|
|
22541
23870
|
*
|
|
22542
23871
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22560,12 +23889,13 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
22560
23889
|
|
|
22561
23890
|
/**
|
|
22562
23891
|
*
|
|
23892
|
+
* @param {string} [businessType]
|
|
22563
23893
|
* @param {*} [options] Override http request option.
|
|
22564
23894
|
* @throws {RequiredError}
|
|
22565
23895
|
* @memberof WhatsOnApi
|
|
22566
23896
|
*/
|
|
22567
|
-
public whatsOnControllerSponsored(options?: RawAxiosRequestConfig) {
|
|
22568
|
-
return WhatsOnApiFp(this.configuration).whatsOnControllerSponsored(options).then((request) => request(this.axios, this.basePath));
|
|
23897
|
+
public whatsOnControllerSponsored(businessType?: string, options?: RawAxiosRequestConfig) {
|
|
23898
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerSponsored(businessType, options).then((request) => request(this.axios, this.basePath));
|
|
22569
23899
|
}
|
|
22570
23900
|
|
|
22571
23901
|
/**
|