@gooday_corp/gooday-api-client 1.2.29 → 1.2.30
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/api.ts +537 -39
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -557,6 +557,79 @@ export interface BookingResponseDTO {
|
|
|
557
557
|
*/
|
|
558
558
|
'data': BookingResponse;
|
|
559
559
|
}
|
|
560
|
+
/**
|
|
561
|
+
*
|
|
562
|
+
* @export
|
|
563
|
+
* @interface BusinessDetailsPayloadDTO
|
|
564
|
+
*/
|
|
565
|
+
export interface BusinessDetailsPayloadDTO {
|
|
566
|
+
/**
|
|
567
|
+
* Business Timing
|
|
568
|
+
* @type {Array<BusinessTiming>}
|
|
569
|
+
* @memberof BusinessDetailsPayloadDTO
|
|
570
|
+
*/
|
|
571
|
+
'timing'?: Array<BusinessTiming>;
|
|
572
|
+
/**
|
|
573
|
+
* Business Venue
|
|
574
|
+
* @type {BusinessVenueDTO}
|
|
575
|
+
* @memberof BusinessDetailsPayloadDTO
|
|
576
|
+
*/
|
|
577
|
+
'venues'?: BusinessVenueDTO;
|
|
578
|
+
/**
|
|
579
|
+
* Business policies
|
|
580
|
+
* @type {string}
|
|
581
|
+
* @memberof BusinessDetailsPayloadDTO
|
|
582
|
+
*/
|
|
583
|
+
'policies'?: string;
|
|
584
|
+
/**
|
|
585
|
+
* Business Name
|
|
586
|
+
* @type {string}
|
|
587
|
+
* @memberof BusinessDetailsPayloadDTO
|
|
588
|
+
*/
|
|
589
|
+
'name'?: string;
|
|
590
|
+
/**
|
|
591
|
+
* Business cancellationFee
|
|
592
|
+
* @type {number}
|
|
593
|
+
* @memberof BusinessDetailsPayloadDTO
|
|
594
|
+
*/
|
|
595
|
+
'cancellationFee'?: number;
|
|
596
|
+
/**
|
|
597
|
+
* Business ID
|
|
598
|
+
* @type {string}
|
|
599
|
+
* @memberof BusinessDetailsPayloadDTO
|
|
600
|
+
*/
|
|
601
|
+
'businessID'?: string;
|
|
602
|
+
/**
|
|
603
|
+
* Business Country
|
|
604
|
+
* @type {string}
|
|
605
|
+
* @memberof BusinessDetailsPayloadDTO
|
|
606
|
+
*/
|
|
607
|
+
'businessCountry'?: string;
|
|
608
|
+
/**
|
|
609
|
+
* Assistant ID
|
|
610
|
+
* @type {string}
|
|
611
|
+
* @memberof BusinessDetailsPayloadDTO
|
|
612
|
+
*/
|
|
613
|
+
'assistant'?: string;
|
|
614
|
+
/**
|
|
615
|
+
*
|
|
616
|
+
* @type {string}
|
|
617
|
+
* @memberof BusinessDetailsPayloadDTO
|
|
618
|
+
*/
|
|
619
|
+
'cancellationDuration'?: string;
|
|
620
|
+
/**
|
|
621
|
+
* Business
|
|
622
|
+
* @type {string}
|
|
623
|
+
* @memberof BusinessDetailsPayloadDTO
|
|
624
|
+
*/
|
|
625
|
+
'business'?: string;
|
|
626
|
+
/**
|
|
627
|
+
* Business venue
|
|
628
|
+
* @type {string}
|
|
629
|
+
* @memberof BusinessDetailsPayloadDTO
|
|
630
|
+
*/
|
|
631
|
+
'venue'?: string;
|
|
632
|
+
}
|
|
560
633
|
/**
|
|
561
634
|
*
|
|
562
635
|
* @export
|
|
@@ -599,6 +672,12 @@ export interface BusinessEntity {
|
|
|
599
672
|
* @memberof BusinessEntity
|
|
600
673
|
*/
|
|
601
674
|
'cancellationFee'?: number;
|
|
675
|
+
/**
|
|
676
|
+
* Business cancellationDuration
|
|
677
|
+
* @type {string}
|
|
678
|
+
* @memberof BusinessEntity
|
|
679
|
+
*/
|
|
680
|
+
'cancellationDuration'?: string;
|
|
602
681
|
/**
|
|
603
682
|
* Business ID
|
|
604
683
|
* @type {string}
|
|
@@ -652,6 +731,44 @@ export const BusinessEntityStatusEnum = {
|
|
|
652
731
|
|
|
653
732
|
export type BusinessEntityStatusEnum = typeof BusinessEntityStatusEnum[keyof typeof BusinessEntityStatusEnum];
|
|
654
733
|
|
|
734
|
+
/**
|
|
735
|
+
*
|
|
736
|
+
* @export
|
|
737
|
+
* @interface BusinessFavoriteCount
|
|
738
|
+
*/
|
|
739
|
+
export interface BusinessFavoriteCount {
|
|
740
|
+
/**
|
|
741
|
+
*
|
|
742
|
+
* @type {number}
|
|
743
|
+
* @memberof BusinessFavoriteCount
|
|
744
|
+
*/
|
|
745
|
+
'venueFavorite': number;
|
|
746
|
+
/**
|
|
747
|
+
*
|
|
748
|
+
* @type {number}
|
|
749
|
+
* @memberof BusinessFavoriteCount
|
|
750
|
+
*/
|
|
751
|
+
'venueFavoriteByFriend': number;
|
|
752
|
+
}
|
|
753
|
+
/**
|
|
754
|
+
*
|
|
755
|
+
* @export
|
|
756
|
+
* @interface BusinessFavoriteCountResponseDTO
|
|
757
|
+
*/
|
|
758
|
+
export interface BusinessFavoriteCountResponseDTO {
|
|
759
|
+
/**
|
|
760
|
+
* statusCode
|
|
761
|
+
* @type {number}
|
|
762
|
+
* @memberof BusinessFavoriteCountResponseDTO
|
|
763
|
+
*/
|
|
764
|
+
'statusCode': number;
|
|
765
|
+
/**
|
|
766
|
+
*
|
|
767
|
+
* @type {BusinessFavoriteCount}
|
|
768
|
+
* @memberof BusinessFavoriteCountResponseDTO
|
|
769
|
+
*/
|
|
770
|
+
'data': BusinessFavoriteCount;
|
|
771
|
+
}
|
|
655
772
|
/**
|
|
656
773
|
*
|
|
657
774
|
* @export
|
|
@@ -684,6 +801,25 @@ export interface BusinessFavoriteResponse {
|
|
|
684
801
|
*/
|
|
685
802
|
'data': BusinessFavoriteDTO;
|
|
686
803
|
}
|
|
804
|
+
/**
|
|
805
|
+
*
|
|
806
|
+
* @export
|
|
807
|
+
* @interface BusinessFavoriteResponseDTO
|
|
808
|
+
*/
|
|
809
|
+
export interface BusinessFavoriteResponseDTO {
|
|
810
|
+
/**
|
|
811
|
+
* statusCode
|
|
812
|
+
* @type {number}
|
|
813
|
+
* @memberof BusinessFavoriteResponseDTO
|
|
814
|
+
*/
|
|
815
|
+
'statusCode': number;
|
|
816
|
+
/**
|
|
817
|
+
* Business Favorite
|
|
818
|
+
* @type {BusinessVenueDetailsEntity}
|
|
819
|
+
* @memberof BusinessFavoriteResponseDTO
|
|
820
|
+
*/
|
|
821
|
+
'data': BusinessVenueDetailsEntity;
|
|
822
|
+
}
|
|
687
823
|
/**
|
|
688
824
|
*
|
|
689
825
|
* @export
|
|
@@ -1294,10 +1430,10 @@ export interface BusinessVenueDetailsEntity {
|
|
|
1294
1430
|
'business': BusinessEntity;
|
|
1295
1431
|
/**
|
|
1296
1432
|
*
|
|
1297
|
-
* @type {Array<
|
|
1433
|
+
* @type {Array<TagsResponse>}
|
|
1298
1434
|
* @memberof BusinessVenueDetailsEntity
|
|
1299
1435
|
*/
|
|
1300
|
-
'tags': Array<
|
|
1436
|
+
'tags': Array<TagsResponse>;
|
|
1301
1437
|
/**
|
|
1302
1438
|
*
|
|
1303
1439
|
* @type {SocialMedia}
|
|
@@ -1788,6 +1924,18 @@ export interface CreateBookingPayload {
|
|
|
1788
1924
|
* @memberof CreateBookingPayload
|
|
1789
1925
|
*/
|
|
1790
1926
|
'method': string;
|
|
1927
|
+
/**
|
|
1928
|
+
*
|
|
1929
|
+
* @type {Array<string>}
|
|
1930
|
+
* @memberof CreateBookingPayload
|
|
1931
|
+
*/
|
|
1932
|
+
'staffs': Array<string>;
|
|
1933
|
+
/**
|
|
1934
|
+
*
|
|
1935
|
+
* @type {Array<string>}
|
|
1936
|
+
* @memberof CreateBookingPayload
|
|
1937
|
+
*/
|
|
1938
|
+
'tags': Array<string>;
|
|
1791
1939
|
}
|
|
1792
1940
|
/**
|
|
1793
1941
|
*
|
|
@@ -2393,6 +2541,55 @@ export interface FindBusinessStaff {
|
|
|
2393
2541
|
*/
|
|
2394
2542
|
'allStaff'?: boolean;
|
|
2395
2543
|
}
|
|
2544
|
+
/**
|
|
2545
|
+
*
|
|
2546
|
+
* @export
|
|
2547
|
+
* @interface FindFriendsFavoritesDTO
|
|
2548
|
+
*/
|
|
2549
|
+
export interface FindFriendsFavoritesDTO {
|
|
2550
|
+
/**
|
|
2551
|
+
*
|
|
2552
|
+
* @type {string}
|
|
2553
|
+
* @memberof FindFriendsFavoritesDTO
|
|
2554
|
+
*/
|
|
2555
|
+
'price'?: string;
|
|
2556
|
+
/**
|
|
2557
|
+
*
|
|
2558
|
+
* @type {number}
|
|
2559
|
+
* @memberof FindFriendsFavoritesDTO
|
|
2560
|
+
*/
|
|
2561
|
+
'people'?: number;
|
|
2562
|
+
/**
|
|
2563
|
+
*
|
|
2564
|
+
* @type {boolean}
|
|
2565
|
+
* @memberof FindFriendsFavoritesDTO
|
|
2566
|
+
*/
|
|
2567
|
+
'available_today'?: boolean;
|
|
2568
|
+
/**
|
|
2569
|
+
*
|
|
2570
|
+
* @type {string}
|
|
2571
|
+
* @memberof FindFriendsFavoritesDTO
|
|
2572
|
+
*/
|
|
2573
|
+
'distance'?: string;
|
|
2574
|
+
/**
|
|
2575
|
+
*
|
|
2576
|
+
* @type {string}
|
|
2577
|
+
* @memberof FindFriendsFavoritesDTO
|
|
2578
|
+
*/
|
|
2579
|
+
'cuisine'?: string;
|
|
2580
|
+
/**
|
|
2581
|
+
* Page number for pagination
|
|
2582
|
+
* @type {number}
|
|
2583
|
+
* @memberof FindFriendsFavoritesDTO
|
|
2584
|
+
*/
|
|
2585
|
+
'page'?: number;
|
|
2586
|
+
/**
|
|
2587
|
+
* Number of items per page for pagination
|
|
2588
|
+
* @type {number}
|
|
2589
|
+
* @memberof FindFriendsFavoritesDTO
|
|
2590
|
+
*/
|
|
2591
|
+
'limit'?: number;
|
|
2592
|
+
}
|
|
2396
2593
|
/**
|
|
2397
2594
|
*
|
|
2398
2595
|
* @export
|
|
@@ -3535,6 +3732,46 @@ export const PrepaidServiceEntityCategoryEnum = {
|
|
|
3535
3732
|
|
|
3536
3733
|
export type PrepaidServiceEntityCategoryEnum = typeof PrepaidServiceEntityCategoryEnum[keyof typeof PrepaidServiceEntityCategoryEnum];
|
|
3537
3734
|
|
|
3735
|
+
/**
|
|
3736
|
+
*
|
|
3737
|
+
* @export
|
|
3738
|
+
* @interface PrepaidServiceFindDTO
|
|
3739
|
+
*/
|
|
3740
|
+
export interface PrepaidServiceFindDTO {
|
|
3741
|
+
/**
|
|
3742
|
+
*
|
|
3743
|
+
* @type {number}
|
|
3744
|
+
* @memberof PrepaidServiceFindDTO
|
|
3745
|
+
*/
|
|
3746
|
+
'page': number;
|
|
3747
|
+
/**
|
|
3748
|
+
*
|
|
3749
|
+
* @type {number}
|
|
3750
|
+
* @memberof PrepaidServiceFindDTO
|
|
3751
|
+
*/
|
|
3752
|
+
'pageSize': number;
|
|
3753
|
+
/**
|
|
3754
|
+
*
|
|
3755
|
+
* @type {string}
|
|
3756
|
+
* @memberof PrepaidServiceFindDTO
|
|
3757
|
+
*/
|
|
3758
|
+
'venue'?: string;
|
|
3759
|
+
/**
|
|
3760
|
+
* Category
|
|
3761
|
+
* @type {string}
|
|
3762
|
+
* @memberof PrepaidServiceFindDTO
|
|
3763
|
+
*/
|
|
3764
|
+
'category': PrepaidServiceFindDTOCategoryEnum;
|
|
3765
|
+
}
|
|
3766
|
+
|
|
3767
|
+
export const PrepaidServiceFindDTOCategoryEnum = {
|
|
3768
|
+
Beginner: 'BEGINNER',
|
|
3769
|
+
Intermediate: 'INTERMEDIATE',
|
|
3770
|
+
Advanced: 'ADVANCED'
|
|
3771
|
+
} as const;
|
|
3772
|
+
|
|
3773
|
+
export type PrepaidServiceFindDTOCategoryEnum = typeof PrepaidServiceFindDTOCategoryEnum[keyof typeof PrepaidServiceFindDTOCategoryEnum];
|
|
3774
|
+
|
|
3538
3775
|
/**
|
|
3539
3776
|
*
|
|
3540
3777
|
* @export
|
|
@@ -6989,6 +7226,45 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6989
7226
|
options: localVarRequestOptions,
|
|
6990
7227
|
};
|
|
6991
7228
|
},
|
|
7229
|
+
/**
|
|
7230
|
+
*
|
|
7231
|
+
* @param {BusinessDetailsPayloadDTO} businessDetailsPayloadDTO
|
|
7232
|
+
* @param {*} [options] Override http request option.
|
|
7233
|
+
* @throws {RequiredError}
|
|
7234
|
+
*/
|
|
7235
|
+
businessControllerUpdateBusinessDetails: async (businessDetailsPayloadDTO: BusinessDetailsPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7236
|
+
// verify required parameter 'businessDetailsPayloadDTO' is not null or undefined
|
|
7237
|
+
assertParamExists('businessControllerUpdateBusinessDetails', 'businessDetailsPayloadDTO', businessDetailsPayloadDTO)
|
|
7238
|
+
const localVarPath = `/v1/business/business`;
|
|
7239
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7240
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7241
|
+
let baseOptions;
|
|
7242
|
+
if (configuration) {
|
|
7243
|
+
baseOptions = configuration.baseOptions;
|
|
7244
|
+
}
|
|
7245
|
+
|
|
7246
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
7247
|
+
const localVarHeaderParameter = {} as any;
|
|
7248
|
+
const localVarQueryParameter = {} as any;
|
|
7249
|
+
|
|
7250
|
+
// authentication bearer required
|
|
7251
|
+
// http bearer authentication required
|
|
7252
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7253
|
+
|
|
7254
|
+
|
|
7255
|
+
|
|
7256
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7257
|
+
|
|
7258
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7259
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7260
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7261
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessDetailsPayloadDTO, localVarRequestOptions, configuration)
|
|
7262
|
+
|
|
7263
|
+
return {
|
|
7264
|
+
url: toPathString(localVarUrlObj),
|
|
7265
|
+
options: localVarRequestOptions,
|
|
7266
|
+
};
|
|
7267
|
+
},
|
|
6992
7268
|
/**
|
|
6993
7269
|
*
|
|
6994
7270
|
* @param {string} id
|
|
@@ -7184,6 +7460,119 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
7184
7460
|
options: localVarRequestOptions,
|
|
7185
7461
|
};
|
|
7186
7462
|
},
|
|
7463
|
+
/**
|
|
7464
|
+
*
|
|
7465
|
+
* @param {string} id
|
|
7466
|
+
* @param {*} [options] Override http request option.
|
|
7467
|
+
* @throws {RequiredError}
|
|
7468
|
+
*/
|
|
7469
|
+
businessTypeControllerFindFavoriteBusinessVenue: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7470
|
+
// verify required parameter 'id' is not null or undefined
|
|
7471
|
+
assertParamExists('businessTypeControllerFindFavoriteBusinessVenue', 'id', id)
|
|
7472
|
+
const localVarPath = `/v1/business/favorite/{id}`
|
|
7473
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7474
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7475
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7476
|
+
let baseOptions;
|
|
7477
|
+
if (configuration) {
|
|
7478
|
+
baseOptions = configuration.baseOptions;
|
|
7479
|
+
}
|
|
7480
|
+
|
|
7481
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7482
|
+
const localVarHeaderParameter = {} as any;
|
|
7483
|
+
const localVarQueryParameter = {} as any;
|
|
7484
|
+
|
|
7485
|
+
// authentication bearer required
|
|
7486
|
+
// http bearer authentication required
|
|
7487
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7488
|
+
|
|
7489
|
+
|
|
7490
|
+
|
|
7491
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7492
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7493
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7494
|
+
|
|
7495
|
+
return {
|
|
7496
|
+
url: toPathString(localVarUrlObj),
|
|
7497
|
+
options: localVarRequestOptions,
|
|
7498
|
+
};
|
|
7499
|
+
},
|
|
7500
|
+
/**
|
|
7501
|
+
*
|
|
7502
|
+
* @param {string} id
|
|
7503
|
+
* @param {*} [options] Override http request option.
|
|
7504
|
+
* @throws {RequiredError}
|
|
7505
|
+
*/
|
|
7506
|
+
businessTypeControllerFindFavoriteBusinessVenueCount: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7507
|
+
// verify required parameter 'id' is not null or undefined
|
|
7508
|
+
assertParamExists('businessTypeControllerFindFavoriteBusinessVenueCount', 'id', id)
|
|
7509
|
+
const localVarPath = `/v1/business/favorite/count`
|
|
7510
|
+
.replace(`{${":id"}}`, encodeURIComponent(String(id)));
|
|
7511
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7512
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7513
|
+
let baseOptions;
|
|
7514
|
+
if (configuration) {
|
|
7515
|
+
baseOptions = configuration.baseOptions;
|
|
7516
|
+
}
|
|
7517
|
+
|
|
7518
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7519
|
+
const localVarHeaderParameter = {} as any;
|
|
7520
|
+
const localVarQueryParameter = {} as any;
|
|
7521
|
+
|
|
7522
|
+
// authentication bearer required
|
|
7523
|
+
// http bearer authentication required
|
|
7524
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7525
|
+
|
|
7526
|
+
|
|
7527
|
+
|
|
7528
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7529
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7530
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7531
|
+
|
|
7532
|
+
return {
|
|
7533
|
+
url: toPathString(localVarUrlObj),
|
|
7534
|
+
options: localVarRequestOptions,
|
|
7535
|
+
};
|
|
7536
|
+
},
|
|
7537
|
+
/**
|
|
7538
|
+
*
|
|
7539
|
+
* @param {FindFriendsFavoritesDTO} findFriendsFavoritesDTO
|
|
7540
|
+
* @param {*} [options] Override http request option.
|
|
7541
|
+
* @throws {RequiredError}
|
|
7542
|
+
*/
|
|
7543
|
+
businessTypeControllerFindFriendsFavoriteBusinessVenueList: async (findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7544
|
+
// verify required parameter 'findFriendsFavoritesDTO' is not null or undefined
|
|
7545
|
+
assertParamExists('businessTypeControllerFindFriendsFavoriteBusinessVenueList', 'findFriendsFavoritesDTO', findFriendsFavoritesDTO)
|
|
7546
|
+
const localVarPath = `/v1/business/friends/favorite`;
|
|
7547
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7548
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7549
|
+
let baseOptions;
|
|
7550
|
+
if (configuration) {
|
|
7551
|
+
baseOptions = configuration.baseOptions;
|
|
7552
|
+
}
|
|
7553
|
+
|
|
7554
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7555
|
+
const localVarHeaderParameter = {} as any;
|
|
7556
|
+
const localVarQueryParameter = {} as any;
|
|
7557
|
+
|
|
7558
|
+
// authentication bearer required
|
|
7559
|
+
// http bearer authentication required
|
|
7560
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7561
|
+
|
|
7562
|
+
|
|
7563
|
+
|
|
7564
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7565
|
+
|
|
7566
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7567
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7568
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7569
|
+
localVarRequestOptions.data = serializeDataIfNeeded(findFriendsFavoritesDTO, localVarRequestOptions, configuration)
|
|
7570
|
+
|
|
7571
|
+
return {
|
|
7572
|
+
url: toPathString(localVarUrlObj),
|
|
7573
|
+
options: localVarRequestOptions,
|
|
7574
|
+
};
|
|
7575
|
+
},
|
|
7187
7576
|
/**
|
|
7188
7577
|
*
|
|
7189
7578
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -7522,6 +7911,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
7522
7911
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerListBusinesses']?.[localVarOperationServerIndex]?.url;
|
|
7523
7912
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7524
7913
|
},
|
|
7914
|
+
/**
|
|
7915
|
+
*
|
|
7916
|
+
* @param {BusinessDetailsPayloadDTO} businessDetailsPayloadDTO
|
|
7917
|
+
* @param {*} [options] Override http request option.
|
|
7918
|
+
* @throws {RequiredError}
|
|
7919
|
+
*/
|
|
7920
|
+
async businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO: BusinessDetailsPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessOnBoardingResponseDTO>>> {
|
|
7921
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO, options);
|
|
7922
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7923
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerUpdateBusinessDetails']?.[localVarOperationServerIndex]?.url;
|
|
7924
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7925
|
+
},
|
|
7525
7926
|
/**
|
|
7526
7927
|
*
|
|
7527
7928
|
* @param {string} id
|
|
@@ -7583,6 +7984,42 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
7583
7984
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerUpdateStaff']?.[localVarOperationServerIndex]?.url;
|
|
7584
7985
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7585
7986
|
},
|
|
7987
|
+
/**
|
|
7988
|
+
*
|
|
7989
|
+
* @param {string} id
|
|
7990
|
+
* @param {*} [options] Override http request option.
|
|
7991
|
+
* @throws {RequiredError}
|
|
7992
|
+
*/
|
|
7993
|
+
async businessTypeControllerFindFavoriteBusinessVenue(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessFavoriteResponseDTO>> {
|
|
7994
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerFindFavoriteBusinessVenue(id, options);
|
|
7995
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7996
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerFindFavoriteBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
7997
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7998
|
+
},
|
|
7999
|
+
/**
|
|
8000
|
+
*
|
|
8001
|
+
* @param {string} id
|
|
8002
|
+
* @param {*} [options] Override http request option.
|
|
8003
|
+
* @throws {RequiredError}
|
|
8004
|
+
*/
|
|
8005
|
+
async businessTypeControllerFindFavoriteBusinessVenueCount(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessFavoriteCountResponseDTO>> {
|
|
8006
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerFindFavoriteBusinessVenueCount(id, options);
|
|
8007
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8008
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerFindFavoriteBusinessVenueCount']?.[localVarOperationServerIndex]?.url;
|
|
8009
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8010
|
+
},
|
|
8011
|
+
/**
|
|
8012
|
+
*
|
|
8013
|
+
* @param {FindFriendsFavoritesDTO} findFriendsFavoritesDTO
|
|
8014
|
+
* @param {*} [options] Override http request option.
|
|
8015
|
+
* @throws {RequiredError}
|
|
8016
|
+
*/
|
|
8017
|
+
async businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessFavoriteCountResponseDTO>> {
|
|
8018
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options);
|
|
8019
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8020
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerFindFriendsFavoriteBusinessVenueList']?.[localVarOperationServerIndex]?.url;
|
|
8021
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8022
|
+
},
|
|
7586
8023
|
/**
|
|
7587
8024
|
*
|
|
7588
8025
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -7713,6 +8150,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
7713
8150
|
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<Array<BusinessOnBoardingResponseDTO>> {
|
|
7714
8151
|
return localVarFp.businessControllerListBusinesses(options).then((request) => request(axios, basePath));
|
|
7715
8152
|
},
|
|
8153
|
+
/**
|
|
8154
|
+
*
|
|
8155
|
+
* @param {BusinessDetailsPayloadDTO} businessDetailsPayloadDTO
|
|
8156
|
+
* @param {*} [options] Override http request option.
|
|
8157
|
+
* @throws {RequiredError}
|
|
8158
|
+
*/
|
|
8159
|
+
businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO: BusinessDetailsPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<BusinessOnBoardingResponseDTO>> {
|
|
8160
|
+
return localVarFp.businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO, options).then((request) => request(axios, basePath));
|
|
8161
|
+
},
|
|
7716
8162
|
/**
|
|
7717
8163
|
*
|
|
7718
8164
|
* @param {string} id
|
|
@@ -7759,6 +8205,33 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
7759
8205
|
businessStaffControllerUpdateStaff(id: string, businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
|
|
7760
8206
|
return localVarFp.businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(axios, basePath));
|
|
7761
8207
|
},
|
|
8208
|
+
/**
|
|
8209
|
+
*
|
|
8210
|
+
* @param {string} id
|
|
8211
|
+
* @param {*} [options] Override http request option.
|
|
8212
|
+
* @throws {RequiredError}
|
|
8213
|
+
*/
|
|
8214
|
+
businessTypeControllerFindFavoriteBusinessVenue(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteResponseDTO> {
|
|
8215
|
+
return localVarFp.businessTypeControllerFindFavoriteBusinessVenue(id, options).then((request) => request(axios, basePath));
|
|
8216
|
+
},
|
|
8217
|
+
/**
|
|
8218
|
+
*
|
|
8219
|
+
* @param {string} id
|
|
8220
|
+
* @param {*} [options] Override http request option.
|
|
8221
|
+
* @throws {RequiredError}
|
|
8222
|
+
*/
|
|
8223
|
+
businessTypeControllerFindFavoriteBusinessVenueCount(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteCountResponseDTO> {
|
|
8224
|
+
return localVarFp.businessTypeControllerFindFavoriteBusinessVenueCount(id, options).then((request) => request(axios, basePath));
|
|
8225
|
+
},
|
|
8226
|
+
/**
|
|
8227
|
+
*
|
|
8228
|
+
* @param {FindFriendsFavoritesDTO} findFriendsFavoritesDTO
|
|
8229
|
+
* @param {*} [options] Override http request option.
|
|
8230
|
+
* @throws {RequiredError}
|
|
8231
|
+
*/
|
|
8232
|
+
businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteCountResponseDTO> {
|
|
8233
|
+
return localVarFp.businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(axios, basePath));
|
|
8234
|
+
},
|
|
7762
8235
|
/**
|
|
7763
8236
|
*
|
|
7764
8237
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -7871,6 +8344,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
7871
8344
|
return BusinessApiFp(this.configuration).businessControllerListBusinesses(options).then((request) => request(this.axios, this.basePath));
|
|
7872
8345
|
}
|
|
7873
8346
|
|
|
8347
|
+
/**
|
|
8348
|
+
*
|
|
8349
|
+
* @param {BusinessDetailsPayloadDTO} businessDetailsPayloadDTO
|
|
8350
|
+
* @param {*} [options] Override http request option.
|
|
8351
|
+
* @throws {RequiredError}
|
|
8352
|
+
* @memberof BusinessApi
|
|
8353
|
+
*/
|
|
8354
|
+
public businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO: BusinessDetailsPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
8355
|
+
return BusinessApiFp(this.configuration).businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
8356
|
+
}
|
|
8357
|
+
|
|
7874
8358
|
/**
|
|
7875
8359
|
*
|
|
7876
8360
|
* @param {string} id
|
|
@@ -7927,6 +8411,39 @@ export class BusinessApi extends BaseAPI {
|
|
|
7927
8411
|
return BusinessApiFp(this.configuration).businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7928
8412
|
}
|
|
7929
8413
|
|
|
8414
|
+
/**
|
|
8415
|
+
*
|
|
8416
|
+
* @param {string} id
|
|
8417
|
+
* @param {*} [options] Override http request option.
|
|
8418
|
+
* @throws {RequiredError}
|
|
8419
|
+
* @memberof BusinessApi
|
|
8420
|
+
*/
|
|
8421
|
+
public businessTypeControllerFindFavoriteBusinessVenue(id: string, options?: RawAxiosRequestConfig) {
|
|
8422
|
+
return BusinessApiFp(this.configuration).businessTypeControllerFindFavoriteBusinessVenue(id, options).then((request) => request(this.axios, this.basePath));
|
|
8423
|
+
}
|
|
8424
|
+
|
|
8425
|
+
/**
|
|
8426
|
+
*
|
|
8427
|
+
* @param {string} id
|
|
8428
|
+
* @param {*} [options] Override http request option.
|
|
8429
|
+
* @throws {RequiredError}
|
|
8430
|
+
* @memberof BusinessApi
|
|
8431
|
+
*/
|
|
8432
|
+
public businessTypeControllerFindFavoriteBusinessVenueCount(id: string, options?: RawAxiosRequestConfig) {
|
|
8433
|
+
return BusinessApiFp(this.configuration).businessTypeControllerFindFavoriteBusinessVenueCount(id, options).then((request) => request(this.axios, this.basePath));
|
|
8434
|
+
}
|
|
8435
|
+
|
|
8436
|
+
/**
|
|
8437
|
+
*
|
|
8438
|
+
* @param {FindFriendsFavoritesDTO} findFriendsFavoritesDTO
|
|
8439
|
+
* @param {*} [options] Override http request option.
|
|
8440
|
+
* @throws {RequiredError}
|
|
8441
|
+
* @memberof BusinessApi
|
|
8442
|
+
*/
|
|
8443
|
+
public businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig) {
|
|
8444
|
+
return BusinessApiFp(this.configuration).businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(this.axios, this.basePath));
|
|
8445
|
+
}
|
|
8446
|
+
|
|
7930
8447
|
/**
|
|
7931
8448
|
*
|
|
7932
8449
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -11784,18 +12301,14 @@ export const PrepaidServiceApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11784
12301
|
},
|
|
11785
12302
|
/**
|
|
11786
12303
|
*
|
|
11787
|
-
* @param {
|
|
11788
|
-
* @param {number} pageSize
|
|
11789
|
-
* @param {string} [venue]
|
|
12304
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
11790
12305
|
* @param {*} [options] Override http request option.
|
|
11791
12306
|
* @throws {RequiredError}
|
|
11792
12307
|
*/
|
|
11793
|
-
prepaidServiceControllerFindService: async (
|
|
11794
|
-
// verify required parameter '
|
|
11795
|
-
assertParamExists('prepaidServiceControllerFindService', '
|
|
11796
|
-
|
|
11797
|
-
assertParamExists('prepaidServiceControllerFindService', 'pageSize', pageSize)
|
|
11798
|
-
const localVarPath = `/v1/prepaid-service`;
|
|
12308
|
+
prepaidServiceControllerFindService: async (prepaidServiceFindDTO: PrepaidServiceFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12309
|
+
// verify required parameter 'prepaidServiceFindDTO' is not null or undefined
|
|
12310
|
+
assertParamExists('prepaidServiceControllerFindService', 'prepaidServiceFindDTO', prepaidServiceFindDTO)
|
|
12311
|
+
const localVarPath = `/v1/prepaid-service/list`;
|
|
11799
12312
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11800
12313
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11801
12314
|
let baseOptions;
|
|
@@ -11803,7 +12316,7 @@ export const PrepaidServiceApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11803
12316
|
baseOptions = configuration.baseOptions;
|
|
11804
12317
|
}
|
|
11805
12318
|
|
|
11806
|
-
const localVarRequestOptions = { method: '
|
|
12319
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11807
12320
|
const localVarHeaderParameter = {} as any;
|
|
11808
12321
|
const localVarQueryParameter = {} as any;
|
|
11809
12322
|
|
|
@@ -11811,23 +12324,14 @@ export const PrepaidServiceApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11811
12324
|
// http bearer authentication required
|
|
11812
12325
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11813
12326
|
|
|
11814
|
-
if (page !== undefined) {
|
|
11815
|
-
localVarQueryParameter['page'] = page;
|
|
11816
|
-
}
|
|
11817
|
-
|
|
11818
|
-
if (pageSize !== undefined) {
|
|
11819
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
11820
|
-
}
|
|
11821
|
-
|
|
11822
|
-
if (venue !== undefined) {
|
|
11823
|
-
localVarQueryParameter['venue'] = venue;
|
|
11824
|
-
}
|
|
11825
|
-
|
|
11826
12327
|
|
|
11827
12328
|
|
|
12329
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12330
|
+
|
|
11828
12331
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11829
12332
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11830
12333
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12334
|
+
localVarRequestOptions.data = serializeDataIfNeeded(prepaidServiceFindDTO, localVarRequestOptions, configuration)
|
|
11831
12335
|
|
|
11832
12336
|
return {
|
|
11833
12337
|
url: toPathString(localVarUrlObj),
|
|
@@ -11938,14 +12442,12 @@ export const PrepaidServiceApiFp = function(configuration?: Configuration) {
|
|
|
11938
12442
|
},
|
|
11939
12443
|
/**
|
|
11940
12444
|
*
|
|
11941
|
-
* @param {
|
|
11942
|
-
* @param {number} pageSize
|
|
11943
|
-
* @param {string} [venue]
|
|
12445
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
11944
12446
|
* @param {*} [options] Override http request option.
|
|
11945
12447
|
* @throws {RequiredError}
|
|
11946
12448
|
*/
|
|
11947
|
-
async prepaidServiceControllerFindService(
|
|
11948
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.prepaidServiceControllerFindService(
|
|
12449
|
+
async prepaidServiceControllerFindService(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrepaidServiceResponseDTO>> {
|
|
12450
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.prepaidServiceControllerFindService(prepaidServiceFindDTO, options);
|
|
11949
12451
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11950
12452
|
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerFindService']?.[localVarOperationServerIndex]?.url;
|
|
11951
12453
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11996,14 +12498,12 @@ export const PrepaidServiceApiFactory = function (configuration?: Configuration,
|
|
|
11996
12498
|
},
|
|
11997
12499
|
/**
|
|
11998
12500
|
*
|
|
11999
|
-
* @param {
|
|
12000
|
-
* @param {number} pageSize
|
|
12001
|
-
* @param {string} [venue]
|
|
12501
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
12002
12502
|
* @param {*} [options] Override http request option.
|
|
12003
12503
|
* @throws {RequiredError}
|
|
12004
12504
|
*/
|
|
12005
|
-
prepaidServiceControllerFindService(
|
|
12006
|
-
return localVarFp.prepaidServiceControllerFindService(
|
|
12505
|
+
prepaidServiceControllerFindService(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceResponseDTO> {
|
|
12506
|
+
return localVarFp.prepaidServiceControllerFindService(prepaidServiceFindDTO, options).then((request) => request(axios, basePath));
|
|
12007
12507
|
},
|
|
12008
12508
|
/**
|
|
12009
12509
|
*
|
|
@@ -12047,15 +12547,13 @@ export class PrepaidServiceApi extends BaseAPI {
|
|
|
12047
12547
|
|
|
12048
12548
|
/**
|
|
12049
12549
|
*
|
|
12050
|
-
* @param {
|
|
12051
|
-
* @param {number} pageSize
|
|
12052
|
-
* @param {string} [venue]
|
|
12550
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
12053
12551
|
* @param {*} [options] Override http request option.
|
|
12054
12552
|
* @throws {RequiredError}
|
|
12055
12553
|
* @memberof PrepaidServiceApi
|
|
12056
12554
|
*/
|
|
12057
|
-
public prepaidServiceControllerFindService(
|
|
12058
|
-
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerFindService(
|
|
12555
|
+
public prepaidServiceControllerFindService(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig) {
|
|
12556
|
+
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerFindService(prepaidServiceFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
12059
12557
|
}
|
|
12060
12558
|
|
|
12061
12559
|
/**
|