@tennac-booking/sdk 1.0.89 → 1.0.91
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 +249 -247
- package/README.md +3 -0
- package/api.ts +130 -0
- package/dist/api.d.ts +227 -134
- package/dist/api.js +58 -0
- package/dist/esm/api.d.ts +227 -134
- package/dist/esm/api.js +58 -0
- package/docs/UserClubMembership.md +34 -0
- package/docs/UserClubMembershipsResponse.md +20 -0
- package/docs/UsersApi.md +46 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -1,247 +1,249 @@
|
|
|
1
|
-
.gitignore
|
|
2
|
-
.npmignore
|
|
3
|
-
.openapi-generator-ignore
|
|
4
|
-
README.md
|
|
5
|
-
api.ts
|
|
6
|
-
base.ts
|
|
7
|
-
common.ts
|
|
8
|
-
configuration.ts
|
|
9
|
-
docs/AddClubMember201Response.md
|
|
10
|
-
docs/AddClubMemberRequest.md
|
|
11
|
-
docs/AddCreditsToCustomer200Response.md
|
|
12
|
-
docs/AddCreditsToCustomerRequest.md
|
|
13
|
-
docs/AddOrganizationRequest.md
|
|
14
|
-
docs/BookingAnalyticsResponse.md
|
|
15
|
-
docs/BookingClubInfo.md
|
|
16
|
-
docs/BookingCourtInfo.md
|
|
17
|
-
docs/BookingHistoryPopulated.md
|
|
18
|
-
docs/BookingInfo.md
|
|
19
|
-
docs/BookingPaymentStatus.md
|
|
20
|
-
docs/BookingPaymentStatusResponse.md
|
|
21
|
-
docs/BookingPaymentStatusResponseBooking.md
|
|
22
|
-
docs/BookingPaymentStatusResponseSummary.md
|
|
23
|
-
docs/BookingPlayerPaymentSummary.md
|
|
24
|
-
docs/BookingPopulated.md
|
|
25
|
-
docs/BookingPriceBody.md
|
|
26
|
-
docs/BookingPriceResponse.md
|
|
27
|
-
docs/BookingResponse.md
|
|
28
|
-
docs/BookingResponseOnsitePaymentsInner.md
|
|
29
|
-
docs/BookingSlotInfo.md
|
|
30
|
-
docs/BookingSportInfo.md
|
|
31
|
-
docs/BookingStatus.md
|
|
32
|
-
docs/BookingSummary.md
|
|
33
|
-
docs/BookingSummaryClubAddress.md
|
|
34
|
-
docs/BookingsApi.md
|
|
35
|
-
docs/BookingsManagerApi.md
|
|
36
|
-
docs/BookingsStaffApi.md
|
|
37
|
-
docs/BookingsUserApi.md
|
|
38
|
-
docs/CancelBookingResponse.md
|
|
39
|
-
docs/CaptureResult.md
|
|
40
|
-
docs/ChangePasswordRequestBody.md
|
|
41
|
-
docs/ChangePasswordResponse.md
|
|
42
|
-
docs/CheckInPlayersRequest.md
|
|
43
|
-
docs/CheckInPlayersResponse.md
|
|
44
|
-
docs/CheckedInPlayer.md
|
|
45
|
-
docs/ClubAnalyticsApi.md
|
|
46
|
-
docs/ClubAnalyticsStaffApi.md
|
|
47
|
-
docs/ClubMemberResponse.md
|
|
48
|
-
docs/ClubMemberResponseUser.md
|
|
49
|
-
docs/ClubPlayerResponse.md
|
|
50
|
-
docs/ClubResponse.md
|
|
51
|
-
docs/ClubResponseCreatedAt.md
|
|
52
|
-
docs/ClubResponseLocation.md
|
|
53
|
-
docs/ClubResponseLocationCoordinates.md
|
|
54
|
-
docs/ClubResponseUpdatedAt.md
|
|
55
|
-
docs/ClubRoleResponse.md
|
|
56
|
-
docs/ClubRolesManagerApi.md
|
|
57
|
-
docs/ClubRolesStaffApi.md
|
|
58
|
-
docs/ClubSettingsManagerApi.md
|
|
59
|
-
docs/ClubSettingsResponse.md
|
|
60
|
-
docs/ClubSubscriptions.md
|
|
61
|
-
docs/ClubSummary.md
|
|
62
|
-
docs/ClubUserCountResponse.md
|
|
63
|
-
docs/ClubsApi.md
|
|
64
|
-
docs/ClubsManagerApi.md
|
|
65
|
-
docs/ClubsStaffApi.md
|
|
66
|
-
docs/CourtInfo.md
|
|
67
|
-
docs/CourtResponse.md
|
|
68
|
-
docs/CourtStatus.md
|
|
69
|
-
docs/CreateBookingRequest.md
|
|
70
|
-
docs/CreateClubRequest.md
|
|
71
|
-
docs/CreateClubRoleRequest.md
|
|
72
|
-
docs/CreateClubSettingsRequest.md
|
|
73
|
-
docs/CreateCourtForClub201Response.md
|
|
74
|
-
docs/CreateCourtRequest.md
|
|
75
|
-
docs/CreateEventRequest.md
|
|
76
|
-
docs/CreatePlan201Response.md
|
|
77
|
-
docs/CreateSportForClub201Response.md
|
|
78
|
-
docs/CreateSportForClubRequest.md
|
|
79
|
-
docs/CreateSportRequest.md
|
|
80
|
-
docs/CreateSubscriptionPlanRequest.md
|
|
81
|
-
docs/CreateSubscriptionPlanRequestDiscount.md
|
|
82
|
-
docs/CreatorChargeResult.md
|
|
83
|
-
docs/DailyTurnoverResponse.md
|
|
84
|
-
docs/DefaultApi.md
|
|
85
|
-
docs/DeleteClubRoleResponse.md
|
|
86
|
-
docs/DeleteClubSettingsResponse.md
|
|
87
|
-
docs/DeleteCourtResponse.md
|
|
88
|
-
docs/DeleteEventResponse.md
|
|
89
|
-
docs/DeleteSportResponse.md
|
|
90
|
-
docs/DeleteSubscriptionPlanResponse.md
|
|
91
|
-
docs/DiscountType.md
|
|
92
|
-
docs/EventResponse.md
|
|
93
|
-
docs/EventResponseCourtsInner.md
|
|
94
|
-
docs/EventsApi.md
|
|
95
|
-
docs/EventsListResponse.md
|
|
96
|
-
docs/EventsManagerApi.md
|
|
97
|
-
docs/EventsStaffApi.md
|
|
98
|
-
docs/FavoriteClubMutationResponse.md
|
|
99
|
-
docs/FavoriteClubRequestBody.md
|
|
100
|
-
docs/FavoriteClubsResponse.md
|
|
101
|
-
docs/FavoritePlayerMutationResponse.md
|
|
102
|
-
docs/FavoritePlayerRequestBody.md
|
|
103
|
-
docs/FavoritePlayersResponse.md
|
|
104
|
-
docs/Gender.md
|
|
105
|
-
docs/GenderPercentageResponse.md
|
|
106
|
-
docs/GetActualities200Response.md
|
|
107
|
-
docs/GetAvailableSlotsBySports200Response.md
|
|
108
|
-
docs/GetClubMembers200Response.md
|
|
109
|
-
docs/GetClubRoles200Response.md
|
|
110
|
-
docs/GetClubUsersById200Response.md
|
|
111
|
-
docs/GetClubsWithVerificationDomains200ResponseInner.md
|
|
112
|
-
docs/GetCourtsByClubAndSportById200Response.md
|
|
113
|
-
docs/GetInfillPercentagePerPeriod200Response.md
|
|
114
|
-
docs/GetSlotsByClubById200Response.md
|
|
115
|
-
docs/GoogleAuthRequestBody.md
|
|
116
|
-
docs/GoogleAuthResponse.md
|
|
117
|
-
docs/GoogleAuthResponseUser.md
|
|
118
|
-
docs/ICourtData.md
|
|
119
|
-
docs/ILevelBySports.md
|
|
120
|
-
docs/IUserAttributes.md
|
|
121
|
-
docs/IUserAttributesOrganizationsInner.md
|
|
122
|
-
docs/IUserLocation.md
|
|
123
|
-
docs/InvoiceInfo.md
|
|
124
|
-
docs/InvoiceStatus.md
|
|
125
|
-
docs/JoinEventRequest.md
|
|
126
|
-
docs/JoinEventResponse.md
|
|
127
|
-
docs/LastSixMonthsTurnoverItem.md
|
|
128
|
-
docs/LevelBySportEntry.md
|
|
129
|
-
docs/LoginRequestBody.md
|
|
130
|
-
docs/LoginResponse.md
|
|
131
|
-
docs/ManagerCancelBookingRequest.md
|
|
132
|
-
docs/ManagerCancelBookingResponse.md
|
|
133
|
-
docs/MonthlyBreakdown.md
|
|
134
|
-
docs/MonthlyTurnoverResponse.md
|
|
135
|
-
docs/MyClubInfosResponse.md
|
|
136
|
-
docs/NoShowFeeResponse.md
|
|
137
|
-
docs/OffPeakRule.md
|
|
138
|
-
docs/PartialClubResponse.md
|
|
139
|
-
docs/PasswordResetRequestBody.md
|
|
140
|
-
docs/PaymentByPlayerInfo.md
|
|
141
|
-
docs/PaymentMethod.md
|
|
142
|
-
docs/PickIUserLocationExcludeKeyofIUserLocationType.md
|
|
143
|
-
docs/PlanInterval.md
|
|
144
|
-
docs/PlayerCategoriesResponse.md
|
|
145
|
-
docs/PlayerCategory.md
|
|
146
|
-
docs/PlayerCategoryId.md
|
|
147
|
-
docs/PlayerListResponse.md
|
|
148
|
-
docs/PlayerPaymentInfo.md
|
|
149
|
-
docs/PlayerPrice.md
|
|
150
|
-
docs/PlayerSummary.md
|
|
151
|
-
docs/PlayerWithPaymentMethod.md
|
|
152
|
-
docs/ProfilePictureResponse.md
|
|
153
|
-
docs/ProfilePictureUpdateRequestBody.md
|
|
154
|
-
docs/PublicSubscriptionPlanResponse.md
|
|
155
|
-
docs/PublicUserProfileResponse.md
|
|
156
|
-
docs/PublishEventResponse.md
|
|
157
|
-
docs/QuickReservationClubSport.md
|
|
158
|
-
docs/QuickReservationClubSummary.md
|
|
159
|
-
docs/QuickReservationClubSummaryLocation.md
|
|
160
|
-
docs/QuickReservationResponse.md
|
|
161
|
-
docs/QuickReservationSlotSummary.md
|
|
162
|
-
docs/RefreshTokenRequestBody.md
|
|
163
|
-
docs/RefreshTokenResponse.md
|
|
164
|
-
docs/RegisterRequestBody.md
|
|
165
|
-
docs/RegisterRequestBodyLocation.md
|
|
166
|
-
docs/RequestPasswordReset200Response.md
|
|
167
|
-
docs/ResetPasswordRequest.md
|
|
168
|
-
docs/SlotInfo.md
|
|
169
|
-
docs/SportAnalyticsResponse.md
|
|
170
|
-
docs/SportInfo.md
|
|
171
|
-
docs/SportKey.md
|
|
172
|
-
docs/SportLevel.md
|
|
173
|
-
docs/SportResponse.md
|
|
174
|
-
docs/SportWithLevels.md
|
|
175
|
-
docs/SportsManagerApi.md
|
|
176
|
-
docs/SportsPublicApi.md
|
|
177
|
-
docs/SportsStaffApi.md
|
|
178
|
-
docs/StaffUserProfileResponse.md
|
|
179
|
-
docs/StripeStripeDeletedProduct.md
|
|
180
|
-
docs/StripeStripePrice.md
|
|
181
|
-
docs/StripeStripePriceBillingScheme.md
|
|
182
|
-
docs/StripeStripePriceCurrencyOptions.md
|
|
183
|
-
docs/StripeStripePriceCurrencyOptionsCustomUnitAmount.md
|
|
184
|
-
docs/StripeStripePriceCurrencyOptionsTaxBehavior.md
|
|
185
|
-
docs/StripeStripePriceCurrencyOptionsTier.md
|
|
186
|
-
docs/StripeStripePriceCustomUnitAmount.md
|
|
187
|
-
docs/StripeStripePriceProduct.md
|
|
188
|
-
docs/StripeStripePriceRecurring.md
|
|
189
|
-
docs/StripeStripePriceRecurringInterval.md
|
|
190
|
-
docs/StripeStripePriceRecurringUsageType.md
|
|
191
|
-
docs/StripeStripePriceTaxBehavior.md
|
|
192
|
-
docs/StripeStripePriceTier.md
|
|
193
|
-
docs/StripeStripePriceTiersMode.md
|
|
194
|
-
docs/StripeStripePriceTransformQuantity.md
|
|
195
|
-
docs/StripeStripePriceTransformQuantityRound.md
|
|
196
|
-
docs/StripeStripePriceType.md
|
|
197
|
-
docs/StripeStripeProduct.md
|
|
198
|
-
docs/StripeStripeProductDefaultPrice.md
|
|
199
|
-
docs/StripeStripeProductMarketingFeature.md
|
|
200
|
-
docs/StripeStripeProductPackageDimensions.md
|
|
201
|
-
docs/StripeStripeProductTaxCode.md
|
|
202
|
-
docs/StripeStripeProductType.md
|
|
203
|
-
docs/StripeStripeResponseStripeStripePrice.md
|
|
204
|
-
docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md
|
|
205
|
-
docs/StripeStripeTaxCode.md
|
|
206
|
-
docs/SubscribeRequestBody.md
|
|
207
|
-
docs/SubscriberPrice.md
|
|
208
|
-
docs/SubscriptionInfo.md
|
|
209
|
-
docs/SubscriptionMutationResponse.md
|
|
210
|
-
docs/SubscriptionPlanResponse.md
|
|
211
|
-
docs/SubscriptionsManagerApi.md
|
|
212
|
-
docs/SubscriptionsPublicApi.md
|
|
213
|
-
docs/SubscriptionsStaffApi.md
|
|
214
|
-
docs/SubscriptionsUserApi.md
|
|
215
|
-
docs/SurfaceType.md
|
|
216
|
-
docs/Team.md
|
|
217
|
-
docs/UpdateActuality200Response.md
|
|
218
|
-
docs/UpdateClubRequest.md
|
|
219
|
-
docs/UpdateClubRequestLocation.md
|
|
220
|
-
docs/UpdateClubRequestLocationCoordinates.md
|
|
221
|
-
docs/UpdateClubRoleRequest.md
|
|
222
|
-
docs/UpdateClubSettingsRequest.md
|
|
223
|
-
docs/UpdateCustomerRequestBody.md
|
|
224
|
-
docs/UpdateCustomerResponse.md
|
|
225
|
-
docs/UpdateEventRequest.md
|
|
226
|
-
docs/UpdateLevelBySportsRequestBody.md
|
|
227
|
-
docs/UpdatePlanRequest.md
|
|
228
|
-
docs/UpdateSportRequest.md
|
|
229
|
-
docs/UpdateSubscriptionPlanForClub200Response.md
|
|
230
|
-
docs/UpdateUserRequestBody.md
|
|
231
|
-
docs/UpdateUserRequestBodyLevelBySportsInner.md
|
|
232
|
-
docs/UserApi.md
|
|
233
|
-
docs/UserBookingsResponse.md
|
|
234
|
-
docs/
|
|
235
|
-
docs/
|
|
236
|
-
docs/
|
|
237
|
-
docs/
|
|
238
|
-
docs/
|
|
239
|
-
docs/
|
|
240
|
-
docs/
|
|
241
|
-
docs/
|
|
242
|
-
docs/
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
1
|
+
.gitignore
|
|
2
|
+
.npmignore
|
|
3
|
+
.openapi-generator-ignore
|
|
4
|
+
README.md
|
|
5
|
+
api.ts
|
|
6
|
+
base.ts
|
|
7
|
+
common.ts
|
|
8
|
+
configuration.ts
|
|
9
|
+
docs/AddClubMember201Response.md
|
|
10
|
+
docs/AddClubMemberRequest.md
|
|
11
|
+
docs/AddCreditsToCustomer200Response.md
|
|
12
|
+
docs/AddCreditsToCustomerRequest.md
|
|
13
|
+
docs/AddOrganizationRequest.md
|
|
14
|
+
docs/BookingAnalyticsResponse.md
|
|
15
|
+
docs/BookingClubInfo.md
|
|
16
|
+
docs/BookingCourtInfo.md
|
|
17
|
+
docs/BookingHistoryPopulated.md
|
|
18
|
+
docs/BookingInfo.md
|
|
19
|
+
docs/BookingPaymentStatus.md
|
|
20
|
+
docs/BookingPaymentStatusResponse.md
|
|
21
|
+
docs/BookingPaymentStatusResponseBooking.md
|
|
22
|
+
docs/BookingPaymentStatusResponseSummary.md
|
|
23
|
+
docs/BookingPlayerPaymentSummary.md
|
|
24
|
+
docs/BookingPopulated.md
|
|
25
|
+
docs/BookingPriceBody.md
|
|
26
|
+
docs/BookingPriceResponse.md
|
|
27
|
+
docs/BookingResponse.md
|
|
28
|
+
docs/BookingResponseOnsitePaymentsInner.md
|
|
29
|
+
docs/BookingSlotInfo.md
|
|
30
|
+
docs/BookingSportInfo.md
|
|
31
|
+
docs/BookingStatus.md
|
|
32
|
+
docs/BookingSummary.md
|
|
33
|
+
docs/BookingSummaryClubAddress.md
|
|
34
|
+
docs/BookingsApi.md
|
|
35
|
+
docs/BookingsManagerApi.md
|
|
36
|
+
docs/BookingsStaffApi.md
|
|
37
|
+
docs/BookingsUserApi.md
|
|
38
|
+
docs/CancelBookingResponse.md
|
|
39
|
+
docs/CaptureResult.md
|
|
40
|
+
docs/ChangePasswordRequestBody.md
|
|
41
|
+
docs/ChangePasswordResponse.md
|
|
42
|
+
docs/CheckInPlayersRequest.md
|
|
43
|
+
docs/CheckInPlayersResponse.md
|
|
44
|
+
docs/CheckedInPlayer.md
|
|
45
|
+
docs/ClubAnalyticsApi.md
|
|
46
|
+
docs/ClubAnalyticsStaffApi.md
|
|
47
|
+
docs/ClubMemberResponse.md
|
|
48
|
+
docs/ClubMemberResponseUser.md
|
|
49
|
+
docs/ClubPlayerResponse.md
|
|
50
|
+
docs/ClubResponse.md
|
|
51
|
+
docs/ClubResponseCreatedAt.md
|
|
52
|
+
docs/ClubResponseLocation.md
|
|
53
|
+
docs/ClubResponseLocationCoordinates.md
|
|
54
|
+
docs/ClubResponseUpdatedAt.md
|
|
55
|
+
docs/ClubRoleResponse.md
|
|
56
|
+
docs/ClubRolesManagerApi.md
|
|
57
|
+
docs/ClubRolesStaffApi.md
|
|
58
|
+
docs/ClubSettingsManagerApi.md
|
|
59
|
+
docs/ClubSettingsResponse.md
|
|
60
|
+
docs/ClubSubscriptions.md
|
|
61
|
+
docs/ClubSummary.md
|
|
62
|
+
docs/ClubUserCountResponse.md
|
|
63
|
+
docs/ClubsApi.md
|
|
64
|
+
docs/ClubsManagerApi.md
|
|
65
|
+
docs/ClubsStaffApi.md
|
|
66
|
+
docs/CourtInfo.md
|
|
67
|
+
docs/CourtResponse.md
|
|
68
|
+
docs/CourtStatus.md
|
|
69
|
+
docs/CreateBookingRequest.md
|
|
70
|
+
docs/CreateClubRequest.md
|
|
71
|
+
docs/CreateClubRoleRequest.md
|
|
72
|
+
docs/CreateClubSettingsRequest.md
|
|
73
|
+
docs/CreateCourtForClub201Response.md
|
|
74
|
+
docs/CreateCourtRequest.md
|
|
75
|
+
docs/CreateEventRequest.md
|
|
76
|
+
docs/CreatePlan201Response.md
|
|
77
|
+
docs/CreateSportForClub201Response.md
|
|
78
|
+
docs/CreateSportForClubRequest.md
|
|
79
|
+
docs/CreateSportRequest.md
|
|
80
|
+
docs/CreateSubscriptionPlanRequest.md
|
|
81
|
+
docs/CreateSubscriptionPlanRequestDiscount.md
|
|
82
|
+
docs/CreatorChargeResult.md
|
|
83
|
+
docs/DailyTurnoverResponse.md
|
|
84
|
+
docs/DefaultApi.md
|
|
85
|
+
docs/DeleteClubRoleResponse.md
|
|
86
|
+
docs/DeleteClubSettingsResponse.md
|
|
87
|
+
docs/DeleteCourtResponse.md
|
|
88
|
+
docs/DeleteEventResponse.md
|
|
89
|
+
docs/DeleteSportResponse.md
|
|
90
|
+
docs/DeleteSubscriptionPlanResponse.md
|
|
91
|
+
docs/DiscountType.md
|
|
92
|
+
docs/EventResponse.md
|
|
93
|
+
docs/EventResponseCourtsInner.md
|
|
94
|
+
docs/EventsApi.md
|
|
95
|
+
docs/EventsListResponse.md
|
|
96
|
+
docs/EventsManagerApi.md
|
|
97
|
+
docs/EventsStaffApi.md
|
|
98
|
+
docs/FavoriteClubMutationResponse.md
|
|
99
|
+
docs/FavoriteClubRequestBody.md
|
|
100
|
+
docs/FavoriteClubsResponse.md
|
|
101
|
+
docs/FavoritePlayerMutationResponse.md
|
|
102
|
+
docs/FavoritePlayerRequestBody.md
|
|
103
|
+
docs/FavoritePlayersResponse.md
|
|
104
|
+
docs/Gender.md
|
|
105
|
+
docs/GenderPercentageResponse.md
|
|
106
|
+
docs/GetActualities200Response.md
|
|
107
|
+
docs/GetAvailableSlotsBySports200Response.md
|
|
108
|
+
docs/GetClubMembers200Response.md
|
|
109
|
+
docs/GetClubRoles200Response.md
|
|
110
|
+
docs/GetClubUsersById200Response.md
|
|
111
|
+
docs/GetClubsWithVerificationDomains200ResponseInner.md
|
|
112
|
+
docs/GetCourtsByClubAndSportById200Response.md
|
|
113
|
+
docs/GetInfillPercentagePerPeriod200Response.md
|
|
114
|
+
docs/GetSlotsByClubById200Response.md
|
|
115
|
+
docs/GoogleAuthRequestBody.md
|
|
116
|
+
docs/GoogleAuthResponse.md
|
|
117
|
+
docs/GoogleAuthResponseUser.md
|
|
118
|
+
docs/ICourtData.md
|
|
119
|
+
docs/ILevelBySports.md
|
|
120
|
+
docs/IUserAttributes.md
|
|
121
|
+
docs/IUserAttributesOrganizationsInner.md
|
|
122
|
+
docs/IUserLocation.md
|
|
123
|
+
docs/InvoiceInfo.md
|
|
124
|
+
docs/InvoiceStatus.md
|
|
125
|
+
docs/JoinEventRequest.md
|
|
126
|
+
docs/JoinEventResponse.md
|
|
127
|
+
docs/LastSixMonthsTurnoverItem.md
|
|
128
|
+
docs/LevelBySportEntry.md
|
|
129
|
+
docs/LoginRequestBody.md
|
|
130
|
+
docs/LoginResponse.md
|
|
131
|
+
docs/ManagerCancelBookingRequest.md
|
|
132
|
+
docs/ManagerCancelBookingResponse.md
|
|
133
|
+
docs/MonthlyBreakdown.md
|
|
134
|
+
docs/MonthlyTurnoverResponse.md
|
|
135
|
+
docs/MyClubInfosResponse.md
|
|
136
|
+
docs/NoShowFeeResponse.md
|
|
137
|
+
docs/OffPeakRule.md
|
|
138
|
+
docs/PartialClubResponse.md
|
|
139
|
+
docs/PasswordResetRequestBody.md
|
|
140
|
+
docs/PaymentByPlayerInfo.md
|
|
141
|
+
docs/PaymentMethod.md
|
|
142
|
+
docs/PickIUserLocationExcludeKeyofIUserLocationType.md
|
|
143
|
+
docs/PlanInterval.md
|
|
144
|
+
docs/PlayerCategoriesResponse.md
|
|
145
|
+
docs/PlayerCategory.md
|
|
146
|
+
docs/PlayerCategoryId.md
|
|
147
|
+
docs/PlayerListResponse.md
|
|
148
|
+
docs/PlayerPaymentInfo.md
|
|
149
|
+
docs/PlayerPrice.md
|
|
150
|
+
docs/PlayerSummary.md
|
|
151
|
+
docs/PlayerWithPaymentMethod.md
|
|
152
|
+
docs/ProfilePictureResponse.md
|
|
153
|
+
docs/ProfilePictureUpdateRequestBody.md
|
|
154
|
+
docs/PublicSubscriptionPlanResponse.md
|
|
155
|
+
docs/PublicUserProfileResponse.md
|
|
156
|
+
docs/PublishEventResponse.md
|
|
157
|
+
docs/QuickReservationClubSport.md
|
|
158
|
+
docs/QuickReservationClubSummary.md
|
|
159
|
+
docs/QuickReservationClubSummaryLocation.md
|
|
160
|
+
docs/QuickReservationResponse.md
|
|
161
|
+
docs/QuickReservationSlotSummary.md
|
|
162
|
+
docs/RefreshTokenRequestBody.md
|
|
163
|
+
docs/RefreshTokenResponse.md
|
|
164
|
+
docs/RegisterRequestBody.md
|
|
165
|
+
docs/RegisterRequestBodyLocation.md
|
|
166
|
+
docs/RequestPasswordReset200Response.md
|
|
167
|
+
docs/ResetPasswordRequest.md
|
|
168
|
+
docs/SlotInfo.md
|
|
169
|
+
docs/SportAnalyticsResponse.md
|
|
170
|
+
docs/SportInfo.md
|
|
171
|
+
docs/SportKey.md
|
|
172
|
+
docs/SportLevel.md
|
|
173
|
+
docs/SportResponse.md
|
|
174
|
+
docs/SportWithLevels.md
|
|
175
|
+
docs/SportsManagerApi.md
|
|
176
|
+
docs/SportsPublicApi.md
|
|
177
|
+
docs/SportsStaffApi.md
|
|
178
|
+
docs/StaffUserProfileResponse.md
|
|
179
|
+
docs/StripeStripeDeletedProduct.md
|
|
180
|
+
docs/StripeStripePrice.md
|
|
181
|
+
docs/StripeStripePriceBillingScheme.md
|
|
182
|
+
docs/StripeStripePriceCurrencyOptions.md
|
|
183
|
+
docs/StripeStripePriceCurrencyOptionsCustomUnitAmount.md
|
|
184
|
+
docs/StripeStripePriceCurrencyOptionsTaxBehavior.md
|
|
185
|
+
docs/StripeStripePriceCurrencyOptionsTier.md
|
|
186
|
+
docs/StripeStripePriceCustomUnitAmount.md
|
|
187
|
+
docs/StripeStripePriceProduct.md
|
|
188
|
+
docs/StripeStripePriceRecurring.md
|
|
189
|
+
docs/StripeStripePriceRecurringInterval.md
|
|
190
|
+
docs/StripeStripePriceRecurringUsageType.md
|
|
191
|
+
docs/StripeStripePriceTaxBehavior.md
|
|
192
|
+
docs/StripeStripePriceTier.md
|
|
193
|
+
docs/StripeStripePriceTiersMode.md
|
|
194
|
+
docs/StripeStripePriceTransformQuantity.md
|
|
195
|
+
docs/StripeStripePriceTransformQuantityRound.md
|
|
196
|
+
docs/StripeStripePriceType.md
|
|
197
|
+
docs/StripeStripeProduct.md
|
|
198
|
+
docs/StripeStripeProductDefaultPrice.md
|
|
199
|
+
docs/StripeStripeProductMarketingFeature.md
|
|
200
|
+
docs/StripeStripeProductPackageDimensions.md
|
|
201
|
+
docs/StripeStripeProductTaxCode.md
|
|
202
|
+
docs/StripeStripeProductType.md
|
|
203
|
+
docs/StripeStripeResponseStripeStripePrice.md
|
|
204
|
+
docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md
|
|
205
|
+
docs/StripeStripeTaxCode.md
|
|
206
|
+
docs/SubscribeRequestBody.md
|
|
207
|
+
docs/SubscriberPrice.md
|
|
208
|
+
docs/SubscriptionInfo.md
|
|
209
|
+
docs/SubscriptionMutationResponse.md
|
|
210
|
+
docs/SubscriptionPlanResponse.md
|
|
211
|
+
docs/SubscriptionsManagerApi.md
|
|
212
|
+
docs/SubscriptionsPublicApi.md
|
|
213
|
+
docs/SubscriptionsStaffApi.md
|
|
214
|
+
docs/SubscriptionsUserApi.md
|
|
215
|
+
docs/SurfaceType.md
|
|
216
|
+
docs/Team.md
|
|
217
|
+
docs/UpdateActuality200Response.md
|
|
218
|
+
docs/UpdateClubRequest.md
|
|
219
|
+
docs/UpdateClubRequestLocation.md
|
|
220
|
+
docs/UpdateClubRequestLocationCoordinates.md
|
|
221
|
+
docs/UpdateClubRoleRequest.md
|
|
222
|
+
docs/UpdateClubSettingsRequest.md
|
|
223
|
+
docs/UpdateCustomerRequestBody.md
|
|
224
|
+
docs/UpdateCustomerResponse.md
|
|
225
|
+
docs/UpdateEventRequest.md
|
|
226
|
+
docs/UpdateLevelBySportsRequestBody.md
|
|
227
|
+
docs/UpdatePlanRequest.md
|
|
228
|
+
docs/UpdateSportRequest.md
|
|
229
|
+
docs/UpdateSubscriptionPlanForClub200Response.md
|
|
230
|
+
docs/UpdateUserRequestBody.md
|
|
231
|
+
docs/UpdateUserRequestBodyLevelBySportsInner.md
|
|
232
|
+
docs/UserApi.md
|
|
233
|
+
docs/UserBookingsResponse.md
|
|
234
|
+
docs/UserClubMembership.md
|
|
235
|
+
docs/UserClubMembershipsResponse.md
|
|
236
|
+
docs/UserClubSubscription.md
|
|
237
|
+
docs/UserInfo.md
|
|
238
|
+
docs/UserLocationSummary.md
|
|
239
|
+
docs/UserProfileResponse.md
|
|
240
|
+
docs/UserRolesResponse.md
|
|
241
|
+
docs/UserSubscriptionsResponse.md
|
|
242
|
+
docs/UsersApi.md
|
|
243
|
+
docs/VerifyEmailRequest.md
|
|
244
|
+
docs/YearlyTurnoverResponse.md
|
|
245
|
+
git_push.sh
|
|
246
|
+
index.ts
|
|
247
|
+
package.json
|
|
248
|
+
tsconfig.esm.json
|
|
249
|
+
tsconfig.json
|
package/README.md
CHANGED
|
@@ -161,6 +161,7 @@ Class | Method | HTTP request | Description
|
|
|
161
161
|
*UsersApi* | [**getFrequentlyPlayedWith**](docs/UsersApi.md#getfrequentlyplayedwith) | **GET** /api/users/me/frequentlyPlayedWith |
|
|
162
162
|
*UsersApi* | [**getFrequentlyVisitedClub**](docs/UsersApi.md#getfrequentlyvisitedclub) | **GET** /api/users/me/frequentlyVisitedClub |
|
|
163
163
|
*UsersApi* | [**getMe**](docs/UsersApi.md#getme) | **GET** /api/users/me |
|
|
164
|
+
*UsersApi* | [**getMyClubMemberships**](docs/UsersApi.md#getmyclubmemberships) | **GET** /api/users/me/club-memberships |
|
|
164
165
|
*UsersApi* | [**getNearestClubs**](docs/UsersApi.md#getnearestclubs) | **GET** /api/users/me/nearest-clubs |
|
|
165
166
|
*UsersApi* | [**getNearestClubsFromCoordinates**](docs/UsersApi.md#getnearestclubsfromcoordinates) | **GET** /api/users/nearest-clubs/coordinates |
|
|
166
167
|
*UsersApi* | [**getNearestUsers**](docs/UsersApi.md#getnearestusers) | **GET** /api/users/me/nearest-players |
|
|
@@ -390,6 +391,8 @@ Class | Method | HTTP request | Description
|
|
|
390
391
|
- [UpdateUserRequestBody](docs/UpdateUserRequestBody.md)
|
|
391
392
|
- [UpdateUserRequestBodyLevelBySportsInner](docs/UpdateUserRequestBodyLevelBySportsInner.md)
|
|
392
393
|
- [UserBookingsResponse](docs/UserBookingsResponse.md)
|
|
394
|
+
- [UserClubMembership](docs/UserClubMembership.md)
|
|
395
|
+
- [UserClubMembershipsResponse](docs/UserClubMembershipsResponse.md)
|
|
393
396
|
- [UserClubSubscription](docs/UserClubSubscription.md)
|
|
394
397
|
- [UserInfo](docs/UserInfo.md)
|
|
395
398
|
- [UserLocationSummary](docs/UserLocationSummary.md)
|
package/api.ts
CHANGED
|
@@ -7695,6 +7695,74 @@ export interface UserBookingsResponse {
|
|
|
7695
7695
|
*/
|
|
7696
7696
|
'bookings': Array<BookingSummary>;
|
|
7697
7697
|
}
|
|
7698
|
+
/**
|
|
7699
|
+
*
|
|
7700
|
+
* @export
|
|
7701
|
+
* @interface UserClubMembership
|
|
7702
|
+
*/
|
|
7703
|
+
export interface UserClubMembership {
|
|
7704
|
+
/**
|
|
7705
|
+
*
|
|
7706
|
+
* @type {string}
|
|
7707
|
+
* @memberof UserClubMembership
|
|
7708
|
+
*/
|
|
7709
|
+
'clubId': string;
|
|
7710
|
+
/**
|
|
7711
|
+
*
|
|
7712
|
+
* @type {string}
|
|
7713
|
+
* @memberof UserClubMembership
|
|
7714
|
+
*/
|
|
7715
|
+
'clubName': string | null;
|
|
7716
|
+
/**
|
|
7717
|
+
*
|
|
7718
|
+
* @type {string}
|
|
7719
|
+
* @memberof UserClubMembership
|
|
7720
|
+
*/
|
|
7721
|
+
'clubPicture': string | null;
|
|
7722
|
+
/**
|
|
7723
|
+
*
|
|
7724
|
+
* @type {number}
|
|
7725
|
+
* @memberof UserClubMembership
|
|
7726
|
+
*/
|
|
7727
|
+
'bookingCount': number;
|
|
7728
|
+
/**
|
|
7729
|
+
*
|
|
7730
|
+
* @type {number}
|
|
7731
|
+
* @memberof UserClubMembership
|
|
7732
|
+
*/
|
|
7733
|
+
'credits': number;
|
|
7734
|
+
/**
|
|
7735
|
+
*
|
|
7736
|
+
* @type {string}
|
|
7737
|
+
* @memberof UserClubMembership
|
|
7738
|
+
*/
|
|
7739
|
+
'billingPortalUrl': string | null;
|
|
7740
|
+
/**
|
|
7741
|
+
*
|
|
7742
|
+
* @type {boolean}
|
|
7743
|
+
* @memberof UserClubMembership
|
|
7744
|
+
*/
|
|
7745
|
+
'hasActiveSubscription': boolean;
|
|
7746
|
+
/**
|
|
7747
|
+
*
|
|
7748
|
+
* @type {Array<UserClubSubscription>}
|
|
7749
|
+
* @memberof UserClubMembership
|
|
7750
|
+
*/
|
|
7751
|
+
'subscriptions': Array<UserClubSubscription>;
|
|
7752
|
+
}
|
|
7753
|
+
/**
|
|
7754
|
+
*
|
|
7755
|
+
* @export
|
|
7756
|
+
* @interface UserClubMembershipsResponse
|
|
7757
|
+
*/
|
|
7758
|
+
export interface UserClubMembershipsResponse {
|
|
7759
|
+
/**
|
|
7760
|
+
*
|
|
7761
|
+
* @type {Array<UserClubMembership>}
|
|
7762
|
+
* @memberof UserClubMembershipsResponse
|
|
7763
|
+
*/
|
|
7764
|
+
'clubs': Array<UserClubMembership>;
|
|
7765
|
+
}
|
|
7698
7766
|
/**
|
|
7699
7767
|
*
|
|
7700
7768
|
* @export
|
|
@@ -17596,6 +17664,39 @@ export const UsersApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
17596
17664
|
|
|
17597
17665
|
|
|
17598
17666
|
|
|
17667
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17668
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17669
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
17670
|
+
|
|
17671
|
+
return {
|
|
17672
|
+
url: toPathString(localVarUrlObj),
|
|
17673
|
+
options: localVarRequestOptions,
|
|
17674
|
+
};
|
|
17675
|
+
},
|
|
17676
|
+
/**
|
|
17677
|
+
* Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
|
|
17678
|
+
* @param {*} [options] Override http request option.
|
|
17679
|
+
* @throws {RequiredError}
|
|
17680
|
+
*/
|
|
17681
|
+
getMyClubMemberships: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
17682
|
+
const localVarPath = `/api/users/me/club-memberships`;
|
|
17683
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17684
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17685
|
+
let baseOptions;
|
|
17686
|
+
if (configuration) {
|
|
17687
|
+
baseOptions = configuration.baseOptions;
|
|
17688
|
+
}
|
|
17689
|
+
|
|
17690
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
17691
|
+
const localVarHeaderParameter = {} as any;
|
|
17692
|
+
const localVarQueryParameter = {} as any;
|
|
17693
|
+
|
|
17694
|
+
// authentication bearerAuth required
|
|
17695
|
+
// http bearer authentication required
|
|
17696
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
17697
|
+
|
|
17698
|
+
|
|
17699
|
+
|
|
17599
17700
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17600
17701
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17601
17702
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -18703,6 +18804,17 @@ export const UsersApiFp = function(configuration?: Configuration) {
|
|
|
18703
18804
|
const localVarOperationServerBasePath = operationServerMap['UsersApi.getMe']?.[localVarOperationServerIndex]?.url;
|
|
18704
18805
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18705
18806
|
},
|
|
18807
|
+
/**
|
|
18808
|
+
* Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
|
|
18809
|
+
* @param {*} [options] Override http request option.
|
|
18810
|
+
* @throws {RequiredError}
|
|
18811
|
+
*/
|
|
18812
|
+
async getMyClubMemberships(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserClubMembershipsResponse>> {
|
|
18813
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getMyClubMemberships(options);
|
|
18814
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18815
|
+
const localVarOperationServerBasePath = operationServerMap['UsersApi.getMyClubMemberships']?.[localVarOperationServerIndex]?.url;
|
|
18816
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18817
|
+
},
|
|
18706
18818
|
/**
|
|
18707
18819
|
*
|
|
18708
18820
|
* @param {number} [radiusInKm]
|
|
@@ -19110,6 +19222,14 @@ export const UsersApiFactory = function (configuration?: Configuration, basePath
|
|
|
19110
19222
|
getMe(options?: RawAxiosRequestConfig): AxiosPromise<UserProfileResponse> {
|
|
19111
19223
|
return localVarFp.getMe(options).then((request) => request(axios, basePath));
|
|
19112
19224
|
},
|
|
19225
|
+
/**
|
|
19226
|
+
* Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
|
|
19227
|
+
* @param {*} [options] Override http request option.
|
|
19228
|
+
* @throws {RequiredError}
|
|
19229
|
+
*/
|
|
19230
|
+
getMyClubMemberships(options?: RawAxiosRequestConfig): AxiosPromise<UserClubMembershipsResponse> {
|
|
19231
|
+
return localVarFp.getMyClubMemberships(options).then((request) => request(axios, basePath));
|
|
19232
|
+
},
|
|
19113
19233
|
/**
|
|
19114
19234
|
*
|
|
19115
19235
|
* @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
|
|
@@ -19953,6 +20073,16 @@ export class UsersApi extends BaseAPI {
|
|
|
19953
20073
|
return UsersApiFp(this.configuration).getMe(options).then((request) => request(this.axios, this.basePath));
|
|
19954
20074
|
}
|
|
19955
20075
|
|
|
20076
|
+
/**
|
|
20077
|
+
* Récupère les clubs associés à l\'utilisateur avec ses informations de paiement
|
|
20078
|
+
* @param {*} [options] Override http request option.
|
|
20079
|
+
* @throws {RequiredError}
|
|
20080
|
+
* @memberof UsersApi
|
|
20081
|
+
*/
|
|
20082
|
+
public getMyClubMemberships(options?: RawAxiosRequestConfig) {
|
|
20083
|
+
return UsersApiFp(this.configuration).getMyClubMemberships(options).then((request) => request(this.axios, this.basePath));
|
|
20084
|
+
}
|
|
20085
|
+
|
|
19956
20086
|
/**
|
|
19957
20087
|
*
|
|
19958
20088
|
* @param {UsersApiGetNearestClubsRequest} requestParameters Request parameters.
|