@gooday_corp/gooday-api-client 1.2.23-beta → 1.2.25
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 +1227 -44
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -319,6 +319,31 @@ export interface AttributesDto {
|
|
|
319
319
|
*/
|
|
320
320
|
'dislikes': Array<string>;
|
|
321
321
|
}
|
|
322
|
+
/**
|
|
323
|
+
*
|
|
324
|
+
* @export
|
|
325
|
+
* @interface AvailabilityDayDto
|
|
326
|
+
*/
|
|
327
|
+
export interface AvailabilityDayDto {
|
|
328
|
+
/**
|
|
329
|
+
* Day of the week
|
|
330
|
+
* @type {string}
|
|
331
|
+
* @memberof AvailabilityDayDto
|
|
332
|
+
*/
|
|
333
|
+
'day': string;
|
|
334
|
+
/**
|
|
335
|
+
* Whether the day is enabled
|
|
336
|
+
* @type {boolean}
|
|
337
|
+
* @memberof AvailabilityDayDto
|
|
338
|
+
*/
|
|
339
|
+
'enabled': boolean;
|
|
340
|
+
/**
|
|
341
|
+
* Time slots for the day
|
|
342
|
+
* @type {Array<TimeSlotDto>}
|
|
343
|
+
* @memberof AvailabilityDayDto
|
|
344
|
+
*/
|
|
345
|
+
'slots': Array<TimeSlotDto>;
|
|
346
|
+
}
|
|
322
347
|
/**
|
|
323
348
|
*
|
|
324
349
|
* @export
|
|
@@ -751,6 +776,263 @@ export interface BusinessOnBoardingResponseDTO {
|
|
|
751
776
|
*/
|
|
752
777
|
'data': BusinessEntity;
|
|
753
778
|
}
|
|
779
|
+
/**
|
|
780
|
+
*
|
|
781
|
+
* @export
|
|
782
|
+
* @interface BusinessStaffDTO
|
|
783
|
+
*/
|
|
784
|
+
export interface BusinessStaffDTO {
|
|
785
|
+
/**
|
|
786
|
+
* First name of the staff
|
|
787
|
+
* @type {string}
|
|
788
|
+
* @memberof BusinessStaffDTO
|
|
789
|
+
*/
|
|
790
|
+
'firstName': string;
|
|
791
|
+
/**
|
|
792
|
+
* Last name of the staff
|
|
793
|
+
* @type {string}
|
|
794
|
+
* @memberof BusinessStaffDTO
|
|
795
|
+
*/
|
|
796
|
+
'lastName': string;
|
|
797
|
+
/**
|
|
798
|
+
* Gender of the staff
|
|
799
|
+
* @type {string}
|
|
800
|
+
* @memberof BusinessStaffDTO
|
|
801
|
+
*/
|
|
802
|
+
'gender': string;
|
|
803
|
+
/**
|
|
804
|
+
* Date associated with the staff
|
|
805
|
+
* @type {string}
|
|
806
|
+
* @memberof BusinessStaffDTO
|
|
807
|
+
*/
|
|
808
|
+
'date': string;
|
|
809
|
+
/**
|
|
810
|
+
* Email of the staff
|
|
811
|
+
* @type {string}
|
|
812
|
+
* @memberof BusinessStaffDTO
|
|
813
|
+
*/
|
|
814
|
+
'email': string;
|
|
815
|
+
/**
|
|
816
|
+
* Phone number of the staff
|
|
817
|
+
* @type {string}
|
|
818
|
+
* @memberof BusinessStaffDTO
|
|
819
|
+
*/
|
|
820
|
+
'phoneNumber': string;
|
|
821
|
+
/**
|
|
822
|
+
* Gooday ID of the staff
|
|
823
|
+
* @type {string}
|
|
824
|
+
* @memberof BusinessStaffDTO
|
|
825
|
+
*/
|
|
826
|
+
'goodayId': string;
|
|
827
|
+
/**
|
|
828
|
+
* Role of the staff
|
|
829
|
+
* @type {string}
|
|
830
|
+
* @memberof BusinessStaffDTO
|
|
831
|
+
*/
|
|
832
|
+
'role': string;
|
|
833
|
+
/**
|
|
834
|
+
* Venue ID of the staff
|
|
835
|
+
* @type {string}
|
|
836
|
+
* @memberof BusinessStaffDTO
|
|
837
|
+
*/
|
|
838
|
+
'venue': string;
|
|
839
|
+
/**
|
|
840
|
+
* Admin name for the staff
|
|
841
|
+
* @type {string}
|
|
842
|
+
* @memberof BusinessStaffDTO
|
|
843
|
+
*/
|
|
844
|
+
'admin': string;
|
|
845
|
+
/**
|
|
846
|
+
* Country of the staff
|
|
847
|
+
* @type {string}
|
|
848
|
+
* @memberof BusinessStaffDTO
|
|
849
|
+
*/
|
|
850
|
+
'country': string;
|
|
851
|
+
/**
|
|
852
|
+
* Address of the staff
|
|
853
|
+
* @type {string}
|
|
854
|
+
* @memberof BusinessStaffDTO
|
|
855
|
+
*/
|
|
856
|
+
'address': string;
|
|
857
|
+
/**
|
|
858
|
+
* Profile picture URL
|
|
859
|
+
* @type {string}
|
|
860
|
+
* @memberof BusinessStaffDTO
|
|
861
|
+
*/
|
|
862
|
+
'profilePicture': string;
|
|
863
|
+
/**
|
|
864
|
+
* Additional documents URLs
|
|
865
|
+
* @type {Array<string>}
|
|
866
|
+
* @memberof BusinessStaffDTO
|
|
867
|
+
*/
|
|
868
|
+
'additionalDocument': Array<string>;
|
|
869
|
+
/**
|
|
870
|
+
* Availability details of the staff
|
|
871
|
+
* @type {Array<AvailabilityDayDto>}
|
|
872
|
+
* @memberof BusinessStaffDTO
|
|
873
|
+
*/
|
|
874
|
+
'availability': Array<AvailabilityDayDto>;
|
|
875
|
+
}
|
|
876
|
+
/**
|
|
877
|
+
*
|
|
878
|
+
* @export
|
|
879
|
+
* @interface BusinessStaffDeleteResponseDTO
|
|
880
|
+
*/
|
|
881
|
+
export interface BusinessStaffDeleteResponseDTO {
|
|
882
|
+
/**
|
|
883
|
+
* Status code of the response
|
|
884
|
+
* @type {number}
|
|
885
|
+
* @memberof BusinessStaffDeleteResponseDTO
|
|
886
|
+
*/
|
|
887
|
+
'statusCode': number;
|
|
888
|
+
/**
|
|
889
|
+
* Staff deleted successfully
|
|
890
|
+
* @type {string}
|
|
891
|
+
* @memberof BusinessStaffDeleteResponseDTO
|
|
892
|
+
*/
|
|
893
|
+
'message': string;
|
|
894
|
+
}
|
|
895
|
+
/**
|
|
896
|
+
*
|
|
897
|
+
* @export
|
|
898
|
+
* @interface BusinessStaffEntity
|
|
899
|
+
*/
|
|
900
|
+
export interface BusinessStaffEntity {
|
|
901
|
+
/**
|
|
902
|
+
* Unique identifier for the business staff
|
|
903
|
+
* @type {string}
|
|
904
|
+
* @memberof BusinessStaffEntity
|
|
905
|
+
*/
|
|
906
|
+
'_id': string;
|
|
907
|
+
/**
|
|
908
|
+
* First name of the staff member
|
|
909
|
+
* @type {string}
|
|
910
|
+
* @memberof BusinessStaffEntity
|
|
911
|
+
*/
|
|
912
|
+
'firstName': string;
|
|
913
|
+
/**
|
|
914
|
+
* Last name of the staff member
|
|
915
|
+
* @type {string}
|
|
916
|
+
* @memberof BusinessStaffEntity
|
|
917
|
+
*/
|
|
918
|
+
'lastName': string;
|
|
919
|
+
/**
|
|
920
|
+
* Gender of the staff member
|
|
921
|
+
* @type {string}
|
|
922
|
+
* @memberof BusinessStaffEntity
|
|
923
|
+
*/
|
|
924
|
+
'gender'?: string;
|
|
925
|
+
/**
|
|
926
|
+
* Date of birth of the staff member
|
|
927
|
+
* @type {string}
|
|
928
|
+
* @memberof BusinessStaffEntity
|
|
929
|
+
*/
|
|
930
|
+
'date'?: string;
|
|
931
|
+
/**
|
|
932
|
+
* Email of the staff member
|
|
933
|
+
* @type {string}
|
|
934
|
+
* @memberof BusinessStaffEntity
|
|
935
|
+
*/
|
|
936
|
+
'email'?: string;
|
|
937
|
+
/**
|
|
938
|
+
* Phone number of the staff member
|
|
939
|
+
* @type {string}
|
|
940
|
+
* @memberof BusinessStaffEntity
|
|
941
|
+
*/
|
|
942
|
+
'phoneNumber'?: string;
|
|
943
|
+
/**
|
|
944
|
+
* Gooday ID of the staff member
|
|
945
|
+
* @type {string}
|
|
946
|
+
* @memberof BusinessStaffEntity
|
|
947
|
+
*/
|
|
948
|
+
'goodayId': string;
|
|
949
|
+
/**
|
|
950
|
+
* Role of the staff member
|
|
951
|
+
* @type {string}
|
|
952
|
+
* @memberof BusinessStaffEntity
|
|
953
|
+
*/
|
|
954
|
+
'role': string;
|
|
955
|
+
/**
|
|
956
|
+
* Associated business venue
|
|
957
|
+
* @type {object}
|
|
958
|
+
* @memberof BusinessStaffEntity
|
|
959
|
+
*/
|
|
960
|
+
'venue': object;
|
|
961
|
+
/**
|
|
962
|
+
* Admin ID managing the staff
|
|
963
|
+
* @type {string}
|
|
964
|
+
* @memberof BusinessStaffEntity
|
|
965
|
+
*/
|
|
966
|
+
'admin'?: string;
|
|
967
|
+
/**
|
|
968
|
+
* Country of the staff member
|
|
969
|
+
* @type {string}
|
|
970
|
+
* @memberof BusinessStaffEntity
|
|
971
|
+
*/
|
|
972
|
+
'country'?: string;
|
|
973
|
+
/**
|
|
974
|
+
* Address of the staff member
|
|
975
|
+
* @type {string}
|
|
976
|
+
* @memberof BusinessStaffEntity
|
|
977
|
+
*/
|
|
978
|
+
'address'?: string;
|
|
979
|
+
/**
|
|
980
|
+
* Profile picture URL
|
|
981
|
+
* @type {string}
|
|
982
|
+
* @memberof BusinessStaffEntity
|
|
983
|
+
*/
|
|
984
|
+
'profilePicture': string;
|
|
985
|
+
/**
|
|
986
|
+
* Additional documents provided by staff
|
|
987
|
+
* @type {Array<string>}
|
|
988
|
+
* @memberof BusinessStaffEntity
|
|
989
|
+
*/
|
|
990
|
+
'additionalDocument': Array<string>;
|
|
991
|
+
/**
|
|
992
|
+
* Availability of the staff member
|
|
993
|
+
* @type {Array<object>}
|
|
994
|
+
* @memberof BusinessStaffEntity
|
|
995
|
+
*/
|
|
996
|
+
'availability': Array<object>;
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
*
|
|
1000
|
+
* @export
|
|
1001
|
+
* @interface BusinessStaffResponseDTO
|
|
1002
|
+
*/
|
|
1003
|
+
export interface BusinessStaffResponseDTO {
|
|
1004
|
+
/**
|
|
1005
|
+
* Status code of the response
|
|
1006
|
+
* @type {number}
|
|
1007
|
+
* @memberof BusinessStaffResponseDTO
|
|
1008
|
+
*/
|
|
1009
|
+
'statusCode': number;
|
|
1010
|
+
/**
|
|
1011
|
+
* Response Message
|
|
1012
|
+
* @type {BusinessStaffEntity}
|
|
1013
|
+
* @memberof BusinessStaffResponseDTO
|
|
1014
|
+
*/
|
|
1015
|
+
'data': BusinessStaffEntity;
|
|
1016
|
+
}
|
|
1017
|
+
/**
|
|
1018
|
+
*
|
|
1019
|
+
* @export
|
|
1020
|
+
* @interface BusinessStaffsResponseDTO
|
|
1021
|
+
*/
|
|
1022
|
+
export interface BusinessStaffsResponseDTO {
|
|
1023
|
+
/**
|
|
1024
|
+
* Status code of the response
|
|
1025
|
+
* @type {number}
|
|
1026
|
+
* @memberof BusinessStaffsResponseDTO
|
|
1027
|
+
*/
|
|
1028
|
+
'statusCode': number;
|
|
1029
|
+
/**
|
|
1030
|
+
* Response Message
|
|
1031
|
+
* @type {Array<BusinessStaffEntity>}
|
|
1032
|
+
* @memberof BusinessStaffsResponseDTO
|
|
1033
|
+
*/
|
|
1034
|
+
'data': Array<BusinessStaffEntity>;
|
|
1035
|
+
}
|
|
754
1036
|
/**
|
|
755
1037
|
*
|
|
756
1038
|
* @export
|
|
@@ -1733,6 +2015,62 @@ export interface CreateTodoPayload {
|
|
|
1733
2015
|
*/
|
|
1734
2016
|
'name': string;
|
|
1735
2017
|
}
|
|
2018
|
+
/**
|
|
2019
|
+
*
|
|
2020
|
+
* @export
|
|
2021
|
+
* @interface CreateWaitlistBookingCustomerPayload
|
|
2022
|
+
*/
|
|
2023
|
+
export interface CreateWaitlistBookingCustomerPayload {
|
|
2024
|
+
/**
|
|
2025
|
+
* The unique identifier of the customer
|
|
2026
|
+
* @type {string}
|
|
2027
|
+
* @memberof CreateWaitlistBookingCustomerPayload
|
|
2028
|
+
*/
|
|
2029
|
+
'_id'?: string;
|
|
2030
|
+
/**
|
|
2031
|
+
* The name of the customer
|
|
2032
|
+
* @type {string}
|
|
2033
|
+
* @memberof CreateWaitlistBookingCustomerPayload
|
|
2034
|
+
*/
|
|
2035
|
+
'name'?: string;
|
|
2036
|
+
/**
|
|
2037
|
+
* The mobile phone number of the customer
|
|
2038
|
+
* @type {string}
|
|
2039
|
+
* @memberof CreateWaitlistBookingCustomerPayload
|
|
2040
|
+
*/
|
|
2041
|
+
'mobile'?: string;
|
|
2042
|
+
/**
|
|
2043
|
+
* The email address of the customer
|
|
2044
|
+
* @type {string}
|
|
2045
|
+
* @memberof CreateWaitlistBookingCustomerPayload
|
|
2046
|
+
*/
|
|
2047
|
+
'email'?: string;
|
|
2048
|
+
/**
|
|
2049
|
+
* The goodayId for the customer
|
|
2050
|
+
* @type {string}
|
|
2051
|
+
* @memberof CreateWaitlistBookingCustomerPayload
|
|
2052
|
+
*/
|
|
2053
|
+
'goodayId'?: string;
|
|
2054
|
+
/**
|
|
2055
|
+
* Status of the
|
|
2056
|
+
* @type {string}
|
|
2057
|
+
* @memberof CreateWaitlistBookingCustomerPayload
|
|
2058
|
+
*/
|
|
2059
|
+
'status': CreateWaitlistBookingCustomerPayloadStatusEnum;
|
|
2060
|
+
}
|
|
2061
|
+
|
|
2062
|
+
export const CreateWaitlistBookingCustomerPayloadStatusEnum = {
|
|
2063
|
+
CheckedIn: 'CHECKED_IN',
|
|
2064
|
+
Confirmed: 'CONFIRMED',
|
|
2065
|
+
Unconfirmed: 'UNCONFIRMED',
|
|
2066
|
+
Rescheduled: 'RESCHEDULED',
|
|
2067
|
+
NoShow: 'NO_SHOW',
|
|
2068
|
+
Rejected: 'REJECTED',
|
|
2069
|
+
Cancelled: 'CANCELLED'
|
|
2070
|
+
} as const;
|
|
2071
|
+
|
|
2072
|
+
export type CreateWaitlistBookingCustomerPayloadStatusEnum = typeof CreateWaitlistBookingCustomerPayloadStatusEnum[keyof typeof CreateWaitlistBookingCustomerPayloadStatusEnum];
|
|
2073
|
+
|
|
1736
2074
|
/**
|
|
1737
2075
|
*
|
|
1738
2076
|
* @export
|
|
@@ -3885,6 +4223,25 @@ export interface TaskListResponseDTO {
|
|
|
3885
4223
|
*/
|
|
3886
4224
|
'data': Array<TaskEntity>;
|
|
3887
4225
|
}
|
|
4226
|
+
/**
|
|
4227
|
+
*
|
|
4228
|
+
* @export
|
|
4229
|
+
* @interface TimeSlotDto
|
|
4230
|
+
*/
|
|
4231
|
+
export interface TimeSlotDto {
|
|
4232
|
+
/**
|
|
4233
|
+
* Start time of the slot
|
|
4234
|
+
* @type {string}
|
|
4235
|
+
* @memberof TimeSlotDto
|
|
4236
|
+
*/
|
|
4237
|
+
'from': string;
|
|
4238
|
+
/**
|
|
4239
|
+
* End time of the slot
|
|
4240
|
+
* @type {string}
|
|
4241
|
+
* @memberof TimeSlotDto
|
|
4242
|
+
*/
|
|
4243
|
+
'to': string;
|
|
4244
|
+
}
|
|
3888
4245
|
/**
|
|
3889
4246
|
*
|
|
3890
4247
|
* @export
|
|
@@ -4421,42 +4778,213 @@ export interface VerifyOTPResponseDTO {
|
|
|
4421
4778
|
/**
|
|
4422
4779
|
*
|
|
4423
4780
|
* @export
|
|
4424
|
-
* @interface
|
|
4781
|
+
* @interface WaitlistEntity
|
|
4425
4782
|
*/
|
|
4426
|
-
export interface
|
|
4783
|
+
export interface WaitlistEntity {
|
|
4427
4784
|
/**
|
|
4428
|
-
*
|
|
4785
|
+
* Unique identifier for the waitlist
|
|
4429
4786
|
* @type {string}
|
|
4430
|
-
* @memberof
|
|
4787
|
+
* @memberof WaitlistEntity
|
|
4431
4788
|
*/
|
|
4432
|
-
'
|
|
4789
|
+
'_id': string;
|
|
4433
4790
|
/**
|
|
4434
|
-
*
|
|
4435
|
-
* @type {
|
|
4436
|
-
* @memberof
|
|
4791
|
+
* Start date of waitlist
|
|
4792
|
+
* @type {string}
|
|
4793
|
+
* @memberof WaitlistEntity
|
|
4437
4794
|
*/
|
|
4438
|
-
'
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4795
|
+
'startDate': string;
|
|
4796
|
+
/**
|
|
4797
|
+
* End date of waitlist
|
|
4798
|
+
* @type {string}
|
|
4799
|
+
* @memberof WaitlistEntity
|
|
4800
|
+
*/
|
|
4801
|
+
'endDate': string;
|
|
4802
|
+
/**
|
|
4803
|
+
* The business associated with the booking
|
|
4804
|
+
* @type {BusinessEntity}
|
|
4805
|
+
* @memberof WaitlistEntity
|
|
4806
|
+
*/
|
|
4807
|
+
'business': BusinessEntity;
|
|
4808
|
+
/**
|
|
4809
|
+
* The user details
|
|
4810
|
+
* @type {Array<UserEntity>}
|
|
4811
|
+
* @memberof WaitlistEntity
|
|
4812
|
+
*/
|
|
4813
|
+
'users': Array<UserEntity>;
|
|
4814
|
+
/**
|
|
4815
|
+
* Waitlist method
|
|
4816
|
+
* @type {string}
|
|
4817
|
+
* @memberof WaitlistEntity
|
|
4818
|
+
*/
|
|
4819
|
+
'method': WaitlistEntityMethodEnum;
|
|
4820
|
+
/**
|
|
4821
|
+
* The list of customers associated with the booking
|
|
4822
|
+
* @type {Array<CreateWaitlistBookingCustomerPayload>}
|
|
4823
|
+
* @memberof WaitlistEntity
|
|
4824
|
+
*/
|
|
4825
|
+
'customers': Array<CreateWaitlistBookingCustomerPayload>;
|
|
4826
|
+
/**
|
|
4827
|
+
* Status of the waitlist
|
|
4828
|
+
* @type {string}
|
|
4829
|
+
* @memberof WaitlistEntity
|
|
4830
|
+
*/
|
|
4831
|
+
'status': WaitlistEntityStatusEnum;
|
|
4832
|
+
/**
|
|
4833
|
+
* The user details
|
|
4834
|
+
* @type {UserEntity}
|
|
4835
|
+
* @memberof WaitlistEntity
|
|
4836
|
+
*/
|
|
4837
|
+
'createdBy'?: UserEntity;
|
|
4838
|
+
}
|
|
4839
|
+
|
|
4840
|
+
export const WaitlistEntityMethodEnum = {
|
|
4841
|
+
Call: 'CALL',
|
|
4842
|
+
InPerson: 'IN_PERSON',
|
|
4843
|
+
App: 'APP'
|
|
4844
|
+
} as const;
|
|
4845
|
+
|
|
4846
|
+
export type WaitlistEntityMethodEnum = typeof WaitlistEntityMethodEnum[keyof typeof WaitlistEntityMethodEnum];
|
|
4847
|
+
export const WaitlistEntityStatusEnum = {
|
|
4848
|
+
Pending: 'PENDING',
|
|
4849
|
+
Confirm: 'CONFIRM',
|
|
4850
|
+
ConnectedNoAnswer: 'CONNECTED_NO_ANSWER',
|
|
4851
|
+
Withdraw: 'WITHDRAW'
|
|
4852
|
+
} as const;
|
|
4853
|
+
|
|
4854
|
+
export type WaitlistEntityStatusEnum = typeof WaitlistEntityStatusEnum[keyof typeof WaitlistEntityStatusEnum];
|
|
4855
|
+
|
|
4856
|
+
/**
|
|
4857
|
+
*
|
|
4858
|
+
* @export
|
|
4859
|
+
* @interface WaitlistPayloadDTO
|
|
4860
|
+
*/
|
|
4861
|
+
export interface WaitlistPayloadDTO {
|
|
4862
|
+
/**
|
|
4863
|
+
* The start date of the waitlist
|
|
4864
|
+
* @type {string}
|
|
4865
|
+
* @memberof WaitlistPayloadDTO
|
|
4866
|
+
*/
|
|
4867
|
+
'startDate': string;
|
|
4868
|
+
/**
|
|
4869
|
+
* The end date of the waitlist
|
|
4870
|
+
* @type {string}
|
|
4871
|
+
* @memberof WaitlistPayloadDTO
|
|
4872
|
+
*/
|
|
4873
|
+
'endDate': string;
|
|
4874
|
+
/**
|
|
4875
|
+
* The venue of the booking
|
|
4876
|
+
* @type {string}
|
|
4877
|
+
* @memberof WaitlistPayloadDTO
|
|
4878
|
+
*/
|
|
4879
|
+
'venue': string;
|
|
4880
|
+
/**
|
|
4881
|
+
* The business associated with the booking
|
|
4882
|
+
* @type {string}
|
|
4883
|
+
* @memberof WaitlistPayloadDTO
|
|
4884
|
+
*/
|
|
4885
|
+
'business': string;
|
|
4886
|
+
/**
|
|
4887
|
+
* The list of customers associated with the booking
|
|
4888
|
+
* @type {Array<CreateWaitlistBookingCustomerPayload>}
|
|
4889
|
+
* @memberof WaitlistPayloadDTO
|
|
4890
|
+
*/
|
|
4891
|
+
'customers': Array<CreateWaitlistBookingCustomerPayload>;
|
|
4892
|
+
/**
|
|
4893
|
+
*
|
|
4894
|
+
* @type {Array<string>}
|
|
4895
|
+
* @memberof WaitlistPayloadDTO
|
|
4896
|
+
*/
|
|
4897
|
+
'staffs': Array<string>;
|
|
4898
|
+
/**
|
|
4899
|
+
* Waitlist status
|
|
4900
|
+
* @type {string}
|
|
4901
|
+
* @memberof WaitlistPayloadDTO
|
|
4902
|
+
*/
|
|
4903
|
+
'status': string;
|
|
4904
|
+
/**
|
|
4905
|
+
* Waitlist method
|
|
4906
|
+
* @type {string}
|
|
4907
|
+
* @memberof WaitlistPayloadDTO
|
|
4908
|
+
*/
|
|
4909
|
+
'method': string;
|
|
4910
|
+
}
|
|
4911
|
+
/**
|
|
4912
|
+
*
|
|
4913
|
+
* @export
|
|
4914
|
+
* @interface WaitlistResponseDTO
|
|
4915
|
+
*/
|
|
4916
|
+
export interface WaitlistResponseDTO {
|
|
4917
|
+
/**
|
|
4918
|
+
* statusCode
|
|
4919
|
+
* @type {number}
|
|
4920
|
+
* @memberof WaitlistResponseDTO
|
|
4921
|
+
*/
|
|
4922
|
+
'statusCode': number;
|
|
4923
|
+
/**
|
|
4924
|
+
* Waitlist response
|
|
4925
|
+
* @type {WaitlistEntity}
|
|
4926
|
+
* @memberof WaitlistResponseDTO
|
|
4927
|
+
*/
|
|
4928
|
+
'data': WaitlistEntity;
|
|
4929
|
+
}
|
|
4930
|
+
/**
|
|
4931
|
+
*
|
|
4932
|
+
* @export
|
|
4933
|
+
* @interface Weather
|
|
4934
|
+
*/
|
|
4935
|
+
export interface Weather {
|
|
4936
|
+
/**
|
|
4937
|
+
*
|
|
4938
|
+
* @type {string}
|
|
4939
|
+
* @memberof Weather
|
|
4940
|
+
*/
|
|
4941
|
+
'unit': string;
|
|
4942
|
+
/**
|
|
4943
|
+
*
|
|
4944
|
+
* @type {number}
|
|
4945
|
+
* @memberof Weather
|
|
4946
|
+
*/
|
|
4947
|
+
'temperature': number;
|
|
4948
|
+
}
|
|
4949
|
+
/**
|
|
4950
|
+
*
|
|
4951
|
+
* @export
|
|
4952
|
+
* @interface WhitelistsResponseDTO
|
|
4953
|
+
*/
|
|
4954
|
+
export interface WhitelistsResponseDTO {
|
|
4955
|
+
/**
|
|
4956
|
+
* statusCode
|
|
4957
|
+
* @type {number}
|
|
4958
|
+
* @memberof WhitelistsResponseDTO
|
|
4959
|
+
*/
|
|
4960
|
+
'statusCode': number;
|
|
4961
|
+
/**
|
|
4962
|
+
* Waitlist response
|
|
4963
|
+
* @type {Array<WaitlistEntity>}
|
|
4964
|
+
* @memberof WhitelistsResponseDTO
|
|
4965
|
+
*/
|
|
4966
|
+
'data': Array<WaitlistEntity>;
|
|
4967
|
+
}
|
|
4968
|
+
|
|
4969
|
+
/**
|
|
4970
|
+
* AIApi - axios parameter creator
|
|
4971
|
+
* @export
|
|
4972
|
+
*/
|
|
4973
|
+
export const AIApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
4974
|
+
return {
|
|
4975
|
+
/**
|
|
4976
|
+
*
|
|
4977
|
+
* @param {*} [options] Override http request option.
|
|
4978
|
+
* @throws {RequiredError}
|
|
4979
|
+
*/
|
|
4980
|
+
assistantControllerListAssistants: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4981
|
+
const localVarPath = `/v1/assistant/list`;
|
|
4982
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4983
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4984
|
+
let baseOptions;
|
|
4985
|
+
if (configuration) {
|
|
4986
|
+
baseOptions = configuration.baseOptions;
|
|
4987
|
+
}
|
|
4460
4988
|
|
|
4461
4989
|
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4462
4990
|
const localVarHeaderParameter = {} as any;
|
|
@@ -5998,6 +6526,214 @@ export const BusinessApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5998
6526
|
options: localVarRequestOptions,
|
|
5999
6527
|
};
|
|
6000
6528
|
},
|
|
6529
|
+
/**
|
|
6530
|
+
*
|
|
6531
|
+
* @param {string} id
|
|
6532
|
+
* @param {*} [options] Override http request option.
|
|
6533
|
+
* @throws {RequiredError}
|
|
6534
|
+
*/
|
|
6535
|
+
businessStaffControllerDeleteStaff: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6536
|
+
// verify required parameter 'id' is not null or undefined
|
|
6537
|
+
assertParamExists('businessStaffControllerDeleteStaff', 'id', id)
|
|
6538
|
+
const localVarPath = `/v1/business-staff/{id}`
|
|
6539
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6540
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6541
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6542
|
+
let baseOptions;
|
|
6543
|
+
if (configuration) {
|
|
6544
|
+
baseOptions = configuration.baseOptions;
|
|
6545
|
+
}
|
|
6546
|
+
|
|
6547
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
6548
|
+
const localVarHeaderParameter = {} as any;
|
|
6549
|
+
const localVarQueryParameter = {} as any;
|
|
6550
|
+
|
|
6551
|
+
// authentication bearer required
|
|
6552
|
+
// http bearer authentication required
|
|
6553
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6554
|
+
|
|
6555
|
+
|
|
6556
|
+
|
|
6557
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6558
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6559
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6560
|
+
|
|
6561
|
+
return {
|
|
6562
|
+
url: toPathString(localVarUrlObj),
|
|
6563
|
+
options: localVarRequestOptions,
|
|
6564
|
+
};
|
|
6565
|
+
},
|
|
6566
|
+
/**
|
|
6567
|
+
*
|
|
6568
|
+
* @param {number} page
|
|
6569
|
+
* @param {number} pageSize
|
|
6570
|
+
* @param {string} [search]
|
|
6571
|
+
* @param {*} [options] Override http request option.
|
|
6572
|
+
* @throws {RequiredError}
|
|
6573
|
+
*/
|
|
6574
|
+
businessStaffControllerFindBusinessStaffs: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6575
|
+
// verify required parameter 'page' is not null or undefined
|
|
6576
|
+
assertParamExists('businessStaffControllerFindBusinessStaffs', 'page', page)
|
|
6577
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
6578
|
+
assertParamExists('businessStaffControllerFindBusinessStaffs', 'pageSize', pageSize)
|
|
6579
|
+
const localVarPath = `/v1/business-staff`;
|
|
6580
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6581
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6582
|
+
let baseOptions;
|
|
6583
|
+
if (configuration) {
|
|
6584
|
+
baseOptions = configuration.baseOptions;
|
|
6585
|
+
}
|
|
6586
|
+
|
|
6587
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6588
|
+
const localVarHeaderParameter = {} as any;
|
|
6589
|
+
const localVarQueryParameter = {} as any;
|
|
6590
|
+
|
|
6591
|
+
// authentication bearer required
|
|
6592
|
+
// http bearer authentication required
|
|
6593
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6594
|
+
|
|
6595
|
+
if (page !== undefined) {
|
|
6596
|
+
localVarQueryParameter['page'] = page;
|
|
6597
|
+
}
|
|
6598
|
+
|
|
6599
|
+
if (pageSize !== undefined) {
|
|
6600
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
6601
|
+
}
|
|
6602
|
+
|
|
6603
|
+
if (search !== undefined) {
|
|
6604
|
+
localVarQueryParameter['search'] = search;
|
|
6605
|
+
}
|
|
6606
|
+
|
|
6607
|
+
|
|
6608
|
+
|
|
6609
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6610
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6611
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6612
|
+
|
|
6613
|
+
return {
|
|
6614
|
+
url: toPathString(localVarUrlObj),
|
|
6615
|
+
options: localVarRequestOptions,
|
|
6616
|
+
};
|
|
6617
|
+
},
|
|
6618
|
+
/**
|
|
6619
|
+
*
|
|
6620
|
+
* @param {string} id
|
|
6621
|
+
* @param {*} [options] Override http request option.
|
|
6622
|
+
* @throws {RequiredError}
|
|
6623
|
+
*/
|
|
6624
|
+
businessStaffControllerFindByIdBusinessStaff: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6625
|
+
// verify required parameter 'id' is not null or undefined
|
|
6626
|
+
assertParamExists('businessStaffControllerFindByIdBusinessStaff', 'id', id)
|
|
6627
|
+
const localVarPath = `/v1/business-staff/{id}`
|
|
6628
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6629
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6630
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6631
|
+
let baseOptions;
|
|
6632
|
+
if (configuration) {
|
|
6633
|
+
baseOptions = configuration.baseOptions;
|
|
6634
|
+
}
|
|
6635
|
+
|
|
6636
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
6637
|
+
const localVarHeaderParameter = {} as any;
|
|
6638
|
+
const localVarQueryParameter = {} as any;
|
|
6639
|
+
|
|
6640
|
+
// authentication bearer required
|
|
6641
|
+
// http bearer authentication required
|
|
6642
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6643
|
+
|
|
6644
|
+
|
|
6645
|
+
|
|
6646
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6647
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6648
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6649
|
+
|
|
6650
|
+
return {
|
|
6651
|
+
url: toPathString(localVarUrlObj),
|
|
6652
|
+
options: localVarRequestOptions,
|
|
6653
|
+
};
|
|
6654
|
+
},
|
|
6655
|
+
/**
|
|
6656
|
+
*
|
|
6657
|
+
* @param {BusinessStaffDTO} businessStaffDTO
|
|
6658
|
+
* @param {*} [options] Override http request option.
|
|
6659
|
+
* @throws {RequiredError}
|
|
6660
|
+
*/
|
|
6661
|
+
businessStaffControllerSaveBusinessStaff: async (businessStaffDTO: BusinessStaffDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6662
|
+
// verify required parameter 'businessStaffDTO' is not null or undefined
|
|
6663
|
+
assertParamExists('businessStaffControllerSaveBusinessStaff', 'businessStaffDTO', businessStaffDTO)
|
|
6664
|
+
const localVarPath = `/v1/business-staff`;
|
|
6665
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6666
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6667
|
+
let baseOptions;
|
|
6668
|
+
if (configuration) {
|
|
6669
|
+
baseOptions = configuration.baseOptions;
|
|
6670
|
+
}
|
|
6671
|
+
|
|
6672
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
6673
|
+
const localVarHeaderParameter = {} as any;
|
|
6674
|
+
const localVarQueryParameter = {} as any;
|
|
6675
|
+
|
|
6676
|
+
// authentication bearer required
|
|
6677
|
+
// http bearer authentication required
|
|
6678
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6679
|
+
|
|
6680
|
+
|
|
6681
|
+
|
|
6682
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6683
|
+
|
|
6684
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6685
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6686
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6687
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessStaffDTO, localVarRequestOptions, configuration)
|
|
6688
|
+
|
|
6689
|
+
return {
|
|
6690
|
+
url: toPathString(localVarUrlObj),
|
|
6691
|
+
options: localVarRequestOptions,
|
|
6692
|
+
};
|
|
6693
|
+
},
|
|
6694
|
+
/**
|
|
6695
|
+
*
|
|
6696
|
+
* @param {string} id
|
|
6697
|
+
* @param {BusinessStaffDTO} businessStaffDTO
|
|
6698
|
+
* @param {*} [options] Override http request option.
|
|
6699
|
+
* @throws {RequiredError}
|
|
6700
|
+
*/
|
|
6701
|
+
businessStaffControllerUpdateStaff: async (id: string, businessStaffDTO: BusinessStaffDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6702
|
+
// verify required parameter 'id' is not null or undefined
|
|
6703
|
+
assertParamExists('businessStaffControllerUpdateStaff', 'id', id)
|
|
6704
|
+
// verify required parameter 'businessStaffDTO' is not null or undefined
|
|
6705
|
+
assertParamExists('businessStaffControllerUpdateStaff', 'businessStaffDTO', businessStaffDTO)
|
|
6706
|
+
const localVarPath = `/v1/business-staff/{id}`
|
|
6707
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
6708
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
6709
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
6710
|
+
let baseOptions;
|
|
6711
|
+
if (configuration) {
|
|
6712
|
+
baseOptions = configuration.baseOptions;
|
|
6713
|
+
}
|
|
6714
|
+
|
|
6715
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
6716
|
+
const localVarHeaderParameter = {} as any;
|
|
6717
|
+
const localVarQueryParameter = {} as any;
|
|
6718
|
+
|
|
6719
|
+
// authentication bearer required
|
|
6720
|
+
// http bearer authentication required
|
|
6721
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6722
|
+
|
|
6723
|
+
|
|
6724
|
+
|
|
6725
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
6726
|
+
|
|
6727
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6728
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6729
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
6730
|
+
localVarRequestOptions.data = serializeDataIfNeeded(businessStaffDTO, localVarRequestOptions, configuration)
|
|
6731
|
+
|
|
6732
|
+
return {
|
|
6733
|
+
url: toPathString(localVarUrlObj),
|
|
6734
|
+
options: localVarRequestOptions,
|
|
6735
|
+
};
|
|
6736
|
+
},
|
|
6001
6737
|
/**
|
|
6002
6738
|
*
|
|
6003
6739
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -6336,6 +7072,69 @@ export const BusinessApiFp = function(configuration?: Configuration) {
|
|
|
6336
7072
|
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessControllerListBusinesses']?.[localVarOperationServerIndex]?.url;
|
|
6337
7073
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6338
7074
|
},
|
|
7075
|
+
/**
|
|
7076
|
+
*
|
|
7077
|
+
* @param {string} id
|
|
7078
|
+
* @param {*} [options] Override http request option.
|
|
7079
|
+
* @throws {RequiredError}
|
|
7080
|
+
*/
|
|
7081
|
+
async businessStaffControllerDeleteStaff(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffDeleteResponseDTO>> {
|
|
7082
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerDeleteStaff(id, options);
|
|
7083
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7084
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerDeleteStaff']?.[localVarOperationServerIndex]?.url;
|
|
7085
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7086
|
+
},
|
|
7087
|
+
/**
|
|
7088
|
+
*
|
|
7089
|
+
* @param {number} page
|
|
7090
|
+
* @param {number} pageSize
|
|
7091
|
+
* @param {string} [search]
|
|
7092
|
+
* @param {*} [options] Override http request option.
|
|
7093
|
+
* @throws {RequiredError}
|
|
7094
|
+
*/
|
|
7095
|
+
async businessStaffControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffsResponseDTO>> {
|
|
7096
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerFindBusinessStaffs(page, pageSize, search, options);
|
|
7097
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7098
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindBusinessStaffs']?.[localVarOperationServerIndex]?.url;
|
|
7099
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7100
|
+
},
|
|
7101
|
+
/**
|
|
7102
|
+
*
|
|
7103
|
+
* @param {string} id
|
|
7104
|
+
* @param {*} [options] Override http request option.
|
|
7105
|
+
* @throws {RequiredError}
|
|
7106
|
+
*/
|
|
7107
|
+
async businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffResponseDTO>> {
|
|
7108
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerFindByIdBusinessStaff(id, options);
|
|
7109
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7110
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerFindByIdBusinessStaff']?.[localVarOperationServerIndex]?.url;
|
|
7111
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7112
|
+
},
|
|
7113
|
+
/**
|
|
7114
|
+
*
|
|
7115
|
+
* @param {BusinessStaffDTO} businessStaffDTO
|
|
7116
|
+
* @param {*} [options] Override http request option.
|
|
7117
|
+
* @throws {RequiredError}
|
|
7118
|
+
*/
|
|
7119
|
+
async businessStaffControllerSaveBusinessStaff(businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffResponseDTO>> {
|
|
7120
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerSaveBusinessStaff(businessStaffDTO, options);
|
|
7121
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7122
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerSaveBusinessStaff']?.[localVarOperationServerIndex]?.url;
|
|
7123
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7124
|
+
},
|
|
7125
|
+
/**
|
|
7126
|
+
*
|
|
7127
|
+
* @param {string} id
|
|
7128
|
+
* @param {BusinessStaffDTO} businessStaffDTO
|
|
7129
|
+
* @param {*} [options] Override http request option.
|
|
7130
|
+
* @throws {RequiredError}
|
|
7131
|
+
*/
|
|
7132
|
+
async businessStaffControllerUpdateStaff(id: string, businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BusinessStaffResponseDTO>> {
|
|
7133
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.businessStaffControllerUpdateStaff(id, businessStaffDTO, options);
|
|
7134
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
7135
|
+
const localVarOperationServerBasePath = operationServerMap['BusinessApi.businessStaffControllerUpdateStaff']?.[localVarOperationServerIndex]?.url;
|
|
7136
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7137
|
+
},
|
|
6339
7138
|
/**
|
|
6340
7139
|
*
|
|
6341
7140
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -6466,6 +7265,54 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
6466
7265
|
businessControllerListBusinesses(options?: RawAxiosRequestConfig): AxiosPromise<Array<BusinessOnBoardingResponseDTO>> {
|
|
6467
7266
|
return localVarFp.businessControllerListBusinesses(options).then((request) => request(axios, basePath));
|
|
6468
7267
|
},
|
|
7268
|
+
/**
|
|
7269
|
+
*
|
|
7270
|
+
* @param {string} id
|
|
7271
|
+
* @param {*} [options] Override http request option.
|
|
7272
|
+
* @throws {RequiredError}
|
|
7273
|
+
*/
|
|
7274
|
+
businessStaffControllerDeleteStaff(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffDeleteResponseDTO> {
|
|
7275
|
+
return localVarFp.businessStaffControllerDeleteStaff(id, options).then((request) => request(axios, basePath));
|
|
7276
|
+
},
|
|
7277
|
+
/**
|
|
7278
|
+
*
|
|
7279
|
+
* @param {number} page
|
|
7280
|
+
* @param {number} pageSize
|
|
7281
|
+
* @param {string} [search]
|
|
7282
|
+
* @param {*} [options] Override http request option.
|
|
7283
|
+
* @throws {RequiredError}
|
|
7284
|
+
*/
|
|
7285
|
+
businessStaffControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffsResponseDTO> {
|
|
7286
|
+
return localVarFp.businessStaffControllerFindBusinessStaffs(page, pageSize, search, options).then((request) => request(axios, basePath));
|
|
7287
|
+
},
|
|
7288
|
+
/**
|
|
7289
|
+
*
|
|
7290
|
+
* @param {string} id
|
|
7291
|
+
* @param {*} [options] Override http request option.
|
|
7292
|
+
* @throws {RequiredError}
|
|
7293
|
+
*/
|
|
7294
|
+
businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
|
|
7295
|
+
return localVarFp.businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(axios, basePath));
|
|
7296
|
+
},
|
|
7297
|
+
/**
|
|
7298
|
+
*
|
|
7299
|
+
* @param {BusinessStaffDTO} businessStaffDTO
|
|
7300
|
+
* @param {*} [options] Override http request option.
|
|
7301
|
+
* @throws {RequiredError}
|
|
7302
|
+
*/
|
|
7303
|
+
businessStaffControllerSaveBusinessStaff(businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
|
|
7304
|
+
return localVarFp.businessStaffControllerSaveBusinessStaff(businessStaffDTO, options).then((request) => request(axios, basePath));
|
|
7305
|
+
},
|
|
7306
|
+
/**
|
|
7307
|
+
*
|
|
7308
|
+
* @param {string} id
|
|
7309
|
+
* @param {BusinessStaffDTO} businessStaffDTO
|
|
7310
|
+
* @param {*} [options] Override http request option.
|
|
7311
|
+
* @throws {RequiredError}
|
|
7312
|
+
*/
|
|
7313
|
+
businessStaffControllerUpdateStaff(id: string, businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig): AxiosPromise<BusinessStaffResponseDTO> {
|
|
7314
|
+
return localVarFp.businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(axios, basePath));
|
|
7315
|
+
},
|
|
6469
7316
|
/**
|
|
6470
7317
|
*
|
|
6471
7318
|
* @param {GetBusinessVenueDto} getBusinessVenueDto
|
|
@@ -6540,42 +7387,100 @@ export const BusinessApiFactory = function (configuration?: Configuration, baseP
|
|
|
6540
7387
|
};
|
|
6541
7388
|
};
|
|
6542
7389
|
|
|
6543
|
-
/**
|
|
6544
|
-
* BusinessApi - object-oriented interface
|
|
6545
|
-
* @export
|
|
6546
|
-
* @class BusinessApi
|
|
6547
|
-
* @extends {BaseAPI}
|
|
6548
|
-
*/
|
|
6549
|
-
export class BusinessApi extends BaseAPI {
|
|
7390
|
+
/**
|
|
7391
|
+
* BusinessApi - object-oriented interface
|
|
7392
|
+
* @export
|
|
7393
|
+
* @class BusinessApi
|
|
7394
|
+
* @extends {BaseAPI}
|
|
7395
|
+
*/
|
|
7396
|
+
export class BusinessApi extends BaseAPI {
|
|
7397
|
+
/**
|
|
7398
|
+
*
|
|
7399
|
+
* @param {BusinessOnBoardingDTO} businessOnBoardingDTO
|
|
7400
|
+
* @param {*} [options] Override http request option.
|
|
7401
|
+
* @throws {RequiredError}
|
|
7402
|
+
* @memberof BusinessApi
|
|
7403
|
+
*/
|
|
7404
|
+
public businessControllerBusinessOnboarding(businessOnBoardingDTO: BusinessOnBoardingDTO, options?: RawAxiosRequestConfig) {
|
|
7405
|
+
return BusinessApiFp(this.configuration).businessControllerBusinessOnboarding(businessOnBoardingDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7406
|
+
}
|
|
7407
|
+
|
|
7408
|
+
/**
|
|
7409
|
+
*
|
|
7410
|
+
* @param {*} [options] Override http request option.
|
|
7411
|
+
* @throws {RequiredError}
|
|
7412
|
+
* @memberof BusinessApi
|
|
7413
|
+
*/
|
|
7414
|
+
public businessControllerGetMe(options?: RawAxiosRequestConfig) {
|
|
7415
|
+
return BusinessApiFp(this.configuration).businessControllerGetMe(options).then((request) => request(this.axios, this.basePath));
|
|
7416
|
+
}
|
|
7417
|
+
|
|
7418
|
+
/**
|
|
7419
|
+
*
|
|
7420
|
+
* @param {*} [options] Override http request option.
|
|
7421
|
+
* @throws {RequiredError}
|
|
7422
|
+
* @memberof BusinessApi
|
|
7423
|
+
*/
|
|
7424
|
+
public businessControllerListBusinesses(options?: RawAxiosRequestConfig) {
|
|
7425
|
+
return BusinessApiFp(this.configuration).businessControllerListBusinesses(options).then((request) => request(this.axios, this.basePath));
|
|
7426
|
+
}
|
|
7427
|
+
|
|
6550
7428
|
/**
|
|
6551
7429
|
*
|
|
6552
|
-
* @param {
|
|
7430
|
+
* @param {string} id
|
|
6553
7431
|
* @param {*} [options] Override http request option.
|
|
6554
7432
|
* @throws {RequiredError}
|
|
6555
7433
|
* @memberof BusinessApi
|
|
6556
7434
|
*/
|
|
6557
|
-
public
|
|
6558
|
-
return BusinessApiFp(this.configuration).
|
|
7435
|
+
public businessStaffControllerDeleteStaff(id: string, options?: RawAxiosRequestConfig) {
|
|
7436
|
+
return BusinessApiFp(this.configuration).businessStaffControllerDeleteStaff(id, options).then((request) => request(this.axios, this.basePath));
|
|
6559
7437
|
}
|
|
6560
7438
|
|
|
6561
7439
|
/**
|
|
6562
7440
|
*
|
|
7441
|
+
* @param {number} page
|
|
7442
|
+
* @param {number} pageSize
|
|
7443
|
+
* @param {string} [search]
|
|
6563
7444
|
* @param {*} [options] Override http request option.
|
|
6564
7445
|
* @throws {RequiredError}
|
|
6565
7446
|
* @memberof BusinessApi
|
|
6566
7447
|
*/
|
|
6567
|
-
public
|
|
6568
|
-
return BusinessApiFp(this.configuration).
|
|
7448
|
+
public businessStaffControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
7449
|
+
return BusinessApiFp(this.configuration).businessStaffControllerFindBusinessStaffs(page, pageSize, search, options).then((request) => request(this.axios, this.basePath));
|
|
6569
7450
|
}
|
|
6570
7451
|
|
|
6571
7452
|
/**
|
|
6572
7453
|
*
|
|
7454
|
+
* @param {string} id
|
|
6573
7455
|
* @param {*} [options] Override http request option.
|
|
6574
7456
|
* @throws {RequiredError}
|
|
6575
7457
|
* @memberof BusinessApi
|
|
6576
7458
|
*/
|
|
6577
|
-
public
|
|
6578
|
-
return BusinessApiFp(this.configuration).
|
|
7459
|
+
public businessStaffControllerFindByIdBusinessStaff(id: string, options?: RawAxiosRequestConfig) {
|
|
7460
|
+
return BusinessApiFp(this.configuration).businessStaffControllerFindByIdBusinessStaff(id, options).then((request) => request(this.axios, this.basePath));
|
|
7461
|
+
}
|
|
7462
|
+
|
|
7463
|
+
/**
|
|
7464
|
+
*
|
|
7465
|
+
* @param {BusinessStaffDTO} businessStaffDTO
|
|
7466
|
+
* @param {*} [options] Override http request option.
|
|
7467
|
+
* @throws {RequiredError}
|
|
7468
|
+
* @memberof BusinessApi
|
|
7469
|
+
*/
|
|
7470
|
+
public businessStaffControllerSaveBusinessStaff(businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig) {
|
|
7471
|
+
return BusinessApiFp(this.configuration).businessStaffControllerSaveBusinessStaff(businessStaffDTO, options).then((request) => request(this.axios, this.basePath));
|
|
7472
|
+
}
|
|
7473
|
+
|
|
7474
|
+
/**
|
|
7475
|
+
*
|
|
7476
|
+
* @param {string} id
|
|
7477
|
+
* @param {BusinessStaffDTO} businessStaffDTO
|
|
7478
|
+
* @param {*} [options] Override http request option.
|
|
7479
|
+
* @throws {RequiredError}
|
|
7480
|
+
* @memberof BusinessApi
|
|
7481
|
+
*/
|
|
7482
|
+
public businessStaffControllerUpdateStaff(id: string, businessStaffDTO: BusinessStaffDTO, options?: RawAxiosRequestConfig) {
|
|
7483
|
+
return BusinessApiFp(this.configuration).businessStaffControllerUpdateStaff(id, businessStaffDTO, options).then((request) => request(this.axios, this.basePath));
|
|
6579
7484
|
}
|
|
6580
7485
|
|
|
6581
7486
|
/**
|
|
@@ -12539,3 +13444,281 @@ export class UsersApi extends BaseAPI {
|
|
|
12539
13444
|
|
|
12540
13445
|
|
|
12541
13446
|
|
|
13447
|
+
/**
|
|
13448
|
+
* WaitlistApi - axios parameter creator
|
|
13449
|
+
* @export
|
|
13450
|
+
*/
|
|
13451
|
+
export const WaitlistApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
13452
|
+
return {
|
|
13453
|
+
/**
|
|
13454
|
+
*
|
|
13455
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
13456
|
+
* @param {*} [options] Override http request option.
|
|
13457
|
+
* @throws {RequiredError}
|
|
13458
|
+
*/
|
|
13459
|
+
waitlistControllerAddWaitlist: async (waitlistPayloadDTO: WaitlistPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13460
|
+
// verify required parameter 'waitlistPayloadDTO' is not null or undefined
|
|
13461
|
+
assertParamExists('waitlistControllerAddWaitlist', 'waitlistPayloadDTO', waitlistPayloadDTO)
|
|
13462
|
+
const localVarPath = `/v1/waitlist`;
|
|
13463
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13464
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13465
|
+
let baseOptions;
|
|
13466
|
+
if (configuration) {
|
|
13467
|
+
baseOptions = configuration.baseOptions;
|
|
13468
|
+
}
|
|
13469
|
+
|
|
13470
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
13471
|
+
const localVarHeaderParameter = {} as any;
|
|
13472
|
+
const localVarQueryParameter = {} as any;
|
|
13473
|
+
|
|
13474
|
+
// authentication bearer required
|
|
13475
|
+
// http bearer authentication required
|
|
13476
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13477
|
+
|
|
13478
|
+
|
|
13479
|
+
|
|
13480
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13481
|
+
|
|
13482
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13483
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13484
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13485
|
+
localVarRequestOptions.data = serializeDataIfNeeded(waitlistPayloadDTO, localVarRequestOptions, configuration)
|
|
13486
|
+
|
|
13487
|
+
return {
|
|
13488
|
+
url: toPathString(localVarUrlObj),
|
|
13489
|
+
options: localVarRequestOptions,
|
|
13490
|
+
};
|
|
13491
|
+
},
|
|
13492
|
+
/**
|
|
13493
|
+
*
|
|
13494
|
+
* @param {string} id
|
|
13495
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
13496
|
+
* @param {*} [options] Override http request option.
|
|
13497
|
+
* @throws {RequiredError}
|
|
13498
|
+
*/
|
|
13499
|
+
waitlistControllerAvailableSlots: async (id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13500
|
+
// verify required parameter 'id' is not null or undefined
|
|
13501
|
+
assertParamExists('waitlistControllerAvailableSlots', 'id', id)
|
|
13502
|
+
// verify required parameter 'waitlistPayloadDTO' is not null or undefined
|
|
13503
|
+
assertParamExists('waitlistControllerAvailableSlots', 'waitlistPayloadDTO', waitlistPayloadDTO)
|
|
13504
|
+
const localVarPath = `/v1/waitlist/{id}`
|
|
13505
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
13506
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13507
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13508
|
+
let baseOptions;
|
|
13509
|
+
if (configuration) {
|
|
13510
|
+
baseOptions = configuration.baseOptions;
|
|
13511
|
+
}
|
|
13512
|
+
|
|
13513
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
13514
|
+
const localVarHeaderParameter = {} as any;
|
|
13515
|
+
const localVarQueryParameter = {} as any;
|
|
13516
|
+
|
|
13517
|
+
// authentication bearer required
|
|
13518
|
+
// http bearer authentication required
|
|
13519
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13520
|
+
|
|
13521
|
+
|
|
13522
|
+
|
|
13523
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13524
|
+
|
|
13525
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13526
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13527
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13528
|
+
localVarRequestOptions.data = serializeDataIfNeeded(waitlistPayloadDTO, localVarRequestOptions, configuration)
|
|
13529
|
+
|
|
13530
|
+
return {
|
|
13531
|
+
url: toPathString(localVarUrlObj),
|
|
13532
|
+
options: localVarRequestOptions,
|
|
13533
|
+
};
|
|
13534
|
+
},
|
|
13535
|
+
/**
|
|
13536
|
+
*
|
|
13537
|
+
* @param {number} page
|
|
13538
|
+
* @param {number} pageSize
|
|
13539
|
+
* @param {string} [search]
|
|
13540
|
+
* @param {*} [options] Override http request option.
|
|
13541
|
+
* @throws {RequiredError}
|
|
13542
|
+
*/
|
|
13543
|
+
waitlistControllerFindBusinessStaffs: async (page: number, pageSize: number, search?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
13544
|
+
// verify required parameter 'page' is not null or undefined
|
|
13545
|
+
assertParamExists('waitlistControllerFindBusinessStaffs', 'page', page)
|
|
13546
|
+
// verify required parameter 'pageSize' is not null or undefined
|
|
13547
|
+
assertParamExists('waitlistControllerFindBusinessStaffs', 'pageSize', pageSize)
|
|
13548
|
+
const localVarPath = `/v1/waitlist`;
|
|
13549
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
13550
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
13551
|
+
let baseOptions;
|
|
13552
|
+
if (configuration) {
|
|
13553
|
+
baseOptions = configuration.baseOptions;
|
|
13554
|
+
}
|
|
13555
|
+
|
|
13556
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
13557
|
+
const localVarHeaderParameter = {} as any;
|
|
13558
|
+
const localVarQueryParameter = {} as any;
|
|
13559
|
+
|
|
13560
|
+
// authentication bearer required
|
|
13561
|
+
// http bearer authentication required
|
|
13562
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
13563
|
+
|
|
13564
|
+
if (page !== undefined) {
|
|
13565
|
+
localVarQueryParameter['page'] = page;
|
|
13566
|
+
}
|
|
13567
|
+
|
|
13568
|
+
if (pageSize !== undefined) {
|
|
13569
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
13570
|
+
}
|
|
13571
|
+
|
|
13572
|
+
if (search !== undefined) {
|
|
13573
|
+
localVarQueryParameter['search'] = search;
|
|
13574
|
+
}
|
|
13575
|
+
|
|
13576
|
+
|
|
13577
|
+
|
|
13578
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13579
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13580
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
13581
|
+
|
|
13582
|
+
return {
|
|
13583
|
+
url: toPathString(localVarUrlObj),
|
|
13584
|
+
options: localVarRequestOptions,
|
|
13585
|
+
};
|
|
13586
|
+
},
|
|
13587
|
+
}
|
|
13588
|
+
};
|
|
13589
|
+
|
|
13590
|
+
/**
|
|
13591
|
+
* WaitlistApi - functional programming interface
|
|
13592
|
+
* @export
|
|
13593
|
+
*/
|
|
13594
|
+
export const WaitlistApiFp = function(configuration?: Configuration) {
|
|
13595
|
+
const localVarAxiosParamCreator = WaitlistApiAxiosParamCreator(configuration)
|
|
13596
|
+
return {
|
|
13597
|
+
/**
|
|
13598
|
+
*
|
|
13599
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
13600
|
+
* @param {*} [options] Override http request option.
|
|
13601
|
+
* @throws {RequiredError}
|
|
13602
|
+
*/
|
|
13603
|
+
async waitlistControllerAddWaitlist(waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WaitlistResponseDTO>> {
|
|
13604
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerAddWaitlist(waitlistPayloadDTO, options);
|
|
13605
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13606
|
+
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerAddWaitlist']?.[localVarOperationServerIndex]?.url;
|
|
13607
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13608
|
+
},
|
|
13609
|
+
/**
|
|
13610
|
+
*
|
|
13611
|
+
* @param {string} id
|
|
13612
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
13613
|
+
* @param {*} [options] Override http request option.
|
|
13614
|
+
* @throws {RequiredError}
|
|
13615
|
+
*/
|
|
13616
|
+
async waitlistControllerAvailableSlots(id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WaitlistResponseDTO>> {
|
|
13617
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerAvailableSlots(id, waitlistPayloadDTO, options);
|
|
13618
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13619
|
+
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerAvailableSlots']?.[localVarOperationServerIndex]?.url;
|
|
13620
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13621
|
+
},
|
|
13622
|
+
/**
|
|
13623
|
+
*
|
|
13624
|
+
* @param {number} page
|
|
13625
|
+
* @param {number} pageSize
|
|
13626
|
+
* @param {string} [search]
|
|
13627
|
+
* @param {*} [options] Override http request option.
|
|
13628
|
+
* @throws {RequiredError}
|
|
13629
|
+
*/
|
|
13630
|
+
async waitlistControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WhitelistsResponseDTO>> {
|
|
13631
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.waitlistControllerFindBusinessStaffs(page, pageSize, search, options);
|
|
13632
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
13633
|
+
const localVarOperationServerBasePath = operationServerMap['WaitlistApi.waitlistControllerFindBusinessStaffs']?.[localVarOperationServerIndex]?.url;
|
|
13634
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13635
|
+
},
|
|
13636
|
+
}
|
|
13637
|
+
};
|
|
13638
|
+
|
|
13639
|
+
/**
|
|
13640
|
+
* WaitlistApi - factory interface
|
|
13641
|
+
* @export
|
|
13642
|
+
*/
|
|
13643
|
+
export const WaitlistApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
13644
|
+
const localVarFp = WaitlistApiFp(configuration)
|
|
13645
|
+
return {
|
|
13646
|
+
/**
|
|
13647
|
+
*
|
|
13648
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
13649
|
+
* @param {*} [options] Override http request option.
|
|
13650
|
+
* @throws {RequiredError}
|
|
13651
|
+
*/
|
|
13652
|
+
waitlistControllerAddWaitlist(waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WaitlistResponseDTO> {
|
|
13653
|
+
return localVarFp.waitlistControllerAddWaitlist(waitlistPayloadDTO, options).then((request) => request(axios, basePath));
|
|
13654
|
+
},
|
|
13655
|
+
/**
|
|
13656
|
+
*
|
|
13657
|
+
* @param {string} id
|
|
13658
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
13659
|
+
* @param {*} [options] Override http request option.
|
|
13660
|
+
* @throws {RequiredError}
|
|
13661
|
+
*/
|
|
13662
|
+
waitlistControllerAvailableSlots(id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig): AxiosPromise<WaitlistResponseDTO> {
|
|
13663
|
+
return localVarFp.waitlistControllerAvailableSlots(id, waitlistPayloadDTO, options).then((request) => request(axios, basePath));
|
|
13664
|
+
},
|
|
13665
|
+
/**
|
|
13666
|
+
*
|
|
13667
|
+
* @param {number} page
|
|
13668
|
+
* @param {number} pageSize
|
|
13669
|
+
* @param {string} [search]
|
|
13670
|
+
* @param {*} [options] Override http request option.
|
|
13671
|
+
* @throws {RequiredError}
|
|
13672
|
+
*/
|
|
13673
|
+
waitlistControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig): AxiosPromise<WhitelistsResponseDTO> {
|
|
13674
|
+
return localVarFp.waitlistControllerFindBusinessStaffs(page, pageSize, search, options).then((request) => request(axios, basePath));
|
|
13675
|
+
},
|
|
13676
|
+
};
|
|
13677
|
+
};
|
|
13678
|
+
|
|
13679
|
+
/**
|
|
13680
|
+
* WaitlistApi - object-oriented interface
|
|
13681
|
+
* @export
|
|
13682
|
+
* @class WaitlistApi
|
|
13683
|
+
* @extends {BaseAPI}
|
|
13684
|
+
*/
|
|
13685
|
+
export class WaitlistApi extends BaseAPI {
|
|
13686
|
+
/**
|
|
13687
|
+
*
|
|
13688
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
13689
|
+
* @param {*} [options] Override http request option.
|
|
13690
|
+
* @throws {RequiredError}
|
|
13691
|
+
* @memberof WaitlistApi
|
|
13692
|
+
*/
|
|
13693
|
+
public waitlistControllerAddWaitlist(waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
13694
|
+
return WaitlistApiFp(this.configuration).waitlistControllerAddWaitlist(waitlistPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
13695
|
+
}
|
|
13696
|
+
|
|
13697
|
+
/**
|
|
13698
|
+
*
|
|
13699
|
+
* @param {string} id
|
|
13700
|
+
* @param {WaitlistPayloadDTO} waitlistPayloadDTO
|
|
13701
|
+
* @param {*} [options] Override http request option.
|
|
13702
|
+
* @throws {RequiredError}
|
|
13703
|
+
* @memberof WaitlistApi
|
|
13704
|
+
*/
|
|
13705
|
+
public waitlistControllerAvailableSlots(id: string, waitlistPayloadDTO: WaitlistPayloadDTO, options?: RawAxiosRequestConfig) {
|
|
13706
|
+
return WaitlistApiFp(this.configuration).waitlistControllerAvailableSlots(id, waitlistPayloadDTO, options).then((request) => request(this.axios, this.basePath));
|
|
13707
|
+
}
|
|
13708
|
+
|
|
13709
|
+
/**
|
|
13710
|
+
*
|
|
13711
|
+
* @param {number} page
|
|
13712
|
+
* @param {number} pageSize
|
|
13713
|
+
* @param {string} [search]
|
|
13714
|
+
* @param {*} [options] Override http request option.
|
|
13715
|
+
* @throws {RequiredError}
|
|
13716
|
+
* @memberof WaitlistApi
|
|
13717
|
+
*/
|
|
13718
|
+
public waitlistControllerFindBusinessStaffs(page: number, pageSize: number, search?: string, options?: RawAxiosRequestConfig) {
|
|
13719
|
+
return WaitlistApiFp(this.configuration).waitlistControllerFindBusinessStaffs(page, pageSize, search, options).then((request) => request(this.axios, this.basePath));
|
|
13720
|
+
}
|
|
13721
|
+
}
|
|
13722
|
+
|
|
13723
|
+
|
|
13724
|
+
|