@gooday_corp/gooday-api-client 1.3.41 → 1.3.43
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 -3
- package/api.ts +276 -287
- package/docs/AIApi.md +44 -0
- package/docs/BusinessApi.md +19 -27
- package/docs/CreateBookingPayload.md +1 -1
- package/docs/CreatePaymentLinkDTO.md +10 -2
- package/docs/FriendsApi.md +57 -0
- package/docs/{ProductResponseDTO.md → HomeFeedEListResponseDTO.md} +5 -5
- package/docs/HomeFeedEntity.md +24 -0
- package/docs/PlansApi.md +1 -52
- package/docs/RescheduleBookingPayload.md +1 -1
- package/docs/SuggestionFriendResponseDTO.md +22 -0
- package/docs/UserEntity.md +0 -2
- package/docs/WaitlistPayloadDTO.md +2 -2
- package/docs/WhatsOnApi.md +0 -52
- package/package.json +1 -1
- package/docs/GetAllVenueDto.md +0 -28
- package/docs/GetAllWhatsOnDTO.md +0 -30
package/api.ts
CHANGED
|
@@ -3277,11 +3277,35 @@ export type CreateEventPayloadDTORepeatEnum = typeof CreateEventPayloadDTORepeat
|
|
|
3277
3277
|
*/
|
|
3278
3278
|
export interface CreatePaymentLinkDTO {
|
|
3279
3279
|
/**
|
|
3280
|
-
*
|
|
3280
|
+
* Currency in which the payment is made
|
|
3281
3281
|
* @type {string}
|
|
3282
3282
|
* @memberof CreatePaymentLinkDTO
|
|
3283
3283
|
*/
|
|
3284
|
-
'
|
|
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;
|
|
3285
3309
|
}
|
|
3286
3310
|
/**
|
|
3287
3311
|
*
|
|
@@ -4401,86 +4425,6 @@ export const FriendshipStatusDTOSuccessEnum = {
|
|
|
4401
4425
|
|
|
4402
4426
|
export type FriendshipStatusDTOSuccessEnum = typeof FriendshipStatusDTOSuccessEnum[keyof typeof FriendshipStatusDTOSuccessEnum];
|
|
4403
4427
|
|
|
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 {WhatsOnLocationDTO}
|
|
4474
|
-
* @memberof GetAllWhatsOnDTO
|
|
4475
|
-
*/
|
|
4476
|
-
'location'?: WhatsOnLocationDTO;
|
|
4477
|
-
/**
|
|
4478
|
-
*
|
|
4479
|
-
* @type {number}
|
|
4480
|
-
* @memberof GetAllWhatsOnDTO
|
|
4481
|
-
*/
|
|
4482
|
-
'capacity'?: number;
|
|
4483
|
-
}
|
|
4484
4428
|
/**
|
|
4485
4429
|
*
|
|
4486
4430
|
* @export
|
|
@@ -4790,6 +4734,50 @@ export interface HistoryResponseDTO {
|
|
|
4790
4734
|
*/
|
|
4791
4735
|
'data': HistoryEntity;
|
|
4792
4736
|
}
|
|
4737
|
+
/**
|
|
4738
|
+
*
|
|
4739
|
+
* @export
|
|
4740
|
+
* @interface HomeFeedEListResponseDTO
|
|
4741
|
+
*/
|
|
4742
|
+
export interface HomeFeedEListResponseDTO {
|
|
4743
|
+
/**
|
|
4744
|
+
* statusCode
|
|
4745
|
+
* @type {number}
|
|
4746
|
+
* @memberof HomeFeedEListResponseDTO
|
|
4747
|
+
*/
|
|
4748
|
+
'statusCode': number;
|
|
4749
|
+
/**
|
|
4750
|
+
*
|
|
4751
|
+
* @type {Array<HomeFeedEntity>}
|
|
4752
|
+
* @memberof HomeFeedEListResponseDTO
|
|
4753
|
+
*/
|
|
4754
|
+
'data': Array<HomeFeedEntity>;
|
|
4755
|
+
}
|
|
4756
|
+
/**
|
|
4757
|
+
*
|
|
4758
|
+
* @export
|
|
4759
|
+
* @interface HomeFeedEntity
|
|
4760
|
+
*/
|
|
4761
|
+
export interface HomeFeedEntity {
|
|
4762
|
+
/**
|
|
4763
|
+
* Unique identifier for the assistant
|
|
4764
|
+
* @type {string}
|
|
4765
|
+
* @memberof HomeFeedEntity
|
|
4766
|
+
*/
|
|
4767
|
+
'_id': string;
|
|
4768
|
+
/**
|
|
4769
|
+
*
|
|
4770
|
+
* @type {string}
|
|
4771
|
+
* @memberof HomeFeedEntity
|
|
4772
|
+
*/
|
|
4773
|
+
'name': string;
|
|
4774
|
+
/**
|
|
4775
|
+
*
|
|
4776
|
+
* @type {string}
|
|
4777
|
+
* @memberof HomeFeedEntity
|
|
4778
|
+
*/
|
|
4779
|
+
'type': string;
|
|
4780
|
+
}
|
|
4793
4781
|
/**
|
|
4794
4782
|
*
|
|
4795
4783
|
* @export
|
|
@@ -6305,25 +6293,6 @@ export interface PriceRangeListResponse {
|
|
|
6305
6293
|
*/
|
|
6306
6294
|
'data': Array<PriceRangeEntity>;
|
|
6307
6295
|
}
|
|
6308
|
-
/**
|
|
6309
|
-
*
|
|
6310
|
-
* @export
|
|
6311
|
-
* @interface ProductResponseDTO
|
|
6312
|
-
*/
|
|
6313
|
-
export interface ProductResponseDTO {
|
|
6314
|
-
/**
|
|
6315
|
-
*
|
|
6316
|
-
* @type {object}
|
|
6317
|
-
* @memberof ProductResponseDTO
|
|
6318
|
-
*/
|
|
6319
|
-
'data': object;
|
|
6320
|
-
/**
|
|
6321
|
-
* statusCode
|
|
6322
|
-
* @type {number}
|
|
6323
|
-
* @memberof ProductResponseDTO
|
|
6324
|
-
*/
|
|
6325
|
-
'statusCode': number;
|
|
6326
|
-
}
|
|
6327
6296
|
/**
|
|
6328
6297
|
*
|
|
6329
6298
|
* @export
|
|
@@ -6854,6 +6823,25 @@ export interface StripeSetupPaymentIntentDTO {
|
|
|
6854
6823
|
*/
|
|
6855
6824
|
'clientSecret': string;
|
|
6856
6825
|
}
|
|
6826
|
+
/**
|
|
6827
|
+
*
|
|
6828
|
+
* @export
|
|
6829
|
+
* @interface SuggestionFriendResponseDTO
|
|
6830
|
+
*/
|
|
6831
|
+
export interface SuggestionFriendResponseDTO {
|
|
6832
|
+
/**
|
|
6833
|
+
* statusCode
|
|
6834
|
+
* @type {number}
|
|
6835
|
+
* @memberof SuggestionFriendResponseDTO
|
|
6836
|
+
*/
|
|
6837
|
+
'statusCode': number;
|
|
6838
|
+
/**
|
|
6839
|
+
* User
|
|
6840
|
+
* @type {Array<UserEntity>}
|
|
6841
|
+
* @memberof SuggestionFriendResponseDTO
|
|
6842
|
+
*/
|
|
6843
|
+
'data': Array<UserEntity>;
|
|
6844
|
+
}
|
|
6857
6845
|
/**
|
|
6858
6846
|
*
|
|
6859
6847
|
* @export
|
|
@@ -7472,12 +7460,6 @@ export interface UserEntity {
|
|
|
7472
7460
|
* @memberof UserEntity
|
|
7473
7461
|
*/
|
|
7474
7462
|
'isEmailVerified': boolean;
|
|
7475
|
-
/**
|
|
7476
|
-
* Indicates whether the business owner subscription status
|
|
7477
|
-
* @type {string}
|
|
7478
|
-
* @memberof UserEntity
|
|
7479
|
-
*/
|
|
7480
|
-
'subscription': string;
|
|
7481
7463
|
/**
|
|
7482
7464
|
* Primary user calendar
|
|
7483
7465
|
* @type {string}
|
|
@@ -8822,6 +8804,39 @@ export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
|
8822
8804
|
|
|
8823
8805
|
|
|
8824
8806
|
|
|
8807
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8808
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8809
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
8810
|
+
|
|
8811
|
+
return {
|
|
8812
|
+
url: toPathString(localVarUrlObj),
|
|
8813
|
+
options: localVarRequestOptions,
|
|
8814
|
+
};
|
|
8815
|
+
},
|
|
8816
|
+
/**
|
|
8817
|
+
*
|
|
8818
|
+
* @param {*} [options] Override http request option.
|
|
8819
|
+
* @throws {RequiredError}
|
|
8820
|
+
*/
|
|
8821
|
+
assistantControllerGenerateHomeFeed: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
8822
|
+
const localVarPath = `/v1/ai/home-feed`;
|
|
8823
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8824
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8825
|
+
let baseOptions;
|
|
8826
|
+
if (configuration) {
|
|
8827
|
+
baseOptions = configuration.baseOptions;
|
|
8828
|
+
}
|
|
8829
|
+
|
|
8830
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
8831
|
+
const localVarHeaderParameter = {} as any;
|
|
8832
|
+
const localVarQueryParameter = {} as any;
|
|
8833
|
+
|
|
8834
|
+
// authentication bearer required
|
|
8835
|
+
// http bearer authentication required
|
|
8836
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
8837
|
+
|
|
8838
|
+
|
|
8839
|
+
|
|
8825
8840
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8826
8841
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8827
8842
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -8916,6 +8931,17 @@ export const AIApiFp = function(configuration?: Configuration) {
|
|
|
8916
8931
|
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerAiSuggestionList']?.[localVarOperationServerIndex]?.url;
|
|
8917
8932
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8918
8933
|
},
|
|
8934
|
+
/**
|
|
8935
|
+
*
|
|
8936
|
+
* @param {*} [options] Override http request option.
|
|
8937
|
+
* @throws {RequiredError}
|
|
8938
|
+
*/
|
|
8939
|
+
async assistantControllerGenerateHomeFeed(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HomeFeedEListResponseDTO>> {
|
|
8940
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.assistantControllerGenerateHomeFeed(options);
|
|
8941
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8942
|
+
const localVarOperationServerBasePath = operationServerMap['AIApi.assistantControllerGenerateHomeFeed']?.[localVarOperationServerIndex]?.url;
|
|
8943
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8944
|
+
},
|
|
8919
8945
|
/**
|
|
8920
8946
|
*
|
|
8921
8947
|
* @param {*} [options] Override http request option.
|
|
@@ -8958,6 +8984,14 @@ export const AIApiFactory = function (configuration?: Configuration, basePath?:
|
|
|
8958
8984
|
assistantControllerAiSuggestionList(page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<AISuggestionListResponse> {
|
|
8959
8985
|
return localVarFp.assistantControllerAiSuggestionList(page, pageSize, options).then((request) => request(axios, basePath));
|
|
8960
8986
|
},
|
|
8987
|
+
/**
|
|
8988
|
+
*
|
|
8989
|
+
* @param {*} [options] Override http request option.
|
|
8990
|
+
* @throws {RequiredError}
|
|
8991
|
+
*/
|
|
8992
|
+
assistantControllerGenerateHomeFeed(options?: RawAxiosRequestConfig): AxiosPromise<HomeFeedEListResponseDTO> {
|
|
8993
|
+
return localVarFp.assistantControllerGenerateHomeFeed(options).then((request) => request(axios, basePath));
|
|
8994
|
+
},
|
|
8961
8995
|
/**
|
|
8962
8996
|
*
|
|
8963
8997
|
* @param {*} [options] Override http request option.
|
|
@@ -8996,6 +9030,16 @@ export class AIApi extends BaseAPI {
|
|
|
8996
9030
|
return AIApiFp(this.configuration).assistantControllerAiSuggestionList(page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
8997
9031
|
}
|
|
8998
9032
|
|
|
9033
|
+
/**
|
|
9034
|
+
*
|
|
9035
|
+
* @param {*} [options] Override http request option.
|
|
9036
|
+
* @throws {RequiredError}
|
|
9037
|
+
* @memberof AIApi
|
|
9038
|
+
*/
|
|
9039
|
+
public assistantControllerGenerateHomeFeed(options?: RawAxiosRequestConfig) {
|
|
9040
|
+
return AIApiFp(this.configuration).assistantControllerGenerateHomeFeed(options).then((request) => request(this.axios, this.basePath));
|
|
9041
|
+
}
|
|
9042
|
+
|
|
8999
9043
|
/**
|
|
9000
9044
|
*
|
|
9001
9045
|
* @param {*} [options] Override http request option.
|
|
@@ -12004,14 +12048,14 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12004
12048
|
},
|
|
12005
12049
|
/**
|
|
12006
12050
|
*
|
|
12007
|
-
* @param {
|
|
12051
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
12008
12052
|
* @param {*} [options] Override http request option.
|
|
12009
12053
|
* @throws {RequiredError}
|
|
12010
12054
|
*/
|
|
12011
|
-
|
|
12012
|
-
// verify required parameter '
|
|
12013
|
-
assertParamExists('
|
|
12014
|
-
const localVarPath = `/v1/business/
|
|
12055
|
+
businessTypeControllerGetBusinessVenue: async (getBusinessVenueDto: GetBusinessVenueDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12056
|
+
// verify required parameter 'getBusinessVenueDto' is not null or undefined
|
|
12057
|
+
assertParamExists('businessTypeControllerGetBusinessVenue', 'getBusinessVenueDto', getBusinessVenueDto)
|
|
12058
|
+
const localVarPath = `/v1/business/business-venue`;
|
|
12015
12059
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12016
12060
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12017
12061
|
let baseOptions;
|
|
@@ -12023,6 +12067,10 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12023
12067
|
const localVarHeaderParameter = {} as any;
|
|
12024
12068
|
const localVarQueryParameter = {} as any;
|
|
12025
12069
|
|
|
12070
|
+
// authentication bearer required
|
|
12071
|
+
// http bearer authentication required
|
|
12072
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
12073
|
+
|
|
12026
12074
|
|
|
12027
12075
|
|
|
12028
12076
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -12030,7 +12078,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12030
12078
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12031
12079
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12032
12080
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12033
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
12081
|
+
localVarRequestOptions.data = serializeDataIfNeeded(getBusinessVenueDto, localVarRequestOptions, configuration)
|
|
12034
12082
|
|
|
12035
12083
|
return {
|
|
12036
12084
|
url: toPathString(localVarUrlObj),
|
|
@@ -12039,14 +12087,11 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12039
12087
|
},
|
|
12040
12088
|
/**
|
|
12041
12089
|
*
|
|
12042
|
-
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
12043
12090
|
* @param {*} [options] Override http request option.
|
|
12044
12091
|
* @throws {RequiredError}
|
|
12045
12092
|
*/
|
|
12046
|
-
|
|
12047
|
-
|
|
12048
|
-
assertParamExists('businessTypeControllerGetBusinessVenue', 'getBusinessVenueDto', getBusinessVenueDto)
|
|
12049
|
-
const localVarPath = `/v1/business/business-venue`;
|
|
12093
|
+
businessTypeControllerHighlyRecommended: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12094
|
+
const localVarPath = `/v1/business/highlyRecommended`;
|
|
12050
12095
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12051
12096
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12052
12097
|
let baseOptions;
|
|
@@ -12054,7 +12099,7 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12054
12099
|
baseOptions = configuration.baseOptions;
|
|
12055
12100
|
}
|
|
12056
12101
|
|
|
12057
|
-
const localVarRequestOptions = { method: '
|
|
12102
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
12058
12103
|
const localVarHeaderParameter = {} as any;
|
|
12059
12104
|
const localVarQueryParameter = {} as any;
|
|
12060
12105
|
|
|
@@ -12064,12 +12109,9 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12064
12109
|
|
|
12065
12110
|
|
|
12066
12111
|
|
|
12067
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12068
|
-
|
|
12069
12112
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12070
12113
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12071
12114
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12072
|
-
localVarRequestOptions.data = serializeDataIfNeeded(getBusinessVenueDto, localVarRequestOptions, configuration)
|
|
12073
12115
|
|
|
12074
12116
|
return {
|
|
12075
12117
|
url: toPathString(localVarUrlObj),
|
|
@@ -12081,8 +12123,8 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
12081
12123
|
* @param {*} [options] Override http request option.
|
|
12082
12124
|
* @throws {RequiredError}
|
|
12083
12125
|
*/
|
|
12084
|
-
|
|
12085
|
-
const localVarPath = `/v1/business/
|
|
12126
|
+
businessTypeControllerListAllCategories: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12127
|
+
const localVarPath = `/v1/business/categories`;
|
|
12086
12128
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
12087
12129
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
12088
12130
|
let baseOptions;
|
|
@@ -12564,26 +12606,25 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12564
12606
|
},
|
|
12565
12607
|
/**
|
|
12566
12608
|
*
|
|
12567
|
-
* @param {
|
|
12609
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
12568
12610
|
* @param {*} [options] Override http request option.
|
|
12569
12611
|
* @throws {RequiredError}
|
|
12570
12612
|
*/
|
|
12571
|
-
async
|
|
12572
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
12613
|
+
async businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessVenueResponseDTO>> {
|
|
12614
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options);
|
|
12573
12615
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12574
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.
|
|
12616
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerGetBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
12575
12617
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12576
12618
|
},
|
|
12577
12619
|
/**
|
|
12578
12620
|
*
|
|
12579
|
-
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
12580
12621
|
* @param {*} [options] Override http request option.
|
|
12581
12622
|
* @throws {RequiredError}
|
|
12582
12623
|
*/
|
|
12583
|
-
async
|
|
12584
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
12624
|
+
async businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
12625
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerHighlyRecommended(options);
|
|
12585
12626
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12586
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.
|
|
12627
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerHighlyRecommended']?.[localVarOperationServerIndex]?.url;
|
|
12587
12628
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12588
12629
|
},
|
|
12589
12630
|
/**
|
|
@@ -12591,10 +12632,10 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
12591
12632
|
* @param {*} [options] Override http request option.
|
|
12592
12633
|
* @throws {RequiredError}
|
|
12593
12634
|
*/
|
|
12594
|
-
async
|
|
12595
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
12635
|
+
async businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CategoryListResponse>> {
|
|
12636
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerListAllCategories(options);
|
|
12596
12637
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
12597
|
-
const localVarOperationServerBasePath = operationServerMap['BusinessApi.
|
|
12638
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerListAllCategories']?.[localVarOperationServerIndex]?.url;
|
|
12598
12639
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12599
12640
|
},
|
|
12600
12641
|
/**
|
|
@@ -12819,29 +12860,28 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
12819
12860
|
},
|
|
12820
12861
|
/**
|
|
12821
12862
|
*
|
|
12822
|
-
* @param {
|
|
12863
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
12823
12864
|
* @param {*} [options] Override http request option.
|
|
12824
12865
|
* @throws {RequiredError}
|
|
12825
12866
|
*/
|
|
12826
|
-
|
|
12827
|
-
return localVarFp.
|
|
12867
|
+
businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig): AxiosPromise<BusinessVenueResponseDTO> {
|
|
12868
|
+
return localVarFp.businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(axios, basePath));
|
|
12828
12869
|
},
|
|
12829
12870
|
/**
|
|
12830
12871
|
*
|
|
12831
|
-
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
12832
12872
|
* @param {*} [options] Override http request option.
|
|
12833
12873
|
* @throws {RequiredError}
|
|
12834
12874
|
*/
|
|
12835
|
-
|
|
12836
|
-
return localVarFp.
|
|
12875
|
+
businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
12876
|
+
return localVarFp.businessTypeControllerHighlyRecommended(options).then((request) => request(axios, basePath));
|
|
12837
12877
|
},
|
|
12838
12878
|
/**
|
|
12839
12879
|
*
|
|
12840
12880
|
* @param {*} [options] Override http request option.
|
|
12841
12881
|
* @throws {RequiredError}
|
|
12842
12882
|
*/
|
|
12843
|
-
|
|
12844
|
-
return localVarFp.
|
|
12883
|
+
businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig): AxiosPromise<CategoryListResponse> {
|
|
12884
|
+
return localVarFp.businessTypeControllerListAllCategories(options).then((request) => request(axios, basePath));
|
|
12845
12885
|
},
|
|
12846
12886
|
/**
|
|
12847
12887
|
*
|
|
@@ -13067,24 +13107,23 @@ export class BusinessApi extends BaseAPI {
|
|
|
13067
13107
|
|
|
13068
13108
|
/**
|
|
13069
13109
|
*
|
|
13070
|
-
* @param {
|
|
13110
|
+
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
13071
13111
|
* @param {*} [options] Override http request option.
|
|
13072
13112
|
* @throws {RequiredError}
|
|
13073
13113
|
* @memberof BusinessApi
|
|
13074
13114
|
*/
|
|
13075
|
-
public
|
|
13076
|
-
return BusinessApiFp(this.configuration).
|
|
13115
|
+
public businessTypeControllerGetBusinessVenue(getBusinessVenueDto: GetBusinessVenueDto, options?: RawAxiosRequestConfig) {
|
|
13116
|
+
return BusinessApiFp(this.configuration).businessTypeControllerGetBusinessVenue(getBusinessVenueDto, options).then((request) => request(this.axios, this.basePath));
|
|
13077
13117
|
}
|
|
13078
13118
|
|
|
13079
13119
|
/**
|
|
13080
13120
|
*
|
|
13081
|
-
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
13082
13121
|
* @param {*} [options] Override http request option.
|
|
13083
13122
|
* @throws {RequiredError}
|
|
13084
13123
|
* @memberof BusinessApi
|
|
13085
13124
|
*/
|
|
13086
|
-
public
|
|
13087
|
-
return BusinessApiFp(this.configuration).
|
|
13125
|
+
public businessTypeControllerHighlyRecommended(options?: RawAxiosRequestConfig) {
|
|
13126
|
+
return BusinessApiFp(this.configuration).businessTypeControllerHighlyRecommended(options).then((request) => request(this.axios, this.basePath));
|
|
13088
13127
|
}
|
|
13089
13128
|
|
|
13090
13129
|
/**
|
|
@@ -13093,8 +13132,8 @@ export class BusinessApi extends BaseAPI {
|
|
|
13093
13132
|
* @throws {RequiredError}
|
|
13094
13133
|
* @memberof BusinessApi
|
|
13095
13134
|
*/
|
|
13096
|
-
public
|
|
13097
|
-
return BusinessApiFp(this.configuration).
|
|
13135
|
+
public businessTypeControllerListAllCategories(options?: RawAxiosRequestConfig) {
|
|
13136
|
+
return BusinessApiFp(this.configuration).businessTypeControllerListAllCategories(options).then((request) => request(this.axios, this.basePath));
|
|
13098
13137
|
}
|
|
13099
13138
|
|
|
13100
13139
|
/**
|
|
@@ -15595,6 +15634,54 @@ export const FriendsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15595
15634
|
options: localVarRequestOptions,
|
|
15596
15635
|
};
|
|
15597
15636
|
},
|
|
15637
|
+
/**
|
|
15638
|
+
*
|
|
15639
|
+
* @param {string} [search]
|
|
15640
|
+
* @param {number} [page]
|
|
15641
|
+
* @param {number} [pageSize]
|
|
15642
|
+
* @param {*} [options] Override http request option.
|
|
15643
|
+
* @throws {RequiredError}
|
|
15644
|
+
*/
|
|
15645
|
+
friendControllerSuggestedFriendList: async (search?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15646
|
+
const localVarPath = `/v1/friend/suggested-friends`;
|
|
15647
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15648
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15649
|
+
let baseOptions;
|
|
15650
|
+
if (configuration) {
|
|
15651
|
+
baseOptions = configuration.baseOptions;
|
|
15652
|
+
}
|
|
15653
|
+
|
|
15654
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15655
|
+
const localVarHeaderParameter = {} as any;
|
|
15656
|
+
const localVarQueryParameter = {} as any;
|
|
15657
|
+
|
|
15658
|
+
// authentication bearer required
|
|
15659
|
+
// http bearer authentication required
|
|
15660
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
15661
|
+
|
|
15662
|
+
if (search !== undefined) {
|
|
15663
|
+
localVarQueryParameter['search'] = search;
|
|
15664
|
+
}
|
|
15665
|
+
|
|
15666
|
+
if (page !== undefined) {
|
|
15667
|
+
localVarQueryParameter['page'] = page;
|
|
15668
|
+
}
|
|
15669
|
+
|
|
15670
|
+
if (pageSize !== undefined) {
|
|
15671
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
15672
|
+
}
|
|
15673
|
+
|
|
15674
|
+
|
|
15675
|
+
|
|
15676
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15677
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15678
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15679
|
+
|
|
15680
|
+
return {
|
|
15681
|
+
url: toPathString(localVarUrlObj),
|
|
15682
|
+
options: localVarRequestOptions,
|
|
15683
|
+
};
|
|
15684
|
+
},
|
|
15598
15685
|
/**
|
|
15599
15686
|
*
|
|
15600
15687
|
* @param {*} [options] Override http request option.
|
|
@@ -15760,6 +15847,20 @@ export const FriendsApiFp = function(configuration?: Configuration) {
|
|
|
15760
15847
|
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerSendFriendRequest']?.[localVarOperationServerIndex]?.url;
|
|
15761
15848
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15762
15849
|
},
|
|
15850
|
+
/**
|
|
15851
|
+
*
|
|
15852
|
+
* @param {string} [search]
|
|
15853
|
+
* @param {number} [page]
|
|
15854
|
+
* @param {number} [pageSize]
|
|
15855
|
+
* @param {*} [options] Override http request option.
|
|
15856
|
+
* @throws {RequiredError}
|
|
15857
|
+
*/
|
|
15858
|
+
async friendControllerSuggestedFriendList(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuggestionFriendResponseDTO>> {
|
|
15859
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.friendControllerSuggestedFriendList(search, page, pageSize, options);
|
|
15860
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15861
|
+
const localVarOperationServerBasePath = operationServerMap['FriendsApi.friendControllerSuggestedFriendList']?.[localVarOperationServerIndex]?.url;
|
|
15862
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15863
|
+
},
|
|
15763
15864
|
/**
|
|
15764
15865
|
*
|
|
15765
15866
|
* @param {*} [options] Override http request option.
|
|
@@ -15873,6 +15974,17 @@ export const FriendsApiFactory = function (configuration?: Configuration, basePa
|
|
|
15873
15974
|
friendControllerSendFriendRequest(sendFriendshipRequestPayload: SendFriendshipRequestPayload, options?: RawAxiosRequestConfig): AxiosPromise<FriendsResponseDTO> {
|
|
15874
15975
|
return localVarFp.friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(axios, basePath));
|
|
15875
15976
|
},
|
|
15977
|
+
/**
|
|
15978
|
+
*
|
|
15979
|
+
* @param {string} [search]
|
|
15980
|
+
* @param {number} [page]
|
|
15981
|
+
* @param {number} [pageSize]
|
|
15982
|
+
* @param {*} [options] Override http request option.
|
|
15983
|
+
* @throws {RequiredError}
|
|
15984
|
+
*/
|
|
15985
|
+
friendControllerSuggestedFriendList(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<SuggestionFriendResponseDTO> {
|
|
15986
|
+
return localVarFp.friendControllerSuggestedFriendList(search, page, pageSize, options).then((request) => request(axios, basePath));
|
|
15987
|
+
},
|
|
15876
15988
|
/**
|
|
15877
15989
|
*
|
|
15878
15990
|
* @param {*} [options] Override http request option.
|
|
@@ -16003,6 +16115,19 @@ export class FriendsApi extends BaseAPI {
|
|
|
16003
16115
|
return FriendsApiFp(this.configuration).friendControllerSendFriendRequest(sendFriendshipRequestPayload, options).then((request) => request(this.axios, this.basePath));
|
|
16004
16116
|
}
|
|
16005
16117
|
|
|
16118
|
+
/**
|
|
16119
|
+
*
|
|
16120
|
+
* @param {string} [search]
|
|
16121
|
+
* @param {number} [page]
|
|
16122
|
+
* @param {number} [pageSize]
|
|
16123
|
+
* @param {*} [options] Override http request option.
|
|
16124
|
+
* @throws {RequiredError}
|
|
16125
|
+
* @memberof FriendsApi
|
|
16126
|
+
*/
|
|
16127
|
+
public friendControllerSuggestedFriendList(search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
|
|
16128
|
+
return FriendsApiFp(this.configuration).friendControllerSuggestedFriendList(search, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
16129
|
+
}
|
|
16130
|
+
|
|
16006
16131
|
/**
|
|
16007
16132
|
*
|
|
16008
16133
|
* @param {*} [options] Override http request option.
|
|
@@ -17735,10 +17860,6 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
17735
17860
|
const localVarHeaderParameter = {} as any;
|
|
17736
17861
|
const localVarQueryParameter = {} as any;
|
|
17737
17862
|
|
|
17738
|
-
// authentication bearer required
|
|
17739
|
-
// http bearer authentication required
|
|
17740
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17741
|
-
|
|
17742
17863
|
|
|
17743
17864
|
|
|
17744
17865
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
@@ -17864,39 +17985,6 @@ export const PlansApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
17864
17985
|
|
|
17865
17986
|
|
|
17866
17987
|
|
|
17867
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17868
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17869
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17870
|
-
|
|
17871
|
-
return {
|
|
17872
|
-
url: toPathString(localVarUrlObj),
|
|
17873
|
-
options: localVarRequestOptions,
|
|
17874
|
-
};
|
|
17875
|
-
},
|
|
17876
|
-
/**
|
|
17877
|
-
*
|
|
17878
|
-
* @param {string} id
|
|
17879
|
-
* @param {*} [options] Override http request option.
|
|
17880
|
-
* @throws {RequiredError}
|
|
17881
|
-
*/
|
|
17882
|
-
paymentControllerServiceById: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17883
|
-
// verify required parameter 'id' is not null or undefined
|
|
17884
|
-
assertParamExists('paymentControllerServiceById', 'id', id)
|
|
17885
|
-
const localVarPath = `/v1/payment/stripe-plan/{id}`
|
|
17886
|
-
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
17887
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17888
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17889
|
-
let baseOptions;
|
|
17890
|
-
if (configuration) {
|
|
17891
|
-
baseOptions = configuration.baseOptions;
|
|
17892
|
-
}
|
|
17893
|
-
|
|
17894
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17895
|
-
const localVarHeaderParameter = {} as any;
|
|
17896
|
-
const localVarQueryParameter = {} as any;
|
|
17897
|
-
|
|
17898
|
-
|
|
17899
|
-
|
|
17900
17988
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17901
17989
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17902
17990
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -18068,18 +18156,6 @@ export const PlansApiFp = function(configuration?: Configuration) {
|
|
|
18068
18156
|
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerRevenueCatWebhook']?.[localVarOperationServerIndex]?.url;
|
|
18069
18157
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18070
18158
|
},
|
|
18071
|
-
/**
|
|
18072
|
-
*
|
|
18073
|
-
* @param {string} id
|
|
18074
|
-
* @param {*} [options] Override http request option.
|
|
18075
|
-
* @throws {RequiredError}
|
|
18076
|
-
*/
|
|
18077
|
-
async paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProductResponseDTO>> {
|
|
18078
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.paymentControllerServiceById(id, options);
|
|
18079
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18080
|
-
const localVarOperationServerBasePath = operationServerMap['PlansApi.paymentControllerServiceById']?.[localVarOperationServerIndex]?.url;
|
|
18081
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18082
|
-
},
|
|
18083
18159
|
/**
|
|
18084
18160
|
*
|
|
18085
18161
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -18171,15 +18247,6 @@ export const PlansApiFactory = function (configuration?: Configuration, basePath
|
|
|
18171
18247
|
paymentControllerRevenueCatWebhook(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
18172
18248
|
return localVarFp.paymentControllerRevenueCatWebhook(options).then((request) => request(axios, basePath));
|
|
18173
18249
|
},
|
|
18174
|
-
/**
|
|
18175
|
-
*
|
|
18176
|
-
* @param {string} id
|
|
18177
|
-
* @param {*} [options] Override http request option.
|
|
18178
|
-
* @throws {RequiredError}
|
|
18179
|
-
*/
|
|
18180
|
-
paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ProductResponseDTO> {
|
|
18181
|
-
return localVarFp.paymentControllerServiceById(id, options).then((request) => request(axios, basePath));
|
|
18182
|
-
},
|
|
18183
18250
|
/**
|
|
18184
18251
|
*
|
|
18185
18252
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -18279,17 +18346,6 @@ export class PlansApi extends BaseAPI {
|
|
|
18279
18346
|
return PlansApiFp(this.configuration).paymentControllerRevenueCatWebhook(options).then((request) => request(this.axios, this.basePath));
|
|
18280
18347
|
}
|
|
18281
18348
|
|
|
18282
|
-
/**
|
|
18283
|
-
*
|
|
18284
|
-
* @param {string} id
|
|
18285
|
-
* @param {*} [options] Override http request option.
|
|
18286
|
-
* @throws {RequiredError}
|
|
18287
|
-
* @memberof PlansApi
|
|
18288
|
-
*/
|
|
18289
|
-
public paymentControllerServiceById(id: string, options?: RawAxiosRequestConfig) {
|
|
18290
|
-
return PlansApiFp(this.configuration).paymentControllerServiceById(id, options).then((request) => request(this.axios, this.basePath));
|
|
18291
|
-
}
|
|
18292
|
-
|
|
18293
18349
|
/**
|
|
18294
18350
|
*
|
|
18295
18351
|
* @param {BookingPaymentPayloadDTO} bookingPaymentPayloadDTO
|
|
@@ -21965,41 +22021,6 @@ export const WhatsOnApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
21965
22021
|
options: localVarRequestOptions,
|
|
21966
22022
|
};
|
|
21967
22023
|
},
|
|
21968
|
-
/**
|
|
21969
|
-
*
|
|
21970
|
-
* @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
|
|
21971
|
-
* @param {*} [options] Override http request option.
|
|
21972
|
-
* @throws {RequiredError}
|
|
21973
|
-
*/
|
|
21974
|
-
whatsOnControllerGetAllWhatsOn: async (getAllWhatsOnDTO: GetAllWhatsOnDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
21975
|
-
// verify required parameter 'getAllWhatsOnDTO' is not null or undefined
|
|
21976
|
-
assertParamExists('whatsOnControllerGetAllWhatsOn', 'getAllWhatsOnDTO', getAllWhatsOnDTO)
|
|
21977
|
-
const localVarPath = `/v1/whats-on/public-list`;
|
|
21978
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
21979
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
21980
|
-
let baseOptions;
|
|
21981
|
-
if (configuration) {
|
|
21982
|
-
baseOptions = configuration.baseOptions;
|
|
21983
|
-
}
|
|
21984
|
-
|
|
21985
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
21986
|
-
const localVarHeaderParameter = {} as any;
|
|
21987
|
-
const localVarQueryParameter = {} as any;
|
|
21988
|
-
|
|
21989
|
-
|
|
21990
|
-
|
|
21991
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
21992
|
-
|
|
21993
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
21994
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
21995
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
21996
|
-
localVarRequestOptions.data = serializeDataIfNeeded(getAllWhatsOnDTO, localVarRequestOptions, configuration)
|
|
21997
|
-
|
|
21998
|
-
return {
|
|
21999
|
-
url: toPathString(localVarUrlObj),
|
|
22000
|
-
options: localVarRequestOptions,
|
|
22001
|
-
};
|
|
22002
|
-
},
|
|
22003
22024
|
/**
|
|
22004
22025
|
*
|
|
22005
22026
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22358,18 +22379,6 @@ export const WhatsOnApiFp = function(configuration?: Configuration) {
|
|
|
22358
22379
|
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerFindWhatsOnById']?.[localVarOperationServerIndex]?.url;
|
|
22359
22380
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22360
22381
|
},
|
|
22361
|
-
/**
|
|
22362
|
-
*
|
|
22363
|
-
* @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
|
|
22364
|
-
* @param {*} [options] Override http request option.
|
|
22365
|
-
* @throws {RequiredError}
|
|
22366
|
-
*/
|
|
22367
|
-
async whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO: GetAllWhatsOnDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhatsOnResponseDTO>> {
|
|
22368
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO, options);
|
|
22369
|
-
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
22370
|
-
const localVarOperationServerBasePath = operationServerMap['WhatsOnApi.whatsOnControllerGetAllWhatsOn']?.[localVarOperationServerIndex]?.url;
|
|
22371
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
22372
|
-
},
|
|
22373
22382
|
/**
|
|
22374
22383
|
*
|
|
22375
22384
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22527,15 +22536,6 @@ export const WhatsOnApiFactory = function (configuration?: Configuration, basePa
|
|
|
22527
22536
|
whatsOnControllerFindWhatsOnById(id: string, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnFavoriteResponseDTO> {
|
|
22528
22537
|
return localVarFp.whatsOnControllerFindWhatsOnById(id, options).then((request) => request(axios, basePath));
|
|
22529
22538
|
},
|
|
22530
|
-
/**
|
|
22531
|
-
*
|
|
22532
|
-
* @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
|
|
22533
|
-
* @param {*} [options] Override http request option.
|
|
22534
|
-
* @throws {RequiredError}
|
|
22535
|
-
*/
|
|
22536
|
-
whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO: GetAllWhatsOnDTO, options?: RawAxiosRequestConfig): AxiosPromise<WhatsOnResponseDTO> {
|
|
22537
|
-
return localVarFp.whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO, options).then((request) => request(axios, basePath));
|
|
22538
|
-
},
|
|
22539
22539
|
/**
|
|
22540
22540
|
*
|
|
22541
22541
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|
|
@@ -22686,17 +22686,6 @@ export class WhatsOnApi extends BaseAPI {
|
|
|
22686
22686
|
return WhatsOnApiFp(this.configuration).whatsOnControllerFindWhatsOnById(id, options).then((request) => request(this.axios, this.basePath));
|
|
22687
22687
|
}
|
|
22688
22688
|
|
|
22689
|
-
/**
|
|
22690
|
-
*
|
|
22691
|
-
* @param {GetAllWhatsOnDTO} getAllWhatsOnDTO
|
|
22692
|
-
* @param {*} [options] Override http request option.
|
|
22693
|
-
* @throws {RequiredError}
|
|
22694
|
-
* @memberof WhatsOnApi
|
|
22695
|
-
*/
|
|
22696
|
-
public whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO: GetAllWhatsOnDTO, options?: RawAxiosRequestConfig) {
|
|
22697
|
-
return WhatsOnApiFp(this.configuration).whatsOnControllerGetAllWhatsOn(getAllWhatsOnDTO, options).then((request) => request(this.axios, this.basePath));
|
|
22698
|
-
}
|
|
22699
|
-
|
|
22700
22689
|
/**
|
|
22701
22690
|
*
|
|
22702
22691
|
* @param {WhatsOnFavoriteDTO} whatsOnFavoriteDTO
|