@gooday_corp/gooday-api-client 1.3.44 → 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.
- package/.openapi-generator/FILES +3 -0
- package/api.ts +345 -33
- package/docs/AIApi.md +12 -2
- package/docs/BusinessApi.md +52 -0
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/CreatePaymentLinkDTO.md +2 -10
- package/docs/GetAllVenueDto.md +28 -0
- package/docs/GetAllWhatsOnDTO.md +32 -0
- package/docs/HomeFeedEntity.md +2 -0
- package/docs/PlansApi.md +52 -1
- package/docs/ProductResponseDTO.md +22 -0
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/UserEntity.md +2 -0
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnApi.md +52 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -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
|
-
*
|
|
3280
|
+
* Product ID
|
|
3281
3281
|
* @type {string}
|
|
3282
3282
|
* @memberof CreatePaymentLinkDTO
|
|
3283
3283
|
*/
|
|
3284
|
-
'
|
|
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
|
|
@@ -4758,6 +4820,12 @@ export interface HomeFeedEntity {
|
|
|
4758
4820
|
* @memberof HomeFeedEntity
|
|
4759
4821
|
*/
|
|
4760
4822
|
'type': string;
|
|
4823
|
+
/**
|
|
4824
|
+
*
|
|
4825
|
+
* @type {string}
|
|
4826
|
+
* @memberof HomeFeedEntity
|
|
4827
|
+
*/
|
|
4828
|
+
'image': string;
|
|
4761
4829
|
}
|
|
4762
4830
|
/**
|
|
4763
4831
|
*
|
|
@@ -6312,6 +6380,25 @@ export interface PriceRangeListResponse {
|
|
|
6312
6380
|
*/
|
|
6313
6381
|
'data': Array<PriceRangeEntity>;
|
|
6314
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
|
+
}
|
|
6315
6402
|
/**
|
|
6316
6403
|
*
|
|
6317
6404
|
* @export
|
|
@@ -7479,6 +7566,12 @@ export interface UserEntity {
|
|
|
7479
7566
|
* @memberof UserEntity
|
|
7480
7567
|
*/
|
|
7481
7568
|
'isEmailVerified': boolean;
|
|
7569
|
+
/**
|
|
7570
|
+
* Indicates whether the business owner subscription status
|
|
7571
|
+
* @type {string}
|
|
7572
|
+
* @memberof UserEntity
|
|
7573
|
+
*/
|
|
7574
|
+
'subscription': string;
|
|
7482
7575
|
/**
|
|
7483
7576
|
* Primary user calendar
|
|
7484
7577
|
* @type {string}
|
|
@@ -8834,10 +8927,12 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8834
8927
|
},
|
|
8835
8928
|
/**
|
|
8836
8929
|
*
|
|
8930
|
+
* @param {number} [page]
|
|
8931
|
+
* @param {number} [pageSize]
|
|
8837
8932
|
* @param {*} [options] Override http request option.
|
|
8838
8933
|
* @throws {RequiredError}
|
|
8839
8934
|
*/
|
|
8840
|
-
assistantControllerGenerateHomeFeed: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8935
|
+
assistantControllerGenerateHomeFeed: async (page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8841
8936
|
const localVarPath = `/v1/ai/home-feed`;
|
|
8842
8937
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8843
8938
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -8854,6 +8949,14 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8854
8949
|
// http bearer authentication required
|
|
8855
8950
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8856
8951
|
|
|
8952
|
+
if (page !== undefined) {
|
|
8953
|
+
localVarQueryParameter['page'] = page;
|
|
8954
|
+
}
|
|
8955
|
+
|
|
8956
|
+
if (pageSize !== undefined) {
|
|
8957
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
8958
|
+
}
|
|
8959
|
+
|
|
8857
8960
|
|
|
8858
8961
|
|
|
8859
8962
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -8952,11 +9055,13 @@ export const AIApiFp = function(configuration?: Configuration) {
|
|
|
8952
9055
|
},
|
|
8953
9056
|
/**
|
|
8954
9057
|
*
|
|
9058
|
+
* @param {number} [page]
|
|
9059
|
+
* @param {number} [pageSize]
|
|
8955
9060
|
* @param {*} [options] Override http request option.
|
|
8956
9061
|
* @throws {RequiredError}
|
|
8957
9062
|
*/
|
|
8958
|
-
async assistantControllerGenerateHomeFeed(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeFeedListResponseDTO>> {
|
|
8959
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerGenerateHomeFeed(options);
|
|
9063
|
+
async assistantControllerGenerateHomeFeed(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeFeedListResponseDTO>> {
|
|
9064
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerGenerateHomeFeed(page, pageSize, options);
|
|
8960
9065
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8961
9066
|
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerGenerateHomeFeed']?.[localVarOperationServerIndex]?.url;
|
|
8962
9067
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -9005,11 +9110,13 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
9005
9110
|
},
|
|
9006
9111
|
/**
|
|
9007
9112
|
*
|
|
9113
|
+
* @param {number} [page]
|
|
9114
|
+
* @param {number} [pageSize]
|
|
9008
9115
|
* @param {*} [options] Override http request option.
|
|
9009
9116
|
* @throws {RequiredError}
|
|
9010
9117
|
*/
|
|
9011
|
-
assistantControllerGenerateHomeFeed(options?: RawAxiosRequestConfig): AxiosPromise<HomeFeedListResponseDTO> {
|
|
9012
|
-
return localVarFp.assistantControllerGenerateHomeFeed(options).then((request) => request(axios, basePath));
|
|
9118
|
+
assistantControllerGenerateHomeFeed(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<HomeFeedListResponseDTO> {
|
|
9119
|
+
return localVarFp.assistantControllerGenerateHomeFeed(page, pageSize, options).then((request) => request(axios, basePath));
|
|
9013
9120
|
},
|
|
9014
9121
|
/**
|
|
9015
9122
|
*
|
|
@@ -9051,12 +9158,14 @@ export class AIApi extends BaseAPI {
|
|
|
9051
9158
|
|
|
9052
9159
|
/**
|
|
9053
9160
|
*
|
|
9161
|
+
* @param {number} [page]
|
|
9162
|
+
* @param {number} [pageSize]
|
|
9054
9163
|
* @param {*} [options] Override http request option.
|
|
9055
9164
|
* @throws {RequiredError}
|
|
9056
9165
|
* @memberof AIApi
|
|
9057
9166
|
*/
|
|
9058
|
-
public assistantControllerGenerateHomeFeed(options?: RawAxiosRequestConfig) {
|
|
9059
|
-
return AIApiFp(this.configuration).assistantControllerGenerateHomeFeed(options).then((request) => request(this.axios, this.basePath));
|
|
9167
|
+
public assistantControllerGenerateHomeFeed(page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
9168
|
+
return AIApiFp(this.configuration).assistantControllerGenerateHomeFeed(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
9060
9169
|
}
|
|
9061
9170
|
|
|
9062
9171
|
/**
|
|
@@ -12065,6 +12174,41 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12065
12174
|
options: localVarRequestOptions,
|
|
12066
12175
|
};
|
|
12067
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
|
+
},
|
|
12068
12212
|
/**
|
|
12069
12213
|
*
|
|
12070
12214
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -12623,6 +12767,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12623
12767
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerFindFriendsFavoriteBusinessVenueList']?.[localVarOperationServerIndex]?.url;
|
|
12624
12768
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12625
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
|
+
},
|
|
12626
12782
|
/**
|
|
12627
12783
|
*
|
|
12628
12784
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -12877,6 +13033,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
12877
13033
|
businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteListResponseDTO> {
|
|
12878
13034
|
return localVarFp.businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(axios, basePath));
|
|
12879
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
|
+
},
|
|
12880
13045
|
/**
|
|
12881
13046
|
*
|
|
12882
13047
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -13124,6 +13289,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
13124
13289
|
return BusinessApiFp(this.configuration).businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(this.axios, this.basePath));
|
|
13125
13290
|
}
|
|
13126
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
|
+
|
|
13127
13303
|
/**
|
|
13128
13304
|
*
|
|
13129
13305
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -17879,6 +18055,10 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
17879
18055
|
const localVarHeaderParameter = {} as any;
|
|
17880
18056
|
const localVarQueryParameter = {} as any;
|
|
17881
18057
|
|
|
18058
|
+
// authentication bearer required
|
|
18059
|
+
// http bearer authentication required
|
|
18060
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18061
|
+
|
|
17882
18062
|
|
|
17883
18063
|
|
|
17884
18064
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -18004,6 +18184,39 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
18004
18184
|
|
|
18005
18185
|
|
|
18006
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
|
+
|
|
18007
18220
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18008
18221
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18009
18222
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -18175,6 +18388,18 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
18175
18388
|
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
|
|
18176
18389
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18177
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
|
+
},
|
|
18178
18403
|
/**
|
|
18179
18404
|
*
|
|
18180
18405
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -18266,6 +18491,15 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
18266
18491
|
paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18267
18492
|
return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
|
|
18268
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
|
+
},
|
|
18269
18503
|
/**
|
|
18270
18504
|
*
|
|
18271
18505
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -18365,6 +18599,17 @@ export class PlansApi extends BaseAPI {
|
|
|
18365
18599
|
return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
|
|
18366
18600
|
}
|
|
18367
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
|
+
|
|
18368
18613
|
/**
|
|
18369
18614
|
*
|
|
18370
18615
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -22040,6 +22285,41 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
22040
22285
|
options: localVarRequestOptions,
|
|
22041
22286
|
};
|
|
22042
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
|
+
},
|
|
22043
22323
|
/**
|
|
22044
22324
|
*
|
|
22045
22325
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22398,6 +22678,18 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
22398
22678
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindWhatsOnById']?.[localVarOperationServerIndex]?.url;
|
|
22399
22679
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22400
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
|
+
},
|
|
22401
22693
|
/**
|
|
22402
22694
|
*
|
|
22403
22695
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22555,6 +22847,15 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
22555
22847
|
whatsOnControllerFindWhatsOnById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteResponseDTO> {
|
|
22556
22848
|
return localVarFp.whatsOnControllerFindWhatsOnById(id, options).then((request) => request(axios, basePath));
|
|
22557
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
|
+
},
|
|
22558
22859
|
/**
|
|
22559
22860
|
*
|
|
22560
22861
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22705,6 +23006,17 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
22705
23006
|
return WhatsOnApiFp(this.configuration).whatsOnControllerFindWhatsOnById(id, options).then((request) => request(this.axios, this.basePath));
|
|
22706
23007
|
}
|
|
22707
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
|
+
|
|
22708
23020
|
/**
|
|
22709
23021
|
*
|
|
22710
23022
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
package/docs/AIApi.md
CHANGED
|
@@ -77,11 +77,21 @@ import {
|
|
|
77
77
|
const configuration = new Configuration();
|
|
78
78
|
const apiInstance = new AIApi(configuration);
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
let page: number; // (optional) (default to undefined)
|
|
81
|
+
let pageSize: number; // (optional) (default to undefined)
|
|
82
|
+
|
|
83
|
+
const { status, data } = await apiInstance.assistantControllerGenerateHomeFeed(
|
|
84
|
+
page,
|
|
85
|
+
pageSize
|
|
86
|
+
);
|
|
81
87
|
```
|
|
82
88
|
|
|
83
89
|
### Parameters
|
|
84
|
-
|
|
90
|
+
|
|
91
|
+
|Name | Type | Description | Notes|
|
|
92
|
+
|------------- | ------------- | ------------- | -------------|
|
|
93
|
+
| **page** | [**number**] | | (optional) defaults to undefined|
|
|
94
|
+
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
85
95
|
|
|
86
96
|
|
|
87
97
|
### Return type
|
package/docs/BusinessApi.md
CHANGED
|
@@ -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-
|
|
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
|
-
**
|
|
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
|
-
|
|
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<number>** | | [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<number>** | | [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/HomeFeedEntity.md
CHANGED
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**_id** | **string** | Unique identifier for the assistant | [default to undefined]
|
|
9
9
|
**name** | **string** | | [default to undefined]
|
|
10
10
|
**type** | **string** | | [default to undefined]
|
|
11
|
+
**image** | **string** | | [default to undefined]
|
|
11
12
|
|
|
12
13
|
## Example
|
|
13
14
|
|
|
@@ -18,6 +19,7 @@ const instance: HomeFeedEntity = {
|
|
|
18
19
|
_id,
|
|
19
20
|
name,
|
|
20
21
|
type,
|
|
22
|
+
image,
|
|
21
23
|
};
|
|
22
24
|
```
|
|
23
25
|
|
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
|
-
|
|
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-
|
|
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
|
|
package/docs/UserEntity.md
CHANGED
|
@@ -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\'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<string>** | 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-
|
|
9
|
-
**endDate** | **string** | The end date of the waitlist | [default to 2025-05-
|
|
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<CreateWaitlistBookingCollaboratorPayload>**](CreateWaitlistBookingCollaboratorPayload.md) | The list of collaborators associated with the waitlist | [default to undefined]
|
package/docs/WhatsOnApi.md
CHANGED
|
@@ -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
|
|-------------|-------------|------------------|
|