@tennac-booking/sdk 1.0.81 → 1.0.83
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 +270 -134
- package/README.md +356 -123
- package/api.ts +18731 -6267
- package/base.ts +4 -4
- package/common.ts +3 -3
- package/configuration.ts +3 -3
- package/dist/api.d.ts +12587 -3704
- package/dist/api.js +8344 -2830
- 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 +12587 -3704
- package/dist/esm/api.js +8245 -2731
- 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/{DeleteSlotsByClubInRange200Response.md → AddClubMember201Response.md} +6 -4
- package/docs/AddClubMemberRequest.md +7 -3
- package/docs/AddOrganizationRequest.md +22 -0
- package/docs/AddPaymentMethodRequestBody.md +20 -0
- package/docs/BookingAnalyticsResponse.md +34 -0
- package/docs/BookingDetailResponse.md +46 -0
- package/docs/BookingHistoryPopulated.md +34 -0
- package/docs/BookingInfo.md +50 -0
- package/docs/BookingPaymentStatusResponse.md +24 -0
- package/docs/BookingPaymentStatusResponseBooking.md +27 -0
- package/docs/BookingPaymentStatusResponseSummary.md +29 -0
- package/docs/BookingPopulated.md +48 -0
- package/docs/BookingResponse.md +4 -4
- package/docs/BookingResponseOnsitePaymentsInner.md +22 -0
- package/docs/BookingStatus.md +11 -1
- package/docs/BookingSummary.md +44 -0
- package/docs/{GetAllSportsRequest.md → BookingSummaryClubAddress.md} +3 -5
- package/docs/BookingsApi.md +138 -0
- package/docs/{ManagerSportsApi.md → BookingsManagerApi.md} +30 -34
- package/docs/BookingsStaffApi.md +323 -0
- package/docs/{UserBookingsApi.md → BookingsUserApi.md} +18 -26
- package/docs/CancelBookingResponse.md +1 -1
- package/docs/CaptureResult.md +30 -0
- package/docs/ChangePasswordResponse.md +1 -1
- package/docs/CheckInPlayersRequest.md +20 -0
- package/docs/CheckInPlayersResponse.md +22 -0
- package/docs/CheckedInPlayer.md +34 -0
- package/docs/{AdminClubsApi.md → ClubAnalyticsApi.md} +27 -34
- package/docs/ClubAnalyticsStaffApi.md +696 -0
- package/docs/ClubDaySchedule.md +22 -0
- package/docs/ClubGeneralSettingsResponse.md +34 -0
- package/docs/ClubHoursSettingsResponse.md +22 -0
- package/docs/ClubLocationSettings.md +26 -0
- package/docs/ClubMemberResponse.md +24 -0
- package/docs/ClubMemberResponseUser.md +27 -0
- package/docs/ClubPlayerBookingItem.md +36 -0
- package/docs/ClubPlayerBookingsPagination.md +28 -0
- package/docs/ClubPlayerBookingsResponse.md +24 -0
- package/docs/ClubPlayerDetailResponse.md +46 -0
- package/docs/{RestoreSubscriptionPlanForClub200Response.md → ClubPlayerDetailResponseSportsLevelsInner.md} +7 -5
- package/docs/ClubPlayerResponse.md +36 -0
- package/docs/ClubPlayerStatisticsResponse.md +42 -0
- package/docs/ClubPlayerStatisticsResponseBookingAmountEvolutionThisMonthInner.md +22 -0
- package/docs/ClubPlayerStatisticsResponseFavoriteClub.md +23 -0
- package/docs/ClubPlayerStatisticsResponseMostPlayedClub.md +25 -0
- package/docs/ClubPlayerStatisticsResponseMostPlayedPartnersInner.md +26 -0
- package/docs/ClubPlayerSubscriptionSummary.md +28 -0
- package/docs/ClubPresentationSettingsResponse.md +26 -0
- package/docs/ClubPricingPeriodResponse.md +30 -0
- package/docs/ClubReservationAccessSettingsResponse.md +26 -0
- package/docs/ClubReservationSettingsResponse.md +36 -0
- package/docs/ClubResponse.md +26 -22
- package/docs/ClubResponseCreatedAt.md +19 -0
- package/docs/ClubResponseLocation.md +29 -0
- package/docs/ClubResponseLocationCoordinates.md +22 -0
- package/docs/ClubResponseUpdatedAt.md +19 -0
- package/docs/ClubRoleResponse.md +11 -9
- package/docs/ClubRolesManagerApi.md +177 -0
- package/docs/ClubRolesStaffApi.md +154 -0
- package/docs/ClubSettingsManagerApi.md +325 -0
- package/docs/ClubSettingsResponse.md +41 -0
- package/docs/ClubSettingsStaffApi.md +95 -0
- package/docs/ClubSubscriptions.md +26 -0
- package/docs/ClubSummary.md +28 -0
- package/docs/{GetNumberOfClubUsers200Response.md → ClubUserCountResponse.md} +4 -4
- package/docs/ClubWeeklySchedule.md +32 -0
- package/docs/ClubsApi.md +614 -0
- package/docs/ClubsManagerApi.md +1054 -0
- package/docs/ClubsStaffApi.md +417 -0
- package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
- package/docs/ConfirmPaymentMethodResponse.md +22 -0
- package/docs/CourtInfo.md +28 -0
- package/docs/CourtResponse.md +20 -16
- package/docs/CourtStatus.md +2 -5
- package/docs/CreateBookingRequest.md +3 -3
- package/docs/CreateClubRequest.md +0 -18
- package/docs/{ConfirmPaymentMethodSetupRequestBody.md → CreateClubRoleRequest.md} +7 -5
- package/docs/CreateClubSettingsRequest.md +15 -9
- package/docs/CreateCourtForClub201Response.md +20 -0
- package/docs/CreateCourtRequest.md +10 -12
- package/docs/CreateEventRequest.md +56 -0
- package/docs/CreatePlan201Response.md +22 -0
- package/docs/CreateSportForClub201Response.md +20 -0
- package/docs/CreateSportForClubRequest.md +26 -0
- package/docs/CreateSportRequest.md +6 -6
- package/docs/CreateSubscriptionPlanRequest.md +12 -4
- package/docs/CreateSubscriptionPlanRequestDiscount.md +32 -0
- package/docs/CreatorChargeResult.md +26 -0
- package/docs/DailyTurnoverResponse.md +24 -0
- package/docs/{StaffSportsApi.md → DefaultApi.md} +18 -18
- package/docs/{DeleteSlotsResponse.md → DeleteClubRoleResponse.md} +4 -4
- package/docs/DeleteClubSettingsResponse.md +20 -0
- package/docs/{DeleteSport200Response.md → DeleteCourtResponse.md} +4 -4
- package/docs/{GenerateSlotsResponse.md → DeleteEventResponse.md} +4 -4
- package/docs/{DeleteClubRole200Response.md → DeleteSportResponse.md} +4 -4
- package/docs/DeleteSubscriptionPlanResponse.md +20 -0
- package/docs/{StripeStatus.md → DiscountType.md} +5 -7
- package/docs/EventResponse.md +66 -0
- package/docs/EventsApi.md +238 -0
- package/docs/EventsListResponse.md +20 -0
- package/docs/{ManagerClubsApi.md → EventsManagerApi.md} +79 -75
- package/docs/{StaffProfileApi.md → EventsStaffApi.md} +14 -13
- package/docs/{AddClubMemberResponse.md → FavoriteClubMutationResponse.md} +6 -6
- package/docs/{GetClubSettingsRequest.md → FavoriteClubRequestBody.md} +3 -3
- package/docs/{BlockSlotResponse.md → FavoriteClubsResponse.md} +5 -7
- package/docs/FavoritePlayerMutationResponse.md +22 -0
- package/docs/FavoritePlayerRequestBody.md +20 -0
- package/docs/FavoritePlayersResponse.md +20 -0
- package/docs/Gender.md +12 -0
- package/docs/GenderPercentageResponse.md +26 -0
- package/docs/GetActualities200Response.md +20 -0
- package/docs/GetAvailableSlotsBySports200Response.md +20 -0
- package/docs/{ClubMembersResponse.md → GetClubMembers200Response.md} +6 -6
- package/docs/GetClubRoles200Response.md +20 -0
- package/docs/GetClubUsersById200Response.md +20 -0
- package/docs/GetClubsWithVerificationDomains200ResponseInner.md +26 -0
- package/docs/GetCourtsByClubAndSportById200Response.md +26 -0
- package/docs/GetInfillPercentagePerPeriod200Response.md +24 -0
- package/docs/{SlotsResponse.md → GetSlotsByClubById200Response.md} +6 -6
- package/docs/GoogleAuthRequestBody.md +20 -0
- package/docs/GoogleAuthResponse.md +30 -0
- package/docs/GoogleAuthResponseUser.md +26 -0
- package/docs/HotelAccessSettings.md +26 -0
- package/docs/{Court.md → ICourtData.md} +18 -6
- package/docs/ILevelBySports.md +22 -0
- package/docs/IUserAttributes.md +82 -0
- package/docs/IUserAttributesOrganizationsInner.md +28 -0
- package/docs/IUserLocation.md +44 -0
- package/docs/InvoiceInfo.md +24 -0
- package/docs/JoinEventRequest.md +22 -0
- package/docs/{ApiErrorResponse.md → JoinEventResponse.md} +6 -6
- package/docs/LastSixMonthsTurnoverItem.md +22 -0
- package/docs/{ActiveClub.md → LevelBySportEntry.md} +7 -7
- package/docs/LoginResponse.md +2 -0
- package/docs/ManagerCancelBookingRequest.md +20 -0
- package/docs/ManagerCancelBookingResponse.md +1 -1
- package/docs/MonthlyBreakdown.md +24 -0
- package/docs/MonthlyTurnoverResponse.md +29 -0
- package/docs/NoShowFeeResponse.md +30 -0
- package/docs/OffPeakRule.md +26 -0
- package/docs/PartialClubResponse.md +51 -0
- package/docs/PartialClubWeeklySchedule.md +33 -0
- package/docs/PartialHotelAccessSettings.md +27 -0
- package/docs/PartialPaymentRequirementsSettings.md +23 -0
- package/docs/PartialPublicAccessPartialPublicAccessSettingsSchoolAccessPartialSchoolAccessSettingsHotelAccessPartialHotelAccessSettingsPaymentRequirementsPartialPaymentRequirementsSettings.md +27 -0
- package/docs/PartialPublicAccessSettings.md +25 -0
- package/docs/PartialSchoolAccessSettings.md +25 -0
- package/docs/PasswordResetRequestBody.md +20 -0
- package/docs/PaymentByPlayerInfo.md +22 -0
- package/docs/PaymentMethod.md +2 -1
- package/docs/PaymentMethodSetupResponse.md +24 -0
- package/docs/PaymentRequirementsSettings.md +22 -0
- package/docs/PickIUserLocationExcludeKeyofIUserLocationType.md +43 -0
- package/docs/PlanInterval.md +14 -0
- package/docs/PlayerCategoriesResponse.md +20 -0
- package/docs/PlayerCategory.md +26 -0
- package/docs/PlayerCategoryId.md +16 -0
- package/docs/PlayerListResponse.md +26 -0
- package/docs/PlayerPaymentInfo.md +36 -0
- package/docs/PlayerSummary.md +42 -0
- package/docs/ProfilePictureResponse.md +20 -0
- package/docs/{ActiveClubListResponse.md → ProfilePictureUpdateRequestBody.md} +5 -5
- package/docs/PublicAccessSettings.md +24 -0
- package/docs/PublicSubscriptionPlanResponse.md +30 -0
- package/docs/PublicUserProfileResponse.md +44 -0
- package/docs/PublishEventResponse.md +20 -0
- package/docs/QuickReservationClubSummary.md +28 -0
- package/docs/QuickReservationClubSummaryLocation.md +31 -0
- package/docs/QuickReservationResponse.md +22 -0
- package/docs/QuickReservationSlotSummary.md +42 -0
- package/docs/RefreshTokenResponse.md +6 -2
- package/docs/RegisterRequestBody.md +6 -0
- package/docs/RegisterRequestBodyLocation.md +44 -0
- package/docs/RequestPasswordReset200Response.md +20 -0
- package/docs/{GoogleSignInResponse.md → ResetPasswordRequest.md} +5 -7
- package/docs/SchoolAccessSettings.md +24 -0
- package/docs/SetupPaymentMethodRequestBody.md +1 -3
- package/docs/SetupPaymentMethodResponse.md +3 -3
- package/docs/SlotInfo.md +26 -0
- package/docs/SportAnalyticsResponse.md +24 -0
- package/docs/SportInfo.md +22 -0
- package/docs/SportKey.md +14 -0
- package/docs/SportLevel.md +22 -0
- package/docs/SportResponse.md +14 -8
- package/docs/SportWithLevels.md +30 -0
- package/docs/SportsManagerApi.md +180 -0
- package/docs/SportsStaffApi.md +55 -0
- package/docs/StaffUserProfileResponse.md +86 -0
- package/docs/StripeStripeDeletedProduct.md +25 -0
- package/docs/StripeStripePrice.md +63 -0
- package/docs/StripeStripePriceBillingScheme.md +10 -0
- package/docs/StripeStripePriceCurrencyOptions.md +28 -0
- package/docs/StripeStripePriceCurrencyOptionsCustomUnitAmount.md +24 -0
- package/docs/StripeStripePriceCurrencyOptionsTaxBehavior.md +12 -0
- package/docs/StripeStripePriceCurrencyOptionsTier.md +28 -0
- package/docs/StripeStripePriceCustomUnitAmount.md +24 -0
- package/docs/StripeStripePriceProduct.md +59 -0
- package/docs/StripeStripePriceRecurring.md +28 -0
- package/docs/StripeStripePriceRecurringInterval.md +14 -0
- package/docs/StripeStripePriceRecurringUsageType.md +10 -0
- package/docs/StripeStripePriceTaxBehavior.md +12 -0
- package/docs/StripeStripePriceTier.md +28 -0
- package/docs/StripeStripePriceTiersMode.md +10 -0
- package/docs/StripeStripePriceTransformQuantity.md +22 -0
- package/docs/StripeStripePriceTransformQuantityRound.md +10 -0
- package/docs/StripeStripePriceType.md +10 -0
- package/docs/StripeStripeProduct.md +59 -0
- package/docs/StripeStripeProductDefaultPrice.md +63 -0
- package/docs/StripeStripeProductMarketingFeature.md +20 -0
- package/docs/StripeStripeProductPackageDimensions.md +26 -0
- package/docs/StripeStripeProductTaxCode.md +27 -0
- package/docs/StripeStripeProductType.md +10 -0
- package/docs/StripeStripeResponseStripeStripePrice.md +64 -0
- package/docs/StripeStripeResponseStripeStripePriceAllOfLastResponse.md +30 -0
- package/docs/StripeStripeTaxCode.md +27 -0
- package/docs/{DeleteClubSettingsRequest.md → SubscribeRequestBody.md} +5 -3
- package/docs/SubscriberPrice.md +22 -0
- package/docs/SubscriptionMutationResponse.md +20 -0
- package/docs/SubscriptionPlanResponse.md +16 -14
- package/docs/SubscriptionsManagerApi.md +171 -0
- package/docs/{StaffClubsApi.md → SubscriptionsPublicApi.md} +16 -15
- package/docs/{UserClubsApi.md → SubscriptionsStaffApi.md} +13 -12
- package/docs/SubscriptionsUserApi.md +222 -0
- package/docs/SurfaceType.md +12 -0
- package/docs/Team.md +22 -0
- package/docs/UpdateActuality200Response.md +20 -0
- package/docs/{GetClubInfos200Response.md → UpdateClubGeneralSettingsRequest.md} +11 -7
- package/docs/UpdateClubHoursSettingsRequest.md +22 -0
- package/docs/UpdateClubPresentationSettingsRequest.md +26 -0
- package/docs/UpdateClubRequest.md +14 -20
- package/docs/UpdateClubRequestLocation.md +29 -0
- package/docs/UpdateClubRequestLocationCoordinates.md +22 -0
- package/docs/UpdateClubReservationSettingsRequest.md +34 -0
- package/docs/UpdateClubRoleRequest.md +22 -0
- package/docs/UpdateClubSettingsRequest.md +14 -10
- package/docs/UpdateCustomerRequestBody.md +3 -7
- package/docs/UpdateCustomerResponse.md +1 -3
- package/docs/UpdateEventRequest.md +54 -0
- package/docs/{ClubListResponse.md → UpdateLevelBySportsRequestBody.md} +5 -7
- package/docs/UpdatePlanRequest.md +22 -0
- package/docs/UpdateSportRequest.md +7 -3
- package/docs/UpdateSubscriptionPlanForClub200Response.md +20 -0
- package/docs/UpdateUserRequestBody.md +8 -2
- package/docs/UpdateUserRequestBodyLevelBySportsInner.md +22 -0
- package/docs/UserClubSubscription.md +42 -0
- package/docs/UserInfo.md +28 -0
- package/docs/UserLocationSummary.md +44 -0
- package/docs/UserProfileResponse.md +94 -0
- package/docs/UserRolesResponse.md +20 -0
- package/docs/{GetActiveClubs200Response.md → UserSubscriptionsResponse.md} +5 -5
- package/docs/UsersApi.md +1963 -0
- package/docs/VerifyEmailRequest.md +20 -0
- package/docs/YearlyTurnoverResponse.md +26 -0
- package/index.ts +3 -3
- package/package.json +5 -4
- package/docs/AdminClubSlotsApi.md +0 -62
- package/docs/Booking.md +0 -32
- package/docs/CancelBookingResponseBooking.md +0 -30
- package/docs/Club.md +0 -46
- package/docs/ClubInfoResponse.md +0 -46
- package/docs/ClubMember.md +0 -34
- package/docs/ClubRole.md +0 -30
- package/docs/ClubRolesResponse.md +0 -22
- package/docs/ClubSettings.md +0 -34
- package/docs/ClubsResponse.md +0 -22
- package/docs/ConfirmPaymentMethodSetupResponse.md +0 -22
- package/docs/CourtsResponse.md +0 -22
- package/docs/CreateClubRoleRequestBody.md +0 -24
- package/docs/CreatePriceRequest.md +0 -26
- package/docs/GetCourtsByClubAndSport200Response.md +0 -26
- package/docs/GetLastSixMonthsTurnover200ResponseInner.md +0 -24
- package/docs/GetUserRolesResponse.md +0 -20
- package/docs/GetUserRolesResponseRolesInner.md +0 -26
- package/docs/GetUserSubscriptionsResponse.md +0 -22
- package/docs/GoogleSignInRequestBody.md +0 -20
- package/docs/InitiateSubscriptionSessionRequestBody.md +0 -26
- package/docs/InitiateSubscriptionSessionResponse.md +0 -22
- package/docs/ManagerCancelBookingResponseBooking.md +0 -30
- package/docs/ManagerClubCourtsApi.md +0 -118
- package/docs/ManagerClubRolesApi.md +0 -268
- package/docs/ManagerClubSlotsApi.md +0 -125
- package/docs/ManagerClubSubscriptionsApi.md +0 -408
- package/docs/PriceResponse.md +0 -32
- package/docs/Slot.md +0 -24
- package/docs/SlotException.md +0 -26
- package/docs/SlotResponse.md +0 -34
- package/docs/Sport.md +0 -24
- package/docs/SportsResponse.md +0 -22
- package/docs/StaffClubAnalyticsApi.md +0 -111
- package/docs/StaffClubBookingsApi.md +0 -59
- package/docs/StaffClubSettingsApi.md +0 -62
- package/docs/SubscribeToClubRequestBody.md +0 -22
- package/docs/SubscriptionPlan.md +0 -36
- package/docs/SubscriptionResponse.md +0 -36
- package/docs/UpdateClubRoleRequestBody.md +0 -24
- package/docs/UpdateCustomerRequestBodyAddress.md +0 -30
- package/docs/UpdateCustomerResponseCustomer.md +0 -28
- package/docs/UpdateSubscriptionPlanRequest.md +0 -24
- package/docs/UpdateSubscriptionPlanResponse.md +0 -22
- package/docs/User.md +0 -40
- package/docs/UserApi.md +0 -119
- package/docs/UserAuthenticationApi.md +0 -226
- package/docs/UserClubCourtsApi.md +0 -64
- package/docs/UserClubSlotsApi.md +0 -181
- package/docs/UserClubSportsApi.md +0 -60
- package/docs/UserPaymentApi.md +0 -121
- package/docs/UserProfileApi.md +0 -224
- package/docs/UserResponse.md +0 -38
- package/docs/UserSubscriptionsApi.md +0 -222
- package/docs/UsersResponse.md +0 -22
package/docs/UsersApi.md
ADDED
|
@@ -0,0 +1,1963 @@
|
|
|
1
|
+
# UsersApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
|Method | HTTP request | Description|
|
|
6
|
+
|------------- | ------------- | -------------|
|
|
7
|
+
|[**addFavoriteClub**](#addfavoriteclub) | **POST** /api/users/me/favorite-clubs | |
|
|
8
|
+
|[**addFavoritePlayer**](#addfavoriteplayer) | **POST** /api/users/me/favoritesPlayers | |
|
|
9
|
+
|[**addOrganization**](#addorganization) | **POST** /api/users/me/add-organization | |
|
|
10
|
+
|[**addPaymentMethodSetup**](#addpaymentmethodsetup) | **POST** /api/users/addPaymentMethodSetup | |
|
|
11
|
+
|[**changePassword**](#changepassword) | **PUT** /api/users/me/password | |
|
|
12
|
+
|[**confirmPaymentMethodSetup**](#confirmpaymentmethodsetup) | **POST** /api/users/confirmPaymentMethodSetup | |
|
|
13
|
+
|[**getAllUsers**](#getallusers) | **GET** /api/users | |
|
|
14
|
+
|[**getBookingDetail**](#getbookingdetail) | **GET** /api/users/me/booking-detail/{bookingId} | |
|
|
15
|
+
|[**getFavoriteClubs**](#getfavoriteclubs) | **GET** /api/users/me/favorite-clubs | |
|
|
16
|
+
|[**getFavoritesPlayers**](#getfavoritesplayers) | **GET** /api/users/me/favoritesPlayers | |
|
|
17
|
+
|[**getFrequentlyPlayedWith**](#getfrequentlyplayedwith) | **GET** /api/users/me/frequentlyPlayedWith | |
|
|
18
|
+
|[**getFrequentlyVisitedClub**](#getfrequentlyvisitedclub) | **GET** /api/users/me/frequentlyVisitedClub | |
|
|
19
|
+
|[**getMe**](#getme) | **GET** /api/users/me | |
|
|
20
|
+
|[**getNearestClubs**](#getnearestclubs) | **GET** /api/users/me/nearest-clubs | |
|
|
21
|
+
|[**getNearestClubsFromCoordinates**](#getnearestclubsfromcoordinates) | **GET** /api/users/nearest-clubs/coordinates | |
|
|
22
|
+
|[**getNearestUsers**](#getnearestusers) | **GET** /api/users/me/nearest-players | |
|
|
23
|
+
|[**getNearestUsersFromCoordinates**](#getnearestusersfromcoordinates) | **GET** /api/users/nearest-players/coordinates | |
|
|
24
|
+
|[**getPlayerCategories**](#getplayercategories) | **GET** /api/users/players/categories | |
|
|
25
|
+
|[**getUserBookings**](#getuserbookings) | **GET** /api/users/me/bookings | |
|
|
26
|
+
|[**getUserProfileById**](#getuserprofilebyid) | **GET** /api/users/profile/{id} | |
|
|
27
|
+
|[**listPlayers**](#listplayers) | **GET** /api/users/players | |
|
|
28
|
+
|[**login**](#login) | **POST** /api/users/login | |
|
|
29
|
+
|[**refreshToken**](#refreshtoken) | **POST** /api/users/refresh-token | |
|
|
30
|
+
|[**register**](#register) | **POST** /api/users | |
|
|
31
|
+
|[**removeFavoriteClub**](#removefavoriteclub) | **DELETE** /api/users/me/favorite-clubs/{clubId} | |
|
|
32
|
+
|[**removeFavoritePlayer**](#removefavoriteplayer) | **DELETE** /api/users/me/favoritesPlayers/{favoritePlayerId} | |
|
|
33
|
+
|[**removeOrganization**](#removeorganization) | **POST** /api/users/me/remove-organization | |
|
|
34
|
+
|[**requestEmailVerification**](#requestemailverification) | **POST** /api/users/me/request-email-verification | |
|
|
35
|
+
|[**requestPasswordReset**](#requestpasswordreset) | **POST** /api/users/request-password-reset | |
|
|
36
|
+
|[**resetPassword**](#resetpassword) | **POST** /api/users/reset-password | |
|
|
37
|
+
|[**setupOffSessionPaymentMethod**](#setupoffsessionpaymentmethod) | **POST** /api/users/setupOffSessionPaymentMethod | |
|
|
38
|
+
|[**signInOrSignUpWithGoogle**](#signinorsignupwithgoogle) | **POST** /api/users/googleSignin | |
|
|
39
|
+
|[**updateCustomer**](#updatecustomer) | **PUT** /api/users/me/customer | |
|
|
40
|
+
|[**updateLevelBySports**](#updatelevelbysports) | **PUT** /api/users/me/level-by-sports | |
|
|
41
|
+
|[**updateMe**](#updateme) | **PUT** /api/users/me | |
|
|
42
|
+
|[**updateProfilePicture**](#updateprofilepicture) | **PUT** /api/users/me/profile-picture | |
|
|
43
|
+
|[**verifyEmail**](#verifyemail) | **POST** /api/users/verify-email | |
|
|
44
|
+
|[**verifyOrganization**](#verifyorganization) | **POST** /api/users/verify-organization | |
|
|
45
|
+
|
|
46
|
+
# **addFavoriteClub**
|
|
47
|
+
> FavoriteClubMutationResponse addFavoriteClub(favoriteClubRequestBody)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Example
|
|
51
|
+
|
|
52
|
+
```typescript
|
|
53
|
+
import {
|
|
54
|
+
UsersApi,
|
|
55
|
+
Configuration,
|
|
56
|
+
FavoriteClubRequestBody
|
|
57
|
+
} from '@tennac-booking/sdk';
|
|
58
|
+
|
|
59
|
+
const configuration = new Configuration();
|
|
60
|
+
const apiInstance = new UsersApi(configuration);
|
|
61
|
+
|
|
62
|
+
let favoriteClubRequestBody: FavoriteClubRequestBody; //
|
|
63
|
+
|
|
64
|
+
const { status, data } = await apiInstance.addFavoriteClub(
|
|
65
|
+
favoriteClubRequestBody
|
|
66
|
+
);
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Parameters
|
|
70
|
+
|
|
71
|
+
|Name | Type | Description | Notes|
|
|
72
|
+
|------------- | ------------- | ------------- | -------------|
|
|
73
|
+
| **favoriteClubRequestBody** | **FavoriteClubRequestBody**| | |
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
### Return type
|
|
77
|
+
|
|
78
|
+
**FavoriteClubMutationResponse**
|
|
79
|
+
|
|
80
|
+
### Authorization
|
|
81
|
+
|
|
82
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
83
|
+
|
|
84
|
+
### HTTP request headers
|
|
85
|
+
|
|
86
|
+
- **Content-Type**: application/json
|
|
87
|
+
- **Accept**: application/json
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
### HTTP response details
|
|
91
|
+
| Status code | Description | Response headers |
|
|
92
|
+
|-------------|-------------|------------------|
|
|
93
|
+
|**200** | Ok | - |
|
|
94
|
+
|
|
95
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
96
|
+
|
|
97
|
+
# **addFavoritePlayer**
|
|
98
|
+
> FavoritePlayerMutationResponse addFavoritePlayer(favoritePlayerRequestBody)
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
### Example
|
|
102
|
+
|
|
103
|
+
```typescript
|
|
104
|
+
import {
|
|
105
|
+
UsersApi,
|
|
106
|
+
Configuration,
|
|
107
|
+
FavoritePlayerRequestBody
|
|
108
|
+
} from '@tennac-booking/sdk';
|
|
109
|
+
|
|
110
|
+
const configuration = new Configuration();
|
|
111
|
+
const apiInstance = new UsersApi(configuration);
|
|
112
|
+
|
|
113
|
+
let favoritePlayerRequestBody: FavoritePlayerRequestBody; //
|
|
114
|
+
|
|
115
|
+
const { status, data } = await apiInstance.addFavoritePlayer(
|
|
116
|
+
favoritePlayerRequestBody
|
|
117
|
+
);
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
### Parameters
|
|
121
|
+
|
|
122
|
+
|Name | Type | Description | Notes|
|
|
123
|
+
|------------- | ------------- | ------------- | -------------|
|
|
124
|
+
| **favoritePlayerRequestBody** | **FavoritePlayerRequestBody**| | |
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### Return type
|
|
128
|
+
|
|
129
|
+
**FavoritePlayerMutationResponse**
|
|
130
|
+
|
|
131
|
+
### Authorization
|
|
132
|
+
|
|
133
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
134
|
+
|
|
135
|
+
### HTTP request headers
|
|
136
|
+
|
|
137
|
+
- **Content-Type**: application/json
|
|
138
|
+
- **Accept**: application/json
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
### HTTP response details
|
|
142
|
+
| Status code | Description | Response headers |
|
|
143
|
+
|-------------|-------------|------------------|
|
|
144
|
+
|**200** | Ok | - |
|
|
145
|
+
|
|
146
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
147
|
+
|
|
148
|
+
# **addOrganization**
|
|
149
|
+
> RequestPasswordReset200Response addOrganization(addOrganizationRequest)
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
### Example
|
|
153
|
+
|
|
154
|
+
```typescript
|
|
155
|
+
import {
|
|
156
|
+
UsersApi,
|
|
157
|
+
Configuration,
|
|
158
|
+
AddOrganizationRequest
|
|
159
|
+
} from '@tennac-booking/sdk';
|
|
160
|
+
|
|
161
|
+
const configuration = new Configuration();
|
|
162
|
+
const apiInstance = new UsersApi(configuration);
|
|
163
|
+
|
|
164
|
+
let addOrganizationRequest: AddOrganizationRequest; //
|
|
165
|
+
|
|
166
|
+
const { status, data } = await apiInstance.addOrganization(
|
|
167
|
+
addOrganizationRequest
|
|
168
|
+
);
|
|
169
|
+
```
|
|
170
|
+
|
|
171
|
+
### Parameters
|
|
172
|
+
|
|
173
|
+
|Name | Type | Description | Notes|
|
|
174
|
+
|------------- | ------------- | ------------- | -------------|
|
|
175
|
+
| **addOrganizationRequest** | **AddOrganizationRequest**| | |
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
### Return type
|
|
179
|
+
|
|
180
|
+
**RequestPasswordReset200Response**
|
|
181
|
+
|
|
182
|
+
### Authorization
|
|
183
|
+
|
|
184
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
185
|
+
|
|
186
|
+
### HTTP request headers
|
|
187
|
+
|
|
188
|
+
- **Content-Type**: application/json
|
|
189
|
+
- **Accept**: application/json
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
### HTTP response details
|
|
193
|
+
| Status code | Description | Response headers |
|
|
194
|
+
|-------------|-------------|------------------|
|
|
195
|
+
|**200** | Ok | - |
|
|
196
|
+
|
|
197
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
198
|
+
|
|
199
|
+
# **addPaymentMethodSetup**
|
|
200
|
+
> PaymentMethodSetupResponse addPaymentMethodSetup(addPaymentMethodRequestBody)
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
### Example
|
|
204
|
+
|
|
205
|
+
```typescript
|
|
206
|
+
import {
|
|
207
|
+
UsersApi,
|
|
208
|
+
Configuration,
|
|
209
|
+
AddPaymentMethodRequestBody
|
|
210
|
+
} from '@tennac-booking/sdk';
|
|
211
|
+
|
|
212
|
+
const configuration = new Configuration();
|
|
213
|
+
const apiInstance = new UsersApi(configuration);
|
|
214
|
+
|
|
215
|
+
let addPaymentMethodRequestBody: AddPaymentMethodRequestBody; //
|
|
216
|
+
|
|
217
|
+
const { status, data } = await apiInstance.addPaymentMethodSetup(
|
|
218
|
+
addPaymentMethodRequestBody
|
|
219
|
+
);
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### Parameters
|
|
223
|
+
|
|
224
|
+
|Name | Type | Description | Notes|
|
|
225
|
+
|------------- | ------------- | ------------- | -------------|
|
|
226
|
+
| **addPaymentMethodRequestBody** | **AddPaymentMethodRequestBody**| | |
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
### Return type
|
|
230
|
+
|
|
231
|
+
**PaymentMethodSetupResponse**
|
|
232
|
+
|
|
233
|
+
### Authorization
|
|
234
|
+
|
|
235
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
236
|
+
|
|
237
|
+
### HTTP request headers
|
|
238
|
+
|
|
239
|
+
- **Content-Type**: application/json
|
|
240
|
+
- **Accept**: application/json
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
### HTTP response details
|
|
244
|
+
| Status code | Description | Response headers |
|
|
245
|
+
|-------------|-------------|------------------|
|
|
246
|
+
|**200** | Ok | - |
|
|
247
|
+
|
|
248
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
249
|
+
|
|
250
|
+
# **changePassword**
|
|
251
|
+
> ChangePasswordResponse changePassword(changePasswordRequestBody)
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
### Example
|
|
255
|
+
|
|
256
|
+
```typescript
|
|
257
|
+
import {
|
|
258
|
+
UsersApi,
|
|
259
|
+
Configuration,
|
|
260
|
+
ChangePasswordRequestBody
|
|
261
|
+
} from '@tennac-booking/sdk';
|
|
262
|
+
|
|
263
|
+
const configuration = new Configuration();
|
|
264
|
+
const apiInstance = new UsersApi(configuration);
|
|
265
|
+
|
|
266
|
+
let changePasswordRequestBody: ChangePasswordRequestBody; //
|
|
267
|
+
|
|
268
|
+
const { status, data } = await apiInstance.changePassword(
|
|
269
|
+
changePasswordRequestBody
|
|
270
|
+
);
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
### Parameters
|
|
274
|
+
|
|
275
|
+
|Name | Type | Description | Notes|
|
|
276
|
+
|------------- | ------------- | ------------- | -------------|
|
|
277
|
+
| **changePasswordRequestBody** | **ChangePasswordRequestBody**| | |
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
### Return type
|
|
281
|
+
|
|
282
|
+
**ChangePasswordResponse**
|
|
283
|
+
|
|
284
|
+
### Authorization
|
|
285
|
+
|
|
286
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
287
|
+
|
|
288
|
+
### HTTP request headers
|
|
289
|
+
|
|
290
|
+
- **Content-Type**: application/json
|
|
291
|
+
- **Accept**: application/json
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
### HTTP response details
|
|
295
|
+
| Status code | Description | Response headers |
|
|
296
|
+
|-------------|-------------|------------------|
|
|
297
|
+
|**200** | Ok | - |
|
|
298
|
+
|
|
299
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
300
|
+
|
|
301
|
+
# **confirmPaymentMethodSetup**
|
|
302
|
+
> ConfirmPaymentMethodResponse confirmPaymentMethodSetup(confirmPaymentMethodRequestBody)
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
### Example
|
|
306
|
+
|
|
307
|
+
```typescript
|
|
308
|
+
import {
|
|
309
|
+
UsersApi,
|
|
310
|
+
Configuration,
|
|
311
|
+
ConfirmPaymentMethodRequestBody
|
|
312
|
+
} from '@tennac-booking/sdk';
|
|
313
|
+
|
|
314
|
+
const configuration = new Configuration();
|
|
315
|
+
const apiInstance = new UsersApi(configuration);
|
|
316
|
+
|
|
317
|
+
let confirmPaymentMethodRequestBody: ConfirmPaymentMethodRequestBody; //
|
|
318
|
+
|
|
319
|
+
const { status, data } = await apiInstance.confirmPaymentMethodSetup(
|
|
320
|
+
confirmPaymentMethodRequestBody
|
|
321
|
+
);
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
### Parameters
|
|
325
|
+
|
|
326
|
+
|Name | Type | Description | Notes|
|
|
327
|
+
|------------- | ------------- | ------------- | -------------|
|
|
328
|
+
| **confirmPaymentMethodRequestBody** | **ConfirmPaymentMethodRequestBody**| | |
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
### Return type
|
|
332
|
+
|
|
333
|
+
**ConfirmPaymentMethodResponse**
|
|
334
|
+
|
|
335
|
+
### Authorization
|
|
336
|
+
|
|
337
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
338
|
+
|
|
339
|
+
### HTTP request headers
|
|
340
|
+
|
|
341
|
+
- **Content-Type**: application/json
|
|
342
|
+
- **Accept**: application/json
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
### HTTP response details
|
|
346
|
+
| Status code | Description | Response headers |
|
|
347
|
+
|-------------|-------------|------------------|
|
|
348
|
+
|**200** | Ok | - |
|
|
349
|
+
|
|
350
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
351
|
+
|
|
352
|
+
# **getAllUsers**
|
|
353
|
+
> Array<IUserAttributes> getAllUsers()
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
### Example
|
|
357
|
+
|
|
358
|
+
```typescript
|
|
359
|
+
import {
|
|
360
|
+
UsersApi,
|
|
361
|
+
Configuration
|
|
362
|
+
} from '@tennac-booking/sdk';
|
|
363
|
+
|
|
364
|
+
const configuration = new Configuration();
|
|
365
|
+
const apiInstance = new UsersApi(configuration);
|
|
366
|
+
|
|
367
|
+
const { status, data } = await apiInstance.getAllUsers();
|
|
368
|
+
```
|
|
369
|
+
|
|
370
|
+
### Parameters
|
|
371
|
+
This endpoint does not have any parameters.
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
### Return type
|
|
375
|
+
|
|
376
|
+
**Array<IUserAttributes>**
|
|
377
|
+
|
|
378
|
+
### Authorization
|
|
379
|
+
|
|
380
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
381
|
+
|
|
382
|
+
### HTTP request headers
|
|
383
|
+
|
|
384
|
+
- **Content-Type**: Not defined
|
|
385
|
+
- **Accept**: application/json
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
### HTTP response details
|
|
389
|
+
| Status code | Description | Response headers |
|
|
390
|
+
|-------------|-------------|------------------|
|
|
391
|
+
|**200** | Ok | - |
|
|
392
|
+
|
|
393
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
394
|
+
|
|
395
|
+
# **getBookingDetail**
|
|
396
|
+
> BookingDetailResponse getBookingDetail()
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
### Example
|
|
400
|
+
|
|
401
|
+
```typescript
|
|
402
|
+
import {
|
|
403
|
+
UsersApi,
|
|
404
|
+
Configuration
|
|
405
|
+
} from '@tennac-booking/sdk';
|
|
406
|
+
|
|
407
|
+
const configuration = new Configuration();
|
|
408
|
+
const apiInstance = new UsersApi(configuration);
|
|
409
|
+
|
|
410
|
+
let bookingId: string; // (default to undefined)
|
|
411
|
+
|
|
412
|
+
const { status, data } = await apiInstance.getBookingDetail(
|
|
413
|
+
bookingId
|
|
414
|
+
);
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
### Parameters
|
|
418
|
+
|
|
419
|
+
|Name | Type | Description | Notes|
|
|
420
|
+
|------------- | ------------- | ------------- | -------------|
|
|
421
|
+
| **bookingId** | [**string**] | | defaults to undefined|
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
### Return type
|
|
425
|
+
|
|
426
|
+
**BookingDetailResponse**
|
|
427
|
+
|
|
428
|
+
### Authorization
|
|
429
|
+
|
|
430
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
431
|
+
|
|
432
|
+
### HTTP request headers
|
|
433
|
+
|
|
434
|
+
- **Content-Type**: Not defined
|
|
435
|
+
- **Accept**: application/json
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
### HTTP response details
|
|
439
|
+
| Status code | Description | Response headers |
|
|
440
|
+
|-------------|-------------|------------------|
|
|
441
|
+
|**200** | Ok | - |
|
|
442
|
+
|
|
443
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
444
|
+
|
|
445
|
+
# **getFavoriteClubs**
|
|
446
|
+
> FavoriteClubsResponse getFavoriteClubs()
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
### Example
|
|
450
|
+
|
|
451
|
+
```typescript
|
|
452
|
+
import {
|
|
453
|
+
UsersApi,
|
|
454
|
+
Configuration
|
|
455
|
+
} from '@tennac-booking/sdk';
|
|
456
|
+
|
|
457
|
+
const configuration = new Configuration();
|
|
458
|
+
const apiInstance = new UsersApi(configuration);
|
|
459
|
+
|
|
460
|
+
const { status, data } = await apiInstance.getFavoriteClubs();
|
|
461
|
+
```
|
|
462
|
+
|
|
463
|
+
### Parameters
|
|
464
|
+
This endpoint does not have any parameters.
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
### Return type
|
|
468
|
+
|
|
469
|
+
**FavoriteClubsResponse**
|
|
470
|
+
|
|
471
|
+
### Authorization
|
|
472
|
+
|
|
473
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
474
|
+
|
|
475
|
+
### HTTP request headers
|
|
476
|
+
|
|
477
|
+
- **Content-Type**: Not defined
|
|
478
|
+
- **Accept**: application/json
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
### HTTP response details
|
|
482
|
+
| Status code | Description | Response headers |
|
|
483
|
+
|-------------|-------------|------------------|
|
|
484
|
+
|**200** | Ok | - |
|
|
485
|
+
|
|
486
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
487
|
+
|
|
488
|
+
# **getFavoritesPlayers**
|
|
489
|
+
> FavoritePlayersResponse getFavoritesPlayers()
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
### Example
|
|
493
|
+
|
|
494
|
+
```typescript
|
|
495
|
+
import {
|
|
496
|
+
UsersApi,
|
|
497
|
+
Configuration
|
|
498
|
+
} from '@tennac-booking/sdk';
|
|
499
|
+
|
|
500
|
+
const configuration = new Configuration();
|
|
501
|
+
const apiInstance = new UsersApi(configuration);
|
|
502
|
+
|
|
503
|
+
const { status, data } = await apiInstance.getFavoritesPlayers();
|
|
504
|
+
```
|
|
505
|
+
|
|
506
|
+
### Parameters
|
|
507
|
+
This endpoint does not have any parameters.
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
### Return type
|
|
511
|
+
|
|
512
|
+
**FavoritePlayersResponse**
|
|
513
|
+
|
|
514
|
+
### Authorization
|
|
515
|
+
|
|
516
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
517
|
+
|
|
518
|
+
### HTTP request headers
|
|
519
|
+
|
|
520
|
+
- **Content-Type**: Not defined
|
|
521
|
+
- **Accept**: application/json
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
### HTTP response details
|
|
525
|
+
| Status code | Description | Response headers |
|
|
526
|
+
|-------------|-------------|------------------|
|
|
527
|
+
|**200** | Ok | - |
|
|
528
|
+
|
|
529
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
530
|
+
|
|
531
|
+
# **getFrequentlyPlayedWith**
|
|
532
|
+
> Array<PlayerSummary> getFrequentlyPlayedWith()
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
### Example
|
|
536
|
+
|
|
537
|
+
```typescript
|
|
538
|
+
import {
|
|
539
|
+
UsersApi,
|
|
540
|
+
Configuration
|
|
541
|
+
} from '@tennac-booking/sdk';
|
|
542
|
+
|
|
543
|
+
const configuration = new Configuration();
|
|
544
|
+
const apiInstance = new UsersApi(configuration);
|
|
545
|
+
|
|
546
|
+
const { status, data } = await apiInstance.getFrequentlyPlayedWith();
|
|
547
|
+
```
|
|
548
|
+
|
|
549
|
+
### Parameters
|
|
550
|
+
This endpoint does not have any parameters.
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
### Return type
|
|
554
|
+
|
|
555
|
+
**Array<PlayerSummary>**
|
|
556
|
+
|
|
557
|
+
### Authorization
|
|
558
|
+
|
|
559
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
560
|
+
|
|
561
|
+
### HTTP request headers
|
|
562
|
+
|
|
563
|
+
- **Content-Type**: Not defined
|
|
564
|
+
- **Accept**: application/json
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
### HTTP response details
|
|
568
|
+
| Status code | Description | Response headers |
|
|
569
|
+
|-------------|-------------|------------------|
|
|
570
|
+
|**200** | Ok | - |
|
|
571
|
+
|
|
572
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
573
|
+
|
|
574
|
+
# **getFrequentlyVisitedClub**
|
|
575
|
+
> Array<ClubSummary> getFrequentlyVisitedClub()
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
### Example
|
|
579
|
+
|
|
580
|
+
```typescript
|
|
581
|
+
import {
|
|
582
|
+
UsersApi,
|
|
583
|
+
Configuration
|
|
584
|
+
} from '@tennac-booking/sdk';
|
|
585
|
+
|
|
586
|
+
const configuration = new Configuration();
|
|
587
|
+
const apiInstance = new UsersApi(configuration);
|
|
588
|
+
|
|
589
|
+
const { status, data } = await apiInstance.getFrequentlyVisitedClub();
|
|
590
|
+
```
|
|
591
|
+
|
|
592
|
+
### Parameters
|
|
593
|
+
This endpoint does not have any parameters.
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
### Return type
|
|
597
|
+
|
|
598
|
+
**Array<ClubSummary>**
|
|
599
|
+
|
|
600
|
+
### Authorization
|
|
601
|
+
|
|
602
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
603
|
+
|
|
604
|
+
### HTTP request headers
|
|
605
|
+
|
|
606
|
+
- **Content-Type**: Not defined
|
|
607
|
+
- **Accept**: application/json
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
### HTTP response details
|
|
611
|
+
| Status code | Description | Response headers |
|
|
612
|
+
|-------------|-------------|------------------|
|
|
613
|
+
|**200** | Ok | - |
|
|
614
|
+
|
|
615
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
616
|
+
|
|
617
|
+
# **getMe**
|
|
618
|
+
> UserProfileResponse getMe()
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
### Example
|
|
622
|
+
|
|
623
|
+
```typescript
|
|
624
|
+
import {
|
|
625
|
+
UsersApi,
|
|
626
|
+
Configuration
|
|
627
|
+
} from '@tennac-booking/sdk';
|
|
628
|
+
|
|
629
|
+
const configuration = new Configuration();
|
|
630
|
+
const apiInstance = new UsersApi(configuration);
|
|
631
|
+
|
|
632
|
+
const { status, data } = await apiInstance.getMe();
|
|
633
|
+
```
|
|
634
|
+
|
|
635
|
+
### Parameters
|
|
636
|
+
This endpoint does not have any parameters.
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
### Return type
|
|
640
|
+
|
|
641
|
+
**UserProfileResponse**
|
|
642
|
+
|
|
643
|
+
### Authorization
|
|
644
|
+
|
|
645
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
646
|
+
|
|
647
|
+
### HTTP request headers
|
|
648
|
+
|
|
649
|
+
- **Content-Type**: Not defined
|
|
650
|
+
- **Accept**: application/json
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
### HTTP response details
|
|
654
|
+
| Status code | Description | Response headers |
|
|
655
|
+
|-------------|-------------|------------------|
|
|
656
|
+
|**200** | Ok | - |
|
|
657
|
+
|
|
658
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
659
|
+
|
|
660
|
+
# **getNearestClubs**
|
|
661
|
+
> Array<{ [key: string]: any; }> getNearestClubs()
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
### Example
|
|
665
|
+
|
|
666
|
+
```typescript
|
|
667
|
+
import {
|
|
668
|
+
UsersApi,
|
|
669
|
+
Configuration
|
|
670
|
+
} from '@tennac-booking/sdk';
|
|
671
|
+
|
|
672
|
+
const configuration = new Configuration();
|
|
673
|
+
const apiInstance = new UsersApi(configuration);
|
|
674
|
+
|
|
675
|
+
let radiusInKm: number; // (optional) (default to undefined)
|
|
676
|
+
let limit: number; // (optional) (default to undefined)
|
|
677
|
+
|
|
678
|
+
const { status, data } = await apiInstance.getNearestClubs(
|
|
679
|
+
radiusInKm,
|
|
680
|
+
limit
|
|
681
|
+
);
|
|
682
|
+
```
|
|
683
|
+
|
|
684
|
+
### Parameters
|
|
685
|
+
|
|
686
|
+
|Name | Type | Description | Notes|
|
|
687
|
+
|------------- | ------------- | ------------- | -------------|
|
|
688
|
+
| **radiusInKm** | [**number**] | | (optional) defaults to undefined|
|
|
689
|
+
| **limit** | [**number**] | | (optional) defaults to undefined|
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
### Return type
|
|
693
|
+
|
|
694
|
+
**Array<{ [key: string]: any; }>**
|
|
695
|
+
|
|
696
|
+
### Authorization
|
|
697
|
+
|
|
698
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
699
|
+
|
|
700
|
+
### HTTP request headers
|
|
701
|
+
|
|
702
|
+
- **Content-Type**: Not defined
|
|
703
|
+
- **Accept**: application/json
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
### HTTP response details
|
|
707
|
+
| Status code | Description | Response headers |
|
|
708
|
+
|-------------|-------------|------------------|
|
|
709
|
+
|**200** | Ok | - |
|
|
710
|
+
|
|
711
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
712
|
+
|
|
713
|
+
# **getNearestClubsFromCoordinates**
|
|
714
|
+
> Array<{ [key: string]: any; }> getNearestClubsFromCoordinates()
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
### Example
|
|
718
|
+
|
|
719
|
+
```typescript
|
|
720
|
+
import {
|
|
721
|
+
UsersApi,
|
|
722
|
+
Configuration
|
|
723
|
+
} from '@tennac-booking/sdk';
|
|
724
|
+
|
|
725
|
+
const configuration = new Configuration();
|
|
726
|
+
const apiInstance = new UsersApi(configuration);
|
|
727
|
+
|
|
728
|
+
let latitude: number; // (optional) (default to undefined)
|
|
729
|
+
let longitude: number; // (optional) (default to undefined)
|
|
730
|
+
let radiusInKm: number; // (optional) (default to undefined)
|
|
731
|
+
let limit: number; // (optional) (default to undefined)
|
|
732
|
+
|
|
733
|
+
const { status, data } = await apiInstance.getNearestClubsFromCoordinates(
|
|
734
|
+
latitude,
|
|
735
|
+
longitude,
|
|
736
|
+
radiusInKm,
|
|
737
|
+
limit
|
|
738
|
+
);
|
|
739
|
+
```
|
|
740
|
+
|
|
741
|
+
### Parameters
|
|
742
|
+
|
|
743
|
+
|Name | Type | Description | Notes|
|
|
744
|
+
|------------- | ------------- | ------------- | -------------|
|
|
745
|
+
| **latitude** | [**number**] | | (optional) defaults to undefined|
|
|
746
|
+
| **longitude** | [**number**] | | (optional) defaults to undefined|
|
|
747
|
+
| **radiusInKm** | [**number**] | | (optional) defaults to undefined|
|
|
748
|
+
| **limit** | [**number**] | | (optional) defaults to undefined|
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
### Return type
|
|
752
|
+
|
|
753
|
+
**Array<{ [key: string]: any; }>**
|
|
754
|
+
|
|
755
|
+
### Authorization
|
|
756
|
+
|
|
757
|
+
No authorization required
|
|
758
|
+
|
|
759
|
+
### HTTP request headers
|
|
760
|
+
|
|
761
|
+
- **Content-Type**: Not defined
|
|
762
|
+
- **Accept**: application/json
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
### HTTP response details
|
|
766
|
+
| Status code | Description | Response headers |
|
|
767
|
+
|-------------|-------------|------------------|
|
|
768
|
+
|**200** | Ok | - |
|
|
769
|
+
|
|
770
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
771
|
+
|
|
772
|
+
# **getNearestUsers**
|
|
773
|
+
> Array<{ [key: string]: any; }> getNearestUsers()
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
### Example
|
|
777
|
+
|
|
778
|
+
```typescript
|
|
779
|
+
import {
|
|
780
|
+
UsersApi,
|
|
781
|
+
Configuration
|
|
782
|
+
} from '@tennac-booking/sdk';
|
|
783
|
+
|
|
784
|
+
const configuration = new Configuration();
|
|
785
|
+
const apiInstance = new UsersApi(configuration);
|
|
786
|
+
|
|
787
|
+
let radiusInKm: number; // (optional) (default to undefined)
|
|
788
|
+
let limit: number; // (optional) (default to undefined)
|
|
789
|
+
|
|
790
|
+
const { status, data } = await apiInstance.getNearestUsers(
|
|
791
|
+
radiusInKm,
|
|
792
|
+
limit
|
|
793
|
+
);
|
|
794
|
+
```
|
|
795
|
+
|
|
796
|
+
### Parameters
|
|
797
|
+
|
|
798
|
+
|Name | Type | Description | Notes|
|
|
799
|
+
|------------- | ------------- | ------------- | -------------|
|
|
800
|
+
| **radiusInKm** | [**number**] | | (optional) defaults to undefined|
|
|
801
|
+
| **limit** | [**number**] | | (optional) defaults to undefined|
|
|
802
|
+
|
|
803
|
+
|
|
804
|
+
### Return type
|
|
805
|
+
|
|
806
|
+
**Array<{ [key: string]: any; }>**
|
|
807
|
+
|
|
808
|
+
### Authorization
|
|
809
|
+
|
|
810
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
811
|
+
|
|
812
|
+
### HTTP request headers
|
|
813
|
+
|
|
814
|
+
- **Content-Type**: Not defined
|
|
815
|
+
- **Accept**: application/json
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
### HTTP response details
|
|
819
|
+
| Status code | Description | Response headers |
|
|
820
|
+
|-------------|-------------|------------------|
|
|
821
|
+
|**200** | Ok | - |
|
|
822
|
+
|
|
823
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
824
|
+
|
|
825
|
+
# **getNearestUsersFromCoordinates**
|
|
826
|
+
> Array<{ [key: string]: any; }> getNearestUsersFromCoordinates()
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
### Example
|
|
830
|
+
|
|
831
|
+
```typescript
|
|
832
|
+
import {
|
|
833
|
+
UsersApi,
|
|
834
|
+
Configuration
|
|
835
|
+
} from '@tennac-booking/sdk';
|
|
836
|
+
|
|
837
|
+
const configuration = new Configuration();
|
|
838
|
+
const apiInstance = new UsersApi(configuration);
|
|
839
|
+
|
|
840
|
+
let latitude: number; // (optional) (default to undefined)
|
|
841
|
+
let longitude: number; // (optional) (default to undefined)
|
|
842
|
+
let radiusInKm: number; // (optional) (default to undefined)
|
|
843
|
+
let limit: number; // (optional) (default to undefined)
|
|
844
|
+
|
|
845
|
+
const { status, data } = await apiInstance.getNearestUsersFromCoordinates(
|
|
846
|
+
latitude,
|
|
847
|
+
longitude,
|
|
848
|
+
radiusInKm,
|
|
849
|
+
limit
|
|
850
|
+
);
|
|
851
|
+
```
|
|
852
|
+
|
|
853
|
+
### Parameters
|
|
854
|
+
|
|
855
|
+
|Name | Type | Description | Notes|
|
|
856
|
+
|------------- | ------------- | ------------- | -------------|
|
|
857
|
+
| **latitude** | [**number**] | | (optional) defaults to undefined|
|
|
858
|
+
| **longitude** | [**number**] | | (optional) defaults to undefined|
|
|
859
|
+
| **radiusInKm** | [**number**] | | (optional) defaults to undefined|
|
|
860
|
+
| **limit** | [**number**] | | (optional) defaults to undefined|
|
|
861
|
+
|
|
862
|
+
|
|
863
|
+
### Return type
|
|
864
|
+
|
|
865
|
+
**Array<{ [key: string]: any; }>**
|
|
866
|
+
|
|
867
|
+
### Authorization
|
|
868
|
+
|
|
869
|
+
No authorization required
|
|
870
|
+
|
|
871
|
+
### HTTP request headers
|
|
872
|
+
|
|
873
|
+
- **Content-Type**: Not defined
|
|
874
|
+
- **Accept**: application/json
|
|
875
|
+
|
|
876
|
+
|
|
877
|
+
### HTTP response details
|
|
878
|
+
| Status code | Description | Response headers |
|
|
879
|
+
|-------------|-------------|------------------|
|
|
880
|
+
|**200** | Ok | - |
|
|
881
|
+
|
|
882
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
883
|
+
|
|
884
|
+
# **getPlayerCategories**
|
|
885
|
+
> PlayerCategoriesResponse getPlayerCategories()
|
|
886
|
+
|
|
887
|
+
|
|
888
|
+
### Example
|
|
889
|
+
|
|
890
|
+
```typescript
|
|
891
|
+
import {
|
|
892
|
+
UsersApi,
|
|
893
|
+
Configuration
|
|
894
|
+
} from '@tennac-booking/sdk';
|
|
895
|
+
|
|
896
|
+
const configuration = new Configuration();
|
|
897
|
+
const apiInstance = new UsersApi(configuration);
|
|
898
|
+
|
|
899
|
+
const { status, data } = await apiInstance.getPlayerCategories();
|
|
900
|
+
```
|
|
901
|
+
|
|
902
|
+
### Parameters
|
|
903
|
+
This endpoint does not have any parameters.
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
### Return type
|
|
907
|
+
|
|
908
|
+
**PlayerCategoriesResponse**
|
|
909
|
+
|
|
910
|
+
### Authorization
|
|
911
|
+
|
|
912
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
913
|
+
|
|
914
|
+
### HTTP request headers
|
|
915
|
+
|
|
916
|
+
- **Content-Type**: Not defined
|
|
917
|
+
- **Accept**: application/json
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
### HTTP response details
|
|
921
|
+
| Status code | Description | Response headers |
|
|
922
|
+
|-------------|-------------|------------------|
|
|
923
|
+
|**200** | Ok | - |
|
|
924
|
+
|
|
925
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
926
|
+
|
|
927
|
+
# **getUserBookings**
|
|
928
|
+
> Array<BookingSummary> getUserBookings()
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
### Example
|
|
932
|
+
|
|
933
|
+
```typescript
|
|
934
|
+
import {
|
|
935
|
+
UsersApi,
|
|
936
|
+
Configuration
|
|
937
|
+
} from '@tennac-booking/sdk';
|
|
938
|
+
|
|
939
|
+
const configuration = new Configuration();
|
|
940
|
+
const apiInstance = new UsersApi(configuration);
|
|
941
|
+
|
|
942
|
+
let limit: number; // (optional) (default to undefined)
|
|
943
|
+
let skip: number; // (optional) (default to undefined)
|
|
944
|
+
|
|
945
|
+
const { status, data } = await apiInstance.getUserBookings(
|
|
946
|
+
limit,
|
|
947
|
+
skip
|
|
948
|
+
);
|
|
949
|
+
```
|
|
950
|
+
|
|
951
|
+
### Parameters
|
|
952
|
+
|
|
953
|
+
|Name | Type | Description | Notes|
|
|
954
|
+
|------------- | ------------- | ------------- | -------------|
|
|
955
|
+
| **limit** | [**number**] | | (optional) defaults to undefined|
|
|
956
|
+
| **skip** | [**number**] | | (optional) defaults to undefined|
|
|
957
|
+
|
|
958
|
+
|
|
959
|
+
### Return type
|
|
960
|
+
|
|
961
|
+
**Array<BookingSummary>**
|
|
962
|
+
|
|
963
|
+
### Authorization
|
|
964
|
+
|
|
965
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
966
|
+
|
|
967
|
+
### HTTP request headers
|
|
968
|
+
|
|
969
|
+
- **Content-Type**: Not defined
|
|
970
|
+
- **Accept**: application/json
|
|
971
|
+
|
|
972
|
+
|
|
973
|
+
### HTTP response details
|
|
974
|
+
| Status code | Description | Response headers |
|
|
975
|
+
|-------------|-------------|------------------|
|
|
976
|
+
|**200** | Ok | - |
|
|
977
|
+
|
|
978
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
979
|
+
|
|
980
|
+
# **getUserProfileById**
|
|
981
|
+
> PublicUserProfileResponse getUserProfileById()
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
### Example
|
|
985
|
+
|
|
986
|
+
```typescript
|
|
987
|
+
import {
|
|
988
|
+
UsersApi,
|
|
989
|
+
Configuration
|
|
990
|
+
} from '@tennac-booking/sdk';
|
|
991
|
+
|
|
992
|
+
const configuration = new Configuration();
|
|
993
|
+
const apiInstance = new UsersApi(configuration);
|
|
994
|
+
|
|
995
|
+
let id: string; // (default to undefined)
|
|
996
|
+
|
|
997
|
+
const { status, data } = await apiInstance.getUserProfileById(
|
|
998
|
+
id
|
|
999
|
+
);
|
|
1000
|
+
```
|
|
1001
|
+
|
|
1002
|
+
### Parameters
|
|
1003
|
+
|
|
1004
|
+
|Name | Type | Description | Notes|
|
|
1005
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1006
|
+
| **id** | [**string**] | | defaults to undefined|
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
### Return type
|
|
1010
|
+
|
|
1011
|
+
**PublicUserProfileResponse**
|
|
1012
|
+
|
|
1013
|
+
### Authorization
|
|
1014
|
+
|
|
1015
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1016
|
+
|
|
1017
|
+
### HTTP request headers
|
|
1018
|
+
|
|
1019
|
+
- **Content-Type**: Not defined
|
|
1020
|
+
- **Accept**: application/json
|
|
1021
|
+
|
|
1022
|
+
|
|
1023
|
+
### HTTP response details
|
|
1024
|
+
| Status code | Description | Response headers |
|
|
1025
|
+
|-------------|-------------|------------------|
|
|
1026
|
+
|**200** | Ok | - |
|
|
1027
|
+
|
|
1028
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1029
|
+
|
|
1030
|
+
# **listPlayers**
|
|
1031
|
+
> PlayerListResponse listPlayers()
|
|
1032
|
+
|
|
1033
|
+
|
|
1034
|
+
### Example
|
|
1035
|
+
|
|
1036
|
+
```typescript
|
|
1037
|
+
import {
|
|
1038
|
+
UsersApi,
|
|
1039
|
+
Configuration
|
|
1040
|
+
} from '@tennac-booking/sdk';
|
|
1041
|
+
|
|
1042
|
+
const configuration = new Configuration();
|
|
1043
|
+
const apiInstance = new UsersApi(configuration);
|
|
1044
|
+
|
|
1045
|
+
let category: PlayerCategoryId; // (optional) (default to undefined)
|
|
1046
|
+
let search: string; // (optional) (default to undefined)
|
|
1047
|
+
let gender: string; // (optional) (default to undefined)
|
|
1048
|
+
let sharedClub: boolean; // (optional) (default to undefined)
|
|
1049
|
+
let sportLevels: string; // (optional) (default to undefined)
|
|
1050
|
+
let limit: number; // (optional) (default to undefined)
|
|
1051
|
+
let offset: number; // (optional) (default to undefined)
|
|
1052
|
+
let latitude: number; // (optional) (default to undefined)
|
|
1053
|
+
let longitude: number; // (optional) (default to undefined)
|
|
1054
|
+
let radiusInKm: number; // (optional) (default to undefined)
|
|
1055
|
+
|
|
1056
|
+
const { status, data } = await apiInstance.listPlayers(
|
|
1057
|
+
category,
|
|
1058
|
+
search,
|
|
1059
|
+
gender,
|
|
1060
|
+
sharedClub,
|
|
1061
|
+
sportLevels,
|
|
1062
|
+
limit,
|
|
1063
|
+
offset,
|
|
1064
|
+
latitude,
|
|
1065
|
+
longitude,
|
|
1066
|
+
radiusInKm
|
|
1067
|
+
);
|
|
1068
|
+
```
|
|
1069
|
+
|
|
1070
|
+
### Parameters
|
|
1071
|
+
|
|
1072
|
+
|Name | Type | Description | Notes|
|
|
1073
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1074
|
+
| **category** | **PlayerCategoryId** | | (optional) defaults to undefined|
|
|
1075
|
+
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
1076
|
+
| **gender** | [**string**] | | (optional) defaults to undefined|
|
|
1077
|
+
| **sharedClub** | [**boolean**] | | (optional) defaults to undefined|
|
|
1078
|
+
| **sportLevels** | [**string**] | | (optional) defaults to undefined|
|
|
1079
|
+
| **limit** | [**number**] | | (optional) defaults to undefined|
|
|
1080
|
+
| **offset** | [**number**] | | (optional) defaults to undefined|
|
|
1081
|
+
| **latitude** | [**number**] | | (optional) defaults to undefined|
|
|
1082
|
+
| **longitude** | [**number**] | | (optional) defaults to undefined|
|
|
1083
|
+
| **radiusInKm** | [**number**] | | (optional) defaults to undefined|
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
### Return type
|
|
1087
|
+
|
|
1088
|
+
**PlayerListResponse**
|
|
1089
|
+
|
|
1090
|
+
### Authorization
|
|
1091
|
+
|
|
1092
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1093
|
+
|
|
1094
|
+
### HTTP request headers
|
|
1095
|
+
|
|
1096
|
+
- **Content-Type**: Not defined
|
|
1097
|
+
- **Accept**: application/json
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
### HTTP response details
|
|
1101
|
+
| Status code | Description | Response headers |
|
|
1102
|
+
|-------------|-------------|------------------|
|
|
1103
|
+
|**200** | Ok | - |
|
|
1104
|
+
|
|
1105
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1106
|
+
|
|
1107
|
+
# **login**
|
|
1108
|
+
> LoginResponse login(loginRequestBody)
|
|
1109
|
+
|
|
1110
|
+
|
|
1111
|
+
### Example
|
|
1112
|
+
|
|
1113
|
+
```typescript
|
|
1114
|
+
import {
|
|
1115
|
+
UsersApi,
|
|
1116
|
+
Configuration,
|
|
1117
|
+
LoginRequestBody
|
|
1118
|
+
} from '@tennac-booking/sdk';
|
|
1119
|
+
|
|
1120
|
+
const configuration = new Configuration();
|
|
1121
|
+
const apiInstance = new UsersApi(configuration);
|
|
1122
|
+
|
|
1123
|
+
let loginRequestBody: LoginRequestBody; //
|
|
1124
|
+
|
|
1125
|
+
const { status, data } = await apiInstance.login(
|
|
1126
|
+
loginRequestBody
|
|
1127
|
+
);
|
|
1128
|
+
```
|
|
1129
|
+
|
|
1130
|
+
### Parameters
|
|
1131
|
+
|
|
1132
|
+
|Name | Type | Description | Notes|
|
|
1133
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1134
|
+
| **loginRequestBody** | **LoginRequestBody**| | |
|
|
1135
|
+
|
|
1136
|
+
|
|
1137
|
+
### Return type
|
|
1138
|
+
|
|
1139
|
+
**LoginResponse**
|
|
1140
|
+
|
|
1141
|
+
### Authorization
|
|
1142
|
+
|
|
1143
|
+
No authorization required
|
|
1144
|
+
|
|
1145
|
+
### HTTP request headers
|
|
1146
|
+
|
|
1147
|
+
- **Content-Type**: application/json
|
|
1148
|
+
- **Accept**: application/json
|
|
1149
|
+
|
|
1150
|
+
|
|
1151
|
+
### HTTP response details
|
|
1152
|
+
| Status code | Description | Response headers |
|
|
1153
|
+
|-------------|-------------|------------------|
|
|
1154
|
+
|**200** | Ok | - |
|
|
1155
|
+
|
|
1156
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1157
|
+
|
|
1158
|
+
# **refreshToken**
|
|
1159
|
+
> RefreshTokenResponse refreshToken(refreshTokenRequestBody)
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
### Example
|
|
1163
|
+
|
|
1164
|
+
```typescript
|
|
1165
|
+
import {
|
|
1166
|
+
UsersApi,
|
|
1167
|
+
Configuration,
|
|
1168
|
+
RefreshTokenRequestBody
|
|
1169
|
+
} from '@tennac-booking/sdk';
|
|
1170
|
+
|
|
1171
|
+
const configuration = new Configuration();
|
|
1172
|
+
const apiInstance = new UsersApi(configuration);
|
|
1173
|
+
|
|
1174
|
+
let refreshTokenRequestBody: RefreshTokenRequestBody; //
|
|
1175
|
+
|
|
1176
|
+
const { status, data } = await apiInstance.refreshToken(
|
|
1177
|
+
refreshTokenRequestBody
|
|
1178
|
+
);
|
|
1179
|
+
```
|
|
1180
|
+
|
|
1181
|
+
### Parameters
|
|
1182
|
+
|
|
1183
|
+
|Name | Type | Description | Notes|
|
|
1184
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1185
|
+
| **refreshTokenRequestBody** | **RefreshTokenRequestBody**| | |
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
### Return type
|
|
1189
|
+
|
|
1190
|
+
**RefreshTokenResponse**
|
|
1191
|
+
|
|
1192
|
+
### Authorization
|
|
1193
|
+
|
|
1194
|
+
No authorization required
|
|
1195
|
+
|
|
1196
|
+
### HTTP request headers
|
|
1197
|
+
|
|
1198
|
+
- **Content-Type**: application/json
|
|
1199
|
+
- **Accept**: application/json
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
### HTTP response details
|
|
1203
|
+
| Status code | Description | Response headers |
|
|
1204
|
+
|-------------|-------------|------------------|
|
|
1205
|
+
|**200** | Ok | - |
|
|
1206
|
+
|
|
1207
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1208
|
+
|
|
1209
|
+
# **register**
|
|
1210
|
+
> IUserAttributes register(registerRequestBody)
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
### Example
|
|
1214
|
+
|
|
1215
|
+
```typescript
|
|
1216
|
+
import {
|
|
1217
|
+
UsersApi,
|
|
1218
|
+
Configuration,
|
|
1219
|
+
RegisterRequestBody
|
|
1220
|
+
} from '@tennac-booking/sdk';
|
|
1221
|
+
|
|
1222
|
+
const configuration = new Configuration();
|
|
1223
|
+
const apiInstance = new UsersApi(configuration);
|
|
1224
|
+
|
|
1225
|
+
let registerRequestBody: RegisterRequestBody; //
|
|
1226
|
+
|
|
1227
|
+
const { status, data } = await apiInstance.register(
|
|
1228
|
+
registerRequestBody
|
|
1229
|
+
);
|
|
1230
|
+
```
|
|
1231
|
+
|
|
1232
|
+
### Parameters
|
|
1233
|
+
|
|
1234
|
+
|Name | Type | Description | Notes|
|
|
1235
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1236
|
+
| **registerRequestBody** | **RegisterRequestBody**| | |
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
### Return type
|
|
1240
|
+
|
|
1241
|
+
**IUserAttributes**
|
|
1242
|
+
|
|
1243
|
+
### Authorization
|
|
1244
|
+
|
|
1245
|
+
No authorization required
|
|
1246
|
+
|
|
1247
|
+
### HTTP request headers
|
|
1248
|
+
|
|
1249
|
+
- **Content-Type**: application/json
|
|
1250
|
+
- **Accept**: application/json
|
|
1251
|
+
|
|
1252
|
+
|
|
1253
|
+
### HTTP response details
|
|
1254
|
+
| Status code | Description | Response headers |
|
|
1255
|
+
|-------------|-------------|------------------|
|
|
1256
|
+
|**201** | Created | - |
|
|
1257
|
+
|
|
1258
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1259
|
+
|
|
1260
|
+
# **removeFavoriteClub**
|
|
1261
|
+
> FavoriteClubMutationResponse removeFavoriteClub()
|
|
1262
|
+
|
|
1263
|
+
|
|
1264
|
+
### Example
|
|
1265
|
+
|
|
1266
|
+
```typescript
|
|
1267
|
+
import {
|
|
1268
|
+
UsersApi,
|
|
1269
|
+
Configuration
|
|
1270
|
+
} from '@tennac-booking/sdk';
|
|
1271
|
+
|
|
1272
|
+
const configuration = new Configuration();
|
|
1273
|
+
const apiInstance = new UsersApi(configuration);
|
|
1274
|
+
|
|
1275
|
+
let clubId: string; // (default to undefined)
|
|
1276
|
+
|
|
1277
|
+
const { status, data } = await apiInstance.removeFavoriteClub(
|
|
1278
|
+
clubId
|
|
1279
|
+
);
|
|
1280
|
+
```
|
|
1281
|
+
|
|
1282
|
+
### Parameters
|
|
1283
|
+
|
|
1284
|
+
|Name | Type | Description | Notes|
|
|
1285
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1286
|
+
| **clubId** | [**string**] | | defaults to undefined|
|
|
1287
|
+
|
|
1288
|
+
|
|
1289
|
+
### Return type
|
|
1290
|
+
|
|
1291
|
+
**FavoriteClubMutationResponse**
|
|
1292
|
+
|
|
1293
|
+
### Authorization
|
|
1294
|
+
|
|
1295
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1296
|
+
|
|
1297
|
+
### HTTP request headers
|
|
1298
|
+
|
|
1299
|
+
- **Content-Type**: Not defined
|
|
1300
|
+
- **Accept**: application/json
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
### HTTP response details
|
|
1304
|
+
| Status code | Description | Response headers |
|
|
1305
|
+
|-------------|-------------|------------------|
|
|
1306
|
+
|**200** | Ok | - |
|
|
1307
|
+
|
|
1308
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1309
|
+
|
|
1310
|
+
# **removeFavoritePlayer**
|
|
1311
|
+
> FavoritePlayerMutationResponse removeFavoritePlayer()
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
### Example
|
|
1315
|
+
|
|
1316
|
+
```typescript
|
|
1317
|
+
import {
|
|
1318
|
+
UsersApi,
|
|
1319
|
+
Configuration
|
|
1320
|
+
} from '@tennac-booking/sdk';
|
|
1321
|
+
|
|
1322
|
+
const configuration = new Configuration();
|
|
1323
|
+
const apiInstance = new UsersApi(configuration);
|
|
1324
|
+
|
|
1325
|
+
let favoritePlayerId: string; // (default to undefined)
|
|
1326
|
+
|
|
1327
|
+
const { status, data } = await apiInstance.removeFavoritePlayer(
|
|
1328
|
+
favoritePlayerId
|
|
1329
|
+
);
|
|
1330
|
+
```
|
|
1331
|
+
|
|
1332
|
+
### Parameters
|
|
1333
|
+
|
|
1334
|
+
|Name | Type | Description | Notes|
|
|
1335
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1336
|
+
| **favoritePlayerId** | [**string**] | | defaults to undefined|
|
|
1337
|
+
|
|
1338
|
+
|
|
1339
|
+
### Return type
|
|
1340
|
+
|
|
1341
|
+
**FavoritePlayerMutationResponse**
|
|
1342
|
+
|
|
1343
|
+
### Authorization
|
|
1344
|
+
|
|
1345
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1346
|
+
|
|
1347
|
+
### HTTP request headers
|
|
1348
|
+
|
|
1349
|
+
- **Content-Type**: Not defined
|
|
1350
|
+
- **Accept**: application/json
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
### HTTP response details
|
|
1354
|
+
| Status code | Description | Response headers |
|
|
1355
|
+
|-------------|-------------|------------------|
|
|
1356
|
+
|**200** | Ok | - |
|
|
1357
|
+
|
|
1358
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1359
|
+
|
|
1360
|
+
# **removeOrganization**
|
|
1361
|
+
> RequestPasswordReset200Response removeOrganization(addOrganizationRequest)
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
### Example
|
|
1365
|
+
|
|
1366
|
+
```typescript
|
|
1367
|
+
import {
|
|
1368
|
+
UsersApi,
|
|
1369
|
+
Configuration,
|
|
1370
|
+
AddOrganizationRequest
|
|
1371
|
+
} from '@tennac-booking/sdk';
|
|
1372
|
+
|
|
1373
|
+
const configuration = new Configuration();
|
|
1374
|
+
const apiInstance = new UsersApi(configuration);
|
|
1375
|
+
|
|
1376
|
+
let addOrganizationRequest: AddOrganizationRequest; //
|
|
1377
|
+
|
|
1378
|
+
const { status, data } = await apiInstance.removeOrganization(
|
|
1379
|
+
addOrganizationRequest
|
|
1380
|
+
);
|
|
1381
|
+
```
|
|
1382
|
+
|
|
1383
|
+
### Parameters
|
|
1384
|
+
|
|
1385
|
+
|Name | Type | Description | Notes|
|
|
1386
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1387
|
+
| **addOrganizationRequest** | **AddOrganizationRequest**| | |
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
### Return type
|
|
1391
|
+
|
|
1392
|
+
**RequestPasswordReset200Response**
|
|
1393
|
+
|
|
1394
|
+
### Authorization
|
|
1395
|
+
|
|
1396
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1397
|
+
|
|
1398
|
+
### HTTP request headers
|
|
1399
|
+
|
|
1400
|
+
- **Content-Type**: application/json
|
|
1401
|
+
- **Accept**: application/json
|
|
1402
|
+
|
|
1403
|
+
|
|
1404
|
+
### HTTP response details
|
|
1405
|
+
| Status code | Description | Response headers |
|
|
1406
|
+
|-------------|-------------|------------------|
|
|
1407
|
+
|**200** | Ok | - |
|
|
1408
|
+
|
|
1409
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1410
|
+
|
|
1411
|
+
# **requestEmailVerification**
|
|
1412
|
+
> RequestPasswordReset200Response requestEmailVerification()
|
|
1413
|
+
|
|
1414
|
+
|
|
1415
|
+
### Example
|
|
1416
|
+
|
|
1417
|
+
```typescript
|
|
1418
|
+
import {
|
|
1419
|
+
UsersApi,
|
|
1420
|
+
Configuration
|
|
1421
|
+
} from '@tennac-booking/sdk';
|
|
1422
|
+
|
|
1423
|
+
const configuration = new Configuration();
|
|
1424
|
+
const apiInstance = new UsersApi(configuration);
|
|
1425
|
+
|
|
1426
|
+
const { status, data } = await apiInstance.requestEmailVerification();
|
|
1427
|
+
```
|
|
1428
|
+
|
|
1429
|
+
### Parameters
|
|
1430
|
+
This endpoint does not have any parameters.
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
### Return type
|
|
1434
|
+
|
|
1435
|
+
**RequestPasswordReset200Response**
|
|
1436
|
+
|
|
1437
|
+
### Authorization
|
|
1438
|
+
|
|
1439
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1440
|
+
|
|
1441
|
+
### HTTP request headers
|
|
1442
|
+
|
|
1443
|
+
- **Content-Type**: Not defined
|
|
1444
|
+
- **Accept**: application/json
|
|
1445
|
+
|
|
1446
|
+
|
|
1447
|
+
### HTTP response details
|
|
1448
|
+
| Status code | Description | Response headers |
|
|
1449
|
+
|-------------|-------------|------------------|
|
|
1450
|
+
|**200** | Ok | - |
|
|
1451
|
+
|
|
1452
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1453
|
+
|
|
1454
|
+
# **requestPasswordReset**
|
|
1455
|
+
> RequestPasswordReset200Response requestPasswordReset(passwordResetRequestBody)
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
### Example
|
|
1459
|
+
|
|
1460
|
+
```typescript
|
|
1461
|
+
import {
|
|
1462
|
+
UsersApi,
|
|
1463
|
+
Configuration,
|
|
1464
|
+
PasswordResetRequestBody
|
|
1465
|
+
} from '@tennac-booking/sdk';
|
|
1466
|
+
|
|
1467
|
+
const configuration = new Configuration();
|
|
1468
|
+
const apiInstance = new UsersApi(configuration);
|
|
1469
|
+
|
|
1470
|
+
let passwordResetRequestBody: PasswordResetRequestBody; //
|
|
1471
|
+
|
|
1472
|
+
const { status, data } = await apiInstance.requestPasswordReset(
|
|
1473
|
+
passwordResetRequestBody
|
|
1474
|
+
);
|
|
1475
|
+
```
|
|
1476
|
+
|
|
1477
|
+
### Parameters
|
|
1478
|
+
|
|
1479
|
+
|Name | Type | Description | Notes|
|
|
1480
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1481
|
+
| **passwordResetRequestBody** | **PasswordResetRequestBody**| | |
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
### Return type
|
|
1485
|
+
|
|
1486
|
+
**RequestPasswordReset200Response**
|
|
1487
|
+
|
|
1488
|
+
### Authorization
|
|
1489
|
+
|
|
1490
|
+
No authorization required
|
|
1491
|
+
|
|
1492
|
+
### HTTP request headers
|
|
1493
|
+
|
|
1494
|
+
- **Content-Type**: application/json
|
|
1495
|
+
- **Accept**: application/json
|
|
1496
|
+
|
|
1497
|
+
|
|
1498
|
+
### HTTP response details
|
|
1499
|
+
| Status code | Description | Response headers |
|
|
1500
|
+
|-------------|-------------|------------------|
|
|
1501
|
+
|**200** | Ok | - |
|
|
1502
|
+
|
|
1503
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1504
|
+
|
|
1505
|
+
# **resetPassword**
|
|
1506
|
+
> RequestPasswordReset200Response resetPassword(resetPasswordRequest)
|
|
1507
|
+
|
|
1508
|
+
|
|
1509
|
+
### Example
|
|
1510
|
+
|
|
1511
|
+
```typescript
|
|
1512
|
+
import {
|
|
1513
|
+
UsersApi,
|
|
1514
|
+
Configuration,
|
|
1515
|
+
ResetPasswordRequest
|
|
1516
|
+
} from '@tennac-booking/sdk';
|
|
1517
|
+
|
|
1518
|
+
const configuration = new Configuration();
|
|
1519
|
+
const apiInstance = new UsersApi(configuration);
|
|
1520
|
+
|
|
1521
|
+
let resetPasswordRequest: ResetPasswordRequest; //
|
|
1522
|
+
|
|
1523
|
+
const { status, data } = await apiInstance.resetPassword(
|
|
1524
|
+
resetPasswordRequest
|
|
1525
|
+
);
|
|
1526
|
+
```
|
|
1527
|
+
|
|
1528
|
+
### Parameters
|
|
1529
|
+
|
|
1530
|
+
|Name | Type | Description | Notes|
|
|
1531
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1532
|
+
| **resetPasswordRequest** | **ResetPasswordRequest**| | |
|
|
1533
|
+
|
|
1534
|
+
|
|
1535
|
+
### Return type
|
|
1536
|
+
|
|
1537
|
+
**RequestPasswordReset200Response**
|
|
1538
|
+
|
|
1539
|
+
### Authorization
|
|
1540
|
+
|
|
1541
|
+
No authorization required
|
|
1542
|
+
|
|
1543
|
+
### HTTP request headers
|
|
1544
|
+
|
|
1545
|
+
- **Content-Type**: application/json
|
|
1546
|
+
- **Accept**: application/json
|
|
1547
|
+
|
|
1548
|
+
|
|
1549
|
+
### HTTP response details
|
|
1550
|
+
| Status code | Description | Response headers |
|
|
1551
|
+
|-------------|-------------|------------------|
|
|
1552
|
+
|**200** | Ok | - |
|
|
1553
|
+
|
|
1554
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1555
|
+
|
|
1556
|
+
# **setupOffSessionPaymentMethod**
|
|
1557
|
+
> SetupPaymentMethodResponse setupOffSessionPaymentMethod(setupPaymentMethodRequestBody)
|
|
1558
|
+
|
|
1559
|
+
|
|
1560
|
+
### Example
|
|
1561
|
+
|
|
1562
|
+
```typescript
|
|
1563
|
+
import {
|
|
1564
|
+
UsersApi,
|
|
1565
|
+
Configuration,
|
|
1566
|
+
SetupPaymentMethodRequestBody
|
|
1567
|
+
} from '@tennac-booking/sdk';
|
|
1568
|
+
|
|
1569
|
+
const configuration = new Configuration();
|
|
1570
|
+
const apiInstance = new UsersApi(configuration);
|
|
1571
|
+
|
|
1572
|
+
let setupPaymentMethodRequestBody: SetupPaymentMethodRequestBody; //
|
|
1573
|
+
|
|
1574
|
+
const { status, data } = await apiInstance.setupOffSessionPaymentMethod(
|
|
1575
|
+
setupPaymentMethodRequestBody
|
|
1576
|
+
);
|
|
1577
|
+
```
|
|
1578
|
+
|
|
1579
|
+
### Parameters
|
|
1580
|
+
|
|
1581
|
+
|Name | Type | Description | Notes|
|
|
1582
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1583
|
+
| **setupPaymentMethodRequestBody** | **SetupPaymentMethodRequestBody**| | |
|
|
1584
|
+
|
|
1585
|
+
|
|
1586
|
+
### Return type
|
|
1587
|
+
|
|
1588
|
+
**SetupPaymentMethodResponse**
|
|
1589
|
+
|
|
1590
|
+
### Authorization
|
|
1591
|
+
|
|
1592
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1593
|
+
|
|
1594
|
+
### HTTP request headers
|
|
1595
|
+
|
|
1596
|
+
- **Content-Type**: application/json
|
|
1597
|
+
- **Accept**: application/json
|
|
1598
|
+
|
|
1599
|
+
|
|
1600
|
+
### HTTP response details
|
|
1601
|
+
| Status code | Description | Response headers |
|
|
1602
|
+
|-------------|-------------|------------------|
|
|
1603
|
+
|**200** | Ok | - |
|
|
1604
|
+
|
|
1605
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1606
|
+
|
|
1607
|
+
# **signInOrSignUpWithGoogle**
|
|
1608
|
+
> GoogleAuthResponse signInOrSignUpWithGoogle(googleAuthRequestBody)
|
|
1609
|
+
|
|
1610
|
+
|
|
1611
|
+
### Example
|
|
1612
|
+
|
|
1613
|
+
```typescript
|
|
1614
|
+
import {
|
|
1615
|
+
UsersApi,
|
|
1616
|
+
Configuration,
|
|
1617
|
+
GoogleAuthRequestBody
|
|
1618
|
+
} from '@tennac-booking/sdk';
|
|
1619
|
+
|
|
1620
|
+
const configuration = new Configuration();
|
|
1621
|
+
const apiInstance = new UsersApi(configuration);
|
|
1622
|
+
|
|
1623
|
+
let googleAuthRequestBody: GoogleAuthRequestBody; //
|
|
1624
|
+
|
|
1625
|
+
const { status, data } = await apiInstance.signInOrSignUpWithGoogle(
|
|
1626
|
+
googleAuthRequestBody
|
|
1627
|
+
);
|
|
1628
|
+
```
|
|
1629
|
+
|
|
1630
|
+
### Parameters
|
|
1631
|
+
|
|
1632
|
+
|Name | Type | Description | Notes|
|
|
1633
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1634
|
+
| **googleAuthRequestBody** | **GoogleAuthRequestBody**| | |
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
### Return type
|
|
1638
|
+
|
|
1639
|
+
**GoogleAuthResponse**
|
|
1640
|
+
|
|
1641
|
+
### Authorization
|
|
1642
|
+
|
|
1643
|
+
No authorization required
|
|
1644
|
+
|
|
1645
|
+
### HTTP request headers
|
|
1646
|
+
|
|
1647
|
+
- **Content-Type**: application/json
|
|
1648
|
+
- **Accept**: application/json
|
|
1649
|
+
|
|
1650
|
+
|
|
1651
|
+
### HTTP response details
|
|
1652
|
+
| Status code | Description | Response headers |
|
|
1653
|
+
|-------------|-------------|------------------|
|
|
1654
|
+
|**200** | Ok | - |
|
|
1655
|
+
|
|
1656
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1657
|
+
|
|
1658
|
+
# **updateCustomer**
|
|
1659
|
+
> UpdateCustomerResponse updateCustomer(updateCustomerRequestBody)
|
|
1660
|
+
|
|
1661
|
+
|
|
1662
|
+
### Example
|
|
1663
|
+
|
|
1664
|
+
```typescript
|
|
1665
|
+
import {
|
|
1666
|
+
UsersApi,
|
|
1667
|
+
Configuration,
|
|
1668
|
+
UpdateCustomerRequestBody
|
|
1669
|
+
} from '@tennac-booking/sdk';
|
|
1670
|
+
|
|
1671
|
+
const configuration = new Configuration();
|
|
1672
|
+
const apiInstance = new UsersApi(configuration);
|
|
1673
|
+
|
|
1674
|
+
let updateCustomerRequestBody: UpdateCustomerRequestBody; //
|
|
1675
|
+
|
|
1676
|
+
const { status, data } = await apiInstance.updateCustomer(
|
|
1677
|
+
updateCustomerRequestBody
|
|
1678
|
+
);
|
|
1679
|
+
```
|
|
1680
|
+
|
|
1681
|
+
### Parameters
|
|
1682
|
+
|
|
1683
|
+
|Name | Type | Description | Notes|
|
|
1684
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1685
|
+
| **updateCustomerRequestBody** | **UpdateCustomerRequestBody**| | |
|
|
1686
|
+
|
|
1687
|
+
|
|
1688
|
+
### Return type
|
|
1689
|
+
|
|
1690
|
+
**UpdateCustomerResponse**
|
|
1691
|
+
|
|
1692
|
+
### Authorization
|
|
1693
|
+
|
|
1694
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1695
|
+
|
|
1696
|
+
### HTTP request headers
|
|
1697
|
+
|
|
1698
|
+
- **Content-Type**: application/json
|
|
1699
|
+
- **Accept**: application/json
|
|
1700
|
+
|
|
1701
|
+
|
|
1702
|
+
### HTTP response details
|
|
1703
|
+
| Status code | Description | Response headers |
|
|
1704
|
+
|-------------|-------------|------------------|
|
|
1705
|
+
|**200** | Ok | - |
|
|
1706
|
+
|
|
1707
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1708
|
+
|
|
1709
|
+
# **updateLevelBySports**
|
|
1710
|
+
> IUserAttributes updateLevelBySports(updateLevelBySportsRequestBody)
|
|
1711
|
+
|
|
1712
|
+
|
|
1713
|
+
### Example
|
|
1714
|
+
|
|
1715
|
+
```typescript
|
|
1716
|
+
import {
|
|
1717
|
+
UsersApi,
|
|
1718
|
+
Configuration,
|
|
1719
|
+
UpdateLevelBySportsRequestBody
|
|
1720
|
+
} from '@tennac-booking/sdk';
|
|
1721
|
+
|
|
1722
|
+
const configuration = new Configuration();
|
|
1723
|
+
const apiInstance = new UsersApi(configuration);
|
|
1724
|
+
|
|
1725
|
+
let updateLevelBySportsRequestBody: UpdateLevelBySportsRequestBody; //
|
|
1726
|
+
|
|
1727
|
+
const { status, data } = await apiInstance.updateLevelBySports(
|
|
1728
|
+
updateLevelBySportsRequestBody
|
|
1729
|
+
);
|
|
1730
|
+
```
|
|
1731
|
+
|
|
1732
|
+
### Parameters
|
|
1733
|
+
|
|
1734
|
+
|Name | Type | Description | Notes|
|
|
1735
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1736
|
+
| **updateLevelBySportsRequestBody** | **UpdateLevelBySportsRequestBody**| | |
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
### Return type
|
|
1740
|
+
|
|
1741
|
+
**IUserAttributes**
|
|
1742
|
+
|
|
1743
|
+
### Authorization
|
|
1744
|
+
|
|
1745
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1746
|
+
|
|
1747
|
+
### HTTP request headers
|
|
1748
|
+
|
|
1749
|
+
- **Content-Type**: application/json
|
|
1750
|
+
- **Accept**: application/json
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
### HTTP response details
|
|
1754
|
+
| Status code | Description | Response headers |
|
|
1755
|
+
|-------------|-------------|------------------|
|
|
1756
|
+
|**200** | Ok | - |
|
|
1757
|
+
|
|
1758
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1759
|
+
|
|
1760
|
+
# **updateMe**
|
|
1761
|
+
> UserProfileResponse updateMe(updateUserRequestBody)
|
|
1762
|
+
|
|
1763
|
+
|
|
1764
|
+
### Example
|
|
1765
|
+
|
|
1766
|
+
```typescript
|
|
1767
|
+
import {
|
|
1768
|
+
UsersApi,
|
|
1769
|
+
Configuration,
|
|
1770
|
+
UpdateUserRequestBody
|
|
1771
|
+
} from '@tennac-booking/sdk';
|
|
1772
|
+
|
|
1773
|
+
const configuration = new Configuration();
|
|
1774
|
+
const apiInstance = new UsersApi(configuration);
|
|
1775
|
+
|
|
1776
|
+
let updateUserRequestBody: UpdateUserRequestBody; //
|
|
1777
|
+
|
|
1778
|
+
const { status, data } = await apiInstance.updateMe(
|
|
1779
|
+
updateUserRequestBody
|
|
1780
|
+
);
|
|
1781
|
+
```
|
|
1782
|
+
|
|
1783
|
+
### Parameters
|
|
1784
|
+
|
|
1785
|
+
|Name | Type | Description | Notes|
|
|
1786
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1787
|
+
| **updateUserRequestBody** | **UpdateUserRequestBody**| | |
|
|
1788
|
+
|
|
1789
|
+
|
|
1790
|
+
### Return type
|
|
1791
|
+
|
|
1792
|
+
**UserProfileResponse**
|
|
1793
|
+
|
|
1794
|
+
### Authorization
|
|
1795
|
+
|
|
1796
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1797
|
+
|
|
1798
|
+
### HTTP request headers
|
|
1799
|
+
|
|
1800
|
+
- **Content-Type**: application/json
|
|
1801
|
+
- **Accept**: application/json
|
|
1802
|
+
|
|
1803
|
+
|
|
1804
|
+
### HTTP response details
|
|
1805
|
+
| Status code | Description | Response headers |
|
|
1806
|
+
|-------------|-------------|------------------|
|
|
1807
|
+
|**200** | Ok | - |
|
|
1808
|
+
|
|
1809
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1810
|
+
|
|
1811
|
+
# **updateProfilePicture**
|
|
1812
|
+
> ProfilePictureResponse updateProfilePicture(profilePictureUpdateRequestBody)
|
|
1813
|
+
|
|
1814
|
+
|
|
1815
|
+
### Example
|
|
1816
|
+
|
|
1817
|
+
```typescript
|
|
1818
|
+
import {
|
|
1819
|
+
UsersApi,
|
|
1820
|
+
Configuration,
|
|
1821
|
+
ProfilePictureUpdateRequestBody
|
|
1822
|
+
} from '@tennac-booking/sdk';
|
|
1823
|
+
|
|
1824
|
+
const configuration = new Configuration();
|
|
1825
|
+
const apiInstance = new UsersApi(configuration);
|
|
1826
|
+
|
|
1827
|
+
let profilePictureUpdateRequestBody: ProfilePictureUpdateRequestBody; //
|
|
1828
|
+
|
|
1829
|
+
const { status, data } = await apiInstance.updateProfilePicture(
|
|
1830
|
+
profilePictureUpdateRequestBody
|
|
1831
|
+
);
|
|
1832
|
+
```
|
|
1833
|
+
|
|
1834
|
+
### Parameters
|
|
1835
|
+
|
|
1836
|
+
|Name | Type | Description | Notes|
|
|
1837
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1838
|
+
| **profilePictureUpdateRequestBody** | **ProfilePictureUpdateRequestBody**| | |
|
|
1839
|
+
|
|
1840
|
+
|
|
1841
|
+
### Return type
|
|
1842
|
+
|
|
1843
|
+
**ProfilePictureResponse**
|
|
1844
|
+
|
|
1845
|
+
### Authorization
|
|
1846
|
+
|
|
1847
|
+
[bearerAuth](../README.md#bearerAuth)
|
|
1848
|
+
|
|
1849
|
+
### HTTP request headers
|
|
1850
|
+
|
|
1851
|
+
- **Content-Type**: application/json
|
|
1852
|
+
- **Accept**: application/json
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
|
+
### HTTP response details
|
|
1856
|
+
| Status code | Description | Response headers |
|
|
1857
|
+
|-------------|-------------|------------------|
|
|
1858
|
+
|**200** | Ok | - |
|
|
1859
|
+
|
|
1860
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1861
|
+
|
|
1862
|
+
# **verifyEmail**
|
|
1863
|
+
> RequestPasswordReset200Response verifyEmail(verifyEmailRequest)
|
|
1864
|
+
|
|
1865
|
+
|
|
1866
|
+
### Example
|
|
1867
|
+
|
|
1868
|
+
```typescript
|
|
1869
|
+
import {
|
|
1870
|
+
UsersApi,
|
|
1871
|
+
Configuration,
|
|
1872
|
+
VerifyEmailRequest
|
|
1873
|
+
} from '@tennac-booking/sdk';
|
|
1874
|
+
|
|
1875
|
+
const configuration = new Configuration();
|
|
1876
|
+
const apiInstance = new UsersApi(configuration);
|
|
1877
|
+
|
|
1878
|
+
let verifyEmailRequest: VerifyEmailRequest; //
|
|
1879
|
+
|
|
1880
|
+
const { status, data } = await apiInstance.verifyEmail(
|
|
1881
|
+
verifyEmailRequest
|
|
1882
|
+
);
|
|
1883
|
+
```
|
|
1884
|
+
|
|
1885
|
+
### Parameters
|
|
1886
|
+
|
|
1887
|
+
|Name | Type | Description | Notes|
|
|
1888
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1889
|
+
| **verifyEmailRequest** | **VerifyEmailRequest**| | |
|
|
1890
|
+
|
|
1891
|
+
|
|
1892
|
+
### Return type
|
|
1893
|
+
|
|
1894
|
+
**RequestPasswordReset200Response**
|
|
1895
|
+
|
|
1896
|
+
### Authorization
|
|
1897
|
+
|
|
1898
|
+
No authorization required
|
|
1899
|
+
|
|
1900
|
+
### HTTP request headers
|
|
1901
|
+
|
|
1902
|
+
- **Content-Type**: application/json
|
|
1903
|
+
- **Accept**: application/json
|
|
1904
|
+
|
|
1905
|
+
|
|
1906
|
+
### HTTP response details
|
|
1907
|
+
| Status code | Description | Response headers |
|
|
1908
|
+
|-------------|-------------|------------------|
|
|
1909
|
+
|**200** | Ok | - |
|
|
1910
|
+
|
|
1911
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1912
|
+
|
|
1913
|
+
# **verifyOrganization**
|
|
1914
|
+
> RequestPasswordReset200Response verifyOrganization(verifyEmailRequest)
|
|
1915
|
+
|
|
1916
|
+
|
|
1917
|
+
### Example
|
|
1918
|
+
|
|
1919
|
+
```typescript
|
|
1920
|
+
import {
|
|
1921
|
+
UsersApi,
|
|
1922
|
+
Configuration,
|
|
1923
|
+
VerifyEmailRequest
|
|
1924
|
+
} from '@tennac-booking/sdk';
|
|
1925
|
+
|
|
1926
|
+
const configuration = new Configuration();
|
|
1927
|
+
const apiInstance = new UsersApi(configuration);
|
|
1928
|
+
|
|
1929
|
+
let verifyEmailRequest: VerifyEmailRequest; //
|
|
1930
|
+
|
|
1931
|
+
const { status, data } = await apiInstance.verifyOrganization(
|
|
1932
|
+
verifyEmailRequest
|
|
1933
|
+
);
|
|
1934
|
+
```
|
|
1935
|
+
|
|
1936
|
+
### Parameters
|
|
1937
|
+
|
|
1938
|
+
|Name | Type | Description | Notes|
|
|
1939
|
+
|------------- | ------------- | ------------- | -------------|
|
|
1940
|
+
| **verifyEmailRequest** | **VerifyEmailRequest**| | |
|
|
1941
|
+
|
|
1942
|
+
|
|
1943
|
+
### Return type
|
|
1944
|
+
|
|
1945
|
+
**RequestPasswordReset200Response**
|
|
1946
|
+
|
|
1947
|
+
### Authorization
|
|
1948
|
+
|
|
1949
|
+
No authorization required
|
|
1950
|
+
|
|
1951
|
+
### HTTP request headers
|
|
1952
|
+
|
|
1953
|
+
- **Content-Type**: application/json
|
|
1954
|
+
- **Accept**: application/json
|
|
1955
|
+
|
|
1956
|
+
|
|
1957
|
+
### HTTP response details
|
|
1958
|
+
| Status code | Description | Response headers |
|
|
1959
|
+
|-------------|-------------|------------------|
|
|
1960
|
+
|**200** | Ok | - |
|
|
1961
|
+
|
|
1962
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1963
|
+
|