@gooday_corp/gooday-api-client 1.3.34 → 1.3.35

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.
@@ -33,6 +33,7 @@ docs/BlockoutEntity.md
33
33
  docs/BlockoutPayloadDTO.md
34
34
  docs/BlockoutResponseDTO.md
35
35
  docs/BookingApi.md
36
+ docs/BookingCollaboratorDetailResponseDTO.md
36
37
  docs/BookingConfirmPayload.md
37
38
  docs/BookingDurationEntity.md
38
39
  docs/BookingDurationListResponse.md
@@ -209,7 +210,6 @@ docs/PrepaidServiceResponseDTO.md
209
210
  docs/PriceEntity.md
210
211
  docs/PriceRangeEntity.md
211
212
  docs/PriceRangeListResponse.md
212
- docs/ProductResponseDTO.md
213
213
  docs/RegularBookingAvailabilityPayloadDTO.md
214
214
  docs/RegularBookingAvailabilityResponseDTO.md
215
215
  docs/RejectBookingInvitePayload.md
package/api.ts CHANGED
@@ -680,6 +680,25 @@ export interface BlockoutResponseDTO {
680
680
  */
681
681
  'statusCode': number;
682
682
  }
683
+ /**
684
+ *
685
+ * @export
686
+ * @interface BookingCollaboratorDetailResponseDTO
687
+ */
688
+ export interface BookingCollaboratorDetailResponseDTO {
689
+ /**
690
+ * statusCode
691
+ * @type {number}
692
+ * @memberof BookingCollaboratorDetailResponseDTO
693
+ */
694
+ 'statusCode': number;
695
+ /**
696
+ *
697
+ * @type {Array<UserEntity>}
698
+ * @memberof BookingCollaboratorDetailResponseDTO
699
+ */
700
+ 'data': Array<UserEntity>;
701
+ }
683
702
  /**
684
703
  *
685
704
  * @export
@@ -3258,11 +3277,35 @@ export type CreateEventPayloadDTORepeatEnum = typeof CreateEventPayloadDTORepeat
3258
3277
  */
3259
3278
  export interface CreatePaymentLinkDTO {
3260
3279
  /**
3261
- * Product ID
3280
+ * Currency in which the payment is made
3281
+ * @type {string}
3282
+ * @memberof CreatePaymentLinkDTO
3283
+ */
3284
+ 'currency': string;
3285
+ /**
3286
+ * Recurring interval for the payment
3262
3287
  * @type {string}
3263
3288
  * @memberof CreatePaymentLinkDTO
3264
3289
  */
3265
- 'productID': string;
3290
+ 'interval': string;
3291
+ /**
3292
+ * Amount to be charged in the smallest currency unit (e.g., cents for USD)
3293
+ * @type {number}
3294
+ * @memberof CreatePaymentLinkDTO
3295
+ */
3296
+ 'amount': number;
3297
+ /**
3298
+ * Name of the product or service for which payment is being made
3299
+ * @type {string}
3300
+ * @memberof CreatePaymentLinkDTO
3301
+ */
3302
+ 'name': string;
3303
+ /**
3304
+ * User Id
3305
+ * @type {string}
3306
+ * @memberof CreatePaymentLinkDTO
3307
+ */
3308
+ 'user': string;
3266
3309
  }
3267
3310
  /**
3268
3311
  *
@@ -6206,25 +6249,6 @@ export interface PriceRangeListResponse {
6206
6249
  */
6207
6250
  'data': Array<PriceRangeEntity>;
6208
6251
  }
6209
- /**
6210
- *
6211
- * @export
6212
- * @interface ProductResponseDTO
6213
- */
6214
- export interface ProductResponseDTO {
6215
- /**
6216
- *
6217
- * @type {object}
6218
- * @memberof ProductResponseDTO
6219
- */
6220
- 'data': object;
6221
- /**
6222
- * statusCode
6223
- * @type {number}
6224
- * @memberof ProductResponseDTO
6225
- */
6226
- 'statusCode': number;
6227
- }
6228
6252
  /**
6229
6253
  *
6230
6254
  * @export
@@ -7373,12 +7397,6 @@ export interface UserEntity {
7373
7397
  * @memberof UserEntity
7374
7398
  */
7375
7399
  'isEmailVerified': boolean;
7376
- /**
7377
- * Indicates whether the business owner subscription status
7378
- * @type {string}
7379
- * @memberof UserEntity
7380
- */
7381
- 'subscription': string;
7382
7400
  /**
7383
7401
  * Primary user calendar
7384
7402
  * @type {string}
@@ -10279,6 +10297,43 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
10279
10297
  options: localVarRequestOptions,
10280
10298
  };
10281
10299
  },
10300
+ /**
10301
+ *
10302
+ * @param {string} id
10303
+ * @param {*} [options] Override http request option.
10304
+ * @throws {RequiredError}
10305
+ */
10306
+ bookingControllerBookingCollaboratorDetail: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10307
+ // verify required parameter 'id' is not null or undefined
10308
+ assertParamExists('bookingControllerBookingCollaboratorDetail', 'id', id)
10309
+ const localVarPath = `/v1/booking/collaborator-details/{id}`
10310
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
10311
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10312
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10313
+ let baseOptions;
10314
+ if (configuration) {
10315
+ baseOptions = configuration.baseOptions;
10316
+ }
10317
+
10318
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
10319
+ const localVarHeaderParameter = {} as any;
10320
+ const localVarQueryParameter = {} as any;
10321
+
10322
+ // authentication bearer required
10323
+ // http bearer authentication required
10324
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10325
+
10326
+
10327
+
10328
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10329
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10330
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10331
+
10332
+ return {
10333
+ url: toPathString(localVarUrlObj),
10334
+ options: localVarRequestOptions,
10335
+ };
10336
+ },
10282
10337
  /**
10283
10338
  *
10284
10339
  * @param {BookingConfirmPayload} bookingConfirmPayload
@@ -10749,6 +10804,39 @@ export const BookingApiAxiosParamCreator = function (configuration?: Configurati
10749
10804
  options: localVarRequestOptions,
10750
10805
  };
10751
10806
  },
10807
+ /**
10808
+ *
10809
+ * @param {*} [options] Override http request option.
10810
+ * @throws {RequiredError}
10811
+ */
10812
+ bookingControllerTrendingEvents: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10813
+ const localVarPath = `/v1/booking/trending-events`;
10814
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10815
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10816
+ let baseOptions;
10817
+ if (configuration) {
10818
+ baseOptions = configuration.baseOptions;
10819
+ }
10820
+
10821
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
10822
+ const localVarHeaderParameter = {} as any;
10823
+ const localVarQueryParameter = {} as any;
10824
+
10825
+ // authentication bearer required
10826
+ // http bearer authentication required
10827
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
10828
+
10829
+
10830
+
10831
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10832
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10833
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
10834
+
10835
+ return {
10836
+ url: toPathString(localVarUrlObj),
10837
+ options: localVarRequestOptions,
10838
+ };
10839
+ },
10752
10840
  /**
10753
10841
  *
10754
10842
  * @param {string} id
@@ -10814,6 +10902,18 @@ export const BookingApiFp = function(configuration?: Configuration) {
10814
10902
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerAcceptBookingInvite']?.[localVarOperationServerIndex]?.url;
10815
10903
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10816
10904
  },
10905
+ /**
10906
+ *
10907
+ * @param {string} id
10908
+ * @param {*} [options] Override http request option.
10909
+ * @throws {RequiredError}
10910
+ */
10911
+ async bookingControllerBookingCollaboratorDetail(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingCollaboratorDetailResponseDTO>> {
10912
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerBookingCollaboratorDetail(id, options);
10913
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
10914
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerBookingCollaboratorDetail']?.[localVarOperationServerIndex]?.url;
10915
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10916
+ },
10817
10917
  /**
10818
10918
  *
10819
10919
  * @param {BookingConfirmPayload} bookingConfirmPayload
@@ -10959,6 +11059,17 @@ export const BookingApiFp = function(configuration?: Configuration) {
10959
11059
  const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerRescheduleBooking']?.[localVarOperationServerIndex]?.url;
10960
11060
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10961
11061
  },
11062
+ /**
11063
+ *
11064
+ * @param {*} [options] Override http request option.
11065
+ * @throws {RequiredError}
11066
+ */
11067
+ async bookingControllerTrendingEvents(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FindBookingResponseDTO>> {
11068
+ const localVarAxiosArgs = await localVarAxiosParamCreator.bookingControllerTrendingEvents(options);
11069
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11070
+ const localVarOperationServerBasePath = operationServerMap['BookingApi.bookingControllerTrendingEvents']?.[localVarOperationServerIndex]?.url;
11071
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11072
+ },
10962
11073
  /**
10963
11074
  *
10964
11075
  * @param {string} id
@@ -10991,6 +11102,15 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
10991
11102
  bookingControllerAcceptBookingInvite(acceptBookingInvitePayload: AcceptBookingInvitePayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingRequestResponseDTO> {
10992
11103
  return localVarFp.bookingControllerAcceptBookingInvite(acceptBookingInvitePayload, options).then((request) => request(axios, basePath));
10993
11104
  },
11105
+ /**
11106
+ *
11107
+ * @param {string} id
11108
+ * @param {*} [options] Override http request option.
11109
+ * @throws {RequiredError}
11110
+ */
11111
+ bookingControllerBookingCollaboratorDetail(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BookingCollaboratorDetailResponseDTO> {
11112
+ return localVarFp.bookingControllerBookingCollaboratorDetail(id, options).then((request) => request(axios, basePath));
11113
+ },
10994
11114
  /**
10995
11115
  *
10996
11116
  * @param {BookingConfirmPayload} bookingConfirmPayload
@@ -11100,6 +11220,14 @@ export const BookingApiFactory = function (configuration?: Configuration, basePa
11100
11220
  bookingControllerRescheduleBooking(id: string, rescheduleBookingPayload: RescheduleBookingPayload, options?: RawAxiosRequestConfig): AxiosPromise<BookingResponseDTO> {
11101
11221
  return localVarFp.bookingControllerRescheduleBooking(id, rescheduleBookingPayload, options).then((request) => request(axios, basePath));
11102
11222
  },
11223
+ /**
11224
+ *
11225
+ * @param {*} [options] Override http request option.
11226
+ * @throws {RequiredError}
11227
+ */
11228
+ bookingControllerTrendingEvents(options?: RawAxiosRequestConfig): AxiosPromise<FindBookingResponseDTO> {
11229
+ return localVarFp.bookingControllerTrendingEvents(options).then((request) => request(axios, basePath));
11230
+ },
11103
11231
  /**
11104
11232
  *
11105
11233
  * @param {string} id
@@ -11131,6 +11259,17 @@ export class BookingApi extends BaseAPI {
11131
11259
  return BookingApiFp(this.configuration).bookingControllerAcceptBookingInvite(acceptBookingInvitePayload, options).then((request) => request(this.axios, this.basePath));
11132
11260
  }
11133
11261
 
11262
+ /**
11263
+ *
11264
+ * @param {string} id
11265
+ * @param {*} [options] Override http request option.
11266
+ * @throws {RequiredError}
11267
+ * @memberof BookingApi
11268
+ */
11269
+ public bookingControllerBookingCollaboratorDetail(id: string, options?: RawAxiosRequestConfig) {
11270
+ return BookingApiFp(this.configuration).bookingControllerBookingCollaboratorDetail(id, options).then((request) => request(this.axios, this.basePath));
11271
+ }
11272
+
11134
11273
  /**
11135
11274
  *
11136
11275
  * @param {BookingConfirmPayload} bookingConfirmPayload
@@ -11264,6 +11403,16 @@ export class BookingApi extends BaseAPI {
11264
11403
  return BookingApiFp(this.configuration).bookingControllerRescheduleBooking(id, rescheduleBookingPayload, options).then((request) => request(this.axios, this.basePath));
11265
11404
  }
11266
11405
 
11406
+ /**
11407
+ *
11408
+ * @param {*} [options] Override http request option.
11409
+ * @throws {RequiredError}
11410
+ * @memberof BookingApi
11411
+ */
11412
+ public bookingControllerTrendingEvents(options?: RawAxiosRequestConfig) {
11413
+ return BookingApiFp(this.configuration).bookingControllerTrendingEvents(options).then((request) => request(this.axios, this.basePath));
11414
+ }
11415
+
11267
11416
  /**
11268
11417
  *
11269
11418
  * @param {string} id
@@ -11811,6 +11960,39 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
11811
11960
  options: localVarRequestOptions,
11812
11961
  };
11813
11962
  },
11963
+ /**
11964
+ *
11965
+ * @param {*} [options] Override http request option.
11966
+ * @throws {RequiredError}
11967
+ */
11968
+ businessTypeControllerHighlyRecommended: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
11969
+ const localVarPath = `/v1/business/highlyRecommended`;
11970
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
11971
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
11972
+ let baseOptions;
11973
+ if (configuration) {
11974
+ baseOptions = configuration.baseOptions;
11975
+ }
11976
+
11977
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
11978
+ const localVarHeaderParameter = {} as any;
11979
+ const localVarQueryParameter = {} as any;
11980
+
11981
+ // authentication bearer required
11982
+ // http bearer authentication required
11983
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
11984
+
11985
+
11986
+
11987
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
11988
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
11989
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
11990
+
11991
+ return {
11992
+ url: toPathString(localVarUrlObj),
11993
+ options: localVarRequestOptions,
11994
+ };
11995
+ },
11814
11996
  /**
11815
11997
  *
11816
11998
  * @param {*} [options] Override http request option.
@@ -12276,6 +12458,17 @@ export const BusinessApiFp = function(configuration?: Configuration) {
12276
12458
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
12277
12459
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12278
12460
  },
12461
+ /**
12462
+ *
12463
+ * @param {*} [options] Override http request option.
12464
+ * @throws {RequiredError}
12465
+ */
12466
+ async businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
12467
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerHighlyRecommended(options);
12468
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12469
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerHighlyRecommended']?.[localVarOperationServerIndex]?.url;
12470
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12471
+ },
12279
12472
  /**
12280
12473
  *
12281
12474
  * @param {*} [options] Override http request option.
@@ -12505,6 +12698,14 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
12505
12698
  businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
12506
12699
  return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
12507
12700
  },
12701
+ /**
12702
+ *
12703
+ * @param {*} [options] Override http request option.
12704
+ * @throws {RequiredError}
12705
+ */
12706
+ businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
12707
+ return localVarFp.businessTypeControllerHighlyRecommended(options).then((request) => request(axios, basePath));
12708
+ },
12508
12709
  /**
12509
12710
  *
12510
12711
  * @param {*} [options] Override http request option.
@@ -12738,6 +12939,16 @@ export class BusinessApi extends BaseAPI {
12738
12939
  return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
12739
12940
  }
12740
12941
 
12942
+ /**
12943
+ *
12944
+ * @param {*} [options] Override http request option.
12945
+ * @throws {RequiredError}
12946
+ * @memberof BusinessApi
12947
+ */
12948
+ public businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig) {
12949
+ return BusinessApiFp(this.configuration).businessTypeControllerHighlyRecommended(options).then((request) => request(this.axios, this.basePath));
12950
+ }
12951
+
12741
12952
  /**
12742
12953
  *
12743
12954
  * @param {*} [options] Override http request option.
@@ -17376,10 +17587,6 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
17376
17587
  const localVarHeaderParameter = {} as any;
17377
17588
  const localVarQueryParameter = {} as any;
17378
17589
 
17379
- // authentication bearer required
17380
- // http bearer authentication required
17381
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
17382
-
17383
17590
 
17384
17591
 
17385
17592
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -17505,39 +17712,6 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
17505
17712
 
17506
17713
 
17507
17714
 
17508
- setSearchParams(localVarUrlObj, localVarQueryParameter);
17509
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17510
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
17511
-
17512
- return {
17513
- url: toPathString(localVarUrlObj),
17514
- options: localVarRequestOptions,
17515
- };
17516
- },
17517
- /**
17518
- *
17519
- * @param {string} id
17520
- * @param {*} [options] Override http request option.
17521
- * @throws {RequiredError}
17522
- */
17523
- paymentControllerServiceById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
17524
- // verify required parameter 'id' is not null or undefined
17525
- assertParamExists('paymentControllerServiceById', 'id', id)
17526
- const localVarPath = `/v1/payment/stripe-plan/{id}`
17527
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
17528
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
17529
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
17530
- let baseOptions;
17531
- if (configuration) {
17532
- baseOptions = configuration.baseOptions;
17533
- }
17534
-
17535
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
17536
- const localVarHeaderParameter = {} as any;
17537
- const localVarQueryParameter = {} as any;
17538
-
17539
-
17540
-
17541
17715
  setSearchParams(localVarUrlObj, localVarQueryParameter);
17542
17716
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17543
17717
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -17709,18 +17883,6 @@ export const PlansApiFp = function(configuration?: Configuration) {
17709
17883
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
17710
17884
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17711
17885
  },
17712
- /**
17713
- *
17714
- * @param {string} id
17715
- * @param {*} [options] Override http request option.
17716
- * @throws {RequiredError}
17717
- */
17718
- async paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductResponseDTO>> {
17719
- const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerServiceById(id, options);
17720
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
17721
- const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerServiceById']?.[localVarOperationServerIndex]?.url;
17722
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
17723
- },
17724
17886
  /**
17725
17887
  *
17726
17888
  * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
@@ -17812,15 +17974,6 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
17812
17974
  paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
17813
17975
  return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
17814
17976
  },
17815
- /**
17816
- *
17817
- * @param {string} id
17818
- * @param {*} [options] Override http request option.
17819
- * @throws {RequiredError}
17820
- */
17821
- paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductResponseDTO> {
17822
- return localVarFp.paymentControllerServiceById(id, options).then((request) => request(axios, basePath));
17823
- },
17824
17977
  /**
17825
17978
  *
17826
17979
  * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
@@ -17920,17 +18073,6 @@ export class PlansApi extends BaseAPI {
17920
18073
  return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
17921
18074
  }
17922
18075
 
17923
- /**
17924
- *
17925
- * @param {string} id
17926
- * @param {*} [options] Override http request option.
17927
- * @throws {RequiredError}
17928
- * @memberof PlansApi
17929
- */
17930
- public paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig) {
17931
- return PlansApiFp(this.configuration).paymentControllerServiceById(id, options).then((request) => request(this.axios, this.basePath));
17932
- }
17933
-
17934
18076
  /**
17935
18077
  *
17936
18078
  * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
@@ -21645,6 +21787,72 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
21645
21787
  options: localVarRequestOptions,
21646
21788
  };
21647
21789
  },
21790
+ /**
21791
+ *
21792
+ * @param {*} [options] Override http request option.
21793
+ * @throws {RequiredError}
21794
+ */
21795
+ whatsOnControllerPromotions: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21796
+ const localVarPath = `/v1/whats-on/promotion`;
21797
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21798
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21799
+ let baseOptions;
21800
+ if (configuration) {
21801
+ baseOptions = configuration.baseOptions;
21802
+ }
21803
+
21804
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
21805
+ const localVarHeaderParameter = {} as any;
21806
+ const localVarQueryParameter = {} as any;
21807
+
21808
+ // authentication bearer required
21809
+ // http bearer authentication required
21810
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
21811
+
21812
+
21813
+
21814
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21815
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21816
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21817
+
21818
+ return {
21819
+ url: toPathString(localVarUrlObj),
21820
+ options: localVarRequestOptions,
21821
+ };
21822
+ },
21823
+ /**
21824
+ *
21825
+ * @param {*} [options] Override http request option.
21826
+ * @throws {RequiredError}
21827
+ */
21828
+ whatsOnControllerSponsored: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21829
+ const localVarPath = `/v1/whats-on/sponsored`;
21830
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
21831
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
21832
+ let baseOptions;
21833
+ if (configuration) {
21834
+ baseOptions = configuration.baseOptions;
21835
+ }
21836
+
21837
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
21838
+ const localVarHeaderParameter = {} as any;
21839
+ const localVarQueryParameter = {} as any;
21840
+
21841
+ // authentication bearer required
21842
+ // http bearer authentication required
21843
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
21844
+
21845
+
21846
+
21847
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
21848
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
21849
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
21850
+
21851
+ return {
21852
+ url: toPathString(localVarUrlObj),
21853
+ options: localVarRequestOptions,
21854
+ };
21855
+ },
21648
21856
  /**
21649
21857
  *
21650
21858
  * @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
@@ -21775,7 +21983,7 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
21775
21983
  whatsOnControllerWhatsOnById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
21776
21984
  // verify required parameter 'id' is not null or undefined
21777
21985
  assertParamExists('whatsOnControllerWhatsOnById', 'id', id)
21778
- const localVarPath = `/v1/whats-on/{id}`
21986
+ const localVarPath = `/v1/whats-on/details/{id}`
21779
21987
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
21780
21988
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
21781
21989
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -21910,6 +22118,28 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
21910
22118
  const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerMarkFavoriteWhatsOn']?.[localVarOperationServerIndex]?.url;
21911
22119
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
21912
22120
  },
22121
+ /**
22122
+ *
22123
+ * @param {*} [options] Override http request option.
22124
+ * @throws {RequiredError}
22125
+ */
22126
+ async whatsOnControllerPromotions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
22127
+ const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerPromotions(options);
22128
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22129
+ const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerPromotions']?.[localVarOperationServerIndex]?.url;
22130
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22131
+ },
22132
+ /**
22133
+ *
22134
+ * @param {*} [options] Override http request option.
22135
+ * @throws {RequiredError}
22136
+ */
22137
+ async whatsOnControllerSponsored(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
22138
+ const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerSponsored(options);
22139
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22140
+ const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerSponsored']?.[localVarOperationServerIndex]?.url;
22141
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22142
+ },
21913
22143
  /**
21914
22144
  *
21915
22145
  * @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
@@ -22042,6 +22272,22 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
22042
22272
  whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO: WhatsOnFavoriteDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteResponse> {
22043
22273
  return localVarFp.whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO, options).then((request) => request(axios, basePath));
22044
22274
  },
22275
+ /**
22276
+ *
22277
+ * @param {*} [options] Override http request option.
22278
+ * @throws {RequiredError}
22279
+ */
22280
+ whatsOnControllerPromotions(options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
22281
+ return localVarFp.whatsOnControllerPromotions(options).then((request) => request(axios, basePath));
22282
+ },
22283
+ /**
22284
+ *
22285
+ * @param {*} [options] Override http request option.
22286
+ * @throws {RequiredError}
22287
+ */
22288
+ whatsOnControllerSponsored(options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
22289
+ return localVarFp.whatsOnControllerSponsored(options).then((request) => request(axios, basePath));
22290
+ },
22045
22291
  /**
22046
22292
  *
22047
22293
  * @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
@@ -22178,6 +22424,26 @@ export class WhatsOnApi extends BaseAPI {
22178
22424
  return WhatsOnApiFp(this.configuration).whatsOnControllerMarkFavoriteWhatsOn(whatsOnFavoriteDTO, options).then((request) => request(this.axios, this.basePath));
22179
22425
  }
22180
22426
 
22427
+ /**
22428
+ *
22429
+ * @param {*} [options] Override http request option.
22430
+ * @throws {RequiredError}
22431
+ * @memberof WhatsOnApi
22432
+ */
22433
+ public whatsOnControllerPromotions(options?: RawAxiosRequestConfig) {
22434
+ return WhatsOnApiFp(this.configuration).whatsOnControllerPromotions(options).then((request) => request(this.axios, this.basePath));
22435
+ }
22436
+
22437
+ /**
22438
+ *
22439
+ * @param {*} [options] Override http request option.
22440
+ * @throws {RequiredError}
22441
+ * @memberof WhatsOnApi
22442
+ */
22443
+ public whatsOnControllerSponsored(options?: RawAxiosRequestConfig) {
22444
+ return WhatsOnApiFp(this.configuration).whatsOnControllerSponsored(options).then((request) => request(this.axios, this.basePath));
22445
+ }
22446
+
22181
22447
  /**
22182
22448
  *
22183
22449
  * @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
@@ -5,6 +5,7 @@ All URIs are relative to *http://localhost:8080*
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
7
  |[**bookingControllerAcceptBookingInvite**](#bookingcontrolleracceptbookinginvite) | **POST** /v1/booking/accept | |
8
+ |[**bookingControllerBookingCollaboratorDetail**](#bookingcontrollerbookingcollaboratordetail) | **GET** /v1/booking/collaborator-details/{id} | |
8
9
  |[**bookingControllerBookingConfirmation**](#bookingcontrollerbookingconfirmation) | **POST** /v1/booking/confirmation | |
9
10
  |[**bookingControllerCancelBooking**](#bookingcontrollercancelbooking) | **POST** /v1/booking/cancel-booking | |
10
11
  |[**bookingControllerCreateBooking**](#bookingcontrollercreatebooking) | **POST** /v1/booking | |
@@ -17,6 +18,7 @@ All URIs are relative to *http://localhost:8080*
17
18
  |[**bookingControllerRegularBookingAvailability**](#bookingcontrollerregularbookingavailability) | **POST** /v1/booking/availability | |
18
19
  |[**bookingControllerRejectBookingInvite**](#bookingcontrollerrejectbookinginvite) | **POST** /v1/booking/reject | |
19
20
  |[**bookingControllerRescheduleBooking**](#bookingcontrollerreschedulebooking) | **PUT** /v1/booking/reschedule/{id} | |
21
+ |[**bookingControllerTrendingEvents**](#bookingcontrollertrendingevents) | **POST** /v1/booking/trending-events | |
20
22
  |[**bookingControllerUpdateBooking**](#bookingcontrollerupdatebooking) | **PUT** /v1/booking/{id} | |
21
23
 
22
24
  # **bookingControllerAcceptBookingInvite**
@@ -70,6 +72,56 @@ const { status, data } = await apiInstance.bookingControllerAcceptBookingInvite(
70
72
 
71
73
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
72
74
 
75
+ # **bookingControllerBookingCollaboratorDetail**
76
+ > BookingCollaboratorDetailResponseDTO bookingControllerBookingCollaboratorDetail()
77
+
78
+
79
+ ### Example
80
+
81
+ ```typescript
82
+ import {
83
+ BookingApi,
84
+ Configuration
85
+ } from './api';
86
+
87
+ const configuration = new Configuration();
88
+ const apiInstance = new BookingApi(configuration);
89
+
90
+ let id: string; // (default to undefined)
91
+
92
+ const { status, data } = await apiInstance.bookingControllerBookingCollaboratorDetail(
93
+ id
94
+ );
95
+ ```
96
+
97
+ ### Parameters
98
+
99
+ |Name | Type | Description | Notes|
100
+ |------------- | ------------- | ------------- | -------------|
101
+ | **id** | [**string**] | | defaults to undefined|
102
+
103
+
104
+ ### Return type
105
+
106
+ **BookingCollaboratorDetailResponseDTO**
107
+
108
+ ### Authorization
109
+
110
+ [bearer](../README.md#bearer)
111
+
112
+ ### HTTP request headers
113
+
114
+ - **Content-Type**: Not defined
115
+ - **Accept**: application/json
116
+
117
+
118
+ ### HTTP response details
119
+ | Status code | Description | Response headers |
120
+ |-------------|-------------|------------------|
121
+ |**200** | | - |
122
+
123
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
124
+
73
125
  # **bookingControllerBookingConfirmation**
74
126
  > CustomerBookingResponseDTO bookingControllerBookingConfirmation(bookingConfirmPayload)
75
127
 
@@ -684,6 +736,49 @@ const { status, data } = await apiInstance.bookingControllerRescheduleBooking(
684
736
 
685
737
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
686
738
 
739
+ # **bookingControllerTrendingEvents**
740
+ > FindBookingResponseDTO bookingControllerTrendingEvents()
741
+
742
+
743
+ ### Example
744
+
745
+ ```typescript
746
+ import {
747
+ BookingApi,
748
+ Configuration
749
+ } from './api';
750
+
751
+ const configuration = new Configuration();
752
+ const apiInstance = new BookingApi(configuration);
753
+
754
+ const { status, data } = await apiInstance.bookingControllerTrendingEvents();
755
+ ```
756
+
757
+ ### Parameters
758
+ This endpoint does not have any parameters.
759
+
760
+
761
+ ### Return type
762
+
763
+ **FindBookingResponseDTO**
764
+
765
+ ### Authorization
766
+
767
+ [bearer](../README.md#bearer)
768
+
769
+ ### HTTP request headers
770
+
771
+ - **Content-Type**: Not defined
772
+ - **Accept**: application/json
773
+
774
+
775
+ ### HTTP response details
776
+ | Status code | Description | Response headers |
777
+ |-------------|-------------|------------------|
778
+ |**200** | | - |
779
+
780
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
781
+
687
782
  # **bookingControllerUpdateBooking**
688
783
  > BookingResponseDTO bookingControllerUpdateBooking(createBookingPayload)
689
784
 
@@ -1,21 +1,21 @@
1
- # ProductResponseDTO
1
+ # BookingCollaboratorDetailResponseDTO
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **data** | **object** | | [default to undefined]
9
8
  **statusCode** | **number** | statusCode | [default to undefined]
9
+ **data** | [**Array&lt;UserEntity&gt;**](UserEntity.md) | | [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
13
13
  ```typescript
14
- import { ProductResponseDTO } from './api';
14
+ import { BookingCollaboratorDetailResponseDTO } from './api';
15
15
 
16
- const instance: ProductResponseDTO = {
17
- data,
16
+ const instance: BookingCollaboratorDetailResponseDTO = {
18
17
  statusCode,
18
+ data,
19
19
  };
20
20
  ```
21
21
 
@@ -18,6 +18,7 @@ All URIs are relative to *http://localhost:8080*
18
18
  |[**businessTypeControllerFindFavoriteBusinessVenueCount**](#businesstypecontrollerfindfavoritebusinessvenuecount) | **GET** /v1/business/favorite/count/{id} | |
19
19
  |[**businessTypeControllerFindFriendsFavoriteBusinessVenueList**](#businesstypecontrollerfindfriendsfavoritebusinessvenuelist) | **POST** /v1/business/friends/favorite | |
20
20
  |[**businessTypeControllerGetBusinessVenue**](#businesstypecontrollergetbusinessvenue) | **POST** /v1/business/business-venue | |
21
+ |[**businessTypeControllerHighlyRecommended**](#businesstypecontrollerhighlyrecommended) | **GET** /v1/business/highlyRecommended | |
21
22
  |[**businessTypeControllerListBookingDurations**](#businesstypecontrollerlistbookingdurations) | **GET** /v1/business/booking-durations | |
22
23
  |[**businessTypeControllerListBusinessType**](#businesstypecontrollerlistbusinesstype) | **GET** /v1/business/list{favorite} | |
23
24
  |[**businessTypeControllerListCategories**](#businesstypecontrollerlistcategories) | **GET** /v1/business/{businessTypeId}/categories | |
@@ -719,6 +720,49 @@ const { status, data } = await apiInstance.businessTypeControllerGetBusinessVenu
719
720
  - **Accept**: application/json
720
721
 
721
722
 
723
+ ### HTTP response details
724
+ | Status code | Description | Response headers |
725
+ |-------------|-------------|------------------|
726
+ |**200** | | - |
727
+
728
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
729
+
730
+ # **businessTypeControllerHighlyRecommended**
731
+ > CategoryListResponse businessTypeControllerHighlyRecommended()
732
+
733
+
734
+ ### Example
735
+
736
+ ```typescript
737
+ import {
738
+ BusinessApi,
739
+ Configuration
740
+ } from './api';
741
+
742
+ const configuration = new Configuration();
743
+ const apiInstance = new BusinessApi(configuration);
744
+
745
+ const { status, data } = await apiInstance.businessTypeControllerHighlyRecommended();
746
+ ```
747
+
748
+ ### Parameters
749
+ This endpoint does not have any parameters.
750
+
751
+
752
+ ### Return type
753
+
754
+ **CategoryListResponse**
755
+
756
+ ### Authorization
757
+
758
+ [bearer](../README.md#bearer)
759
+
760
+ ### HTTP request headers
761
+
762
+ - **Content-Type**: Not defined
763
+ - **Accept**: application/json
764
+
765
+
722
766
  ### HTTP response details
723
767
  | Status code | Description | Response headers |
724
768
  |-------------|-------------|------------------|
@@ -6,7 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **title** | **string** | The title of the booking | [default to 'Default Booking Title']
9
- **date** | **string** | The start date of the booking | [default to 2025-04-28T15:49:21+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-04-28T12:25:19Z]
10
10
  **from** | **string** | | [optional] [default to undefined]
11
11
  **to** | **string** | | [optional] [default to undefined]
12
12
  **venue** | **string** | The venue of the booking | [default to undefined]
@@ -5,7 +5,11 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **productID** | **string** | Product ID | [default to undefined]
8
+ **currency** | **string** | Currency in which the payment is made | [default to undefined]
9
+ **interval** | **string** | Recurring interval for the payment | [default to undefined]
10
+ **amount** | **number** | Amount to be charged in the smallest currency unit (e.g., cents for USD) | [default to undefined]
11
+ **name** | **string** | Name of the product or service for which payment is being made | [default to undefined]
12
+ **user** | **string** | User Id | [default to undefined]
9
13
 
10
14
  ## Example
11
15
 
@@ -13,7 +17,11 @@ Name | Type | Description | Notes
13
17
  import { CreatePaymentLinkDTO } from './api';
14
18
 
15
19
  const instance: CreatePaymentLinkDTO = {
16
- productID,
20
+ currency,
21
+ interval,
22
+ amount,
23
+ name,
24
+ user,
17
25
  };
18
26
  ```
19
27
 
package/docs/PlansApi.md CHANGED
@@ -11,7 +11,6 @@ All URIs are relative to *http://localhost:8080*
11
11
  |[**paymentControllerGetPlans**](#paymentcontrollergetplans) | **GET** /v1/payment/plans | |
12
12
  |[**paymentControllerRetrieveConnectedAccount**](#paymentcontrollerretrieveconnectedaccount) | **GET** /v1/payment/connected-account | |
13
13
  |[**paymentControllerRevenueCatWebhook**](#paymentcontrollerrevenuecatwebhook) | **POST** /v1/payment/revenuecat-webhook | |
14
- |[**paymentControllerServiceById**](#paymentcontrollerservicebyid) | **GET** /v1/payment/stripe-plan/{id} | |
15
14
  |[**paymentControllerSetupBookingPayment**](#paymentcontrollersetupbookingpayment) | **POST** /v1/payment/booking | |
16
15
  |[**paymentControllerStripeWebhook**](#paymentcontrollerstripewebhook) | **POST** /v1/payment/stripe-webhook | |
17
16
 
@@ -137,7 +136,7 @@ void (empty response body)
137
136
 
138
137
  ### Authorization
139
138
 
140
- [bearer](../README.md#bearer)
139
+ No authorization required
141
140
 
142
141
  ### HTTP request headers
143
142
 
@@ -324,56 +323,6 @@ No authorization required
324
323
 
325
324
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
326
325
 
327
- # **paymentControllerServiceById**
328
- > ProductResponseDTO paymentControllerServiceById()
329
-
330
-
331
- ### Example
332
-
333
- ```typescript
334
- import {
335
- PlansApi,
336
- Configuration
337
- } from './api';
338
-
339
- const configuration = new Configuration();
340
- const apiInstance = new PlansApi(configuration);
341
-
342
- let id: string; // (default to undefined)
343
-
344
- const { status, data } = await apiInstance.paymentControllerServiceById(
345
- id
346
- );
347
- ```
348
-
349
- ### Parameters
350
-
351
- |Name | Type | Description | Notes|
352
- |------------- | ------------- | ------------- | -------------|
353
- | **id** | [**string**] | | defaults to undefined|
354
-
355
-
356
- ### Return type
357
-
358
- **ProductResponseDTO**
359
-
360
- ### Authorization
361
-
362
- No authorization required
363
-
364
- ### HTTP request headers
365
-
366
- - **Content-Type**: Not defined
367
- - **Accept**: application/json
368
-
369
-
370
- ### HTTP response details
371
- | Status code | Description | Response headers |
372
- |-------------|-------------|------------------|
373
- |**200** | | - |
374
-
375
- [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
376
-
377
326
  # **paymentControllerSetupBookingPayment**
378
327
  > BookingPaymentCreateResponseDTO paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO)
379
328
 
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **date** | **string** | The start date of the booking | [default to 2025-04-28T15:49:21+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-04-28T12:25:19Z]
9
9
  **from** | **string** | | [optional] [default to undefined]
10
10
  **to** | **string** | | [optional] [default to undefined]
11
11
 
@@ -21,7 +21,6 @@ Name | Type | Description | Notes
21
21
  **mobileNumber** | **string** | Phone No | [optional] [default to undefined]
22
22
  **gender** | **string** | User gender | [optional] [default to undefined]
23
23
  **isEmailVerified** | **boolean** | Indicates whether the user\&#39;s email has been verified | [default to undefined]
24
- **subscription** | **string** | Indicates whether the business owner subscription status | [default to undefined]
25
24
  **calendar** | **string** | Primary user calendar | [default to undefined]
26
25
  **role** | **string** | Role of the user in the system | [default to undefined]
27
26
  **goals** | **Array&lt;string&gt;** | Goals why user is using the product | [default to undefined]
@@ -54,7 +53,6 @@ const instance: UserEntity = {
54
53
  mobileNumber,
55
54
  gender,
56
55
  isEmailVerified,
57
- subscription,
58
56
  calendar,
59
57
  role,
60
58
  goals,
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **startDate** | **string** | The start date of the waitlist | [default to 2025-04-28T15:49:21+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-04-28T16:49:21+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-04-28T12:25:19Z]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-04-28T13:25:19Z]
10
10
  **venue** | **string** | The venue of the waitlist | [default to undefined]
11
11
  **business** | **string** | The business associated with the waitlist | [default to undefined]
12
12
  **collaborators** | [**Array&lt;CreateWaitlistBookingCollaboratorPayload&gt;**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
@@ -12,10 +12,12 @@ All URIs are relative to *http://localhost:8080*
12
12
  |[**whatsOnControllerFindWhatsOn**](#whatsoncontrollerfindwhatson) | **POST** /v1/whats-on/list | |
13
13
  |[**whatsOnControllerFindWhatsOnById**](#whatsoncontrollerfindwhatsonbyid) | **GET** /v1/whats-on/favorite/{id} | |
14
14
  |[**whatsOnControllerMarkFavoriteWhatsOn**](#whatsoncontrollermarkfavoritewhatson) | **POST** /v1/whats-on/favorite | |
15
+ |[**whatsOnControllerPromotions**](#whatsoncontrollerpromotions) | **GET** /v1/whats-on/promotion | |
16
+ |[**whatsOnControllerSponsored**](#whatsoncontrollersponsored) | **GET** /v1/whats-on/sponsored | |
15
17
  |[**whatsOnControllerUnfavoriteWhatsOn**](#whatsoncontrollerunfavoritewhatson) | **POST** /v1/whats-on/unfavorite | |
16
18
  |[**whatsOnControllerUpdateById**](#whatsoncontrollerupdatebyid) | **PUT** /v1/whats-on/{id} | |
17
19
  |[**whatsOnControllerWhatsOnAvailability**](#whatsoncontrollerwhatsonavailability) | **POST** /v1/whats-on/availability | |
18
- |[**whatsOnControllerWhatsOnById**](#whatsoncontrollerwhatsonbyid) | **GET** /v1/whats-on/{id} | |
20
+ |[**whatsOnControllerWhatsOnById**](#whatsoncontrollerwhatsonbyid) | **GET** /v1/whats-on/details/{id} | |
19
21
 
20
22
  # **whatsOnControllerCreateWhatsOn**
21
23
  > WhatsOnDTO whatsOnControllerCreateWhatsOn(whatsOnPayloadDTO)
@@ -425,6 +427,92 @@ const { status, data } = await apiInstance.whatsOnControllerMarkFavoriteWhatsOn(
425
427
 
426
428
  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
427
429
 
430
+ # **whatsOnControllerPromotions**
431
+ > WhatsOnResponseDTO whatsOnControllerPromotions()
432
+
433
+
434
+ ### Example
435
+
436
+ ```typescript
437
+ import {
438
+ WhatsOnApi,
439
+ Configuration
440
+ } from './api';
441
+
442
+ const configuration = new Configuration();
443
+ const apiInstance = new WhatsOnApi(configuration);
444
+
445
+ const { status, data } = await apiInstance.whatsOnControllerPromotions();
446
+ ```
447
+
448
+ ### Parameters
449
+ This endpoint does not have any parameters.
450
+
451
+
452
+ ### Return type
453
+
454
+ **WhatsOnResponseDTO**
455
+
456
+ ### Authorization
457
+
458
+ [bearer](../README.md#bearer)
459
+
460
+ ### HTTP request headers
461
+
462
+ - **Content-Type**: Not defined
463
+ - **Accept**: application/json
464
+
465
+
466
+ ### HTTP response details
467
+ | Status code | Description | Response headers |
468
+ |-------------|-------------|------------------|
469
+ |**200** | | - |
470
+
471
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
472
+
473
+ # **whatsOnControllerSponsored**
474
+ > WhatsOnResponseDTO whatsOnControllerSponsored()
475
+
476
+
477
+ ### Example
478
+
479
+ ```typescript
480
+ import {
481
+ WhatsOnApi,
482
+ Configuration
483
+ } from './api';
484
+
485
+ const configuration = new Configuration();
486
+ const apiInstance = new WhatsOnApi(configuration);
487
+
488
+ const { status, data } = await apiInstance.whatsOnControllerSponsored();
489
+ ```
490
+
491
+ ### Parameters
492
+ This endpoint does not have any parameters.
493
+
494
+
495
+ ### Return type
496
+
497
+ **WhatsOnResponseDTO**
498
+
499
+ ### Authorization
500
+
501
+ [bearer](../README.md#bearer)
502
+
503
+ ### HTTP request headers
504
+
505
+ - **Content-Type**: Not defined
506
+ - **Accept**: application/json
507
+
508
+
509
+ ### HTTP response details
510
+ | Status code | Description | Response headers |
511
+ |-------------|-------------|------------------|
512
+ |**200** | | - |
513
+
514
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
515
+
428
516
  # **whatsOnControllerUnfavoriteWhatsOn**
429
517
  > WhatsOnUnFavoriteResponse whatsOnControllerUnfavoriteWhatsOn(whatsOnFavoriteDTO)
430
518
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.3.34",
3
+ "version": "1.3.35",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},