@gooday_corp/gooday-api-client 1.3.47 → 1.3.48

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.
@@ -144,6 +144,8 @@ docs/FriendsResponseDTO.md
144
144
  docs/FriendshipStatusCheck.md
145
145
  docs/FriendshipStatusDTO.md
146
146
  docs/GcsApi.md
147
+ docs/GetAllVenueDto.md
148
+ docs/GetAllWhatsOnDTO.md
147
149
  docs/GetBusinessVenueDto.md
148
150
  docs/GetNotificationDTO.md
149
151
  docs/GetUserDTO.md
@@ -213,6 +215,7 @@ docs/PrepaidServiceResponseDTO.md
213
215
  docs/PriceEntity.md
214
216
  docs/PriceRangeEntity.md
215
217
  docs/PriceRangeListResponse.md
218
+ docs/ProductResponseDTO.md
216
219
  docs/RegularBookingAvailabilityPayloadDTO.md
217
220
  docs/RegularBookingAvailabilityResponseDTO.md
218
221
  docs/RejectBookingInvitePayload.md
package/api.ts CHANGED
@@ -3277,35 +3277,11 @@ export type CreateEventPayloadDTORepeatEnum = typeof CreateEventPayloadDTORepeat
3277
3277
  */
3278
3278
  export interface CreatePaymentLinkDTO {
3279
3279
  /**
3280
- * Currency in which the payment is made
3280
+ * Product ID
3281
3281
  * @type {string}
3282
3282
  * @memberof CreatePaymentLinkDTO
3283
3283
  */
3284
- 'currency': string;
3285
- /**
3286
- * Recurring interval for the payment
3287
- * @type {string}
3288
- * @memberof CreatePaymentLinkDTO
3289
- */
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;
3284
+ 'productID': string;
3309
3285
  }
3310
3286
  /**
3311
3287
  *
@@ -4425,6 +4401,92 @@ export const FriendshipStatusDTOSuccessEnum = {
4425
4401
 
4426
4402
  export type FriendshipStatusDTOSuccessEnum = typeof FriendshipStatusDTOSuccessEnum[keyof typeof FriendshipStatusDTOSuccessEnum];
4427
4403
 
4404
+ /**
4405
+ *
4406
+ * @export
4407
+ * @interface GetAllVenueDto
4408
+ */
4409
+ export interface GetAllVenueDto {
4410
+ /**
4411
+ * Business name search
4412
+ * @type {string}
4413
+ * @memberof GetAllVenueDto
4414
+ */
4415
+ 'search'?: string;
4416
+ /**
4417
+ * Page number for pagination
4418
+ * @type {number}
4419
+ * @memberof GetAllVenueDto
4420
+ */
4421
+ 'page'?: number;
4422
+ /**
4423
+ * Number of items per page for pagination
4424
+ * @type {number}
4425
+ * @memberof GetAllVenueDto
4426
+ */
4427
+ 'limit'?: number;
4428
+ /**
4429
+ *
4430
+ * @type {number}
4431
+ * @memberof GetAllVenueDto
4432
+ */
4433
+ 'people'?: number;
4434
+ /**
4435
+ *
4436
+ * @type {Array<number>}
4437
+ * @memberof GetAllVenueDto
4438
+ */
4439
+ 'coordinates': Array<number>;
4440
+ }
4441
+ /**
4442
+ *
4443
+ * @export
4444
+ * @interface GetAllWhatsOnDTO
4445
+ */
4446
+ export interface GetAllWhatsOnDTO {
4447
+ /**
4448
+ *
4449
+ * @type {number}
4450
+ * @memberof GetAllWhatsOnDTO
4451
+ */
4452
+ 'page': number;
4453
+ /**
4454
+ *
4455
+ * @type {number}
4456
+ * @memberof GetAllWhatsOnDTO
4457
+ */
4458
+ 'pageSize': number;
4459
+ /**
4460
+ *
4461
+ * @type {string}
4462
+ * @memberof GetAllWhatsOnDTO
4463
+ */
4464
+ 'search'?: string;
4465
+ /**
4466
+ *
4467
+ * @type {string}
4468
+ * @memberof GetAllWhatsOnDTO
4469
+ */
4470
+ 'date'?: string;
4471
+ /**
4472
+ *
4473
+ * @type {string}
4474
+ * @memberof GetAllWhatsOnDTO
4475
+ */
4476
+ 'toTime'?: string;
4477
+ /**
4478
+ *
4479
+ * @type {Array<number>}
4480
+ * @memberof GetAllWhatsOnDTO
4481
+ */
4482
+ 'coordinates'?: Array<number>;
4483
+ /**
4484
+ *
4485
+ * @type {number}
4486
+ * @memberof GetAllWhatsOnDTO
4487
+ */
4488
+ 'capacity'?: number;
4489
+ }
4428
4490
  /**
4429
4491
  *
4430
4492
  * @export
@@ -6318,6 +6380,25 @@ export interface PriceRangeListResponse {
6318
6380
  */
6319
6381
  'data': Array<PriceRangeEntity>;
6320
6382
  }
6383
+ /**
6384
+ *
6385
+ * @export
6386
+ * @interface ProductResponseDTO
6387
+ */
6388
+ export interface ProductResponseDTO {
6389
+ /**
6390
+ *
6391
+ * @type {object}
6392
+ * @memberof ProductResponseDTO
6393
+ */
6394
+ 'data': object;
6395
+ /**
6396
+ * statusCode
6397
+ * @type {number}
6398
+ * @memberof ProductResponseDTO
6399
+ */
6400
+ 'statusCode': number;
6401
+ }
6321
6402
  /**
6322
6403
  *
6323
6404
  * @export
@@ -7485,6 +7566,12 @@ export interface UserEntity {
7485
7566
  * @memberof UserEntity
7486
7567
  */
7487
7568
  'isEmailVerified': boolean;
7569
+ /**
7570
+ * Indicates whether the business owner subscription status
7571
+ * @type {string}
7572
+ * @memberof UserEntity
7573
+ */
7574
+ 'subscription': string;
7488
7575
  /**
7489
7576
  * Primary user calendar
7490
7577
  * @type {string}
@@ -12087,6 +12174,41 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
12087
12174
  options: localVarRequestOptions,
12088
12175
  };
12089
12176
  },
12177
+ /**
12178
+ *
12179
+ * @param {GetAllVenueDto} getAllVenueDto
12180
+ * @param {*} [options] Override http request option.
12181
+ * @throws {RequiredError}
12182
+ */
12183
+ businessTypeControllerGetAllVenue: async (getAllVenueDto: GetAllVenueDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
12184
+ // verify required parameter 'getAllVenueDto' is not null or undefined
12185
+ assertParamExists('businessTypeControllerGetAllVenue', 'getAllVenueDto', getAllVenueDto)
12186
+ const localVarPath = `/v1/business/venues`;
12187
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
12188
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
12189
+ let baseOptions;
12190
+ if (configuration) {
12191
+ baseOptions = configuration.baseOptions;
12192
+ }
12193
+
12194
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
12195
+ const localVarHeaderParameter = {} as any;
12196
+ const localVarQueryParameter = {} as any;
12197
+
12198
+
12199
+
12200
+ localVarHeaderParameter['Content-Type'] = 'application/json';
12201
+
12202
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
12203
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
12204
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
12205
+ localVarRequestOptions.data = serializeDataIfNeeded(getAllVenueDto, localVarRequestOptions, configuration)
12206
+
12207
+ return {
12208
+ url: toPathString(localVarUrlObj),
12209
+ options: localVarRequestOptions,
12210
+ };
12211
+ },
12090
12212
  /**
12091
12213
  *
12092
12214
  * @param {GetBusinessVenueDto} getBusinessVenueDto
@@ -12645,6 +12767,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
12645
12767
  const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerFindFriendsFavoriteBusinessVenueList']?.[localVarOperationServerIndex]?.url;
12646
12768
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12647
12769
  },
12770
+ /**
12771
+ *
12772
+ * @param {GetAllVenueDto} getAllVenueDto
12773
+ * @param {*} [options] Override http request option.
12774
+ * @throws {RequiredError}
12775
+ */
12776
+ async businessTypeControllerGetAllVenue(getAllVenueDto: GetAllVenueDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
12777
+ const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetAllVenue(getAllVenueDto, options);
12778
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
12779
+ const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetAllVenue']?.[localVarOperationServerIndex]?.url;
12780
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
12781
+ },
12648
12782
  /**
12649
12783
  *
12650
12784
  * @param {GetBusinessVenueDto} getBusinessVenueDto
@@ -12899,6 +13033,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
12899
13033
  businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteListResponseDTO> {
12900
13034
  return localVarFp.businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(axios, basePath));
12901
13035
  },
13036
+ /**
13037
+ *
13038
+ * @param {GetAllVenueDto} getAllVenueDto
13039
+ * @param {*} [options] Override http request option.
13040
+ * @throws {RequiredError}
13041
+ */
13042
+ businessTypeControllerGetAllVenue(getAllVenueDto: GetAllVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
13043
+ return localVarFp.businessTypeControllerGetAllVenue(getAllVenueDto, options).then((request) => request(axios, basePath));
13044
+ },
12902
13045
  /**
12903
13046
  *
12904
13047
  * @param {GetBusinessVenueDto} getBusinessVenueDto
@@ -13146,6 +13289,17 @@ export class BusinessApi extends BaseAPI {
13146
13289
  return BusinessApiFp(this.configuration).businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(this.axios, this.basePath));
13147
13290
  }
13148
13291
 
13292
+ /**
13293
+ *
13294
+ * @param {GetAllVenueDto} getAllVenueDto
13295
+ * @param {*} [options] Override http request option.
13296
+ * @throws {RequiredError}
13297
+ * @memberof BusinessApi
13298
+ */
13299
+ public businessTypeControllerGetAllVenue(getAllVenueDto: GetAllVenueDto, options?: RawAxiosRequestConfig) {
13300
+ return BusinessApiFp(this.configuration).businessTypeControllerGetAllVenue(getAllVenueDto, options).then((request) => request(this.axios, this.basePath));
13301
+ }
13302
+
13149
13303
  /**
13150
13304
  *
13151
13305
  * @param {GetBusinessVenueDto} getBusinessVenueDto
@@ -17901,6 +18055,10 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
17901
18055
  const localVarHeaderParameter = {} as any;
17902
18056
  const localVarQueryParameter = {} as any;
17903
18057
 
18058
+ // authentication bearer required
18059
+ // http bearer authentication required
18060
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
18061
+
17904
18062
 
17905
18063
 
17906
18064
  localVarHeaderParameter['Content-Type'] = 'application/json';
@@ -18026,6 +18184,39 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
18026
18184
 
18027
18185
 
18028
18186
 
18187
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18188
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18189
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18190
+
18191
+ return {
18192
+ url: toPathString(localVarUrlObj),
18193
+ options: localVarRequestOptions,
18194
+ };
18195
+ },
18196
+ /**
18197
+ *
18198
+ * @param {string} id
18199
+ * @param {*} [options] Override http request option.
18200
+ * @throws {RequiredError}
18201
+ */
18202
+ paymentControllerServiceById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
18203
+ // verify required parameter 'id' is not null or undefined
18204
+ assertParamExists('paymentControllerServiceById', 'id', id)
18205
+ const localVarPath = `/v1/payment/stripe-plan/{id}`
18206
+ .replace(`{${"id"}}`, encodeURIComponent(String(id)));
18207
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18208
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18209
+ let baseOptions;
18210
+ if (configuration) {
18211
+ baseOptions = configuration.baseOptions;
18212
+ }
18213
+
18214
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
18215
+ const localVarHeaderParameter = {} as any;
18216
+ const localVarQueryParameter = {} as any;
18217
+
18218
+
18219
+
18029
18220
  setSearchParams(localVarUrlObj, localVarQueryParameter);
18030
18221
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18031
18222
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -18197,6 +18388,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
18197
18388
  const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
18198
18389
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18199
18390
  },
18391
+ /**
18392
+ *
18393
+ * @param {string} id
18394
+ * @param {*} [options] Override http request option.
18395
+ * @throws {RequiredError}
18396
+ */
18397
+ async paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductResponseDTO>> {
18398
+ const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerServiceById(id, options);
18399
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
18400
+ const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerServiceById']?.[localVarOperationServerIndex]?.url;
18401
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18402
+ },
18200
18403
  /**
18201
18404
  *
18202
18405
  * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
@@ -18288,6 +18491,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
18288
18491
  paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
18289
18492
  return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
18290
18493
  },
18494
+ /**
18495
+ *
18496
+ * @param {string} id
18497
+ * @param {*} [options] Override http request option.
18498
+ * @throws {RequiredError}
18499
+ */
18500
+ paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductResponseDTO> {
18501
+ return localVarFp.paymentControllerServiceById(id, options).then((request) => request(axios, basePath));
18502
+ },
18291
18503
  /**
18292
18504
  *
18293
18505
  * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
@@ -18387,6 +18599,17 @@ export class PlansApi extends BaseAPI {
18387
18599
  return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
18388
18600
  }
18389
18601
 
18602
+ /**
18603
+ *
18604
+ * @param {string} id
18605
+ * @param {*} [options] Override http request option.
18606
+ * @throws {RequiredError}
18607
+ * @memberof PlansApi
18608
+ */
18609
+ public paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig) {
18610
+ return PlansApiFp(this.configuration).paymentControllerServiceById(id, options).then((request) => request(this.axios, this.basePath));
18611
+ }
18612
+
18390
18613
  /**
18391
18614
  *
18392
18615
  * @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
@@ -22062,6 +22285,41 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
22062
22285
  options: localVarRequestOptions,
22063
22286
  };
22064
22287
  },
22288
+ /**
22289
+ *
22290
+ * @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
22291
+ * @param {*} [options] Override http request option.
22292
+ * @throws {RequiredError}
22293
+ */
22294
+ whatsOnControllerGetAllWhatsOn: async (getAllWhatsOnDTO: GetAllWhatsOnDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22295
+ // verify required parameter 'getAllWhatsOnDTO' is not null or undefined
22296
+ assertParamExists('whatsOnControllerGetAllWhatsOn', 'getAllWhatsOnDTO', getAllWhatsOnDTO)
22297
+ const localVarPath = `/v1/whats-on/public-list`;
22298
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22299
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22300
+ let baseOptions;
22301
+ if (configuration) {
22302
+ baseOptions = configuration.baseOptions;
22303
+ }
22304
+
22305
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
22306
+ const localVarHeaderParameter = {} as any;
22307
+ const localVarQueryParameter = {} as any;
22308
+
22309
+
22310
+
22311
+ localVarHeaderParameter['Content-Type'] = 'application/json';
22312
+
22313
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22314
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22315
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
22316
+ localVarRequestOptions.data = serializeDataIfNeeded(getAllWhatsOnDTO, localVarRequestOptions, configuration)
22317
+
22318
+ return {
22319
+ url: toPathString(localVarUrlObj),
22320
+ options: localVarRequestOptions,
22321
+ };
22322
+ },
22065
22323
  /**
22066
22324
  *
22067
22325
  * @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
@@ -22420,6 +22678,18 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
22420
22678
  const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindWhatsOnById']?.[localVarOperationServerIndex]?.url;
22421
22679
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22422
22680
  },
22681
+ /**
22682
+ *
22683
+ * @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
22684
+ * @param {*} [options] Override http request option.
22685
+ * @throws {RequiredError}
22686
+ */
22687
+ async whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO: GetAllWhatsOnDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
22688
+ const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO, options);
22689
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22690
+ const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerGetAllWhatsOn']?.[localVarOperationServerIndex]?.url;
22691
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
22692
+ },
22423
22693
  /**
22424
22694
  *
22425
22695
  * @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
@@ -22577,6 +22847,15 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
22577
22847
  whatsOnControllerFindWhatsOnById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteResponseDTO> {
22578
22848
  return localVarFp.whatsOnControllerFindWhatsOnById(id, options).then((request) => request(axios, basePath));
22579
22849
  },
22850
+ /**
22851
+ *
22852
+ * @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
22853
+ * @param {*} [options] Override http request option.
22854
+ * @throws {RequiredError}
22855
+ */
22856
+ whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO: GetAllWhatsOnDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
22857
+ return localVarFp.whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO, options).then((request) => request(axios, basePath));
22858
+ },
22580
22859
  /**
22581
22860
  *
22582
22861
  * @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
@@ -22727,6 +23006,17 @@ export class WhatsOnApi extends BaseAPI {
22727
23006
  return WhatsOnApiFp(this.configuration).whatsOnControllerFindWhatsOnById(id, options).then((request) => request(this.axios, this.basePath));
22728
23007
  }
22729
23008
 
23009
+ /**
23010
+ *
23011
+ * @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
23012
+ * @param {*} [options] Override http request option.
23013
+ * @throws {RequiredError}
23014
+ * @memberof WhatsOnApi
23015
+ */
23016
+ public whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO: GetAllWhatsOnDTO, options?: RawAxiosRequestConfig) {
23017
+ return WhatsOnApiFp(this.configuration).whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO, options).then((request) => request(this.axios, this.basePath));
23018
+ }
23019
+
22730
23020
  /**
22731
23021
  *
22732
23022
  * @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
@@ -17,6 +17,7 @@ All URIs are relative to *http://localhost:8080*
17
17
  |[**businessTypeControllerFindFavoriteBusinessVenue**](#businesstypecontrollerfindfavoritebusinessvenue) | **GET** /v1/business/favorite/{id} | |
18
18
  |[**businessTypeControllerFindFavoriteBusinessVenueCount**](#businesstypecontrollerfindfavoritebusinessvenuecount) | **GET** /v1/business/favorite/count/{id} | |
19
19
  |[**businessTypeControllerFindFriendsFavoriteBusinessVenueList**](#businesstypecontrollerfindfriendsfavoritebusinessvenuelist) | **POST** /v1/business/friends/favorite | |
20
+ |[**businessTypeControllerGetAllVenue**](#businesstypecontrollergetallvenue) | **POST** /v1/business/venues | |
20
21
  |[**businessTypeControllerGetBusinessVenue**](#businesstypecontrollergetbusinessvenue) | **POST** /v1/business/business-venue | |
21
22
  |[**businessTypeControllerHighlyRecommended**](#businesstypecontrollerhighlyrecommended) | **GET** /v1/business/highlyRecommended | |
22
23
  |[**businessTypeControllerListAllCategories**](#businesstypecontrollerlistallcategories) | **GET** /v1/business/categories | |
@@ -670,6 +671,57 @@ const { status, data } = await apiInstance.businessTypeControllerFindFriendsFavo
670
671
  - **Accept**: application/json
671
672
 
672
673
 
674
+ ### HTTP response details
675
+ | Status code | Description | Response headers |
676
+ |-------------|-------------|------------------|
677
+ |**200** | | - |
678
+
679
+ [[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)
680
+
681
+ # **businessTypeControllerGetAllVenue**
682
+ > BusinessVenueResponseDTO businessTypeControllerGetAllVenue(getAllVenueDto)
683
+
684
+
685
+ ### Example
686
+
687
+ ```typescript
688
+ import {
689
+ BusinessApi,
690
+ Configuration,
691
+ GetAllVenueDto
692
+ } from './api';
693
+
694
+ const configuration = new Configuration();
695
+ const apiInstance = new BusinessApi(configuration);
696
+
697
+ let getAllVenueDto: GetAllVenueDto; //
698
+
699
+ const { status, data } = await apiInstance.businessTypeControllerGetAllVenue(
700
+ getAllVenueDto
701
+ );
702
+ ```
703
+
704
+ ### Parameters
705
+
706
+ |Name | Type | Description | Notes|
707
+ |------------- | ------------- | ------------- | -------------|
708
+ | **getAllVenueDto** | **GetAllVenueDto**| | |
709
+
710
+
711
+ ### Return type
712
+
713
+ **BusinessVenueResponseDTO**
714
+
715
+ ### Authorization
716
+
717
+ No authorization required
718
+
719
+ ### HTTP request headers
720
+
721
+ - **Content-Type**: application/json
722
+ - **Accept**: application/json
723
+
724
+
673
725
  ### HTTP response details
674
726
  | Status code | Description | Response headers |
675
727
  |-------------|-------------|------------------|
@@ -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-05-06T10:13:56+05:30]
9
+ **date** | **string** | The start date of the booking | [default to 2025-05-06T13:25:45Z]
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,11 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
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]
8
+ **productID** | **string** | Product ID | [default to undefined]
13
9
 
14
10
  ## Example
15
11
 
@@ -17,11 +13,7 @@ Name | Type | Description | Notes
17
13
  import { CreatePaymentLinkDTO } from './api';
18
14
 
19
15
  const instance: CreatePaymentLinkDTO = {
20
- currency,
21
- interval,
22
- amount,
23
- name,
24
- user,
16
+ productID,
25
17
  };
26
18
  ```
27
19
 
@@ -0,0 +1,28 @@
1
+ # GetAllVenueDto
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **search** | **string** | Business name search | [optional] [default to undefined]
9
+ **page** | **number** | Page number for pagination | [optional] [default to undefined]
10
+ **limit** | **number** | Number of items per page for pagination | [optional] [default to undefined]
11
+ **people** | **number** | | [optional] [default to undefined]
12
+ **coordinates** | **Array&lt;number&gt;** | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { GetAllVenueDto } from './api';
18
+
19
+ const instance: GetAllVenueDto = {
20
+ search,
21
+ page,
22
+ limit,
23
+ people,
24
+ coordinates,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,32 @@
1
+ # GetAllWhatsOnDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **page** | **number** | | [default to undefined]
9
+ **pageSize** | **number** | | [default to undefined]
10
+ **search** | **string** | | [optional] [default to undefined]
11
+ **date** | **string** | | [optional] [default to undefined]
12
+ **toTime** | **string** | | [optional] [default to undefined]
13
+ **coordinates** | **Array&lt;number&gt;** | | [optional] [default to undefined]
14
+ **capacity** | **number** | | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { GetAllWhatsOnDTO } from './api';
20
+
21
+ const instance: GetAllWhatsOnDTO = {
22
+ page,
23
+ pageSize,
24
+ search,
25
+ date,
26
+ toTime,
27
+ coordinates,
28
+ capacity,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
package/docs/PlansApi.md CHANGED
@@ -11,6 +11,7 @@ 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} | |
14
15
  |[**paymentControllerSetupBookingPayment**](#paymentcontrollersetupbookingpayment) | **POST** /v1/payment/booking | |
15
16
  |[**paymentControllerStripeWebhook**](#paymentcontrollerstripewebhook) | **POST** /v1/payment/stripe-webhook | |
16
17
 
@@ -136,7 +137,7 @@ void (empty response body)
136
137
 
137
138
  ### Authorization
138
139
 
139
- No authorization required
140
+ [bearer](../README.md#bearer)
140
141
 
141
142
  ### HTTP request headers
142
143
 
@@ -323,6 +324,56 @@ No authorization required
323
324
 
324
325
  [[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)
325
326
 
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
+
326
377
  # **paymentControllerSetupBookingPayment**
327
378
  > BookingPaymentCreateResponseDTO paymentControllerSetupBookingPayment(bookingPaymentPayloadDTO)
328
379
 
@@ -0,0 +1,22 @@
1
+ # ProductResponseDTO
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **data** | **object** | | [default to undefined]
9
+ **statusCode** | **number** | statusCode | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ProductResponseDTO } from './api';
15
+
16
+ const instance: ProductResponseDTO = {
17
+ data,
18
+ statusCode,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -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-05-06T10:13:56+05:30]
8
+ **date** | **string** | The start date of the booking | [default to 2025-05-06T13:25:45Z]
9
9
  **from** | **string** | | [optional] [default to undefined]
10
10
  **to** | **string** | | [optional] [default to undefined]
11
11
 
@@ -21,6 +21,7 @@ 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]
24
25
  **calendar** | **string** | Primary user calendar | [default to undefined]
25
26
  **role** | **string** | Role of the user in the system | [default to undefined]
26
27
  **goals** | **Array&lt;string&gt;** | Goals why user is using the product | [default to undefined]
@@ -53,6 +54,7 @@ const instance: UserEntity = {
53
54
  mobileNumber,
54
55
  gender,
55
56
  isEmailVerified,
57
+ subscription,
56
58
  calendar,
57
59
  role,
58
60
  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-05-06T10:13:56+05:30]
9
- **endDate** | **string** | The end date of the waitlist | [default to 2025-05-06T11:13:56+05:30]
8
+ **startDate** | **string** | The start date of the waitlist | [default to 2025-05-06T13:25:45Z]
9
+ **endDate** | **string** | The end date of the waitlist | [default to 2025-05-06T14:25:45Z]
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]
@@ -11,6 +11,7 @@ All URIs are relative to *http://localhost:8080*
11
11
  |[**whatsOnControllerFindFavoriteWhatsOnList**](#whatsoncontrollerfindfavoritewhatsonlist) | **GET** /v1/whats-on/friends/favorite | |
12
12
  |[**whatsOnControllerFindWhatsOn**](#whatsoncontrollerfindwhatson) | **POST** /v1/whats-on/list | |
13
13
  |[**whatsOnControllerFindWhatsOnById**](#whatsoncontrollerfindwhatsonbyid) | **GET** /v1/whats-on/favorite/{id} | |
14
+ |[**whatsOnControllerGetAllWhatsOn**](#whatsoncontrollergetallwhatson) | **POST** /v1/whats-on/public-list | |
14
15
  |[**whatsOnControllerMarkFavoriteWhatsOn**](#whatsoncontrollermarkfavoritewhatson) | **POST** /v1/whats-on/favorite | |
15
16
  |[**whatsOnControllerPromotions**](#whatsoncontrollerpromotions) | **GET** /v1/whats-on/promotion | |
16
17
  |[**whatsOnControllerSponsored**](#whatsoncontrollersponsored) | **GET** /v1/whats-on/sponsored | |
@@ -368,6 +369,57 @@ const { status, data } = await apiInstance.whatsOnControllerFindWhatsOnById(
368
369
  - **Accept**: application/json
369
370
 
370
371
 
372
+ ### HTTP response details
373
+ | Status code | Description | Response headers |
374
+ |-------------|-------------|------------------|
375
+ |**200** | | - |
376
+
377
+ [[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)
378
+
379
+ # **whatsOnControllerGetAllWhatsOn**
380
+ > WhatsOnResponseDTO whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO)
381
+
382
+
383
+ ### Example
384
+
385
+ ```typescript
386
+ import {
387
+ WhatsOnApi,
388
+ Configuration,
389
+ GetAllWhatsOnDTO
390
+ } from './api';
391
+
392
+ const configuration = new Configuration();
393
+ const apiInstance = new WhatsOnApi(configuration);
394
+
395
+ let getAllWhatsOnDTO: GetAllWhatsOnDTO; //
396
+
397
+ const { status, data } = await apiInstance.whatsOnControllerGetAllWhatsOn(
398
+ getAllWhatsOnDTO
399
+ );
400
+ ```
401
+
402
+ ### Parameters
403
+
404
+ |Name | Type | Description | Notes|
405
+ |------------- | ------------- | ------------- | -------------|
406
+ | **getAllWhatsOnDTO** | **GetAllWhatsOnDTO**| | |
407
+
408
+
409
+ ### Return type
410
+
411
+ **WhatsOnResponseDTO**
412
+
413
+ ### Authorization
414
+
415
+ No authorization required
416
+
417
+ ### HTTP request headers
418
+
419
+ - **Content-Type**: application/json
420
+ - **Accept**: application/json
421
+
422
+
371
423
  ### HTTP response details
372
424
  | Status code | Description | Response headers |
373
425
  |-------------|-------------|------------------|
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gooday_corp/gooday-api-client",
3
- "version": "1.3.47",
3
+ "version": "1.3.48",
4
4
  "description": "API client for Gooday",
5
5
  "main": "index.ts",
6
6
  "scripts": {},