@gooday_corp/gooday-api-client 1.3.52 → 1.3.53
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 +6 -1
- package/api.ts +687 -369
- package/docs/AIApi.md +4 -61
- package/docs/BookingApi.md +5 -13
- package/docs/BusinessApi.md +208 -9
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/CreatePaymentLinkDTO.md +2 -10
- package/docs/FavoriteResponseDTO.md +22 -0
- package/docs/GetAllVenueDto.md +28 -0
- package/docs/GetAllWhatsOnDTO.md +34 -0
- package/docs/PlansApi.md +52 -1
- package/docs/PrepaidServiceApi.md +52 -0
- package/docs/{TrendingFilterDTO.md → ProductResponseDTO.md} +7 -5
- package/docs/RescheduleBookingPayload.md +1 -1
- 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 +34 -101
- package/docs/WhatsOnFindDTO.md +0 -2
- 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
|
|
@@ -4425,6 +4420,98 @@ export const FriendshipStatusDTOSuccessEnum = {
|
|
|
4425
4420
|
|
|
4426
4421
|
export type FriendshipStatusDTOSuccessEnum = typeof FriendshipStatusDTOSuccessEnum[keyof typeof FriendshipStatusDTOSuccessEnum];
|
|
4427
4422
|
|
|
4423
|
+
/**
|
|
4424
|
+
*
|
|
4425
|
+
* @export
|
|
4426
|
+
* @interface GetAllVenueDto
|
|
4427
|
+
*/
|
|
4428
|
+
export interface GetAllVenueDto {
|
|
4429
|
+
/**
|
|
4430
|
+
* Business name search
|
|
4431
|
+
* @type {string}
|
|
4432
|
+
* @memberof GetAllVenueDto
|
|
4433
|
+
*/
|
|
4434
|
+
'search'?: string;
|
|
4435
|
+
/**
|
|
4436
|
+
* Page number for pagination
|
|
4437
|
+
* @type {number}
|
|
4438
|
+
* @memberof GetAllVenueDto
|
|
4439
|
+
*/
|
|
4440
|
+
'page'?: number;
|
|
4441
|
+
/**
|
|
4442
|
+
* Number of items per page for pagination
|
|
4443
|
+
* @type {number}
|
|
4444
|
+
* @memberof GetAllVenueDto
|
|
4445
|
+
*/
|
|
4446
|
+
'limit'?: number;
|
|
4447
|
+
/**
|
|
4448
|
+
*
|
|
4449
|
+
* @type {number}
|
|
4450
|
+
* @memberof GetAllVenueDto
|
|
4451
|
+
*/
|
|
4452
|
+
'people'?: number;
|
|
4453
|
+
/**
|
|
4454
|
+
*
|
|
4455
|
+
* @type {Array<number>}
|
|
4456
|
+
* @memberof GetAllVenueDto
|
|
4457
|
+
*/
|
|
4458
|
+
'coordinates': Array<number>;
|
|
4459
|
+
}
|
|
4460
|
+
/**
|
|
4461
|
+
*
|
|
4462
|
+
* @export
|
|
4463
|
+
* @interface GetAllWhatsOnDTO
|
|
4464
|
+
*/
|
|
4465
|
+
export interface GetAllWhatsOnDTO {
|
|
4466
|
+
/**
|
|
4467
|
+
*
|
|
4468
|
+
* @type {number}
|
|
4469
|
+
* @memberof GetAllWhatsOnDTO
|
|
4470
|
+
*/
|
|
4471
|
+
'page': number;
|
|
4472
|
+
/**
|
|
4473
|
+
*
|
|
4474
|
+
* @type {number}
|
|
4475
|
+
* @memberof GetAllWhatsOnDTO
|
|
4476
|
+
*/
|
|
4477
|
+
'pageSize': number;
|
|
4478
|
+
/**
|
|
4479
|
+
*
|
|
4480
|
+
* @type {string}
|
|
4481
|
+
* @memberof GetAllWhatsOnDTO
|
|
4482
|
+
*/
|
|
4483
|
+
'search'?: string;
|
|
4484
|
+
/**
|
|
4485
|
+
*
|
|
4486
|
+
* @type {string}
|
|
4487
|
+
* @memberof GetAllWhatsOnDTO
|
|
4488
|
+
*/
|
|
4489
|
+
'date'?: string;
|
|
4490
|
+
/**
|
|
4491
|
+
*
|
|
4492
|
+
* @type {string}
|
|
4493
|
+
* @memberof GetAllWhatsOnDTO
|
|
4494
|
+
*/
|
|
4495
|
+
'toTime'?: string;
|
|
4496
|
+
/**
|
|
4497
|
+
*
|
|
4498
|
+
* @type {Array<number>}
|
|
4499
|
+
* @memberof GetAllWhatsOnDTO
|
|
4500
|
+
*/
|
|
4501
|
+
'coordinates'?: Array<number>;
|
|
4502
|
+
/**
|
|
4503
|
+
*
|
|
4504
|
+
* @type {number}
|
|
4505
|
+
* @memberof GetAllWhatsOnDTO
|
|
4506
|
+
*/
|
|
4507
|
+
'capacity'?: number;
|
|
4508
|
+
/**
|
|
4509
|
+
*
|
|
4510
|
+
* @type {string}
|
|
4511
|
+
* @memberof GetAllWhatsOnDTO
|
|
4512
|
+
*/
|
|
4513
|
+
'venue'?: string;
|
|
4514
|
+
}
|
|
4428
4515
|
/**
|
|
4429
4516
|
*
|
|
4430
4517
|
* @export
|
|
@@ -6318,6 +6405,25 @@ export interface PriceRangeListResponse {
|
|
|
6318
6405
|
*/
|
|
6319
6406
|
'data': Array<PriceRangeEntity>;
|
|
6320
6407
|
}
|
|
6408
|
+
/**
|
|
6409
|
+
*
|
|
6410
|
+
* @export
|
|
6411
|
+
* @interface ProductResponseDTO
|
|
6412
|
+
*/
|
|
6413
|
+
export interface ProductResponseDTO {
|
|
6414
|
+
/**
|
|
6415
|
+
*
|
|
6416
|
+
* @type {object}
|
|
6417
|
+
* @memberof ProductResponseDTO
|
|
6418
|
+
*/
|
|
6419
|
+
'data': object;
|
|
6420
|
+
/**
|
|
6421
|
+
* statusCode
|
|
6422
|
+
* @type {number}
|
|
6423
|
+
* @memberof ProductResponseDTO
|
|
6424
|
+
*/
|
|
6425
|
+
'statusCode': number;
|
|
6426
|
+
}
|
|
6321
6427
|
/**
|
|
6322
6428
|
*
|
|
6323
6429
|
* @export
|
|
@@ -7292,19 +7398,6 @@ export interface TodoListResponseDTO {
|
|
|
7292
7398
|
*/
|
|
7293
7399
|
'data': Array<TodoEntity>;
|
|
7294
7400
|
}
|
|
7295
|
-
/**
|
|
7296
|
-
*
|
|
7297
|
-
* @export
|
|
7298
|
-
* @interface TrendingFilterDTO
|
|
7299
|
-
*/
|
|
7300
|
-
export interface TrendingFilterDTO {
|
|
7301
|
-
/**
|
|
7302
|
-
*
|
|
7303
|
-
* @type {string}
|
|
7304
|
-
* @memberof TrendingFilterDTO
|
|
7305
|
-
*/
|
|
7306
|
-
'category'?: string;
|
|
7307
|
-
}
|
|
7308
7401
|
/**
|
|
7309
7402
|
*
|
|
7310
7403
|
* @export
|
|
@@ -7498,6 +7591,12 @@ export interface UserEntity {
|
|
|
7498
7591
|
* @memberof UserEntity
|
|
7499
7592
|
*/
|
|
7500
7593
|
'isEmailVerified': boolean;
|
|
7594
|
+
/**
|
|
7595
|
+
* Indicates whether the business owner subscription status
|
|
7596
|
+
* @type {string}
|
|
7597
|
+
* @memberof UserEntity
|
|
7598
|
+
*/
|
|
7599
|
+
'subscription': string;
|
|
7501
7600
|
/**
|
|
7502
7601
|
* Primary user calendar
|
|
7503
7602
|
* @type {string}
|
|
@@ -7751,6 +7850,44 @@ export interface UserWaitingListResponseDTO {
|
|
|
7751
7850
|
*/
|
|
7752
7851
|
'data': UserWaitingListPayloadDTO;
|
|
7753
7852
|
}
|
|
7853
|
+
/**
|
|
7854
|
+
*
|
|
7855
|
+
* @export
|
|
7856
|
+
* @interface VenueFavoriteCount
|
|
7857
|
+
*/
|
|
7858
|
+
export interface VenueFavoriteCount {
|
|
7859
|
+
/**
|
|
7860
|
+
*
|
|
7861
|
+
* @type {number}
|
|
7862
|
+
* @memberof VenueFavoriteCount
|
|
7863
|
+
*/
|
|
7864
|
+
'venueFavorite': number;
|
|
7865
|
+
/**
|
|
7866
|
+
*
|
|
7867
|
+
* @type {Array<string>}
|
|
7868
|
+
* @memberof VenueFavoriteCount
|
|
7869
|
+
*/
|
|
7870
|
+
'user': Array<string>;
|
|
7871
|
+
}
|
|
7872
|
+
/**
|
|
7873
|
+
*
|
|
7874
|
+
* @export
|
|
7875
|
+
* @interface VenueResponseDTO
|
|
7876
|
+
*/
|
|
7877
|
+
export interface VenueResponseDTO {
|
|
7878
|
+
/**
|
|
7879
|
+
* statusCode
|
|
7880
|
+
* @type {number}
|
|
7881
|
+
* @memberof VenueResponseDTO
|
|
7882
|
+
*/
|
|
7883
|
+
'statusCode': number;
|
|
7884
|
+
/**
|
|
7885
|
+
* Venue
|
|
7886
|
+
* @type {BusinessVenueDetailsEntity}
|
|
7887
|
+
* @memberof VenueResponseDTO
|
|
7888
|
+
*/
|
|
7889
|
+
'data': BusinessVenueDetailsEntity;
|
|
7890
|
+
}
|
|
7754
7891
|
/**
|
|
7755
7892
|
*
|
|
7756
7893
|
* @export
|
|
@@ -8506,12 +8643,6 @@ export interface WhatsOnFindDTO {
|
|
|
8506
8643
|
* @memberof WhatsOnFindDTO
|
|
8507
8644
|
*/
|
|
8508
8645
|
'venue'?: string;
|
|
8509
|
-
/**
|
|
8510
|
-
*
|
|
8511
|
-
* @type {string}
|
|
8512
|
-
* @memberof WhatsOnFindDTO
|
|
8513
|
-
*/
|
|
8514
|
-
'businessType'?: string;
|
|
8515
8646
|
}
|
|
8516
8647
|
/**
|
|
8517
8648
|
*
|
|
@@ -8848,54 +8979,6 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8848
8979
|
|
|
8849
8980
|
|
|
8850
8981
|
|
|
8851
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8852
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8853
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8854
|
-
|
|
8855
|
-
return {
|
|
8856
|
-
url: toPathString(localVarUrlObj),
|
|
8857
|
-
options: localVarRequestOptions,
|
|
8858
|
-
};
|
|
8859
|
-
},
|
|
8860
|
-
/**
|
|
8861
|
-
*
|
|
8862
|
-
* @param {number} [page]
|
|
8863
|
-
* @param {number} [pageSize]
|
|
8864
|
-
* @param {string} [identifier]
|
|
8865
|
-
* @param {*} [options] Override http request option.
|
|
8866
|
-
* @throws {RequiredError}
|
|
8867
|
-
*/
|
|
8868
|
-
assistantControllerGenerateCategoriesFeed: async (page?: number, pageSize?: number, identifier?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8869
|
-
const localVarPath = `/v1/ai/category-feed`;
|
|
8870
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8871
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8872
|
-
let baseOptions;
|
|
8873
|
-
if (configuration) {
|
|
8874
|
-
baseOptions = configuration.baseOptions;
|
|
8875
|
-
}
|
|
8876
|
-
|
|
8877
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8878
|
-
const localVarHeaderParameter = {} as any;
|
|
8879
|
-
const localVarQueryParameter = {} as any;
|
|
8880
|
-
|
|
8881
|
-
// authentication bearer required
|
|
8882
|
-
// http bearer authentication required
|
|
8883
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8884
|
-
|
|
8885
|
-
if (page !== undefined) {
|
|
8886
|
-
localVarQueryParameter['page'] = page;
|
|
8887
|
-
}
|
|
8888
|
-
|
|
8889
|
-
if (pageSize !== undefined) {
|
|
8890
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
8891
|
-
}
|
|
8892
|
-
|
|
8893
|
-
if (identifier !== undefined) {
|
|
8894
|
-
localVarQueryParameter['identifier'] = identifier;
|
|
8895
|
-
}
|
|
8896
|
-
|
|
8897
|
-
|
|
8898
|
-
|
|
8899
8982
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8900
8983
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8901
8984
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -9033,20 +9116,6 @@ export const AIApiFp = function(configuration?: Configuration) {
|
|
|
9033
9116
|
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerAiSuggestionList']?.[localVarOperationServerIndex]?.url;
|
|
9034
9117
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9035
9118
|
},
|
|
9036
|
-
/**
|
|
9037
|
-
*
|
|
9038
|
-
* @param {number} [page]
|
|
9039
|
-
* @param {number} [pageSize]
|
|
9040
|
-
* @param {string} [identifier]
|
|
9041
|
-
* @param {*} [options] Override http request option.
|
|
9042
|
-
* @throws {RequiredError}
|
|
9043
|
-
*/
|
|
9044
|
-
async assistantControllerGenerateCategoriesFeed(page?: number, pageSize?: number, identifier?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeFeedListResponseDTO>> {
|
|
9045
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerGenerateCategoriesFeed(page, pageSize, identifier, options);
|
|
9046
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9047
|
-
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerGenerateCategoriesFeed']?.[localVarOperationServerIndex]?.url;
|
|
9048
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9049
|
-
},
|
|
9050
9119
|
/**
|
|
9051
9120
|
*
|
|
9052
9121
|
* @param {number} [page]
|
|
@@ -9102,17 +9171,6 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
9102
9171
|
assistantControllerAiSuggestionList(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<AISuggestionListResponse> {
|
|
9103
9172
|
return localVarFp.assistantControllerAiSuggestionList(page, pageSize, options).then((request) => request(axios, basePath));
|
|
9104
9173
|
},
|
|
9105
|
-
/**
|
|
9106
|
-
*
|
|
9107
|
-
* @param {number} [page]
|
|
9108
|
-
* @param {number} [pageSize]
|
|
9109
|
-
* @param {string} [identifier]
|
|
9110
|
-
* @param {*} [options] Override http request option.
|
|
9111
|
-
* @throws {RequiredError}
|
|
9112
|
-
*/
|
|
9113
|
-
assistantControllerGenerateCategoriesFeed(page?: number, pageSize?: number, identifier?: string, options?: RawAxiosRequestConfig): AxiosPromise<HomeFeedListResponseDTO> {
|
|
9114
|
-
return localVarFp.assistantControllerGenerateCategoriesFeed(page, pageSize, identifier, options).then((request) => request(axios, basePath));
|
|
9115
|
-
},
|
|
9116
9174
|
/**
|
|
9117
9175
|
*
|
|
9118
9176
|
* @param {number} [page]
|
|
@@ -9161,19 +9219,6 @@ export class AIApi extends BaseAPI {
|
|
|
9161
9219
|
return AIApiFp(this.configuration).assistantControllerAiSuggestionList(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
9162
9220
|
}
|
|
9163
9221
|
|
|
9164
|
-
/**
|
|
9165
|
-
*
|
|
9166
|
-
* @param {number} [page]
|
|
9167
|
-
* @param {number} [pageSize]
|
|
9168
|
-
* @param {string} [identifier]
|
|
9169
|
-
* @param {*} [options] Override http request option.
|
|
9170
|
-
* @throws {RequiredError}
|
|
9171
|
-
* @memberof AIApi
|
|
9172
|
-
*/
|
|
9173
|
-
public assistantControllerGenerateCategoriesFeed(page?: number, pageSize?: number, identifier?: string, options?: RawAxiosRequestConfig) {
|
|
9174
|
-
return AIApiFp(this.configuration).assistantControllerGenerateCategoriesFeed(page, pageSize, identifier, options).then((request) => request(this.axios, this.basePath));
|
|
9175
|
-
}
|
|
9176
|
-
|
|
9177
9222
|
/**
|
|
9178
9223
|
*
|
|
9179
9224
|
* @param {number} [page]
|
|
@@ -11077,13 +11122,10 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
11077
11122
|
},
|
|
11078
11123
|
/**
|
|
11079
11124
|
*
|
|
11080
|
-
* @param {TrendingFilterDTO} trendingFilterDTO
|
|
11081
11125
|
* @param {*} [options] Override http request option.
|
|
11082
11126
|
* @throws {RequiredError}
|
|
11083
11127
|
*/
|
|
11084
|
-
bookingControllerTrendingEvents: async (
|
|
11085
|
-
// verify required parameter 'trendingFilterDTO' is not null or undefined
|
|
11086
|
-
assertParamExists('bookingControllerTrendingEvents', 'trendingFilterDTO', trendingFilterDTO)
|
|
11128
|
+
bookingControllerTrendingEvents: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
11087
11129
|
const localVarPath = `/v1/booking/trending-events`;
|
|
11088
11130
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11089
11131
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -11102,12 +11144,9 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
11102
11144
|
|
|
11103
11145
|
|
|
11104
11146
|
|
|
11105
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
11106
|
-
|
|
11107
11147
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11108
11148
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11109
11149
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
11110
|
-
localVarRequestOptions.data = serializeDataIfNeeded(trendingFilterDTO, localVarRequestOptions, configuration)
|
|
11111
11150
|
|
|
11112
11151
|
return {
|
|
11113
11152
|
url: toPathString(localVarUrlObj),
|
|
@@ -11338,12 +11377,11 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
11338
11377
|
},
|
|
11339
11378
|
/**
|
|
11340
11379
|
*
|
|
11341
|
-
* @param {TrendingFilterDTO} trendingFilterDTO
|
|
11342
11380
|
* @param {*} [options] Override http request option.
|
|
11343
11381
|
* @throws {RequiredError}
|
|
11344
11382
|
*/
|
|
11345
|
-
async bookingControllerTrendingEvents(
|
|
11346
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerTrendingEvents(
|
|
11383
|
+
async bookingControllerTrendingEvents(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
11384
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerTrendingEvents(options);
|
|
11347
11385
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11348
11386
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerTrendingEvents']?.[localVarOperationServerIndex]?.url;
|
|
11349
11387
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11500,12 +11538,11 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
11500
11538
|
},
|
|
11501
11539
|
/**
|
|
11502
11540
|
*
|
|
11503
|
-
* @param {TrendingFilterDTO} trendingFilterDTO
|
|
11504
11541
|
* @param {*} [options] Override http request option.
|
|
11505
11542
|
* @throws {RequiredError}
|
|
11506
11543
|
*/
|
|
11507
|
-
bookingControllerTrendingEvents(
|
|
11508
|
-
return localVarFp.bookingControllerTrendingEvents(
|
|
11544
|
+
bookingControllerTrendingEvents(options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
11545
|
+
return localVarFp.bookingControllerTrendingEvents(options).then((request) => request(axios, basePath));
|
|
11509
11546
|
},
|
|
11510
11547
|
/**
|
|
11511
11548
|
*
|
|
@@ -11684,13 +11721,12 @@ export class BookingApi extends BaseAPI {
|
|
|
11684
11721
|
|
|
11685
11722
|
/**
|
|
11686
11723
|
*
|
|
11687
|
-
* @param {TrendingFilterDTO} trendingFilterDTO
|
|
11688
11724
|
* @param {*} [options] Override http request option.
|
|
11689
11725
|
* @throws {RequiredError}
|
|
11690
11726
|
* @memberof BookingApi
|
|
11691
11727
|
*/
|
|
11692
|
-
public bookingControllerTrendingEvents(
|
|
11693
|
-
return BookingApiFp(this.configuration).bookingControllerTrendingEvents(
|
|
11728
|
+
public bookingControllerTrendingEvents(options?: RawAxiosRequestConfig) {
|
|
11729
|
+
return BookingApiFp(this.configuration).bookingControllerTrendingEvents(options).then((request) => request(this.axios, this.basePath));
|
|
11694
11730
|
}
|
|
11695
11731
|
|
|
11696
11732
|
/**
|
|
@@ -12008,14 +12044,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12008
12044
|
},
|
|
12009
12045
|
/**
|
|
12010
12046
|
*
|
|
12011
|
-
* @param {
|
|
12047
|
+
* @param {FindBusinessStaff} findBusinessStaff
|
|
12012
12048
|
* @param {*} [options] Override http request option.
|
|
12013
12049
|
* @throws {RequiredError}
|
|
12014
12050
|
*/
|
|
12015
|
-
|
|
12016
|
-
// verify required parameter '
|
|
12017
|
-
assertParamExists('
|
|
12018
|
-
const localVarPath = `/v1/business-staff`;
|
|
12051
|
+
businessStaffControllerFindVenueStaffs: async (findBusinessStaff: FindBusinessStaff, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12052
|
+
// verify required parameter 'findBusinessStaff' is not null or undefined
|
|
12053
|
+
assertParamExists('businessStaffControllerFindVenueStaffs', 'findBusinessStaff', findBusinessStaff)
|
|
12054
|
+
const localVarPath = `/v1/business-staff/public-list`;
|
|
12019
12055
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12020
12056
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12021
12057
|
let baseOptions;
|
|
@@ -12027,10 +12063,6 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12027
12063
|
const localVarHeaderParameter = {} as any;
|
|
12028
12064
|
const localVarQueryParameter = {} as any;
|
|
12029
12065
|
|
|
12030
|
-
// authentication bearer required
|
|
12031
|
-
// http bearer authentication required
|
|
12032
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12033
|
-
|
|
12034
12066
|
|
|
12035
12067
|
|
|
12036
12068
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -12038,7 +12070,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12038
12070
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12039
12071
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12040
12072
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12041
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
12073
|
+
localVarRequestOptions.data = serializeDataIfNeeded(findBusinessStaff, localVarRequestOptions, configuration)
|
|
12042
12074
|
|
|
12043
12075
|
return {
|
|
12044
12076
|
url: toPathString(localVarUrlObj),
|
|
@@ -12047,7 +12079,46 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12047
12079
|
},
|
|
12048
12080
|
/**
|
|
12049
12081
|
*
|
|
12050
|
-
* @param {
|
|
12082
|
+
* @param {BusinessStaffDTO} businessStaffDTO
|
|
12083
|
+
* @param {*} [options] Override http request option.
|
|
12084
|
+
* @throws {RequiredError}
|
|
12085
|
+
*/
|
|
12086
|
+
businessStaffControllerSaveBusinessStaff: async (businessStaffDTO: BusinessStaffDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12087
|
+
// verify required parameter 'businessStaffDTO' is not null or undefined
|
|
12088
|
+
assertParamExists('businessStaffControllerSaveBusinessStaff', 'businessStaffDTO', businessStaffDTO)
|
|
12089
|
+
const localVarPath = `/v1/business-staff`;
|
|
12090
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12091
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12092
|
+
let baseOptions;
|
|
12093
|
+
if (configuration) {
|
|
12094
|
+
baseOptions = configuration.baseOptions;
|
|
12095
|
+
}
|
|
12096
|
+
|
|
12097
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12098
|
+
const localVarHeaderParameter = {} as any;
|
|
12099
|
+
const localVarQueryParameter = {} as any;
|
|
12100
|
+
|
|
12101
|
+
// authentication bearer required
|
|
12102
|
+
// http bearer authentication required
|
|
12103
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12104
|
+
|
|
12105
|
+
|
|
12106
|
+
|
|
12107
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12108
|
+
|
|
12109
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12110
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12111
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12112
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessStaffDTO, localVarRequestOptions, configuration)
|
|
12113
|
+
|
|
12114
|
+
return {
|
|
12115
|
+
url: toPathString(localVarUrlObj),
|
|
12116
|
+
options: localVarRequestOptions,
|
|
12117
|
+
};
|
|
12118
|
+
},
|
|
12119
|
+
/**
|
|
12120
|
+
*
|
|
12121
|
+
* @param {string} id
|
|
12051
12122
|
* @param {BusinessStaffDTO} businessStaffDTO
|
|
12052
12123
|
* @param {*} [options] Override http request option.
|
|
12053
12124
|
* @throws {RequiredError}
|
|
@@ -12201,6 +12272,41 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12201
12272
|
options: localVarRequestOptions,
|
|
12202
12273
|
};
|
|
12203
12274
|
},
|
|
12275
|
+
/**
|
|
12276
|
+
*
|
|
12277
|
+
* @param {GetAllVenueDto} getAllVenueDto
|
|
12278
|
+
* @param {*} [options] Override http request option.
|
|
12279
|
+
* @throws {RequiredError}
|
|
12280
|
+
*/
|
|
12281
|
+
businessTypeControllerGetAllVenue: async (getAllVenueDto: GetAllVenueDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12282
|
+
// verify required parameter 'getAllVenueDto' is not null or undefined
|
|
12283
|
+
assertParamExists('businessTypeControllerGetAllVenue', 'getAllVenueDto', getAllVenueDto)
|
|
12284
|
+
const localVarPath = `/v1/business/venues`;
|
|
12285
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12286
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12287
|
+
let baseOptions;
|
|
12288
|
+
if (configuration) {
|
|
12289
|
+
baseOptions = configuration.baseOptions;
|
|
12290
|
+
}
|
|
12291
|
+
|
|
12292
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12293
|
+
const localVarHeaderParameter = {} as any;
|
|
12294
|
+
const localVarQueryParameter = {} as any;
|
|
12295
|
+
|
|
12296
|
+
|
|
12297
|
+
|
|
12298
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12299
|
+
|
|
12300
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12301
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12302
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12303
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getAllVenueDto, localVarRequestOptions, configuration)
|
|
12304
|
+
|
|
12305
|
+
return {
|
|
12306
|
+
url: toPathString(localVarUrlObj),
|
|
12307
|
+
options: localVarRequestOptions,
|
|
12308
|
+
};
|
|
12309
|
+
},
|
|
12204
12310
|
/**
|
|
12205
12311
|
*
|
|
12206
12312
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -12240,6 +12346,72 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12240
12346
|
options: localVarRequestOptions,
|
|
12241
12347
|
};
|
|
12242
12348
|
},
|
|
12349
|
+
/**
|
|
12350
|
+
*
|
|
12351
|
+
* @param {string} id
|
|
12352
|
+
* @param {*} [options] Override http request option.
|
|
12353
|
+
* @throws {RequiredError}
|
|
12354
|
+
*/
|
|
12355
|
+
businessTypeControllerGetFavoriteVenueCount: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12356
|
+
// verify required parameter 'id' is not null or undefined
|
|
12357
|
+
assertParamExists('businessTypeControllerGetFavoriteVenueCount', 'id', id)
|
|
12358
|
+
const localVarPath = `/v1/business/public/favorite/count/{id}`
|
|
12359
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12360
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12361
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12362
|
+
let baseOptions;
|
|
12363
|
+
if (configuration) {
|
|
12364
|
+
baseOptions = configuration.baseOptions;
|
|
12365
|
+
}
|
|
12366
|
+
|
|
12367
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12368
|
+
const localVarHeaderParameter = {} as any;
|
|
12369
|
+
const localVarQueryParameter = {} as any;
|
|
12370
|
+
|
|
12371
|
+
|
|
12372
|
+
|
|
12373
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12374
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12375
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12376
|
+
|
|
12377
|
+
return {
|
|
12378
|
+
url: toPathString(localVarUrlObj),
|
|
12379
|
+
options: localVarRequestOptions,
|
|
12380
|
+
};
|
|
12381
|
+
},
|
|
12382
|
+
/**
|
|
12383
|
+
*
|
|
12384
|
+
* @param {string} id
|
|
12385
|
+
* @param {*} [options] Override http request option.
|
|
12386
|
+
* @throws {RequiredError}
|
|
12387
|
+
*/
|
|
12388
|
+
businessTypeControllerGetVenueById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12389
|
+
// verify required parameter 'id' is not null or undefined
|
|
12390
|
+
assertParamExists('businessTypeControllerGetVenueById', 'id', id)
|
|
12391
|
+
const localVarPath = `/v1/business/venue/{id}`
|
|
12392
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
12393
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12394
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12395
|
+
let baseOptions;
|
|
12396
|
+
if (configuration) {
|
|
12397
|
+
baseOptions = configuration.baseOptions;
|
|
12398
|
+
}
|
|
12399
|
+
|
|
12400
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
12401
|
+
const localVarHeaderParameter = {} as any;
|
|
12402
|
+
const localVarQueryParameter = {} as any;
|
|
12403
|
+
|
|
12404
|
+
|
|
12405
|
+
|
|
12406
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12407
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12408
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12409
|
+
|
|
12410
|
+
return {
|
|
12411
|
+
url: toPathString(localVarUrlObj),
|
|
12412
|
+
options: localVarRequestOptions,
|
|
12413
|
+
};
|
|
12414
|
+
},
|
|
12243
12415
|
/**
|
|
12244
12416
|
*
|
|
12245
12417
|
* @param {*} [options] Override http request option.
|
|
@@ -12275,11 +12447,10 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12275
12447
|
},
|
|
12276
12448
|
/**
|
|
12277
12449
|
*
|
|
12278
|
-
* @param {string} [id] Unique identifier for the category
|
|
12279
12450
|
* @param {*} [options] Override http request option.
|
|
12280
12451
|
* @throws {RequiredError}
|
|
12281
12452
|
*/
|
|
12282
|
-
businessTypeControllerListAllCategories: async (
|
|
12453
|
+
businessTypeControllerListAllCategories: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12283
12454
|
const localVarPath = `/v1/business/categories`;
|
|
12284
12455
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12285
12456
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -12296,10 +12467,6 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12296
12467
|
// http bearer authentication required
|
|
12297
12468
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12298
12469
|
|
|
12299
|
-
if (id !== undefined) {
|
|
12300
|
-
localVarQueryParameter['id'] = id;
|
|
12301
|
-
}
|
|
12302
|
-
|
|
12303
12470
|
|
|
12304
12471
|
|
|
12305
12472
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -12703,6 +12870,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12703
12870
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindByIdBusinessStaff']?.[localVarOperationServerIndex]?.url;
|
|
12704
12871
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12705
12872
|
},
|
|
12873
|
+
/**
|
|
12874
|
+
*
|
|
12875
|
+
* @param {FindBusinessStaff} findBusinessStaff
|
|
12876
|
+
* @param {*} [options] Override http request option.
|
|
12877
|
+
* @throws {RequiredError}
|
|
12878
|
+
*/
|
|
12879
|
+
async businessStaffControllerFindVenueStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffsResponseDTO>> {
|
|
12880
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerFindVenueStaffs(findBusinessStaff, options);
|
|
12881
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12882
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindVenueStaffs']?.[localVarOperationServerIndex]?.url;
|
|
12883
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12884
|
+
},
|
|
12706
12885
|
/**
|
|
12707
12886
|
*
|
|
12708
12887
|
* @param {BusinessStaffDTO} businessStaffDTO
|
|
@@ -12764,6 +12943,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12764
12943
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerFindFriendsFavoriteBusinessVenueList']?.[localVarOperationServerIndex]?.url;
|
|
12765
12944
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12766
12945
|
},
|
|
12946
|
+
/**
|
|
12947
|
+
*
|
|
12948
|
+
* @param {GetAllVenueDto} getAllVenueDto
|
|
12949
|
+
* @param {*} [options] Override http request option.
|
|
12950
|
+
* @throws {RequiredError}
|
|
12951
|
+
*/
|
|
12952
|
+
async businessTypeControllerGetAllVenue(getAllVenueDto: GetAllVenueDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
|
|
12953
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetAllVenue(getAllVenueDto, options);
|
|
12954
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12955
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetAllVenue']?.[localVarOperationServerIndex]?.url;
|
|
12956
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12957
|
+
},
|
|
12767
12958
|
/**
|
|
12768
12959
|
*
|
|
12769
12960
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -12776,6 +12967,30 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12776
12967
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
12777
12968
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12778
12969
|
},
|
|
12970
|
+
/**
|
|
12971
|
+
*
|
|
12972
|
+
* @param {string} id
|
|
12973
|
+
* @param {*} [options] Override http request option.
|
|
12974
|
+
* @throws {RequiredError}
|
|
12975
|
+
*/
|
|
12976
|
+
async businessTypeControllerGetFavoriteVenueCount(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoriteResponseDTO>> {
|
|
12977
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetFavoriteVenueCount(id, options);
|
|
12978
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12979
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetFavoriteVenueCount']?.[localVarOperationServerIndex]?.url;
|
|
12980
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12981
|
+
},
|
|
12982
|
+
/**
|
|
12983
|
+
*
|
|
12984
|
+
* @param {string} id
|
|
12985
|
+
* @param {*} [options] Override http request option.
|
|
12986
|
+
* @throws {RequiredError}
|
|
12987
|
+
*/
|
|
12988
|
+
async businessTypeControllerGetVenueById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<VenueResponseDTO>> {
|
|
12989
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetVenueById(id, options);
|
|
12990
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12991
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetVenueById']?.[localVarOperationServerIndex]?.url;
|
|
12992
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12993
|
+
},
|
|
12779
12994
|
/**
|
|
12780
12995
|
*
|
|
12781
12996
|
* @param {*} [options] Override http request option.
|
|
@@ -12789,12 +13004,11 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12789
13004
|
},
|
|
12790
13005
|
/**
|
|
12791
13006
|
*
|
|
12792
|
-
* @param {string} [id] Unique identifier for the category
|
|
12793
13007
|
* @param {*} [options] Override http request option.
|
|
12794
13008
|
* @throws {RequiredError}
|
|
12795
13009
|
*/
|
|
12796
|
-
async businessTypeControllerListAllCategories(
|
|
12797
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListAllCategories(
|
|
13010
|
+
async businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
13011
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListAllCategories(options);
|
|
12798
13012
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12799
13013
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListAllCategories']?.[localVarOperationServerIndex]?.url;
|
|
12800
13014
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -12973,6 +13187,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
12973
13187
|
businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
|
|
12974
13188
|
return localVarFp.businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(axios, basePath));
|
|
12975
13189
|
},
|
|
13190
|
+
/**
|
|
13191
|
+
*
|
|
13192
|
+
* @param {FindBusinessStaff} findBusinessStaff
|
|
13193
|
+
* @param {*} [options] Override http request option.
|
|
13194
|
+
* @throws {RequiredError}
|
|
13195
|
+
*/
|
|
13196
|
+
businessStaffControllerFindVenueStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffsResponseDTO> {
|
|
13197
|
+
return localVarFp.businessStaffControllerFindVenueStaffs(findBusinessStaff, options).then((request) => request(axios, basePath));
|
|
13198
|
+
},
|
|
12976
13199
|
/**
|
|
12977
13200
|
*
|
|
12978
13201
|
* @param {BusinessStaffDTO} businessStaffDTO
|
|
@@ -13019,6 +13242,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
13019
13242
|
businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteListResponseDTO> {
|
|
13020
13243
|
return localVarFp.businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(axios, basePath));
|
|
13021
13244
|
},
|
|
13245
|
+
/**
|
|
13246
|
+
*
|
|
13247
|
+
* @param {GetAllVenueDto} getAllVenueDto
|
|
13248
|
+
* @param {*} [options] Override http request option.
|
|
13249
|
+
* @throws {RequiredError}
|
|
13250
|
+
*/
|
|
13251
|
+
businessTypeControllerGetAllVenue(getAllVenueDto: GetAllVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
13252
|
+
return localVarFp.businessTypeControllerGetAllVenue(getAllVenueDto, options).then((request) => request(axios, basePath));
|
|
13253
|
+
},
|
|
13022
13254
|
/**
|
|
13023
13255
|
*
|
|
13024
13256
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -13028,6 +13260,24 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
13028
13260
|
businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
13029
13261
|
return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
|
|
13030
13262
|
},
|
|
13263
|
+
/**
|
|
13264
|
+
*
|
|
13265
|
+
* @param {string} id
|
|
13266
|
+
* @param {*} [options] Override http request option.
|
|
13267
|
+
* @throws {RequiredError}
|
|
13268
|
+
*/
|
|
13269
|
+
businessTypeControllerGetFavoriteVenueCount(id: string, options?: RawAxiosRequestConfig): AxiosPromise<FavoriteResponseDTO> {
|
|
13270
|
+
return localVarFp.businessTypeControllerGetFavoriteVenueCount(id, options).then((request) => request(axios, basePath));
|
|
13271
|
+
},
|
|
13272
|
+
/**
|
|
13273
|
+
*
|
|
13274
|
+
* @param {string} id
|
|
13275
|
+
* @param {*} [options] Override http request option.
|
|
13276
|
+
* @throws {RequiredError}
|
|
13277
|
+
*/
|
|
13278
|
+
businessTypeControllerGetVenueById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<VenueResponseDTO> {
|
|
13279
|
+
return localVarFp.businessTypeControllerGetVenueById(id, options).then((request) => request(axios, basePath));
|
|
13280
|
+
},
|
|
13031
13281
|
/**
|
|
13032
13282
|
*
|
|
13033
13283
|
* @param {*} [options] Override http request option.
|
|
@@ -13038,12 +13288,11 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
13038
13288
|
},
|
|
13039
13289
|
/**
|
|
13040
13290
|
*
|
|
13041
|
-
* @param {string} [id] Unique identifier for the category
|
|
13042
13291
|
* @param {*} [options] Override http request option.
|
|
13043
13292
|
* @throws {RequiredError}
|
|
13044
13293
|
*/
|
|
13045
|
-
businessTypeControllerListAllCategories(
|
|
13046
|
-
return localVarFp.businessTypeControllerListAllCategories(
|
|
13294
|
+
businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
13295
|
+
return localVarFp.businessTypeControllerListAllCategories(options).then((request) => request(axios, basePath));
|
|
13047
13296
|
},
|
|
13048
13297
|
/**
|
|
13049
13298
|
*
|
|
@@ -13211,6 +13460,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
13211
13460
|
return BusinessApiFp(this.configuration).businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(this.axios, this.basePath));
|
|
13212
13461
|
}
|
|
13213
13462
|
|
|
13463
|
+
/**
|
|
13464
|
+
*
|
|
13465
|
+
* @param {FindBusinessStaff} findBusinessStaff
|
|
13466
|
+
* @param {*} [options] Override http request option.
|
|
13467
|
+
* @throws {RequiredError}
|
|
13468
|
+
* @memberof BusinessApi
|
|
13469
|
+
*/
|
|
13470
|
+
public businessStaffControllerFindVenueStaffs(findBusinessStaff: FindBusinessStaff, options?: RawAxiosRequestConfig) {
|
|
13471
|
+
return BusinessApiFp(this.configuration).businessStaffControllerFindVenueStaffs(findBusinessStaff, options).then((request) => request(this.axios, this.basePath));
|
|
13472
|
+
}
|
|
13473
|
+
|
|
13214
13474
|
/**
|
|
13215
13475
|
*
|
|
13216
13476
|
* @param {BusinessStaffDTO} businessStaffDTO
|
|
@@ -13267,6 +13527,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
13267
13527
|
return BusinessApiFp(this.configuration).businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(this.axios, this.basePath));
|
|
13268
13528
|
}
|
|
13269
13529
|
|
|
13530
|
+
/**
|
|
13531
|
+
*
|
|
13532
|
+
* @param {GetAllVenueDto} getAllVenueDto
|
|
13533
|
+
* @param {*} [options] Override http request option.
|
|
13534
|
+
* @throws {RequiredError}
|
|
13535
|
+
* @memberof BusinessApi
|
|
13536
|
+
*/
|
|
13537
|
+
public businessTypeControllerGetAllVenue(getAllVenueDto: GetAllVenueDto, options?: RawAxiosRequestConfig) {
|
|
13538
|
+
return BusinessApiFp(this.configuration).businessTypeControllerGetAllVenue(getAllVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
13539
|
+
}
|
|
13540
|
+
|
|
13270
13541
|
/**
|
|
13271
13542
|
*
|
|
13272
13543
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -13278,6 +13549,28 @@ export class BusinessApi extends BaseAPI {
|
|
|
13278
13549
|
return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
13279
13550
|
}
|
|
13280
13551
|
|
|
13552
|
+
/**
|
|
13553
|
+
*
|
|
13554
|
+
* @param {string} id
|
|
13555
|
+
* @param {*} [options] Override http request option.
|
|
13556
|
+
* @throws {RequiredError}
|
|
13557
|
+
* @memberof BusinessApi
|
|
13558
|
+
*/
|
|
13559
|
+
public businessTypeControllerGetFavoriteVenueCount(id: string, options?: RawAxiosRequestConfig) {
|
|
13560
|
+
return BusinessApiFp(this.configuration).businessTypeControllerGetFavoriteVenueCount(id, options).then((request) => request(this.axios, this.basePath));
|
|
13561
|
+
}
|
|
13562
|
+
|
|
13563
|
+
/**
|
|
13564
|
+
*
|
|
13565
|
+
* @param {string} id
|
|
13566
|
+
* @param {*} [options] Override http request option.
|
|
13567
|
+
* @throws {RequiredError}
|
|
13568
|
+
* @memberof BusinessApi
|
|
13569
|
+
*/
|
|
13570
|
+
public businessTypeControllerGetVenueById(id: string, options?: RawAxiosRequestConfig) {
|
|
13571
|
+
return BusinessApiFp(this.configuration).businessTypeControllerGetVenueById(id, options).then((request) => request(this.axios, this.basePath));
|
|
13572
|
+
}
|
|
13573
|
+
|
|
13281
13574
|
/**
|
|
13282
13575
|
*
|
|
13283
13576
|
* @param {*} [options] Override http request option.
|
|
@@ -13290,13 +13583,12 @@ export class BusinessApi extends BaseAPI {
|
|
|
13290
13583
|
|
|
13291
13584
|
/**
|
|
13292
13585
|
*
|
|
13293
|
-
* @param {string} [id] Unique identifier for the category
|
|
13294
13586
|
* @param {*} [options] Override http request option.
|
|
13295
13587
|
* @throws {RequiredError}
|
|
13296
13588
|
* @memberof BusinessApi
|
|
13297
13589
|
*/
|
|
13298
|
-
public businessTypeControllerListAllCategories(
|
|
13299
|
-
return BusinessApiFp(this.configuration).businessTypeControllerListAllCategories(
|
|
13590
|
+
public businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig) {
|
|
13591
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListAllCategories(options).then((request) => request(this.axios, this.basePath));
|
|
13300
13592
|
}
|
|
13301
13593
|
|
|
13302
13594
|
/**
|
|
@@ -18023,6 +18315,10 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
18023
18315
|
const localVarHeaderParameter = {} as any;
|
|
18024
18316
|
const localVarQueryParameter = {} as any;
|
|
18025
18317
|
|
|
18318
|
+
// authentication bearer required
|
|
18319
|
+
// http bearer authentication required
|
|
18320
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18321
|
+
|
|
18026
18322
|
|
|
18027
18323
|
|
|
18028
18324
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -18159,14 +18455,15 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
18159
18455
|
},
|
|
18160
18456
|
/**
|
|
18161
18457
|
*
|
|
18162
|
-
* @param {
|
|
18458
|
+
* @param {string} id
|
|
18163
18459
|
* @param {*} [options] Override http request option.
|
|
18164
18460
|
* @throws {RequiredError}
|
|
18165
18461
|
*/
|
|
18166
|
-
|
|
18167
|
-
// verify required parameter '
|
|
18168
|
-
assertParamExists('
|
|
18169
|
-
const localVarPath = `/v1/payment/
|
|
18462
|
+
paymentControllerServiceById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18463
|
+
// verify required parameter 'id' is not null or undefined
|
|
18464
|
+
assertParamExists('paymentControllerServiceById', 'id', id)
|
|
18465
|
+
const localVarPath = `/v1/payment/stripe-plan/{id}`
|
|
18466
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
18170
18467
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18171
18468
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18172
18469
|
let baseOptions;
|
|
@@ -18174,22 +18471,15 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
18174
18471
|
baseOptions = configuration.baseOptions;
|
|
18175
18472
|
}
|
|
18176
18473
|
|
|
18177
|
-
const localVarRequestOptions = { method: '
|
|
18474
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
18178
18475
|
const localVarHeaderParameter = {} as any;
|
|
18179
18476
|
const localVarQueryParameter = {} as any;
|
|
18180
18477
|
|
|
18181
|
-
// authentication bearer required
|
|
18182
|
-
// http bearer authentication required
|
|
18183
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18184
|
-
|
|
18185
18478
|
|
|
18186
18479
|
|
|
18187
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18188
|
-
|
|
18189
18480
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18190
18481
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18191
18482
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18192
|
-
localVarRequestOptions.data = serializeDataIfNeeded(bookingPaymentPayloadDTO, localVarRequestOptions, configuration)
|
|
18193
18483
|
|
|
18194
18484
|
return {
|
|
18195
18485
|
url: toPathString(localVarUrlObj),
|
|
@@ -18198,13 +18488,52 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
18198
18488
|
},
|
|
18199
18489
|
/**
|
|
18200
18490
|
*
|
|
18201
|
-
* @param {
|
|
18491
|
+
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
18202
18492
|
* @param {*} [options] Override http request option.
|
|
18203
18493
|
* @throws {RequiredError}
|
|
18204
18494
|
*/
|
|
18205
|
-
|
|
18206
|
-
// verify required parameter '
|
|
18207
|
-
assertParamExists('
|
|
18495
|
+
paymentControllerSetupBookingPayment: async (bookingPaymentPayloadDTO: BookingPaymentPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18496
|
+
// verify required parameter 'bookingPaymentPayloadDTO' is not null or undefined
|
|
18497
|
+
assertParamExists('paymentControllerSetupBookingPayment', 'bookingPaymentPayloadDTO', bookingPaymentPayloadDTO)
|
|
18498
|
+
const localVarPath = `/v1/payment/booking`;
|
|
18499
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18500
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18501
|
+
let baseOptions;
|
|
18502
|
+
if (configuration) {
|
|
18503
|
+
baseOptions = configuration.baseOptions;
|
|
18504
|
+
}
|
|
18505
|
+
|
|
18506
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18507
|
+
const localVarHeaderParameter = {} as any;
|
|
18508
|
+
const localVarQueryParameter = {} as any;
|
|
18509
|
+
|
|
18510
|
+
// authentication bearer required
|
|
18511
|
+
// http bearer authentication required
|
|
18512
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18513
|
+
|
|
18514
|
+
|
|
18515
|
+
|
|
18516
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18517
|
+
|
|
18518
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18519
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18520
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18521
|
+
localVarRequestOptions.data = serializeDataIfNeeded(bookingPaymentPayloadDTO, localVarRequestOptions, configuration)
|
|
18522
|
+
|
|
18523
|
+
return {
|
|
18524
|
+
url: toPathString(localVarUrlObj),
|
|
18525
|
+
options: localVarRequestOptions,
|
|
18526
|
+
};
|
|
18527
|
+
},
|
|
18528
|
+
/**
|
|
18529
|
+
*
|
|
18530
|
+
* @param {string} stripeSignature
|
|
18531
|
+
* @param {*} [options] Override http request option.
|
|
18532
|
+
* @throws {RequiredError}
|
|
18533
|
+
*/
|
|
18534
|
+
paymentControllerStripeWebhook: async (stripeSignature: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18535
|
+
// verify required parameter 'stripeSignature' is not null or undefined
|
|
18536
|
+
assertParamExists('paymentControllerStripeWebhook', 'stripeSignature', stripeSignature)
|
|
18208
18537
|
const localVarPath = `/v1/payment/stripe-webhook`;
|
|
18209
18538
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18210
18539
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -18319,6 +18648,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
18319
18648
|
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
|
|
18320
18649
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18321
18650
|
},
|
|
18651
|
+
/**
|
|
18652
|
+
*
|
|
18653
|
+
* @param {string} id
|
|
18654
|
+
* @param {*} [options] Override http request option.
|
|
18655
|
+
* @throws {RequiredError}
|
|
18656
|
+
*/
|
|
18657
|
+
async paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductResponseDTO>> {
|
|
18658
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerServiceById(id, options);
|
|
18659
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18660
|
+
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerServiceById']?.[localVarOperationServerIndex]?.url;
|
|
18661
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18662
|
+
},
|
|
18322
18663
|
/**
|
|
18323
18664
|
*
|
|
18324
18665
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -18410,6 +18751,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
18410
18751
|
paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18411
18752
|
return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
|
|
18412
18753
|
},
|
|
18754
|
+
/**
|
|
18755
|
+
*
|
|
18756
|
+
* @param {string} id
|
|
18757
|
+
* @param {*} [options] Override http request option.
|
|
18758
|
+
* @throws {RequiredError}
|
|
18759
|
+
*/
|
|
18760
|
+
paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductResponseDTO> {
|
|
18761
|
+
return localVarFp.paymentControllerServiceById(id, options).then((request) => request(axios, basePath));
|
|
18762
|
+
},
|
|
18413
18763
|
/**
|
|
18414
18764
|
*
|
|
18415
18765
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -18509,6 +18859,17 @@ export class PlansApi extends BaseAPI {
|
|
|
18509
18859
|
return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
|
|
18510
18860
|
}
|
|
18511
18861
|
|
|
18862
|
+
/**
|
|
18863
|
+
*
|
|
18864
|
+
* @param {string} id
|
|
18865
|
+
* @param {*} [options] Override http request option.
|
|
18866
|
+
* @throws {RequiredError}
|
|
18867
|
+
* @memberof PlansApi
|
|
18868
|
+
*/
|
|
18869
|
+
public paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig) {
|
|
18870
|
+
return PlansApiFp(this.configuration).paymentControllerServiceById(id, options).then((request) => request(this.axios, this.basePath));
|
|
18871
|
+
}
|
|
18872
|
+
|
|
18512
18873
|
/**
|
|
18513
18874
|
*
|
|
18514
18875
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -18715,6 +19076,41 @@ export const PrepaidServiceApiAxiosParamCreator = function (configuration?: Conf
|
|
|
18715
19076
|
|
|
18716
19077
|
|
|
18717
19078
|
|
|
19079
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19080
|
+
|
|
19081
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19082
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19083
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
19084
|
+
localVarRequestOptions.data = serializeDataIfNeeded(prepaidServiceFindDTO, localVarRequestOptions, configuration)
|
|
19085
|
+
|
|
19086
|
+
return {
|
|
19087
|
+
url: toPathString(localVarUrlObj),
|
|
19088
|
+
options: localVarRequestOptions,
|
|
19089
|
+
};
|
|
19090
|
+
},
|
|
19091
|
+
/**
|
|
19092
|
+
*
|
|
19093
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
19094
|
+
* @param {*} [options] Override http request option.
|
|
19095
|
+
* @throws {RequiredError}
|
|
19096
|
+
*/
|
|
19097
|
+
prepaidServiceControllerFindServiceByVenue: async (prepaidServiceFindDTO: PrepaidServiceFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
19098
|
+
// verify required parameter 'prepaidServiceFindDTO' is not null or undefined
|
|
19099
|
+
assertParamExists('prepaidServiceControllerFindServiceByVenue', 'prepaidServiceFindDTO', prepaidServiceFindDTO)
|
|
19100
|
+
const localVarPath = `/v1/prepaid-service/public-list`;
|
|
19101
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19102
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19103
|
+
let baseOptions;
|
|
19104
|
+
if (configuration) {
|
|
19105
|
+
baseOptions = configuration.baseOptions;
|
|
19106
|
+
}
|
|
19107
|
+
|
|
19108
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
19109
|
+
const localVarHeaderParameter = {} as any;
|
|
19110
|
+
const localVarQueryParameter = {} as any;
|
|
19111
|
+
|
|
19112
|
+
|
|
19113
|
+
|
|
18718
19114
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18719
19115
|
|
|
18720
19116
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -18915,6 +19311,18 @@ export const PrepaidServiceApiFp = function(configuration?: Configuration) {
|
|
|
18915
19311
|
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerFindService']?.[localVarOperationServerIndex]?.url;
|
|
18916
19312
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18917
19313
|
},
|
|
19314
|
+
/**
|
|
19315
|
+
*
|
|
19316
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
19317
|
+
* @param {*} [options] Override http request option.
|
|
19318
|
+
* @throws {RequiredError}
|
|
19319
|
+
*/
|
|
19320
|
+
async prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrepaidServiceResponseDTO>> {
|
|
19321
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO, options);
|
|
19322
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19323
|
+
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerFindServiceByVenue']?.[localVarOperationServerIndex]?.url;
|
|
19324
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19325
|
+
},
|
|
18918
19326
|
/**
|
|
18919
19327
|
*
|
|
18920
19328
|
* @param {PrepaidServiceAvailabilityPayloadDTO} prepaidServiceAvailabilityPayloadDTO
|
|
@@ -19006,6 +19414,15 @@ export const PrepaidServiceApiFactory = function (configuration?: Configuration,
|
|
|
19006
19414
|
prepaidServiceControllerFindService(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceResponseDTO> {
|
|
19007
19415
|
return localVarFp.prepaidServiceControllerFindService(prepaidServiceFindDTO, options).then((request) => request(axios, basePath));
|
|
19008
19416
|
},
|
|
19417
|
+
/**
|
|
19418
|
+
*
|
|
19419
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
19420
|
+
* @param {*} [options] Override http request option.
|
|
19421
|
+
* @throws {RequiredError}
|
|
19422
|
+
*/
|
|
19423
|
+
prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceResponseDTO> {
|
|
19424
|
+
return localVarFp.prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO, options).then((request) => request(axios, basePath));
|
|
19425
|
+
},
|
|
19009
19426
|
/**
|
|
19010
19427
|
*
|
|
19011
19428
|
* @param {PrepaidServiceAvailabilityPayloadDTO} prepaidServiceAvailabilityPayloadDTO
|
|
@@ -19098,6 +19515,17 @@ export class PrepaidServiceApi extends BaseAPI {
|
|
|
19098
19515
|
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerFindService(prepaidServiceFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19099
19516
|
}
|
|
19100
19517
|
|
|
19518
|
+
/**
|
|
19519
|
+
*
|
|
19520
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
19521
|
+
* @param {*} [options] Override http request option.
|
|
19522
|
+
* @throws {RequiredError}
|
|
19523
|
+
* @memberof PrepaidServiceApi
|
|
19524
|
+
*/
|
|
19525
|
+
public prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig) {
|
|
19526
|
+
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerFindServiceByVenue(prepaidServiceFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
19527
|
+
}
|
|
19528
|
+
|
|
19101
19529
|
/**
|
|
19102
19530
|
*
|
|
19103
19531
|
* @param {PrepaidServiceAvailabilityPayloadDTO} prepaidServiceAvailabilityPayloadDTO
|
|
@@ -22024,45 +22452,6 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22024
22452
|
options: localVarRequestOptions,
|
|
22025
22453
|
};
|
|
22026
22454
|
},
|
|
22027
|
-
/**
|
|
22028
|
-
*
|
|
22029
|
-
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
22030
|
-
* @param {*} [options] Override http request option.
|
|
22031
|
-
* @throws {RequiredError}
|
|
22032
|
-
*/
|
|
22033
|
-
whatsOnControllerFindCategoryBaseWhatsOn: async (whatsOnFindDTO: WhatsOnFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22034
|
-
// verify required parameter 'whatsOnFindDTO' is not null or undefined
|
|
22035
|
-
assertParamExists('whatsOnControllerFindCategoryBaseWhatsOn', 'whatsOnFindDTO', whatsOnFindDTO)
|
|
22036
|
-
const localVarPath = `/v1/whats-on/categories/list`;
|
|
22037
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22038
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22039
|
-
let baseOptions;
|
|
22040
|
-
if (configuration) {
|
|
22041
|
-
baseOptions = configuration.baseOptions;
|
|
22042
|
-
}
|
|
22043
|
-
|
|
22044
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
22045
|
-
const localVarHeaderParameter = {} as any;
|
|
22046
|
-
const localVarQueryParameter = {} as any;
|
|
22047
|
-
|
|
22048
|
-
// authentication bearer required
|
|
22049
|
-
// http bearer authentication required
|
|
22050
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22051
|
-
|
|
22052
|
-
|
|
22053
|
-
|
|
22054
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22055
|
-
|
|
22056
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22057
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22058
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22059
|
-
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnFindDTO, localVarRequestOptions, configuration)
|
|
22060
|
-
|
|
22061
|
-
return {
|
|
22062
|
-
url: toPathString(localVarUrlObj),
|
|
22063
|
-
options: localVarRequestOptions,
|
|
22064
|
-
};
|
|
22065
|
-
},
|
|
22066
22455
|
/**
|
|
22067
22456
|
*
|
|
22068
22457
|
* @param {string} id
|
|
@@ -22104,11 +22493,10 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22104
22493
|
*
|
|
22105
22494
|
* @param {number} page
|
|
22106
22495
|
* @param {number} limit
|
|
22107
|
-
* @param {string} [category]
|
|
22108
22496
|
* @param {*} [options] Override http request option.
|
|
22109
22497
|
* @throws {RequiredError}
|
|
22110
22498
|
*/
|
|
22111
|
-
whatsOnControllerFindFavoriteWhatsOnList: async (page: number, limit: number,
|
|
22499
|
+
whatsOnControllerFindFavoriteWhatsOnList: async (page: number, limit: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22112
22500
|
// verify required parameter 'page' is not null or undefined
|
|
22113
22501
|
assertParamExists('whatsOnControllerFindFavoriteWhatsOnList', 'page', page)
|
|
22114
22502
|
// verify required parameter 'limit' is not null or undefined
|
|
@@ -22137,10 +22525,6 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22137
22525
|
localVarQueryParameter['limit'] = limit;
|
|
22138
22526
|
}
|
|
22139
22527
|
|
|
22140
|
-
if (category !== undefined) {
|
|
22141
|
-
localVarQueryParameter['category'] = category;
|
|
22142
|
-
}
|
|
22143
|
-
|
|
22144
22528
|
|
|
22145
22529
|
|
|
22146
22530
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -22154,18 +22538,14 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22154
22538
|
},
|
|
22155
22539
|
/**
|
|
22156
22540
|
*
|
|
22157
|
-
* @param {
|
|
22158
|
-
* @param {number} limit
|
|
22159
|
-
* @param {string} [category]
|
|
22541
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
22160
22542
|
* @param {*} [options] Override http request option.
|
|
22161
22543
|
* @throws {RequiredError}
|
|
22162
22544
|
*/
|
|
22163
|
-
|
|
22164
|
-
// verify required parameter '
|
|
22165
|
-
assertParamExists('
|
|
22166
|
-
|
|
22167
|
-
assertParamExists('whatsOnControllerFindMyFavoriteWhatsOnList', 'limit', limit)
|
|
22168
|
-
const localVarPath = `/v1/whats-on/myfavorite`;
|
|
22545
|
+
whatsOnControllerFindWhatsOn: async (whatsOnFindDTO: WhatsOnFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22546
|
+
// verify required parameter 'whatsOnFindDTO' is not null or undefined
|
|
22547
|
+
assertParamExists('whatsOnControllerFindWhatsOn', 'whatsOnFindDTO', whatsOnFindDTO)
|
|
22548
|
+
const localVarPath = `/v1/whats-on/list`;
|
|
22169
22549
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22170
22550
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22171
22551
|
let baseOptions;
|
|
@@ -22173,7 +22553,7 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22173
22553
|
baseOptions = configuration.baseOptions;
|
|
22174
22554
|
}
|
|
22175
22555
|
|
|
22176
|
-
const localVarRequestOptions = { method: '
|
|
22556
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
22177
22557
|
const localVarHeaderParameter = {} as any;
|
|
22178
22558
|
const localVarQueryParameter = {} as any;
|
|
22179
22559
|
|
|
@@ -22181,23 +22561,14 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22181
22561
|
// http bearer authentication required
|
|
22182
22562
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22183
22563
|
|
|
22184
|
-
if (page !== undefined) {
|
|
22185
|
-
localVarQueryParameter['page'] = page;
|
|
22186
|
-
}
|
|
22187
|
-
|
|
22188
|
-
if (limit !== undefined) {
|
|
22189
|
-
localVarQueryParameter['limit'] = limit;
|
|
22190
|
-
}
|
|
22191
|
-
|
|
22192
|
-
if (category !== undefined) {
|
|
22193
|
-
localVarQueryParameter['category'] = category;
|
|
22194
|
-
}
|
|
22195
|
-
|
|
22196
22564
|
|
|
22197
22565
|
|
|
22566
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22567
|
+
|
|
22198
22568
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22199
22569
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22200
22570
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22571
|
+
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnFindDTO, localVarRequestOptions, configuration)
|
|
22201
22572
|
|
|
22202
22573
|
return {
|
|
22203
22574
|
url: toPathString(localVarUrlObj),
|
|
@@ -22206,14 +22577,15 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22206
22577
|
},
|
|
22207
22578
|
/**
|
|
22208
22579
|
*
|
|
22209
|
-
* @param {
|
|
22580
|
+
* @param {string} id
|
|
22210
22581
|
* @param {*} [options] Override http request option.
|
|
22211
22582
|
* @throws {RequiredError}
|
|
22212
22583
|
*/
|
|
22213
|
-
|
|
22214
|
-
// verify required parameter '
|
|
22215
|
-
assertParamExists('
|
|
22216
|
-
const localVarPath = `/v1/whats-on/
|
|
22584
|
+
whatsOnControllerFindWhatsOnById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22585
|
+
// verify required parameter 'id' is not null or undefined
|
|
22586
|
+
assertParamExists('whatsOnControllerFindWhatsOnById', 'id', id)
|
|
22587
|
+
const localVarPath = `/v1/whats-on/favorite/{id}`
|
|
22588
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
22217
22589
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22218
22590
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22219
22591
|
let baseOptions;
|
|
@@ -22221,7 +22593,7 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22221
22593
|
baseOptions = configuration.baseOptions;
|
|
22222
22594
|
}
|
|
22223
22595
|
|
|
22224
|
-
const localVarRequestOptions = { method: '
|
|
22596
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
22225
22597
|
const localVarHeaderParameter = {} as any;
|
|
22226
22598
|
const localVarQueryParameter = {} as any;
|
|
22227
22599
|
|
|
@@ -22231,12 +22603,9 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22231
22603
|
|
|
22232
22604
|
|
|
22233
22605
|
|
|
22234
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22235
|
-
|
|
22236
22606
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22237
22607
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22238
22608
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22239
|
-
localVarRequestOptions.data = serializeDataIfNeeded(whatsOnFindDTO, localVarRequestOptions, configuration)
|
|
22240
22609
|
|
|
22241
22610
|
return {
|
|
22242
22611
|
url: toPathString(localVarUrlObj),
|
|
@@ -22245,15 +22614,14 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22245
22614
|
},
|
|
22246
22615
|
/**
|
|
22247
22616
|
*
|
|
22248
|
-
* @param {
|
|
22617
|
+
* @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
|
|
22249
22618
|
* @param {*} [options] Override http request option.
|
|
22250
22619
|
* @throws {RequiredError}
|
|
22251
22620
|
*/
|
|
22252
|
-
|
|
22253
|
-
// verify required parameter '
|
|
22254
|
-
assertParamExists('
|
|
22255
|
-
const localVarPath = `/v1/whats-on/
|
|
22256
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
22621
|
+
whatsOnControllerGetAllWhatsOn: async (getAllWhatsOnDTO: GetAllWhatsOnDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22622
|
+
// verify required parameter 'getAllWhatsOnDTO' is not null or undefined
|
|
22623
|
+
assertParamExists('whatsOnControllerGetAllWhatsOn', 'getAllWhatsOnDTO', getAllWhatsOnDTO)
|
|
22624
|
+
const localVarPath = `/v1/whats-on/public-list`;
|
|
22257
22625
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22258
22626
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
22259
22627
|
let baseOptions;
|
|
@@ -22261,19 +22629,18 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22261
22629
|
baseOptions = configuration.baseOptions;
|
|
22262
22630
|
}
|
|
22263
22631
|
|
|
22264
|
-
const localVarRequestOptions = { method: '
|
|
22632
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
22265
22633
|
const localVarHeaderParameter = {} as any;
|
|
22266
22634
|
const localVarQueryParameter = {} as any;
|
|
22267
22635
|
|
|
22268
|
-
// authentication bearer required
|
|
22269
|
-
// http bearer authentication required
|
|
22270
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22271
|
-
|
|
22272
22636
|
|
|
22273
22637
|
|
|
22638
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
22639
|
+
|
|
22274
22640
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
22275
22641
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
22276
22642
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
22643
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getAllWhatsOnDTO, localVarRequestOptions, configuration)
|
|
22277
22644
|
|
|
22278
22645
|
return {
|
|
22279
22646
|
url: toPathString(localVarUrlObj),
|
|
@@ -22354,11 +22721,10 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22354
22721
|
},
|
|
22355
22722
|
/**
|
|
22356
22723
|
*
|
|
22357
|
-
* @param {string} [businessType]
|
|
22358
22724
|
* @param {*} [options] Override http request option.
|
|
22359
22725
|
* @throws {RequiredError}
|
|
22360
22726
|
*/
|
|
22361
|
-
whatsOnControllerSponsored: async (
|
|
22727
|
+
whatsOnControllerSponsored: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22362
22728
|
const localVarPath = `/v1/whats-on/sponsored`;
|
|
22363
22729
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
22364
22730
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -22375,10 +22741,6 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22375
22741
|
// http bearer authentication required
|
|
22376
22742
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22377
22743
|
|
|
22378
|
-
if (businessType !== undefined) {
|
|
22379
|
-
localVarQueryParameter['businessType'] = businessType;
|
|
22380
|
-
}
|
|
22381
|
-
|
|
22382
22744
|
|
|
22383
22745
|
|
|
22384
22746
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -22594,18 +22956,6 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
22594
22956
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerDiscountCodeApply']?.[localVarOperationServerIndex]?.url;
|
|
22595
22957
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22596
22958
|
},
|
|
22597
|
-
/**
|
|
22598
|
-
*
|
|
22599
|
-
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
22600
|
-
* @param {*} [options] Override http request option.
|
|
22601
|
-
* @throws {RequiredError}
|
|
22602
|
-
*/
|
|
22603
|
-
async whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
22604
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO, options);
|
|
22605
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22606
|
-
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindCategoryBaseWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
22607
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22608
|
-
},
|
|
22609
22959
|
/**
|
|
22610
22960
|
*
|
|
22611
22961
|
* @param {string} id
|
|
@@ -22622,30 +22972,15 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
22622
22972
|
*
|
|
22623
22973
|
* @param {number} page
|
|
22624
22974
|
* @param {number} limit
|
|
22625
|
-
* @param {string} [category]
|
|
22626
22975
|
* @param {*} [options] Override http request option.
|
|
22627
22976
|
* @throws {RequiredError}
|
|
22628
22977
|
*/
|
|
22629
|
-
async whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number,
|
|
22630
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindFavoriteWhatsOnList(page, limit,
|
|
22978
|
+
async whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteListResponseDTO>> {
|
|
22979
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindFavoriteWhatsOnList(page, limit, options);
|
|
22631
22980
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22632
22981
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindFavoriteWhatsOnList']?.[localVarOperationServerIndex]?.url;
|
|
22633
22982
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22634
22983
|
},
|
|
22635
|
-
/**
|
|
22636
|
-
*
|
|
22637
|
-
* @param {number} page
|
|
22638
|
-
* @param {number} limit
|
|
22639
|
-
* @param {string} [category]
|
|
22640
|
-
* @param {*} [options] Override http request option.
|
|
22641
|
-
* @throws {RequiredError}
|
|
22642
|
-
*/
|
|
22643
|
-
async whatsOnControllerFindMyFavoriteWhatsOnList(page: number, limit: number, category?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnFavoriteListResponseDTO>> {
|
|
22644
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerFindMyFavoriteWhatsOnList(page, limit, category, options);
|
|
22645
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22646
|
-
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindMyFavoriteWhatsOnList']?.[localVarOperationServerIndex]?.url;
|
|
22647
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22648
|
-
},
|
|
22649
22984
|
/**
|
|
22650
22985
|
*
|
|
22651
22986
|
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
@@ -22670,6 +23005,18 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
22670
23005
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindWhatsOnById']?.[localVarOperationServerIndex]?.url;
|
|
22671
23006
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22672
23007
|
},
|
|
23008
|
+
/**
|
|
23009
|
+
*
|
|
23010
|
+
* @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
|
|
23011
|
+
* @param {*} [options] Override http request option.
|
|
23012
|
+
* @throws {RequiredError}
|
|
23013
|
+
*/
|
|
23014
|
+
async whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO: GetAllWhatsOnDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
23015
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO, options);
|
|
23016
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
23017
|
+
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerGetAllWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
23018
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
23019
|
+
},
|
|
22673
23020
|
/**
|
|
22674
23021
|
*
|
|
22675
23022
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22695,12 +23042,11 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
22695
23042
|
},
|
|
22696
23043
|
/**
|
|
22697
23044
|
*
|
|
22698
|
-
* @param {string} [businessType]
|
|
22699
23045
|
* @param {*} [options] Override http request option.
|
|
22700
23046
|
* @throws {RequiredError}
|
|
22701
23047
|
*/
|
|
22702
|
-
async whatsOnControllerSponsored(
|
|
22703
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerSponsored(
|
|
23048
|
+
async whatsOnControllerSponsored(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
23049
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerSponsored(options);
|
|
22704
23050
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22705
23051
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerSponsored']?.[localVarOperationServerIndex]?.url;
|
|
22706
23052
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -22791,15 +23137,6 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
22791
23137
|
whatsOnControllerDiscountCodeApply(whatsDiscountCodePayloadDTO: WhatsDiscountCodePayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsDiscountCodeResponseDTO> {
|
|
22792
23138
|
return localVarFp.whatsOnControllerDiscountCodeApply(whatsDiscountCodePayloadDTO, options).then((request) => request(axios, basePath));
|
|
22793
23139
|
},
|
|
22794
|
-
/**
|
|
22795
|
-
*
|
|
22796
|
-
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
22797
|
-
* @param {*} [options] Override http request option.
|
|
22798
|
-
* @throws {RequiredError}
|
|
22799
|
-
*/
|
|
22800
|
-
whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
22801
|
-
return localVarFp.whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO, options).then((request) => request(axios, basePath));
|
|
22802
|
-
},
|
|
22803
23140
|
/**
|
|
22804
23141
|
*
|
|
22805
23142
|
* @param {string} id
|
|
@@ -22813,23 +23150,11 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
22813
23150
|
*
|
|
22814
23151
|
* @param {number} page
|
|
22815
23152
|
* @param {number} limit
|
|
22816
|
-
* @param {string} [category]
|
|
22817
|
-
* @param {*} [options] Override http request option.
|
|
22818
|
-
* @throws {RequiredError}
|
|
22819
|
-
*/
|
|
22820
|
-
whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, category?: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteListResponseDTO> {
|
|
22821
|
-
return localVarFp.whatsOnControllerFindFavoriteWhatsOnList(page, limit, category, options).then((request) => request(axios, basePath));
|
|
22822
|
-
},
|
|
22823
|
-
/**
|
|
22824
|
-
*
|
|
22825
|
-
* @param {number} page
|
|
22826
|
-
* @param {number} limit
|
|
22827
|
-
* @param {string} [category]
|
|
22828
23153
|
* @param {*} [options] Override http request option.
|
|
22829
23154
|
* @throws {RequiredError}
|
|
22830
23155
|
*/
|
|
22831
|
-
|
|
22832
|
-
return localVarFp.
|
|
23156
|
+
whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteListResponseDTO> {
|
|
23157
|
+
return localVarFp.whatsOnControllerFindFavoriteWhatsOnList(page, limit, options).then((request) => request(axios, basePath));
|
|
22833
23158
|
},
|
|
22834
23159
|
/**
|
|
22835
23160
|
*
|
|
@@ -22849,6 +23174,15 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
22849
23174
|
whatsOnControllerFindWhatsOnById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteResponseDTO> {
|
|
22850
23175
|
return localVarFp.whatsOnControllerFindWhatsOnById(id, options).then((request) => request(axios, basePath));
|
|
22851
23176
|
},
|
|
23177
|
+
/**
|
|
23178
|
+
*
|
|
23179
|
+
* @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
|
|
23180
|
+
* @param {*} [options] Override http request option.
|
|
23181
|
+
* @throws {RequiredError}
|
|
23182
|
+
*/
|
|
23183
|
+
whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO: GetAllWhatsOnDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
23184
|
+
return localVarFp.whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO, options).then((request) => request(axios, basePath));
|
|
23185
|
+
},
|
|
22852
23186
|
/**
|
|
22853
23187
|
*
|
|
22854
23188
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22868,12 +23202,11 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
22868
23202
|
},
|
|
22869
23203
|
/**
|
|
22870
23204
|
*
|
|
22871
|
-
* @param {string} [businessType]
|
|
22872
23205
|
* @param {*} [options] Override http request option.
|
|
22873
23206
|
* @throws {RequiredError}
|
|
22874
23207
|
*/
|
|
22875
|
-
whatsOnControllerSponsored(
|
|
22876
|
-
return localVarFp.whatsOnControllerSponsored(
|
|
23208
|
+
whatsOnControllerSponsored(options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
23209
|
+
return localVarFp.whatsOnControllerSponsored(options).then((request) => request(axios, basePath));
|
|
22877
23210
|
},
|
|
22878
23211
|
/**
|
|
22879
23212
|
*
|
|
@@ -22955,17 +23288,6 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
22955
23288
|
return WhatsOnApiFp(this.configuration).whatsOnControllerDiscountCodeApply(whatsDiscountCodePayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
22956
23289
|
}
|
|
22957
23290
|
|
|
22958
|
-
/**
|
|
22959
|
-
*
|
|
22960
|
-
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
22961
|
-
* @param {*} [options] Override http request option.
|
|
22962
|
-
* @throws {RequiredError}
|
|
22963
|
-
* @memberof WhatsOnApi
|
|
22964
|
-
*/
|
|
22965
|
-
public whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig) {
|
|
22966
|
-
return WhatsOnApiFp(this.configuration).whatsOnControllerFindCategoryBaseWhatsOn(whatsOnFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
22967
|
-
}
|
|
22968
|
-
|
|
22969
23291
|
/**
|
|
22970
23292
|
*
|
|
22971
23293
|
* @param {string} id
|
|
@@ -22981,48 +23303,45 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
22981
23303
|
*
|
|
22982
23304
|
* @param {number} page
|
|
22983
23305
|
* @param {number} limit
|
|
22984
|
-
* @param {string} [category]
|
|
22985
23306
|
* @param {*} [options] Override http request option.
|
|
22986
23307
|
* @throws {RequiredError}
|
|
22987
23308
|
* @memberof WhatsOnApi
|
|
22988
23309
|
*/
|
|
22989
|
-
public whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number,
|
|
22990
|
-
return WhatsOnApiFp(this.configuration).whatsOnControllerFindFavoriteWhatsOnList(page, limit,
|
|
23310
|
+
public whatsOnControllerFindFavoriteWhatsOnList(page: number, limit: number, options?: RawAxiosRequestConfig) {
|
|
23311
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindFavoriteWhatsOnList(page, limit, options).then((request) => request(this.axios, this.basePath));
|
|
22991
23312
|
}
|
|
22992
23313
|
|
|
22993
23314
|
/**
|
|
22994
23315
|
*
|
|
22995
|
-
* @param {
|
|
22996
|
-
* @param {number} limit
|
|
22997
|
-
* @param {string} [category]
|
|
23316
|
+
* @param {WhatsOnFindDTO} whatsOnFindDTO
|
|
22998
23317
|
* @param {*} [options] Override http request option.
|
|
22999
23318
|
* @throws {RequiredError}
|
|
23000
23319
|
* @memberof WhatsOnApi
|
|
23001
23320
|
*/
|
|
23002
|
-
public
|
|
23003
|
-
return WhatsOnApiFp(this.configuration).
|
|
23321
|
+
public whatsOnControllerFindWhatsOn(whatsOnFindDTO: WhatsOnFindDTO, options?: RawAxiosRequestConfig) {
|
|
23322
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindWhatsOn(whatsOnFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
23004
23323
|
}
|
|
23005
23324
|
|
|
23006
23325
|
/**
|
|
23007
23326
|
*
|
|
23008
|
-
* @param {
|
|
23327
|
+
* @param {string} id
|
|
23009
23328
|
* @param {*} [options] Override http request option.
|
|
23010
23329
|
* @throws {RequiredError}
|
|
23011
23330
|
* @memberof WhatsOnApi
|
|
23012
23331
|
*/
|
|
23013
|
-
public
|
|
23014
|
-
return WhatsOnApiFp(this.configuration).
|
|
23332
|
+
public whatsOnControllerFindWhatsOnById(id: string, options?: RawAxiosRequestConfig) {
|
|
23333
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerFindWhatsOnById(id, options).then((request) => request(this.axios, this.basePath));
|
|
23015
23334
|
}
|
|
23016
23335
|
|
|
23017
23336
|
/**
|
|
23018
23337
|
*
|
|
23019
|
-
* @param {
|
|
23338
|
+
* @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
|
|
23020
23339
|
* @param {*} [options] Override http request option.
|
|
23021
23340
|
* @throws {RequiredError}
|
|
23022
23341
|
* @memberof WhatsOnApi
|
|
23023
23342
|
*/
|
|
23024
|
-
public
|
|
23025
|
-
return WhatsOnApiFp(this.configuration).
|
|
23343
|
+
public whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO: GetAllWhatsOnDTO, options?: RawAxiosRequestConfig) {
|
|
23344
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO, options).then((request) => request(this.axios, this.basePath));
|
|
23026
23345
|
}
|
|
23027
23346
|
|
|
23028
23347
|
/**
|
|
@@ -23048,13 +23367,12 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
23048
23367
|
|
|
23049
23368
|
/**
|
|
23050
23369
|
*
|
|
23051
|
-
* @param {string} [businessType]
|
|
23052
23370
|
* @param {*} [options] Override http request option.
|
|
23053
23371
|
* @throws {RequiredError}
|
|
23054
23372
|
* @memberof WhatsOnApi
|
|
23055
23373
|
*/
|
|
23056
|
-
public whatsOnControllerSponsored(
|
|
23057
|
-
return WhatsOnApiFp(this.configuration).whatsOnControllerSponsored(
|
|
23374
|
+
public whatsOnControllerSponsored(options?: RawAxiosRequestConfig) {
|
|
23375
|
+
return WhatsOnApiFp(this.configuration).whatsOnControllerSponsored(options).then((request) => request(this.axios, this.basePath));
|
|
23058
23376
|
}
|
|
23059
23377
|
|
|
23060
23378
|
/**
|