@tennac-booking/sdk 1.0.40 → 1.0.41

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/dist/esm/api.d.ts CHANGED
@@ -26,189 +26,6 @@ export interface AddPaymentMethodRequestBody {
26
26
  */
27
27
  'paymentMethodId': string;
28
28
  }
29
- /**
30
- *
31
- * @export
32
- * @interface BaseUser
33
- */
34
- export interface BaseUser {
35
- /**
36
- * The string version of this documents _id.
37
- * @type {any}
38
- * @memberof BaseUser
39
- */
40
- 'id'?: any;
41
- /**
42
- * This documents _id.
43
- * @type {any}
44
- * @memberof BaseUser
45
- */
46
- '_id': any;
47
- /**
48
- *
49
- * @type {string}
50
- * @memberof BaseUser
51
- */
52
- 'username'?: string;
53
- /**
54
- *
55
- * @type {string}
56
- * @memberof BaseUser
57
- */
58
- 'googleId'?: string;
59
- /**
60
- *
61
- * @type {string}
62
- * @memberof BaseUser
63
- */
64
- 'firstName': string;
65
- /**
66
- *
67
- * @type {string}
68
- * @memberof BaseUser
69
- */
70
- 'lastName': string;
71
- /**
72
- *
73
- * @type {string}
74
- * @memberof BaseUser
75
- */
76
- 'email': string;
77
- /**
78
- *
79
- * @type {string}
80
- * @memberof BaseUser
81
- */
82
- 'phone'?: string;
83
- /**
84
- *
85
- * @type {string}
86
- * @memberof BaseUser
87
- */
88
- 'profilePicture'?: string;
89
- /**
90
- *
91
- * @type {string}
92
- * @memberof BaseUser
93
- */
94
- 'description'?: string;
95
- /**
96
- *
97
- * @type {string}
98
- * @memberof BaseUser
99
- */
100
- 'city'?: string;
101
- /**
102
- *
103
- * @type {boolean}
104
- * @memberof BaseUser
105
- */
106
- 'isProfileVisible': boolean;
107
- /**
108
- *
109
- * @type {Gender}
110
- * @memberof BaseUser
111
- */
112
- 'gender'?: Gender;
113
- /**
114
- *
115
- * @type {boolean}
116
- * @memberof BaseUser
117
- */
118
- 'isAccountVerified': boolean;
119
- /**
120
- *
121
- * @type {boolean}
122
- * @memberof BaseUser
123
- */
124
- 'isCreditCardRegistered'?: boolean;
125
- /**
126
- *
127
- * @type {boolean}
128
- * @memberof BaseUser
129
- */
130
- 'isAdmin': boolean;
131
- /**
132
- *
133
- * @type {boolean}
134
- * @memberof BaseUser
135
- */
136
- 'isLevelCertified'?: boolean;
137
- /**
138
- *
139
- * @type {boolean}
140
- * @memberof BaseUser
141
- */
142
- 'paymentMethodSetupCompleted': boolean;
143
- /**
144
- *
145
- * @type {Array<string>}
146
- * @memberof BaseUser
147
- */
148
- 'paymentMethods'?: Array<string>;
149
- /**
150
- *
151
- * @type {string}
152
- * @memberof BaseUser
153
- */
154
- 'defaultPaymentMethodId'?: string;
155
- /**
156
- *
157
- * @type {Array<ILevelBySports>}
158
- * @memberof BaseUser
159
- */
160
- 'levelBySports'?: Array<ILevelBySports>;
161
- /**
162
- *
163
- * @type {Array<string>}
164
- * @memberof BaseUser
165
- */
166
- 'favoriteClubs'?: Array<string>;
167
- /**
168
- *
169
- * @type {Array<string>}
170
- * @memberof BaseUser
171
- */
172
- 'favoritePlayers'?: Array<string>;
173
- /**
174
- *
175
- * @type {string}
176
- * @memberof BaseUser
177
- */
178
- 'stripeCustomerId'?: string;
179
- /**
180
- *
181
- * @type {string}
182
- * @memberof BaseUser
183
- */
184
- 'createdAt': string;
185
- /**
186
- *
187
- * @type {string}
188
- * @memberof BaseUser
189
- */
190
- 'updatedAt': string;
191
- /**
192
- *
193
- * @type {string}
194
- * @memberof BaseUser
195
- */
196
- 'setupIntentId'?: string;
197
- /**
198
- * Construct a type with a set of properties K of type T
199
- * @type {{ [key: string]: any; }}
200
- * @memberof BaseUser
201
- */
202
- 'sports'?: {
203
- [key: string]: any;
204
- };
205
- /**
206
- *
207
- * @type {UserLocationSummary}
208
- * @memberof BaseUser
209
- */
210
- 'location'?: UserLocationSummary | null;
211
- }
212
29
  /**
213
30
  *
214
31
  * @export
@@ -581,10 +398,10 @@ export interface FavoritePlayerRequestBody {
581
398
  export interface FavoritePlayersResponse {
582
399
  /**
583
400
  *
584
- * @type {Array<BaseUser>}
401
+ * @type {Array<IUserAttributes>}
585
402
  * @memberof FavoritePlayersResponse
586
403
  */
587
- 'favoriteUsers': Array<BaseUser>;
404
+ 'favoriteUsers': Array<IUserAttributes>;
588
405
  }
589
406
  /**
590
407
  *
@@ -768,297 +585,398 @@ export interface ILevelBySports {
768
585
  /**
769
586
  *
770
587
  * @export
771
- * @interface LevelBySportEntry
588
+ * @interface IUserAttributes
772
589
  */
773
- export interface LevelBySportEntry {
590
+ export interface IUserAttributes {
774
591
  /**
775
592
  *
776
593
  * @type {string}
777
- * @memberof LevelBySportEntry
594
+ * @memberof IUserAttributes
778
595
  */
779
- 'level': string;
596
+ 'username'?: string;
780
597
  /**
781
598
  *
782
599
  * @type {string}
783
- * @memberof LevelBySportEntry
600
+ * @memberof IUserAttributes
784
601
  */
785
- 'sport': string;
786
- }
787
- /**
788
- *
789
- * @export
790
- * @interface LoginRequestBody
791
- */
792
- export interface LoginRequestBody {
602
+ 'googleId'?: string;
793
603
  /**
794
604
  *
795
605
  * @type {string}
796
- * @memberof LoginRequestBody
606
+ * @memberof IUserAttributes
797
607
  */
798
- 'email': string;
608
+ 'firstName': string;
799
609
  /**
800
610
  *
801
611
  * @type {string}
802
- * @memberof LoginRequestBody
612
+ * @memberof IUserAttributes
803
613
  */
804
- 'password': string;
805
- }
806
- /**
807
- *
808
- * @export
809
- * @interface LoginResponse
810
- */
811
- export interface LoginResponse {
614
+ 'lastName': string;
812
615
  /**
813
616
  *
814
617
  * @type {string}
815
- * @memberof LoginResponse
618
+ * @memberof IUserAttributes
816
619
  */
817
- 'token': string;
620
+ 'email': string;
818
621
  /**
819
622
  *
820
- * @type {string}
821
- * @memberof LoginResponse
623
+ * @type {Gender}
624
+ * @memberof IUserAttributes
822
625
  */
823
- 'refreshToken': string;
626
+ 'gender'?: Gender;
824
627
  /**
825
628
  *
826
- * @type {number}
827
- * @memberof LoginResponse
629
+ * @type {IUserLocation}
630
+ * @memberof IUserAttributes
828
631
  */
829
- 'sessionDuration': number;
632
+ 'location'?: IUserLocation;
830
633
  /**
831
634
  *
832
- * @type {number}
833
- * @memberof LoginResponse
635
+ * @type {boolean}
636
+ * @memberof IUserAttributes
834
637
  */
835
- 'sessionEnd': number;
638
+ 'isAccountVerified': boolean;
836
639
  /**
837
640
  *
838
- * @type {string}
839
- * @memberof LoginResponse
641
+ * @type {boolean}
642
+ * @memberof IUserAttributes
840
643
  */
841
- 'role': string | null;
842
- }
843
- /**
844
- *
845
- * @export
846
- * @interface NotImplementedResponse
847
- */
848
- export interface NotImplementedResponse {
644
+ 'isCreditCardRegistered'?: boolean;
849
645
  /**
850
646
  *
851
- * @type {string}
852
- * @memberof NotImplementedResponse
647
+ * @type {Array<ILevelBySports>}
648
+ * @memberof IUserAttributes
853
649
  */
854
- 'message': string;
855
- }
856
- /**
857
- *
858
- * @export
859
- * @interface PasswordResetRequestBody
860
- */
861
- export interface PasswordResetRequestBody {
650
+ 'levelBySports'?: Array<ILevelBySports>;
862
651
  /**
863
652
  *
864
653
  * @type {string}
865
- * @memberof PasswordResetRequestBody
654
+ * @memberof IUserAttributes
866
655
  */
867
- 'email'?: string;
868
- }
869
- /**
870
- *
871
- * @export
872
- * @interface PaymentMethodSetupResponse
873
- */
874
- export interface PaymentMethodSetupResponse {
656
+ 'stripeCustomerId'?: string;
875
657
  /**
876
658
  *
877
659
  * @type {string}
878
- * @memberof PaymentMethodSetupResponse
660
+ * @memberof IUserAttributes
879
661
  */
880
- 'message': string;
662
+ 'phone'?: string;
881
663
  /**
882
664
  *
883
- * @type {Array<string>}
884
- * @memberof PaymentMethodSetupResponse
665
+ * @type {string}
666
+ * @memberof IUserAttributes
885
667
  */
886
- 'paymentMethods': Array<string>;
668
+ 'password'?: string;
887
669
  /**
888
670
  *
889
671
  * @type {string}
890
- * @memberof PaymentMethodSetupResponse
891
- */
892
- 'defaultPaymentMethodId'?: string | null;
893
- }
894
- /**
895
- * From T, pick a set of properties whose keys are in the union K
896
- * @export
897
- * @interface PickUserResponseExcludeKeyofUserResponseLocation
898
- */
899
- export interface PickUserResponseExcludeKeyofUserResponseLocation {
900
- /**
901
- * The string version of this documents _id.
902
- * @type {any}
903
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
672
+ * @memberof IUserAttributes
904
673
  */
905
- 'id'?: any;
674
+ 'profilePicture'?: string;
906
675
  /**
907
- * This documents _id.
908
- * @type {any}
909
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
676
+ *
677
+ * @type {boolean}
678
+ * @memberof IUserAttributes
910
679
  */
911
- '_id': any;
680
+ 'isAdmin': boolean;
912
681
  /**
913
682
  *
914
683
  * @type {string}
915
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
684
+ * @memberof IUserAttributes
916
685
  */
917
- 'username'?: string;
686
+ 'createdAt': string;
918
687
  /**
919
688
  *
920
689
  * @type {string}
921
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
690
+ * @memberof IUserAttributes
922
691
  */
923
- 'googleId'?: string;
692
+ 'updatedAt': string;
924
693
  /**
925
694
  *
926
- * @type {string}
927
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
695
+ * @type {boolean}
696
+ * @memberof IUserAttributes
928
697
  */
929
- 'firstName': string;
698
+ 'isLevelCertified'?: boolean;
930
699
  /**
931
700
  *
932
- * @type {string}
933
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
701
+ * @type {Array<string>}
702
+ * @memberof IUserAttributes
934
703
  */
935
- 'lastName': string;
704
+ 'paymentMethods'?: Array<string>;
936
705
  /**
937
706
  *
938
707
  * @type {string}
939
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
708
+ * @memberof IUserAttributes
940
709
  */
941
- 'email': string;
710
+ 'defaultPaymentMethodId'?: string;
942
711
  /**
943
712
  *
944
- * @type {string}
945
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
713
+ * @type {boolean}
714
+ * @memberof IUserAttributes
946
715
  */
947
- 'phone'?: string;
716
+ 'paymentMethodSetupCompleted': boolean;
948
717
  /**
949
718
  *
950
719
  * @type {string}
951
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
720
+ * @memberof IUserAttributes
952
721
  */
953
- 'profilePicture'?: string;
722
+ 'setupIntentId'?: string;
723
+ /**
724
+ *
725
+ * @type {Array<string>}
726
+ * @memberof IUserAttributes
727
+ */
728
+ 'favoriteClubs'?: Array<string>;
954
729
  /**
955
730
  *
956
731
  * @type {string}
957
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
732
+ * @memberof IUserAttributes
958
733
  */
959
734
  'description'?: string;
960
735
  /**
961
736
  *
962
737
  * @type {string}
963
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
738
+ * @memberof IUserAttributes
964
739
  */
965
740
  'city'?: string;
966
741
  /**
967
742
  *
968
743
  * @type {boolean}
969
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
744
+ * @memberof IUserAttributes
970
745
  */
971
746
  'isProfileVisible': boolean;
972
747
  /**
973
748
  *
974
- * @type {Gender}
975
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
749
+ * @type {Array<string>}
750
+ * @memberof IUserAttributes
976
751
  */
977
- 'gender'?: Gender;
752
+ 'favoritePlayers'?: Array<string>;
753
+ /**
754
+ * Construct a type with a set of properties K of type T
755
+ * @type {{ [key: string]: any; }}
756
+ * @memberof IUserAttributes
757
+ */
758
+ 'sports'?: {
759
+ [key: string]: any;
760
+ };
761
+ }
762
+ /**
763
+ *
764
+ * @export
765
+ * @interface IUserLocation
766
+ */
767
+ export interface IUserLocation {
978
768
  /**
979
769
  *
980
- * @type {boolean}
981
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
770
+ * @type {string}
771
+ * @memberof IUserLocation
982
772
  */
983
- 'isAccountVerified': boolean;
773
+ 'type': IUserLocationTypeEnum;
984
774
  /**
985
775
  *
986
- * @type {boolean}
987
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
776
+ * @type {Array<number>}
777
+ * @memberof IUserLocation
988
778
  */
989
- 'isCreditCardRegistered'?: boolean;
779
+ 'coordinates': Array<number>;
990
780
  /**
991
781
  *
992
- * @type {boolean}
993
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
782
+ * @type {string}
783
+ * @memberof IUserLocation
994
784
  */
995
- 'isAdmin': boolean;
785
+ 'mapboxId'?: string;
996
786
  /**
997
787
  *
998
- * @type {boolean}
999
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
788
+ * @type {Array<string>}
789
+ * @memberof IUserLocation
1000
790
  */
1001
- 'isLevelCertified'?: boolean;
791
+ 'mapboxPlaceType'?: Array<string>;
1002
792
  /**
1003
793
  *
1004
- * @type {boolean}
1005
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
794
+ * @type {string}
795
+ * @memberof IUserLocation
1006
796
  */
1007
- 'paymentMethodSetupCompleted': boolean;
797
+ 'mapboxPlaceName'?: string;
1008
798
  /**
1009
799
  *
1010
- * @type {Array<string>}
1011
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
800
+ * @type {string}
801
+ * @memberof IUserLocation
1012
802
  */
1013
- 'paymentMethods'?: Array<string>;
803
+ 'mapboxAddress'?: string;
804
+ /**
805
+ *
806
+ * @type {Array<{ [key: string]: any; }>}
807
+ * @memberof IUserLocation
808
+ */
809
+ 'mapboxContext'?: Array<{
810
+ [key: string]: any;
811
+ }>;
812
+ /**
813
+ * Construct a type with a set of properties K of type T
814
+ * @type {{ [key: string]: any; }}
815
+ * @memberof IUserLocation
816
+ */
817
+ 'mapboxRaw'?: {
818
+ [key: string]: any;
819
+ };
1014
820
  /**
1015
821
  *
1016
822
  * @type {string}
1017
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
823
+ * @memberof IUserLocation
1018
824
  */
1019
- 'defaultPaymentMethodId'?: string;
825
+ 'city'?: string;
1020
826
  /**
1021
827
  *
1022
- * @type {Array<ILevelBySports>}
1023
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
828
+ * @type {string}
829
+ * @memberof IUserLocation
1024
830
  */
1025
- 'levelBySports'?: Array<ILevelBySports>;
831
+ 'country'?: string;
1026
832
  /**
1027
833
  *
1028
- * @type {Array<string>}
1029
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
834
+ * @type {string}
835
+ * @memberof IUserLocation
1030
836
  */
1031
- 'favoriteClubs'?: Array<string>;
837
+ 'postalCode'?: string;
1032
838
  /**
1033
839
  *
1034
- * @type {Array<string>}
1035
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
840
+ * @type {string}
841
+ * @memberof IUserLocation
1036
842
  */
1037
- 'favoritePlayers'?: Array<string>;
843
+ 'state'?: string;
1038
844
  /**
1039
845
  *
1040
846
  * @type {string}
1041
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
847
+ * @memberof IUserLocation
1042
848
  */
1043
- 'stripeCustomerId'?: string;
849
+ 'address'?: string;
850
+ }
851
+ export declare const IUserLocationTypeEnum: {
852
+ readonly Point: "Point";
853
+ };
854
+ export type IUserLocationTypeEnum = typeof IUserLocationTypeEnum[keyof typeof IUserLocationTypeEnum];
855
+ /**
856
+ *
857
+ * @export
858
+ * @interface LevelBySportEntry
859
+ */
860
+ export interface LevelBySportEntry {
1044
861
  /**
1045
862
  *
1046
863
  * @type {string}
1047
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
864
+ * @memberof LevelBySportEntry
1048
865
  */
1049
- 'createdAt': string;
866
+ 'level': string;
1050
867
  /**
1051
868
  *
1052
869
  * @type {string}
1053
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
870
+ * @memberof LevelBySportEntry
1054
871
  */
1055
- 'updatedAt': string;
872
+ 'sport': string;
873
+ }
874
+ /**
875
+ *
876
+ * @export
877
+ * @interface LoginRequestBody
878
+ */
879
+ export interface LoginRequestBody {
1056
880
  /**
1057
881
  *
1058
882
  * @type {string}
1059
- * @memberof PickUserResponseExcludeKeyofUserResponseLocation
883
+ * @memberof LoginRequestBody
1060
884
  */
1061
- 'setupIntentId'?: string;
885
+ 'email': string;
886
+ /**
887
+ *
888
+ * @type {string}
889
+ * @memberof LoginRequestBody
890
+ */
891
+ 'password': string;
892
+ }
893
+ /**
894
+ *
895
+ * @export
896
+ * @interface LoginResponse
897
+ */
898
+ export interface LoginResponse {
899
+ /**
900
+ *
901
+ * @type {string}
902
+ * @memberof LoginResponse
903
+ */
904
+ 'token': string;
905
+ /**
906
+ *
907
+ * @type {string}
908
+ * @memberof LoginResponse
909
+ */
910
+ 'refreshToken': string;
911
+ /**
912
+ *
913
+ * @type {number}
914
+ * @memberof LoginResponse
915
+ */
916
+ 'sessionDuration': number;
917
+ /**
918
+ *
919
+ * @type {number}
920
+ * @memberof LoginResponse
921
+ */
922
+ 'sessionEnd': number;
923
+ /**
924
+ *
925
+ * @type {string}
926
+ * @memberof LoginResponse
927
+ */
928
+ 'role': string | null;
929
+ }
930
+ /**
931
+ *
932
+ * @export
933
+ * @interface NotImplementedResponse
934
+ */
935
+ export interface NotImplementedResponse {
936
+ /**
937
+ *
938
+ * @type {string}
939
+ * @memberof NotImplementedResponse
940
+ */
941
+ 'message': string;
942
+ }
943
+ /**
944
+ *
945
+ * @export
946
+ * @interface PasswordResetRequestBody
947
+ */
948
+ export interface PasswordResetRequestBody {
949
+ /**
950
+ *
951
+ * @type {string}
952
+ * @memberof PasswordResetRequestBody
953
+ */
954
+ 'email'?: string;
955
+ }
956
+ /**
957
+ *
958
+ * @export
959
+ * @interface PaymentMethodSetupResponse
960
+ */
961
+ export interface PaymentMethodSetupResponse {
962
+ /**
963
+ *
964
+ * @type {string}
965
+ * @memberof PaymentMethodSetupResponse
966
+ */
967
+ 'message': string;
968
+ /**
969
+ *
970
+ * @type {Array<string>}
971
+ * @memberof PaymentMethodSetupResponse
972
+ */
973
+ 'paymentMethods': Array<string>;
974
+ /**
975
+ *
976
+ * @type {string}
977
+ * @memberof PaymentMethodSetupResponse
978
+ */
979
+ 'defaultPaymentMethodId'?: string | null;
1062
980
  }
1063
981
  /**
1064
982
  *
@@ -1235,6 +1153,176 @@ export interface SetupPaymentMethodResponse {
1235
1153
  * @interface StaffUserProfileResponse
1236
1154
  */
1237
1155
  export interface StaffUserProfileResponse {
1156
+ /**
1157
+ *
1158
+ * @type {string}
1159
+ * @memberof StaffUserProfileResponse
1160
+ */
1161
+ 'username'?: string;
1162
+ /**
1163
+ *
1164
+ * @type {string}
1165
+ * @memberof StaffUserProfileResponse
1166
+ */
1167
+ 'googleId'?: string;
1168
+ /**
1169
+ *
1170
+ * @type {string}
1171
+ * @memberof StaffUserProfileResponse
1172
+ */
1173
+ 'firstName': string;
1174
+ /**
1175
+ *
1176
+ * @type {string}
1177
+ * @memberof StaffUserProfileResponse
1178
+ */
1179
+ 'lastName': string;
1180
+ /**
1181
+ *
1182
+ * @type {string}
1183
+ * @memberof StaffUserProfileResponse
1184
+ */
1185
+ 'email': string;
1186
+ /**
1187
+ *
1188
+ * @type {Gender}
1189
+ * @memberof StaffUserProfileResponse
1190
+ */
1191
+ 'gender'?: Gender;
1192
+ /**
1193
+ *
1194
+ * @type {IUserLocation}
1195
+ * @memberof StaffUserProfileResponse
1196
+ */
1197
+ 'location'?: IUserLocation;
1198
+ /**
1199
+ *
1200
+ * @type {boolean}
1201
+ * @memberof StaffUserProfileResponse
1202
+ */
1203
+ 'isAccountVerified': boolean;
1204
+ /**
1205
+ *
1206
+ * @type {boolean}
1207
+ * @memberof StaffUserProfileResponse
1208
+ */
1209
+ 'isCreditCardRegistered'?: boolean;
1210
+ /**
1211
+ *
1212
+ * @type {Array<ILevelBySports>}
1213
+ * @memberof StaffUserProfileResponse
1214
+ */
1215
+ 'levelBySports'?: Array<ILevelBySports>;
1216
+ /**
1217
+ *
1218
+ * @type {string}
1219
+ * @memberof StaffUserProfileResponse
1220
+ */
1221
+ 'stripeCustomerId'?: string;
1222
+ /**
1223
+ *
1224
+ * @type {string}
1225
+ * @memberof StaffUserProfileResponse
1226
+ */
1227
+ 'phone'?: string;
1228
+ /**
1229
+ *
1230
+ * @type {string}
1231
+ * @memberof StaffUserProfileResponse
1232
+ */
1233
+ 'password'?: string;
1234
+ /**
1235
+ *
1236
+ * @type {string}
1237
+ * @memberof StaffUserProfileResponse
1238
+ */
1239
+ 'profilePicture'?: string;
1240
+ /**
1241
+ *
1242
+ * @type {boolean}
1243
+ * @memberof StaffUserProfileResponse
1244
+ */
1245
+ 'isAdmin': boolean;
1246
+ /**
1247
+ *
1248
+ * @type {string}
1249
+ * @memberof StaffUserProfileResponse
1250
+ */
1251
+ 'createdAt': string;
1252
+ /**
1253
+ *
1254
+ * @type {string}
1255
+ * @memberof StaffUserProfileResponse
1256
+ */
1257
+ 'updatedAt': string;
1258
+ /**
1259
+ *
1260
+ * @type {boolean}
1261
+ * @memberof StaffUserProfileResponse
1262
+ */
1263
+ 'isLevelCertified'?: boolean;
1264
+ /**
1265
+ *
1266
+ * @type {Array<string>}
1267
+ * @memberof StaffUserProfileResponse
1268
+ */
1269
+ 'paymentMethods'?: Array<string>;
1270
+ /**
1271
+ *
1272
+ * @type {string}
1273
+ * @memberof StaffUserProfileResponse
1274
+ */
1275
+ 'defaultPaymentMethodId'?: string;
1276
+ /**
1277
+ *
1278
+ * @type {boolean}
1279
+ * @memberof StaffUserProfileResponse
1280
+ */
1281
+ 'paymentMethodSetupCompleted': boolean;
1282
+ /**
1283
+ *
1284
+ * @type {string}
1285
+ * @memberof StaffUserProfileResponse
1286
+ */
1287
+ 'setupIntentId'?: string;
1288
+ /**
1289
+ *
1290
+ * @type {Array<string>}
1291
+ * @memberof StaffUserProfileResponse
1292
+ */
1293
+ 'favoriteClubs'?: Array<string>;
1294
+ /**
1295
+ *
1296
+ * @type {string}
1297
+ * @memberof StaffUserProfileResponse
1298
+ */
1299
+ 'description'?: string;
1300
+ /**
1301
+ *
1302
+ * @type {string}
1303
+ * @memberof StaffUserProfileResponse
1304
+ */
1305
+ 'city'?: string;
1306
+ /**
1307
+ *
1308
+ * @type {boolean}
1309
+ * @memberof StaffUserProfileResponse
1310
+ */
1311
+ 'isProfileVisible': boolean;
1312
+ /**
1313
+ *
1314
+ * @type {Array<string>}
1315
+ * @memberof StaffUserProfileResponse
1316
+ */
1317
+ 'favoritePlayers'?: Array<string>;
1318
+ /**
1319
+ * Construct a type with a set of properties K of type T
1320
+ * @type {{ [key: string]: any; }}
1321
+ * @memberof StaffUserProfileResponse
1322
+ */
1323
+ 'sports'?: {
1324
+ [key: string]: any;
1325
+ };
1238
1326
  /**
1239
1327
  *
1240
1328
  * @type {boolean}
@@ -1450,98 +1538,179 @@ export interface UpdateUserRequestBodyLevelBySportsInner {
1450
1538
  /**
1451
1539
  *
1452
1540
  * @export
1453
- * @interface UserLocationSummary
1541
+ * @interface UserProfileResponse
1454
1542
  */
1455
- export interface UserLocationSummary {
1543
+ export interface UserProfileResponse {
1456
1544
  /**
1457
1545
  *
1458
1546
  * @type {string}
1459
- * @memberof UserLocationSummary
1547
+ * @memberof UserProfileResponse
1460
1548
  */
1461
- 'type'?: string;
1549
+ 'username'?: string;
1462
1550
  /**
1463
1551
  *
1464
- * @type {Array<number>}
1465
- * @memberof UserLocationSummary
1552
+ * @type {string}
1553
+ * @memberof UserProfileResponse
1466
1554
  */
1467
- 'coordinates'?: Array<number>;
1555
+ 'googleId'?: string;
1468
1556
  /**
1469
1557
  *
1470
1558
  * @type {string}
1471
- * @memberof UserLocationSummary
1559
+ * @memberof UserProfileResponse
1472
1560
  */
1473
- 'mapboxId'?: string;
1561
+ 'firstName': string;
1474
1562
  /**
1475
1563
  *
1476
- * @type {Array<string>}
1477
- * @memberof UserLocationSummary
1564
+ * @type {string}
1565
+ * @memberof UserProfileResponse
1478
1566
  */
1479
- 'mapboxPlaceType'?: Array<string>;
1567
+ 'lastName': string;
1480
1568
  /**
1481
1569
  *
1482
1570
  * @type {string}
1483
- * @memberof UserLocationSummary
1571
+ * @memberof UserProfileResponse
1484
1572
  */
1485
- 'mapboxPlaceName'?: string;
1573
+ 'email': string;
1574
+ /**
1575
+ *
1576
+ * @type {Gender}
1577
+ * @memberof UserProfileResponse
1578
+ */
1579
+ 'gender'?: Gender;
1580
+ /**
1581
+ *
1582
+ * @type {IUserLocation}
1583
+ * @memberof UserProfileResponse
1584
+ */
1585
+ 'location'?: IUserLocation;
1586
+ /**
1587
+ *
1588
+ * @type {boolean}
1589
+ * @memberof UserProfileResponse
1590
+ */
1591
+ 'isAccountVerified': boolean;
1592
+ /**
1593
+ *
1594
+ * @type {boolean}
1595
+ * @memberof UserProfileResponse
1596
+ */
1597
+ 'isCreditCardRegistered'?: boolean;
1598
+ /**
1599
+ *
1600
+ * @type {Array<ILevelBySports>}
1601
+ * @memberof UserProfileResponse
1602
+ */
1603
+ 'levelBySports'?: Array<ILevelBySports>;
1486
1604
  /**
1487
1605
  *
1488
1606
  * @type {string}
1489
- * @memberof UserLocationSummary
1607
+ * @memberof UserProfileResponse
1490
1608
  */
1491
- 'mapboxAddress'?: string;
1609
+ 'stripeCustomerId'?: string;
1492
1610
  /**
1493
1611
  *
1494
- * @type {Array<{ [key: string]: any; }>}
1495
- * @memberof UserLocationSummary
1612
+ * @type {string}
1613
+ * @memberof UserProfileResponse
1496
1614
  */
1497
- 'mapboxContext'?: Array<{
1498
- [key: string]: any;
1499
- }>;
1615
+ 'phone'?: string;
1500
1616
  /**
1501
- * Construct a type with a set of properties K of type T
1502
- * @type {{ [key: string]: any; }}
1503
- * @memberof UserLocationSummary
1617
+ *
1618
+ * @type {string}
1619
+ * @memberof UserProfileResponse
1504
1620
  */
1505
- 'mapboxRaw'?: {
1506
- [key: string]: any;
1507
- };
1621
+ 'password'?: string;
1508
1622
  /**
1509
1623
  *
1510
1624
  * @type {string}
1511
- * @memberof UserLocationSummary
1625
+ * @memberof UserProfileResponse
1512
1626
  */
1513
- 'city'?: string;
1627
+ 'profilePicture'?: string;
1628
+ /**
1629
+ *
1630
+ * @type {boolean}
1631
+ * @memberof UserProfileResponse
1632
+ */
1633
+ 'isAdmin': boolean;
1514
1634
  /**
1515
1635
  *
1516
1636
  * @type {string}
1517
- * @memberof UserLocationSummary
1637
+ * @memberof UserProfileResponse
1518
1638
  */
1519
- 'country'?: string;
1639
+ 'createdAt': string;
1520
1640
  /**
1521
1641
  *
1522
1642
  * @type {string}
1523
- * @memberof UserLocationSummary
1643
+ * @memberof UserProfileResponse
1524
1644
  */
1525
- 'postalCode'?: string;
1645
+ 'updatedAt': string;
1646
+ /**
1647
+ *
1648
+ * @type {boolean}
1649
+ * @memberof UserProfileResponse
1650
+ */
1651
+ 'isLevelCertified'?: boolean;
1652
+ /**
1653
+ *
1654
+ * @type {Array<string>}
1655
+ * @memberof UserProfileResponse
1656
+ */
1657
+ 'paymentMethods'?: Array<string>;
1526
1658
  /**
1527
1659
  *
1528
1660
  * @type {string}
1529
- * @memberof UserLocationSummary
1661
+ * @memberof UserProfileResponse
1530
1662
  */
1531
- 'state'?: string;
1663
+ 'defaultPaymentMethodId'?: string;
1664
+ /**
1665
+ *
1666
+ * @type {boolean}
1667
+ * @memberof UserProfileResponse
1668
+ */
1669
+ 'paymentMethodSetupCompleted': boolean;
1532
1670
  /**
1533
1671
  *
1534
1672
  * @type {string}
1535
- * @memberof UserLocationSummary
1673
+ * @memberof UserProfileResponse
1536
1674
  */
1537
- 'address'?: string;
1538
- }
1539
- /**
1540
- *
1541
- * @export
1542
- * @interface UserProfileResponse
1543
- */
1544
- export interface UserProfileResponse {
1675
+ 'setupIntentId'?: string;
1676
+ /**
1677
+ *
1678
+ * @type {Array<string>}
1679
+ * @memberof UserProfileResponse
1680
+ */
1681
+ 'favoriteClubs'?: Array<string>;
1682
+ /**
1683
+ *
1684
+ * @type {string}
1685
+ * @memberof UserProfileResponse
1686
+ */
1687
+ 'description'?: string;
1688
+ /**
1689
+ *
1690
+ * @type {string}
1691
+ * @memberof UserProfileResponse
1692
+ */
1693
+ 'city'?: string;
1694
+ /**
1695
+ *
1696
+ * @type {boolean}
1697
+ * @memberof UserProfileResponse
1698
+ */
1699
+ 'isProfileVisible': boolean;
1700
+ /**
1701
+ *
1702
+ * @type {Array<string>}
1703
+ * @memberof UserProfileResponse
1704
+ */
1705
+ 'favoritePlayers'?: Array<string>;
1706
+ /**
1707
+ * Construct a type with a set of properties K of type T
1708
+ * @type {{ [key: string]: any; }}
1709
+ * @memberof UserProfileResponse
1710
+ */
1711
+ 'sports'?: {
1712
+ [key: string]: any;
1713
+ };
1545
1714
  /**
1546
1715
  *
1547
1716
  * @type {number}
@@ -1656,7 +1825,7 @@ export declare class DiagnosticsApi extends BaseAPI {
1656
1825
  * @throws {RequiredError}
1657
1826
  * @memberof DiagnosticsApi
1658
1827
  */
1659
- ping(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiagnosticsResponse, any>>;
1828
+ ping(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiagnosticsResponse, any, {}>>;
1660
1829
  }
1661
1830
  /**
1662
1831
  * UsersApi - axios parameter creator
@@ -1979,7 +2148,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
1979
2148
  * @param {*} [options] Override http request option.
1980
2149
  * @throws {RequiredError}
1981
2150
  */
1982
- getAllUsers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BaseUser>>>;
2151
+ getAllUsers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<IUserAttributes>>>;
1983
2152
  /**
1984
2153
  *
1985
2154
  * @param {string} bookingId
@@ -2075,7 +2244,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
2075
2244
  * @param {*} [options] Override http request option.
2076
2245
  * @throws {RequiredError}
2077
2246
  */
2078
- getUserProfileById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseUser>>;
2247
+ getUserProfileById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUserAttributes>>;
2079
2248
  /**
2080
2249
  *
2081
2250
  * @param {string} id
@@ -2122,7 +2291,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
2122
2291
  * @param {*} [options] Override http request option.
2123
2292
  * @throws {RequiredError}
2124
2293
  */
2125
- register(registerRequestBody: RegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseUser>>;
2294
+ register(registerRequestBody: RegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUserAttributes>>;
2126
2295
  /**
2127
2296
  *
2128
2297
  * @param {string} clubId
@@ -2188,7 +2357,7 @@ export declare const UsersApiFp: (configuration?: Configuration) => {
2188
2357
  * @param {*} [options] Override http request option.
2189
2358
  * @throws {RequiredError}
2190
2359
  */
2191
- updateLevelBySports(updateLevelBySportsRequestBody: UpdateLevelBySportsRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseUser>>;
2360
+ updateLevelBySports(updateLevelBySportsRequestBody: UpdateLevelBySportsRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<IUserAttributes>>;
2192
2361
  /**
2193
2362
  *
2194
2363
  * @param {UpdateUserRequestBody} updateUserRequestBody
@@ -2256,7 +2425,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
2256
2425
  * @param {*} [options] Override http request option.
2257
2426
  * @throws {RequiredError}
2258
2427
  */
2259
- getAllUsers(options?: RawAxiosRequestConfig): AxiosPromise<Array<BaseUser>>;
2428
+ getAllUsers(options?: RawAxiosRequestConfig): AxiosPromise<Array<IUserAttributes>>;
2260
2429
  /**
2261
2430
  *
2262
2431
  * @param {UsersApiGetBookingDetailRequest} requestParameters Request parameters.
@@ -2343,7 +2512,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
2343
2512
  * @param {*} [options] Override http request option.
2344
2513
  * @throws {RequiredError}
2345
2514
  */
2346
- getUserProfileById(requestParameters: UsersApiGetUserProfileByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseUser>;
2515
+ getUserProfileById(requestParameters: UsersApiGetUserProfileByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUserAttributes>;
2347
2516
  /**
2348
2517
  *
2349
2518
  * @param {UsersApiGetUserProfileStaffRequest} requestParameters Request parameters.
@@ -2390,7 +2559,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
2390
2559
  * @param {*} [options] Override http request option.
2391
2560
  * @throws {RequiredError}
2392
2561
  */
2393
- register(requestParameters: UsersApiRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseUser>;
2562
+ register(requestParameters: UsersApiRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUserAttributes>;
2394
2563
  /**
2395
2564
  *
2396
2565
  * @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
@@ -2455,7 +2624,7 @@ export declare const UsersApiFactory: (configuration?: Configuration, basePath?:
2455
2624
  * @param {*} [options] Override http request option.
2456
2625
  * @throws {RequiredError}
2457
2626
  */
2458
- updateLevelBySports(requestParameters: UsersApiUpdateLevelBySportsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseUser>;
2627
+ updateLevelBySports(requestParameters: UsersApiUpdateLevelBySportsRequest, options?: RawAxiosRequestConfig): AxiosPromise<IUserAttributes>;
2459
2628
  /**
2460
2629
  *
2461
2630
  * @param {UsersApiUpdateMeRequest} requestParameters Request parameters.
@@ -2928,7 +3097,7 @@ export declare class UsersApi extends BaseAPI {
2928
3097
  * @throws {RequiredError}
2929
3098
  * @memberof UsersApi
2930
3099
  */
2931
- addFavoriteClub(requestParameters: UsersApiAddFavoriteClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoriteClubMutationResponse, any>>;
3100
+ addFavoriteClub(requestParameters: UsersApiAddFavoriteClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoriteClubMutationResponse, any, {}>>;
2932
3101
  /**
2933
3102
  *
2934
3103
  * @param {UsersApiAddFavoritePlayerRequest} requestParameters Request parameters.
@@ -2936,7 +3105,7 @@ export declare class UsersApi extends BaseAPI {
2936
3105
  * @throws {RequiredError}
2937
3106
  * @memberof UsersApi
2938
3107
  */
2939
- addFavoritePlayer(requestParameters: UsersApiAddFavoritePlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoritePlayerMutationResponse, any>>;
3108
+ addFavoritePlayer(requestParameters: UsersApiAddFavoritePlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoritePlayerMutationResponse, any, {}>>;
2940
3109
  /**
2941
3110
  *
2942
3111
  * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
@@ -2944,7 +3113,7 @@ export declare class UsersApi extends BaseAPI {
2944
3113
  * @throws {RequiredError}
2945
3114
  * @memberof UsersApi
2946
3115
  */
2947
- addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodSetupResponse, any>>;
3116
+ addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodSetupResponse, any, {}>>;
2948
3117
  /**
2949
3118
  *
2950
3119
  * @param {UsersApiCancelSubscriptionRequest} requestParameters Request parameters.
@@ -2952,7 +3121,7 @@ export declare class UsersApi extends BaseAPI {
2952
3121
  * @throws {RequiredError}
2953
3122
  * @memberof UsersApi
2954
3123
  */
2955
- cancelSubscription(requestParameters: UsersApiCancelSubscriptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionMutationResponse, any>>;
3124
+ cancelSubscription(requestParameters: UsersApiCancelSubscriptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionMutationResponse, any, {}>>;
2956
3125
  /**
2957
3126
  *
2958
3127
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -2960,7 +3129,7 @@ export declare class UsersApi extends BaseAPI {
2960
3129
  * @throws {RequiredError}
2961
3130
  * @memberof UsersApi
2962
3131
  */
2963
- changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangePasswordResponse, any>>;
3132
+ changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangePasswordResponse, any, {}>>;
2964
3133
  /**
2965
3134
  *
2966
3135
  * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
@@ -2968,14 +3137,14 @@ export declare class UsersApi extends BaseAPI {
2968
3137
  * @throws {RequiredError}
2969
3138
  * @memberof UsersApi
2970
3139
  */
2971
- confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfirmPaymentMethodResponse, any>>;
3140
+ confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfirmPaymentMethodResponse, any, {}>>;
2972
3141
  /**
2973
3142
  *
2974
3143
  * @param {*} [options] Override http request option.
2975
3144
  * @throws {RequiredError}
2976
3145
  * @memberof UsersApi
2977
3146
  */
2978
- getAllUsers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseUser[], any>>;
3147
+ getAllUsers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUserAttributes[], any, {}>>;
2979
3148
  /**
2980
3149
  *
2981
3150
  * @param {UsersApiGetBookingDetailRequest} requestParameters Request parameters.
@@ -2983,42 +3152,42 @@ export declare class UsersApi extends BaseAPI {
2983
3152
  * @throws {RequiredError}
2984
3153
  * @memberof UsersApi
2985
3154
  */
2986
- getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingDetailResponse, any>>;
3155
+ getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingDetailResponse, any, {}>>;
2987
3156
  /**
2988
3157
  *
2989
3158
  * @param {*} [options] Override http request option.
2990
3159
  * @throws {RequiredError}
2991
3160
  * @memberof UsersApi
2992
3161
  */
2993
- getFavoriteClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoriteClubsResponse, any>>;
3162
+ getFavoriteClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoriteClubsResponse, any, {}>>;
2994
3163
  /**
2995
3164
  *
2996
3165
  * @param {*} [options] Override http request option.
2997
3166
  * @throws {RequiredError}
2998
3167
  * @memberof UsersApi
2999
3168
  */
3000
- getFavoritesPlayers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoritePlayersResponse, any>>;
3169
+ getFavoritesPlayers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoritePlayersResponse, any, {}>>;
3001
3170
  /**
3002
3171
  *
3003
3172
  * @param {*} [options] Override http request option.
3004
3173
  * @throws {RequiredError}
3005
3174
  * @memberof UsersApi
3006
3175
  */
3007
- getFrequentlyPlayedWith(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FrequentPlayer[], any>>;
3176
+ getFrequentlyPlayedWith(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FrequentPlayer[], any, {}>>;
3008
3177
  /**
3009
3178
  *
3010
3179
  * @param {*} [options] Override http request option.
3011
3180
  * @throws {RequiredError}
3012
3181
  * @memberof UsersApi
3013
3182
  */
3014
- getFrequentlyVisitedClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FrequentClub[], any>>;
3183
+ getFrequentlyVisitedClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FrequentClub[], any, {}>>;
3015
3184
  /**
3016
3185
  *
3017
3186
  * @param {*} [options] Override http request option.
3018
3187
  * @throws {RequiredError}
3019
3188
  * @memberof UsersApi
3020
3189
  */
3021
- getMe(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserProfileResponse, any>>;
3190
+ getMe(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserProfileResponse, any, {}>>;
3022
3191
  /**
3023
3192
  *
3024
3193
  * @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
@@ -3028,7 +3197,7 @@ export declare class UsersApi extends BaseAPI {
3028
3197
  */
3029
3198
  getNearestClubs(requestParameters?: UsersApiGetNearestClubsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3030
3199
  [key: string]: any;
3031
- }[], any>>;
3200
+ }[], any, {}>>;
3032
3201
  /**
3033
3202
  *
3034
3203
  * @param {UsersApiGetNearestClubsFromCoordinatesRequest} requestParameters Request parameters.
@@ -3038,7 +3207,7 @@ export declare class UsersApi extends BaseAPI {
3038
3207
  */
3039
3208
  getNearestClubsFromCoordinates(requestParameters?: UsersApiGetNearestClubsFromCoordinatesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3040
3209
  [key: string]: any;
3041
- }[], any>>;
3210
+ }[], any, {}>>;
3042
3211
  /**
3043
3212
  *
3044
3213
  * @param {UsersApiGetNearestUsersRequest} requestParameters Request parameters.
@@ -3048,7 +3217,7 @@ export declare class UsersApi extends BaseAPI {
3048
3217
  */
3049
3218
  getNearestUsers(requestParameters?: UsersApiGetNearestUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3050
3219
  [key: string]: any;
3051
- }[], any>>;
3220
+ }[], any, {}>>;
3052
3221
  /**
3053
3222
  *
3054
3223
  * @param {UsersApiGetNearestUsersFromCoordinatesRequest} requestParameters Request parameters.
@@ -3058,7 +3227,7 @@ export declare class UsersApi extends BaseAPI {
3058
3227
  */
3059
3228
  getNearestUsersFromCoordinates(requestParameters?: UsersApiGetNearestUsersFromCoordinatesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3060
3229
  [key: string]: any;
3061
- }[], any>>;
3230
+ }[], any, {}>>;
3062
3231
  /**
3063
3232
  *
3064
3233
  * @param {UsersApiGetUserBookingsRequest} requestParameters Request parameters.
@@ -3066,7 +3235,7 @@ export declare class UsersApi extends BaseAPI {
3066
3235
  * @throws {RequiredError}
3067
3236
  * @memberof UsersApi
3068
3237
  */
3069
- getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingSummary[], any>>;
3238
+ getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingSummary[], any, {}>>;
3070
3239
  /**
3071
3240
  *
3072
3241
  * @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
@@ -3074,7 +3243,7 @@ export declare class UsersApi extends BaseAPI {
3074
3243
  * @throws {RequiredError}
3075
3244
  * @memberof UsersApi
3076
3245
  */
3077
- getUserProfileById(requestParameters: UsersApiGetUserProfileByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseUser, any>>;
3246
+ getUserProfileById(requestParameters: UsersApiGetUserProfileByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUserAttributes, any, {}>>;
3078
3247
  /**
3079
3248
  *
3080
3249
  * @param {UsersApiGetUserProfileStaffRequest} requestParameters Request parameters.
@@ -3082,21 +3251,21 @@ export declare class UsersApi extends BaseAPI {
3082
3251
  * @throws {RequiredError}
3083
3252
  * @memberof UsersApi
3084
3253
  */
3085
- getUserProfileStaff(requestParameters: UsersApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any>>;
3254
+ getUserProfileStaff(requestParameters: UsersApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any, {}>>;
3086
3255
  /**
3087
3256
  *
3088
3257
  * @param {*} [options] Override http request option.
3089
3258
  * @throws {RequiredError}
3090
3259
  * @memberof UsersApi
3091
3260
  */
3092
- getUserRolesInClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserRolesResponse, any>>;
3261
+ getUserRolesInClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserRolesResponse, any, {}>>;
3093
3262
  /**
3094
3263
  *
3095
3264
  * @param {*} [options] Override http request option.
3096
3265
  * @throws {RequiredError}
3097
3266
  * @memberof UsersApi
3098
3267
  */
3099
- getUserSubscriptions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserSubscriptionsResponse, any>>;
3268
+ getUserSubscriptions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserSubscriptionsResponse, any, {}>>;
3100
3269
  /**
3101
3270
  *
3102
3271
  * @param {UsersApiInitiateSubscriptionSessionRequest} requestParameters Request parameters.
@@ -3104,7 +3273,7 @@ export declare class UsersApi extends BaseAPI {
3104
3273
  * @throws {RequiredError}
3105
3274
  * @memberof UsersApi
3106
3275
  */
3107
- initiateSubscriptionSession(requestParameters: UsersApiInitiateSubscriptionSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionSessionResponse, any>>;
3276
+ initiateSubscriptionSession(requestParameters: UsersApiInitiateSubscriptionSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionSessionResponse, any, {}>>;
3108
3277
  /**
3109
3278
  *
3110
3279
  * @param {UsersApiLoginRequest} requestParameters Request parameters.
@@ -3112,7 +3281,7 @@ export declare class UsersApi extends BaseAPI {
3112
3281
  * @throws {RequiredError}
3113
3282
  * @memberof UsersApi
3114
3283
  */
3115
- login(requestParameters: UsersApiLoginRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponse, any>>;
3284
+ login(requestParameters: UsersApiLoginRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponse, any, {}>>;
3116
3285
  /**
3117
3286
  *
3118
3287
  * @param {UsersApiRefreshTokenRequest} requestParameters Request parameters.
@@ -3120,7 +3289,7 @@ export declare class UsersApi extends BaseAPI {
3120
3289
  * @throws {RequiredError}
3121
3290
  * @memberof UsersApi
3122
3291
  */
3123
- refreshToken(requestParameters: UsersApiRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RefreshTokenResponse, any>>;
3292
+ refreshToken(requestParameters: UsersApiRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RefreshTokenResponse, any, {}>>;
3124
3293
  /**
3125
3294
  *
3126
3295
  * @param {UsersApiRegisterRequest} requestParameters Request parameters.
@@ -3128,7 +3297,7 @@ export declare class UsersApi extends BaseAPI {
3128
3297
  * @throws {RequiredError}
3129
3298
  * @memberof UsersApi
3130
3299
  */
3131
- register(requestParameters: UsersApiRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseUser, any>>;
3300
+ register(requestParameters: UsersApiRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUserAttributes, any, {}>>;
3132
3301
  /**
3133
3302
  *
3134
3303
  * @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
@@ -3136,7 +3305,7 @@ export declare class UsersApi extends BaseAPI {
3136
3305
  * @throws {RequiredError}
3137
3306
  * @memberof UsersApi
3138
3307
  */
3139
- removeFavoriteClub(requestParameters: UsersApiRemoveFavoriteClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoriteClubMutationResponse, any>>;
3308
+ removeFavoriteClub(requestParameters: UsersApiRemoveFavoriteClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoriteClubMutationResponse, any, {}>>;
3140
3309
  /**
3141
3310
  *
3142
3311
  * @param {UsersApiRemoveFavoritePlayerRequest} requestParameters Request parameters.
@@ -3144,7 +3313,7 @@ export declare class UsersApi extends BaseAPI {
3144
3313
  * @throws {RequiredError}
3145
3314
  * @memberof UsersApi
3146
3315
  */
3147
- removeFavoritePlayer(requestParameters: UsersApiRemoveFavoritePlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoritePlayerMutationResponse, any>>;
3316
+ removeFavoritePlayer(requestParameters: UsersApiRemoveFavoritePlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoritePlayerMutationResponse, any, {}>>;
3148
3317
  /**
3149
3318
  *
3150
3319
  * @param {UsersApiRequestPasswordResetRequest} requestParameters Request parameters.
@@ -3152,7 +3321,7 @@ export declare class UsersApi extends BaseAPI {
3152
3321
  * @throws {RequiredError}
3153
3322
  * @memberof UsersApi
3154
3323
  */
3155
- requestPasswordReset(requestParameters: UsersApiRequestPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
3324
+ requestPasswordReset(requestParameters: UsersApiRequestPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
3156
3325
  /**
3157
3326
  *
3158
3327
  * @param {UsersApiResumeSubscriptionRequest} requestParameters Request parameters.
@@ -3160,7 +3329,7 @@ export declare class UsersApi extends BaseAPI {
3160
3329
  * @throws {RequiredError}
3161
3330
  * @memberof UsersApi
3162
3331
  */
3163
- resumeSubscription(requestParameters: UsersApiResumeSubscriptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionMutationResponse, any>>;
3332
+ resumeSubscription(requestParameters: UsersApiResumeSubscriptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionMutationResponse, any, {}>>;
3164
3333
  /**
3165
3334
  *
3166
3335
  * @param {UsersApiSetupPaymentMethodRequest} requestParameters Request parameters.
@@ -3168,7 +3337,7 @@ export declare class UsersApi extends BaseAPI {
3168
3337
  * @throws {RequiredError}
3169
3338
  * @memberof UsersApi
3170
3339
  */
3171
- setupPaymentMethod(requestParameters: UsersApiSetupPaymentMethodRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetupPaymentMethodResponse, any>>;
3340
+ setupPaymentMethod(requestParameters: UsersApiSetupPaymentMethodRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetupPaymentMethodResponse, any, {}>>;
3172
3341
  /**
3173
3342
  *
3174
3343
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -3176,7 +3345,7 @@ export declare class UsersApi extends BaseAPI {
3176
3345
  * @throws {RequiredError}
3177
3346
  * @memberof UsersApi
3178
3347
  */
3179
- signInOrSignUpWithGoogle(requestParameters: UsersApiSignInOrSignUpWithGoogleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GoogleAuthResponse, any>>;
3348
+ signInOrSignUpWithGoogle(requestParameters: UsersApiSignInOrSignUpWithGoogleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GoogleAuthResponse, any, {}>>;
3180
3349
  /**
3181
3350
  *
3182
3351
  * @param {UsersApiSubscribeToClubRequest} requestParameters Request parameters.
@@ -3186,7 +3355,7 @@ export declare class UsersApi extends BaseAPI {
3186
3355
  */
3187
3356
  subscribeToClub(requestParameters: UsersApiSubscribeToClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
3188
3357
  [key: string]: any;
3189
- }, any>>;
3358
+ }, any, {}>>;
3190
3359
  /**
3191
3360
  *
3192
3361
  * @param {UsersApiUpdateCustomerRequest} requestParameters Request parameters.
@@ -3194,7 +3363,7 @@ export declare class UsersApi extends BaseAPI {
3194
3363
  * @throws {RequiredError}
3195
3364
  * @memberof UsersApi
3196
3365
  */
3197
- updateCustomer(requestParameters: UsersApiUpdateCustomerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCustomerResponse, any>>;
3366
+ updateCustomer(requestParameters: UsersApiUpdateCustomerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCustomerResponse, any, {}>>;
3198
3367
  /**
3199
3368
  *
3200
3369
  * @param {UsersApiUpdateLevelBySportsRequest} requestParameters Request parameters.
@@ -3202,7 +3371,7 @@ export declare class UsersApi extends BaseAPI {
3202
3371
  * @throws {RequiredError}
3203
3372
  * @memberof UsersApi
3204
3373
  */
3205
- updateLevelBySports(requestParameters: UsersApiUpdateLevelBySportsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseUser, any>>;
3374
+ updateLevelBySports(requestParameters: UsersApiUpdateLevelBySportsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<IUserAttributes, any, {}>>;
3206
3375
  /**
3207
3376
  *
3208
3377
  * @param {UsersApiUpdateMeRequest} requestParameters Request parameters.
@@ -3210,7 +3379,7 @@ export declare class UsersApi extends BaseAPI {
3210
3379
  * @throws {RequiredError}
3211
3380
  * @memberof UsersApi
3212
3381
  */
3213
- updateMe(requestParameters: UsersApiUpdateMeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserProfileResponse, any>>;
3382
+ updateMe(requestParameters: UsersApiUpdateMeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserProfileResponse, any, {}>>;
3214
3383
  /**
3215
3384
  *
3216
3385
  * @param {UsersApiUpdateProfilePictureRequest} requestParameters Request parameters.
@@ -3218,5 +3387,5 @@ export declare class UsersApi extends BaseAPI {
3218
3387
  * @throws {RequiredError}
3219
3388
  * @memberof UsersApi
3220
3389
  */
3221
- updateProfilePicture(requestParameters: UsersApiUpdateProfilePictureRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProfilePictureResponse, any>>;
3390
+ updateProfilePicture(requestParameters: UsersApiUpdateProfilePictureRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProfilePictureResponse, any, {}>>;
3222
3391
  }