@tennac-booking/sdk 1.0.37 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +66 -42
- package/README.md +94 -39
- package/api.ts +3985 -718
- package/base.ts +4 -4
- package/common.ts +3 -3
- package/configuration.ts +3 -3
- package/dist/api.d.ts +2632 -777
- package/dist/api.js +2452 -40
- package/dist/base.d.ts +3 -3
- package/dist/base.js +4 -4
- package/dist/common.d.ts +3 -3
- package/dist/common.js +3 -3
- package/dist/configuration.d.ts +3 -3
- package/dist/configuration.js +3 -3
- package/dist/esm/api.d.ts +2632 -777
- package/dist/esm/api.js +2443 -39
- package/dist/esm/base.d.ts +3 -3
- package/dist/esm/base.js +4 -4
- package/dist/esm/common.d.ts +3 -3
- package/dist/esm/common.js +3 -3
- package/dist/esm/configuration.d.ts +3 -3
- package/dist/esm/configuration.js +3 -3
- package/dist/esm/index.d.ts +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/docs/ActiveClub.md +2 -0
- package/docs/AddClubMemberRequest.md +22 -0
- package/docs/AddClubMemberResponse.md +22 -0
- package/docs/AddFavoriteClubRequestBody.md +20 -0
- package/docs/AddFavoritePlayerRequestBody.md +20 -0
- package/docs/AddPaymentMethodRequestBody.md +20 -0
- package/docs/AddPaymentMethodSetupRequestBody.md +20 -0
- package/docs/AddPaymentMethodSetupResponse.md +24 -0
- package/docs/ApiErrorResponse.md +1 -1
- package/docs/BaseUser.md +76 -0
- package/docs/BlockSlotResponse.md +22 -0
- package/docs/BookingDetailResponse.md +46 -0
- package/docs/BookingHistoryResponse.md +22 -0
- package/docs/BookingHistoryResponseHistoryInner.md +32 -0
- package/docs/BookingPaymentStatusResponse.md +24 -0
- package/docs/BookingPaymentStatusResponseBooking.md +26 -0
- package/docs/BookingPaymentStatusResponsePaymentStatusInner.md +36 -0
- package/docs/BookingPaymentStatusResponseSummary.md +28 -0
- package/docs/BookingPopulated.md +28 -0
- package/docs/BookingPopulatedPaymentByPlayersStatusInner.md +22 -0
- package/docs/BookingPopulatedPaymentByPlayersStatusInnerInvoicesInner.md +24 -0
- package/docs/BookingPopulatedSlotId.md +26 -0
- package/docs/BookingPopulatedSlotIdCourtId.md +28 -0
- package/docs/BookingPopulatedSlotIdCourtIdSportId.md +22 -0
- package/docs/BookingPopulatedUserId.md +24 -0
- package/docs/BookingResponse.md +28 -0
- package/docs/BookingSummary.md +44 -0
- package/docs/BookingSummaryBookingHistory.md +18 -0
- package/docs/BookingSummaryClubAddress.md +18 -0
- package/docs/BookingsApi.md +113 -0
- package/docs/BookingsStaffWeeklyWeekIdGet200Response.md +20 -0
- package/docs/CancelBookingResponse.md +22 -0
- package/docs/CancelBookingResponseBooking.md +30 -0
- package/docs/ChangePasswordRequestBody.md +22 -0
- package/docs/ChangePasswordResponse.md +20 -0
- package/docs/CheckInPlayersResponse.md +30 -0
- package/docs/CheckInPlayersResponseCheckedInPlayersInner.md +34 -0
- package/docs/ClubAnalyticsApi.md +241 -0
- package/docs/ClubInfoResponse.md +48 -0
- package/docs/ClubMember.md +24 -0
- package/docs/ClubMembersResponse.md +22 -0
- package/docs/ClubRoleResponse.md +6 -6
- package/docs/ClubRolesResponse.md +22 -0
- package/docs/ClubSettings.md +21 -9
- package/docs/ClubStaffResponse.md +48 -0
- package/docs/ClubsApi.md +61 -0
- package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
- package/docs/ConfirmPaymentMethodResponse.md +22 -0
- package/docs/ConfirmPaymentMethodSetupRequestBody.md +20 -0
- package/docs/ConfirmPaymentMethodSetupResponse.md +22 -0
- package/docs/CourtDeleteResponse.md +20 -0
- package/docs/CourtResponse.md +18 -16
- package/docs/CourtStatus.md +5 -2
- package/docs/CourtWithNameResponse.md +48 -0
- package/docs/CourtsResponse.md +22 -0
- package/docs/CourtsWithNameResponse.md +22 -0
- package/docs/CreateBookingRequest.md +28 -0
- package/docs/CreateClubRoleRequestBody.md +24 -0
- package/docs/CreateCourtRequest.md +36 -0
- package/docs/CreateEventRequest.md +30 -0
- package/docs/CreatePriceRequest.md +26 -0
- package/docs/CreateSportRequest.md +26 -0
- package/docs/CreateSubscriptionPlanRequest.md +24 -0
- package/docs/DailyTurnoverResponse.md +24 -0
- package/docs/DeleteClubRole200Response.md +20 -0
- package/docs/DeleteEvent200Response.md +20 -0
- package/docs/DeleteSlotsByClubInRange200Response.md +20 -0
- package/docs/DeleteSport200Response.md +20 -0
- package/docs/DiagnosticsApi.md +52 -0
- package/docs/DiagnosticsResponse.md +24 -0
- package/docs/Event.md +40 -0
- package/docs/EventBooking.md +32 -0
- package/docs/EventRegistrationRequest.md +22 -0
- package/docs/EventsApi.md +119 -0
- package/docs/FavoriteClubItem.md +26 -0
- package/docs/FavoriteClubMutationResponse.md +22 -0
- package/docs/FavoriteClubRequestBody.md +20 -0
- package/docs/FavoriteClubResponse.md +22 -0
- package/docs/FavoriteClubsResponse.md +20 -0
- package/docs/FavoritePlayerMutationResponse.md +22 -0
- package/docs/FavoritePlayerPublic.md +28 -0
- package/docs/FavoritePlayerRequestBody.md +20 -0
- package/docs/FavoritePlayersIdsResponse.md +22 -0
- package/docs/FavoritePlayersResponse.md +20 -0
- package/docs/FrequentClub.md +24 -0
- package/docs/FrequentPlayer.md +28 -0
- package/docs/{UserResponseFrequentlyPlayedWithInner.md → FrequentlyPlayedWithItem.md} +3 -3
- package/docs/{UserResponseFrequentlyVisitedClubsInner.md → FrequentlyVisitedClubItem.md} +3 -3
- package/docs/Gender.md +12 -0
- package/docs/GenderPercentage.md +26 -0
- package/docs/GetActiveClubs200Response.md +20 -0
- package/docs/GetClubInfos200Response.md +30 -0
- package/docs/GetClubUsersById200Response.md +20 -0
- package/docs/GetCourtsByClubAndSport200Response.md +26 -0
- package/docs/GetInfillPercentagePerPeriod200Response.md +24 -0
- package/docs/GetLastSixMonthsTurnover200ResponseInner.md +22 -0
- package/docs/GetNumberOfClubUsers200Response.md +20 -0
- package/docs/GetPublishedEventsByClubId200Response.md +20 -0
- package/docs/GetUserRolesResponse.md +20 -0
- package/docs/GetUserRolesResponseRolesInner.md +26 -0
- package/docs/GetUserSubscriptionsResponse.md +22 -0
- package/docs/GoogleAuthRequestBody.md +20 -0
- package/docs/GoogleAuthResponse.md +30 -0
- package/docs/GoogleAuthResponseUser.md +26 -0
- package/docs/GoogleSignInRequestBody.md +20 -0
- package/docs/GoogleSignInResponse.md +24 -0
- package/docs/ILevelBySports.md +22 -0
- package/docs/InitiateSubscriptionSessionRequestBody.md +26 -0
- package/docs/InitiateSubscriptionSessionResponse.md +22 -0
- package/docs/InvoicesResponse.md +22 -0
- package/docs/InvoicesResponseInvoicesInner.md +34 -0
- package/docs/InvoicesResponsePagination.md +26 -0
- package/docs/LevelBySportEntry.md +22 -0
- package/docs/LevelBySportsItem.md +22 -0
- package/docs/LoginRequestBody.md +22 -0
- package/docs/LoginResponse.md +28 -0
- package/docs/ManagerBookingsApi.md +125 -0
- package/docs/ManagerCancelBookingRequest.md +20 -0
- package/docs/ManagerCancelBookingResponse.md +22 -0
- package/docs/ManagerCancelBookingResponseBooking.md +30 -0
- package/docs/ManagerClubCourtsApi.md +220 -0
- package/docs/ManagerClubRolesApi.md +268 -0
- package/docs/ManagerClubSlotsApi.md +119 -0
- package/docs/ManagerClubSubscriptionsApi.md +387 -0
- package/docs/ManagerClubsApi.md +253 -0
- package/docs/ManagerEventResponse.md +22 -0
- package/docs/ManagerEventsApi.md +227 -0
- package/docs/ManagerSportsApi.md +119 -0
- package/docs/MonthlyTurnoverResponse.md +28 -0
- package/docs/NoShowFeeResponse.md +30 -0
- package/docs/NoShowFeeResponseCaptureResultsInner.md +30 -0
- package/docs/NoShowFeeResponseCreatorChargeResult.md +26 -0
- package/docs/NotImplementedResponse.md +20 -0
- package/docs/PasswordResetRequestBody.md +20 -0
- package/docs/PaymentMethodSetupResponse.md +24 -0
- package/docs/PaymentStatus.md +30 -0
- package/docs/PickUserResponseExcludeKeyofUserResponseLocation.md +73 -0
- package/docs/PlayerWithPaymentMethod.md +22 -0
- package/docs/PriceResponse.md +2 -8
- package/docs/ProfilePictureResponse.md +20 -0
- package/docs/ProfilePictureUpdateRequestBody.md +20 -0
- package/docs/ProfileVisibilityResponse.md +20 -0
- package/docs/PublicClubUser.md +46 -0
- package/docs/PublicClubUserFrequentlyPlayedWithInner.md +28 -0
- package/docs/PublicClubUserFrequentlyVisitedClubsInner.md +24 -0
- package/docs/{UserResponseLevelBySportsInner.md → PublicClubUserLevelBySportsInner.md} +3 -3
- package/docs/RefreshTokenRequestBody.md +20 -0
- package/docs/RefreshTokenResponse.md +26 -0
- package/docs/RegisterForEvent201Response.md +20 -0
- package/docs/{User.md → RegisterRequestBody.md} +5 -9
- package/docs/RestoreSubscriptionPlanForClub200Response.md +20 -0
- package/docs/SdkDiagnosticsResponse.md +28 -0
- package/docs/SdkDiagnosticsResponseOpenapi.md +24 -0
- package/docs/SdkDiagnosticsResponseSdk.md +24 -0
- package/docs/SetupPaymentMethodRequestBody.md +20 -0
- package/docs/SetupPaymentMethodResponse.md +24 -0
- package/docs/SlotResponse.md +2 -10
- package/docs/SlotsResponse.md +22 -0
- package/docs/Sport.md +0 -2
- package/docs/SportResponse.md +4 -2
- package/docs/StaffBookingsApi.md +61 -0
- package/docs/StaffClubAnalyticsApi.md +254 -0
- package/docs/StaffClubBookingsApi.md +52 -0
- package/docs/StaffClubsApi.md +147 -0
- package/docs/StaffEventResponse.md +20 -0
- package/docs/StaffEventsApi.md +54 -0
- package/docs/StaffProfileApi.md +110 -0
- package/docs/StaffUserProfileResponse.md +22 -0
- package/docs/SubscribeToClubRequestBody.md +22 -0
- package/docs/SubscriptionMutationResponse.md +20 -0
- package/docs/SubscriptionPlanResponse.md +32 -0
- package/docs/SubscriptionSessionRequestBody.md +22 -0
- package/docs/SubscriptionSessionResponse.md +20 -0
- package/docs/UpdateClubRequest.md +34 -0
- package/docs/UpdateClubRoleRequestBody.md +24 -0
- package/docs/UpdateClubSettingsRequest.md +28 -0
- package/docs/UpdateCourtRequest.md +38 -0
- package/docs/UpdateCustomerRequestBody.md +22 -0
- package/docs/UpdateCustomerRequestBodyAddress.md +30 -0
- package/docs/UpdateCustomerResponse.md +20 -0
- package/docs/UpdateCustomerResponseCustomer.md +28 -0
- package/docs/UpdateLevelBySportsRequestBody.md +20 -0
- package/docs/UpdateProfilePictureRequestBody.md +20 -0
- package/docs/UpdateProfileVisibilityRequestBody.md +20 -0
- package/docs/UpdateSportRequest.md +24 -0
- package/docs/UpdateSubscriptionPlanRequest.md +24 -0
- package/docs/UpdateSubscriptionPlanResponse.md +22 -0
- package/docs/UpdateUserCityRequestBody.md +20 -0
- package/docs/UpdateUserDescriptionRequestBody.md +20 -0
- package/docs/UpdateUserRequestBody.md +38 -0
- package/docs/UpdateUserRequestBodyLevelBySportsInner.md +22 -0
- package/docs/UserApi.md +63 -0
- package/docs/UserAuthenticationApi.md +226 -0
- package/docs/UserBookingItem.md +46 -0
- package/docs/UserBookingsApi.md +166 -0
- package/docs/UserBookingsResponse.md +26 -0
- package/docs/UserCityResponse.md +20 -0
- package/docs/UserClubCourtsApi.md +64 -0
- package/docs/UserClubSlotsApi.md +181 -0
- package/docs/UserClubSportsApi.md +60 -0
- package/docs/UserClubsApi.md +145 -0
- package/docs/UserDescriptionResponse.md +20 -0
- package/docs/UserFavoriteClubsResponse.md +20 -0
- package/docs/UserInfoStaff.md +38 -0
- package/docs/UserLocationSummary.md +44 -0
- package/docs/UserPaymentApi.md +176 -0
- package/docs/UserProfileApi.md +1254 -0
- package/docs/UserProfileResponse.md +28 -0
- package/docs/UserResponse.md +8 -48
- package/docs/UserRolesResponse.md +20 -0
- package/docs/UserStaffResponse.md +40 -0
- package/docs/UserSubscriptionsApi.md +222 -0
- package/docs/UserSubscriptionsResponse.md +20 -0
- package/docs/UsersApi.md +1888 -0
- package/docs/YearlyTurnoverResponse.md +26 -0
- package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +24 -0
- package/index.ts +3 -3
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1,1367 +1,3222 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
2
|
+
* booking_api
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.38
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { Configuration } from './configuration';
|
|
13
|
+
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
|
+
import type { RequestArgs } from './base';
|
|
15
|
+
import { BaseAPI } from './base';
|
|
12
16
|
/**
|
|
13
17
|
*
|
|
14
18
|
* @export
|
|
15
|
-
* @interface
|
|
19
|
+
* @interface AddPaymentMethodRequestBody
|
|
16
20
|
*/
|
|
17
|
-
export interface
|
|
21
|
+
export interface AddPaymentMethodRequestBody {
|
|
18
22
|
/**
|
|
19
23
|
*
|
|
20
24
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
25
|
+
* @memberof AddPaymentMethodRequestBody
|
|
22
26
|
*/
|
|
23
|
-
'
|
|
27
|
+
'paymentMethodId': string;
|
|
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
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @export
|
|
215
|
+
* @interface BookingDetailResponse
|
|
216
|
+
*/
|
|
217
|
+
export interface BookingDetailResponse {
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @type {string}
|
|
221
|
+
* @memberof BookingDetailResponse
|
|
222
|
+
*/
|
|
223
|
+
'id': string;
|
|
224
|
+
/**
|
|
225
|
+
*
|
|
226
|
+
* @type {string}
|
|
227
|
+
* @memberof BookingDetailResponse
|
|
228
|
+
*/
|
|
229
|
+
'clubPicture'?: string;
|
|
230
|
+
/**
|
|
231
|
+
*
|
|
232
|
+
* @type {string}
|
|
233
|
+
* @memberof BookingDetailResponse
|
|
234
|
+
*/
|
|
235
|
+
'courtName'?: string;
|
|
236
|
+
/**
|
|
237
|
+
*
|
|
238
|
+
* @type {string}
|
|
239
|
+
* @memberof BookingDetailResponse
|
|
240
|
+
*/
|
|
241
|
+
'sportName'?: string;
|
|
242
|
+
/**
|
|
243
|
+
*
|
|
244
|
+
* @type {string}
|
|
245
|
+
* @memberof BookingDetailResponse
|
|
246
|
+
*/
|
|
247
|
+
'startDate'?: string;
|
|
248
|
+
/**
|
|
249
|
+
*
|
|
250
|
+
* @type {string}
|
|
251
|
+
* @memberof BookingDetailResponse
|
|
252
|
+
*/
|
|
253
|
+
'myPaymentStatus'?: string;
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @type {string}
|
|
257
|
+
* @memberof BookingDetailResponse
|
|
258
|
+
*/
|
|
259
|
+
'bookingStatus'?: string;
|
|
260
|
+
/**
|
|
261
|
+
*
|
|
262
|
+
* @type {Array<string>}
|
|
263
|
+
* @memberof BookingDetailResponse
|
|
264
|
+
*/
|
|
265
|
+
'playersName': Array<string>;
|
|
266
|
+
/**
|
|
267
|
+
*
|
|
268
|
+
* @type {number}
|
|
269
|
+
* @memberof BookingDetailResponse
|
|
270
|
+
*/
|
|
271
|
+
'myAmountToPay': number;
|
|
272
|
+
/**
|
|
273
|
+
*
|
|
274
|
+
* @type {number}
|
|
275
|
+
* @memberof BookingDetailResponse
|
|
276
|
+
*/
|
|
277
|
+
'totalAmount': number;
|
|
278
|
+
/**
|
|
279
|
+
*
|
|
280
|
+
* @type {string}
|
|
281
|
+
* @memberof BookingDetailResponse
|
|
282
|
+
*/
|
|
283
|
+
'timeBeforeCancel'?: string | null;
|
|
284
|
+
/**
|
|
285
|
+
*
|
|
286
|
+
* @type {BookingSummaryClubAddress}
|
|
287
|
+
* @memberof BookingDetailResponse
|
|
288
|
+
*/
|
|
289
|
+
'clubAddress'?: BookingSummaryClubAddress | null;
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @type {BookingSummaryBookingHistory}
|
|
293
|
+
* @memberof BookingDetailResponse
|
|
294
|
+
*/
|
|
295
|
+
'bookingHistory'?: BookingSummaryBookingHistory | null;
|
|
296
|
+
/**
|
|
297
|
+
*
|
|
298
|
+
* @type {Array<{ [key: string]: any; }>}
|
|
299
|
+
* @memberof BookingDetailResponse
|
|
300
|
+
*/
|
|
301
|
+
'paymentStatus': Array<{
|
|
302
|
+
[key: string]: any;
|
|
303
|
+
}>;
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
* @export
|
|
308
|
+
* @interface BookingSummary
|
|
309
|
+
*/
|
|
310
|
+
export interface BookingSummary {
|
|
311
|
+
/**
|
|
312
|
+
*
|
|
313
|
+
* @type {string}
|
|
314
|
+
* @memberof BookingSummary
|
|
315
|
+
*/
|
|
316
|
+
'id': string;
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @type {string}
|
|
320
|
+
* @memberof BookingSummary
|
|
321
|
+
*/
|
|
322
|
+
'clubPicture'?: string;
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @type {string}
|
|
326
|
+
* @memberof BookingSummary
|
|
327
|
+
*/
|
|
328
|
+
'courtName'?: string;
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @type {string}
|
|
332
|
+
* @memberof BookingSummary
|
|
333
|
+
*/
|
|
334
|
+
'sportName'?: string;
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @type {string}
|
|
338
|
+
* @memberof BookingSummary
|
|
339
|
+
*/
|
|
340
|
+
'startDate'?: string;
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @type {string}
|
|
344
|
+
* @memberof BookingSummary
|
|
345
|
+
*/
|
|
346
|
+
'myPaymentStatus'?: string;
|
|
347
|
+
/**
|
|
348
|
+
*
|
|
349
|
+
* @type {string}
|
|
350
|
+
* @memberof BookingSummary
|
|
351
|
+
*/
|
|
352
|
+
'bookingStatus'?: string;
|
|
353
|
+
/**
|
|
354
|
+
*
|
|
355
|
+
* @type {Array<string>}
|
|
356
|
+
* @memberof BookingSummary
|
|
357
|
+
*/
|
|
358
|
+
'playersName': Array<string>;
|
|
359
|
+
/**
|
|
360
|
+
*
|
|
361
|
+
* @type {number}
|
|
362
|
+
* @memberof BookingSummary
|
|
363
|
+
*/
|
|
364
|
+
'myAmountToPay': number;
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @type {number}
|
|
368
|
+
* @memberof BookingSummary
|
|
369
|
+
*/
|
|
370
|
+
'totalAmount': number;
|
|
371
|
+
/**
|
|
372
|
+
*
|
|
373
|
+
* @type {string}
|
|
374
|
+
* @memberof BookingSummary
|
|
375
|
+
*/
|
|
376
|
+
'timeBeforeCancel'?: string | null;
|
|
377
|
+
/**
|
|
378
|
+
*
|
|
379
|
+
* @type {BookingSummaryClubAddress}
|
|
380
|
+
* @memberof BookingSummary
|
|
381
|
+
*/
|
|
382
|
+
'clubAddress'?: BookingSummaryClubAddress | null;
|
|
383
|
+
/**
|
|
384
|
+
*
|
|
385
|
+
* @type {BookingSummaryBookingHistory}
|
|
386
|
+
* @memberof BookingSummary
|
|
387
|
+
*/
|
|
388
|
+
'bookingHistory'?: BookingSummaryBookingHistory | null;
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
*
|
|
392
|
+
* @export
|
|
393
|
+
* @interface BookingSummaryBookingHistory
|
|
394
|
+
*/
|
|
395
|
+
export interface BookingSummaryBookingHistory {
|
|
396
|
+
}
|
|
397
|
+
/**
|
|
398
|
+
*
|
|
399
|
+
* @export
|
|
400
|
+
* @interface BookingSummaryClubAddress
|
|
401
|
+
*/
|
|
402
|
+
export interface BookingSummaryClubAddress {
|
|
403
|
+
}
|
|
404
|
+
/**
|
|
405
|
+
*
|
|
406
|
+
* @export
|
|
407
|
+
* @interface ChangePasswordRequestBody
|
|
408
|
+
*/
|
|
409
|
+
export interface ChangePasswordRequestBody {
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
* @type {string}
|
|
413
|
+
* @memberof ChangePasswordRequestBody
|
|
414
|
+
*/
|
|
415
|
+
'currentPassword': string;
|
|
416
|
+
/**
|
|
417
|
+
*
|
|
418
|
+
* @type {string}
|
|
419
|
+
* @memberof ChangePasswordRequestBody
|
|
420
|
+
*/
|
|
421
|
+
'newPassword': string;
|
|
422
|
+
}
|
|
423
|
+
/**
|
|
424
|
+
*
|
|
425
|
+
* @export
|
|
426
|
+
* @interface ChangePasswordResponse
|
|
427
|
+
*/
|
|
428
|
+
export interface ChangePasswordResponse {
|
|
429
|
+
/**
|
|
430
|
+
*
|
|
431
|
+
* @type {string}
|
|
432
|
+
* @memberof ChangePasswordResponse
|
|
433
|
+
*/
|
|
434
|
+
'message': string;
|
|
435
|
+
}
|
|
436
|
+
/**
|
|
437
|
+
*
|
|
438
|
+
* @export
|
|
439
|
+
* @interface ConfirmPaymentMethodRequestBody
|
|
440
|
+
*/
|
|
441
|
+
export interface ConfirmPaymentMethodRequestBody {
|
|
442
|
+
/**
|
|
443
|
+
*
|
|
444
|
+
* @type {string}
|
|
445
|
+
* @memberof ConfirmPaymentMethodRequestBody
|
|
446
|
+
*/
|
|
447
|
+
'setupIntentId': string;
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
*
|
|
451
|
+
* @export
|
|
452
|
+
* @interface ConfirmPaymentMethodResponse
|
|
453
|
+
*/
|
|
454
|
+
export interface ConfirmPaymentMethodResponse {
|
|
455
|
+
/**
|
|
456
|
+
*
|
|
457
|
+
* @type {string}
|
|
458
|
+
* @memberof ConfirmPaymentMethodResponse
|
|
459
|
+
*/
|
|
460
|
+
'message': string;
|
|
461
|
+
/**
|
|
462
|
+
*
|
|
463
|
+
* @type {string}
|
|
464
|
+
* @memberof ConfirmPaymentMethodResponse
|
|
465
|
+
*/
|
|
466
|
+
'paymentMethodId'?: string | null;
|
|
467
|
+
}
|
|
468
|
+
/**
|
|
469
|
+
*
|
|
470
|
+
* @export
|
|
471
|
+
* @interface DiagnosticsResponse
|
|
472
|
+
*/
|
|
473
|
+
export interface DiagnosticsResponse {
|
|
474
|
+
/**
|
|
475
|
+
*
|
|
476
|
+
* @type {string}
|
|
477
|
+
* @memberof DiagnosticsResponse
|
|
478
|
+
*/
|
|
479
|
+
'status': DiagnosticsResponseStatusEnum;
|
|
480
|
+
/**
|
|
481
|
+
*
|
|
482
|
+
* @type {string}
|
|
483
|
+
* @memberof DiagnosticsResponse
|
|
484
|
+
*/
|
|
485
|
+
'timestamp': string;
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @type {string}
|
|
489
|
+
* @memberof DiagnosticsResponse
|
|
490
|
+
*/
|
|
491
|
+
'note': string;
|
|
492
|
+
}
|
|
493
|
+
export declare const DiagnosticsResponseStatusEnum: {
|
|
494
|
+
readonly Ok: "ok";
|
|
495
|
+
};
|
|
496
|
+
export type DiagnosticsResponseStatusEnum = typeof DiagnosticsResponseStatusEnum[keyof typeof DiagnosticsResponseStatusEnum];
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* @export
|
|
500
|
+
* @interface FavoriteClubMutationResponse
|
|
501
|
+
*/
|
|
502
|
+
export interface FavoriteClubMutationResponse {
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @type {string}
|
|
506
|
+
* @memberof FavoriteClubMutationResponse
|
|
507
|
+
*/
|
|
508
|
+
'message': string;
|
|
509
|
+
/**
|
|
510
|
+
*
|
|
511
|
+
* @type {Array<string>}
|
|
512
|
+
* @memberof FavoriteClubMutationResponse
|
|
513
|
+
*/
|
|
514
|
+
'favoriteClubs': Array<string>;
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @export
|
|
519
|
+
* @interface FavoriteClubRequestBody
|
|
520
|
+
*/
|
|
521
|
+
export interface FavoriteClubRequestBody {
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @type {string}
|
|
525
|
+
* @memberof FavoriteClubRequestBody
|
|
526
|
+
*/
|
|
527
|
+
'clubId': string;
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
*
|
|
531
|
+
* @export
|
|
532
|
+
* @interface FavoriteClubsResponse
|
|
533
|
+
*/
|
|
534
|
+
export interface FavoriteClubsResponse {
|
|
535
|
+
/**
|
|
536
|
+
*
|
|
537
|
+
* @type {Array<{ [key: string]: any; }>}
|
|
538
|
+
* @memberof FavoriteClubsResponse
|
|
539
|
+
*/
|
|
540
|
+
'favoriteClubs': Array<{
|
|
541
|
+
[key: string]: any;
|
|
542
|
+
}>;
|
|
543
|
+
}
|
|
544
|
+
/**
|
|
545
|
+
*
|
|
546
|
+
* @export
|
|
547
|
+
* @interface FavoritePlayerMutationResponse
|
|
548
|
+
*/
|
|
549
|
+
export interface FavoritePlayerMutationResponse {
|
|
550
|
+
/**
|
|
551
|
+
*
|
|
552
|
+
* @type {string}
|
|
553
|
+
* @memberof FavoritePlayerMutationResponse
|
|
554
|
+
*/
|
|
555
|
+
'message': string;
|
|
556
|
+
/**
|
|
557
|
+
*
|
|
558
|
+
* @type {Array<string>}
|
|
559
|
+
* @memberof FavoritePlayerMutationResponse
|
|
560
|
+
*/
|
|
561
|
+
'favoritePlayers': Array<string>;
|
|
562
|
+
}
|
|
563
|
+
/**
|
|
564
|
+
*
|
|
565
|
+
* @export
|
|
566
|
+
* @interface FavoritePlayerRequestBody
|
|
567
|
+
*/
|
|
568
|
+
export interface FavoritePlayerRequestBody {
|
|
569
|
+
/**
|
|
570
|
+
*
|
|
571
|
+
* @type {string}
|
|
572
|
+
* @memberof FavoritePlayerRequestBody
|
|
573
|
+
*/
|
|
574
|
+
'favoritePlayerId': string;
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
*
|
|
578
|
+
* @export
|
|
579
|
+
* @interface FavoritePlayersResponse
|
|
580
|
+
*/
|
|
581
|
+
export interface FavoritePlayersResponse {
|
|
582
|
+
/**
|
|
583
|
+
*
|
|
584
|
+
* @type {Array<BaseUser>}
|
|
585
|
+
* @memberof FavoritePlayersResponse
|
|
586
|
+
*/
|
|
587
|
+
'favoriteUsers': Array<BaseUser>;
|
|
588
|
+
}
|
|
589
|
+
/**
|
|
590
|
+
*
|
|
591
|
+
* @export
|
|
592
|
+
* @interface FrequentClub
|
|
593
|
+
*/
|
|
594
|
+
export interface FrequentClub {
|
|
595
|
+
/**
|
|
596
|
+
*
|
|
597
|
+
* @type {string}
|
|
598
|
+
* @memberof FrequentClub
|
|
599
|
+
*/
|
|
600
|
+
'clubId': string;
|
|
601
|
+
/**
|
|
602
|
+
*
|
|
603
|
+
* @type {string}
|
|
604
|
+
* @memberof FrequentClub
|
|
605
|
+
*/
|
|
606
|
+
'name': string;
|
|
607
|
+
/**
|
|
608
|
+
*
|
|
609
|
+
* @type {number}
|
|
610
|
+
* @memberof FrequentClub
|
|
611
|
+
*/
|
|
612
|
+
'visitCount': number;
|
|
613
|
+
}
|
|
614
|
+
/**
|
|
615
|
+
*
|
|
616
|
+
* @export
|
|
617
|
+
* @interface FrequentPlayer
|
|
618
|
+
*/
|
|
619
|
+
export interface FrequentPlayer {
|
|
620
|
+
/**
|
|
621
|
+
*
|
|
622
|
+
* @type {string}
|
|
623
|
+
* @memberof FrequentPlayer
|
|
624
|
+
*/
|
|
625
|
+
'userId': string;
|
|
626
|
+
/**
|
|
627
|
+
*
|
|
628
|
+
* @type {string}
|
|
629
|
+
* @memberof FrequentPlayer
|
|
630
|
+
*/
|
|
631
|
+
'firstName': string;
|
|
632
|
+
/**
|
|
633
|
+
*
|
|
634
|
+
* @type {string}
|
|
635
|
+
* @memberof FrequentPlayer
|
|
636
|
+
*/
|
|
637
|
+
'lastName': string;
|
|
638
|
+
/**
|
|
639
|
+
*
|
|
640
|
+
* @type {string}
|
|
641
|
+
* @memberof FrequentPlayer
|
|
642
|
+
*/
|
|
643
|
+
'profilePicture'?: string;
|
|
644
|
+
/**
|
|
645
|
+
*
|
|
646
|
+
* @type {number}
|
|
647
|
+
* @memberof FrequentPlayer
|
|
648
|
+
*/
|
|
649
|
+
'playCount': number;
|
|
650
|
+
}
|
|
651
|
+
/**
|
|
652
|
+
*
|
|
653
|
+
* @export
|
|
654
|
+
* @enum {string}
|
|
655
|
+
*/
|
|
656
|
+
export declare const Gender: {
|
|
657
|
+
readonly Male: "male";
|
|
658
|
+
readonly Female: "female";
|
|
659
|
+
readonly Other: "other";
|
|
660
|
+
};
|
|
661
|
+
export type Gender = typeof Gender[keyof typeof Gender];
|
|
662
|
+
/**
|
|
663
|
+
*
|
|
664
|
+
* @export
|
|
665
|
+
* @interface GoogleAuthRequestBody
|
|
666
|
+
*/
|
|
667
|
+
export interface GoogleAuthRequestBody {
|
|
668
|
+
/**
|
|
669
|
+
*
|
|
670
|
+
* @type {string}
|
|
671
|
+
* @memberof GoogleAuthRequestBody
|
|
672
|
+
*/
|
|
673
|
+
'id_token': string;
|
|
674
|
+
}
|
|
675
|
+
/**
|
|
676
|
+
*
|
|
677
|
+
* @export
|
|
678
|
+
* @interface GoogleAuthResponse
|
|
679
|
+
*/
|
|
680
|
+
export interface GoogleAuthResponse {
|
|
681
|
+
/**
|
|
682
|
+
*
|
|
683
|
+
* @type {string}
|
|
684
|
+
* @memberof GoogleAuthResponse
|
|
685
|
+
*/
|
|
686
|
+
'token': string;
|
|
687
|
+
/**
|
|
688
|
+
*
|
|
689
|
+
* @type {string}
|
|
690
|
+
* @memberof GoogleAuthResponse
|
|
691
|
+
*/
|
|
692
|
+
'refreshToken': string;
|
|
693
|
+
/**
|
|
694
|
+
*
|
|
695
|
+
* @type {number}
|
|
696
|
+
* @memberof GoogleAuthResponse
|
|
697
|
+
*/
|
|
698
|
+
'sessionDuration': number;
|
|
699
|
+
/**
|
|
700
|
+
*
|
|
701
|
+
* @type {number}
|
|
702
|
+
* @memberof GoogleAuthResponse
|
|
703
|
+
*/
|
|
704
|
+
'sessionEnd': number;
|
|
705
|
+
/**
|
|
706
|
+
*
|
|
707
|
+
* @type {string}
|
|
708
|
+
* @memberof GoogleAuthResponse
|
|
709
|
+
*/
|
|
710
|
+
'role': string | null;
|
|
711
|
+
/**
|
|
712
|
+
*
|
|
713
|
+
* @type {GoogleAuthResponseUser}
|
|
714
|
+
* @memberof GoogleAuthResponse
|
|
715
|
+
*/
|
|
716
|
+
'user': GoogleAuthResponseUser;
|
|
717
|
+
}
|
|
718
|
+
/**
|
|
719
|
+
*
|
|
720
|
+
* @export
|
|
721
|
+
* @interface GoogleAuthResponseUser
|
|
722
|
+
*/
|
|
723
|
+
export interface GoogleAuthResponseUser {
|
|
724
|
+
/**
|
|
725
|
+
*
|
|
726
|
+
* @type {string}
|
|
727
|
+
* @memberof GoogleAuthResponseUser
|
|
728
|
+
*/
|
|
729
|
+
'lastName': string;
|
|
730
|
+
/**
|
|
731
|
+
*
|
|
732
|
+
* @type {string}
|
|
733
|
+
* @memberof GoogleAuthResponseUser
|
|
734
|
+
*/
|
|
735
|
+
'firstName': string;
|
|
736
|
+
/**
|
|
737
|
+
*
|
|
738
|
+
* @type {string}
|
|
739
|
+
* @memberof GoogleAuthResponseUser
|
|
740
|
+
*/
|
|
741
|
+
'email': string;
|
|
742
|
+
/**
|
|
743
|
+
*
|
|
744
|
+
* @type {string}
|
|
745
|
+
* @memberof GoogleAuthResponseUser
|
|
746
|
+
*/
|
|
747
|
+
'id': string;
|
|
748
|
+
}
|
|
749
|
+
/**
|
|
750
|
+
*
|
|
751
|
+
* @export
|
|
752
|
+
* @interface ILevelBySports
|
|
753
|
+
*/
|
|
754
|
+
export interface ILevelBySports {
|
|
755
|
+
/**
|
|
756
|
+
*
|
|
757
|
+
* @type {string}
|
|
758
|
+
* @memberof ILevelBySports
|
|
759
|
+
*/
|
|
760
|
+
'sport': string;
|
|
761
|
+
/**
|
|
762
|
+
*
|
|
763
|
+
* @type {string}
|
|
764
|
+
* @memberof ILevelBySports
|
|
765
|
+
*/
|
|
766
|
+
'level': string;
|
|
767
|
+
}
|
|
768
|
+
/**
|
|
769
|
+
*
|
|
770
|
+
* @export
|
|
771
|
+
* @interface LevelBySportEntry
|
|
772
|
+
*/
|
|
773
|
+
export interface LevelBySportEntry {
|
|
774
|
+
/**
|
|
775
|
+
*
|
|
776
|
+
* @type {string}
|
|
777
|
+
* @memberof LevelBySportEntry
|
|
778
|
+
*/
|
|
779
|
+
'level': string;
|
|
780
|
+
/**
|
|
781
|
+
*
|
|
782
|
+
* @type {string}
|
|
783
|
+
* @memberof LevelBySportEntry
|
|
784
|
+
*/
|
|
785
|
+
'sport': string;
|
|
786
|
+
}
|
|
787
|
+
/**
|
|
788
|
+
*
|
|
789
|
+
* @export
|
|
790
|
+
* @interface LoginRequestBody
|
|
791
|
+
*/
|
|
792
|
+
export interface LoginRequestBody {
|
|
793
|
+
/**
|
|
794
|
+
*
|
|
795
|
+
* @type {string}
|
|
796
|
+
* @memberof LoginRequestBody
|
|
797
|
+
*/
|
|
798
|
+
'email': string;
|
|
799
|
+
/**
|
|
800
|
+
*
|
|
801
|
+
* @type {string}
|
|
802
|
+
* @memberof LoginRequestBody
|
|
803
|
+
*/
|
|
804
|
+
'password': string;
|
|
805
|
+
}
|
|
806
|
+
/**
|
|
807
|
+
*
|
|
808
|
+
* @export
|
|
809
|
+
* @interface LoginResponse
|
|
810
|
+
*/
|
|
811
|
+
export interface LoginResponse {
|
|
812
|
+
/**
|
|
813
|
+
*
|
|
814
|
+
* @type {string}
|
|
815
|
+
* @memberof LoginResponse
|
|
816
|
+
*/
|
|
817
|
+
'token': string;
|
|
818
|
+
/**
|
|
819
|
+
*
|
|
820
|
+
* @type {string}
|
|
821
|
+
* @memberof LoginResponse
|
|
822
|
+
*/
|
|
823
|
+
'refreshToken': string;
|
|
824
|
+
/**
|
|
825
|
+
*
|
|
826
|
+
* @type {number}
|
|
827
|
+
* @memberof LoginResponse
|
|
828
|
+
*/
|
|
829
|
+
'sessionDuration': number;
|
|
830
|
+
/**
|
|
831
|
+
*
|
|
832
|
+
* @type {number}
|
|
833
|
+
* @memberof LoginResponse
|
|
834
|
+
*/
|
|
835
|
+
'sessionEnd': number;
|
|
836
|
+
/**
|
|
837
|
+
*
|
|
838
|
+
* @type {string}
|
|
839
|
+
* @memberof LoginResponse
|
|
840
|
+
*/
|
|
841
|
+
'role': string | null;
|
|
842
|
+
}
|
|
843
|
+
/**
|
|
844
|
+
*
|
|
845
|
+
* @export
|
|
846
|
+
* @interface NotImplementedResponse
|
|
847
|
+
*/
|
|
848
|
+
export interface NotImplementedResponse {
|
|
849
|
+
/**
|
|
850
|
+
*
|
|
851
|
+
* @type {string}
|
|
852
|
+
* @memberof NotImplementedResponse
|
|
853
|
+
*/
|
|
854
|
+
'message': string;
|
|
855
|
+
}
|
|
856
|
+
/**
|
|
857
|
+
*
|
|
858
|
+
* @export
|
|
859
|
+
* @interface PasswordResetRequestBody
|
|
860
|
+
*/
|
|
861
|
+
export interface PasswordResetRequestBody {
|
|
862
|
+
/**
|
|
863
|
+
*
|
|
864
|
+
* @type {string}
|
|
865
|
+
* @memberof PasswordResetRequestBody
|
|
866
|
+
*/
|
|
867
|
+
'email'?: string;
|
|
868
|
+
}
|
|
869
|
+
/**
|
|
870
|
+
*
|
|
871
|
+
* @export
|
|
872
|
+
* @interface PaymentMethodSetupResponse
|
|
873
|
+
*/
|
|
874
|
+
export interface PaymentMethodSetupResponse {
|
|
875
|
+
/**
|
|
876
|
+
*
|
|
877
|
+
* @type {string}
|
|
878
|
+
* @memberof PaymentMethodSetupResponse
|
|
879
|
+
*/
|
|
880
|
+
'message': string;
|
|
881
|
+
/**
|
|
882
|
+
*
|
|
883
|
+
* @type {Array<string>}
|
|
884
|
+
* @memberof PaymentMethodSetupResponse
|
|
885
|
+
*/
|
|
886
|
+
'paymentMethods': Array<string>;
|
|
887
|
+
/**
|
|
888
|
+
*
|
|
889
|
+
* @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
|
|
904
|
+
*/
|
|
905
|
+
'id'?: any;
|
|
906
|
+
/**
|
|
907
|
+
* This documents _id.
|
|
908
|
+
* @type {any}
|
|
909
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
910
|
+
*/
|
|
911
|
+
'_id': any;
|
|
912
|
+
/**
|
|
913
|
+
*
|
|
914
|
+
* @type {string}
|
|
915
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
916
|
+
*/
|
|
917
|
+
'username'?: string;
|
|
918
|
+
/**
|
|
919
|
+
*
|
|
920
|
+
* @type {string}
|
|
921
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
922
|
+
*/
|
|
923
|
+
'googleId'?: string;
|
|
924
|
+
/**
|
|
925
|
+
*
|
|
926
|
+
* @type {string}
|
|
927
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
928
|
+
*/
|
|
929
|
+
'firstName': string;
|
|
930
|
+
/**
|
|
931
|
+
*
|
|
932
|
+
* @type {string}
|
|
933
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
934
|
+
*/
|
|
935
|
+
'lastName': string;
|
|
936
|
+
/**
|
|
937
|
+
*
|
|
938
|
+
* @type {string}
|
|
939
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
940
|
+
*/
|
|
941
|
+
'email': string;
|
|
942
|
+
/**
|
|
943
|
+
*
|
|
944
|
+
* @type {string}
|
|
945
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
946
|
+
*/
|
|
947
|
+
'phone'?: string;
|
|
948
|
+
/**
|
|
949
|
+
*
|
|
950
|
+
* @type {string}
|
|
951
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
952
|
+
*/
|
|
953
|
+
'profilePicture'?: string;
|
|
954
|
+
/**
|
|
955
|
+
*
|
|
956
|
+
* @type {string}
|
|
957
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
958
|
+
*/
|
|
959
|
+
'description'?: string;
|
|
960
|
+
/**
|
|
961
|
+
*
|
|
962
|
+
* @type {string}
|
|
963
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
964
|
+
*/
|
|
965
|
+
'city'?: string;
|
|
966
|
+
/**
|
|
967
|
+
*
|
|
968
|
+
* @type {boolean}
|
|
969
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
970
|
+
*/
|
|
971
|
+
'isProfileVisible': boolean;
|
|
972
|
+
/**
|
|
973
|
+
*
|
|
974
|
+
* @type {Gender}
|
|
975
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
976
|
+
*/
|
|
977
|
+
'gender'?: Gender;
|
|
978
|
+
/**
|
|
979
|
+
*
|
|
980
|
+
* @type {boolean}
|
|
981
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
982
|
+
*/
|
|
983
|
+
'isAccountVerified': boolean;
|
|
984
|
+
/**
|
|
985
|
+
*
|
|
986
|
+
* @type {boolean}
|
|
987
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
988
|
+
*/
|
|
989
|
+
'isCreditCardRegistered'?: boolean;
|
|
990
|
+
/**
|
|
991
|
+
*
|
|
992
|
+
* @type {boolean}
|
|
993
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
994
|
+
*/
|
|
995
|
+
'isAdmin': boolean;
|
|
996
|
+
/**
|
|
997
|
+
*
|
|
998
|
+
* @type {boolean}
|
|
999
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
1000
|
+
*/
|
|
1001
|
+
'isLevelCertified'?: boolean;
|
|
1002
|
+
/**
|
|
1003
|
+
*
|
|
1004
|
+
* @type {boolean}
|
|
1005
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
1006
|
+
*/
|
|
1007
|
+
'paymentMethodSetupCompleted': boolean;
|
|
1008
|
+
/**
|
|
1009
|
+
*
|
|
1010
|
+
* @type {Array<string>}
|
|
1011
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
1012
|
+
*/
|
|
1013
|
+
'paymentMethods'?: Array<string>;
|
|
1014
|
+
/**
|
|
1015
|
+
*
|
|
1016
|
+
* @type {string}
|
|
1017
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
1018
|
+
*/
|
|
1019
|
+
'defaultPaymentMethodId'?: string;
|
|
1020
|
+
/**
|
|
1021
|
+
*
|
|
1022
|
+
* @type {Array<ILevelBySports>}
|
|
1023
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
1024
|
+
*/
|
|
1025
|
+
'levelBySports'?: Array<ILevelBySports>;
|
|
1026
|
+
/**
|
|
1027
|
+
*
|
|
1028
|
+
* @type {Array<string>}
|
|
1029
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
1030
|
+
*/
|
|
1031
|
+
'favoriteClubs'?: Array<string>;
|
|
1032
|
+
/**
|
|
1033
|
+
*
|
|
1034
|
+
* @type {Array<string>}
|
|
1035
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
1036
|
+
*/
|
|
1037
|
+
'favoritePlayers'?: Array<string>;
|
|
1038
|
+
/**
|
|
1039
|
+
*
|
|
1040
|
+
* @type {string}
|
|
1041
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
1042
|
+
*/
|
|
1043
|
+
'stripeCustomerId'?: string;
|
|
1044
|
+
/**
|
|
1045
|
+
*
|
|
1046
|
+
* @type {string}
|
|
1047
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
1048
|
+
*/
|
|
1049
|
+
'createdAt': string;
|
|
1050
|
+
/**
|
|
1051
|
+
*
|
|
1052
|
+
* @type {string}
|
|
1053
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
1054
|
+
*/
|
|
1055
|
+
'updatedAt': string;
|
|
1056
|
+
/**
|
|
1057
|
+
*
|
|
1058
|
+
* @type {string}
|
|
1059
|
+
* @memberof PickUserResponseExcludeKeyofUserResponseLocation
|
|
1060
|
+
*/
|
|
1061
|
+
'setupIntentId'?: string;
|
|
1062
|
+
}
|
|
1063
|
+
/**
|
|
1064
|
+
*
|
|
1065
|
+
* @export
|
|
1066
|
+
* @interface ProfilePictureResponse
|
|
1067
|
+
*/
|
|
1068
|
+
export interface ProfilePictureResponse {
|
|
1069
|
+
/**
|
|
1070
|
+
*
|
|
1071
|
+
* @type {string}
|
|
1072
|
+
* @memberof ProfilePictureResponse
|
|
1073
|
+
*/
|
|
1074
|
+
'profilePicture': string | null;
|
|
1075
|
+
}
|
|
1076
|
+
/**
|
|
1077
|
+
*
|
|
1078
|
+
* @export
|
|
1079
|
+
* @interface ProfilePictureUpdateRequestBody
|
|
1080
|
+
*/
|
|
1081
|
+
export interface ProfilePictureUpdateRequestBody {
|
|
1082
|
+
/**
|
|
1083
|
+
*
|
|
1084
|
+
* @type {string}
|
|
1085
|
+
* @memberof ProfilePictureUpdateRequestBody
|
|
1086
|
+
*/
|
|
1087
|
+
'profilePicture': string;
|
|
1088
|
+
}
|
|
1089
|
+
/**
|
|
1090
|
+
*
|
|
1091
|
+
* @export
|
|
1092
|
+
* @interface RefreshTokenRequestBody
|
|
1093
|
+
*/
|
|
1094
|
+
export interface RefreshTokenRequestBody {
|
|
1095
|
+
/**
|
|
1096
|
+
*
|
|
1097
|
+
* @type {string}
|
|
1098
|
+
* @memberof RefreshTokenRequestBody
|
|
1099
|
+
*/
|
|
1100
|
+
'refreshToken': string;
|
|
1101
|
+
}
|
|
1102
|
+
/**
|
|
1103
|
+
*
|
|
1104
|
+
* @export
|
|
1105
|
+
* @interface RefreshTokenResponse
|
|
1106
|
+
*/
|
|
1107
|
+
export interface RefreshTokenResponse {
|
|
1108
|
+
/**
|
|
1109
|
+
*
|
|
1110
|
+
* @type {string}
|
|
1111
|
+
* @memberof RefreshTokenResponse
|
|
1112
|
+
*/
|
|
1113
|
+
'token': string;
|
|
1114
|
+
/**
|
|
1115
|
+
*
|
|
1116
|
+
* @type {string}
|
|
1117
|
+
* @memberof RefreshTokenResponse
|
|
1118
|
+
*/
|
|
1119
|
+
'refreshToken': string;
|
|
1120
|
+
/**
|
|
1121
|
+
*
|
|
1122
|
+
* @type {number}
|
|
1123
|
+
* @memberof RefreshTokenResponse
|
|
1124
|
+
*/
|
|
1125
|
+
'sessionDuration': number;
|
|
1126
|
+
/**
|
|
1127
|
+
*
|
|
1128
|
+
* @type {number}
|
|
1129
|
+
* @memberof RefreshTokenResponse
|
|
1130
|
+
*/
|
|
1131
|
+
'sessionEnd': number;
|
|
1132
|
+
}
|
|
1133
|
+
/**
|
|
1134
|
+
*
|
|
1135
|
+
* @export
|
|
1136
|
+
* @interface RegisterRequestBody
|
|
1137
|
+
*/
|
|
1138
|
+
export interface RegisterRequestBody {
|
|
1139
|
+
/**
|
|
1140
|
+
*
|
|
1141
|
+
* @type {string}
|
|
1142
|
+
* @memberof RegisterRequestBody
|
|
1143
|
+
*/
|
|
1144
|
+
'username'?: string;
|
|
1145
|
+
/**
|
|
1146
|
+
*
|
|
1147
|
+
* @type {string}
|
|
1148
|
+
* @memberof RegisterRequestBody
|
|
1149
|
+
*/
|
|
1150
|
+
'firstName': string;
|
|
1151
|
+
/**
|
|
1152
|
+
*
|
|
1153
|
+
* @type {string}
|
|
1154
|
+
* @memberof RegisterRequestBody
|
|
1155
|
+
*/
|
|
1156
|
+
'lastName': string;
|
|
1157
|
+
/**
|
|
1158
|
+
*
|
|
1159
|
+
* @type {string}
|
|
1160
|
+
* @memberof RegisterRequestBody
|
|
1161
|
+
*/
|
|
1162
|
+
'email': string;
|
|
1163
|
+
/**
|
|
1164
|
+
*
|
|
1165
|
+
* @type {string}
|
|
1166
|
+
* @memberof RegisterRequestBody
|
|
1167
|
+
*/
|
|
1168
|
+
'password': string;
|
|
1169
|
+
/**
|
|
1170
|
+
*
|
|
1171
|
+
* @type {string}
|
|
1172
|
+
* @memberof RegisterRequestBody
|
|
1173
|
+
*/
|
|
1174
|
+
'level'?: string;
|
|
1175
|
+
/**
|
|
1176
|
+
*
|
|
1177
|
+
* @type {string}
|
|
1178
|
+
* @memberof RegisterRequestBody
|
|
1179
|
+
*/
|
|
1180
|
+
'stripeCustomerId'?: string;
|
|
1181
|
+
/**
|
|
1182
|
+
*
|
|
1183
|
+
* @type {string}
|
|
1184
|
+
* @memberof RegisterRequestBody
|
|
1185
|
+
*/
|
|
1186
|
+
'phone'?: string;
|
|
1187
|
+
/**
|
|
1188
|
+
*
|
|
1189
|
+
* @type {string}
|
|
1190
|
+
* @memberof RegisterRequestBody
|
|
1191
|
+
*/
|
|
1192
|
+
'profilePicture'?: string;
|
|
1193
|
+
}
|
|
1194
|
+
/**
|
|
1195
|
+
*
|
|
1196
|
+
* @export
|
|
1197
|
+
* @interface SetupPaymentMethodRequestBody
|
|
1198
|
+
*/
|
|
1199
|
+
export interface SetupPaymentMethodRequestBody {
|
|
1200
|
+
/**
|
|
1201
|
+
*
|
|
1202
|
+
* @type {string}
|
|
1203
|
+
* @memberof SetupPaymentMethodRequestBody
|
|
1204
|
+
*/
|
|
1205
|
+
'clubId': string;
|
|
1206
|
+
}
|
|
1207
|
+
/**
|
|
1208
|
+
*
|
|
1209
|
+
* @export
|
|
1210
|
+
* @interface SetupPaymentMethodResponse
|
|
1211
|
+
*/
|
|
1212
|
+
export interface SetupPaymentMethodResponse {
|
|
1213
|
+
/**
|
|
1214
|
+
*
|
|
1215
|
+
* @type {string}
|
|
1216
|
+
* @memberof SetupPaymentMethodResponse
|
|
1217
|
+
*/
|
|
1218
|
+
'setupIntentId': string;
|
|
1219
|
+
/**
|
|
1220
|
+
*
|
|
1221
|
+
* @type {string}
|
|
1222
|
+
* @memberof SetupPaymentMethodResponse
|
|
1223
|
+
*/
|
|
1224
|
+
'clientSecret': string;
|
|
1225
|
+
/**
|
|
1226
|
+
*
|
|
1227
|
+
* @type {string}
|
|
1228
|
+
* @memberof SetupPaymentMethodResponse
|
|
1229
|
+
*/
|
|
1230
|
+
'message': string;
|
|
1231
|
+
}
|
|
1232
|
+
/**
|
|
1233
|
+
*
|
|
1234
|
+
* @export
|
|
1235
|
+
* @interface StaffUserProfileResponse
|
|
1236
|
+
*/
|
|
1237
|
+
export interface StaffUserProfileResponse {
|
|
1238
|
+
/**
|
|
1239
|
+
*
|
|
1240
|
+
* @type {boolean}
|
|
1241
|
+
* @memberof StaffUserProfileResponse
|
|
1242
|
+
*/
|
|
1243
|
+
'isSubscribedToMyClub'?: boolean;
|
|
1244
|
+
/**
|
|
1245
|
+
*
|
|
1246
|
+
* @type {number}
|
|
1247
|
+
* @memberof StaffUserProfileResponse
|
|
1248
|
+
*/
|
|
1249
|
+
'creditOnMyClub'?: number;
|
|
1250
|
+
}
|
|
1251
|
+
/**
|
|
1252
|
+
*
|
|
1253
|
+
* @export
|
|
1254
|
+
* @interface SubscribeToClubRequestBody
|
|
1255
|
+
*/
|
|
1256
|
+
export interface SubscribeToClubRequestBody {
|
|
1257
|
+
/**
|
|
1258
|
+
*
|
|
1259
|
+
* @type {string}
|
|
1260
|
+
* @memberof SubscribeToClubRequestBody
|
|
1261
|
+
*/
|
|
1262
|
+
'clubId': string;
|
|
1263
|
+
/**
|
|
1264
|
+
*
|
|
1265
|
+
* @type {string}
|
|
1266
|
+
* @memberof SubscribeToClubRequestBody
|
|
1267
|
+
*/
|
|
1268
|
+
'priceId': string;
|
|
1269
|
+
}
|
|
1270
|
+
/**
|
|
1271
|
+
*
|
|
1272
|
+
* @export
|
|
1273
|
+
* @interface SubscriptionMutationResponse
|
|
1274
|
+
*/
|
|
1275
|
+
export interface SubscriptionMutationResponse {
|
|
1276
|
+
/**
|
|
1277
|
+
* Construct a type with a set of properties K of type T
|
|
1278
|
+
* @type {{ [key: string]: any; }}
|
|
1279
|
+
* @memberof SubscriptionMutationResponse
|
|
1280
|
+
*/
|
|
1281
|
+
'subscription': {
|
|
1282
|
+
[key: string]: any;
|
|
1283
|
+
};
|
|
1284
|
+
}
|
|
1285
|
+
/**
|
|
1286
|
+
*
|
|
1287
|
+
* @export
|
|
1288
|
+
* @interface SubscriptionSessionRequestBody
|
|
1289
|
+
*/
|
|
1290
|
+
export interface SubscriptionSessionRequestBody {
|
|
1291
|
+
/**
|
|
1292
|
+
*
|
|
1293
|
+
* @type {string}
|
|
1294
|
+
* @memberof SubscriptionSessionRequestBody
|
|
1295
|
+
*/
|
|
1296
|
+
'priceId': string;
|
|
1297
|
+
/**
|
|
1298
|
+
*
|
|
1299
|
+
* @type {string}
|
|
1300
|
+
* @memberof SubscriptionSessionRequestBody
|
|
1301
|
+
*/
|
|
1302
|
+
'clubId': string;
|
|
1303
|
+
}
|
|
1304
|
+
/**
|
|
1305
|
+
*
|
|
1306
|
+
* @export
|
|
1307
|
+
* @interface SubscriptionSessionResponse
|
|
1308
|
+
*/
|
|
1309
|
+
export interface SubscriptionSessionResponse {
|
|
1310
|
+
/**
|
|
1311
|
+
*
|
|
1312
|
+
* @type {string}
|
|
1313
|
+
* @memberof SubscriptionSessionResponse
|
|
1314
|
+
*/
|
|
1315
|
+
'sessionUrl': string;
|
|
1316
|
+
}
|
|
1317
|
+
/**
|
|
1318
|
+
*
|
|
1319
|
+
* @export
|
|
1320
|
+
* @interface UpdateCustomerRequestBody
|
|
1321
|
+
*/
|
|
1322
|
+
export interface UpdateCustomerRequestBody {
|
|
1323
|
+
/**
|
|
1324
|
+
*
|
|
1325
|
+
* @type {string}
|
|
1326
|
+
* @memberof UpdateCustomerRequestBody
|
|
1327
|
+
*/
|
|
1328
|
+
'email'?: string;
|
|
1329
|
+
/**
|
|
1330
|
+
*
|
|
1331
|
+
* @type {string}
|
|
1332
|
+
* @memberof UpdateCustomerRequestBody
|
|
1333
|
+
*/
|
|
1334
|
+
'name'?: string;
|
|
1335
|
+
}
|
|
1336
|
+
/**
|
|
1337
|
+
*
|
|
1338
|
+
* @export
|
|
1339
|
+
* @interface UpdateCustomerResponse
|
|
1340
|
+
*/
|
|
1341
|
+
export interface UpdateCustomerResponse {
|
|
1342
|
+
/**
|
|
1343
|
+
* Construct a type with a set of properties K of type T
|
|
1344
|
+
* @type {{ [key: string]: any; }}
|
|
1345
|
+
* @memberof UpdateCustomerResponse
|
|
1346
|
+
*/
|
|
1347
|
+
'customer': {
|
|
1348
|
+
[key: string]: any;
|
|
1349
|
+
};
|
|
1350
|
+
}
|
|
1351
|
+
/**
|
|
1352
|
+
*
|
|
1353
|
+
* @export
|
|
1354
|
+
* @interface UpdateLevelBySportsRequestBody
|
|
1355
|
+
*/
|
|
1356
|
+
export interface UpdateLevelBySportsRequestBody {
|
|
1357
|
+
/**
|
|
1358
|
+
*
|
|
1359
|
+
* @type {Array<LevelBySportEntry>}
|
|
1360
|
+
* @memberof UpdateLevelBySportsRequestBody
|
|
1361
|
+
*/
|
|
1362
|
+
'levelBySports': Array<LevelBySportEntry>;
|
|
1363
|
+
}
|
|
1364
|
+
/**
|
|
1365
|
+
*
|
|
1366
|
+
* @export
|
|
1367
|
+
* @interface UpdateUserRequestBody
|
|
1368
|
+
*/
|
|
1369
|
+
export interface UpdateUserRequestBody {
|
|
1370
|
+
/**
|
|
1371
|
+
*
|
|
1372
|
+
* @type {string}
|
|
1373
|
+
* @memberof UpdateUserRequestBody
|
|
1374
|
+
*/
|
|
1375
|
+
'username'?: string;
|
|
1376
|
+
/**
|
|
1377
|
+
*
|
|
1378
|
+
* @type {string}
|
|
1379
|
+
* @memberof UpdateUserRequestBody
|
|
1380
|
+
*/
|
|
1381
|
+
'firstName'?: string;
|
|
1382
|
+
/**
|
|
1383
|
+
*
|
|
1384
|
+
* @type {string}
|
|
1385
|
+
* @memberof UpdateUserRequestBody
|
|
1386
|
+
*/
|
|
1387
|
+
'lastName'?: string;
|
|
1388
|
+
/**
|
|
1389
|
+
*
|
|
1390
|
+
* @type {string}
|
|
1391
|
+
* @memberof UpdateUserRequestBody
|
|
1392
|
+
*/
|
|
1393
|
+
'email'?: string;
|
|
1394
|
+
/**
|
|
1395
|
+
*
|
|
1396
|
+
* @type {string}
|
|
1397
|
+
* @memberof UpdateUserRequestBody
|
|
1398
|
+
*/
|
|
1399
|
+
'phone'?: string;
|
|
1400
|
+
/**
|
|
1401
|
+
*
|
|
1402
|
+
* @type {string}
|
|
1403
|
+
* @memberof UpdateUserRequestBody
|
|
1404
|
+
*/
|
|
1405
|
+
'profilePicture'?: string;
|
|
1406
|
+
/**
|
|
1407
|
+
*
|
|
1408
|
+
* @type {Array<UpdateUserRequestBodyLevelBySportsInner>}
|
|
1409
|
+
* @memberof UpdateUserRequestBody
|
|
1410
|
+
*/
|
|
1411
|
+
'levelBySports'?: Array<UpdateUserRequestBodyLevelBySportsInner>;
|
|
1412
|
+
/**
|
|
1413
|
+
*
|
|
1414
|
+
* @type {boolean}
|
|
1415
|
+
* @memberof UpdateUserRequestBody
|
|
1416
|
+
*/
|
|
1417
|
+
'isProfileVisible'?: boolean;
|
|
1418
|
+
/**
|
|
1419
|
+
*
|
|
1420
|
+
* @type {string}
|
|
1421
|
+
* @memberof UpdateUserRequestBody
|
|
1422
|
+
*/
|
|
1423
|
+
'description'?: string;
|
|
1424
|
+
/**
|
|
1425
|
+
*
|
|
1426
|
+
* @type {string}
|
|
1427
|
+
* @memberof UpdateUserRequestBody
|
|
1428
|
+
*/
|
|
1429
|
+
'city'?: string;
|
|
1430
|
+
}
|
|
1431
|
+
/**
|
|
1432
|
+
*
|
|
1433
|
+
* @export
|
|
1434
|
+
* @interface UpdateUserRequestBodyLevelBySportsInner
|
|
1435
|
+
*/
|
|
1436
|
+
export interface UpdateUserRequestBodyLevelBySportsInner {
|
|
1437
|
+
/**
|
|
1438
|
+
*
|
|
1439
|
+
* @type {string}
|
|
1440
|
+
* @memberof UpdateUserRequestBodyLevelBySportsInner
|
|
1441
|
+
*/
|
|
1442
|
+
'level': string;
|
|
1443
|
+
/**
|
|
1444
|
+
*
|
|
1445
|
+
* @type {string}
|
|
1446
|
+
* @memberof UpdateUserRequestBodyLevelBySportsInner
|
|
1447
|
+
*/
|
|
1448
|
+
'sport': string;
|
|
1449
|
+
}
|
|
1450
|
+
/**
|
|
1451
|
+
*
|
|
1452
|
+
* @export
|
|
1453
|
+
* @interface UserLocationSummary
|
|
1454
|
+
*/
|
|
1455
|
+
export interface UserLocationSummary {
|
|
1456
|
+
/**
|
|
1457
|
+
*
|
|
1458
|
+
* @type {string}
|
|
1459
|
+
* @memberof UserLocationSummary
|
|
1460
|
+
*/
|
|
1461
|
+
'type'?: string;
|
|
1462
|
+
/**
|
|
1463
|
+
*
|
|
1464
|
+
* @type {Array<number>}
|
|
1465
|
+
* @memberof UserLocationSummary
|
|
1466
|
+
*/
|
|
1467
|
+
'coordinates'?: Array<number>;
|
|
1468
|
+
/**
|
|
1469
|
+
*
|
|
1470
|
+
* @type {string}
|
|
1471
|
+
* @memberof UserLocationSummary
|
|
1472
|
+
*/
|
|
1473
|
+
'mapboxId'?: string;
|
|
1474
|
+
/**
|
|
1475
|
+
*
|
|
1476
|
+
* @type {Array<string>}
|
|
1477
|
+
* @memberof UserLocationSummary
|
|
1478
|
+
*/
|
|
1479
|
+
'mapboxPlaceType'?: Array<string>;
|
|
1480
|
+
/**
|
|
1481
|
+
*
|
|
1482
|
+
* @type {string}
|
|
1483
|
+
* @memberof UserLocationSummary
|
|
1484
|
+
*/
|
|
1485
|
+
'mapboxPlaceName'?: string;
|
|
1486
|
+
/**
|
|
1487
|
+
*
|
|
1488
|
+
* @type {string}
|
|
1489
|
+
* @memberof UserLocationSummary
|
|
1490
|
+
*/
|
|
1491
|
+
'mapboxAddress'?: string;
|
|
1492
|
+
/**
|
|
1493
|
+
*
|
|
1494
|
+
* @type {Array<{ [key: string]: any; }>}
|
|
1495
|
+
* @memberof UserLocationSummary
|
|
1496
|
+
*/
|
|
1497
|
+
'mapboxContext'?: Array<{
|
|
1498
|
+
[key: string]: any;
|
|
1499
|
+
}>;
|
|
1500
|
+
/**
|
|
1501
|
+
* Construct a type with a set of properties K of type T
|
|
1502
|
+
* @type {{ [key: string]: any; }}
|
|
1503
|
+
* @memberof UserLocationSummary
|
|
1504
|
+
*/
|
|
1505
|
+
'mapboxRaw'?: {
|
|
1506
|
+
[key: string]: any;
|
|
1507
|
+
};
|
|
1508
|
+
/**
|
|
1509
|
+
*
|
|
1510
|
+
* @type {string}
|
|
1511
|
+
* @memberof UserLocationSummary
|
|
1512
|
+
*/
|
|
1513
|
+
'city'?: string;
|
|
1514
|
+
/**
|
|
1515
|
+
*
|
|
1516
|
+
* @type {string}
|
|
1517
|
+
* @memberof UserLocationSummary
|
|
1518
|
+
*/
|
|
1519
|
+
'country'?: string;
|
|
1520
|
+
/**
|
|
1521
|
+
*
|
|
1522
|
+
* @type {string}
|
|
1523
|
+
* @memberof UserLocationSummary
|
|
1524
|
+
*/
|
|
1525
|
+
'postalCode'?: string;
|
|
1526
|
+
/**
|
|
1527
|
+
*
|
|
1528
|
+
* @type {string}
|
|
1529
|
+
* @memberof UserLocationSummary
|
|
1530
|
+
*/
|
|
1531
|
+
'state'?: string;
|
|
24
1532
|
/**
|
|
25
1533
|
*
|
|
26
1534
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
1535
|
+
* @memberof UserLocationSummary
|
|
1536
|
+
*/
|
|
1537
|
+
'address'?: string;
|
|
1538
|
+
}
|
|
1539
|
+
/**
|
|
1540
|
+
*
|
|
1541
|
+
* @export
|
|
1542
|
+
* @interface UserProfileResponse
|
|
1543
|
+
*/
|
|
1544
|
+
export interface UserProfileResponse {
|
|
1545
|
+
/**
|
|
1546
|
+
*
|
|
1547
|
+
* @type {number}
|
|
1548
|
+
* @memberof UserProfileResponse
|
|
28
1549
|
*/
|
|
29
|
-
'
|
|
1550
|
+
'upcomingBookingsCount'?: number;
|
|
1551
|
+
/**
|
|
1552
|
+
*
|
|
1553
|
+
* @type {number}
|
|
1554
|
+
* @memberof UserProfileResponse
|
|
1555
|
+
*/
|
|
1556
|
+
'subscriptionsCount'?: number;
|
|
1557
|
+
/**
|
|
1558
|
+
*
|
|
1559
|
+
* @type {Array<FrequentClub>}
|
|
1560
|
+
* @memberof UserProfileResponse
|
|
1561
|
+
*/
|
|
1562
|
+
'frequentlyVisitedClubs'?: Array<FrequentClub>;
|
|
1563
|
+
/**
|
|
1564
|
+
*
|
|
1565
|
+
* @type {Array<FrequentPlayer>}
|
|
1566
|
+
* @memberof UserProfileResponse
|
|
1567
|
+
*/
|
|
1568
|
+
'frequentlyPlayedWith'?: Array<FrequentPlayer>;
|
|
1569
|
+
/**
|
|
1570
|
+
* Construct a type with a set of properties K of type T
|
|
1571
|
+
* @type {{ [key: string]: any; }}
|
|
1572
|
+
* @memberof UserProfileResponse
|
|
1573
|
+
*/
|
|
1574
|
+
'stripeLinks'?: {
|
|
1575
|
+
[key: string]: any;
|
|
1576
|
+
};
|
|
1577
|
+
}
|
|
1578
|
+
/**
|
|
1579
|
+
*
|
|
1580
|
+
* @export
|
|
1581
|
+
* @interface UserRolesResponse
|
|
1582
|
+
*/
|
|
1583
|
+
export interface UserRolesResponse {
|
|
1584
|
+
/**
|
|
1585
|
+
*
|
|
1586
|
+
* @type {Array<{ [key: string]: any; }>}
|
|
1587
|
+
* @memberof UserRolesResponse
|
|
1588
|
+
*/
|
|
1589
|
+
'roles': Array<{
|
|
1590
|
+
[key: string]: any;
|
|
1591
|
+
}>;
|
|
1592
|
+
}
|
|
1593
|
+
/**
|
|
1594
|
+
*
|
|
1595
|
+
* @export
|
|
1596
|
+
* @interface UserSubscriptionsResponse
|
|
1597
|
+
*/
|
|
1598
|
+
export interface UserSubscriptionsResponse {
|
|
1599
|
+
/**
|
|
1600
|
+
* Construct a type with a set of properties K of type T
|
|
1601
|
+
* @type {{ [key: string]: { [key: string]: any; }; }}
|
|
1602
|
+
* @memberof UserSubscriptionsResponse
|
|
1603
|
+
*/
|
|
1604
|
+
'subscriptions': {
|
|
1605
|
+
[key: string]: {
|
|
1606
|
+
[key: string]: any;
|
|
1607
|
+
};
|
|
1608
|
+
};
|
|
1609
|
+
}
|
|
1610
|
+
/**
|
|
1611
|
+
* DiagnosticsApi - axios parameter creator
|
|
1612
|
+
* @export
|
|
1613
|
+
*/
|
|
1614
|
+
export declare const DiagnosticsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
30
1615
|
/**
|
|
31
|
-
*
|
|
32
|
-
* @
|
|
33
|
-
* @
|
|
1616
|
+
* Endpoint de démonstration généré via TSOA. Permet de valider la configuration du pipeline types -> OpenAPI sans écrire la doc à la main.
|
|
1617
|
+
* @param {*} [options] Override http request option.
|
|
1618
|
+
* @throws {RequiredError}
|
|
34
1619
|
*/
|
|
35
|
-
|
|
1620
|
+
ping: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1621
|
+
};
|
|
1622
|
+
/**
|
|
1623
|
+
* DiagnosticsApi - functional programming interface
|
|
1624
|
+
* @export
|
|
1625
|
+
*/
|
|
1626
|
+
export declare const DiagnosticsApiFp: (configuration?: Configuration) => {
|
|
36
1627
|
/**
|
|
37
|
-
*
|
|
38
|
-
* @
|
|
39
|
-
* @
|
|
1628
|
+
* Endpoint de démonstration généré via TSOA. Permet de valider la configuration du pipeline types -> OpenAPI sans écrire la doc à la main.
|
|
1629
|
+
* @param {*} [options] Override http request option.
|
|
1630
|
+
* @throws {RequiredError}
|
|
40
1631
|
*/
|
|
41
|
-
|
|
1632
|
+
ping(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DiagnosticsResponse>>;
|
|
1633
|
+
};
|
|
1634
|
+
/**
|
|
1635
|
+
* DiagnosticsApi - factory interface
|
|
1636
|
+
* @export
|
|
1637
|
+
*/
|
|
1638
|
+
export declare const DiagnosticsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
42
1639
|
/**
|
|
43
|
-
*
|
|
44
|
-
* @
|
|
45
|
-
* @
|
|
1640
|
+
* Endpoint de démonstration généré via TSOA. Permet de valider la configuration du pipeline types -> OpenAPI sans écrire la doc à la main.
|
|
1641
|
+
* @param {*} [options] Override http request option.
|
|
1642
|
+
* @throws {RequiredError}
|
|
46
1643
|
*/
|
|
47
|
-
|
|
48
|
-
}
|
|
1644
|
+
ping(options?: RawAxiosRequestConfig): AxiosPromise<DiagnosticsResponse>;
|
|
1645
|
+
};
|
|
49
1646
|
/**
|
|
50
|
-
*
|
|
1647
|
+
* DiagnosticsApi - object-oriented interface
|
|
51
1648
|
* @export
|
|
52
|
-
* @
|
|
1649
|
+
* @class DiagnosticsApi
|
|
1650
|
+
* @extends {BaseAPI}
|
|
53
1651
|
*/
|
|
54
|
-
export
|
|
1652
|
+
export declare class DiagnosticsApi extends BaseAPI {
|
|
55
1653
|
/**
|
|
56
|
-
*
|
|
57
|
-
* @
|
|
58
|
-
* @
|
|
1654
|
+
* Endpoint de démonstration généré via TSOA. Permet de valider la configuration du pipeline types -> OpenAPI sans écrire la doc à la main.
|
|
1655
|
+
* @param {*} [options] Override http request option.
|
|
1656
|
+
* @throws {RequiredError}
|
|
1657
|
+
* @memberof DiagnosticsApi
|
|
59
1658
|
*/
|
|
60
|
-
|
|
1659
|
+
ping(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DiagnosticsResponse, any>>;
|
|
61
1660
|
}
|
|
62
1661
|
/**
|
|
63
|
-
*
|
|
1662
|
+
* UsersApi - axios parameter creator
|
|
64
1663
|
* @export
|
|
65
|
-
* @interface ApiErrorResponse
|
|
66
1664
|
*/
|
|
67
|
-
export
|
|
1665
|
+
export declare const UsersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
68
1666
|
/**
|
|
69
1667
|
*
|
|
70
|
-
* @
|
|
71
|
-
* @
|
|
1668
|
+
* @param {FavoriteClubRequestBody} favoriteClubRequestBody
|
|
1669
|
+
* @param {*} [options] Override http request option.
|
|
1670
|
+
* @throws {RequiredError}
|
|
72
1671
|
*/
|
|
73
|
-
|
|
1672
|
+
addFavoriteClub: (favoriteClubRequestBody: FavoriteClubRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
1673
|
/**
|
|
75
1674
|
*
|
|
76
|
-
* @
|
|
77
|
-
* @
|
|
1675
|
+
* @param {FavoritePlayerRequestBody} favoritePlayerRequestBody
|
|
1676
|
+
* @param {*} [options] Override http request option.
|
|
1677
|
+
* @throws {RequiredError}
|
|
78
1678
|
*/
|
|
79
|
-
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
*
|
|
83
|
-
* @export
|
|
84
|
-
* @interface Booking
|
|
85
|
-
*/
|
|
86
|
-
export interface Booking {
|
|
1679
|
+
addFavoritePlayer: (favoritePlayerRequestBody: FavoritePlayerRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
87
1680
|
/**
|
|
88
1681
|
*
|
|
89
|
-
* @
|
|
90
|
-
* @
|
|
1682
|
+
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
1683
|
+
* @param {*} [options] Override http request option.
|
|
1684
|
+
* @throws {RequiredError}
|
|
91
1685
|
*/
|
|
92
|
-
|
|
1686
|
+
addPaymentMethodSetup: (addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
93
1687
|
/**
|
|
94
1688
|
*
|
|
95
|
-
* @
|
|
96
|
-
* @
|
|
1689
|
+
* @param {string} clubId
|
|
1690
|
+
* @param {string} subscriptionId
|
|
1691
|
+
* @param {*} [options] Override http request option.
|
|
1692
|
+
* @throws {RequiredError}
|
|
97
1693
|
*/
|
|
98
|
-
|
|
1694
|
+
cancelSubscription: (clubId: string, subscriptionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
99
1695
|
/**
|
|
100
1696
|
*
|
|
101
|
-
* @
|
|
102
|
-
* @
|
|
1697
|
+
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
1698
|
+
* @param {*} [options] Override http request option.
|
|
1699
|
+
* @throws {RequiredError}
|
|
103
1700
|
*/
|
|
104
|
-
|
|
1701
|
+
changePassword: (changePasswordRequestBody: ChangePasswordRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
105
1702
|
/**
|
|
106
1703
|
*
|
|
107
|
-
* @
|
|
108
|
-
* @
|
|
1704
|
+
* @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
|
|
1705
|
+
* @param {*} [options] Override http request option.
|
|
1706
|
+
* @throws {RequiredError}
|
|
109
1707
|
*/
|
|
110
|
-
|
|
1708
|
+
confirmPaymentMethodSetup: (confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
111
1709
|
/**
|
|
112
1710
|
*
|
|
113
|
-
* @
|
|
114
|
-
* @
|
|
1711
|
+
* @param {*} [options] Override http request option.
|
|
1712
|
+
* @throws {RequiredError}
|
|
115
1713
|
*/
|
|
116
|
-
|
|
1714
|
+
getAllUsers: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
117
1715
|
/**
|
|
118
1716
|
*
|
|
119
|
-
* @
|
|
120
|
-
* @
|
|
1717
|
+
* @param {string} bookingId
|
|
1718
|
+
* @param {*} [options] Override http request option.
|
|
1719
|
+
* @throws {RequiredError}
|
|
121
1720
|
*/
|
|
122
|
-
|
|
1721
|
+
getBookingDetail: (bookingId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
123
1722
|
/**
|
|
124
1723
|
*
|
|
125
|
-
* @
|
|
126
|
-
* @
|
|
1724
|
+
* @param {*} [options] Override http request option.
|
|
1725
|
+
* @throws {RequiredError}
|
|
127
1726
|
*/
|
|
128
|
-
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
*
|
|
132
|
-
* @export
|
|
133
|
-
* @enum {string}
|
|
134
|
-
*/
|
|
135
|
-
export declare const BookingStatus: {
|
|
136
|
-
readonly Active: "active";
|
|
137
|
-
readonly Inactive: "inactive";
|
|
138
|
-
};
|
|
139
|
-
export type BookingStatus = typeof BookingStatus[keyof typeof BookingStatus];
|
|
140
|
-
/**
|
|
141
|
-
*
|
|
142
|
-
* @export
|
|
143
|
-
* @interface Club
|
|
144
|
-
*/
|
|
145
|
-
export interface Club {
|
|
1727
|
+
getFavoriteClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
146
1728
|
/**
|
|
147
1729
|
*
|
|
148
|
-
* @
|
|
149
|
-
* @
|
|
1730
|
+
* @param {*} [options] Override http request option.
|
|
1731
|
+
* @throws {RequiredError}
|
|
150
1732
|
*/
|
|
151
|
-
|
|
1733
|
+
getFavoritesPlayers: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
152
1734
|
/**
|
|
153
1735
|
*
|
|
154
|
-
* @
|
|
155
|
-
* @
|
|
1736
|
+
* @param {*} [options] Override http request option.
|
|
1737
|
+
* @throws {RequiredError}
|
|
156
1738
|
*/
|
|
157
|
-
|
|
1739
|
+
getFrequentlyPlayedWith: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
158
1740
|
/**
|
|
159
1741
|
*
|
|
160
|
-
* @
|
|
161
|
-
* @
|
|
1742
|
+
* @param {*} [options] Override http request option.
|
|
1743
|
+
* @throws {RequiredError}
|
|
162
1744
|
*/
|
|
163
|
-
|
|
1745
|
+
getFrequentlyVisitedClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
164
1746
|
/**
|
|
165
1747
|
*
|
|
166
|
-
* @
|
|
167
|
-
* @
|
|
1748
|
+
* @param {*} [options] Override http request option.
|
|
1749
|
+
* @throws {RequiredError}
|
|
168
1750
|
*/
|
|
169
|
-
|
|
1751
|
+
getMe: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
170
1752
|
/**
|
|
171
1753
|
*
|
|
172
|
-
* @
|
|
173
|
-
* @
|
|
1754
|
+
* @param {number} [radiusInKm]
|
|
1755
|
+
* @param {number} [limit]
|
|
1756
|
+
* @param {*} [options] Override http request option.
|
|
1757
|
+
* @throws {RequiredError}
|
|
174
1758
|
*/
|
|
175
|
-
|
|
1759
|
+
getNearestClubs: (radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
176
1760
|
/**
|
|
177
1761
|
*
|
|
178
|
-
* @
|
|
179
|
-
* @
|
|
1762
|
+
* @param {number} [latitude]
|
|
1763
|
+
* @param {number} [longitude]
|
|
1764
|
+
* @param {number} [radiusInKm]
|
|
1765
|
+
* @param {number} [limit]
|
|
1766
|
+
* @param {*} [options] Override http request option.
|
|
1767
|
+
* @throws {RequiredError}
|
|
180
1768
|
*/
|
|
181
|
-
|
|
1769
|
+
getNearestClubsFromCoordinates: (latitude?: number, longitude?: number, radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
182
1770
|
/**
|
|
183
1771
|
*
|
|
184
|
-
* @
|
|
185
|
-
* @
|
|
1772
|
+
* @param {number} [radiusInKm]
|
|
1773
|
+
* @param {number} [limit]
|
|
1774
|
+
* @param {*} [options] Override http request option.
|
|
1775
|
+
* @throws {RequiredError}
|
|
186
1776
|
*/
|
|
187
|
-
|
|
1777
|
+
getNearestUsers: (radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
188
1778
|
/**
|
|
189
1779
|
*
|
|
190
|
-
* @
|
|
191
|
-
* @
|
|
1780
|
+
* @param {number} [latitude]
|
|
1781
|
+
* @param {number} [longitude]
|
|
1782
|
+
* @param {number} [radiusInKm]
|
|
1783
|
+
* @param {number} [limit]
|
|
1784
|
+
* @param {*} [options] Override http request option.
|
|
1785
|
+
* @throws {RequiredError}
|
|
192
1786
|
*/
|
|
193
|
-
|
|
1787
|
+
getNearestUsersFromCoordinates: (latitude?: number, longitude?: number, radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
194
1788
|
/**
|
|
195
1789
|
*
|
|
196
|
-
* @
|
|
197
|
-
* @
|
|
1790
|
+
* @param {number} [limit]
|
|
1791
|
+
* @param {number} [skip]
|
|
1792
|
+
* @param {*} [options] Override http request option.
|
|
1793
|
+
* @throws {RequiredError}
|
|
198
1794
|
*/
|
|
199
|
-
|
|
1795
|
+
getUserBookings: (limit?: number, skip?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
200
1796
|
/**
|
|
201
1797
|
*
|
|
202
|
-
* @
|
|
203
|
-
* @
|
|
1798
|
+
* @param {string} id
|
|
1799
|
+
* @param {*} [options] Override http request option.
|
|
1800
|
+
* @throws {RequiredError}
|
|
204
1801
|
*/
|
|
205
|
-
|
|
1802
|
+
getUserProfileById: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
206
1803
|
/**
|
|
207
1804
|
*
|
|
208
|
-
* @
|
|
209
|
-
* @
|
|
1805
|
+
* @param {string} id
|
|
1806
|
+
* @param {*} [options] Override http request option.
|
|
1807
|
+
* @throws {RequiredError}
|
|
210
1808
|
*/
|
|
211
|
-
|
|
212
|
-
}
|
|
213
|
-
/**
|
|
214
|
-
*
|
|
215
|
-
* @export
|
|
216
|
-
* @interface ClubListResponse
|
|
217
|
-
*/
|
|
218
|
-
export interface ClubListResponse {
|
|
1809
|
+
getUserProfileStaff: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
219
1810
|
/**
|
|
220
1811
|
*
|
|
221
|
-
* @
|
|
222
|
-
* @
|
|
1812
|
+
* @param {*} [options] Override http request option.
|
|
1813
|
+
* @throws {RequiredError}
|
|
223
1814
|
*/
|
|
224
|
-
|
|
1815
|
+
getUserRolesInClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
225
1816
|
/**
|
|
226
1817
|
*
|
|
227
|
-
* @
|
|
228
|
-
* @
|
|
1818
|
+
* @param {*} [options] Override http request option.
|
|
1819
|
+
* @throws {RequiredError}
|
|
229
1820
|
*/
|
|
230
|
-
|
|
231
|
-
}
|
|
232
|
-
/**
|
|
233
|
-
*
|
|
234
|
-
* @export
|
|
235
|
-
* @interface ClubResponse
|
|
236
|
-
*/
|
|
237
|
-
export interface ClubResponse {
|
|
1821
|
+
getUserSubscriptions: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
238
1822
|
/**
|
|
239
1823
|
*
|
|
240
|
-
* @
|
|
241
|
-
* @
|
|
1824
|
+
* @param {SubscriptionSessionRequestBody} subscriptionSessionRequestBody
|
|
1825
|
+
* @param {*} [options] Override http request option.
|
|
1826
|
+
* @throws {RequiredError}
|
|
242
1827
|
*/
|
|
243
|
-
|
|
1828
|
+
initiateSubscriptionSession: (subscriptionSessionRequestBody: SubscriptionSessionRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
244
1829
|
/**
|
|
245
1830
|
*
|
|
246
|
-
* @
|
|
247
|
-
* @
|
|
1831
|
+
* @param {LoginRequestBody} loginRequestBody
|
|
1832
|
+
* @param {*} [options] Override http request option.
|
|
1833
|
+
* @throws {RequiredError}
|
|
248
1834
|
*/
|
|
249
|
-
|
|
1835
|
+
login: (loginRequestBody: LoginRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
250
1836
|
/**
|
|
251
1837
|
*
|
|
252
|
-
* @
|
|
253
|
-
* @
|
|
1838
|
+
* @param {RefreshTokenRequestBody} refreshTokenRequestBody
|
|
1839
|
+
* @param {*} [options] Override http request option.
|
|
1840
|
+
* @throws {RequiredError}
|
|
254
1841
|
*/
|
|
255
|
-
|
|
1842
|
+
refreshToken: (refreshTokenRequestBody: RefreshTokenRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
256
1843
|
/**
|
|
257
1844
|
*
|
|
258
|
-
* @
|
|
259
|
-
* @
|
|
1845
|
+
* @param {RegisterRequestBody} registerRequestBody
|
|
1846
|
+
* @param {*} [options] Override http request option.
|
|
1847
|
+
* @throws {RequiredError}
|
|
260
1848
|
*/
|
|
261
|
-
|
|
1849
|
+
register: (registerRequestBody: RegisterRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
262
1850
|
/**
|
|
263
1851
|
*
|
|
264
|
-
* @
|
|
265
|
-
* @
|
|
1852
|
+
* @param {string} clubId
|
|
1853
|
+
* @param {*} [options] Override http request option.
|
|
1854
|
+
* @throws {RequiredError}
|
|
266
1855
|
*/
|
|
267
|
-
|
|
1856
|
+
removeFavoriteClub: (clubId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
268
1857
|
/**
|
|
269
1858
|
*
|
|
270
|
-
* @
|
|
271
|
-
* @
|
|
1859
|
+
* @param {string} favoritePlayerId
|
|
1860
|
+
* @param {*} [options] Override http request option.
|
|
1861
|
+
* @throws {RequiredError}
|
|
272
1862
|
*/
|
|
273
|
-
|
|
1863
|
+
removeFavoritePlayer: (favoritePlayerId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
274
1864
|
/**
|
|
275
1865
|
*
|
|
276
|
-
* @
|
|
277
|
-
* @
|
|
1866
|
+
* @param {PasswordResetRequestBody} passwordResetRequestBody
|
|
1867
|
+
* @param {*} [options] Override http request option.
|
|
1868
|
+
* @throws {RequiredError}
|
|
278
1869
|
*/
|
|
279
|
-
|
|
1870
|
+
requestPasswordReset: (passwordResetRequestBody: PasswordResetRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
280
1871
|
/**
|
|
281
1872
|
*
|
|
282
|
-
* @
|
|
283
|
-
* @
|
|
1873
|
+
* @param {string} clubId
|
|
1874
|
+
* @param {string} subscriptionId
|
|
1875
|
+
* @param {*} [options] Override http request option.
|
|
1876
|
+
* @throws {RequiredError}
|
|
284
1877
|
*/
|
|
285
|
-
|
|
1878
|
+
resumeSubscription: (clubId: string, subscriptionId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
286
1879
|
/**
|
|
287
1880
|
*
|
|
288
|
-
* @
|
|
289
|
-
* @
|
|
1881
|
+
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
1882
|
+
* @param {*} [options] Override http request option.
|
|
1883
|
+
* @throws {RequiredError}
|
|
290
1884
|
*/
|
|
291
|
-
|
|
1885
|
+
setupPaymentMethod: (setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
292
1886
|
/**
|
|
293
1887
|
*
|
|
294
|
-
* @
|
|
295
|
-
* @
|
|
1888
|
+
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
1889
|
+
* @param {*} [options] Override http request option.
|
|
1890
|
+
* @throws {RequiredError}
|
|
296
1891
|
*/
|
|
297
|
-
|
|
1892
|
+
signInOrSignUpWithGoogle: (googleAuthRequestBody: GoogleAuthRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
298
1893
|
/**
|
|
299
1894
|
*
|
|
300
|
-
* @
|
|
301
|
-
* @
|
|
1895
|
+
* @param {SubscribeToClubRequestBody} subscribeToClubRequestBody
|
|
1896
|
+
* @param {*} [options] Override http request option.
|
|
1897
|
+
* @throws {RequiredError}
|
|
302
1898
|
*/
|
|
303
|
-
|
|
304
|
-
|
|
1899
|
+
subscribeToClub: (subscribeToClubRequestBody: SubscribeToClubRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1900
|
+
/**
|
|
1901
|
+
*
|
|
1902
|
+
* @param {UpdateCustomerRequestBody} updateCustomerRequestBody
|
|
1903
|
+
* @param {*} [options] Override http request option.
|
|
1904
|
+
* @throws {RequiredError}
|
|
1905
|
+
*/
|
|
1906
|
+
updateCustomer: (updateCustomerRequestBody: UpdateCustomerRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1907
|
+
/**
|
|
1908
|
+
*
|
|
1909
|
+
* @param {UpdateLevelBySportsRequestBody} updateLevelBySportsRequestBody
|
|
1910
|
+
* @param {*} [options] Override http request option.
|
|
1911
|
+
* @throws {RequiredError}
|
|
1912
|
+
*/
|
|
1913
|
+
updateLevelBySports: (updateLevelBySportsRequestBody: UpdateLevelBySportsRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1914
|
+
/**
|
|
1915
|
+
*
|
|
1916
|
+
* @param {UpdateUserRequestBody} updateUserRequestBody
|
|
1917
|
+
* @param {*} [options] Override http request option.
|
|
1918
|
+
* @throws {RequiredError}
|
|
1919
|
+
*/
|
|
1920
|
+
updateMe: (updateUserRequestBody: UpdateUserRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1921
|
+
/**
|
|
1922
|
+
*
|
|
1923
|
+
* @param {ProfilePictureUpdateRequestBody} profilePictureUpdateRequestBody
|
|
1924
|
+
* @param {*} [options] Override http request option.
|
|
1925
|
+
* @throws {RequiredError}
|
|
1926
|
+
*/
|
|
1927
|
+
updateProfilePicture: (profilePictureUpdateRequestBody: ProfilePictureUpdateRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1928
|
+
};
|
|
305
1929
|
/**
|
|
306
|
-
*
|
|
1930
|
+
* UsersApi - functional programming interface
|
|
307
1931
|
* @export
|
|
308
|
-
* @interface ClubRole
|
|
309
1932
|
*/
|
|
310
|
-
export
|
|
1933
|
+
export declare const UsersApiFp: (configuration?: Configuration) => {
|
|
311
1934
|
/**
|
|
312
|
-
*
|
|
313
|
-
* @
|
|
314
|
-
* @
|
|
1935
|
+
*
|
|
1936
|
+
* @param {FavoriteClubRequestBody} favoriteClubRequestBody
|
|
1937
|
+
* @param {*} [options] Override http request option.
|
|
1938
|
+
* @throws {RequiredError}
|
|
315
1939
|
*/
|
|
316
|
-
|
|
1940
|
+
addFavoriteClub(favoriteClubRequestBody: FavoriteClubRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoriteClubMutationResponse>>;
|
|
317
1941
|
/**
|
|
318
|
-
*
|
|
319
|
-
* @
|
|
320
|
-
* @
|
|
1942
|
+
*
|
|
1943
|
+
* @param {FavoritePlayerRequestBody} favoritePlayerRequestBody
|
|
1944
|
+
* @param {*} [options] Override http request option.
|
|
1945
|
+
* @throws {RequiredError}
|
|
321
1946
|
*/
|
|
322
|
-
|
|
1947
|
+
addFavoritePlayer(favoritePlayerRequestBody: FavoritePlayerRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoritePlayerMutationResponse>>;
|
|
323
1948
|
/**
|
|
324
|
-
*
|
|
325
|
-
* @
|
|
326
|
-
* @
|
|
1949
|
+
*
|
|
1950
|
+
* @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
|
|
1951
|
+
* @param {*} [options] Override http request option.
|
|
1952
|
+
* @throws {RequiredError}
|
|
327
1953
|
*/
|
|
328
|
-
|
|
1954
|
+
addPaymentMethodSetup(addPaymentMethodRequestBody: AddPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentMethodSetupResponse>>;
|
|
329
1955
|
/**
|
|
330
|
-
*
|
|
331
|
-
* @
|
|
332
|
-
* @
|
|
1956
|
+
*
|
|
1957
|
+
* @param {string} clubId
|
|
1958
|
+
* @param {string} subscriptionId
|
|
1959
|
+
* @param {*} [options] Override http request option.
|
|
1960
|
+
* @throws {RequiredError}
|
|
333
1961
|
*/
|
|
334
|
-
|
|
1962
|
+
cancelSubscription(clubId: string, subscriptionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionMutationResponse>>;
|
|
335
1963
|
/**
|
|
336
|
-
*
|
|
337
|
-
* @
|
|
338
|
-
* @
|
|
1964
|
+
*
|
|
1965
|
+
* @param {ChangePasswordRequestBody} changePasswordRequestBody
|
|
1966
|
+
* @param {*} [options] Override http request option.
|
|
1967
|
+
* @throws {RequiredError}
|
|
339
1968
|
*/
|
|
340
|
-
|
|
1969
|
+
changePassword(changePasswordRequestBody: ChangePasswordRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangePasswordResponse>>;
|
|
341
1970
|
/**
|
|
342
|
-
*
|
|
343
|
-
* @
|
|
344
|
-
* @
|
|
1971
|
+
*
|
|
1972
|
+
* @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
|
|
1973
|
+
* @param {*} [options] Override http request option.
|
|
1974
|
+
* @throws {RequiredError}
|
|
345
1975
|
*/
|
|
346
|
-
|
|
347
|
-
}
|
|
348
|
-
/**
|
|
349
|
-
*
|
|
350
|
-
* @export
|
|
351
|
-
* @interface ClubRoleResponse
|
|
352
|
-
*/
|
|
353
|
-
export interface ClubRoleResponse {
|
|
1976
|
+
confirmPaymentMethodSetup(confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConfirmPaymentMethodResponse>>;
|
|
354
1977
|
/**
|
|
355
|
-
*
|
|
356
|
-
* @
|
|
357
|
-
* @
|
|
1978
|
+
*
|
|
1979
|
+
* @param {*} [options] Override http request option.
|
|
1980
|
+
* @throws {RequiredError}
|
|
358
1981
|
*/
|
|
359
|
-
|
|
1982
|
+
getAllUsers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BaseUser>>>;
|
|
360
1983
|
/**
|
|
361
|
-
*
|
|
362
|
-
* @
|
|
363
|
-
* @
|
|
1984
|
+
*
|
|
1985
|
+
* @param {string} bookingId
|
|
1986
|
+
* @param {*} [options] Override http request option.
|
|
1987
|
+
* @throws {RequiredError}
|
|
364
1988
|
*/
|
|
365
|
-
|
|
1989
|
+
getBookingDetail(bookingId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingDetailResponse>>;
|
|
366
1990
|
/**
|
|
367
|
-
*
|
|
368
|
-
* @
|
|
369
|
-
* @
|
|
1991
|
+
*
|
|
1992
|
+
* @param {*} [options] Override http request option.
|
|
1993
|
+
* @throws {RequiredError}
|
|
370
1994
|
*/
|
|
371
|
-
|
|
1995
|
+
getFavoriteClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoriteClubsResponse>>;
|
|
372
1996
|
/**
|
|
373
|
-
*
|
|
374
|
-
* @
|
|
375
|
-
* @
|
|
1997
|
+
*
|
|
1998
|
+
* @param {*} [options] Override http request option.
|
|
1999
|
+
* @throws {RequiredError}
|
|
376
2000
|
*/
|
|
377
|
-
|
|
2001
|
+
getFavoritesPlayers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoritePlayersResponse>>;
|
|
378
2002
|
/**
|
|
379
|
-
*
|
|
380
|
-
* @
|
|
381
|
-
* @
|
|
2003
|
+
*
|
|
2004
|
+
* @param {*} [options] Override http request option.
|
|
2005
|
+
* @throws {RequiredError}
|
|
382
2006
|
*/
|
|
383
|
-
|
|
2007
|
+
getFrequentlyPlayedWith(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FrequentPlayer>>>;
|
|
384
2008
|
/**
|
|
385
|
-
*
|
|
386
|
-
* @
|
|
387
|
-
* @
|
|
2009
|
+
*
|
|
2010
|
+
* @param {*} [options] Override http request option.
|
|
2011
|
+
* @throws {RequiredError}
|
|
388
2012
|
*/
|
|
389
|
-
|
|
390
|
-
}
|
|
391
|
-
/**
|
|
392
|
-
*
|
|
393
|
-
* @export
|
|
394
|
-
* @interface ClubSettings
|
|
395
|
-
*/
|
|
396
|
-
export interface ClubSettings {
|
|
2013
|
+
getFrequentlyVisitedClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<FrequentClub>>>;
|
|
397
2014
|
/**
|
|
398
2015
|
*
|
|
399
|
-
* @
|
|
400
|
-
* @
|
|
2016
|
+
* @param {*} [options] Override http request option.
|
|
2017
|
+
* @throws {RequiredError}
|
|
401
2018
|
*/
|
|
402
|
-
|
|
2019
|
+
getMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserProfileResponse>>;
|
|
403
2020
|
/**
|
|
404
2021
|
*
|
|
405
|
-
* @
|
|
406
|
-
* @
|
|
2022
|
+
* @param {number} [radiusInKm]
|
|
2023
|
+
* @param {number} [limit]
|
|
2024
|
+
* @param {*} [options] Override http request option.
|
|
2025
|
+
* @throws {RequiredError}
|
|
407
2026
|
*/
|
|
408
|
-
|
|
2027
|
+
getNearestClubs(radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{
|
|
2028
|
+
[key: string]: any;
|
|
2029
|
+
}>>>;
|
|
409
2030
|
/**
|
|
410
2031
|
*
|
|
411
|
-
* @
|
|
412
|
-
* @
|
|
2032
|
+
* @param {number} [latitude]
|
|
2033
|
+
* @param {number} [longitude]
|
|
2034
|
+
* @param {number} [radiusInKm]
|
|
2035
|
+
* @param {number} [limit]
|
|
2036
|
+
* @param {*} [options] Override http request option.
|
|
2037
|
+
* @throws {RequiredError}
|
|
413
2038
|
*/
|
|
414
|
-
|
|
2039
|
+
getNearestClubsFromCoordinates(latitude?: number, longitude?: number, radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{
|
|
2040
|
+
[key: string]: any;
|
|
2041
|
+
}>>>;
|
|
415
2042
|
/**
|
|
416
2043
|
*
|
|
417
|
-
* @
|
|
418
|
-
* @
|
|
2044
|
+
* @param {number} [radiusInKm]
|
|
2045
|
+
* @param {number} [limit]
|
|
2046
|
+
* @param {*} [options] Override http request option.
|
|
2047
|
+
* @throws {RequiredError}
|
|
419
2048
|
*/
|
|
420
|
-
|
|
2049
|
+
getNearestUsers(radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{
|
|
2050
|
+
[key: string]: any;
|
|
2051
|
+
}>>>;
|
|
421
2052
|
/**
|
|
422
2053
|
*
|
|
423
|
-
* @
|
|
424
|
-
* @
|
|
2054
|
+
* @param {number} [latitude]
|
|
2055
|
+
* @param {number} [longitude]
|
|
2056
|
+
* @param {number} [radiusInKm]
|
|
2057
|
+
* @param {number} [limit]
|
|
2058
|
+
* @param {*} [options] Override http request option.
|
|
2059
|
+
* @throws {RequiredError}
|
|
425
2060
|
*/
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
*
|
|
430
|
-
* @export
|
|
431
|
-
* @interface Court
|
|
432
|
-
*/
|
|
433
|
-
export interface Court {
|
|
2061
|
+
getNearestUsersFromCoordinates(latitude?: number, longitude?: number, radiusInKm?: number, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<{
|
|
2062
|
+
[key: string]: any;
|
|
2063
|
+
}>>>;
|
|
434
2064
|
/**
|
|
435
2065
|
*
|
|
436
|
-
* @
|
|
437
|
-
* @
|
|
2066
|
+
* @param {number} [limit]
|
|
2067
|
+
* @param {number} [skip]
|
|
2068
|
+
* @param {*} [options] Override http request option.
|
|
2069
|
+
* @throws {RequiredError}
|
|
438
2070
|
*/
|
|
439
|
-
|
|
2071
|
+
getUserBookings(limit?: number, skip?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<BookingSummary>>>;
|
|
440
2072
|
/**
|
|
441
2073
|
*
|
|
442
|
-
* @
|
|
443
|
-
* @
|
|
2074
|
+
* @param {string} id
|
|
2075
|
+
* @param {*} [options] Override http request option.
|
|
2076
|
+
* @throws {RequiredError}
|
|
444
2077
|
*/
|
|
445
|
-
|
|
2078
|
+
getUserProfileById(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseUser>>;
|
|
446
2079
|
/**
|
|
447
2080
|
*
|
|
448
|
-
* @
|
|
449
|
-
* @
|
|
2081
|
+
* @param {string} id
|
|
2082
|
+
* @param {*} [options] Override http request option.
|
|
2083
|
+
* @throws {RequiredError}
|
|
450
2084
|
*/
|
|
451
|
-
|
|
2085
|
+
getUserProfileStaff(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>>;
|
|
452
2086
|
/**
|
|
453
2087
|
*
|
|
454
|
-
* @
|
|
455
|
-
* @
|
|
2088
|
+
* @param {*} [options] Override http request option.
|
|
2089
|
+
* @throws {RequiredError}
|
|
456
2090
|
*/
|
|
457
|
-
|
|
2091
|
+
getUserRolesInClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserRolesResponse>>;
|
|
458
2092
|
/**
|
|
459
2093
|
*
|
|
460
|
-
* @
|
|
461
|
-
* @
|
|
2094
|
+
* @param {*} [options] Override http request option.
|
|
2095
|
+
* @throws {RequiredError}
|
|
462
2096
|
*/
|
|
463
|
-
|
|
2097
|
+
getUserSubscriptions(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserSubscriptionsResponse>>;
|
|
464
2098
|
/**
|
|
465
2099
|
*
|
|
466
|
-
* @
|
|
467
|
-
* @
|
|
2100
|
+
* @param {SubscriptionSessionRequestBody} subscriptionSessionRequestBody
|
|
2101
|
+
* @param {*} [options] Override http request option.
|
|
2102
|
+
* @throws {RequiredError}
|
|
468
2103
|
*/
|
|
469
|
-
|
|
2104
|
+
initiateSubscriptionSession(subscriptionSessionRequestBody: SubscriptionSessionRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionSessionResponse>>;
|
|
470
2105
|
/**
|
|
471
2106
|
*
|
|
472
|
-
* @
|
|
473
|
-
* @
|
|
2107
|
+
* @param {LoginRequestBody} loginRequestBody
|
|
2108
|
+
* @param {*} [options] Override http request option.
|
|
2109
|
+
* @throws {RequiredError}
|
|
474
2110
|
*/
|
|
475
|
-
|
|
476
|
-
}
|
|
477
|
-
/**
|
|
478
|
-
*
|
|
479
|
-
* @export
|
|
480
|
-
* @interface CourtResponse
|
|
481
|
-
*/
|
|
482
|
-
export interface CourtResponse {
|
|
2111
|
+
login(loginRequestBody: LoginRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<LoginResponse>>;
|
|
483
2112
|
/**
|
|
484
2113
|
*
|
|
485
|
-
* @
|
|
486
|
-
* @
|
|
2114
|
+
* @param {RefreshTokenRequestBody} refreshTokenRequestBody
|
|
2115
|
+
* @param {*} [options] Override http request option.
|
|
2116
|
+
* @throws {RequiredError}
|
|
487
2117
|
*/
|
|
488
|
-
|
|
2118
|
+
refreshToken(refreshTokenRequestBody: RefreshTokenRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RefreshTokenResponse>>;
|
|
489
2119
|
/**
|
|
490
2120
|
*
|
|
491
|
-
* @
|
|
492
|
-
* @
|
|
2121
|
+
* @param {RegisterRequestBody} registerRequestBody
|
|
2122
|
+
* @param {*} [options] Override http request option.
|
|
2123
|
+
* @throws {RequiredError}
|
|
493
2124
|
*/
|
|
494
|
-
|
|
2125
|
+
register(registerRequestBody: RegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseUser>>;
|
|
495
2126
|
/**
|
|
496
2127
|
*
|
|
497
|
-
* @
|
|
498
|
-
* @
|
|
2128
|
+
* @param {string} clubId
|
|
2129
|
+
* @param {*} [options] Override http request option.
|
|
2130
|
+
* @throws {RequiredError}
|
|
499
2131
|
*/
|
|
500
|
-
|
|
2132
|
+
removeFavoriteClub(clubId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoriteClubMutationResponse>>;
|
|
501
2133
|
/**
|
|
502
2134
|
*
|
|
503
|
-
* @
|
|
504
|
-
* @
|
|
2135
|
+
* @param {string} favoritePlayerId
|
|
2136
|
+
* @param {*} [options] Override http request option.
|
|
2137
|
+
* @throws {RequiredError}
|
|
505
2138
|
*/
|
|
506
|
-
|
|
2139
|
+
removeFavoritePlayer(favoritePlayerId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FavoritePlayerMutationResponse>>;
|
|
507
2140
|
/**
|
|
508
2141
|
*
|
|
509
|
-
* @
|
|
510
|
-
* @
|
|
2142
|
+
* @param {PasswordResetRequestBody} passwordResetRequestBody
|
|
2143
|
+
* @param {*} [options] Override http request option.
|
|
2144
|
+
* @throws {RequiredError}
|
|
511
2145
|
*/
|
|
512
|
-
|
|
2146
|
+
requestPasswordReset(passwordResetRequestBody: PasswordResetRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
513
2147
|
/**
|
|
514
2148
|
*
|
|
515
|
-
* @
|
|
516
|
-
* @
|
|
2149
|
+
* @param {string} clubId
|
|
2150
|
+
* @param {string} subscriptionId
|
|
2151
|
+
* @param {*} [options] Override http request option.
|
|
2152
|
+
* @throws {RequiredError}
|
|
517
2153
|
*/
|
|
518
|
-
|
|
2154
|
+
resumeSubscription(clubId: string, subscriptionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SubscriptionMutationResponse>>;
|
|
519
2155
|
/**
|
|
520
2156
|
*
|
|
521
|
-
* @
|
|
522
|
-
* @
|
|
2157
|
+
* @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
|
|
2158
|
+
* @param {*} [options] Override http request option.
|
|
2159
|
+
* @throws {RequiredError}
|
|
523
2160
|
*/
|
|
524
|
-
|
|
2161
|
+
setupPaymentMethod(setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SetupPaymentMethodResponse>>;
|
|
525
2162
|
/**
|
|
526
2163
|
*
|
|
527
|
-
* @
|
|
528
|
-
* @
|
|
2164
|
+
* @param {GoogleAuthRequestBody} googleAuthRequestBody
|
|
2165
|
+
* @param {*} [options] Override http request option.
|
|
2166
|
+
* @throws {RequiredError}
|
|
529
2167
|
*/
|
|
530
|
-
|
|
2168
|
+
signInOrSignUpWithGoogle(googleAuthRequestBody: GoogleAuthRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GoogleAuthResponse>>;
|
|
531
2169
|
/**
|
|
532
2170
|
*
|
|
533
|
-
* @
|
|
534
|
-
* @
|
|
2171
|
+
* @param {SubscribeToClubRequestBody} subscribeToClubRequestBody
|
|
2172
|
+
* @param {*} [options] Override http request option.
|
|
2173
|
+
* @throws {RequiredError}
|
|
535
2174
|
*/
|
|
536
|
-
|
|
2175
|
+
subscribeToClub(subscribeToClubRequestBody: SubscribeToClubRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
|
|
2176
|
+
[key: string]: any;
|
|
2177
|
+
}>>;
|
|
537
2178
|
/**
|
|
538
2179
|
*
|
|
539
|
-
* @
|
|
540
|
-
* @
|
|
2180
|
+
* @param {UpdateCustomerRequestBody} updateCustomerRequestBody
|
|
2181
|
+
* @param {*} [options] Override http request option.
|
|
2182
|
+
* @throws {RequiredError}
|
|
541
2183
|
*/
|
|
542
|
-
|
|
2184
|
+
updateCustomer(updateCustomerRequestBody: UpdateCustomerRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCustomerResponse>>;
|
|
543
2185
|
/**
|
|
544
2186
|
*
|
|
545
|
-
* @
|
|
546
|
-
* @
|
|
2187
|
+
* @param {UpdateLevelBySportsRequestBody} updateLevelBySportsRequestBody
|
|
2188
|
+
* @param {*} [options] Override http request option.
|
|
2189
|
+
* @throws {RequiredError}
|
|
547
2190
|
*/
|
|
548
|
-
|
|
2191
|
+
updateLevelBySports(updateLevelBySportsRequestBody: UpdateLevelBySportsRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BaseUser>>;
|
|
549
2192
|
/**
|
|
550
2193
|
*
|
|
551
|
-
* @
|
|
552
|
-
* @
|
|
2194
|
+
* @param {UpdateUserRequestBody} updateUserRequestBody
|
|
2195
|
+
* @param {*} [options] Override http request option.
|
|
2196
|
+
* @throws {RequiredError}
|
|
553
2197
|
*/
|
|
554
|
-
|
|
2198
|
+
updateMe(updateUserRequestBody: UpdateUserRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserProfileResponse>>;
|
|
555
2199
|
/**
|
|
556
2200
|
*
|
|
557
|
-
* @
|
|
558
|
-
* @
|
|
2201
|
+
* @param {ProfilePictureUpdateRequestBody} profilePictureUpdateRequestBody
|
|
2202
|
+
* @param {*} [options] Override http request option.
|
|
2203
|
+
* @throws {RequiredError}
|
|
559
2204
|
*/
|
|
560
|
-
|
|
561
|
-
}
|
|
562
|
-
/**
|
|
563
|
-
*
|
|
564
|
-
* @export
|
|
565
|
-
* @enum {string}
|
|
566
|
-
*/
|
|
567
|
-
export declare const CourtStatus: {
|
|
568
|
-
readonly Available: "available";
|
|
569
|
-
readonly Unavailable: "unavailable";
|
|
2205
|
+
updateProfilePicture(profilePictureUpdateRequestBody: ProfilePictureUpdateRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProfilePictureResponse>>;
|
|
570
2206
|
};
|
|
571
|
-
export type CourtStatus = typeof CourtStatus[keyof typeof CourtStatus];
|
|
572
2207
|
/**
|
|
573
|
-
*
|
|
2208
|
+
* UsersApi - factory interface
|
|
574
2209
|
* @export
|
|
575
|
-
* @interface Location
|
|
576
2210
|
*/
|
|
577
|
-
export
|
|
2211
|
+
export declare const UsersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
578
2212
|
/**
|
|
579
2213
|
*
|
|
580
|
-
* @
|
|
581
|
-
* @
|
|
2214
|
+
* @param {UsersApiAddFavoriteClubRequest} requestParameters Request parameters.
|
|
2215
|
+
* @param {*} [options] Override http request option.
|
|
2216
|
+
* @throws {RequiredError}
|
|
582
2217
|
*/
|
|
583
|
-
|
|
2218
|
+
addFavoriteClub(requestParameters: UsersApiAddFavoriteClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<FavoriteClubMutationResponse>;
|
|
584
2219
|
/**
|
|
585
|
-
*
|
|
586
|
-
* @
|
|
587
|
-
* @
|
|
2220
|
+
*
|
|
2221
|
+
* @param {UsersApiAddFavoritePlayerRequest} requestParameters Request parameters.
|
|
2222
|
+
* @param {*} [options] Override http request option.
|
|
2223
|
+
* @throws {RequiredError}
|
|
588
2224
|
*/
|
|
589
|
-
|
|
2225
|
+
addFavoritePlayer(requestParameters: UsersApiAddFavoritePlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<FavoritePlayerMutationResponse>;
|
|
590
2226
|
/**
|
|
591
2227
|
*
|
|
592
|
-
* @
|
|
593
|
-
* @
|
|
2228
|
+
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
2229
|
+
* @param {*} [options] Override http request option.
|
|
2230
|
+
* @throws {RequiredError}
|
|
594
2231
|
*/
|
|
595
|
-
|
|
2232
|
+
addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<PaymentMethodSetupResponse>;
|
|
596
2233
|
/**
|
|
597
2234
|
*
|
|
598
|
-
* @
|
|
599
|
-
* @
|
|
2235
|
+
* @param {UsersApiCancelSubscriptionRequest} requestParameters Request parameters.
|
|
2236
|
+
* @param {*} [options] Override http request option.
|
|
2237
|
+
* @throws {RequiredError}
|
|
600
2238
|
*/
|
|
601
|
-
|
|
2239
|
+
cancelSubscription(requestParameters: UsersApiCancelSubscriptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubscriptionMutationResponse>;
|
|
602
2240
|
/**
|
|
603
2241
|
*
|
|
604
|
-
* @
|
|
605
|
-
* @
|
|
2242
|
+
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
2243
|
+
* @param {*} [options] Override http request option.
|
|
2244
|
+
* @throws {RequiredError}
|
|
606
2245
|
*/
|
|
607
|
-
|
|
2246
|
+
changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangePasswordResponse>;
|
|
608
2247
|
/**
|
|
609
2248
|
*
|
|
610
|
-
* @
|
|
611
|
-
* @
|
|
2249
|
+
* @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
2250
|
+
* @param {*} [options] Override http request option.
|
|
2251
|
+
* @throws {RequiredError}
|
|
612
2252
|
*/
|
|
613
|
-
|
|
2253
|
+
confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): AxiosPromise<ConfirmPaymentMethodResponse>;
|
|
614
2254
|
/**
|
|
615
2255
|
*
|
|
616
|
-
* @
|
|
617
|
-
* @
|
|
2256
|
+
* @param {*} [options] Override http request option.
|
|
2257
|
+
* @throws {RequiredError}
|
|
618
2258
|
*/
|
|
619
|
-
|
|
620
|
-
}
|
|
621
|
-
export declare const LocationTypeEnum: {
|
|
622
|
-
readonly Point: "Point";
|
|
623
|
-
};
|
|
624
|
-
export type LocationTypeEnum = typeof LocationTypeEnum[keyof typeof LocationTypeEnum];
|
|
625
|
-
/**
|
|
626
|
-
* Méthode de paiement
|
|
627
|
-
* @export
|
|
628
|
-
* @enum {string}
|
|
629
|
-
*/
|
|
630
|
-
export declare const PaymentMethod: {
|
|
631
|
-
readonly Online: "online";
|
|
632
|
-
readonly Onsite: "onsite";
|
|
633
|
-
};
|
|
634
|
-
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
635
|
-
/**
|
|
636
|
-
*
|
|
637
|
-
* @export
|
|
638
|
-
* @interface PriceResponse
|
|
639
|
-
*/
|
|
640
|
-
export interface PriceResponse {
|
|
2259
|
+
getAllUsers(options?: RawAxiosRequestConfig): AxiosPromise<Array<BaseUser>>;
|
|
641
2260
|
/**
|
|
642
2261
|
*
|
|
643
|
-
* @
|
|
644
|
-
* @
|
|
2262
|
+
* @param {UsersApiGetBookingDetailRequest} requestParameters Request parameters.
|
|
2263
|
+
* @param {*} [options] Override http request option.
|
|
2264
|
+
* @throws {RequiredError}
|
|
645
2265
|
*/
|
|
646
|
-
|
|
2266
|
+
getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): AxiosPromise<BookingDetailResponse>;
|
|
647
2267
|
/**
|
|
648
2268
|
*
|
|
649
|
-
* @
|
|
650
|
-
* @
|
|
2269
|
+
* @param {*} [options] Override http request option.
|
|
2270
|
+
* @throws {RequiredError}
|
|
651
2271
|
*/
|
|
652
|
-
|
|
2272
|
+
getFavoriteClubs(options?: RawAxiosRequestConfig): AxiosPromise<FavoriteClubsResponse>;
|
|
653
2273
|
/**
|
|
654
2274
|
*
|
|
655
|
-
* @
|
|
656
|
-
* @
|
|
2275
|
+
* @param {*} [options] Override http request option.
|
|
2276
|
+
* @throws {RequiredError}
|
|
657
2277
|
*/
|
|
658
|
-
|
|
2278
|
+
getFavoritesPlayers(options?: RawAxiosRequestConfig): AxiosPromise<FavoritePlayersResponse>;
|
|
659
2279
|
/**
|
|
660
2280
|
*
|
|
661
|
-
* @
|
|
662
|
-
* @
|
|
2281
|
+
* @param {*} [options] Override http request option.
|
|
2282
|
+
* @throws {RequiredError}
|
|
663
2283
|
*/
|
|
664
|
-
|
|
2284
|
+
getFrequentlyPlayedWith(options?: RawAxiosRequestConfig): AxiosPromise<Array<FrequentPlayer>>;
|
|
665
2285
|
/**
|
|
666
2286
|
*
|
|
667
|
-
* @
|
|
668
|
-
* @
|
|
2287
|
+
* @param {*} [options] Override http request option.
|
|
2288
|
+
* @throws {RequiredError}
|
|
669
2289
|
*/
|
|
670
|
-
|
|
2290
|
+
getFrequentlyVisitedClub(options?: RawAxiosRequestConfig): AxiosPromise<Array<FrequentClub>>;
|
|
671
2291
|
/**
|
|
672
2292
|
*
|
|
673
|
-
* @
|
|
674
|
-
* @
|
|
2293
|
+
* @param {*} [options] Override http request option.
|
|
2294
|
+
* @throws {RequiredError}
|
|
675
2295
|
*/
|
|
676
|
-
|
|
2296
|
+
getMe(options?: RawAxiosRequestConfig): AxiosPromise<UserProfileResponse>;
|
|
677
2297
|
/**
|
|
678
2298
|
*
|
|
679
|
-
* @
|
|
680
|
-
* @
|
|
2299
|
+
* @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
|
|
2300
|
+
* @param {*} [options] Override http request option.
|
|
2301
|
+
* @throws {RequiredError}
|
|
681
2302
|
*/
|
|
682
|
-
|
|
2303
|
+
getNearestClubs(requestParameters?: UsersApiGetNearestClubsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<{
|
|
2304
|
+
[key: string]: any;
|
|
2305
|
+
}>>;
|
|
683
2306
|
/**
|
|
684
2307
|
*
|
|
685
|
-
* @
|
|
686
|
-
* @
|
|
2308
|
+
* @param {UsersApiGetNearestClubsFromCoordinatesRequest} requestParameters Request parameters.
|
|
2309
|
+
* @param {*} [options] Override http request option.
|
|
2310
|
+
* @throws {RequiredError}
|
|
687
2311
|
*/
|
|
688
|
-
|
|
2312
|
+
getNearestClubsFromCoordinates(requestParameters?: UsersApiGetNearestClubsFromCoordinatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<{
|
|
2313
|
+
[key: string]: any;
|
|
2314
|
+
}>>;
|
|
689
2315
|
/**
|
|
690
2316
|
*
|
|
691
|
-
* @
|
|
692
|
-
* @
|
|
2317
|
+
* @param {UsersApiGetNearestUsersRequest} requestParameters Request parameters.
|
|
2318
|
+
* @param {*} [options] Override http request option.
|
|
2319
|
+
* @throws {RequiredError}
|
|
693
2320
|
*/
|
|
694
|
-
|
|
2321
|
+
getNearestUsers(requestParameters?: UsersApiGetNearestUsersRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<{
|
|
2322
|
+
[key: string]: any;
|
|
2323
|
+
}>>;
|
|
695
2324
|
/**
|
|
696
2325
|
*
|
|
697
|
-
* @
|
|
698
|
-
* @
|
|
2326
|
+
* @param {UsersApiGetNearestUsersFromCoordinatesRequest} requestParameters Request parameters.
|
|
2327
|
+
* @param {*} [options] Override http request option.
|
|
2328
|
+
* @throws {RequiredError}
|
|
699
2329
|
*/
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
readonly Day: "day";
|
|
704
|
-
readonly Week: "week";
|
|
705
|
-
readonly Month: "month";
|
|
706
|
-
readonly Year: "year";
|
|
707
|
-
};
|
|
708
|
-
export type PriceResponseIntervalEnum = typeof PriceResponseIntervalEnum[keyof typeof PriceResponseIntervalEnum];
|
|
709
|
-
/**
|
|
710
|
-
*
|
|
711
|
-
* @export
|
|
712
|
-
* @interface Slot
|
|
713
|
-
*/
|
|
714
|
-
export interface Slot {
|
|
2330
|
+
getNearestUsersFromCoordinates(requestParameters?: UsersApiGetNearestUsersFromCoordinatesRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<{
|
|
2331
|
+
[key: string]: any;
|
|
2332
|
+
}>>;
|
|
715
2333
|
/**
|
|
716
2334
|
*
|
|
717
|
-
* @
|
|
718
|
-
* @
|
|
2335
|
+
* @param {UsersApiGetUserBookingsRequest} requestParameters Request parameters.
|
|
2336
|
+
* @param {*} [options] Override http request option.
|
|
2337
|
+
* @throws {RequiredError}
|
|
719
2338
|
*/
|
|
720
|
-
|
|
2339
|
+
getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<BookingSummary>>;
|
|
721
2340
|
/**
|
|
722
2341
|
*
|
|
723
|
-
* @
|
|
724
|
-
* @
|
|
2342
|
+
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|
|
2343
|
+
* @param {*} [options] Override http request option.
|
|
2344
|
+
* @throws {RequiredError}
|
|
725
2345
|
*/
|
|
726
|
-
|
|
2346
|
+
getUserProfileById(requestParameters: UsersApiGetUserProfileByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseUser>;
|
|
727
2347
|
/**
|
|
728
2348
|
*
|
|
729
|
-
* @
|
|
730
|
-
* @
|
|
2349
|
+
* @param {UsersApiGetUserProfileStaffRequest} requestParameters Request parameters.
|
|
2350
|
+
* @param {*} [options] Override http request option.
|
|
2351
|
+
* @throws {RequiredError}
|
|
731
2352
|
*/
|
|
732
|
-
|
|
733
|
-
}
|
|
734
|
-
/**
|
|
735
|
-
*
|
|
736
|
-
* @export
|
|
737
|
-
* @interface SlotException
|
|
738
|
-
*/
|
|
739
|
-
export interface SlotException {
|
|
2353
|
+
getUserProfileStaff(requestParameters: UsersApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse>;
|
|
740
2354
|
/**
|
|
741
2355
|
*
|
|
742
|
-
* @
|
|
743
|
-
* @
|
|
2356
|
+
* @param {*} [options] Override http request option.
|
|
2357
|
+
* @throws {RequiredError}
|
|
744
2358
|
*/
|
|
745
|
-
|
|
2359
|
+
getUserRolesInClubs(options?: RawAxiosRequestConfig): AxiosPromise<UserRolesResponse>;
|
|
746
2360
|
/**
|
|
747
2361
|
*
|
|
748
|
-
* @
|
|
749
|
-
* @
|
|
2362
|
+
* @param {*} [options] Override http request option.
|
|
2363
|
+
* @throws {RequiredError}
|
|
750
2364
|
*/
|
|
751
|
-
|
|
2365
|
+
getUserSubscriptions(options?: RawAxiosRequestConfig): AxiosPromise<UserSubscriptionsResponse>;
|
|
752
2366
|
/**
|
|
753
2367
|
*
|
|
754
|
-
* @
|
|
755
|
-
* @
|
|
2368
|
+
* @param {UsersApiInitiateSubscriptionSessionRequest} requestParameters Request parameters.
|
|
2369
|
+
* @param {*} [options] Override http request option.
|
|
2370
|
+
* @throws {RequiredError}
|
|
756
2371
|
*/
|
|
757
|
-
|
|
2372
|
+
initiateSubscriptionSession(requestParameters: UsersApiInitiateSubscriptionSessionRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubscriptionSessionResponse>;
|
|
758
2373
|
/**
|
|
759
2374
|
*
|
|
760
|
-
* @
|
|
761
|
-
* @
|
|
2375
|
+
* @param {UsersApiLoginRequest} requestParameters Request parameters.
|
|
2376
|
+
* @param {*} [options] Override http request option.
|
|
2377
|
+
* @throws {RequiredError}
|
|
762
2378
|
*/
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
*
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
2379
|
+
login(requestParameters: UsersApiLoginRequest, options?: RawAxiosRequestConfig): AxiosPromise<LoginResponse>;
|
|
2380
|
+
/**
|
|
2381
|
+
*
|
|
2382
|
+
* @param {UsersApiRefreshTokenRequest} requestParameters Request parameters.
|
|
2383
|
+
* @param {*} [options] Override http request option.
|
|
2384
|
+
* @throws {RequiredError}
|
|
2385
|
+
*/
|
|
2386
|
+
refreshToken(requestParameters: UsersApiRefreshTokenRequest, options?: RawAxiosRequestConfig): AxiosPromise<RefreshTokenResponse>;
|
|
2387
|
+
/**
|
|
2388
|
+
*
|
|
2389
|
+
* @param {UsersApiRegisterRequest} requestParameters Request parameters.
|
|
2390
|
+
* @param {*} [options] Override http request option.
|
|
2391
|
+
* @throws {RequiredError}
|
|
2392
|
+
*/
|
|
2393
|
+
register(requestParameters: UsersApiRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseUser>;
|
|
2394
|
+
/**
|
|
2395
|
+
*
|
|
2396
|
+
* @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
|
|
2397
|
+
* @param {*} [options] Override http request option.
|
|
2398
|
+
* @throws {RequiredError}
|
|
2399
|
+
*/
|
|
2400
|
+
removeFavoriteClub(requestParameters: UsersApiRemoveFavoriteClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<FavoriteClubMutationResponse>;
|
|
2401
|
+
/**
|
|
2402
|
+
*
|
|
2403
|
+
* @param {UsersApiRemoveFavoritePlayerRequest} requestParameters Request parameters.
|
|
2404
|
+
* @param {*} [options] Override http request option.
|
|
2405
|
+
* @throws {RequiredError}
|
|
2406
|
+
*/
|
|
2407
|
+
removeFavoritePlayer(requestParameters: UsersApiRemoveFavoritePlayerRequest, options?: RawAxiosRequestConfig): AxiosPromise<FavoritePlayerMutationResponse>;
|
|
2408
|
+
/**
|
|
2409
|
+
*
|
|
2410
|
+
* @param {UsersApiRequestPasswordResetRequest} requestParameters Request parameters.
|
|
2411
|
+
* @param {*} [options] Override http request option.
|
|
2412
|
+
* @throws {RequiredError}
|
|
2413
|
+
*/
|
|
2414
|
+
requestPasswordReset(requestParameters: UsersApiRequestPasswordResetRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
771
2415
|
/**
|
|
772
2416
|
*
|
|
773
|
-
* @
|
|
774
|
-
* @
|
|
2417
|
+
* @param {UsersApiResumeSubscriptionRequest} requestParameters Request parameters.
|
|
2418
|
+
* @param {*} [options] Override http request option.
|
|
2419
|
+
* @throws {RequiredError}
|
|
775
2420
|
*/
|
|
776
|
-
|
|
2421
|
+
resumeSubscription(requestParameters: UsersApiResumeSubscriptionRequest, options?: RawAxiosRequestConfig): AxiosPromise<SubscriptionMutationResponse>;
|
|
777
2422
|
/**
|
|
778
2423
|
*
|
|
779
|
-
* @
|
|
780
|
-
* @
|
|
2424
|
+
* @param {UsersApiSetupPaymentMethodRequest} requestParameters Request parameters.
|
|
2425
|
+
* @param {*} [options] Override http request option.
|
|
2426
|
+
* @throws {RequiredError}
|
|
781
2427
|
*/
|
|
782
|
-
|
|
2428
|
+
setupPaymentMethod(requestParameters: UsersApiSetupPaymentMethodRequest, options?: RawAxiosRequestConfig): AxiosPromise<SetupPaymentMethodResponse>;
|
|
783
2429
|
/**
|
|
784
2430
|
*
|
|
785
|
-
* @
|
|
786
|
-
* @
|
|
2431
|
+
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
2432
|
+
* @param {*} [options] Override http request option.
|
|
2433
|
+
* @throws {RequiredError}
|
|
787
2434
|
*/
|
|
788
|
-
|
|
2435
|
+
signInOrSignUpWithGoogle(requestParameters: UsersApiSignInOrSignUpWithGoogleRequest, options?: RawAxiosRequestConfig): AxiosPromise<GoogleAuthResponse>;
|
|
789
2436
|
/**
|
|
790
2437
|
*
|
|
791
|
-
* @
|
|
792
|
-
* @
|
|
2438
|
+
* @param {UsersApiSubscribeToClubRequest} requestParameters Request parameters.
|
|
2439
|
+
* @param {*} [options] Override http request option.
|
|
2440
|
+
* @throws {RequiredError}
|
|
793
2441
|
*/
|
|
794
|
-
|
|
2442
|
+
subscribeToClub(requestParameters: UsersApiSubscribeToClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<{
|
|
2443
|
+
[key: string]: any;
|
|
2444
|
+
}>;
|
|
795
2445
|
/**
|
|
796
2446
|
*
|
|
797
|
-
* @
|
|
798
|
-
* @
|
|
2447
|
+
* @param {UsersApiUpdateCustomerRequest} requestParameters Request parameters.
|
|
2448
|
+
* @param {*} [options] Override http request option.
|
|
2449
|
+
* @throws {RequiredError}
|
|
799
2450
|
*/
|
|
800
|
-
|
|
2451
|
+
updateCustomer(requestParameters: UsersApiUpdateCustomerRequest, options?: RawAxiosRequestConfig): AxiosPromise<UpdateCustomerResponse>;
|
|
801
2452
|
/**
|
|
802
2453
|
*
|
|
803
|
-
* @
|
|
804
|
-
* @
|
|
2454
|
+
* @param {UsersApiUpdateLevelBySportsRequest} requestParameters Request parameters.
|
|
2455
|
+
* @param {*} [options] Override http request option.
|
|
2456
|
+
* @throws {RequiredError}
|
|
805
2457
|
*/
|
|
806
|
-
|
|
2458
|
+
updateLevelBySports(requestParameters: UsersApiUpdateLevelBySportsRequest, options?: RawAxiosRequestConfig): AxiosPromise<BaseUser>;
|
|
807
2459
|
/**
|
|
808
2460
|
*
|
|
809
|
-
* @
|
|
810
|
-
* @
|
|
2461
|
+
* @param {UsersApiUpdateMeRequest} requestParameters Request parameters.
|
|
2462
|
+
* @param {*} [options] Override http request option.
|
|
2463
|
+
* @throws {RequiredError}
|
|
811
2464
|
*/
|
|
812
|
-
|
|
2465
|
+
updateMe(requestParameters: UsersApiUpdateMeRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserProfileResponse>;
|
|
813
2466
|
/**
|
|
814
2467
|
*
|
|
815
|
-
* @
|
|
816
|
-
* @
|
|
2468
|
+
* @param {UsersApiUpdateProfilePictureRequest} requestParameters Request parameters.
|
|
2469
|
+
* @param {*} [options] Override http request option.
|
|
2470
|
+
* @throws {RequiredError}
|
|
817
2471
|
*/
|
|
818
|
-
|
|
2472
|
+
updateProfilePicture(requestParameters: UsersApiUpdateProfilePictureRequest, options?: RawAxiosRequestConfig): AxiosPromise<ProfilePictureResponse>;
|
|
2473
|
+
};
|
|
2474
|
+
/**
|
|
2475
|
+
* Request parameters for addFavoriteClub operation in UsersApi.
|
|
2476
|
+
* @export
|
|
2477
|
+
* @interface UsersApiAddFavoriteClubRequest
|
|
2478
|
+
*/
|
|
2479
|
+
export interface UsersApiAddFavoriteClubRequest {
|
|
819
2480
|
/**
|
|
820
2481
|
*
|
|
821
|
-
* @type {
|
|
822
|
-
* @memberof
|
|
2482
|
+
* @type {FavoriteClubRequestBody}
|
|
2483
|
+
* @memberof UsersApiAddFavoriteClub
|
|
2484
|
+
*/
|
|
2485
|
+
readonly favoriteClubRequestBody: FavoriteClubRequestBody;
|
|
2486
|
+
}
|
|
2487
|
+
/**
|
|
2488
|
+
* Request parameters for addFavoritePlayer operation in UsersApi.
|
|
2489
|
+
* @export
|
|
2490
|
+
* @interface UsersApiAddFavoritePlayerRequest
|
|
2491
|
+
*/
|
|
2492
|
+
export interface UsersApiAddFavoritePlayerRequest {
|
|
2493
|
+
/**
|
|
2494
|
+
*
|
|
2495
|
+
* @type {FavoritePlayerRequestBody}
|
|
2496
|
+
* @memberof UsersApiAddFavoritePlayer
|
|
823
2497
|
*/
|
|
824
|
-
|
|
2498
|
+
readonly favoritePlayerRequestBody: FavoritePlayerRequestBody;
|
|
2499
|
+
}
|
|
2500
|
+
/**
|
|
2501
|
+
* Request parameters for addPaymentMethodSetup operation in UsersApi.
|
|
2502
|
+
* @export
|
|
2503
|
+
* @interface UsersApiAddPaymentMethodSetupRequest
|
|
2504
|
+
*/
|
|
2505
|
+
export interface UsersApiAddPaymentMethodSetupRequest {
|
|
825
2506
|
/**
|
|
826
2507
|
*
|
|
827
|
-
* @type {
|
|
828
|
-
* @memberof
|
|
2508
|
+
* @type {AddPaymentMethodRequestBody}
|
|
2509
|
+
* @memberof UsersApiAddPaymentMethodSetup
|
|
829
2510
|
*/
|
|
830
|
-
|
|
2511
|
+
readonly addPaymentMethodRequestBody: AddPaymentMethodRequestBody;
|
|
2512
|
+
}
|
|
2513
|
+
/**
|
|
2514
|
+
* Request parameters for cancelSubscription operation in UsersApi.
|
|
2515
|
+
* @export
|
|
2516
|
+
* @interface UsersApiCancelSubscriptionRequest
|
|
2517
|
+
*/
|
|
2518
|
+
export interface UsersApiCancelSubscriptionRequest {
|
|
831
2519
|
/**
|
|
832
2520
|
*
|
|
833
2521
|
* @type {string}
|
|
834
|
-
* @memberof
|
|
2522
|
+
* @memberof UsersApiCancelSubscription
|
|
835
2523
|
*/
|
|
836
|
-
|
|
2524
|
+
readonly clubId: string;
|
|
837
2525
|
/**
|
|
838
2526
|
*
|
|
839
2527
|
* @type {string}
|
|
840
|
-
* @memberof
|
|
2528
|
+
* @memberof UsersApiCancelSubscription
|
|
841
2529
|
*/
|
|
842
|
-
|
|
2530
|
+
readonly subscriptionId: string;
|
|
843
2531
|
}
|
|
844
2532
|
/**
|
|
845
|
-
*
|
|
2533
|
+
* Request parameters for changePassword operation in UsersApi.
|
|
846
2534
|
* @export
|
|
847
|
-
* @interface
|
|
2535
|
+
* @interface UsersApiChangePasswordRequest
|
|
848
2536
|
*/
|
|
849
|
-
export interface
|
|
2537
|
+
export interface UsersApiChangePasswordRequest {
|
|
850
2538
|
/**
|
|
851
2539
|
*
|
|
852
|
-
* @type {
|
|
853
|
-
* @memberof
|
|
2540
|
+
* @type {ChangePasswordRequestBody}
|
|
2541
|
+
* @memberof UsersApiChangePassword
|
|
854
2542
|
*/
|
|
855
|
-
|
|
2543
|
+
readonly changePasswordRequestBody: ChangePasswordRequestBody;
|
|
2544
|
+
}
|
|
2545
|
+
/**
|
|
2546
|
+
* Request parameters for confirmPaymentMethodSetup operation in UsersApi.
|
|
2547
|
+
* @export
|
|
2548
|
+
* @interface UsersApiConfirmPaymentMethodSetupRequest
|
|
2549
|
+
*/
|
|
2550
|
+
export interface UsersApiConfirmPaymentMethodSetupRequest {
|
|
856
2551
|
/**
|
|
857
2552
|
*
|
|
858
|
-
* @type {
|
|
859
|
-
* @memberof
|
|
2553
|
+
* @type {ConfirmPaymentMethodRequestBody}
|
|
2554
|
+
* @memberof UsersApiConfirmPaymentMethodSetup
|
|
860
2555
|
*/
|
|
861
|
-
|
|
2556
|
+
readonly confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody;
|
|
2557
|
+
}
|
|
2558
|
+
/**
|
|
2559
|
+
* Request parameters for getBookingDetail operation in UsersApi.
|
|
2560
|
+
* @export
|
|
2561
|
+
* @interface UsersApiGetBookingDetailRequest
|
|
2562
|
+
*/
|
|
2563
|
+
export interface UsersApiGetBookingDetailRequest {
|
|
862
2564
|
/**
|
|
863
2565
|
*
|
|
864
2566
|
* @type {string}
|
|
865
|
-
* @memberof
|
|
2567
|
+
* @memberof UsersApiGetBookingDetail
|
|
866
2568
|
*/
|
|
867
|
-
|
|
2569
|
+
readonly bookingId: string;
|
|
868
2570
|
}
|
|
869
2571
|
/**
|
|
870
|
-
*
|
|
2572
|
+
* Request parameters for getNearestClubs operation in UsersApi.
|
|
871
2573
|
* @export
|
|
872
|
-
* @interface
|
|
2574
|
+
* @interface UsersApiGetNearestClubsRequest
|
|
873
2575
|
*/
|
|
874
|
-
export interface
|
|
2576
|
+
export interface UsersApiGetNearestClubsRequest {
|
|
875
2577
|
/**
|
|
876
2578
|
*
|
|
877
|
-
* @type {
|
|
878
|
-
* @memberof
|
|
2579
|
+
* @type {number}
|
|
2580
|
+
* @memberof UsersApiGetNearestClubs
|
|
879
2581
|
*/
|
|
880
|
-
|
|
2582
|
+
readonly radiusInKm?: number;
|
|
881
2583
|
/**
|
|
882
2584
|
*
|
|
883
|
-
* @type {
|
|
884
|
-
* @memberof
|
|
2585
|
+
* @type {number}
|
|
2586
|
+
* @memberof UsersApiGetNearestClubs
|
|
885
2587
|
*/
|
|
886
|
-
|
|
2588
|
+
readonly limit?: number;
|
|
2589
|
+
}
|
|
2590
|
+
/**
|
|
2591
|
+
* Request parameters for getNearestClubsFromCoordinates operation in UsersApi.
|
|
2592
|
+
* @export
|
|
2593
|
+
* @interface UsersApiGetNearestClubsFromCoordinatesRequest
|
|
2594
|
+
*/
|
|
2595
|
+
export interface UsersApiGetNearestClubsFromCoordinatesRequest {
|
|
887
2596
|
/**
|
|
888
2597
|
*
|
|
889
|
-
* @type {
|
|
890
|
-
* @memberof
|
|
2598
|
+
* @type {number}
|
|
2599
|
+
* @memberof UsersApiGetNearestClubsFromCoordinates
|
|
891
2600
|
*/
|
|
892
|
-
|
|
2601
|
+
readonly latitude?: number;
|
|
893
2602
|
/**
|
|
894
2603
|
*
|
|
895
|
-
* @type {
|
|
896
|
-
* @memberof
|
|
2604
|
+
* @type {number}
|
|
2605
|
+
* @memberof UsersApiGetNearestClubsFromCoordinates
|
|
897
2606
|
*/
|
|
898
|
-
|
|
2607
|
+
readonly longitude?: number;
|
|
899
2608
|
/**
|
|
900
2609
|
*
|
|
901
|
-
* @type {
|
|
902
|
-
* @memberof
|
|
2610
|
+
* @type {number}
|
|
2611
|
+
* @memberof UsersApiGetNearestClubsFromCoordinates
|
|
903
2612
|
*/
|
|
904
|
-
|
|
2613
|
+
readonly radiusInKm?: number;
|
|
905
2614
|
/**
|
|
906
2615
|
*
|
|
907
|
-
* @type {
|
|
908
|
-
* @memberof
|
|
2616
|
+
* @type {number}
|
|
2617
|
+
* @memberof UsersApiGetNearestClubsFromCoordinates
|
|
909
2618
|
*/
|
|
910
|
-
|
|
2619
|
+
readonly limit?: number;
|
|
2620
|
+
}
|
|
2621
|
+
/**
|
|
2622
|
+
* Request parameters for getNearestUsers operation in UsersApi.
|
|
2623
|
+
* @export
|
|
2624
|
+
* @interface UsersApiGetNearestUsersRequest
|
|
2625
|
+
*/
|
|
2626
|
+
export interface UsersApiGetNearestUsersRequest {
|
|
911
2627
|
/**
|
|
912
2628
|
*
|
|
913
|
-
* @type {
|
|
914
|
-
* @memberof
|
|
2629
|
+
* @type {number}
|
|
2630
|
+
* @memberof UsersApiGetNearestUsers
|
|
915
2631
|
*/
|
|
916
|
-
|
|
2632
|
+
readonly radiusInKm?: number;
|
|
917
2633
|
/**
|
|
918
2634
|
*
|
|
919
|
-
* @type {
|
|
920
|
-
* @memberof
|
|
2635
|
+
* @type {number}
|
|
2636
|
+
* @memberof UsersApiGetNearestUsers
|
|
921
2637
|
*/
|
|
922
|
-
|
|
2638
|
+
readonly limit?: number;
|
|
923
2639
|
}
|
|
924
2640
|
/**
|
|
925
|
-
*
|
|
2641
|
+
* Request parameters for getNearestUsersFromCoordinates operation in UsersApi.
|
|
926
2642
|
* @export
|
|
927
|
-
* @interface
|
|
2643
|
+
* @interface UsersApiGetNearestUsersFromCoordinatesRequest
|
|
928
2644
|
*/
|
|
929
|
-
export interface
|
|
2645
|
+
export interface UsersApiGetNearestUsersFromCoordinatesRequest {
|
|
930
2646
|
/**
|
|
931
2647
|
*
|
|
932
|
-
* @type {
|
|
933
|
-
* @memberof
|
|
2648
|
+
* @type {number}
|
|
2649
|
+
* @memberof UsersApiGetNearestUsersFromCoordinates
|
|
934
2650
|
*/
|
|
935
|
-
|
|
2651
|
+
readonly latitude?: number;
|
|
936
2652
|
/**
|
|
937
2653
|
*
|
|
938
|
-
* @type {
|
|
939
|
-
* @memberof
|
|
2654
|
+
* @type {number}
|
|
2655
|
+
* @memberof UsersApiGetNearestUsersFromCoordinates
|
|
940
2656
|
*/
|
|
941
|
-
|
|
2657
|
+
readonly longitude?: number;
|
|
942
2658
|
/**
|
|
943
2659
|
*
|
|
944
|
-
* @type {
|
|
945
|
-
* @memberof
|
|
2660
|
+
* @type {number}
|
|
2661
|
+
* @memberof UsersApiGetNearestUsersFromCoordinates
|
|
946
2662
|
*/
|
|
947
|
-
|
|
2663
|
+
readonly radiusInKm?: number;
|
|
948
2664
|
/**
|
|
949
2665
|
*
|
|
950
|
-
* @type {
|
|
951
|
-
* @memberof
|
|
2666
|
+
* @type {number}
|
|
2667
|
+
* @memberof UsersApiGetNearestUsersFromCoordinates
|
|
952
2668
|
*/
|
|
953
|
-
|
|
2669
|
+
readonly limit?: number;
|
|
954
2670
|
}
|
|
955
2671
|
/**
|
|
956
|
-
*
|
|
957
|
-
* @export
|
|
958
|
-
* @enum {string}
|
|
959
|
-
*/
|
|
960
|
-
export declare const StripeStatus: {
|
|
961
|
-
readonly Pending: "pending";
|
|
962
|
-
readonly Paid: "paid";
|
|
963
|
-
readonly Failed: "failed";
|
|
964
|
-
readonly Refunded: "refunded";
|
|
965
|
-
readonly Canceled: "canceled";
|
|
966
|
-
};
|
|
967
|
-
export type StripeStatus = typeof StripeStatus[keyof typeof StripeStatus];
|
|
968
|
-
/**
|
|
969
|
-
*
|
|
2672
|
+
* Request parameters for getUserBookings operation in UsersApi.
|
|
970
2673
|
* @export
|
|
971
|
-
* @interface
|
|
2674
|
+
* @interface UsersApiGetUserBookingsRequest
|
|
972
2675
|
*/
|
|
973
|
-
export interface
|
|
974
|
-
/**
|
|
975
|
-
*
|
|
976
|
-
* @type {string}
|
|
977
|
-
* @memberof SubscriptionPlan
|
|
978
|
-
*/
|
|
979
|
-
'id'?: string;
|
|
2676
|
+
export interface UsersApiGetUserBookingsRequest {
|
|
980
2677
|
/**
|
|
981
2678
|
*
|
|
982
|
-
* @type {
|
|
983
|
-
* @memberof
|
|
2679
|
+
* @type {number}
|
|
2680
|
+
* @memberof UsersApiGetUserBookings
|
|
984
2681
|
*/
|
|
985
|
-
|
|
2682
|
+
readonly limit?: number;
|
|
986
2683
|
/**
|
|
987
2684
|
*
|
|
988
|
-
* @type {
|
|
989
|
-
* @memberof
|
|
2685
|
+
* @type {number}
|
|
2686
|
+
* @memberof UsersApiGetUserBookings
|
|
990
2687
|
*/
|
|
991
|
-
|
|
2688
|
+
readonly skip?: number;
|
|
2689
|
+
}
|
|
2690
|
+
/**
|
|
2691
|
+
* Request parameters for getUserProfileById operation in UsersApi.
|
|
2692
|
+
* @export
|
|
2693
|
+
* @interface UsersApiGetUserProfileByIdRequest
|
|
2694
|
+
*/
|
|
2695
|
+
export interface UsersApiGetUserProfileByIdRequest {
|
|
992
2696
|
/**
|
|
993
2697
|
*
|
|
994
2698
|
* @type {string}
|
|
995
|
-
* @memberof
|
|
2699
|
+
* @memberof UsersApiGetUserProfileById
|
|
996
2700
|
*/
|
|
997
|
-
|
|
2701
|
+
readonly id: string;
|
|
2702
|
+
}
|
|
2703
|
+
/**
|
|
2704
|
+
* Request parameters for getUserProfileStaff operation in UsersApi.
|
|
2705
|
+
* @export
|
|
2706
|
+
* @interface UsersApiGetUserProfileStaffRequest
|
|
2707
|
+
*/
|
|
2708
|
+
export interface UsersApiGetUserProfileStaffRequest {
|
|
998
2709
|
/**
|
|
999
2710
|
*
|
|
1000
2711
|
* @type {string}
|
|
1001
|
-
* @memberof
|
|
2712
|
+
* @memberof UsersApiGetUserProfileStaff
|
|
1002
2713
|
*/
|
|
1003
|
-
|
|
2714
|
+
readonly id: string;
|
|
2715
|
+
}
|
|
2716
|
+
/**
|
|
2717
|
+
* Request parameters for initiateSubscriptionSession operation in UsersApi.
|
|
2718
|
+
* @export
|
|
2719
|
+
* @interface UsersApiInitiateSubscriptionSessionRequest
|
|
2720
|
+
*/
|
|
2721
|
+
export interface UsersApiInitiateSubscriptionSessionRequest {
|
|
1004
2722
|
/**
|
|
1005
2723
|
*
|
|
1006
|
-
* @type {
|
|
1007
|
-
* @memberof
|
|
2724
|
+
* @type {SubscriptionSessionRequestBody}
|
|
2725
|
+
* @memberof UsersApiInitiateSubscriptionSession
|
|
1008
2726
|
*/
|
|
1009
|
-
|
|
2727
|
+
readonly subscriptionSessionRequestBody: SubscriptionSessionRequestBody;
|
|
2728
|
+
}
|
|
2729
|
+
/**
|
|
2730
|
+
* Request parameters for login operation in UsersApi.
|
|
2731
|
+
* @export
|
|
2732
|
+
* @interface UsersApiLoginRequest
|
|
2733
|
+
*/
|
|
2734
|
+
export interface UsersApiLoginRequest {
|
|
1010
2735
|
/**
|
|
1011
2736
|
*
|
|
1012
|
-
* @type {
|
|
1013
|
-
* @memberof
|
|
2737
|
+
* @type {LoginRequestBody}
|
|
2738
|
+
* @memberof UsersApiLogin
|
|
1014
2739
|
*/
|
|
1015
|
-
|
|
2740
|
+
readonly loginRequestBody: LoginRequestBody;
|
|
2741
|
+
}
|
|
2742
|
+
/**
|
|
2743
|
+
* Request parameters for refreshToken operation in UsersApi.
|
|
2744
|
+
* @export
|
|
2745
|
+
* @interface UsersApiRefreshTokenRequest
|
|
2746
|
+
*/
|
|
2747
|
+
export interface UsersApiRefreshTokenRequest {
|
|
1016
2748
|
/**
|
|
1017
2749
|
*
|
|
1018
|
-
* @type {
|
|
1019
|
-
* @memberof
|
|
2750
|
+
* @type {RefreshTokenRequestBody}
|
|
2751
|
+
* @memberof UsersApiRefreshToken
|
|
1020
2752
|
*/
|
|
1021
|
-
|
|
2753
|
+
readonly refreshTokenRequestBody: RefreshTokenRequestBody;
|
|
2754
|
+
}
|
|
2755
|
+
/**
|
|
2756
|
+
* Request parameters for register operation in UsersApi.
|
|
2757
|
+
* @export
|
|
2758
|
+
* @interface UsersApiRegisterRequest
|
|
2759
|
+
*/
|
|
2760
|
+
export interface UsersApiRegisterRequest {
|
|
1022
2761
|
/**
|
|
1023
2762
|
*
|
|
1024
|
-
* @type {
|
|
1025
|
-
* @memberof
|
|
2763
|
+
* @type {RegisterRequestBody}
|
|
2764
|
+
* @memberof UsersApiRegister
|
|
1026
2765
|
*/
|
|
1027
|
-
|
|
2766
|
+
readonly registerRequestBody: RegisterRequestBody;
|
|
1028
2767
|
}
|
|
1029
2768
|
/**
|
|
1030
|
-
*
|
|
2769
|
+
* Request parameters for removeFavoriteClub operation in UsersApi.
|
|
1031
2770
|
* @export
|
|
1032
|
-
* @interface
|
|
2771
|
+
* @interface UsersApiRemoveFavoriteClubRequest
|
|
1033
2772
|
*/
|
|
1034
|
-
export interface
|
|
2773
|
+
export interface UsersApiRemoveFavoriteClubRequest {
|
|
1035
2774
|
/**
|
|
1036
|
-
*
|
|
2775
|
+
*
|
|
1037
2776
|
* @type {string}
|
|
1038
|
-
* @memberof
|
|
2777
|
+
* @memberof UsersApiRemoveFavoriteClub
|
|
1039
2778
|
*/
|
|
1040
|
-
|
|
2779
|
+
readonly clubId: string;
|
|
2780
|
+
}
|
|
2781
|
+
/**
|
|
2782
|
+
* Request parameters for removeFavoritePlayer operation in UsersApi.
|
|
2783
|
+
* @export
|
|
2784
|
+
* @interface UsersApiRemoveFavoritePlayerRequest
|
|
2785
|
+
*/
|
|
2786
|
+
export interface UsersApiRemoveFavoritePlayerRequest {
|
|
1041
2787
|
/**
|
|
1042
|
-
*
|
|
2788
|
+
*
|
|
1043
2789
|
* @type {string}
|
|
1044
|
-
* @memberof
|
|
2790
|
+
* @memberof UsersApiRemoveFavoritePlayer
|
|
1045
2791
|
*/
|
|
1046
|
-
|
|
2792
|
+
readonly favoritePlayerId: string;
|
|
2793
|
+
}
|
|
2794
|
+
/**
|
|
2795
|
+
* Request parameters for requestPasswordReset operation in UsersApi.
|
|
2796
|
+
* @export
|
|
2797
|
+
* @interface UsersApiRequestPasswordResetRequest
|
|
2798
|
+
*/
|
|
2799
|
+
export interface UsersApiRequestPasswordResetRequest {
|
|
1047
2800
|
/**
|
|
1048
|
-
*
|
|
1049
|
-
* @type {
|
|
1050
|
-
* @memberof
|
|
2801
|
+
*
|
|
2802
|
+
* @type {PasswordResetRequestBody}
|
|
2803
|
+
* @memberof UsersApiRequestPasswordReset
|
|
1051
2804
|
*/
|
|
1052
|
-
|
|
2805
|
+
readonly passwordResetRequestBody: PasswordResetRequestBody;
|
|
2806
|
+
}
|
|
2807
|
+
/**
|
|
2808
|
+
* Request parameters for resumeSubscription operation in UsersApi.
|
|
2809
|
+
* @export
|
|
2810
|
+
* @interface UsersApiResumeSubscriptionRequest
|
|
2811
|
+
*/
|
|
2812
|
+
export interface UsersApiResumeSubscriptionRequest {
|
|
1053
2813
|
/**
|
|
1054
|
-
*
|
|
2814
|
+
*
|
|
1055
2815
|
* @type {string}
|
|
1056
|
-
* @memberof
|
|
2816
|
+
* @memberof UsersApiResumeSubscription
|
|
1057
2817
|
*/
|
|
1058
|
-
|
|
2818
|
+
readonly clubId: string;
|
|
1059
2819
|
/**
|
|
1060
|
-
*
|
|
2820
|
+
*
|
|
1061
2821
|
* @type {string}
|
|
1062
|
-
* @memberof
|
|
2822
|
+
* @memberof UsersApiResumeSubscription
|
|
1063
2823
|
*/
|
|
1064
|
-
|
|
2824
|
+
readonly subscriptionId: string;
|
|
2825
|
+
}
|
|
2826
|
+
/**
|
|
2827
|
+
* Request parameters for setupPaymentMethod operation in UsersApi.
|
|
2828
|
+
* @export
|
|
2829
|
+
* @interface UsersApiSetupPaymentMethodRequest
|
|
2830
|
+
*/
|
|
2831
|
+
export interface UsersApiSetupPaymentMethodRequest {
|
|
1065
2832
|
/**
|
|
1066
|
-
*
|
|
1067
|
-
* @type {
|
|
1068
|
-
* @memberof
|
|
2833
|
+
*
|
|
2834
|
+
* @type {SetupPaymentMethodRequestBody}
|
|
2835
|
+
* @memberof UsersApiSetupPaymentMethod
|
|
1069
2836
|
*/
|
|
1070
|
-
|
|
2837
|
+
readonly setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody;
|
|
2838
|
+
}
|
|
2839
|
+
/**
|
|
2840
|
+
* Request parameters for signInOrSignUpWithGoogle operation in UsersApi.
|
|
2841
|
+
* @export
|
|
2842
|
+
* @interface UsersApiSignInOrSignUpWithGoogleRequest
|
|
2843
|
+
*/
|
|
2844
|
+
export interface UsersApiSignInOrSignUpWithGoogleRequest {
|
|
1071
2845
|
/**
|
|
1072
|
-
*
|
|
1073
|
-
* @type {
|
|
1074
|
-
* @memberof
|
|
2846
|
+
*
|
|
2847
|
+
* @type {GoogleAuthRequestBody}
|
|
2848
|
+
* @memberof UsersApiSignInOrSignUpWithGoogle
|
|
1075
2849
|
*/
|
|
1076
|
-
|
|
2850
|
+
readonly googleAuthRequestBody: GoogleAuthRequestBody;
|
|
2851
|
+
}
|
|
2852
|
+
/**
|
|
2853
|
+
* Request parameters for subscribeToClub operation in UsersApi.
|
|
2854
|
+
* @export
|
|
2855
|
+
* @interface UsersApiSubscribeToClubRequest
|
|
2856
|
+
*/
|
|
2857
|
+
export interface UsersApiSubscribeToClubRequest {
|
|
1077
2858
|
/**
|
|
1078
2859
|
*
|
|
1079
|
-
* @type {
|
|
1080
|
-
* @memberof
|
|
2860
|
+
* @type {SubscribeToClubRequestBody}
|
|
2861
|
+
* @memberof UsersApiSubscribeToClub
|
|
1081
2862
|
*/
|
|
1082
|
-
|
|
2863
|
+
readonly subscribeToClubRequestBody: SubscribeToClubRequestBody;
|
|
2864
|
+
}
|
|
2865
|
+
/**
|
|
2866
|
+
* Request parameters for updateCustomer operation in UsersApi.
|
|
2867
|
+
* @export
|
|
2868
|
+
* @interface UsersApiUpdateCustomerRequest
|
|
2869
|
+
*/
|
|
2870
|
+
export interface UsersApiUpdateCustomerRequest {
|
|
1083
2871
|
/**
|
|
1084
2872
|
*
|
|
1085
|
-
* @type {
|
|
1086
|
-
* @memberof
|
|
2873
|
+
* @type {UpdateCustomerRequestBody}
|
|
2874
|
+
* @memberof UsersApiUpdateCustomer
|
|
1087
2875
|
*/
|
|
1088
|
-
|
|
2876
|
+
readonly updateCustomerRequestBody: UpdateCustomerRequestBody;
|
|
1089
2877
|
}
|
|
1090
|
-
export declare const SubscriptionResponseStatusEnum: {
|
|
1091
|
-
readonly Active: "active";
|
|
1092
|
-
readonly Canceled: "canceled";
|
|
1093
|
-
readonly Incomplete: "incomplete";
|
|
1094
|
-
readonly IncompleteExpired: "incomplete_expired";
|
|
1095
|
-
readonly PastDue: "past_due";
|
|
1096
|
-
readonly Trialing: "trialing";
|
|
1097
|
-
readonly Unpaid: "unpaid";
|
|
1098
|
-
};
|
|
1099
|
-
export type SubscriptionResponseStatusEnum = typeof SubscriptionResponseStatusEnum[keyof typeof SubscriptionResponseStatusEnum];
|
|
1100
2878
|
/**
|
|
1101
|
-
*
|
|
2879
|
+
* Request parameters for updateLevelBySports operation in UsersApi.
|
|
1102
2880
|
* @export
|
|
1103
|
-
* @interface
|
|
2881
|
+
* @interface UsersApiUpdateLevelBySportsRequest
|
|
1104
2882
|
*/
|
|
1105
|
-
export interface
|
|
2883
|
+
export interface UsersApiUpdateLevelBySportsRequest {
|
|
1106
2884
|
/**
|
|
1107
2885
|
*
|
|
1108
|
-
* @type {
|
|
1109
|
-
* @memberof
|
|
2886
|
+
* @type {UpdateLevelBySportsRequestBody}
|
|
2887
|
+
* @memberof UsersApiUpdateLevelBySports
|
|
1110
2888
|
*/
|
|
1111
|
-
|
|
2889
|
+
readonly updateLevelBySportsRequestBody: UpdateLevelBySportsRequestBody;
|
|
2890
|
+
}
|
|
2891
|
+
/**
|
|
2892
|
+
* Request parameters for updateMe operation in UsersApi.
|
|
2893
|
+
* @export
|
|
2894
|
+
* @interface UsersApiUpdateMeRequest
|
|
2895
|
+
*/
|
|
2896
|
+
export interface UsersApiUpdateMeRequest {
|
|
1112
2897
|
/**
|
|
1113
2898
|
*
|
|
1114
|
-
* @type {
|
|
1115
|
-
* @memberof
|
|
2899
|
+
* @type {UpdateUserRequestBody}
|
|
2900
|
+
* @memberof UsersApiUpdateMe
|
|
1116
2901
|
*/
|
|
1117
|
-
|
|
2902
|
+
readonly updateUserRequestBody: UpdateUserRequestBody;
|
|
2903
|
+
}
|
|
2904
|
+
/**
|
|
2905
|
+
* Request parameters for updateProfilePicture operation in UsersApi.
|
|
2906
|
+
* @export
|
|
2907
|
+
* @interface UsersApiUpdateProfilePictureRequest
|
|
2908
|
+
*/
|
|
2909
|
+
export interface UsersApiUpdateProfilePictureRequest {
|
|
1118
2910
|
/**
|
|
1119
2911
|
*
|
|
1120
|
-
* @type {
|
|
1121
|
-
* @memberof
|
|
2912
|
+
* @type {ProfilePictureUpdateRequestBody}
|
|
2913
|
+
* @memberof UsersApiUpdateProfilePicture
|
|
1122
2914
|
*/
|
|
1123
|
-
|
|
2915
|
+
readonly profilePictureUpdateRequestBody: ProfilePictureUpdateRequestBody;
|
|
2916
|
+
}
|
|
2917
|
+
/**
|
|
2918
|
+
* UsersApi - object-oriented interface
|
|
2919
|
+
* @export
|
|
2920
|
+
* @class UsersApi
|
|
2921
|
+
* @extends {BaseAPI}
|
|
2922
|
+
*/
|
|
2923
|
+
export declare class UsersApi extends BaseAPI {
|
|
1124
2924
|
/**
|
|
1125
2925
|
*
|
|
1126
|
-
* @
|
|
1127
|
-
* @
|
|
2926
|
+
* @param {UsersApiAddFavoriteClubRequest} requestParameters Request parameters.
|
|
2927
|
+
* @param {*} [options] Override http request option.
|
|
2928
|
+
* @throws {RequiredError}
|
|
2929
|
+
* @memberof UsersApi
|
|
1128
2930
|
*/
|
|
1129
|
-
|
|
2931
|
+
addFavoriteClub(requestParameters: UsersApiAddFavoriteClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoriteClubMutationResponse, any>>;
|
|
1130
2932
|
/**
|
|
1131
2933
|
*
|
|
1132
|
-
* @
|
|
1133
|
-
* @
|
|
2934
|
+
* @param {UsersApiAddFavoritePlayerRequest} requestParameters Request parameters.
|
|
2935
|
+
* @param {*} [options] Override http request option.
|
|
2936
|
+
* @throws {RequiredError}
|
|
2937
|
+
* @memberof UsersApi
|
|
1134
2938
|
*/
|
|
1135
|
-
|
|
2939
|
+
addFavoritePlayer(requestParameters: UsersApiAddFavoritePlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoritePlayerMutationResponse, any>>;
|
|
1136
2940
|
/**
|
|
1137
2941
|
*
|
|
1138
|
-
* @
|
|
1139
|
-
* @
|
|
2942
|
+
* @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
2943
|
+
* @param {*} [options] Override http request option.
|
|
2944
|
+
* @throws {RequiredError}
|
|
2945
|
+
* @memberof UsersApi
|
|
1140
2946
|
*/
|
|
1141
|
-
|
|
2947
|
+
addPaymentMethodSetup(requestParameters: UsersApiAddPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentMethodSetupResponse, any>>;
|
|
1142
2948
|
/**
|
|
1143
2949
|
*
|
|
1144
|
-
* @
|
|
1145
|
-
* @
|
|
2950
|
+
* @param {UsersApiCancelSubscriptionRequest} requestParameters Request parameters.
|
|
2951
|
+
* @param {*} [options] Override http request option.
|
|
2952
|
+
* @throws {RequiredError}
|
|
2953
|
+
* @memberof UsersApi
|
|
1146
2954
|
*/
|
|
1147
|
-
|
|
2955
|
+
cancelSubscription(requestParameters: UsersApiCancelSubscriptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionMutationResponse, any>>;
|
|
1148
2956
|
/**
|
|
1149
2957
|
*
|
|
1150
|
-
* @
|
|
1151
|
-
* @
|
|
2958
|
+
* @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
|
|
2959
|
+
* @param {*} [options] Override http request option.
|
|
2960
|
+
* @throws {RequiredError}
|
|
2961
|
+
* @memberof UsersApi
|
|
1152
2962
|
*/
|
|
1153
|
-
|
|
2963
|
+
changePassword(requestParameters: UsersApiChangePasswordRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChangePasswordResponse, any>>;
|
|
1154
2964
|
/**
|
|
1155
2965
|
*
|
|
1156
|
-
* @
|
|
1157
|
-
* @
|
|
2966
|
+
* @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
|
|
2967
|
+
* @param {*} [options] Override http request option.
|
|
2968
|
+
* @throws {RequiredError}
|
|
2969
|
+
* @memberof UsersApi
|
|
1158
2970
|
*/
|
|
1159
|
-
|
|
2971
|
+
confirmPaymentMethodSetup(requestParameters: UsersApiConfirmPaymentMethodSetupRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ConfirmPaymentMethodResponse, any>>;
|
|
1160
2972
|
/**
|
|
1161
2973
|
*
|
|
1162
|
-
* @
|
|
1163
|
-
* @
|
|
2974
|
+
* @param {*} [options] Override http request option.
|
|
2975
|
+
* @throws {RequiredError}
|
|
2976
|
+
* @memberof UsersApi
|
|
1164
2977
|
*/
|
|
1165
|
-
|
|
2978
|
+
getAllUsers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseUser[], any>>;
|
|
1166
2979
|
/**
|
|
1167
2980
|
*
|
|
1168
|
-
* @
|
|
1169
|
-
* @
|
|
2981
|
+
* @param {UsersApiGetBookingDetailRequest} requestParameters Request parameters.
|
|
2982
|
+
* @param {*} [options] Override http request option.
|
|
2983
|
+
* @throws {RequiredError}
|
|
2984
|
+
* @memberof UsersApi
|
|
1170
2985
|
*/
|
|
1171
|
-
|
|
2986
|
+
getBookingDetail(requestParameters: UsersApiGetBookingDetailRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingDetailResponse, any>>;
|
|
1172
2987
|
/**
|
|
1173
2988
|
*
|
|
1174
|
-
* @
|
|
1175
|
-
* @
|
|
2989
|
+
* @param {*} [options] Override http request option.
|
|
2990
|
+
* @throws {RequiredError}
|
|
2991
|
+
* @memberof UsersApi
|
|
1176
2992
|
*/
|
|
1177
|
-
|
|
2993
|
+
getFavoriteClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoriteClubsResponse, any>>;
|
|
1178
2994
|
/**
|
|
1179
2995
|
*
|
|
1180
|
-
* @
|
|
1181
|
-
* @
|
|
2996
|
+
* @param {*} [options] Override http request option.
|
|
2997
|
+
* @throws {RequiredError}
|
|
2998
|
+
* @memberof UsersApi
|
|
1182
2999
|
*/
|
|
1183
|
-
|
|
3000
|
+
getFavoritesPlayers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoritePlayersResponse, any>>;
|
|
1184
3001
|
/**
|
|
1185
3002
|
*
|
|
1186
|
-
* @
|
|
1187
|
-
* @
|
|
3003
|
+
* @param {*} [options] Override http request option.
|
|
3004
|
+
* @throws {RequiredError}
|
|
3005
|
+
* @memberof UsersApi
|
|
1188
3006
|
*/
|
|
1189
|
-
|
|
3007
|
+
getFrequentlyPlayedWith(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FrequentPlayer[], any>>;
|
|
1190
3008
|
/**
|
|
1191
3009
|
*
|
|
1192
|
-
* @
|
|
1193
|
-
* @
|
|
3010
|
+
* @param {*} [options] Override http request option.
|
|
3011
|
+
* @throws {RequiredError}
|
|
3012
|
+
* @memberof UsersApi
|
|
1194
3013
|
*/
|
|
1195
|
-
|
|
3014
|
+
getFrequentlyVisitedClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FrequentClub[], any>>;
|
|
1196
3015
|
/**
|
|
1197
3016
|
*
|
|
1198
|
-
* @
|
|
1199
|
-
* @
|
|
3017
|
+
* @param {*} [options] Override http request option.
|
|
3018
|
+
* @throws {RequiredError}
|
|
3019
|
+
* @memberof UsersApi
|
|
1200
3020
|
*/
|
|
1201
|
-
|
|
3021
|
+
getMe(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserProfileResponse, any>>;
|
|
1202
3022
|
/**
|
|
1203
3023
|
*
|
|
1204
|
-
* @
|
|
1205
|
-
* @
|
|
3024
|
+
* @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
|
|
3025
|
+
* @param {*} [options] Override http request option.
|
|
3026
|
+
* @throws {RequiredError}
|
|
3027
|
+
* @memberof UsersApi
|
|
1206
3028
|
*/
|
|
1207
|
-
|
|
3029
|
+
getNearestClubs(requestParameters?: UsersApiGetNearestClubsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
3030
|
+
[key: string]: any;
|
|
3031
|
+
}[], any>>;
|
|
1208
3032
|
/**
|
|
1209
3033
|
*
|
|
1210
|
-
* @
|
|
1211
|
-
* @
|
|
3034
|
+
* @param {UsersApiGetNearestClubsFromCoordinatesRequest} requestParameters Request parameters.
|
|
3035
|
+
* @param {*} [options] Override http request option.
|
|
3036
|
+
* @throws {RequiredError}
|
|
3037
|
+
* @memberof UsersApi
|
|
1212
3038
|
*/
|
|
1213
|
-
|
|
3039
|
+
getNearestClubsFromCoordinates(requestParameters?: UsersApiGetNearestClubsFromCoordinatesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
3040
|
+
[key: string]: any;
|
|
3041
|
+
}[], any>>;
|
|
1214
3042
|
/**
|
|
1215
3043
|
*
|
|
1216
|
-
* @
|
|
1217
|
-
* @
|
|
3044
|
+
* @param {UsersApiGetNearestUsersRequest} requestParameters Request parameters.
|
|
3045
|
+
* @param {*} [options] Override http request option.
|
|
3046
|
+
* @throws {RequiredError}
|
|
3047
|
+
* @memberof UsersApi
|
|
1218
3048
|
*/
|
|
1219
|
-
|
|
3049
|
+
getNearestUsers(requestParameters?: UsersApiGetNearestUsersRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
3050
|
+
[key: string]: any;
|
|
3051
|
+
}[], any>>;
|
|
1220
3052
|
/**
|
|
1221
3053
|
*
|
|
1222
|
-
* @
|
|
1223
|
-
* @
|
|
3054
|
+
* @param {UsersApiGetNearestUsersFromCoordinatesRequest} requestParameters Request parameters.
|
|
3055
|
+
* @param {*} [options] Override http request option.
|
|
3056
|
+
* @throws {RequiredError}
|
|
3057
|
+
* @memberof UsersApi
|
|
1224
3058
|
*/
|
|
1225
|
-
|
|
3059
|
+
getNearestUsersFromCoordinates(requestParameters?: UsersApiGetNearestUsersFromCoordinatesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
3060
|
+
[key: string]: any;
|
|
3061
|
+
}[], any>>;
|
|
1226
3062
|
/**
|
|
1227
3063
|
*
|
|
1228
|
-
* @
|
|
1229
|
-
* @
|
|
3064
|
+
* @param {UsersApiGetUserBookingsRequest} requestParameters Request parameters.
|
|
3065
|
+
* @param {*} [options] Override http request option.
|
|
3066
|
+
* @throws {RequiredError}
|
|
3067
|
+
* @memberof UsersApi
|
|
1230
3068
|
*/
|
|
1231
|
-
|
|
3069
|
+
getUserBookings(requestParameters?: UsersApiGetUserBookingsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingSummary[], any>>;
|
|
1232
3070
|
/**
|
|
1233
3071
|
*
|
|
1234
|
-
* @
|
|
1235
|
-
* @
|
|
3072
|
+
* @param {UsersApiGetUserProfileByIdRequest} requestParameters Request parameters.
|
|
3073
|
+
* @param {*} [options] Override http request option.
|
|
3074
|
+
* @throws {RequiredError}
|
|
3075
|
+
* @memberof UsersApi
|
|
1236
3076
|
*/
|
|
1237
|
-
|
|
3077
|
+
getUserProfileById(requestParameters: UsersApiGetUserProfileByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseUser, any>>;
|
|
1238
3078
|
/**
|
|
1239
3079
|
*
|
|
1240
|
-
* @
|
|
1241
|
-
* @
|
|
3080
|
+
* @param {UsersApiGetUserProfileStaffRequest} requestParameters Request parameters.
|
|
3081
|
+
* @param {*} [options] Override http request option.
|
|
3082
|
+
* @throws {RequiredError}
|
|
3083
|
+
* @memberof UsersApi
|
|
1242
3084
|
*/
|
|
1243
|
-
|
|
3085
|
+
getUserProfileStaff(requestParameters: UsersApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any>>;
|
|
1244
3086
|
/**
|
|
1245
3087
|
*
|
|
1246
|
-
* @
|
|
1247
|
-
* @
|
|
3088
|
+
* @param {*} [options] Override http request option.
|
|
3089
|
+
* @throws {RequiredError}
|
|
3090
|
+
* @memberof UsersApi
|
|
1248
3091
|
*/
|
|
1249
|
-
|
|
3092
|
+
getUserRolesInClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserRolesResponse, any>>;
|
|
1250
3093
|
/**
|
|
1251
3094
|
*
|
|
1252
|
-
* @
|
|
1253
|
-
* @
|
|
3095
|
+
* @param {*} [options] Override http request option.
|
|
3096
|
+
* @throws {RequiredError}
|
|
3097
|
+
* @memberof UsersApi
|
|
1254
3098
|
*/
|
|
1255
|
-
|
|
3099
|
+
getUserSubscriptions(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserSubscriptionsResponse, any>>;
|
|
1256
3100
|
/**
|
|
1257
3101
|
*
|
|
1258
|
-
* @
|
|
1259
|
-
* @
|
|
3102
|
+
* @param {UsersApiInitiateSubscriptionSessionRequest} requestParameters Request parameters.
|
|
3103
|
+
* @param {*} [options] Override http request option.
|
|
3104
|
+
* @throws {RequiredError}
|
|
3105
|
+
* @memberof UsersApi
|
|
1260
3106
|
*/
|
|
1261
|
-
|
|
3107
|
+
initiateSubscriptionSession(requestParameters: UsersApiInitiateSubscriptionSessionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionSessionResponse, any>>;
|
|
1262
3108
|
/**
|
|
1263
3109
|
*
|
|
1264
|
-
* @
|
|
1265
|
-
* @
|
|
3110
|
+
* @param {UsersApiLoginRequest} requestParameters Request parameters.
|
|
3111
|
+
* @param {*} [options] Override http request option.
|
|
3112
|
+
* @throws {RequiredError}
|
|
3113
|
+
* @memberof UsersApi
|
|
1266
3114
|
*/
|
|
1267
|
-
|
|
3115
|
+
login(requestParameters: UsersApiLoginRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LoginResponse, any>>;
|
|
1268
3116
|
/**
|
|
1269
3117
|
*
|
|
1270
|
-
* @
|
|
1271
|
-
* @
|
|
3118
|
+
* @param {UsersApiRefreshTokenRequest} requestParameters Request parameters.
|
|
3119
|
+
* @param {*} [options] Override http request option.
|
|
3120
|
+
* @throws {RequiredError}
|
|
3121
|
+
* @memberof UsersApi
|
|
1272
3122
|
*/
|
|
1273
|
-
|
|
3123
|
+
refreshToken(requestParameters: UsersApiRefreshTokenRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RefreshTokenResponse, any>>;
|
|
1274
3124
|
/**
|
|
1275
3125
|
*
|
|
1276
|
-
* @
|
|
1277
|
-
* @
|
|
3126
|
+
* @param {UsersApiRegisterRequest} requestParameters Request parameters.
|
|
3127
|
+
* @param {*} [options] Override http request option.
|
|
3128
|
+
* @throws {RequiredError}
|
|
3129
|
+
* @memberof UsersApi
|
|
1278
3130
|
*/
|
|
1279
|
-
|
|
3131
|
+
register(requestParameters: UsersApiRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseUser, any>>;
|
|
1280
3132
|
/**
|
|
1281
3133
|
*
|
|
1282
|
-
* @
|
|
1283
|
-
* @
|
|
3134
|
+
* @param {UsersApiRemoveFavoriteClubRequest} requestParameters Request parameters.
|
|
3135
|
+
* @param {*} [options] Override http request option.
|
|
3136
|
+
* @throws {RequiredError}
|
|
3137
|
+
* @memberof UsersApi
|
|
1284
3138
|
*/
|
|
1285
|
-
|
|
1286
|
-
}
|
|
1287
|
-
/**
|
|
1288
|
-
*
|
|
1289
|
-
* @export
|
|
1290
|
-
* @interface UserResponseFrequentlyPlayedWithInner
|
|
1291
|
-
*/
|
|
1292
|
-
export interface UserResponseFrequentlyPlayedWithInner {
|
|
3139
|
+
removeFavoriteClub(requestParameters: UsersApiRemoveFavoriteClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoriteClubMutationResponse, any>>;
|
|
1293
3140
|
/**
|
|
1294
3141
|
*
|
|
1295
|
-
* @
|
|
1296
|
-
* @
|
|
3142
|
+
* @param {UsersApiRemoveFavoritePlayerRequest} requestParameters Request parameters.
|
|
3143
|
+
* @param {*} [options] Override http request option.
|
|
3144
|
+
* @throws {RequiredError}
|
|
3145
|
+
* @memberof UsersApi
|
|
1297
3146
|
*/
|
|
1298
|
-
|
|
3147
|
+
removeFavoritePlayer(requestParameters: UsersApiRemoveFavoritePlayerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<FavoritePlayerMutationResponse, any>>;
|
|
1299
3148
|
/**
|
|
1300
3149
|
*
|
|
1301
|
-
* @
|
|
1302
|
-
* @
|
|
3150
|
+
* @param {UsersApiRequestPasswordResetRequest} requestParameters Request parameters.
|
|
3151
|
+
* @param {*} [options] Override http request option.
|
|
3152
|
+
* @throws {RequiredError}
|
|
3153
|
+
* @memberof UsersApi
|
|
1303
3154
|
*/
|
|
1304
|
-
|
|
3155
|
+
requestPasswordReset(requestParameters: UsersApiRequestPasswordResetRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1305
3156
|
/**
|
|
1306
3157
|
*
|
|
1307
|
-
* @
|
|
1308
|
-
* @
|
|
3158
|
+
* @param {UsersApiResumeSubscriptionRequest} requestParameters Request parameters.
|
|
3159
|
+
* @param {*} [options] Override http request option.
|
|
3160
|
+
* @throws {RequiredError}
|
|
3161
|
+
* @memberof UsersApi
|
|
1309
3162
|
*/
|
|
1310
|
-
|
|
3163
|
+
resumeSubscription(requestParameters: UsersApiResumeSubscriptionRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SubscriptionMutationResponse, any>>;
|
|
1311
3164
|
/**
|
|
1312
3165
|
*
|
|
1313
|
-
* @
|
|
1314
|
-
* @
|
|
3166
|
+
* @param {UsersApiSetupPaymentMethodRequest} requestParameters Request parameters.
|
|
3167
|
+
* @param {*} [options] Override http request option.
|
|
3168
|
+
* @throws {RequiredError}
|
|
3169
|
+
* @memberof UsersApi
|
|
1315
3170
|
*/
|
|
1316
|
-
|
|
3171
|
+
setupPaymentMethod(requestParameters: UsersApiSetupPaymentMethodRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SetupPaymentMethodResponse, any>>;
|
|
1317
3172
|
/**
|
|
1318
3173
|
*
|
|
1319
|
-
* @
|
|
1320
|
-
* @
|
|
3174
|
+
* @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
|
|
3175
|
+
* @param {*} [options] Override http request option.
|
|
3176
|
+
* @throws {RequiredError}
|
|
3177
|
+
* @memberof UsersApi
|
|
1321
3178
|
*/
|
|
1322
|
-
|
|
1323
|
-
}
|
|
1324
|
-
/**
|
|
1325
|
-
*
|
|
1326
|
-
* @export
|
|
1327
|
-
* @interface UserResponseFrequentlyVisitedClubsInner
|
|
1328
|
-
*/
|
|
1329
|
-
export interface UserResponseFrequentlyVisitedClubsInner {
|
|
3179
|
+
signInOrSignUpWithGoogle(requestParameters: UsersApiSignInOrSignUpWithGoogleRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GoogleAuthResponse, any>>;
|
|
1330
3180
|
/**
|
|
1331
3181
|
*
|
|
1332
|
-
* @
|
|
1333
|
-
* @
|
|
3182
|
+
* @param {UsersApiSubscribeToClubRequest} requestParameters Request parameters.
|
|
3183
|
+
* @param {*} [options] Override http request option.
|
|
3184
|
+
* @throws {RequiredError}
|
|
3185
|
+
* @memberof UsersApi
|
|
1334
3186
|
*/
|
|
1335
|
-
|
|
3187
|
+
subscribeToClub(requestParameters: UsersApiSubscribeToClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
|
|
3188
|
+
[key: string]: any;
|
|
3189
|
+
}, any>>;
|
|
1336
3190
|
/**
|
|
1337
3191
|
*
|
|
1338
|
-
* @
|
|
1339
|
-
* @
|
|
3192
|
+
* @param {UsersApiUpdateCustomerRequest} requestParameters Request parameters.
|
|
3193
|
+
* @param {*} [options] Override http request option.
|
|
3194
|
+
* @throws {RequiredError}
|
|
3195
|
+
* @memberof UsersApi
|
|
1340
3196
|
*/
|
|
1341
|
-
|
|
3197
|
+
updateCustomer(requestParameters: UsersApiUpdateCustomerRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCustomerResponse, any>>;
|
|
1342
3198
|
/**
|
|
1343
3199
|
*
|
|
1344
|
-
* @
|
|
1345
|
-
* @
|
|
3200
|
+
* @param {UsersApiUpdateLevelBySportsRequest} requestParameters Request parameters.
|
|
3201
|
+
* @param {*} [options] Override http request option.
|
|
3202
|
+
* @throws {RequiredError}
|
|
3203
|
+
* @memberof UsersApi
|
|
1346
3204
|
*/
|
|
1347
|
-
|
|
1348
|
-
}
|
|
1349
|
-
/**
|
|
1350
|
-
*
|
|
1351
|
-
* @export
|
|
1352
|
-
* @interface UserResponseLevelBySportsInner
|
|
1353
|
-
*/
|
|
1354
|
-
export interface UserResponseLevelBySportsInner {
|
|
3205
|
+
updateLevelBySports(requestParameters: UsersApiUpdateLevelBySportsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BaseUser, any>>;
|
|
1355
3206
|
/**
|
|
1356
3207
|
*
|
|
1357
|
-
* @
|
|
1358
|
-
* @
|
|
3208
|
+
* @param {UsersApiUpdateMeRequest} requestParameters Request parameters.
|
|
3209
|
+
* @param {*} [options] Override http request option.
|
|
3210
|
+
* @throws {RequiredError}
|
|
3211
|
+
* @memberof UsersApi
|
|
1359
3212
|
*/
|
|
1360
|
-
|
|
3213
|
+
updateMe(requestParameters: UsersApiUpdateMeRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserProfileResponse, any>>;
|
|
1361
3214
|
/**
|
|
1362
3215
|
*
|
|
1363
|
-
* @
|
|
1364
|
-
* @
|
|
3216
|
+
* @param {UsersApiUpdateProfilePictureRequest} requestParameters Request parameters.
|
|
3217
|
+
* @param {*} [options] Override http request option.
|
|
3218
|
+
* @throws {RequiredError}
|
|
3219
|
+
* @memberof UsersApi
|
|
1365
3220
|
*/
|
|
1366
|
-
|
|
3221
|
+
updateProfilePicture(requestParameters: UsersApiUpdateProfilePictureRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ProfilePictureResponse, any>>;
|
|
1367
3222
|
}
|