@gooday_corp/gooday-api-client 1.3.14 → 1.3.16
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 +173 -261
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -23,6 +23,50 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @export
|
|
29
|
+
* @interface AISuggestionEntity
|
|
30
|
+
*/
|
|
31
|
+
export interface AISuggestionEntity {
|
|
32
|
+
/**
|
|
33
|
+
* Unique identifier for the assistant
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof AISuggestionEntity
|
|
36
|
+
*/
|
|
37
|
+
'_id': string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof AISuggestionEntity
|
|
42
|
+
*/
|
|
43
|
+
'description': string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {UserEntity}
|
|
47
|
+
* @memberof AISuggestionEntity
|
|
48
|
+
*/
|
|
49
|
+
'userId': UserEntity;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
* @export
|
|
54
|
+
* @interface AISuggestionListResponse
|
|
55
|
+
*/
|
|
56
|
+
export interface AISuggestionListResponse {
|
|
57
|
+
/**
|
|
58
|
+
* statusCode
|
|
59
|
+
* @type {number}
|
|
60
|
+
* @memberof AISuggestionListResponse
|
|
61
|
+
*/
|
|
62
|
+
'statusCode': number;
|
|
63
|
+
/**
|
|
64
|
+
* AISuggestion
|
|
65
|
+
* @type {Array<AISuggestionEntity>}
|
|
66
|
+
* @memberof AISuggestionListResponse
|
|
67
|
+
*/
|
|
68
|
+
'data': Array<AISuggestionEntity>;
|
|
69
|
+
}
|
|
26
70
|
/**
|
|
27
71
|
*
|
|
28
72
|
* @export
|
|
@@ -496,24 +540,6 @@ export interface BlockoutPayloadDTO {
|
|
|
496
540
|
* @memberof BlockoutPayloadDTO
|
|
497
541
|
*/
|
|
498
542
|
'repeat': BlockoutPayloadDTORepeatEnum;
|
|
499
|
-
/**
|
|
500
|
-
*
|
|
501
|
-
* @type {string}
|
|
502
|
-
* @memberof BlockoutPayloadDTO
|
|
503
|
-
*/
|
|
504
|
-
'byDay'?: string;
|
|
505
|
-
/**
|
|
506
|
-
*
|
|
507
|
-
* @type {string}
|
|
508
|
-
* @memberof BlockoutPayloadDTO
|
|
509
|
-
*/
|
|
510
|
-
'byMonthDay'?: string;
|
|
511
|
-
/**
|
|
512
|
-
*
|
|
513
|
-
* @type {string}
|
|
514
|
-
* @memberof BlockoutPayloadDTO
|
|
515
|
-
*/
|
|
516
|
-
'byMonth'?: string;
|
|
517
543
|
/**
|
|
518
544
|
* Name of block
|
|
519
545
|
* @type {string}
|
|
@@ -3087,24 +3113,6 @@ export interface CreateEventPayloadDTO {
|
|
|
3087
3113
|
* @memberof CreateEventPayloadDTO
|
|
3088
3114
|
*/
|
|
3089
3115
|
'repeat': CreateEventPayloadDTORepeatEnum;
|
|
3090
|
-
/**
|
|
3091
|
-
*
|
|
3092
|
-
* @type {string}
|
|
3093
|
-
* @memberof CreateEventPayloadDTO
|
|
3094
|
-
*/
|
|
3095
|
-
'byDay'?: string;
|
|
3096
|
-
/**
|
|
3097
|
-
*
|
|
3098
|
-
* @type {string}
|
|
3099
|
-
* @memberof CreateEventPayloadDTO
|
|
3100
|
-
*/
|
|
3101
|
-
'byMonthDay'?: string;
|
|
3102
|
-
/**
|
|
3103
|
-
*
|
|
3104
|
-
* @type {string}
|
|
3105
|
-
* @memberof CreateEventPayloadDTO
|
|
3106
|
-
*/
|
|
3107
|
-
'byMonth'?: string;
|
|
3108
3116
|
/**
|
|
3109
3117
|
* The unique identifier of the customer
|
|
3110
3118
|
* @type {string}
|
|
@@ -4012,52 +4020,6 @@ export interface FindWaitlistResponseDTO {
|
|
|
4012
4020
|
*/
|
|
4013
4021
|
'data': Array<WaitlistEntity>;
|
|
4014
4022
|
}
|
|
4015
|
-
/**
|
|
4016
|
-
*
|
|
4017
|
-
* @export
|
|
4018
|
-
* @interface FindWhatsOnAndPrepaidService
|
|
4019
|
-
*/
|
|
4020
|
-
export interface FindWhatsOnAndPrepaidService {
|
|
4021
|
-
/**
|
|
4022
|
-
* Start date for the events
|
|
4023
|
-
* @type {string}
|
|
4024
|
-
* @memberof FindWhatsOnAndPrepaidService
|
|
4025
|
-
*/
|
|
4026
|
-
'startDate': string;
|
|
4027
|
-
/**
|
|
4028
|
-
* End date for the events
|
|
4029
|
-
* @type {string}
|
|
4030
|
-
* @memberof FindWhatsOnAndPrepaidService
|
|
4031
|
-
*/
|
|
4032
|
-
'endDate': string;
|
|
4033
|
-
/**
|
|
4034
|
-
* View
|
|
4035
|
-
* @type {string}
|
|
4036
|
-
* @memberof FindWhatsOnAndPrepaidService
|
|
4037
|
-
*/
|
|
4038
|
-
'view': FindWhatsOnAndPrepaidServiceViewEnum;
|
|
4039
|
-
/**
|
|
4040
|
-
*
|
|
4041
|
-
* @type {number}
|
|
4042
|
-
* @memberof FindWhatsOnAndPrepaidService
|
|
4043
|
-
*/
|
|
4044
|
-
'page': number;
|
|
4045
|
-
/**
|
|
4046
|
-
*
|
|
4047
|
-
* @type {number}
|
|
4048
|
-
* @memberof FindWhatsOnAndPrepaidService
|
|
4049
|
-
*/
|
|
4050
|
-
'pageSize': number;
|
|
4051
|
-
}
|
|
4052
|
-
|
|
4053
|
-
export const FindWhatsOnAndPrepaidServiceViewEnum = {
|
|
4054
|
-
Daily: 'daily',
|
|
4055
|
-
Weekly: 'weekly',
|
|
4056
|
-
Monthly: 'monthly'
|
|
4057
|
-
} as const;
|
|
4058
|
-
|
|
4059
|
-
export type FindWhatsOnAndPrepaidServiceViewEnum = typeof FindWhatsOnAndPrepaidServiceViewEnum[keyof typeof FindWhatsOnAndPrepaidServiceViewEnum];
|
|
4060
|
-
|
|
4061
4023
|
/**
|
|
4062
4024
|
*
|
|
4063
4025
|
* @export
|
|
@@ -5048,7 +5010,6 @@ export const NotificationEntityTypeEnum = {
|
|
|
5048
5010
|
CalendarDetailsUpdate: 'CALENDAR_DETAILS_UPDATE',
|
|
5049
5011
|
CalendarRemove: 'CALENDAR_REMOVE',
|
|
5050
5012
|
BookingRescheduled: 'BOOKING_RESCHEDULED',
|
|
5051
|
-
BookingRescheduledBusiness: 'BOOKING_RESCHEDULED_BUSINESS',
|
|
5052
5013
|
EventRescheduled: 'EVENT_RESCHEDULED',
|
|
5053
5014
|
DailyBriefing: 'DAILY_BRIEFING',
|
|
5054
5015
|
Reminders: 'REMINDERS'
|
|
@@ -5654,24 +5615,6 @@ export interface PrepaidServicePayloadDTO {
|
|
|
5654
5615
|
* @memberof PrepaidServicePayloadDTO
|
|
5655
5616
|
*/
|
|
5656
5617
|
'repeat': PrepaidServicePayloadDTORepeatEnum;
|
|
5657
|
-
/**
|
|
5658
|
-
*
|
|
5659
|
-
* @type {string}
|
|
5660
|
-
* @memberof PrepaidServicePayloadDTO
|
|
5661
|
-
*/
|
|
5662
|
-
'byDay'?: string;
|
|
5663
|
-
/**
|
|
5664
|
-
*
|
|
5665
|
-
* @type {string}
|
|
5666
|
-
* @memberof PrepaidServicePayloadDTO
|
|
5667
|
-
*/
|
|
5668
|
-
'byMonthDay'?: string;
|
|
5669
|
-
/**
|
|
5670
|
-
*
|
|
5671
|
-
* @type {string}
|
|
5672
|
-
* @memberof PrepaidServicePayloadDTO
|
|
5673
|
-
*/
|
|
5674
|
-
'byMonth'?: string;
|
|
5675
5618
|
/**
|
|
5676
5619
|
* Service name
|
|
5677
5620
|
* @type {string}
|
|
@@ -8122,24 +8065,6 @@ export interface WhatsOnPayloadDTO {
|
|
|
8122
8065
|
* @memberof WhatsOnPayloadDTO
|
|
8123
8066
|
*/
|
|
8124
8067
|
'repeat': WhatsOnPayloadDTORepeatEnum;
|
|
8125
|
-
/**
|
|
8126
|
-
*
|
|
8127
|
-
* @type {string}
|
|
8128
|
-
* @memberof WhatsOnPayloadDTO
|
|
8129
|
-
*/
|
|
8130
|
-
'byDay'?: string;
|
|
8131
|
-
/**
|
|
8132
|
-
*
|
|
8133
|
-
* @type {string}
|
|
8134
|
-
* @memberof WhatsOnPayloadDTO
|
|
8135
|
-
*/
|
|
8136
|
-
'byMonthDay'?: string;
|
|
8137
|
-
/**
|
|
8138
|
-
*
|
|
8139
|
-
* @type {string}
|
|
8140
|
-
* @memberof WhatsOnPayloadDTO
|
|
8141
|
-
*/
|
|
8142
|
-
'byMonth'?: string;
|
|
8143
8068
|
/**
|
|
8144
8069
|
* Event name
|
|
8145
8070
|
* @type {string}
|
|
@@ -8324,6 +8249,39 @@ export interface WhatsOnUnFavoriteResponse {
|
|
|
8324
8249
|
*/
|
|
8325
8250
|
export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8326
8251
|
return {
|
|
8252
|
+
/**
|
|
8253
|
+
*
|
|
8254
|
+
* @param {*} [options] Override http request option.
|
|
8255
|
+
* @throws {RequiredError}
|
|
8256
|
+
*/
|
|
8257
|
+
assistantControllerAiSuggestionList: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8258
|
+
const localVarPath = `/v1/ai/suggestion/list`;
|
|
8259
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8260
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8261
|
+
let baseOptions;
|
|
8262
|
+
if (configuration) {
|
|
8263
|
+
baseOptions = configuration.baseOptions;
|
|
8264
|
+
}
|
|
8265
|
+
|
|
8266
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8267
|
+
const localVarHeaderParameter = {} as any;
|
|
8268
|
+
const localVarQueryParameter = {} as any;
|
|
8269
|
+
|
|
8270
|
+
// authentication bearer required
|
|
8271
|
+
// http bearer authentication required
|
|
8272
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8273
|
+
|
|
8274
|
+
|
|
8275
|
+
|
|
8276
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8277
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8278
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8279
|
+
|
|
8280
|
+
return {
|
|
8281
|
+
url: toPathString(localVarUrlObj),
|
|
8282
|
+
options: localVarRequestOptions,
|
|
8283
|
+
};
|
|
8284
|
+
},
|
|
8327
8285
|
/**
|
|
8328
8286
|
*
|
|
8329
8287
|
* @param {*} [options] Override http request option.
|
|
@@ -8396,6 +8354,17 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8396
8354
|
export const AIApiFp = function(configuration?: Configuration) {
|
|
8397
8355
|
const localVarAxiosParamCreator = AIApiAxiosParamCreator(configuration)
|
|
8398
8356
|
return {
|
|
8357
|
+
/**
|
|
8358
|
+
*
|
|
8359
|
+
* @param {*} [options] Override http request option.
|
|
8360
|
+
* @throws {RequiredError}
|
|
8361
|
+
*/
|
|
8362
|
+
async assistantControllerAiSuggestionList(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AISuggestionListResponse>> {
|
|
8363
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerAiSuggestionList(options);
|
|
8364
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8365
|
+
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerAiSuggestionList']?.[localVarOperationServerIndex]?.url;
|
|
8366
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8367
|
+
},
|
|
8399
8368
|
/**
|
|
8400
8369
|
*
|
|
8401
8370
|
* @param {*} [options] Override http request option.
|
|
@@ -8428,6 +8397,14 @@ export const AIApiFp = function(configuration?: Configuration) {
|
|
|
8428
8397
|
export const AIApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
8429
8398
|
const localVarFp = AIApiFp(configuration)
|
|
8430
8399
|
return {
|
|
8400
|
+
/**
|
|
8401
|
+
*
|
|
8402
|
+
* @param {*} [options] Override http request option.
|
|
8403
|
+
* @throws {RequiredError}
|
|
8404
|
+
*/
|
|
8405
|
+
assistantControllerAiSuggestionList(options?: RawAxiosRequestConfig): AxiosPromise<AISuggestionListResponse> {
|
|
8406
|
+
return localVarFp.assistantControllerAiSuggestionList(options).then((request) => request(axios, basePath));
|
|
8407
|
+
},
|
|
8431
8408
|
/**
|
|
8432
8409
|
*
|
|
8433
8410
|
* @param {*} [options] Override http request option.
|
|
@@ -8454,6 +8431,16 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
8454
8431
|
* @extends {BaseAPI}
|
|
8455
8432
|
*/
|
|
8456
8433
|
export class AIApi extends BaseAPI {
|
|
8434
|
+
/**
|
|
8435
|
+
*
|
|
8436
|
+
* @param {*} [options] Override http request option.
|
|
8437
|
+
* @throws {RequiredError}
|
|
8438
|
+
* @memberof AIApi
|
|
8439
|
+
*/
|
|
8440
|
+
public assistantControllerAiSuggestionList(options?: RawAxiosRequestConfig) {
|
|
8441
|
+
return AIApiFp(this.configuration).assistantControllerAiSuggestionList(options).then((request) => request(this.axios, this.basePath));
|
|
8442
|
+
}
|
|
8443
|
+
|
|
8457
8444
|
/**
|
|
8458
8445
|
*
|
|
8459
8446
|
* @param {*} [options] Override http request option.
|
|
@@ -8664,6 +8651,41 @@ export class AppApi extends BaseAPI {
|
|
|
8664
8651
|
*/
|
|
8665
8652
|
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8666
8653
|
return {
|
|
8654
|
+
/**
|
|
8655
|
+
*
|
|
8656
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
8657
|
+
* @param {*} [options] Override http request option.
|
|
8658
|
+
* @throws {RequiredError}
|
|
8659
|
+
*/
|
|
8660
|
+
authControllerBusinessForgotPassword: async (forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8661
|
+
// verify required parameter 'forgotPasswordPayloadDTO' is not null or undefined
|
|
8662
|
+
assertParamExists('authControllerBusinessForgotPassword', 'forgotPasswordPayloadDTO', forgotPasswordPayloadDTO)
|
|
8663
|
+
const localVarPath = `/v1/auth/business-forgot-password`;
|
|
8664
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8665
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8666
|
+
let baseOptions;
|
|
8667
|
+
if (configuration) {
|
|
8668
|
+
baseOptions = configuration.baseOptions;
|
|
8669
|
+
}
|
|
8670
|
+
|
|
8671
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
8672
|
+
const localVarHeaderParameter = {} as any;
|
|
8673
|
+
const localVarQueryParameter = {} as any;
|
|
8674
|
+
|
|
8675
|
+
|
|
8676
|
+
|
|
8677
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8678
|
+
|
|
8679
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8680
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8681
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8682
|
+
localVarRequestOptions.data = serializeDataIfNeeded(forgotPasswordPayloadDTO, localVarRequestOptions, configuration)
|
|
8683
|
+
|
|
8684
|
+
return {
|
|
8685
|
+
url: toPathString(localVarUrlObj),
|
|
8686
|
+
options: localVarRequestOptions,
|
|
8687
|
+
};
|
|
8688
|
+
},
|
|
8667
8689
|
/**
|
|
8668
8690
|
*
|
|
8669
8691
|
* @param {SignupDto} signupDto
|
|
@@ -8997,6 +9019,18 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
8997
9019
|
export const AuthApiFp = function(configuration?: Configuration) {
|
|
8998
9020
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
|
8999
9021
|
return {
|
|
9022
|
+
/**
|
|
9023
|
+
*
|
|
9024
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
9025
|
+
* @param {*} [options] Override http request option.
|
|
9026
|
+
* @throws {RequiredError}
|
|
9027
|
+
*/
|
|
9028
|
+
async authControllerBusinessForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ForgotPasswordResponseDTO>> {
|
|
9029
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerBusinessForgotPassword(forgotPasswordPayloadDTO, options);
|
|
9030
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9031
|
+
const localVarOperationServerBasePath = operationServerMap['AuthApi.authControllerBusinessForgotPassword']?.[localVarOperationServerIndex]?.url;
|
|
9032
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9033
|
+
},
|
|
9000
9034
|
/**
|
|
9001
9035
|
*
|
|
9002
9036
|
* @param {SignupDto} signupDto
|
|
@@ -9115,6 +9149,15 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
9115
9149
|
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
9116
9150
|
const localVarFp = AuthApiFp(configuration)
|
|
9117
9151
|
return {
|
|
9152
|
+
/**
|
|
9153
|
+
*
|
|
9154
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
9155
|
+
* @param {*} [options] Override http request option.
|
|
9156
|
+
* @throws {RequiredError}
|
|
9157
|
+
*/
|
|
9158
|
+
authControllerBusinessForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<ForgotPasswordResponseDTO> {
|
|
9159
|
+
return localVarFp.authControllerBusinessForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(axios, basePath));
|
|
9160
|
+
},
|
|
9118
9161
|
/**
|
|
9119
9162
|
*
|
|
9120
9163
|
* @param {SignupDto} signupDto
|
|
@@ -9206,6 +9249,17 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9206
9249
|
* @extends {BaseAPI}
|
|
9207
9250
|
*/
|
|
9208
9251
|
export class AuthApi extends BaseAPI {
|
|
9252
|
+
/**
|
|
9253
|
+
*
|
|
9254
|
+
* @param {ForgotPasswordPayloadDTO} forgotPasswordPayloadDTO
|
|
9255
|
+
* @param {*} [options] Override http request option.
|
|
9256
|
+
* @throws {RequiredError}
|
|
9257
|
+
* @memberof AuthApi
|
|
9258
|
+
*/
|
|
9259
|
+
public authControllerBusinessForgotPassword(forgotPasswordPayloadDTO: ForgotPasswordPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
9260
|
+
return AuthApiFp(this.configuration).authControllerBusinessForgotPassword(forgotPasswordPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
9261
|
+
}
|
|
9262
|
+
|
|
9209
9263
|
/**
|
|
9210
9264
|
*
|
|
9211
9265
|
* @param {SignupDto} signupDto
|
|
@@ -10040,84 +10094,6 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10040
10094
|
options: localVarRequestOptions,
|
|
10041
10095
|
};
|
|
10042
10096
|
},
|
|
10043
|
-
/**
|
|
10044
|
-
*
|
|
10045
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10046
|
-
* @param {*} [options] Override http request option.
|
|
10047
|
-
* @throws {RequiredError}
|
|
10048
|
-
*/
|
|
10049
|
-
bookingControllerListPrepaidServiceBooking: async (findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10050
|
-
// verify required parameter 'findWhatsOnAndPrepaidService' is not null or undefined
|
|
10051
|
-
assertParamExists('bookingControllerListPrepaidServiceBooking', 'findWhatsOnAndPrepaidService', findWhatsOnAndPrepaidService)
|
|
10052
|
-
const localVarPath = `/v1/booking/prepaid-service/list`;
|
|
10053
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10054
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10055
|
-
let baseOptions;
|
|
10056
|
-
if (configuration) {
|
|
10057
|
-
baseOptions = configuration.baseOptions;
|
|
10058
|
-
}
|
|
10059
|
-
|
|
10060
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
10061
|
-
const localVarHeaderParameter = {} as any;
|
|
10062
|
-
const localVarQueryParameter = {} as any;
|
|
10063
|
-
|
|
10064
|
-
// authentication bearer required
|
|
10065
|
-
// http bearer authentication required
|
|
10066
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10067
|
-
|
|
10068
|
-
|
|
10069
|
-
|
|
10070
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10071
|
-
|
|
10072
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10073
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10074
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10075
|
-
localVarRequestOptions.data = serializeDataIfNeeded(findWhatsOnAndPrepaidService, localVarRequestOptions, configuration)
|
|
10076
|
-
|
|
10077
|
-
return {
|
|
10078
|
-
url: toPathString(localVarUrlObj),
|
|
10079
|
-
options: localVarRequestOptions,
|
|
10080
|
-
};
|
|
10081
|
-
},
|
|
10082
|
-
/**
|
|
10083
|
-
*
|
|
10084
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10085
|
-
* @param {*} [options] Override http request option.
|
|
10086
|
-
* @throws {RequiredError}
|
|
10087
|
-
*/
|
|
10088
|
-
bookingControllerListWhatsOnBooking: async (findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
10089
|
-
// verify required parameter 'findWhatsOnAndPrepaidService' is not null or undefined
|
|
10090
|
-
assertParamExists('bookingControllerListWhatsOnBooking', 'findWhatsOnAndPrepaidService', findWhatsOnAndPrepaidService)
|
|
10091
|
-
const localVarPath = `/v1/booking/whats-on/list`;
|
|
10092
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10093
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10094
|
-
let baseOptions;
|
|
10095
|
-
if (configuration) {
|
|
10096
|
-
baseOptions = configuration.baseOptions;
|
|
10097
|
-
}
|
|
10098
|
-
|
|
10099
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
10100
|
-
const localVarHeaderParameter = {} as any;
|
|
10101
|
-
const localVarQueryParameter = {} as any;
|
|
10102
|
-
|
|
10103
|
-
// authentication bearer required
|
|
10104
|
-
// http bearer authentication required
|
|
10105
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
10106
|
-
|
|
10107
|
-
|
|
10108
|
-
|
|
10109
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10110
|
-
|
|
10111
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10112
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10113
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
10114
|
-
localVarRequestOptions.data = serializeDataIfNeeded(findWhatsOnAndPrepaidService, localVarRequestOptions, configuration)
|
|
10115
|
-
|
|
10116
|
-
return {
|
|
10117
|
-
url: toPathString(localVarUrlObj),
|
|
10118
|
-
options: localVarRequestOptions,
|
|
10119
|
-
};
|
|
10120
|
-
},
|
|
10121
10097
|
/**
|
|
10122
10098
|
*
|
|
10123
10099
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|
|
@@ -10388,30 +10364,6 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
10388
10364
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListCustomerBooking']?.[localVarOperationServerIndex]?.url;
|
|
10389
10365
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10390
10366
|
},
|
|
10391
|
-
/**
|
|
10392
|
-
*
|
|
10393
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10394
|
-
* @param {*} [options] Override http request option.
|
|
10395
|
-
* @throws {RequiredError}
|
|
10396
|
-
*/
|
|
10397
|
-
async bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
10398
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options);
|
|
10399
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10400
|
-
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListPrepaidServiceBooking']?.[localVarOperationServerIndex]?.url;
|
|
10401
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10402
|
-
},
|
|
10403
|
-
/**
|
|
10404
|
-
*
|
|
10405
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10406
|
-
* @param {*} [options] Override http request option.
|
|
10407
|
-
* @throws {RequiredError}
|
|
10408
|
-
*/
|
|
10409
|
-
async bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
|
|
10410
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options);
|
|
10411
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10412
|
-
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListWhatsOnBooking']?.[localVarOperationServerIndex]?.url;
|
|
10413
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10414
|
-
},
|
|
10415
10367
|
/**
|
|
10416
10368
|
*
|
|
10417
10369
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|
|
@@ -10544,24 +10496,6 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
10544
10496
|
bookingControllerListCustomerBooking(findCustomerBookingPayload: FindCustomerBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
10545
10497
|
return localVarFp.bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(axios, basePath));
|
|
10546
10498
|
},
|
|
10547
|
-
/**
|
|
10548
|
-
*
|
|
10549
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10550
|
-
* @param {*} [options] Override http request option.
|
|
10551
|
-
* @throws {RequiredError}
|
|
10552
|
-
*/
|
|
10553
|
-
bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
10554
|
-
return localVarFp.bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options).then((request) => request(axios, basePath));
|
|
10555
|
-
},
|
|
10556
|
-
/**
|
|
10557
|
-
*
|
|
10558
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10559
|
-
* @param {*} [options] Override http request option.
|
|
10560
|
-
* @throws {RequiredError}
|
|
10561
|
-
*/
|
|
10562
|
-
bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
10563
|
-
return localVarFp.bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options).then((request) => request(axios, basePath));
|
|
10564
|
-
},
|
|
10565
10499
|
/**
|
|
10566
10500
|
*
|
|
10567
10501
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|
|
@@ -10698,28 +10632,6 @@ export class BookingApi extends BaseAPI {
|
|
|
10698
10632
|
return BookingApiFp(this.configuration).bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(this.axios, this.basePath));
|
|
10699
10633
|
}
|
|
10700
10634
|
|
|
10701
|
-
/**
|
|
10702
|
-
*
|
|
10703
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10704
|
-
* @param {*} [options] Override http request option.
|
|
10705
|
-
* @throws {RequiredError}
|
|
10706
|
-
* @memberof BookingApi
|
|
10707
|
-
*/
|
|
10708
|
-
public bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig) {
|
|
10709
|
-
return BookingApiFp(this.configuration).bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options).then((request) => request(this.axios, this.basePath));
|
|
10710
|
-
}
|
|
10711
|
-
|
|
10712
|
-
/**
|
|
10713
|
-
*
|
|
10714
|
-
* @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
|
|
10715
|
-
* @param {*} [options] Override http request option.
|
|
10716
|
-
* @throws {RequiredError}
|
|
10717
|
-
* @memberof BookingApi
|
|
10718
|
-
*/
|
|
10719
|
-
public bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig) {
|
|
10720
|
-
return BookingApiFp(this.configuration).bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options).then((request) => request(this.axios, this.basePath));
|
|
10721
|
-
}
|
|
10722
|
-
|
|
10723
10635
|
/**
|
|
10724
10636
|
*
|
|
10725
10637
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|