@gooday_corp/gooday-api-client 1.2.29 → 1.2.31
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 +529 -40
- 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
|
|
@@ -927,7 +1063,7 @@ export interface BusinessStaffEntity {
|
|
|
927
1063
|
* @type {string}
|
|
928
1064
|
* @memberof BusinessStaffEntity
|
|
929
1065
|
*/
|
|
930
|
-
'
|
|
1066
|
+
'dob'?: string;
|
|
931
1067
|
/**
|
|
932
1068
|
* Email of the staff member
|
|
933
1069
|
* @type {string}
|
|
@@ -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,37 @@ 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'?: string;
|
|
3765
|
+
}
|
|
3538
3766
|
/**
|
|
3539
3767
|
*
|
|
3540
3768
|
* @export
|
|
@@ -6989,6 +7217,45 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
6989
7217
|
options: localVarRequestOptions,
|
|
6990
7218
|
};
|
|
6991
7219
|
},
|
|
7220
|
+
/**
|
|
7221
|
+
*
|
|
7222
|
+
* @param {BusinessDetailsPayloadDTO} businessDetailsPayloadDTO
|
|
7223
|
+
* @param {*} [options] Override http request option.
|
|
7224
|
+
* @throws {RequiredError}
|
|
7225
|
+
*/
|
|
7226
|
+
businessControllerUpdateBusinessDetails: async (businessDetailsPayloadDTO: BusinessDetailsPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7227
|
+
// verify required parameter 'businessDetailsPayloadDTO' is not null or undefined
|
|
7228
|
+
assertParamExists('businessControllerUpdateBusinessDetails', 'businessDetailsPayloadDTO', businessDetailsPayloadDTO)
|
|
7229
|
+
const localVarPath = `/v1/business/business`;
|
|
7230
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7231
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7232
|
+
let baseOptions;
|
|
7233
|
+
if (configuration) {
|
|
7234
|
+
baseOptions = configuration.baseOptions;
|
|
7235
|
+
}
|
|
7236
|
+
|
|
7237
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
7238
|
+
const localVarHeaderParameter = {} as any;
|
|
7239
|
+
const localVarQueryParameter = {} as any;
|
|
7240
|
+
|
|
7241
|
+
// authentication bearer required
|
|
7242
|
+
// http bearer authentication required
|
|
7243
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7244
|
+
|
|
7245
|
+
|
|
7246
|
+
|
|
7247
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7248
|
+
|
|
7249
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7250
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7251
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7252
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessDetailsPayloadDTO, localVarRequestOptions, configuration)
|
|
7253
|
+
|
|
7254
|
+
return {
|
|
7255
|
+
url: toPathString(localVarUrlObj),
|
|
7256
|
+
options: localVarRequestOptions,
|
|
7257
|
+
};
|
|
7258
|
+
},
|
|
6992
7259
|
/**
|
|
6993
7260
|
*
|
|
6994
7261
|
* @param {string} id
|
|
@@ -7184,6 +7451,119 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
7184
7451
|
options: localVarRequestOptions,
|
|
7185
7452
|
};
|
|
7186
7453
|
},
|
|
7454
|
+
/**
|
|
7455
|
+
*
|
|
7456
|
+
* @param {string} id
|
|
7457
|
+
* @param {*} [options] Override http request option.
|
|
7458
|
+
* @throws {RequiredError}
|
|
7459
|
+
*/
|
|
7460
|
+
businessTypeControllerFindFavoriteBusinessVenue: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7461
|
+
// verify required parameter 'id' is not null or undefined
|
|
7462
|
+
assertParamExists('businessTypeControllerFindFavoriteBusinessVenue', 'id', id)
|
|
7463
|
+
const localVarPath = `/v1/business/favorite/{id}`
|
|
7464
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
7465
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7466
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7467
|
+
let baseOptions;
|
|
7468
|
+
if (configuration) {
|
|
7469
|
+
baseOptions = configuration.baseOptions;
|
|
7470
|
+
}
|
|
7471
|
+
|
|
7472
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7473
|
+
const localVarHeaderParameter = {} as any;
|
|
7474
|
+
const localVarQueryParameter = {} as any;
|
|
7475
|
+
|
|
7476
|
+
// authentication bearer required
|
|
7477
|
+
// http bearer authentication required
|
|
7478
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7479
|
+
|
|
7480
|
+
|
|
7481
|
+
|
|
7482
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7483
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7484
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7485
|
+
|
|
7486
|
+
return {
|
|
7487
|
+
url: toPathString(localVarUrlObj),
|
|
7488
|
+
options: localVarRequestOptions,
|
|
7489
|
+
};
|
|
7490
|
+
},
|
|
7491
|
+
/**
|
|
7492
|
+
*
|
|
7493
|
+
* @param {string} id
|
|
7494
|
+
* @param {*} [options] Override http request option.
|
|
7495
|
+
* @throws {RequiredError}
|
|
7496
|
+
*/
|
|
7497
|
+
businessTypeControllerFindFavoriteBusinessVenueCount: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7498
|
+
// verify required parameter 'id' is not null or undefined
|
|
7499
|
+
assertParamExists('businessTypeControllerFindFavoriteBusinessVenueCount', 'id', id)
|
|
7500
|
+
const localVarPath = `/v1/business/favorite/count`
|
|
7501
|
+
.replace(`{${":id"}}`, encodeURIComponent(String(id)));
|
|
7502
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7503
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7504
|
+
let baseOptions;
|
|
7505
|
+
if (configuration) {
|
|
7506
|
+
baseOptions = configuration.baseOptions;
|
|
7507
|
+
}
|
|
7508
|
+
|
|
7509
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
7510
|
+
const localVarHeaderParameter = {} as any;
|
|
7511
|
+
const localVarQueryParameter = {} as any;
|
|
7512
|
+
|
|
7513
|
+
// authentication bearer required
|
|
7514
|
+
// http bearer authentication required
|
|
7515
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7516
|
+
|
|
7517
|
+
|
|
7518
|
+
|
|
7519
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7520
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7521
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7522
|
+
|
|
7523
|
+
return {
|
|
7524
|
+
url: toPathString(localVarUrlObj),
|
|
7525
|
+
options: localVarRequestOptions,
|
|
7526
|
+
};
|
|
7527
|
+
},
|
|
7528
|
+
/**
|
|
7529
|
+
*
|
|
7530
|
+
* @param {FindFriendsFavoritesDTO} findFriendsFavoritesDTO
|
|
7531
|
+
* @param {*} [options] Override http request option.
|
|
7532
|
+
* @throws {RequiredError}
|
|
7533
|
+
*/
|
|
7534
|
+
businessTypeControllerFindFriendsFavoriteBusinessVenueList: async (findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
7535
|
+
// verify required parameter 'findFriendsFavoritesDTO' is not null or undefined
|
|
7536
|
+
assertParamExists('businessTypeControllerFindFriendsFavoriteBusinessVenueList', 'findFriendsFavoritesDTO', findFriendsFavoritesDTO)
|
|
7537
|
+
const localVarPath = `/v1/business/friends/favorite`;
|
|
7538
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7539
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
7540
|
+
let baseOptions;
|
|
7541
|
+
if (configuration) {
|
|
7542
|
+
baseOptions = configuration.baseOptions;
|
|
7543
|
+
}
|
|
7544
|
+
|
|
7545
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
7546
|
+
const localVarHeaderParameter = {} as any;
|
|
7547
|
+
const localVarQueryParameter = {} as any;
|
|
7548
|
+
|
|
7549
|
+
// authentication bearer required
|
|
7550
|
+
// http bearer authentication required
|
|
7551
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
7552
|
+
|
|
7553
|
+
|
|
7554
|
+
|
|
7555
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
7556
|
+
|
|
7557
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
7558
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
7559
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
7560
|
+
localVarRequestOptions.data = serializeDataIfNeeded(findFriendsFavoritesDTO, localVarRequestOptions, configuration)
|
|
7561
|
+
|
|
7562
|
+
return {
|
|
7563
|
+
url: toPathString(localVarUrlObj),
|
|
7564
|
+
options: localVarRequestOptions,
|
|
7565
|
+
};
|
|
7566
|
+
},
|
|
7187
7567
|
/**
|
|
7188
7568
|
*
|
|
7189
7569
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -7522,6 +7902,18 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
7522
7902
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerListBusinesses']?.[localVarOperationServerIndex]?.url;
|
|
7523
7903
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7524
7904
|
},
|
|
7905
|
+
/**
|
|
7906
|
+
*
|
|
7907
|
+
* @param {BusinessDetailsPayloadDTO} businessDetailsPayloadDTO
|
|
7908
|
+
* @param {*} [options] Override http request option.
|
|
7909
|
+
* @throws {RequiredError}
|
|
7910
|
+
*/
|
|
7911
|
+
async businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO: BusinessDetailsPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BusinessOnBoardingResponseDTO>>> {
|
|
7912
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO, options);
|
|
7913
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7914
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerUpdateBusinessDetails']?.[localVarOperationServerIndex]?.url;
|
|
7915
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7916
|
+
},
|
|
7525
7917
|
/**
|
|
7526
7918
|
*
|
|
7527
7919
|
* @param {string} id
|
|
@@ -7583,6 +7975,42 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
7583
7975
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerUpdateStaff']?.[localVarOperationServerIndex]?.url;
|
|
7584
7976
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7585
7977
|
},
|
|
7978
|
+
/**
|
|
7979
|
+
*
|
|
7980
|
+
* @param {string} id
|
|
7981
|
+
* @param {*} [options] Override http request option.
|
|
7982
|
+
* @throws {RequiredError}
|
|
7983
|
+
*/
|
|
7984
|
+
async businessTypeControllerFindFavoriteBusinessVenue(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessFavoriteResponseDTO>> {
|
|
7985
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerFindFavoriteBusinessVenue(id, options);
|
|
7986
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7987
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerFindFavoriteBusinessVenue']?.[localVarOperationServerIndex]?.url;
|
|
7988
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7989
|
+
},
|
|
7990
|
+
/**
|
|
7991
|
+
*
|
|
7992
|
+
* @param {string} id
|
|
7993
|
+
* @param {*} [options] Override http request option.
|
|
7994
|
+
* @throws {RequiredError}
|
|
7995
|
+
*/
|
|
7996
|
+
async businessTypeControllerFindFavoriteBusinessVenueCount(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessFavoriteCountResponseDTO>> {
|
|
7997
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerFindFavoriteBusinessVenueCount(id, options);
|
|
7998
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7999
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerFindFavoriteBusinessVenueCount']?.[localVarOperationServerIndex]?.url;
|
|
8000
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8001
|
+
},
|
|
8002
|
+
/**
|
|
8003
|
+
*
|
|
8004
|
+
* @param {FindFriendsFavoritesDTO} findFriendsFavoritesDTO
|
|
8005
|
+
* @param {*} [options] Override http request option.
|
|
8006
|
+
* @throws {RequiredError}
|
|
8007
|
+
*/
|
|
8008
|
+
async businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessFavoriteCountResponseDTO>> {
|
|
8009
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options);
|
|
8010
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8011
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessTypeControllerFindFriendsFavoriteBusinessVenueList']?.[localVarOperationServerIndex]?.url;
|
|
8012
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8013
|
+
},
|
|
7586
8014
|
/**
|
|
7587
8015
|
*
|
|
7588
8016
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -7713,6 +8141,15 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
7713
8141
|
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<Array<BusinessOnBoardingResponseDTO>> {
|
|
7714
8142
|
return localVarFp.businessControllerListBusinesses(options).then((request) => request(axios, basePath));
|
|
7715
8143
|
},
|
|
8144
|
+
/**
|
|
8145
|
+
*
|
|
8146
|
+
* @param {BusinessDetailsPayloadDTO} businessDetailsPayloadDTO
|
|
8147
|
+
* @param {*} [options] Override http request option.
|
|
8148
|
+
* @throws {RequiredError}
|
|
8149
|
+
*/
|
|
8150
|
+
businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO: BusinessDetailsPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<Array<BusinessOnBoardingResponseDTO>> {
|
|
8151
|
+
return localVarFp.businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO, options).then((request) => request(axios, basePath));
|
|
8152
|
+
},
|
|
7716
8153
|
/**
|
|
7717
8154
|
*
|
|
7718
8155
|
* @param {string} id
|
|
@@ -7759,6 +8196,33 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
7759
8196
|
businessStaffControllerUpdateStaff(id: string, businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
|
|
7760
8197
|
return localVarFp.businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(axios, basePath));
|
|
7761
8198
|
},
|
|
8199
|
+
/**
|
|
8200
|
+
*
|
|
8201
|
+
* @param {string} id
|
|
8202
|
+
* @param {*} [options] Override http request option.
|
|
8203
|
+
* @throws {RequiredError}
|
|
8204
|
+
*/
|
|
8205
|
+
businessTypeControllerFindFavoriteBusinessVenue(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteResponseDTO> {
|
|
8206
|
+
return localVarFp.businessTypeControllerFindFavoriteBusinessVenue(id, options).then((request) => request(axios, basePath));
|
|
8207
|
+
},
|
|
8208
|
+
/**
|
|
8209
|
+
*
|
|
8210
|
+
* @param {string} id
|
|
8211
|
+
* @param {*} [options] Override http request option.
|
|
8212
|
+
* @throws {RequiredError}
|
|
8213
|
+
*/
|
|
8214
|
+
businessTypeControllerFindFavoriteBusinessVenueCount(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteCountResponseDTO> {
|
|
8215
|
+
return localVarFp.businessTypeControllerFindFavoriteBusinessVenueCount(id, options).then((request) => request(axios, basePath));
|
|
8216
|
+
},
|
|
8217
|
+
/**
|
|
8218
|
+
*
|
|
8219
|
+
* @param {FindFriendsFavoritesDTO} findFriendsFavoritesDTO
|
|
8220
|
+
* @param {*} [options] Override http request option.
|
|
8221
|
+
* @throws {RequiredError}
|
|
8222
|
+
*/
|
|
8223
|
+
businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessFavoriteCountResponseDTO> {
|
|
8224
|
+
return localVarFp.businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(axios, basePath));
|
|
8225
|
+
},
|
|
7762
8226
|
/**
|
|
7763
8227
|
*
|
|
7764
8228
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -7871,6 +8335,17 @@ export class BusinessApi extends BaseAPI {
|
|
|
7871
8335
|
return BusinessApiFp(this.configuration).businessControllerListBusinesses(options).then((request) => request(this.axios, this.basePath));
|
|
7872
8336
|
}
|
|
7873
8337
|
|
|
8338
|
+
/**
|
|
8339
|
+
*
|
|
8340
|
+
* @param {BusinessDetailsPayloadDTO} businessDetailsPayloadDTO
|
|
8341
|
+
* @param {*} [options] Override http request option.
|
|
8342
|
+
* @throws {RequiredError}
|
|
8343
|
+
* @memberof BusinessApi
|
|
8344
|
+
*/
|
|
8345
|
+
public businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO: BusinessDetailsPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
8346
|
+
return BusinessApiFp(this.configuration).businessControllerUpdateBusinessDetails(businessDetailsPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
8347
|
+
}
|
|
8348
|
+
|
|
7874
8349
|
/**
|
|
7875
8350
|
*
|
|
7876
8351
|
* @param {string} id
|
|
@@ -7927,6 +8402,39 @@ export class BusinessApi extends BaseAPI {
|
|
|
7927
8402
|
return BusinessApiFp(this.configuration).businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7928
8403
|
}
|
|
7929
8404
|
|
|
8405
|
+
/**
|
|
8406
|
+
*
|
|
8407
|
+
* @param {string} id
|
|
8408
|
+
* @param {*} [options] Override http request option.
|
|
8409
|
+
* @throws {RequiredError}
|
|
8410
|
+
* @memberof BusinessApi
|
|
8411
|
+
*/
|
|
8412
|
+
public businessTypeControllerFindFavoriteBusinessVenue(id: string, options?: RawAxiosRequestConfig) {
|
|
8413
|
+
return BusinessApiFp(this.configuration).businessTypeControllerFindFavoriteBusinessVenue(id, options).then((request) => request(this.axios, this.basePath));
|
|
8414
|
+
}
|
|
8415
|
+
|
|
8416
|
+
/**
|
|
8417
|
+
*
|
|
8418
|
+
* @param {string} id
|
|
8419
|
+
* @param {*} [options] Override http request option.
|
|
8420
|
+
* @throws {RequiredError}
|
|
8421
|
+
* @memberof BusinessApi
|
|
8422
|
+
*/
|
|
8423
|
+
public businessTypeControllerFindFavoriteBusinessVenueCount(id: string, options?: RawAxiosRequestConfig) {
|
|
8424
|
+
return BusinessApiFp(this.configuration).businessTypeControllerFindFavoriteBusinessVenueCount(id, options).then((request) => request(this.axios, this.basePath));
|
|
8425
|
+
}
|
|
8426
|
+
|
|
8427
|
+
/**
|
|
8428
|
+
*
|
|
8429
|
+
* @param {FindFriendsFavoritesDTO} findFriendsFavoritesDTO
|
|
8430
|
+
* @param {*} [options] Override http request option.
|
|
8431
|
+
* @throws {RequiredError}
|
|
8432
|
+
* @memberof BusinessApi
|
|
8433
|
+
*/
|
|
8434
|
+
public businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO: FindFriendsFavoritesDTO, options?: RawAxiosRequestConfig) {
|
|
8435
|
+
return BusinessApiFp(this.configuration).businessTypeControllerFindFriendsFavoriteBusinessVenueList(findFriendsFavoritesDTO, options).then((request) => request(this.axios, this.basePath));
|
|
8436
|
+
}
|
|
8437
|
+
|
|
7930
8438
|
/**
|
|
7931
8439
|
*
|
|
7932
8440
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -11784,18 +12292,14 @@ export const PrepaidServiceApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11784
12292
|
},
|
|
11785
12293
|
/**
|
|
11786
12294
|
*
|
|
11787
|
-
* @param {
|
|
11788
|
-
* @param {number} pageSize
|
|
11789
|
-
* @param {string} [venue]
|
|
12295
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
11790
12296
|
* @param {*} [options] Override http request option.
|
|
11791
12297
|
* @throws {RequiredError}
|
|
11792
12298
|
*/
|
|
11793
|
-
prepaidServiceControllerFindService: async (
|
|
11794
|
-
// verify required parameter '
|
|
11795
|
-
assertParamExists('prepaidServiceControllerFindService', '
|
|
11796
|
-
|
|
11797
|
-
assertParamExists('prepaidServiceControllerFindService', 'pageSize', pageSize)
|
|
11798
|
-
const localVarPath = `/v1/prepaid-service`;
|
|
12299
|
+
prepaidServiceControllerFindService: async (prepaidServiceFindDTO: PrepaidServiceFindDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
12300
|
+
// verify required parameter 'prepaidServiceFindDTO' is not null or undefined
|
|
12301
|
+
assertParamExists('prepaidServiceControllerFindService', 'prepaidServiceFindDTO', prepaidServiceFindDTO)
|
|
12302
|
+
const localVarPath = `/v1/prepaid-service/list`;
|
|
11799
12303
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11800
12304
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11801
12305
|
let baseOptions;
|
|
@@ -11803,7 +12307,7 @@ export const PrepaidServiceApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11803
12307
|
baseOptions = configuration.baseOptions;
|
|
11804
12308
|
}
|
|
11805
12309
|
|
|
11806
|
-
const localVarRequestOptions = { method: '
|
|
12310
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
11807
12311
|
const localVarHeaderParameter = {} as any;
|
|
11808
12312
|
const localVarQueryParameter = {} as any;
|
|
11809
12313
|
|
|
@@ -11811,23 +12315,14 @@ export const PrepaidServiceApiAxiosParamCreator = function (configuration?: Conf
|
|
|
11811
12315
|
// http bearer authentication required
|
|
11812
12316
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
11813
12317
|
|
|
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
12318
|
|
|
11827
12319
|
|
|
12320
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12321
|
+
|
|
11828
12322
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11829
12323
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11830
12324
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
12325
|
+
localVarRequestOptions.data = serializeDataIfNeeded(prepaidServiceFindDTO, localVarRequestOptions, configuration)
|
|
11831
12326
|
|
|
11832
12327
|
return {
|
|
11833
12328
|
url: toPathString(localVarUrlObj),
|
|
@@ -11938,14 +12433,12 @@ export const PrepaidServiceApiFp = function(configuration?: Configuration) {
|
|
|
11938
12433
|
},
|
|
11939
12434
|
/**
|
|
11940
12435
|
*
|
|
11941
|
-
* @param {
|
|
11942
|
-
* @param {number} pageSize
|
|
11943
|
-
* @param {string} [venue]
|
|
12436
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
11944
12437
|
* @param {*} [options] Override http request option.
|
|
11945
12438
|
* @throws {RequiredError}
|
|
11946
12439
|
*/
|
|
11947
|
-
async prepaidServiceControllerFindService(
|
|
11948
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.prepaidServiceControllerFindService(
|
|
12440
|
+
async prepaidServiceControllerFindService(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PrepaidServiceResponseDTO>> {
|
|
12441
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.prepaidServiceControllerFindService(prepaidServiceFindDTO, options);
|
|
11949
12442
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11950
12443
|
const localVarOperationServerBasePath = operationServerMap['PrepaidServiceApi.prepaidServiceControllerFindService']?.[localVarOperationServerIndex]?.url;
|
|
11951
12444
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -11996,14 +12489,12 @@ export const PrepaidServiceApiFactory = function (configuration?: Configuration,
|
|
|
11996
12489
|
},
|
|
11997
12490
|
/**
|
|
11998
12491
|
*
|
|
11999
|
-
* @param {
|
|
12000
|
-
* @param {number} pageSize
|
|
12001
|
-
* @param {string} [venue]
|
|
12492
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
12002
12493
|
* @param {*} [options] Override http request option.
|
|
12003
12494
|
* @throws {RequiredError}
|
|
12004
12495
|
*/
|
|
12005
|
-
prepaidServiceControllerFindService(
|
|
12006
|
-
return localVarFp.prepaidServiceControllerFindService(
|
|
12496
|
+
prepaidServiceControllerFindService(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig): AxiosPromise<PrepaidServiceResponseDTO> {
|
|
12497
|
+
return localVarFp.prepaidServiceControllerFindService(prepaidServiceFindDTO, options).then((request) => request(axios, basePath));
|
|
12007
12498
|
},
|
|
12008
12499
|
/**
|
|
12009
12500
|
*
|
|
@@ -12047,15 +12538,13 @@ export class PrepaidServiceApi extends BaseAPI {
|
|
|
12047
12538
|
|
|
12048
12539
|
/**
|
|
12049
12540
|
*
|
|
12050
|
-
* @param {
|
|
12051
|
-
* @param {number} pageSize
|
|
12052
|
-
* @param {string} [venue]
|
|
12541
|
+
* @param {PrepaidServiceFindDTO} prepaidServiceFindDTO
|
|
12053
12542
|
* @param {*} [options] Override http request option.
|
|
12054
12543
|
* @throws {RequiredError}
|
|
12055
12544
|
* @memberof PrepaidServiceApi
|
|
12056
12545
|
*/
|
|
12057
|
-
public prepaidServiceControllerFindService(
|
|
12058
|
-
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerFindService(
|
|
12546
|
+
public prepaidServiceControllerFindService(prepaidServiceFindDTO: PrepaidServiceFindDTO, options?: RawAxiosRequestConfig) {
|
|
12547
|
+
return PrepaidServiceApiFp(this.configuration).prepaidServiceControllerFindService(prepaidServiceFindDTO, options).then((request) => request(this.axios, this.basePath));
|
|
12059
12548
|
}
|
|
12060
12549
|
|
|
12061
12550
|
/**
|