@gooday_corp/gooday-api-client 1.3.15 → 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 -357
- 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
|
|
@@ -424,30 +468,6 @@ export interface BlockoutEntity {
|
|
|
424
468
|
* @memberof BlockoutEntity
|
|
425
469
|
*/
|
|
426
470
|
'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;
|
|
451
471
|
/**
|
|
452
472
|
* Event id
|
|
453
473
|
* @type {string}
|
|
@@ -520,30 +540,6 @@ export interface BlockoutPayloadDTO {
|
|
|
520
540
|
* @memberof BlockoutPayloadDTO
|
|
521
541
|
*/
|
|
522
542
|
'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;
|
|
547
543
|
/**
|
|
548
544
|
* Name of block
|
|
549
545
|
* @type {string}
|
|
@@ -3117,30 +3113,6 @@ export interface CreateEventPayloadDTO {
|
|
|
3117
3113
|
* @memberof CreateEventPayloadDTO
|
|
3118
3114
|
*/
|
|
3119
3115
|
'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;
|
|
3144
3116
|
/**
|
|
3145
3117
|
* The unique identifier of the customer
|
|
3146
3118
|
* @type {string}
|
|
@@ -4048,52 +4020,6 @@ export interface FindWaitlistResponseDTO {
|
|
|
4048
4020
|
*/
|
|
4049
4021
|
'data': Array<WaitlistEntity>;
|
|
4050
4022
|
}
|
|
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
|
-
|
|
4097
4023
|
/**
|
|
4098
4024
|
*
|
|
4099
4025
|
* @export
|
|
@@ -5084,7 +5010,6 @@ export const NotificationEntityTypeEnum = {
|
|
|
5084
5010
|
CalendarDetailsUpdate: 'CALENDAR_DETAILS_UPDATE',
|
|
5085
5011
|
CalendarRemove: 'CALENDAR_REMOVE',
|
|
5086
5012
|
BookingRescheduled: 'BOOKING_RESCHEDULED',
|
|
5087
|
-
BookingRescheduledBusiness: 'BOOKING_RESCHEDULED_BUSINESS',
|
|
5088
5013
|
EventRescheduled: 'EVENT_RESCHEDULED',
|
|
5089
5014
|
DailyBriefing: 'DAILY_BRIEFING',
|
|
5090
5015
|
Reminders: 'REMINDERS'
|
|
@@ -5491,30 +5416,6 @@ export interface PrepaidServiceEntity {
|
|
|
5491
5416
|
* @memberof PrepaidServiceEntity
|
|
5492
5417
|
*/
|
|
5493
5418
|
'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;
|
|
5518
5419
|
/**
|
|
5519
5420
|
* Tag id
|
|
5520
5421
|
* @type {string}
|
|
@@ -5714,30 +5615,6 @@ export interface PrepaidServicePayloadDTO {
|
|
|
5714
5615
|
* @memberof PrepaidServicePayloadDTO
|
|
5715
5616
|
*/
|
|
5716
5617
|
'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;
|
|
5741
5618
|
/**
|
|
5742
5619
|
* Service name
|
|
5743
5620
|
* @type {string}
|
|
@@ -7836,30 +7713,6 @@ export interface WhatsOnEntity {
|
|
|
7836
7713
|
* @memberof WhatsOnEntity
|
|
7837
7714
|
*/
|
|
7838
7715
|
'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;
|
|
7863
7716
|
/**
|
|
7864
7717
|
* Event id
|
|
7865
7718
|
* @type {string}
|
|
@@ -8212,30 +8065,6 @@ export interface WhatsOnPayloadDTO {
|
|
|
8212
8065
|
* @memberof WhatsOnPayloadDTO
|
|
8213
8066
|
*/
|
|
8214
8067
|
'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;
|
|
8239
8068
|
/**
|
|
8240
8069
|
* Event name
|
|
8241
8070
|
* @type {string}
|
|
@@ -8420,6 +8249,39 @@ export interface WhatsOnUnFavoriteResponse {
|
|
|
8420
8249
|
*/
|
|
8421
8250
|
export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8422
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
|
+
},
|
|
8423
8285
|
/**
|
|
8424
8286
|
*
|
|
8425
8287
|
* @param {*} [options] Override http request option.
|
|
@@ -8492,6 +8354,17 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8492
8354
|
export const AIApiFp = function(configuration?: Configuration) {
|
|
8493
8355
|
const localVarAxiosParamCreator = AIApiAxiosParamCreator(configuration)
|
|
8494
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
|
+
},
|
|
8495
8368
|
/**
|
|
8496
8369
|
*
|
|
8497
8370
|
* @param {*} [options] Override http request option.
|
|
@@ -8524,6 +8397,14 @@ export const AIApiFp = function(configuration?: Configuration) {
|
|
|
8524
8397
|
export const AIApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
8525
8398
|
const localVarFp = AIApiFp(configuration)
|
|
8526
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
|
+
},
|
|
8527
8408
|
/**
|
|
8528
8409
|
*
|
|
8529
8410
|
* @param {*} [options] Override http request option.
|
|
@@ -8550,6 +8431,16 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
8550
8431
|
* @extends {BaseAPI}
|
|
8551
8432
|
*/
|
|
8552
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
|
+
|
|
8553
8444
|
/**
|
|
8554
8445
|
*
|
|
8555
8446
|
* @param {*} [options] Override http request option.
|
|
@@ -8760,6 +8651,41 @@ export class AppApi extends BaseAPI {
|
|
|
8760
8651
|
*/
|
|
8761
8652
|
export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
8762
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
|
+
},
|
|
8763
8689
|
/**
|
|
8764
8690
|
*
|
|
8765
8691
|
* @param {SignupDto} signupDto
|
|
@@ -9093,6 +9019,18 @@ export const AuthApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
9093
9019
|
export const AuthApiFp = function(configuration?: Configuration) {
|
|
9094
9020
|
const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration)
|
|
9095
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
|
+
},
|
|
9096
9034
|
/**
|
|
9097
9035
|
*
|
|
9098
9036
|
* @param {SignupDto} signupDto
|
|
@@ -9211,6 +9149,15 @@ export const AuthApiFp = function(configuration?: Configuration) {
|
|
|
9211
9149
|
export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
9212
9150
|
const localVarFp = AuthApiFp(configuration)
|
|
9213
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
|
+
},
|
|
9214
9161
|
/**
|
|
9215
9162
|
*
|
|
9216
9163
|
* @param {SignupDto} signupDto
|
|
@@ -9302,6 +9249,17 @@ export const AuthApiFactory = function (configuration?: Configuration, basePath?
|
|
|
9302
9249
|
* @extends {BaseAPI}
|
|
9303
9250
|
*/
|
|
9304
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
|
+
|
|
9305
9263
|
/**
|
|
9306
9264
|
*
|
|
9307
9265
|
* @param {SignupDto} signupDto
|
|
@@ -10136,84 +10094,6 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
10136
10094
|
options: localVarRequestOptions,
|
|
10137
10095
|
};
|
|
10138
10096
|
},
|
|
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
|
-
},
|
|
10217
10097
|
/**
|
|
10218
10098
|
*
|
|
10219
10099
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|
|
@@ -10484,30 +10364,6 @@ export const BookingApiFp = function(configuration?: Configuration) {
|
|
|
10484
10364
|
const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListCustomerBooking']?.[localVarOperationServerIndex]?.url;
|
|
10485
10365
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10486
10366
|
},
|
|
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
|
-
},
|
|
10511
10367
|
/**
|
|
10512
10368
|
*
|
|
10513
10369
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|
|
@@ -10640,24 +10496,6 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
|
|
|
10640
10496
|
bookingControllerListCustomerBooking(findCustomerBookingPayload: FindCustomerBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
|
|
10641
10497
|
return localVarFp.bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(axios, basePath));
|
|
10642
10498
|
},
|
|
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
|
-
},
|
|
10661
10499
|
/**
|
|
10662
10500
|
*
|
|
10663
10501
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|
|
@@ -10794,28 +10632,6 @@ export class BookingApi extends BaseAPI {
|
|
|
10794
10632
|
return BookingApiFp(this.configuration).bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(this.axios, this.basePath));
|
|
10795
10633
|
}
|
|
10796
10634
|
|
|
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
|
-
|
|
10819
10635
|
/**
|
|
10820
10636
|
*
|
|
10821
10637
|
* @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
|