@gooday_corp/gooday-api-client 1.3.18 → 1.3.20

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 +363 -0
  2. package/package.json +1 -1
package/api.ts CHANGED
@@ -468,6 +468,30 @@ export interface BlockoutEntity {
468
468
  * @memberof BlockoutEntity
469
469
  */
470
470
  'pattern'?: string;
471
+ /**
472
+ *
473
+ * @type {string}
474
+ * @memberof BlockoutEntity
475
+ */
476
+ 'byDay'?: string;
477
+ /**
478
+ *
479
+ * @type {string}
480
+ * @memberof BlockoutEntity
481
+ */
482
+ 'byMonthDay'?: string;
483
+ /**
484
+ *
485
+ * @type {string}
486
+ * @memberof BlockoutEntity
487
+ */
488
+ 'byMonth'?: string;
489
+ /**
490
+ *
491
+ * @type {string}
492
+ * @memberof BlockoutEntity
493
+ */
494
+ 'repeatBy'?: string;
471
495
  /**
472
496
  * Event id
473
497
  * @type {string}
@@ -540,6 +564,30 @@ export interface BlockoutPayloadDTO {
540
564
  * @memberof BlockoutPayloadDTO
541
565
  */
542
566
  'repeat': BlockoutPayloadDTORepeatEnum;
567
+ /**
568
+ *
569
+ * @type {string}
570
+ * @memberof BlockoutPayloadDTO
571
+ */
572
+ 'byDay'?: string;
573
+ /**
574
+ *
575
+ * @type {string}
576
+ * @memberof BlockoutPayloadDTO
577
+ */
578
+ 'byMonthDay'?: string;
579
+ /**
580
+ *
581
+ * @type {string}
582
+ * @memberof BlockoutPayloadDTO
583
+ */
584
+ 'byMonth'?: string;
585
+ /**
586
+ *
587
+ * @type {string}
588
+ * @memberof BlockoutPayloadDTO
589
+ */
590
+ 'repeatBy'?: string;
543
591
  /**
544
592
  * Name of block
545
593
  * @type {string}
@@ -3113,6 +3161,30 @@ export interface CreateEventPayloadDTO {
3113
3161
  * @memberof CreateEventPayloadDTO
3114
3162
  */
3115
3163
  'repeat': CreateEventPayloadDTORepeatEnum;
3164
+ /**
3165
+ *
3166
+ * @type {string}
3167
+ * @memberof CreateEventPayloadDTO
3168
+ */
3169
+ 'byDay'?: string;
3170
+ /**
3171
+ *
3172
+ * @type {string}
3173
+ * @memberof CreateEventPayloadDTO
3174
+ */
3175
+ 'byMonthDay'?: string;
3176
+ /**
3177
+ *
3178
+ * @type {string}
3179
+ * @memberof CreateEventPayloadDTO
3180
+ */
3181
+ 'byMonth'?: string;
3182
+ /**
3183
+ *
3184
+ * @type {string}
3185
+ * @memberof CreateEventPayloadDTO
3186
+ */
3187
+ 'repeatBy'?: string;
3116
3188
  /**
3117
3189
  * The unique identifier of the customer
3118
3190
  * @type {string}
@@ -4063,6 +4135,52 @@ export interface FindWaitlistResponseDTO {
4063
4135
  */
4064
4136
  'data': Array<WaitlistEntity>;
4065
4137
  }
4138
+ /**
4139
+ *
4140
+ * @export
4141
+ * @interface FindWhatsOnAndPrepaidService
4142
+ */
4143
+ export interface FindWhatsOnAndPrepaidService {
4144
+ /**
4145
+ * Start date for the events
4146
+ * @type {string}
4147
+ * @memberof FindWhatsOnAndPrepaidService
4148
+ */
4149
+ 'startDate': string;
4150
+ /**
4151
+ * End date for the events
4152
+ * @type {string}
4153
+ * @memberof FindWhatsOnAndPrepaidService
4154
+ */
4155
+ 'endDate': string;
4156
+ /**
4157
+ * View
4158
+ * @type {string}
4159
+ * @memberof FindWhatsOnAndPrepaidService
4160
+ */
4161
+ 'view': FindWhatsOnAndPrepaidServiceViewEnum;
4162
+ /**
4163
+ *
4164
+ * @type {number}
4165
+ * @memberof FindWhatsOnAndPrepaidService
4166
+ */
4167
+ 'page': number;
4168
+ /**
4169
+ *
4170
+ * @type {number}
4171
+ * @memberof FindWhatsOnAndPrepaidService
4172
+ */
4173
+ 'pageSize': number;
4174
+ }
4175
+
4176
+ export const FindWhatsOnAndPrepaidServiceViewEnum = {
4177
+ Daily: 'daily',
4178
+ Weekly: 'weekly',
4179
+ Monthly: 'monthly'
4180
+ } as const;
4181
+
4182
+ export type FindWhatsOnAndPrepaidServiceViewEnum = typeof FindWhatsOnAndPrepaidServiceViewEnum[keyof typeof FindWhatsOnAndPrepaidServiceViewEnum];
4183
+
4066
4184
  /**
4067
4185
  *
4068
4186
  * @export
@@ -4842,6 +4960,12 @@ export interface MutualFindFriendRequestPayload {
4842
4960
  * @memberof MutualFindFriendRequestPayload
4843
4961
  */
4844
4962
  'calendar'?: string;
4963
+ /**
4964
+ *
4965
+ * @type {string}
4966
+ * @memberof MutualFindFriendRequestPayload
4967
+ */
4968
+ 'user'?: string;
4845
4969
  /**
4846
4970
  *
4847
4971
  * @type {number}
@@ -5135,6 +5259,7 @@ export const NotificationEntityTypeEnum = {
5135
5259
  CalendarDetailsUpdate: 'CALENDAR_DETAILS_UPDATE',
5136
5260
  CalendarRemove: 'CALENDAR_REMOVE',
5137
5261
  BookingRescheduled: 'BOOKING_RESCHEDULED',
5262
+ BookingRescheduledBusiness: 'BOOKING_RESCHEDULED_BUSINESS',
5138
5263
  EventRescheduled: 'EVENT_RESCHEDULED',
5139
5264
  DailyBriefing: 'DAILY_BRIEFING',
5140
5265
  Reminders: 'REMINDERS'
@@ -5541,6 +5666,30 @@ export interface PrepaidServiceEntity {
5541
5666
  * @memberof PrepaidServiceEntity
5542
5667
  */
5543
5668
  'pattern'?: string;
5669
+ /**
5670
+ *
5671
+ * @type {string}
5672
+ * @memberof PrepaidServiceEntity
5673
+ */
5674
+ 'byDay'?: string;
5675
+ /**
5676
+ *
5677
+ * @type {string}
5678
+ * @memberof PrepaidServiceEntity
5679
+ */
5680
+ 'byMonthDay'?: string;
5681
+ /**
5682
+ *
5683
+ * @type {string}
5684
+ * @memberof PrepaidServiceEntity
5685
+ */
5686
+ 'byMonth'?: string;
5687
+ /**
5688
+ *
5689
+ * @type {string}
5690
+ * @memberof PrepaidServiceEntity
5691
+ */
5692
+ 'repeatBy'?: string;
5544
5693
  /**
5545
5694
  * Tag id
5546
5695
  * @type {string}
@@ -5740,6 +5889,30 @@ export interface PrepaidServicePayloadDTO {
5740
5889
  * @memberof PrepaidServicePayloadDTO
5741
5890
  */
5742
5891
  'repeat': PrepaidServicePayloadDTORepeatEnum;
5892
+ /**
5893
+ *
5894
+ * @type {string}
5895
+ * @memberof PrepaidServicePayloadDTO
5896
+ */
5897
+ 'byDay'?: string;
5898
+ /**
5899
+ *
5900
+ * @type {string}
5901
+ * @memberof PrepaidServicePayloadDTO
5902
+ */
5903
+ 'byMonthDay'?: string;
5904
+ /**
5905
+ *
5906
+ * @type {string}
5907
+ * @memberof PrepaidServicePayloadDTO
5908
+ */
5909
+ 'byMonth'?: string;
5910
+ /**
5911
+ *
5912
+ * @type {string}
5913
+ * @memberof PrepaidServicePayloadDTO
5914
+ */
5915
+ 'repeatBy'?: string;
5743
5916
  /**
5744
5917
  * Service name
5745
5918
  * @type {string}
@@ -7838,6 +8011,30 @@ export interface WhatsOnEntity {
7838
8011
  * @memberof WhatsOnEntity
7839
8012
  */
7840
8013
  'pattern'?: string;
8014
+ /**
8015
+ *
8016
+ * @type {string}
8017
+ * @memberof WhatsOnEntity
8018
+ */
8019
+ 'byDay'?: string;
8020
+ /**
8021
+ *
8022
+ * @type {string}
8023
+ * @memberof WhatsOnEntity
8024
+ */
8025
+ 'byMonthDay'?: string;
8026
+ /**
8027
+ *
8028
+ * @type {string}
8029
+ * @memberof WhatsOnEntity
8030
+ */
8031
+ 'byMonth'?: string;
8032
+ /**
8033
+ *
8034
+ * @type {string}
8035
+ * @memberof WhatsOnEntity
8036
+ */
8037
+ 'repeatBy'?: string;
7841
8038
  /**
7842
8039
  * Event id
7843
8040
  * @type {string}
@@ -8190,6 +8387,30 @@ export interface WhatsOnPayloadDTO {
8190
8387
  * @memberof WhatsOnPayloadDTO
8191
8388
  */
8192
8389
  'repeat': WhatsOnPayloadDTORepeatEnum;
8390
+ /**
8391
+ *
8392
+ * @type {string}
8393
+ * @memberof WhatsOnPayloadDTO
8394
+ */
8395
+ 'byDay'?: string;
8396
+ /**
8397
+ *
8398
+ * @type {string}
8399
+ * @memberof WhatsOnPayloadDTO
8400
+ */
8401
+ 'byMonthDay'?: string;
8402
+ /**
8403
+ *
8404
+ * @type {string}
8405
+ * @memberof WhatsOnPayloadDTO
8406
+ */
8407
+ 'byMonth'?: string;
8408
+ /**
8409
+ *
8410
+ * @type {string}
8411
+ * @memberof WhatsOnPayloadDTO
8412
+ */
8413
+ 'repeatBy'?: string;
8193
8414
  /**
8194
8415
  * Event name
8195
8416
  * @type {string}
@@ -10219,6 +10440,84 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
10219
10440
  options: localVarRequestOptions,
10220
10441
  };
10221
10442
  },
10443
+ /**
10444
+ *
10445
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10446
+ * @param {*} [options] Override http request option.
10447
+ * @throws {RequiredError}
10448
+ */
10449
+ bookingControllerListPrepaidServiceBooking: async (findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10450
+ // verify required parameter 'findWhatsOnAndPrepaidService' is not null or undefined
10451
+ assertParamExists('bookingControllerListPrepaidServiceBooking', 'findWhatsOnAndPrepaidService', findWhatsOnAndPrepaidService)
10452
+ const localVarPath = `/v1/booking/prepaid-service/list`;
10453
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10454
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10455
+ let baseOptions;
10456
+ if (configuration) {
10457
+ baseOptions = configuration.baseOptions;
10458
+ }
10459
+
10460
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10461
+ const localVarHeaderParameter = {} as any;
10462
+ const localVarQueryParameter = {} as any;
10463
+
10464
+ // authentication bearer required
10465
+ // http bearer authentication required
10466
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10467
+
10468
+
10469
+
10470
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10471
+
10472
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10473
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10474
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10475
+ localVarRequestOptions.data = serializeDataIfNeeded(findWhatsOnAndPrepaidService, localVarRequestOptions, configuration)
10476
+
10477
+ return {
10478
+ url: toPathString(localVarUrlObj),
10479
+ options: localVarRequestOptions,
10480
+ };
10481
+ },
10482
+ /**
10483
+ *
10484
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10485
+ * @param {*} [options] Override http request option.
10486
+ * @throws {RequiredError}
10487
+ */
10488
+ bookingControllerListWhatsOnBooking: async (findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10489
+ // verify required parameter 'findWhatsOnAndPrepaidService' is not null or undefined
10490
+ assertParamExists('bookingControllerListWhatsOnBooking', 'findWhatsOnAndPrepaidService', findWhatsOnAndPrepaidService)
10491
+ const localVarPath = `/v1/booking/whats-on/list`;
10492
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10493
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10494
+ let baseOptions;
10495
+ if (configuration) {
10496
+ baseOptions = configuration.baseOptions;
10497
+ }
10498
+
10499
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10500
+ const localVarHeaderParameter = {} as any;
10501
+ const localVarQueryParameter = {} as any;
10502
+
10503
+ // authentication bearer required
10504
+ // http bearer authentication required
10505
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10506
+
10507
+
10508
+
10509
+ localVarHeaderParameter['Content-Type'] = 'application/json';
10510
+
10511
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10512
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10513
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10514
+ localVarRequestOptions.data = serializeDataIfNeeded(findWhatsOnAndPrepaidService, localVarRequestOptions, configuration)
10515
+
10516
+ return {
10517
+ url: toPathString(localVarUrlObj),
10518
+ options: localVarRequestOptions,
10519
+ };
10520
+ },
10222
10521
  /**
10223
10522
  *
10224
10523
  * @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
@@ -10489,6 +10788,30 @@ export const BookingApiFp = function(configuration?: Configuration) {
10489
10788
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListCustomerBooking']?.[localVarOperationServerIndex]?.url;
10490
10789
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10491
10790
  },
10791
+ /**
10792
+ *
10793
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10794
+ * @param {*} [options] Override http request option.
10795
+ * @throws {RequiredError}
10796
+ */
10797
+ async bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
10798
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options);
10799
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10800
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListPrepaidServiceBooking']?.[localVarOperationServerIndex]?.url;
10801
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10802
+ },
10803
+ /**
10804
+ *
10805
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10806
+ * @param {*} [options] Override http request option.
10807
+ * @throws {RequiredError}
10808
+ */
10809
+ async bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
10810
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options);
10811
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10812
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerListWhatsOnBooking']?.[localVarOperationServerIndex]?.url;
10813
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10814
+ },
10492
10815
  /**
10493
10816
  *
10494
10817
  * @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
@@ -10621,6 +10944,24 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
10621
10944
  bookingControllerListCustomerBooking(findCustomerBookingPayload: FindCustomerBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
10622
10945
  return localVarFp.bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(axios, basePath));
10623
10946
  },
10947
+ /**
10948
+ *
10949
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10950
+ * @param {*} [options] Override http request option.
10951
+ * @throws {RequiredError}
10952
+ */
10953
+ bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
10954
+ return localVarFp.bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options).then((request) => request(axios, basePath));
10955
+ },
10956
+ /**
10957
+ *
10958
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
10959
+ * @param {*} [options] Override http request option.
10960
+ * @throws {RequiredError}
10961
+ */
10962
+ bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
10963
+ return localVarFp.bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options).then((request) => request(axios, basePath));
10964
+ },
10624
10965
  /**
10625
10966
  *
10626
10967
  * @param {RegularBookingAvailabilityPayloadDTO} regularBookingAvailabilityPayloadDTO
@@ -10757,6 +11098,28 @@ export class BookingApi extends BaseAPI {
10757
11098
  return BookingApiFp(this.configuration).bookingControllerListCustomerBooking(findCustomerBookingPayload, options).then((request) => request(this.axios, this.basePath));
10758
11099
  }
10759
11100
 
11101
+ /**
11102
+ *
11103
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
11104
+ * @param {*} [options] Override http request option.
11105
+ * @throws {RequiredError}
11106
+ * @memberof BookingApi
11107
+ */
11108
+ public bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig) {
11109
+ return BookingApiFp(this.configuration).bookingControllerListPrepaidServiceBooking(findWhatsOnAndPrepaidService, options).then((request) => request(this.axios, this.basePath));
11110
+ }
11111
+
11112
+ /**
11113
+ *
11114
+ * @param {FindWhatsOnAndPrepaidService} findWhatsOnAndPrepaidService
11115
+ * @param {*} [options] Override http request option.
11116
+ * @throws {RequiredError}
11117
+ * @memberof BookingApi
11118
+ */
11119
+ public bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService: FindWhatsOnAndPrepaidService, options?: RawAxiosRequestConfig) {
11120
+ return BookingApiFp(this.configuration).bookingControllerListWhatsOnBooking(findWhatsOnAndPrepaidService, options).then((request) => request(this.axios, this.basePath));
11121
+ }
11122
+
10760
11123
  /**
10761
11124
  *
10762
11125
  * @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.18",
3
+ "version": "1.3.20",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},