@gooday_corp/gooday-api-client 1.3.13 → 1.3.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.ts +357 -67
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -424,6 +424,30 @@ export interface BlockoutEntity {
|
|
|
424
424
|
* @memberof BlockoutEntity
|
|
425
425
|
*/
|
|
426
426
|
'pattern'?: string;
|
|
427
|
+
/**
|
|
428
|
+
*
|
|
429
|
+
* @type {string}
|
|
430
|
+
* @memberof BlockoutEntity
|
|
431
|
+
*/
|
|
432
|
+
'byDay'?: string;
|
|
433
|
+
/**
|
|
434
|
+
*
|
|
435
|
+
* @type {string}
|
|
436
|
+
* @memberof BlockoutEntity
|
|
437
|
+
*/
|
|
438
|
+
'byMonthDay'?: string;
|
|
439
|
+
/**
|
|
440
|
+
*
|
|
441
|
+
* @type {string}
|
|
442
|
+
* @memberof BlockoutEntity
|
|
443
|
+
*/
|
|
444
|
+
'byMonth'?: string;
|
|
445
|
+
/**
|
|
446
|
+
*
|
|
447
|
+
* @type {string}
|
|
448
|
+
* @memberof BlockoutEntity
|
|
449
|
+
*/
|
|
450
|
+
'repeatBy'?: string;
|
|
427
451
|
/**
|
|
428
452
|
* Event id
|
|
429
453
|
* @type {string}
|
|
@@ -496,6 +520,30 @@ export interface BlockoutPayloadDTO {
|
|
|
496
520
|
* @memberof BlockoutPayloadDTO
|
|
497
521
|
*/
|
|
498
522
|
'repeat': BlockoutPayloadDTORepeatEnum;
|
|
523
|
+
/**
|
|
524
|
+
*
|
|
525
|
+
* @type {string}
|
|
526
|
+
* @memberof BlockoutPayloadDTO
|
|
527
|
+
*/
|
|
528
|
+
'byDay'?: string;
|
|
529
|
+
/**
|
|
530
|
+
*
|
|
531
|
+
* @type {string}
|
|
532
|
+
* @memberof BlockoutPayloadDTO
|
|
533
|
+
*/
|
|
534
|
+
'byMonthDay'?: string;
|
|
535
|
+
/**
|
|
536
|
+
*
|
|
537
|
+
* @type {string}
|
|
538
|
+
* @memberof BlockoutPayloadDTO
|
|
539
|
+
*/
|
|
540
|
+
'byMonth'?: string;
|
|
541
|
+
/**
|
|
542
|
+
*
|
|
543
|
+
* @type {string}
|
|
544
|
+
* @memberof BlockoutPayloadDTO
|
|
545
|
+
*/
|
|
546
|
+
'repeatBy'?: string;
|
|
499
547
|
/**
|
|
500
548
|
* Name of block
|
|
501
549
|
* @type {string}
|
|
@@ -3069,6 +3117,30 @@ export interface CreateEventPayloadDTO {
|
|
|
3069
3117
|
* @memberof CreateEventPayloadDTO
|
|
3070
3118
|
*/
|
|
3071
3119
|
'repeat': CreateEventPayloadDTORepeatEnum;
|
|
3120
|
+
/**
|
|
3121
|
+
*
|
|
3122
|
+
* @type {string}
|
|
3123
|
+
* @memberof CreateEventPayloadDTO
|
|
3124
|
+
*/
|
|
3125
|
+
'byDay'?: string;
|
|
3126
|
+
/**
|
|
3127
|
+
*
|
|
3128
|
+
* @type {string}
|
|
3129
|
+
* @memberof CreateEventPayloadDTO
|
|
3130
|
+
*/
|
|
3131
|
+
'byMonthDay'?: string;
|
|
3132
|
+
/**
|
|
3133
|
+
*
|
|
3134
|
+
* @type {string}
|
|
3135
|
+
* @memberof CreateEventPayloadDTO
|
|
3136
|
+
*/
|
|
3137
|
+
'byMonth'?: string;
|
|
3138
|
+
/**
|
|
3139
|
+
*
|
|
3140
|
+
* @type {string}
|
|
3141
|
+
* @memberof CreateEventPayloadDTO
|
|
3142
|
+
*/
|
|
3143
|
+
'repeatBy'?: string;
|
|
3072
3144
|
/**
|
|
3073
3145
|
* The unique identifier of the customer
|
|
3074
3146
|
* @type {string}
|
|
@@ -3976,6 +4048,52 @@ export interface FindWaitlistResponseDTO {
|
|
|
3976
4048
|
*/
|
|
3977
4049
|
'data': Array<WaitlistEntity>;
|
|
3978
4050
|
}
|
|
4051
|
+
/**
|
|
4052
|
+
*
|
|
4053
|
+
* @export
|
|
4054
|
+
* @interface FindWhatsOnAndPrepaidService
|
|
4055
|
+
*/
|
|
4056
|
+
export interface FindWhatsOnAndPrepaidService {
|
|
4057
|
+
/**
|
|
4058
|
+
* Start date for the events
|
|
4059
|
+
* @type {string}
|
|
4060
|
+
* @memberof FindWhatsOnAndPrepaidService
|
|
4061
|
+
*/
|
|
4062
|
+
'startDate': string;
|
|
4063
|
+
/**
|
|
4064
|
+
* End date for the events
|
|
4065
|
+
* @type {string}
|
|
4066
|
+
* @memberof FindWhatsOnAndPrepaidService
|
|
4067
|
+
*/
|
|
4068
|
+
'endDate': string;
|
|
4069
|
+
/**
|
|
4070
|
+
* View
|
|
4071
|
+
* @type {string}
|
|
4072
|
+
* @memberof FindWhatsOnAndPrepaidService
|
|
4073
|
+
*/
|
|
4074
|
+
'view': FindWhatsOnAndPrepaidServiceViewEnum;
|
|
4075
|
+
/**
|
|
4076
|
+
*
|
|
4077
|
+
* @type {number}
|
|
4078
|
+
* @memberof FindWhatsOnAndPrepaidService
|
|
4079
|
+
*/
|
|
4080
|
+
'page': number;
|
|
4081
|
+
/**
|
|
4082
|
+
*
|
|
4083
|
+
* @type {number}
|
|
4084
|
+
* @memberof FindWhatsOnAndPrepaidService
|
|
4085
|
+
*/
|
|
4086
|
+
'pageSize': number;
|
|
4087
|
+
}
|
|
4088
|
+
|
|
4089
|
+
export const FindWhatsOnAndPrepaidServiceViewEnum = {
|
|
4090
|
+
Daily: 'daily',
|
|
4091
|
+
Weekly: 'weekly',
|
|
4092
|
+
Monthly: 'monthly'
|
|
4093
|
+
} as const;
|
|
4094
|
+
|
|
4095
|
+
export type FindWhatsOnAndPrepaidServiceViewEnum = typeof FindWhatsOnAndPrepaidServiceViewEnum[keyof typeof FindWhatsOnAndPrepaidServiceViewEnum];
|
|
4096
|
+
|
|
3979
4097
|
/**
|
|
3980
4098
|
*
|
|
3981
4099
|
* @export
|
|
@@ -4966,6 +5084,7 @@ export const NotificationEntityTypeEnum = {
|
|
|
4966
5084
|
CalendarDetailsUpdate: 'CALENDAR_DETAILS_UPDATE',
|
|
4967
5085
|
CalendarRemove: 'CALENDAR_REMOVE',
|
|
4968
5086
|
BookingRescheduled: 'BOOKING_RESCHEDULED',
|
|
5087
|
+
BookingRescheduledBusiness: 'BOOKING_RESCHEDULED_BUSINESS',
|
|
4969
5088
|
EventRescheduled: 'EVENT_RESCHEDULED',
|
|
4970
5089
|
DailyBriefing: 'DAILY_BRIEFING',
|
|
4971
5090
|
Reminders: 'REMINDERS'
|
|
@@ -5372,6 +5491,30 @@ export interface PrepaidServiceEntity {
|
|
|
5372
5491
|
* @memberof PrepaidServiceEntity
|
|
5373
5492
|
*/
|
|
5374
5493
|
'pattern'?: string;
|
|
5494
|
+
/**
|
|
5495
|
+
*
|
|
5496
|
+
* @type {string}
|
|
5497
|
+
* @memberof PrepaidServiceEntity
|
|
5498
|
+
*/
|
|
5499
|
+
'byDay'?: string;
|
|
5500
|
+
/**
|
|
5501
|
+
*
|
|
5502
|
+
* @type {string}
|
|
5503
|
+
* @memberof PrepaidServiceEntity
|
|
5504
|
+
*/
|
|
5505
|
+
'byMonthDay'?: string;
|
|
5506
|
+
/**
|
|
5507
|
+
*
|
|
5508
|
+
* @type {string}
|
|
5509
|
+
* @memberof PrepaidServiceEntity
|
|
5510
|
+
*/
|
|
5511
|
+
'byMonth'?: string;
|
|
5512
|
+
/**
|
|
5513
|
+
*
|
|
5514
|
+
* @type {string}
|
|
5515
|
+
* @memberof PrepaidServiceEntity
|
|
5516
|
+
*/
|
|
5517
|
+
'repeatBy'?: string;
|
|
5375
5518
|
/**
|
|
5376
5519
|
* Tag id
|
|
5377
5520
|
* @type {string}
|
|
@@ -5571,6 +5714,30 @@ export interface PrepaidServicePayloadDTO {
|
|
|
5571
5714
|
* @memberof PrepaidServicePayloadDTO
|
|
5572
5715
|
*/
|
|
5573
5716
|
'repeat': PrepaidServicePayloadDTORepeatEnum;
|
|
5717
|
+
/**
|
|
5718
|
+
*
|
|
5719
|
+
* @type {string}
|
|
5720
|
+
* @memberof PrepaidServicePayloadDTO
|
|
5721
|
+
*/
|
|
5722
|
+
'byDay'?: string;
|
|
5723
|
+
/**
|
|
5724
|
+
*
|
|
5725
|
+
* @type {string}
|
|
5726
|
+
* @memberof PrepaidServicePayloadDTO
|
|
5727
|
+
*/
|
|
5728
|
+
'byMonthDay'?: string;
|
|
5729
|
+
/**
|
|
5730
|
+
*
|
|
5731
|
+
* @type {string}
|
|
5732
|
+
* @memberof PrepaidServicePayloadDTO
|
|
5733
|
+
*/
|
|
5734
|
+
'byMonth'?: string;
|
|
5735
|
+
/**
|
|
5736
|
+
*
|
|
5737
|
+
* @type {string}
|
|
5738
|
+
* @memberof PrepaidServicePayloadDTO
|
|
5739
|
+
*/
|
|
5740
|
+
'repeatBy'?: string;
|
|
5574
5741
|
/**
|
|
5575
5742
|
* Service name
|
|
5576
5743
|
* @type {string}
|
|
@@ -7669,6 +7836,30 @@ export interface WhatsOnEntity {
|
|
|
7669
7836
|
* @memberof WhatsOnEntity
|
|
7670
7837
|
*/
|
|
7671
7838
|
'pattern'?: string;
|
|
7839
|
+
/**
|
|
7840
|
+
*
|
|
7841
|
+
* @type {string}
|
|
7842
|
+
* @memberof WhatsOnEntity
|
|
7843
|
+
*/
|
|
7844
|
+
'byDay'?: string;
|
|
7845
|
+
/**
|
|
7846
|
+
*
|
|
7847
|
+
* @type {string}
|
|
7848
|
+
* @memberof WhatsOnEntity
|
|
7849
|
+
*/
|
|
7850
|
+
'byMonthDay'?: string;
|
|
7851
|
+
/**
|
|
7852
|
+
*
|
|
7853
|
+
* @type {string}
|
|
7854
|
+
* @memberof WhatsOnEntity
|
|
7855
|
+
*/
|
|
7856
|
+
'byMonth'?: string;
|
|
7857
|
+
/**
|
|
7858
|
+
*
|
|
7859
|
+
* @type {string}
|
|
7860
|
+
* @memberof WhatsOnEntity
|
|
7861
|
+
*/
|
|
7862
|
+
'repeatBy'?: string;
|
|
7672
7863
|
/**
|
|
7673
7864
|
* Event id
|
|
7674
7865
|
* @type {string}
|
|
@@ -8021,6 +8212,30 @@ export interface WhatsOnPayloadDTO {
|
|
|
8021
8212
|
* @memberof WhatsOnPayloadDTO
|
|
8022
8213
|
*/
|
|
8023
8214
|
'repeat': WhatsOnPayloadDTORepeatEnum;
|
|
8215
|
+
/**
|
|
8216
|
+
*
|
|
8217
|
+
* @type {string}
|
|
8218
|
+
* @memberof WhatsOnPayloadDTO
|
|
8219
|
+
*/
|
|
8220
|
+
'byDay'?: string;
|
|
8221
|
+
/**
|
|
8222
|
+
*
|
|
8223
|
+
* @type {string}
|
|
8224
|
+
* @memberof WhatsOnPayloadDTO
|
|
8225
|
+
*/
|
|
8226
|
+
'byMonthDay'?: string;
|
|
8227
|
+
/**
|
|
8228
|
+
*
|
|
8229
|
+
* @type {string}
|
|
8230
|
+
* @memberof WhatsOnPayloadDTO
|
|
8231
|
+
*/
|
|
8232
|
+
'byMonth'?: string;
|
|
8233
|
+
/**
|
|
8234
|
+
*
|
|
8235
|
+
* @type {string}
|
|
8236
|
+
* @memberof WhatsOnPayloadDTO
|
|
8237
|
+
*/
|
|
8238
|
+
'repeatBy'?: string;
|
|
8024
8239
|
/**
|
|
8025
8240
|
* Event name
|
|
8026
8241
|
* @type {string}
|
|
@@ -8545,41 +8760,6 @@ export class AppApi extends BaseAPI {
|
|
|
8545
8760
|
*/
|
|
8546
8761
|
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8547
8762
|
return {
|
|
8548
|
-
/**
|
|
8549
|
-
*
|
|
8550
|
-
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
8551
|
-
* @param {*} [options] Override http request option.
|
|
8552
|
-
* @throws {RequiredError}
|
|
8553
|
-
*/
|
|
8554
|
-
authControllerBusinessForgotPassword: async (forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8555
|
-
// verify required parameter 'forgotPasswordPayloadDTO' is not null or undefined
|
|
8556
|
-
assertParamExists('authControllerBusinessForgotPassword', 'forgotPasswordPayloadDTO', forgotPasswordPayloadDTO)
|
|
8557
|
-
const localVarPath = `/v1/auth/business-forgot-password`;
|
|
8558
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8559
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8560
|
-
let baseOptions;
|
|
8561
|
-
if (configuration) {
|
|
8562
|
-
baseOptions = configuration.baseOptions;
|
|
8563
|
-
}
|
|
8564
|
-
|
|
8565
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8566
|
-
const localVarHeaderParameter = {} as any;
|
|
8567
|
-
const localVarQueryParameter = {} as any;
|
|
8568
|
-
|
|
8569
|
-
|
|
8570
|
-
|
|
8571
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8572
|
-
|
|
8573
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8574
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8575
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8576
|
-
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
8577
|
-
|
|
8578
|
-
return {
|
|
8579
|
-
url: toPathString(localVarUrlObj),
|
|
8580
|
-
options: localVarRequestOptions,
|
|
8581
|
-
};
|
|
8582
|
-
},
|
|
8583
8763
|
/**
|
|
8584
8764
|
*
|
|
8585
8765
|
* @param {SignupDto} signupDto
|
|
@@ -8913,18 +9093,6 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8913
9093
|
export const AuthApiFp = function(configuration?: Configuration) {
|
|
8914
9094
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
|
8915
9095
|
return {
|
|
8916
|
-
/**
|
|
8917
|
-
*
|
|
8918
|
-
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
8919
|
-
* @param {*} [options] Override http request option.
|
|
8920
|
-
* @throws {RequiredError}
|
|
8921
|
-
*/
|
|
8922
|
-
async authControllerBusinessForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResponseDTO>> {
|
|
8923
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerBusinessForgotPassword(forgotPasswordPayloadDTO, options);
|
|
8924
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8925
|
-
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerBusinessForgotPassword']?.[localVarOperationServerIndex]?.url;
|
|
8926
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8927
|
-
},
|
|
8928
9096
|
/**
|
|
8929
9097
|
*
|
|
8930
9098
|
* @param {SignupDto} signupDto
|
|
@@ -9043,15 +9211,6 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
9043
9211
|
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
9044
9212
|
const localVarFp = AuthApiFp(configuration)
|
|
9045
9213
|
return {
|
|
9046
|
-
/**
|
|
9047
|
-
*
|
|
9048
|
-
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
9049
|
-
* @param {*} [options] Override http request option.
|
|
9050
|
-
* @throws {RequiredError}
|
|
9051
|
-
*/
|
|
9052
|
-
authControllerBusinessForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ForgotPasswordResponseDTO> {
|
|
9053
|
-
return localVarFp.authControllerBusinessForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
9054
|
-
},
|
|
9055
9214
|
/**
|
|
9056
9215
|
*
|
|
9057
9216
|
* @param {SignupDto} signupDto
|
|
@@ -9143,17 +9302,6 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9143
9302
|
* @extends {BaseAPI}
|
|
9144
9303
|
*/
|
|
9145
9304
|
export class AuthApi extends BaseAPI {
|
|
9146
|
-
/**
|
|
9147
|
-
*
|
|
9148
|
-
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
9149
|
-
* @param {*} [options] Override http request option.
|
|
9150
|
-
* @throws {RequiredError}
|
|
9151
|
-
* @memberof AuthApi
|
|
9152
|
-
*/
|
|
9153
|
-
public authControllerBusinessForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
9154
|
-
return AuthApiFp(this.configuration).authControllerBusinessForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
9155
|
-
}
|
|
9156
|
-
|
|
9157
9305
|
/**
|
|
9158
9306
|
*
|
|
9159
9307
|
* @param {SignupDto} signupDto
|
|
@@ -9988,6 +10136,84 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
9988
10136
|
options: localVarRequestOptions,
|
|
9989
10137
|
};
|
|
9990
10138
|
},
|
|
10139
|
+
/**
|
|
10140
|
+
*
|
|
10141
|
+
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10142
|
+
* @param {*} [options] Override http request option.
|
|
10143
|
+
* @throws {RequiredError}
|
|
10144
|
+
*/
|
|
10145
|
+
bookingControllerListPrepaidServiceBooking: async (findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10146
|
+
// verify required parameter 'findWhatsOnAndPrepaidService' is not null or undefined
|
|
10147
|
+
assertParamExists('bookingControllerListPrepaidServiceBooking', 'findWhatsOnAndPrepaidService', findWhatsOnAndPrepaidService)
|
|
10148
|
+
const localVarPath = `/v1/booking/prepaid-service/list`;
|
|
10149
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10150
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10151
|
+
let baseOptions;
|
|
10152
|
+
if (configuration) {
|
|
10153
|
+
baseOptions = configuration.baseOptions;
|
|
10154
|
+
}
|
|
10155
|
+
|
|
10156
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
10157
|
+
const localVarHeaderParameter = {} as any;
|
|
10158
|
+
const localVarQueryParameter = {} as any;
|
|
10159
|
+
|
|
10160
|
+
// authentication bearer required
|
|
10161
|
+
// http bearer authentication required
|
|
10162
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10163
|
+
|
|
10164
|
+
|
|
10165
|
+
|
|
10166
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10167
|
+
|
|
10168
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10169
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10170
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10171
|
+
localVarRequestOptions.data = serializeDataIfNeeded(findWhatsOnAndPrepaidService, localVarRequestOptions, configuration)
|
|
10172
|
+
|
|
10173
|
+
return {
|
|
10174
|
+
url: toPathString(localVarUrlObj),
|
|
10175
|
+
options: localVarRequestOptions,
|
|
10176
|
+
};
|
|
10177
|
+
},
|
|
10178
|
+
/**
|
|
10179
|
+
*
|
|
10180
|
+
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10181
|
+
* @param {*} [options] Override http request option.
|
|
10182
|
+
* @throws {RequiredError}
|
|
10183
|
+
*/
|
|
10184
|
+
bookingControllerListWhatsOnBooking: async (findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10185
|
+
// verify required parameter 'findWhatsOnAndPrepaidService' is not null or undefined
|
|
10186
|
+
assertParamExists('bookingControllerListWhatsOnBooking', 'findWhatsOnAndPrepaidService', findWhatsOnAndPrepaidService)
|
|
10187
|
+
const localVarPath = `/v1/booking/whats-on/list`;
|
|
10188
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10189
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10190
|
+
let baseOptions;
|
|
10191
|
+
if (configuration) {
|
|
10192
|
+
baseOptions = configuration.baseOptions;
|
|
10193
|
+
}
|
|
10194
|
+
|
|
10195
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
10196
|
+
const localVarHeaderParameter = {} as any;
|
|
10197
|
+
const localVarQueryParameter = {} as any;
|
|
10198
|
+
|
|
10199
|
+
// authentication bearer required
|
|
10200
|
+
// http bearer authentication required
|
|
10201
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10202
|
+
|
|
10203
|
+
|
|
10204
|
+
|
|
10205
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10206
|
+
|
|
10207
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10208
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10209
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10210
|
+
localVarRequestOptions.data = serializeDataIfNeeded(findWhatsOnAndPrepaidService, localVarRequestOptions, configuration)
|
|
10211
|
+
|
|
10212
|
+
return {
|
|
10213
|
+
url: toPathString(localVarUrlObj),
|
|
10214
|
+
options: localVarRequestOptions,
|
|
10215
|
+
};
|
|
10216
|
+
},
|
|
9991
10217
|
/**
|
|
9992
10218
|
*
|
|
9993
10219
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|
|
@@ -10258,6 +10484,30 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
10258
10484
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListCustomerBooking']?.[localVarOperationServerIndex]?.url;
|
|
10259
10485
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10260
10486
|
},
|
|
10487
|
+
/**
|
|
10488
|
+
*
|
|
10489
|
+
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10490
|
+
* @param {*} [options] Override http request option.
|
|
10491
|
+
* @throws {RequiredError}
|
|
10492
|
+
*/
|
|
10493
|
+
async bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
10494
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options);
|
|
10495
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10496
|
+
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListPrepaidServiceBooking']?.[localVarOperationServerIndex]?.url;
|
|
10497
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10498
|
+
},
|
|
10499
|
+
/**
|
|
10500
|
+
*
|
|
10501
|
+
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10502
|
+
* @param {*} [options] Override http request option.
|
|
10503
|
+
* @throws {RequiredError}
|
|
10504
|
+
*/
|
|
10505
|
+
async bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
10506
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options);
|
|
10507
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10508
|
+
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListWhatsOnBooking']?.[localVarOperationServerIndex]?.url;
|
|
10509
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10510
|
+
},
|
|
10261
10511
|
/**
|
|
10262
10512
|
*
|
|
10263
10513
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|
|
@@ -10390,6 +10640,24 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
10390
10640
|
bookingControllerListCustomerBooking(findCustomerBookingPayload: FindCustomerBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
10391
10641
|
return localVarFp.bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(axios, basePath));
|
|
10392
10642
|
},
|
|
10643
|
+
/**
|
|
10644
|
+
*
|
|
10645
|
+
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10646
|
+
* @param {*} [options] Override http request option.
|
|
10647
|
+
* @throws {RequiredError}
|
|
10648
|
+
*/
|
|
10649
|
+
bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
10650
|
+
return localVarFp.bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options).then((request) => request(axios, basePath));
|
|
10651
|
+
},
|
|
10652
|
+
/**
|
|
10653
|
+
*
|
|
10654
|
+
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10655
|
+
* @param {*} [options] Override http request option.
|
|
10656
|
+
* @throws {RequiredError}
|
|
10657
|
+
*/
|
|
10658
|
+
bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
10659
|
+
return localVarFp.bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options).then((request) => request(axios, basePath));
|
|
10660
|
+
},
|
|
10393
10661
|
/**
|
|
10394
10662
|
*
|
|
10395
10663
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|
|
@@ -10526,6 +10794,28 @@ export class BookingApi extends BaseAPI {
|
|
|
10526
10794
|
return BookingApiFp(this.configuration).bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(this.axios, this.basePath));
|
|
10527
10795
|
}
|
|
10528
10796
|
|
|
10797
|
+
/**
|
|
10798
|
+
*
|
|
10799
|
+
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10800
|
+
* @param {*} [options] Override http request option.
|
|
10801
|
+
* @throws {RequiredError}
|
|
10802
|
+
* @memberof BookingApi
|
|
10803
|
+
*/
|
|
10804
|
+
public bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig) {
|
|
10805
|
+
return BookingApiFp(this.configuration).bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options).then((request) => request(this.axios, this.basePath));
|
|
10806
|
+
}
|
|
10807
|
+
|
|
10808
|
+
/**
|
|
10809
|
+
*
|
|
10810
|
+
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10811
|
+
* @param {*} [options] Override http request option.
|
|
10812
|
+
* @throws {RequiredError}
|
|
10813
|
+
* @memberof BookingApi
|
|
10814
|
+
*/
|
|
10815
|
+
public bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig) {
|
|
10816
|
+
return BookingApiFp(this.configuration).bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options).then((request) => request(this.axios, this.basePath));
|
|
10817
|
+
}
|
|
10818
|
+
|
|
10529
10819
|
/**
|
|
10530
10820
|
*
|
|
10531
10821
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|