@tennac-booking/sdk 1.0.72 → 1.0.73
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 +240 -239
- package/README.md +1 -0
- package/api.ts +103 -0
- package/dist/api.d.ts +191 -134
- package/dist/api.js +94 -1
- package/dist/esm/api.d.ts +191 -134
- package/dist/esm/api.js +89 -0
- package/docs/SportsPublicApi.md +53 -0
- package/docs/UserProfileResponse.md +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -1,239 +1,240 @@
|
|
|
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/AddOrganizationRequest.md
|
|
12
|
-
docs/AddPaymentMethodRequestBody.md
|
|
13
|
-
docs/BookingAnalyticsResponse.md
|
|
14
|
-
docs/BookingDetailResponse.md
|
|
15
|
-
docs/BookingHistoryPopulated.md
|
|
16
|
-
docs/BookingInfo.md
|
|
17
|
-
docs/BookingPaymentStatusResponse.md
|
|
18
|
-
docs/BookingPaymentStatusResponseBooking.md
|
|
19
|
-
docs/BookingPaymentStatusResponseSummary.md
|
|
20
|
-
docs/BookingPopulated.md
|
|
21
|
-
docs/BookingPriceBody.md
|
|
22
|
-
docs/BookingResponse.md
|
|
23
|
-
docs/BookingResponseOnsitePaymentsInner.md
|
|
24
|
-
docs/BookingStatus.md
|
|
25
|
-
docs/BookingSummary.md
|
|
26
|
-
docs/BookingSummaryClubAddress.md
|
|
27
|
-
docs/BookingsApi.md
|
|
28
|
-
docs/BookingsManagerApi.md
|
|
29
|
-
docs/BookingsStaffApi.md
|
|
30
|
-
docs/BookingsUserApi.md
|
|
31
|
-
docs/CancelBookingResponse.md
|
|
32
|
-
docs/CaptureResult.md
|
|
33
|
-
docs/ChangePasswordRequestBody.md
|
|
34
|
-
docs/ChangePasswordResponse.md
|
|
35
|
-
docs/CheckInPlayersRequest.md
|
|
36
|
-
docs/CheckInPlayersResponse.md
|
|
37
|
-
docs/CheckedInPlayer.md
|
|
38
|
-
docs/ClubAnalyticsApi.md
|
|
39
|
-
docs/ClubAnalyticsStaffApi.md
|
|
40
|
-
docs/ClubMemberResponse.md
|
|
41
|
-
docs/ClubMemberResponseUser.md
|
|
42
|
-
docs/ClubPlayerResponse.md
|
|
43
|
-
docs/ClubResponse.md
|
|
44
|
-
docs/ClubResponseCreatedAt.md
|
|
45
|
-
docs/ClubResponseLocation.md
|
|
46
|
-
docs/ClubResponseLocationCoordinates.md
|
|
47
|
-
docs/ClubResponseUpdatedAt.md
|
|
48
|
-
docs/ClubRoleResponse.md
|
|
49
|
-
docs/ClubRolesManagerApi.md
|
|
50
|
-
docs/ClubRolesStaffApi.md
|
|
51
|
-
docs/ClubSettingsManagerApi.md
|
|
52
|
-
docs/ClubSettingsResponse.md
|
|
53
|
-
docs/ClubSubscriptions.md
|
|
54
|
-
docs/ClubSummary.md
|
|
55
|
-
docs/ClubUserCountResponse.md
|
|
56
|
-
docs/ClubsApi.md
|
|
57
|
-
docs/ClubsManagerApi.md
|
|
58
|
-
docs/ClubsStaffApi.md
|
|
59
|
-
docs/ConfirmPaymentMethodRequestBody.md
|
|
60
|
-
docs/ConfirmPaymentMethodResponse.md
|
|
61
|
-
docs/CourtInfo.md
|
|
62
|
-
docs/CourtResponse.md
|
|
63
|
-
docs/CourtStatus.md
|
|
64
|
-
docs/CreateBookingRequest.md
|
|
65
|
-
docs/CreateClubRequest.md
|
|
66
|
-
docs/CreateClubRoleRequest.md
|
|
67
|
-
docs/CreateClubSettingsRequest.md
|
|
68
|
-
docs/CreateCourtForClub201Response.md
|
|
69
|
-
docs/CreateCourtRequest.md
|
|
70
|
-
docs/CreateEventRequest.md
|
|
71
|
-
docs/CreatePlan201Response.md
|
|
72
|
-
docs/CreateSportForClub201Response.md
|
|
73
|
-
docs/CreateSportForClubRequest.md
|
|
74
|
-
docs/CreateSportRequest.md
|
|
75
|
-
docs/CreateSubscriptionPlanRequest.md
|
|
76
|
-
docs/CreateSubscriptionPlanRequestDiscount.md
|
|
77
|
-
docs/CreatorChargeResult.md
|
|
78
|
-
docs/DailyTurnoverResponse.md
|
|
79
|
-
docs/DefaultApi.md
|
|
80
|
-
docs/DeleteClubRoleResponse.md
|
|
81
|
-
docs/DeleteClubSettingsResponse.md
|
|
82
|
-
docs/DeleteCourtResponse.md
|
|
83
|
-
docs/DeleteEventResponse.md
|
|
84
|
-
docs/DeleteSportResponse.md
|
|
85
|
-
docs/DeleteSubscriptionPlanResponse.md
|
|
86
|
-
docs/DiscountType.md
|
|
87
|
-
docs/EventResponse.md
|
|
88
|
-
docs/EventResponseCourtsInner.md
|
|
89
|
-
docs/EventsApi.md
|
|
90
|
-
docs/EventsListResponse.md
|
|
91
|
-
docs/EventsManagerApi.md
|
|
92
|
-
docs/EventsStaffApi.md
|
|
93
|
-
docs/FavoriteClubMutationResponse.md
|
|
94
|
-
docs/FavoriteClubRequestBody.md
|
|
95
|
-
docs/FavoriteClubsResponse.md
|
|
96
|
-
docs/FavoritePlayerMutationResponse.md
|
|
97
|
-
docs/FavoritePlayerRequestBody.md
|
|
98
|
-
docs/FavoritePlayersResponse.md
|
|
99
|
-
docs/Gender.md
|
|
100
|
-
docs/GenderPercentageResponse.md
|
|
101
|
-
docs/GetActualities200Response.md
|
|
102
|
-
docs/GetAvailableSlotsBySports200Response.md
|
|
103
|
-
docs/GetClubMembers200Response.md
|
|
104
|
-
docs/GetClubRoles200Response.md
|
|
105
|
-
docs/GetClubUsersById200Response.md
|
|
106
|
-
docs/GetClubsWithVerificationDomains200ResponseInner.md
|
|
107
|
-
docs/GetCourtsByClubAndSportById200Response.md
|
|
108
|
-
docs/GetInfillPercentagePerPeriod200Response.md
|
|
109
|
-
docs/GetSlotsByClubById200Response.md
|
|
110
|
-
docs/GoogleAuthRequestBody.md
|
|
111
|
-
docs/GoogleAuthResponse.md
|
|
112
|
-
docs/GoogleAuthResponseUser.md
|
|
113
|
-
docs/ICourtData.md
|
|
114
|
-
docs/ILevelBySports.md
|
|
115
|
-
docs/IUserAttributes.md
|
|
116
|
-
docs/IUserAttributesOrganizationsInner.md
|
|
117
|
-
docs/IUserLocation.md
|
|
118
|
-
docs/InvoiceInfo.md
|
|
119
|
-
docs/JoinEventRequest.md
|
|
120
|
-
docs/JoinEventResponse.md
|
|
121
|
-
docs/LastSixMonthsTurnoverItem.md
|
|
122
|
-
docs/LevelBySportEntry.md
|
|
123
|
-
docs/LoginRequestBody.md
|
|
124
|
-
docs/LoginResponse.md
|
|
125
|
-
docs/ManagerCancelBookingRequest.md
|
|
126
|
-
docs/ManagerCancelBookingResponse.md
|
|
127
|
-
docs/MonthlyBreakdown.md
|
|
128
|
-
docs/MonthlyTurnoverResponse.md
|
|
129
|
-
docs/NoShowFeeResponse.md
|
|
130
|
-
docs/OffPeakRule.md
|
|
131
|
-
docs/PartialClubResponse.md
|
|
132
|
-
docs/PasswordResetRequestBody.md
|
|
133
|
-
docs/PaymentByPlayerInfo.md
|
|
134
|
-
docs/PaymentMethod.md
|
|
135
|
-
docs/PaymentMethodSetupResponse.md
|
|
136
|
-
docs/PickIUserLocationExcludeKeyofIUserLocationType.md
|
|
137
|
-
docs/PlanInterval.md
|
|
138
|
-
docs/PlayerCategoriesResponse.md
|
|
139
|
-
docs/PlayerCategory.md
|
|
140
|
-
docs/PlayerCategoryId.md
|
|
141
|
-
docs/PlayerListResponse.md
|
|
142
|
-
docs/PlayerPaymentInfo.md
|
|
143
|
-
docs/PlayerPrice.md
|
|
144
|
-
docs/PlayerSummary.md
|
|
145
|
-
docs/PlayerWithPaymentMethod.md
|
|
146
|
-
docs/ProfilePictureResponse.md
|
|
147
|
-
docs/ProfilePictureUpdateRequestBody.md
|
|
148
|
-
docs/PublicSubscriptionPlanResponse.md
|
|
149
|
-
docs/PublicUserProfileResponse.md
|
|
150
|
-
docs/PublishEventResponse.md
|
|
151
|
-
docs/QuickReservationClubSummary.md
|
|
152
|
-
docs/QuickReservationClubSummaryLocation.md
|
|
153
|
-
docs/QuickReservationResponse.md
|
|
154
|
-
docs/QuickReservationSlotSummary.md
|
|
155
|
-
docs/RefreshTokenRequestBody.md
|
|
156
|
-
docs/RefreshTokenResponse.md
|
|
157
|
-
docs/RegisterRequestBody.md
|
|
158
|
-
docs/RegisterRequestBodyLocation.md
|
|
159
|
-
docs/RequestPasswordReset200Response.md
|
|
160
|
-
docs/ResetPasswordRequest.md
|
|
161
|
-
docs/SetupPaymentMethodRequestBody.md
|
|
162
|
-
docs/SetupPaymentMethodResponse.md
|
|
163
|
-
docs/SlotInfo.md
|
|
164
|
-
docs/SportAnalyticsResponse.md
|
|
165
|
-
docs/SportInfo.md
|
|
166
|
-
docs/SportKey.md
|
|
167
|
-
docs/SportLevel.md
|
|
168
|
-
docs/SportResponse.md
|
|
169
|
-
docs/SportWithLevels.md
|
|
170
|
-
docs/SportsManagerApi.md
|
|
171
|
-
docs/
|
|
172
|
-
docs/
|
|
173
|
-
docs/
|
|
174
|
-
docs/
|
|
175
|
-
docs/
|
|
176
|
-
docs/
|
|
177
|
-
docs/
|
|
178
|
-
docs/
|
|
179
|
-
docs/
|
|
180
|
-
docs/
|
|
181
|
-
docs/
|
|
182
|
-
docs/
|
|
183
|
-
docs/
|
|
184
|
-
docs/
|
|
185
|
-
docs/
|
|
186
|
-
docs/
|
|
187
|
-
docs/
|
|
188
|
-
docs/
|
|
189
|
-
docs/
|
|
190
|
-
docs/
|
|
191
|
-
docs/
|
|
192
|
-
docs/
|
|
193
|
-
docs/
|
|
194
|
-
docs/
|
|
195
|
-
docs/
|
|
196
|
-
docs/
|
|
197
|
-
docs/
|
|
198
|
-
docs/
|
|
199
|
-
docs/
|
|
200
|
-
docs/
|
|
201
|
-
docs/
|
|
202
|
-
docs/
|
|
203
|
-
docs/
|
|
204
|
-
docs/
|
|
205
|
-
docs/
|
|
206
|
-
docs/
|
|
207
|
-
docs/
|
|
208
|
-
docs/
|
|
209
|
-
docs/
|
|
210
|
-
docs/
|
|
211
|
-
docs/
|
|
212
|
-
docs/
|
|
213
|
-
docs/
|
|
214
|
-
docs/
|
|
215
|
-
docs/
|
|
216
|
-
docs/
|
|
217
|
-
docs/
|
|
218
|
-
docs/
|
|
219
|
-
docs/
|
|
220
|
-
docs/
|
|
221
|
-
docs/
|
|
222
|
-
docs/
|
|
223
|
-
docs/
|
|
224
|
-
docs/
|
|
225
|
-
docs/
|
|
226
|
-
docs/
|
|
227
|
-
docs/
|
|
228
|
-
docs/
|
|
229
|
-
docs/
|
|
230
|
-
docs/
|
|
231
|
-
docs/
|
|
232
|
-
docs/
|
|
233
|
-
docs/
|
|
234
|
-
docs/
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
tsconfig.json
|
|
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/AddOrganizationRequest.md
|
|
12
|
+
docs/AddPaymentMethodRequestBody.md
|
|
13
|
+
docs/BookingAnalyticsResponse.md
|
|
14
|
+
docs/BookingDetailResponse.md
|
|
15
|
+
docs/BookingHistoryPopulated.md
|
|
16
|
+
docs/BookingInfo.md
|
|
17
|
+
docs/BookingPaymentStatusResponse.md
|
|
18
|
+
docs/BookingPaymentStatusResponseBooking.md
|
|
19
|
+
docs/BookingPaymentStatusResponseSummary.md
|
|
20
|
+
docs/BookingPopulated.md
|
|
21
|
+
docs/BookingPriceBody.md
|
|
22
|
+
docs/BookingResponse.md
|
|
23
|
+
docs/BookingResponseOnsitePaymentsInner.md
|
|
24
|
+
docs/BookingStatus.md
|
|
25
|
+
docs/BookingSummary.md
|
|
26
|
+
docs/BookingSummaryClubAddress.md
|
|
27
|
+
docs/BookingsApi.md
|
|
28
|
+
docs/BookingsManagerApi.md
|
|
29
|
+
docs/BookingsStaffApi.md
|
|
30
|
+
docs/BookingsUserApi.md
|
|
31
|
+
docs/CancelBookingResponse.md
|
|
32
|
+
docs/CaptureResult.md
|
|
33
|
+
docs/ChangePasswordRequestBody.md
|
|
34
|
+
docs/ChangePasswordResponse.md
|
|
35
|
+
docs/CheckInPlayersRequest.md
|
|
36
|
+
docs/CheckInPlayersResponse.md
|
|
37
|
+
docs/CheckedInPlayer.md
|
|
38
|
+
docs/ClubAnalyticsApi.md
|
|
39
|
+
docs/ClubAnalyticsStaffApi.md
|
|
40
|
+
docs/ClubMemberResponse.md
|
|
41
|
+
docs/ClubMemberResponseUser.md
|
|
42
|
+
docs/ClubPlayerResponse.md
|
|
43
|
+
docs/ClubResponse.md
|
|
44
|
+
docs/ClubResponseCreatedAt.md
|
|
45
|
+
docs/ClubResponseLocation.md
|
|
46
|
+
docs/ClubResponseLocationCoordinates.md
|
|
47
|
+
docs/ClubResponseUpdatedAt.md
|
|
48
|
+
docs/ClubRoleResponse.md
|
|
49
|
+
docs/ClubRolesManagerApi.md
|
|
50
|
+
docs/ClubRolesStaffApi.md
|
|
51
|
+
docs/ClubSettingsManagerApi.md
|
|
52
|
+
docs/ClubSettingsResponse.md
|
|
53
|
+
docs/ClubSubscriptions.md
|
|
54
|
+
docs/ClubSummary.md
|
|
55
|
+
docs/ClubUserCountResponse.md
|
|
56
|
+
docs/ClubsApi.md
|
|
57
|
+
docs/ClubsManagerApi.md
|
|
58
|
+
docs/ClubsStaffApi.md
|
|
59
|
+
docs/ConfirmPaymentMethodRequestBody.md
|
|
60
|
+
docs/ConfirmPaymentMethodResponse.md
|
|
61
|
+
docs/CourtInfo.md
|
|
62
|
+
docs/CourtResponse.md
|
|
63
|
+
docs/CourtStatus.md
|
|
64
|
+
docs/CreateBookingRequest.md
|
|
65
|
+
docs/CreateClubRequest.md
|
|
66
|
+
docs/CreateClubRoleRequest.md
|
|
67
|
+
docs/CreateClubSettingsRequest.md
|
|
68
|
+
docs/CreateCourtForClub201Response.md
|
|
69
|
+
docs/CreateCourtRequest.md
|
|
70
|
+
docs/CreateEventRequest.md
|
|
71
|
+
docs/CreatePlan201Response.md
|
|
72
|
+
docs/CreateSportForClub201Response.md
|
|
73
|
+
docs/CreateSportForClubRequest.md
|
|
74
|
+
docs/CreateSportRequest.md
|
|
75
|
+
docs/CreateSubscriptionPlanRequest.md
|
|
76
|
+
docs/CreateSubscriptionPlanRequestDiscount.md
|
|
77
|
+
docs/CreatorChargeResult.md
|
|
78
|
+
docs/DailyTurnoverResponse.md
|
|
79
|
+
docs/DefaultApi.md
|
|
80
|
+
docs/DeleteClubRoleResponse.md
|
|
81
|
+
docs/DeleteClubSettingsResponse.md
|
|
82
|
+
docs/DeleteCourtResponse.md
|
|
83
|
+
docs/DeleteEventResponse.md
|
|
84
|
+
docs/DeleteSportResponse.md
|
|
85
|
+
docs/DeleteSubscriptionPlanResponse.md
|
|
86
|
+
docs/DiscountType.md
|
|
87
|
+
docs/EventResponse.md
|
|
88
|
+
docs/EventResponseCourtsInner.md
|
|
89
|
+
docs/EventsApi.md
|
|
90
|
+
docs/EventsListResponse.md
|
|
91
|
+
docs/EventsManagerApi.md
|
|
92
|
+
docs/EventsStaffApi.md
|
|
93
|
+
docs/FavoriteClubMutationResponse.md
|
|
94
|
+
docs/FavoriteClubRequestBody.md
|
|
95
|
+
docs/FavoriteClubsResponse.md
|
|
96
|
+
docs/FavoritePlayerMutationResponse.md
|
|
97
|
+
docs/FavoritePlayerRequestBody.md
|
|
98
|
+
docs/FavoritePlayersResponse.md
|
|
99
|
+
docs/Gender.md
|
|
100
|
+
docs/GenderPercentageResponse.md
|
|
101
|
+
docs/GetActualities200Response.md
|
|
102
|
+
docs/GetAvailableSlotsBySports200Response.md
|
|
103
|
+
docs/GetClubMembers200Response.md
|
|
104
|
+
docs/GetClubRoles200Response.md
|
|
105
|
+
docs/GetClubUsersById200Response.md
|
|
106
|
+
docs/GetClubsWithVerificationDomains200ResponseInner.md
|
|
107
|
+
docs/GetCourtsByClubAndSportById200Response.md
|
|
108
|
+
docs/GetInfillPercentagePerPeriod200Response.md
|
|
109
|
+
docs/GetSlotsByClubById200Response.md
|
|
110
|
+
docs/GoogleAuthRequestBody.md
|
|
111
|
+
docs/GoogleAuthResponse.md
|
|
112
|
+
docs/GoogleAuthResponseUser.md
|
|
113
|
+
docs/ICourtData.md
|
|
114
|
+
docs/ILevelBySports.md
|
|
115
|
+
docs/IUserAttributes.md
|
|
116
|
+
docs/IUserAttributesOrganizationsInner.md
|
|
117
|
+
docs/IUserLocation.md
|
|
118
|
+
docs/InvoiceInfo.md
|
|
119
|
+
docs/JoinEventRequest.md
|
|
120
|
+
docs/JoinEventResponse.md
|
|
121
|
+
docs/LastSixMonthsTurnoverItem.md
|
|
122
|
+
docs/LevelBySportEntry.md
|
|
123
|
+
docs/LoginRequestBody.md
|
|
124
|
+
docs/LoginResponse.md
|
|
125
|
+
docs/ManagerCancelBookingRequest.md
|
|
126
|
+
docs/ManagerCancelBookingResponse.md
|
|
127
|
+
docs/MonthlyBreakdown.md
|
|
128
|
+
docs/MonthlyTurnoverResponse.md
|
|
129
|
+
docs/NoShowFeeResponse.md
|
|
130
|
+
docs/OffPeakRule.md
|
|
131
|
+
docs/PartialClubResponse.md
|
|
132
|
+
docs/PasswordResetRequestBody.md
|
|
133
|
+
docs/PaymentByPlayerInfo.md
|
|
134
|
+
docs/PaymentMethod.md
|
|
135
|
+
docs/PaymentMethodSetupResponse.md
|
|
136
|
+
docs/PickIUserLocationExcludeKeyofIUserLocationType.md
|
|
137
|
+
docs/PlanInterval.md
|
|
138
|
+
docs/PlayerCategoriesResponse.md
|
|
139
|
+
docs/PlayerCategory.md
|
|
140
|
+
docs/PlayerCategoryId.md
|
|
141
|
+
docs/PlayerListResponse.md
|
|
142
|
+
docs/PlayerPaymentInfo.md
|
|
143
|
+
docs/PlayerPrice.md
|
|
144
|
+
docs/PlayerSummary.md
|
|
145
|
+
docs/PlayerWithPaymentMethod.md
|
|
146
|
+
docs/ProfilePictureResponse.md
|
|
147
|
+
docs/ProfilePictureUpdateRequestBody.md
|
|
148
|
+
docs/PublicSubscriptionPlanResponse.md
|
|
149
|
+
docs/PublicUserProfileResponse.md
|
|
150
|
+
docs/PublishEventResponse.md
|
|
151
|
+
docs/QuickReservationClubSummary.md
|
|
152
|
+
docs/QuickReservationClubSummaryLocation.md
|
|
153
|
+
docs/QuickReservationResponse.md
|
|
154
|
+
docs/QuickReservationSlotSummary.md
|
|
155
|
+
docs/RefreshTokenRequestBody.md
|
|
156
|
+
docs/RefreshTokenResponse.md
|
|
157
|
+
docs/RegisterRequestBody.md
|
|
158
|
+
docs/RegisterRequestBodyLocation.md
|
|
159
|
+
docs/RequestPasswordReset200Response.md
|
|
160
|
+
docs/ResetPasswordRequest.md
|
|
161
|
+
docs/SetupPaymentMethodRequestBody.md
|
|
162
|
+
docs/SetupPaymentMethodResponse.md
|
|
163
|
+
docs/SlotInfo.md
|
|
164
|
+
docs/SportAnalyticsResponse.md
|
|
165
|
+
docs/SportInfo.md
|
|
166
|
+
docs/SportKey.md
|
|
167
|
+
docs/SportLevel.md
|
|
168
|
+
docs/SportResponse.md
|
|
169
|
+
docs/SportWithLevels.md
|
|
170
|
+
docs/SportsManagerApi.md
|
|
171
|
+
docs/SportsPublicApi.md
|
|
172
|
+
docs/SportsStaffApi.md
|
|
173
|
+
docs/StaffUserProfileResponse.md
|
|
174
|
+
docs/StripeStripeDeletedProduct.md
|
|
175
|
+
docs/StripeStripePrice.md
|
|
176
|
+
docs/StripeStripePriceBillingScheme.md
|
|
177
|
+
docs/StripeStripePriceCurrencyOptions.md
|
|
178
|
+
docs/StripeStripePriceCurrencyOptionsCustomUnitAmount.md
|
|
179
|
+
docs/StripeStripePriceCurrencyOptionsTaxBehavior.md
|
|
180
|
+
docs/StripeStripePriceCurrencyOptionsTier.md
|
|
181
|
+
docs/StripeStripePriceCustomUnitAmount.md
|
|
182
|
+
docs/StripeStripePriceProduct.md
|
|
183
|
+
docs/StripeStripePriceRecurring.md
|
|
184
|
+
docs/StripeStripePriceRecurringInterval.md
|
|
185
|
+
docs/StripeStripePriceRecurringUsageType.md
|
|
186
|
+
docs/StripeStripePriceTaxBehavior.md
|
|
187
|
+
docs/StripeStripePriceTier.md
|
|
188
|
+
docs/StripeStripePriceTiersMode.md
|
|
189
|
+
docs/StripeStripePriceTransformQuantity.md
|
|
190
|
+
docs/StripeStripePriceTransformQuantityRound.md
|
|
191
|
+
docs/StripeStripePriceType.md
|
|
192
|
+
docs/StripeStripeProduct.md
|
|
193
|
+
docs/StripeStripeProductDefaultPrice.md
|
|
194
|
+
docs/StripeStripeProductMarketingFeature.md
|
|
195
|
+
docs/StripeStripeProductPackageDimensions.md
|
|
196
|
+
docs/StripeStripeProductTaxCode.md
|
|
197
|
+
docs/StripeStripeProductType.md
|
|
198
|
+
docs/StripeStripeResponseStripeStripePrice.md
|
|
199
|
+
docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md
|
|
200
|
+
docs/StripeStripeTaxCode.md
|
|
201
|
+
docs/SubscribeRequestBody.md
|
|
202
|
+
docs/SubscriberPrice.md
|
|
203
|
+
docs/SubscriptionInfo.md
|
|
204
|
+
docs/SubscriptionMutationResponse.md
|
|
205
|
+
docs/SubscriptionPlanResponse.md
|
|
206
|
+
docs/SubscriptionsManagerApi.md
|
|
207
|
+
docs/SubscriptionsPublicApi.md
|
|
208
|
+
docs/SubscriptionsStaffApi.md
|
|
209
|
+
docs/SubscriptionsUserApi.md
|
|
210
|
+
docs/SurfaceType.md
|
|
211
|
+
docs/Team.md
|
|
212
|
+
docs/UpdateActuality200Response.md
|
|
213
|
+
docs/UpdateClubRequest.md
|
|
214
|
+
docs/UpdateClubRequestLocation.md
|
|
215
|
+
docs/UpdateClubRequestLocationCoordinates.md
|
|
216
|
+
docs/UpdateClubRoleRequest.md
|
|
217
|
+
docs/UpdateClubSettingsRequest.md
|
|
218
|
+
docs/UpdateCustomerRequestBody.md
|
|
219
|
+
docs/UpdateCustomerResponse.md
|
|
220
|
+
docs/UpdateEventRequest.md
|
|
221
|
+
docs/UpdateLevelBySportsRequestBody.md
|
|
222
|
+
docs/UpdatePlanRequest.md
|
|
223
|
+
docs/UpdateSportRequest.md
|
|
224
|
+
docs/UpdateSubscriptionPlanForClub200Response.md
|
|
225
|
+
docs/UpdateUserRequestBody.md
|
|
226
|
+
docs/UpdateUserRequestBodyLevelBySportsInner.md
|
|
227
|
+
docs/UserClubSubscription.md
|
|
228
|
+
docs/UserInfo.md
|
|
229
|
+
docs/UserLocationSummary.md
|
|
230
|
+
docs/UserProfileResponse.md
|
|
231
|
+
docs/UserRolesResponse.md
|
|
232
|
+
docs/UserSubscriptionsResponse.md
|
|
233
|
+
docs/UsersApi.md
|
|
234
|
+
docs/VerifyEmailRequest.md
|
|
235
|
+
docs/YearlyTurnoverResponse.md
|
|
236
|
+
git_push.sh
|
|
237
|
+
index.ts
|
|
238
|
+
package.json
|
|
239
|
+
tsconfig.esm.json
|
|
240
|
+
tsconfig.json
|
package/README.md
CHANGED
|
@@ -137,6 +137,7 @@ Class | Method | HTTP request | Description
|
|
|
137
137
|
*SportsManagerApi* | [**createSport**](docs/SportsManagerApi.md#createsport) | **POST** /api/sports |
|
|
138
138
|
*SportsManagerApi* | [**deleteSport**](docs/SportsManagerApi.md#deletesport) | **DELETE** /api/sports/{id} |
|
|
139
139
|
*SportsManagerApi* | [**updateSport**](docs/SportsManagerApi.md#updatesport) | **PUT** /api/sports/{id} |
|
|
140
|
+
*SportsPublicApi* | [**getVerifiedSports**](docs/SportsPublicApi.md#getverifiedsports) | **GET** /api/sports/verified |
|
|
140
141
|
*SportsStaffApi* | [**getAllSports**](docs/SportsStaffApi.md#getallsports) | **GET** /api/sports |
|
|
141
142
|
*SubscriptionsManagerApi* | [**createPlan**](docs/SubscriptionsManagerApi.md#createplan) | **POST** /api/subscriptions/plans |
|
|
142
143
|
*SubscriptionsManagerApi* | [**deletePlan**](docs/SubscriptionsManagerApi.md#deleteplan) | **DELETE** /api/subscriptions/plans/{productId} |
|
package/api.ts
CHANGED
|
@@ -7856,6 +7856,12 @@ export interface UserProfileResponse {
|
|
|
7856
7856
|
* @memberof UserProfileResponse
|
|
7857
7857
|
*/
|
|
7858
7858
|
'stripeLinks'?: { [key: string]: any; };
|
|
7859
|
+
/**
|
|
7860
|
+
*
|
|
7861
|
+
* @type {Array<SportResponse>}
|
|
7862
|
+
* @memberof UserProfileResponse
|
|
7863
|
+
*/
|
|
7864
|
+
'verifiedSports'?: Array<SportResponse>;
|
|
7859
7865
|
}
|
|
7860
7866
|
|
|
7861
7867
|
|
|
@@ -15629,6 +15635,103 @@ export class SportsManagerApi extends BaseAPI {
|
|
|
15629
15635
|
|
|
15630
15636
|
|
|
15631
15637
|
|
|
15638
|
+
/**
|
|
15639
|
+
* SportsPublicApi - axios parameter creator
|
|
15640
|
+
* @export
|
|
15641
|
+
*/
|
|
15642
|
+
export const SportsPublicApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15643
|
+
return {
|
|
15644
|
+
/**
|
|
15645
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
15646
|
+
* @param {*} [options] Override http request option.
|
|
15647
|
+
* @throws {RequiredError}
|
|
15648
|
+
*/
|
|
15649
|
+
getVerifiedSports: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
15650
|
+
const localVarPath = `/api/sports/verified`;
|
|
15651
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
15652
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
15653
|
+
let baseOptions;
|
|
15654
|
+
if (configuration) {
|
|
15655
|
+
baseOptions = configuration.baseOptions;
|
|
15656
|
+
}
|
|
15657
|
+
|
|
15658
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
15659
|
+
const localVarHeaderParameter = {} as any;
|
|
15660
|
+
const localVarQueryParameter = {} as any;
|
|
15661
|
+
|
|
15662
|
+
|
|
15663
|
+
|
|
15664
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
15665
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
15666
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
15667
|
+
|
|
15668
|
+
return {
|
|
15669
|
+
url: toPathString(localVarUrlObj),
|
|
15670
|
+
options: localVarRequestOptions,
|
|
15671
|
+
};
|
|
15672
|
+
},
|
|
15673
|
+
}
|
|
15674
|
+
};
|
|
15675
|
+
|
|
15676
|
+
/**
|
|
15677
|
+
* SportsPublicApi - functional programming interface
|
|
15678
|
+
* @export
|
|
15679
|
+
*/
|
|
15680
|
+
export const SportsPublicApiFp = function(configuration?: Configuration) {
|
|
15681
|
+
const localVarAxiosParamCreator = SportsPublicApiAxiosParamCreator(configuration)
|
|
15682
|
+
return {
|
|
15683
|
+
/**
|
|
15684
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
15685
|
+
* @param {*} [options] Override http request option.
|
|
15686
|
+
* @throws {RequiredError}
|
|
15687
|
+
*/
|
|
15688
|
+
async getVerifiedSports(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SportResponse>>> {
|
|
15689
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getVerifiedSports(options);
|
|
15690
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
15691
|
+
const localVarOperationServerBasePath = operationServerMap['SportsPublicApi.getVerifiedSports']?.[localVarOperationServerIndex]?.url;
|
|
15692
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
15693
|
+
},
|
|
15694
|
+
}
|
|
15695
|
+
};
|
|
15696
|
+
|
|
15697
|
+
/**
|
|
15698
|
+
* SportsPublicApi - factory interface
|
|
15699
|
+
* @export
|
|
15700
|
+
*/
|
|
15701
|
+
export const SportsPublicApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
15702
|
+
const localVarFp = SportsPublicApiFp(configuration)
|
|
15703
|
+
return {
|
|
15704
|
+
/**
|
|
15705
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
15706
|
+
* @param {*} [options] Override http request option.
|
|
15707
|
+
* @throws {RequiredError}
|
|
15708
|
+
*/
|
|
15709
|
+
getVerifiedSports(options?: RawAxiosRequestConfig): AxiosPromise<Array<SportResponse>> {
|
|
15710
|
+
return localVarFp.getVerifiedSports(options).then((request) => request(axios, basePath));
|
|
15711
|
+
},
|
|
15712
|
+
};
|
|
15713
|
+
};
|
|
15714
|
+
|
|
15715
|
+
/**
|
|
15716
|
+
* SportsPublicApi - object-oriented interface
|
|
15717
|
+
* @export
|
|
15718
|
+
* @class SportsPublicApi
|
|
15719
|
+
* @extends {BaseAPI}
|
|
15720
|
+
*/
|
|
15721
|
+
export class SportsPublicApi extends BaseAPI {
|
|
15722
|
+
/**
|
|
15723
|
+
* Récupère tous les sports vérifiés, accessibles publiquement
|
|
15724
|
+
* @param {*} [options] Override http request option.
|
|
15725
|
+
* @throws {RequiredError}
|
|
15726
|
+
* @memberof SportsPublicApi
|
|
15727
|
+
*/
|
|
15728
|
+
public getVerifiedSports(options?: RawAxiosRequestConfig) {
|
|
15729
|
+
return SportsPublicApiFp(this.configuration).getVerifiedSports(options).then((request) => request(this.axios, this.basePath));
|
|
15730
|
+
}
|
|
15731
|
+
}
|
|
15732
|
+
|
|
15733
|
+
|
|
15734
|
+
|
|
15632
15735
|
/**
|
|
15633
15736
|
* SportsStaffApi - axios parameter creator
|
|
15634
15737
|
* @export
|