@gooday_corp/gooday-api-client 1.3.19 → 1.3.21

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.
Files changed (2) hide show
  1. package/api.ts +458 -45
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -47,6 +47,18 @@ export interface AISuggestionEntity {
47
47
  * @memberof AISuggestionEntity
48
48
  */
49
49
  'userId': UserEntity;
50
+ /**
51
+ *
52
+ * @type {EventResponse}
53
+ * @memberof AISuggestionEntity
54
+ */
55
+ 'eventId'?: EventResponse;
56
+ /**
57
+ *
58
+ * @type {BookingEntity}
59
+ * @memberof AISuggestionEntity
60
+ */
61
+ 'bookId'?: BookingEntity;
50
62
  }
51
63
  /**
52
64
  *
@@ -468,6 +480,30 @@ export interface BlockoutEntity {
468
480
  * @memberof BlockoutEntity
469
481
  */
470
482
  'pattern'?: string;
483
+ /**
484
+ *
485
+ * @type {string}
486
+ * @memberof BlockoutEntity
487
+ */
488
+ 'byDay'?: string;
489
+ /**
490
+ *
491
+ * @type {string}
492
+ * @memberof BlockoutEntity
493
+ */
494
+ 'byMonthDay'?: string;
495
+ /**
496
+ *
497
+ * @type {string}
498
+ * @memberof BlockoutEntity
499
+ */
500
+ 'byMonth'?: string;
501
+ /**
502
+ *
503
+ * @type {string}
504
+ * @memberof BlockoutEntity
505
+ */
506
+ 'repeatBy'?: string;
471
507
  /**
472
508
  * Event id
473
509
  * @type {string}
@@ -540,6 +576,30 @@ export interface BlockoutPayloadDTO {
540
576
  * @memberof BlockoutPayloadDTO
541
577
  */
542
578
  'repeat': BlockoutPayloadDTORepeatEnum;
579
+ /**
580
+ *
581
+ * @type {string}
582
+ * @memberof BlockoutPayloadDTO
583
+ */
584
+ 'byDay'?: string;
585
+ /**
586
+ *
587
+ * @type {string}
588
+ * @memberof BlockoutPayloadDTO
589
+ */
590
+ 'byMonthDay'?: string;
591
+ /**
592
+ *
593
+ * @type {string}
594
+ * @memberof BlockoutPayloadDTO
595
+ */
596
+ 'byMonth'?: string;
597
+ /**
598
+ *
599
+ * @type {string}
600
+ * @memberof BlockoutPayloadDTO
601
+ */
602
+ 'repeatBy'?: string;
543
603
  /**
544
604
  * Name of block
545
605
  * @type {string}
@@ -2988,43 +3048,6 @@ export interface CreateCustomerPayloadDTO {
2988
3048
  */
2989
3049
  'venue': string;
2990
3050
  }
2991
- /**
2992
- *
2993
- * @export
2994
- * @interface CreateEventCollaborator
2995
- */
2996
- export interface CreateEventCollaborator {
2997
- /**
2998
- * The unique identifier of the customer
2999
- * @type {string}
3000
- * @memberof CreateEventCollaborator
3001
- */
3002
- '_id'?: string;
3003
- /**
3004
- * The name of the customer
3005
- * @type {string}
3006
- * @memberof CreateEventCollaborator
3007
- */
3008
- 'name'?: string;
3009
- /**
3010
- * The mobile phone number of the customer
3011
- * @type {string}
3012
- * @memberof CreateEventCollaborator
3013
- */
3014
- 'mobile'?: string;
3015
- /**
3016
- * The email address of the customer
3017
- * @type {string}
3018
- * @memberof CreateEventCollaborator
3019
- */
3020
- 'email'?: string;
3021
- /**
3022
- * The goodayId for the customer
3023
- * @type {string}
3024
- * @memberof CreateEventCollaborator
3025
- */
3026
- 'goodayId'?: string;
3027
- }
3028
3051
  /**
3029
3052
  *
3030
3053
  * @export
@@ -3113,6 +3136,30 @@ export interface CreateEventPayloadDTO {
3113
3136
  * @memberof CreateEventPayloadDTO
3114
3137
  */
3115
3138
  'repeat': CreateEventPayloadDTORepeatEnum;
3139
+ /**
3140
+ *
3141
+ * @type {string}
3142
+ * @memberof CreateEventPayloadDTO
3143
+ */
3144
+ 'byDay'?: string;
3145
+ /**
3146
+ *
3147
+ * @type {string}
3148
+ * @memberof CreateEventPayloadDTO
3149
+ */
3150
+ 'byMonthDay'?: string;
3151
+ /**
3152
+ *
3153
+ * @type {string}
3154
+ * @memberof CreateEventPayloadDTO
3155
+ */
3156
+ 'byMonth'?: string;
3157
+ /**
3158
+ *
3159
+ * @type {string}
3160
+ * @memberof CreateEventPayloadDTO
3161
+ */
3162
+ 'repeatBy'?: string;
3116
3163
  /**
3117
3164
  * The unique identifier of the customer
3118
3165
  * @type {string}
@@ -3644,17 +3691,23 @@ export interface EventDeleteResponseDTO {
3644
3691
  */
3645
3692
  export interface EventResponse {
3646
3693
  /**
3647
- * The unique identifier of the customer
3648
- * @type {string}
3694
+ * Is recurring event
3695
+ * @type {boolean}
3649
3696
  * @memberof EventResponse
3650
3697
  */
3651
- '_id': string;
3698
+ 'isRecurring': boolean;
3652
3699
  /**
3653
- * The title of the booking
3700
+ * Duration in minutes
3701
+ * @type {number}
3702
+ * @memberof EventResponse
3703
+ */
3704
+ 'duration': number;
3705
+ /**
3706
+ * Repeat interval for event
3654
3707
  * @type {string}
3655
3708
  * @memberof EventResponse
3656
3709
  */
3657
- 'title': string;
3710
+ 'repeat': EventResponseRepeatEnum;
3658
3711
  /**
3659
3712
  * The start date of the booking
3660
3713
  * @type {string}
@@ -3667,12 +3720,54 @@ export interface EventResponse {
3667
3720
  * @memberof EventResponse
3668
3721
  */
3669
3722
  'endDate': string;
3723
+ /**
3724
+ * Recurrence pattern
3725
+ * @type {string}
3726
+ * @memberof EventResponse
3727
+ */
3728
+ 'pattern'?: string;
3729
+ /**
3730
+ *
3731
+ * @type {string}
3732
+ * @memberof EventResponse
3733
+ */
3734
+ 'byDay'?: string;
3735
+ /**
3736
+ *
3737
+ * @type {string}
3738
+ * @memberof EventResponse
3739
+ */
3740
+ 'byMonthDay'?: string;
3741
+ /**
3742
+ *
3743
+ * @type {string}
3744
+ * @memberof EventResponse
3745
+ */
3746
+ 'byMonth'?: string;
3747
+ /**
3748
+ *
3749
+ * @type {string}
3750
+ * @memberof EventResponse
3751
+ */
3752
+ 'repeatBy'?: string;
3753
+ /**
3754
+ * The unique identifier of the customer
3755
+ * @type {string}
3756
+ * @memberof EventResponse
3757
+ */
3758
+ '_id': string;
3759
+ /**
3760
+ * The title of the booking
3761
+ * @type {string}
3762
+ * @memberof EventResponse
3763
+ */
3764
+ 'title': string;
3670
3765
  /**
3671
3766
  * Create event customer
3672
- * @type {Array<CreateEventCollaborator>}
3767
+ * @type {Array<CreateEventCollaboratorPayload>}
3673
3768
  * @memberof EventResponse
3674
3769
  */
3675
- 'collaborators': Array<CreateEventCollaborator>;
3770
+ 'collaborators': Array<CreateEventCollaboratorPayload>;
3676
3771
  /**
3677
3772
  * The user details
3678
3773
  * @type {Array<UserEntity>}
@@ -3684,7 +3779,7 @@ export interface EventResponse {
3684
3779
  * @type {string}
3685
3780
  * @memberof EventResponse
3686
3781
  */
3687
- 'note': string;
3782
+ 'notes': string;
3688
3783
  /**
3689
3784
  * Occasion id
3690
3785
  * @type {string}
@@ -3697,8 +3792,41 @@ export interface EventResponse {
3697
3792
  * @memberof EventResponse
3698
3793
  */
3699
3794
  'calendar': CalendarListResponse;
3795
+ /**
3796
+ * Location details
3797
+ * @type {LocationDTO}
3798
+ * @memberof EventResponse
3799
+ */
3800
+ 'location': LocationDTO;
3801
+ /**
3802
+ * The user details
3803
+ * @type {UserEntity}
3804
+ * @memberof EventResponse
3805
+ */
3806
+ 'createdBy': UserEntity;
3807
+ /**
3808
+ * Booking Icon
3809
+ * @type {string}
3810
+ * @memberof EventResponse
3811
+ */
3812
+ 'icon': string;
3813
+ /**
3814
+ * Event images
3815
+ * @type {Array<string>}
3816
+ * @memberof EventResponse
3817
+ */
3818
+ 'images': Array<string>;
3700
3819
  }
3701
3820
 
3821
+ export const EventResponseRepeatEnum = {
3822
+ None: 'NONE',
3823
+ Daily: 'DAILY',
3824
+ Weekly: 'WEEKLY',
3825
+ Monthly: 'MONTHLY',
3826
+ Year: 'YEAR'
3827
+ } as const;
3828
+
3829
+ export type EventResponseRepeatEnum = typeof EventResponseRepeatEnum[keyof typeof EventResponseRepeatEnum];
3702
3830
  export const EventResponseStatusEnum = {
3703
3831
  Confirmed: 'CONFIRMED',
3704
3832
  Unconfirmed: 'UNCONFIRMED',
@@ -4063,6 +4191,52 @@ export interface FindWaitlistResponseDTO {
4063
4191
  */
4064
4192
  'data': Array<WaitlistEntity>;
4065
4193
  }
4194
+ /**
4195
+ *
4196
+ * @export
4197
+ * @interface FindWhatsOnAndPrepaidService
4198
+ */
4199
+ export interface FindWhatsOnAndPrepaidService {
4200
+ /**
4201
+ * Start date for the events
4202
+ * @type {string}
4203
+ * @memberof FindWhatsOnAndPrepaidService
4204
+ */
4205
+ 'startDate': string;
4206
+ /**
4207
+ * End date for the events
4208
+ * @type {string}
4209
+ * @memberof FindWhatsOnAndPrepaidService
4210
+ */
4211
+ 'endDate': string;
4212
+ /**
4213
+ * View
4214
+ * @type {string}
4215
+ * @memberof FindWhatsOnAndPrepaidService
4216
+ */
4217
+ 'view': FindWhatsOnAndPrepaidServiceViewEnum;
4218
+ /**
4219
+ *
4220
+ * @type {number}
4221
+ * @memberof FindWhatsOnAndPrepaidService
4222
+ */
4223
+ 'page': number;
4224
+ /**
4225
+ *
4226
+ * @type {number}
4227
+ * @memberof FindWhatsOnAndPrepaidService
4228
+ */
4229
+ 'pageSize': number;
4230
+ }
4231
+
4232
+ export const FindWhatsOnAndPrepaidServiceViewEnum = {
4233
+ Daily: 'daily',
4234
+ Weekly: 'weekly',
4235
+ Monthly: 'monthly'
4236
+ } as const;
4237
+
4238
+ export type FindWhatsOnAndPrepaidServiceViewEnum = typeof FindWhatsOnAndPrepaidServiceViewEnum[keyof typeof FindWhatsOnAndPrepaidServiceViewEnum];
4239
+
4066
4240
  /**
4067
4241
  *
4068
4242
  * @export
@@ -5141,6 +5315,7 @@ export const NotificationEntityTypeEnum = {
5141
5315
  CalendarDetailsUpdate: 'CALENDAR_DETAILS_UPDATE',
5142
5316
  CalendarRemove: 'CALENDAR_REMOVE',
5143
5317
  BookingRescheduled: 'BOOKING_RESCHEDULED',
5318
+ BookingRescheduledBusiness: 'BOOKING_RESCHEDULED_BUSINESS',
5144
5319
  EventRescheduled: 'EVENT_RESCHEDULED',
5145
5320
  DailyBriefing: 'DAILY_BRIEFING',
5146
5321
  Reminders: 'REMINDERS'
@@ -5547,6 +5722,30 @@ export interface PrepaidServiceEntity {
5547
5722
  * @memberof PrepaidServiceEntity
5548
5723
  */
5549
5724
  'pattern'?: string;
5725
+ /**
5726
+ *
5727
+ * @type {string}
5728
+ * @memberof PrepaidServiceEntity
5729
+ */
5730
+ 'byDay'?: string;
5731
+ /**
5732
+ *
5733
+ * @type {string}
5734
+ * @memberof PrepaidServiceEntity
5735
+ */
5736
+ 'byMonthDay'?: string;
5737
+ /**
5738
+ *
5739
+ * @type {string}
5740
+ * @memberof PrepaidServiceEntity
5741
+ */
5742
+ 'byMonth'?: string;
5743
+ /**
5744
+ *
5745
+ * @type {string}
5746
+ * @memberof PrepaidServiceEntity
5747
+ */
5748
+ 'repeatBy'?: string;
5550
5749
  /**
5551
5750
  * Tag id
5552
5751
  * @type {string}
@@ -5746,6 +5945,30 @@ export interface PrepaidServicePayloadDTO {
5746
5945
  * @memberof PrepaidServicePayloadDTO
5747
5946
  */
5748
5947
  'repeat': PrepaidServicePayloadDTORepeatEnum;
5948
+ /**
5949
+ *
5950
+ * @type {string}
5951
+ * @memberof PrepaidServicePayloadDTO
5952
+ */
5953
+ 'byDay'?: string;
5954
+ /**
5955
+ *
5956
+ * @type {string}
5957
+ * @memberof PrepaidServicePayloadDTO
5958
+ */
5959
+ 'byMonthDay'?: string;
5960
+ /**
5961
+ *
5962
+ * @type {string}
5963
+ * @memberof PrepaidServicePayloadDTO
5964
+ */
5965
+ 'byMonth'?: string;
5966
+ /**
5967
+ *
5968
+ * @type {string}
5969
+ * @memberof PrepaidServicePayloadDTO
5970
+ */
5971
+ 'repeatBy'?: string;
5749
5972
  /**
5750
5973
  * Service name
5751
5974
  * @type {string}
@@ -7844,6 +8067,30 @@ export interface WhatsOnEntity {
7844
8067
  * @memberof WhatsOnEntity
7845
8068
  */
7846
8069
  'pattern'?: string;
8070
+ /**
8071
+ *
8072
+ * @type {string}
8073
+ * @memberof WhatsOnEntity
8074
+ */
8075
+ 'byDay'?: string;
8076
+ /**
8077
+ *
8078
+ * @type {string}
8079
+ * @memberof WhatsOnEntity
8080
+ */
8081
+ 'byMonthDay'?: string;
8082
+ /**
8083
+ *
8084
+ * @type {string}
8085
+ * @memberof WhatsOnEntity
8086
+ */
8087
+ 'byMonth'?: string;
8088
+ /**
8089
+ *
8090
+ * @type {string}
8091
+ * @memberof WhatsOnEntity
8092
+ */
8093
+ 'repeatBy'?: string;
7847
8094
  /**
7848
8095
  * Event id
7849
8096
  * @type {string}
@@ -8196,6 +8443,30 @@ export interface WhatsOnPayloadDTO {
8196
8443
  * @memberof WhatsOnPayloadDTO
8197
8444
  */
8198
8445
  'repeat': WhatsOnPayloadDTORepeatEnum;
8446
+ /**
8447
+ *
8448
+ * @type {string}
8449
+ * @memberof WhatsOnPayloadDTO
8450
+ */
8451
+ 'byDay'?: string;
8452
+ /**
8453
+ *
8454
+ * @type {string}
8455
+ * @memberof WhatsOnPayloadDTO
8456
+ */
8457
+ 'byMonthDay'?: string;
8458
+ /**
8459
+ *
8460
+ * @type {string}
8461
+ * @memberof WhatsOnPayloadDTO
8462
+ */
8463
+ 'byMonth'?: string;
8464
+ /**
8465
+ *
8466
+ * @type {string}
8467
+ * @memberof WhatsOnPayloadDTO
8468
+ */
8469
+ 'repeatBy'?: string;
8199
8470
  /**
8200
8471
  * Event name
8201
8472
  * @type {string}
@@ -10225,6 +10496,84 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
10225
10496
  options: localVarRequestOptions,
10226
10497
  };
10227
10498
  },
10499
+ /**
10500
+ *
10501
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10502
+ * @param {*} [options] Override http request option.
10503
+ * @throws {RequiredError}
10504
+ */
10505
+ bookingControllerListPrepaidServiceBooking: async (findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10506
+ // verify required parameter 'findWhatsOnAndPrepaidService' is not null or undefined
10507
+ assertParamExists('bookingControllerListPrepaidServiceBooking', 'findWhatsOnAndPrepaidService', findWhatsOnAndPrepaidService)
10508
+ const localVarPath = `/v1/booking/prepaid-service/list`;
10509
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10510
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10511
+ let baseOptions;
10512
+ if (configuration) {
10513
+ baseOptions = configuration.baseOptions;
10514
+ }
10515
+
10516
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10517
+ const localVarHeaderParameter = {} as any;
10518
+ const localVarQueryParameter = {} as any;
10519
+
10520
+ // authentication bearer required
10521
+ // http bearer authentication required
10522
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10523
+
10524
+
10525
+
10526
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10527
+
10528
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10529
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10530
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10531
+ localVarRequestOptions.data = serializeDataIfNeeded(findWhatsOnAndPrepaidService, localVarRequestOptions, configuration)
10532
+
10533
+ return {
10534
+ url: toPathString(localVarUrlObj),
10535
+ options: localVarRequestOptions,
10536
+ };
10537
+ },
10538
+ /**
10539
+ *
10540
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10541
+ * @param {*} [options] Override http request option.
10542
+ * @throws {RequiredError}
10543
+ */
10544
+ bookingControllerListWhatsOnBooking: async (findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10545
+ // verify required parameter 'findWhatsOnAndPrepaidService' is not null or undefined
10546
+ assertParamExists('bookingControllerListWhatsOnBooking', 'findWhatsOnAndPrepaidService', findWhatsOnAndPrepaidService)
10547
+ const localVarPath = `/v1/booking/whats-on/list`;
10548
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10549
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10550
+ let baseOptions;
10551
+ if (configuration) {
10552
+ baseOptions = configuration.baseOptions;
10553
+ }
10554
+
10555
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10556
+ const localVarHeaderParameter = {} as any;
10557
+ const localVarQueryParameter = {} as any;
10558
+
10559
+ // authentication bearer required
10560
+ // http bearer authentication required
10561
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10562
+
10563
+
10564
+
10565
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10566
+
10567
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10568
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10569
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10570
+ localVarRequestOptions.data = serializeDataIfNeeded(findWhatsOnAndPrepaidService, localVarRequestOptions, configuration)
10571
+
10572
+ return {
10573
+ url: toPathString(localVarUrlObj),
10574
+ options: localVarRequestOptions,
10575
+ };
10576
+ },
10228
10577
  /**
10229
10578
  *
10230
10579
  * @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
@@ -10495,6 +10844,30 @@ export const BookingApiFp = function(configuration?: Configuration) {
10495
10844
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListCustomerBooking']?.[localVarOperationServerIndex]?.url;
10496
10845
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10497
10846
  },
10847
+ /**
10848
+ *
10849
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10850
+ * @param {*} [options] Override http request option.
10851
+ * @throws {RequiredError}
10852
+ */
10853
+ async bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
10854
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options);
10855
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10856
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListPrepaidServiceBooking']?.[localVarOperationServerIndex]?.url;
10857
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10858
+ },
10859
+ /**
10860
+ *
10861
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10862
+ * @param {*} [options] Override http request option.
10863
+ * @throws {RequiredError}
10864
+ */
10865
+ async bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
10866
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options);
10867
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10868
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListWhatsOnBooking']?.[localVarOperationServerIndex]?.url;
10869
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10870
+ },
10498
10871
  /**
10499
10872
  *
10500
10873
  * @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
@@ -10627,6 +11000,24 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
10627
11000
  bookingControllerListCustomerBooking(findCustomerBookingPayload: FindCustomerBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
10628
11001
  return localVarFp.bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(axios, basePath));
10629
11002
  },
11003
+ /**
11004
+ *
11005
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
11006
+ * @param {*} [options] Override http request option.
11007
+ * @throws {RequiredError}
11008
+ */
11009
+ bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
11010
+ return localVarFp.bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options).then((request) => request(axios, basePath));
11011
+ },
11012
+ /**
11013
+ *
11014
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
11015
+ * @param {*} [options] Override http request option.
11016
+ * @throws {RequiredError}
11017
+ */
11018
+ bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
11019
+ return localVarFp.bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options).then((request) => request(axios, basePath));
11020
+ },
10630
11021
  /**
10631
11022
  *
10632
11023
  * @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
@@ -10763,6 +11154,28 @@ export class BookingApi extends BaseAPI {
10763
11154
  return BookingApiFp(this.configuration).bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(this.axios, this.basePath));
10764
11155
  }
10765
11156
 
11157
+ /**
11158
+ *
11159
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
11160
+ * @param {*} [options] Override http request option.
11161
+ * @throws {RequiredError}
11162
+ * @memberof BookingApi
11163
+ */
11164
+ public bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig) {
11165
+ return BookingApiFp(this.configuration).bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options).then((request) => request(this.axios, this.basePath));
11166
+ }
11167
+
11168
+ /**
11169
+ *
11170
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
11171
+ * @param {*} [options] Override http request option.
11172
+ * @throws {RequiredError}
11173
+ * @memberof BookingApi
11174
+ */
11175
+ public bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig) {
11176
+ return BookingApiFp(this.configuration).bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options).then((request) => request(this.axios, this.basePath));
11177
+ }
11178
+
10766
11179
  /**
10767
11180
  *
10768
11181
  * @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.3.19",
3
+ "version": "1.3.21",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},