@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/dist/esm/base.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* API
|
|
2
|
+
* openapi.json
|
|
3
|
+
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.77
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/base.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* API
|
|
4
|
+
* openapi.json
|
|
5
|
+
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.77
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import globalAxios from 'axios';
|
|
15
|
-
export const BASE_PATH = "
|
|
15
|
+
export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
package/dist/esm/common.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* API
|
|
2
|
+
* openapi.json
|
|
3
|
+
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.77
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/common.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* API
|
|
4
|
+
* openapi.json
|
|
5
|
+
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.77
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* API
|
|
2
|
+
* openapi.json
|
|
3
|
+
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.77
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* API
|
|
4
|
+
* openapi.json
|
|
5
|
+
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.77
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* API
|
|
2
|
+
* openapi.json
|
|
3
|
+
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.77
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/esm/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* API
|
|
4
|
+
* openapi.json
|
|
5
|
+
* Pandook API Documentation
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.77
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* API
|
|
2
|
+
* openapi.json
|
|
3
|
+
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.77
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* tslint:disable */
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
6
|
-
* API
|
|
5
|
+
* openapi.json
|
|
6
|
+
* Pandook API Documentation
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.
|
|
8
|
+
* The version of the OpenAPI document: 1.0.77
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
#
|
|
1
|
+
# AddClubMember201Response
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
## Properties
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**
|
|
8
|
+
**clubRole** | **any** | | [default to undefined]
|
|
9
|
+
**message** | **string** | | [default to undefined]
|
|
9
10
|
|
|
10
11
|
## Example
|
|
11
12
|
|
|
12
13
|
```typescript
|
|
13
|
-
import {
|
|
14
|
+
import { AddClubMember201Response } from '@tennac-booking/sdk';
|
|
14
15
|
|
|
15
|
-
const instance:
|
|
16
|
+
const instance: AddClubMember201Response = {
|
|
17
|
+
clubRole,
|
|
16
18
|
message,
|
|
17
19
|
};
|
|
18
20
|
```
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**userId** | **string** |
|
|
9
|
-
**
|
|
8
|
+
**userId** | **string** | ID de l\'utilisateur à ajouter | [default to undefined]
|
|
9
|
+
**clubId** | **string** | ID du club (optionnel si fourni via le middleware d\'authentification) | [optional] [default to undefined]
|
|
10
|
+
**role** | **string** | Rôle de l\'utilisateur dans le club | [default to undefined]
|
|
11
|
+
**rights** | **Array<string>** | Droits de l\'utilisateur dans le club | [optional] [default to undefined]
|
|
10
12
|
|
|
11
13
|
## Example
|
|
12
14
|
|
|
@@ -15,7 +17,9 @@ import { AddClubMemberRequest } from '@tennac-booking/sdk';
|
|
|
15
17
|
|
|
16
18
|
const instance: AddClubMemberRequest = {
|
|
17
19
|
userId,
|
|
18
|
-
|
|
20
|
+
clubId,
|
|
21
|
+
role,
|
|
22
|
+
rights,
|
|
19
23
|
};
|
|
20
24
|
```
|
|
21
25
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# AddOrganizationRequest
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**organizationEmail** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**organizationId** | **string** | | [optional] [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { AddOrganizationRequest } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: AddOrganizationRequest = {
|
|
17
|
+
organizationEmail,
|
|
18
|
+
organizationId,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# AddPaymentMethodRequestBody
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**paymentMethodId** | **string** | | [default to undefined]
|
|
9
|
+
|
|
10
|
+
## Example
|
|
11
|
+
|
|
12
|
+
```typescript
|
|
13
|
+
import { AddPaymentMethodRequestBody } from '@tennac-booking/sdk';
|
|
14
|
+
|
|
15
|
+
const instance: AddPaymentMethodRequestBody = {
|
|
16
|
+
paymentMethodId,
|
|
17
|
+
};
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# BookingAnalyticsResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**_id** | **string** | ID de la réservation | [default to undefined]
|
|
9
|
+
**status** | **string** | Statut de la réservation | [default to undefined]
|
|
10
|
+
**clubId** | **string** | ID du club | [default to undefined]
|
|
11
|
+
**sportId** | **string** | ID du sport | [default to undefined]
|
|
12
|
+
**playersIds** | **Array<string>** | IDs des joueurs | [default to undefined]
|
|
13
|
+
**userId** | **any** | Utilisateur qui a fait la réservation | [default to undefined]
|
|
14
|
+
**slotId** | **any** | Créneau réservé | [default to undefined]
|
|
15
|
+
**paymentByPlayersStatus** | **Array<any>** | Statut de paiement par joueur | [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { BookingAnalyticsResponse } from '@tennac-booking/sdk';
|
|
21
|
+
|
|
22
|
+
const instance: BookingAnalyticsResponse = {
|
|
23
|
+
_id,
|
|
24
|
+
status,
|
|
25
|
+
clubId,
|
|
26
|
+
sportId,
|
|
27
|
+
playersIds,
|
|
28
|
+
userId,
|
|
29
|
+
slotId,
|
|
30
|
+
paymentByPlayersStatus,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# BookingDetailResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**clubPicture** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**courtName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**sportName** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**startDate** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**myPaymentStatus** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**bookingStatus** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**playersName** | **Array<string>** | | [default to undefined]
|
|
16
|
+
**myAmountToPay** | **number** | | [default to undefined]
|
|
17
|
+
**totalAmount** | **number** | | [default to undefined]
|
|
18
|
+
**timeBeforeCancel** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**clubAddress** | [**BookingSummaryClubAddress**](BookingSummaryClubAddress.md) | | [optional] [default to undefined]
|
|
20
|
+
**bookingHistory** | [**BookingHistoryPopulated**](BookingHistoryPopulated.md) | | [optional] [default to undefined]
|
|
21
|
+
**paymentStatus** | **Array<{ [key: string]: any; }>** | | [default to undefined]
|
|
22
|
+
|
|
23
|
+
## Example
|
|
24
|
+
|
|
25
|
+
```typescript
|
|
26
|
+
import { BookingDetailResponse } from '@tennac-booking/sdk';
|
|
27
|
+
|
|
28
|
+
const instance: BookingDetailResponse = {
|
|
29
|
+
id,
|
|
30
|
+
clubPicture,
|
|
31
|
+
courtName,
|
|
32
|
+
sportName,
|
|
33
|
+
startDate,
|
|
34
|
+
myPaymentStatus,
|
|
35
|
+
bookingStatus,
|
|
36
|
+
playersName,
|
|
37
|
+
myAmountToPay,
|
|
38
|
+
totalAmount,
|
|
39
|
+
timeBeforeCancel,
|
|
40
|
+
clubAddress,
|
|
41
|
+
bookingHistory,
|
|
42
|
+
paymentStatus,
|
|
43
|
+
};
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# BookingHistoryPopulated
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**action** | **string** | | [default to undefined]
|
|
9
|
+
**performedBy** | [**UserInfo**](UserInfo.md) | | [default to undefined]
|
|
10
|
+
**performedByType** | **string** | | [default to undefined]
|
|
11
|
+
**details** | **string** | | [default to undefined]
|
|
12
|
+
**metadata** | **any** | | [optional] [default to undefined]
|
|
13
|
+
**previousStatus** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**newStatus** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**createdAt** | **string** | | [optional] [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { BookingHistoryPopulated } from '@tennac-booking/sdk';
|
|
21
|
+
|
|
22
|
+
const instance: BookingHistoryPopulated = {
|
|
23
|
+
action,
|
|
24
|
+
performedBy,
|
|
25
|
+
performedByType,
|
|
26
|
+
details,
|
|
27
|
+
metadata,
|
|
28
|
+
previousStatus,
|
|
29
|
+
newStatus,
|
|
30
|
+
createdAt,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# BookingInfo
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID de la réservation | [default to undefined]
|
|
9
|
+
**clubId** | **string** | ID du club | [default to undefined]
|
|
10
|
+
**userId** | **string** | ID de l\'utilisateur créateur | [default to undefined]
|
|
11
|
+
**playersIds** | **Array<string>** | Liste des IDs des joueurs | [default to undefined]
|
|
12
|
+
**status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
|
|
13
|
+
**totalPrice** | **number** | Prix total en euros | [default to undefined]
|
|
14
|
+
**slotId** | **string** | ID du créneau | [default to undefined]
|
|
15
|
+
**isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous | [default to undefined]
|
|
16
|
+
**createdAt** | **string** | Date de création | [default to undefined]
|
|
17
|
+
**updatedAt** | **string** | Date de mise à jour | [default to undefined]
|
|
18
|
+
**cancellationReason** | **string** | Raison d\'annulation (si annulé) | [optional] [default to undefined]
|
|
19
|
+
**cancelledBy** | **string** | ID de celui qui a annulé | [optional] [default to undefined]
|
|
20
|
+
**cancelledAt** | **string** | Date d\'annulation | [optional] [default to undefined]
|
|
21
|
+
**cancelledByManager** | **boolean** | Annulé par un gestionnaire | [optional] [default to undefined]
|
|
22
|
+
**noShowChargeApplied** | **boolean** | Frais de no-show appliqués | [optional] [default to undefined]
|
|
23
|
+
**noShowChargeAmount** | **number** | Montant des frais de no-show | [optional] [default to undefined]
|
|
24
|
+
|
|
25
|
+
## Example
|
|
26
|
+
|
|
27
|
+
```typescript
|
|
28
|
+
import { BookingInfo } from '@tennac-booking/sdk';
|
|
29
|
+
|
|
30
|
+
const instance: BookingInfo = {
|
|
31
|
+
id,
|
|
32
|
+
clubId,
|
|
33
|
+
userId,
|
|
34
|
+
playersIds,
|
|
35
|
+
status,
|
|
36
|
+
totalPrice,
|
|
37
|
+
slotId,
|
|
38
|
+
isCreatorPayingAll,
|
|
39
|
+
createdAt,
|
|
40
|
+
updatedAt,
|
|
41
|
+
cancellationReason,
|
|
42
|
+
cancelledBy,
|
|
43
|
+
cancelledAt,
|
|
44
|
+
cancelledByManager,
|
|
45
|
+
noShowChargeApplied,
|
|
46
|
+
noShowChargeAmount,
|
|
47
|
+
};
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# BookingPaymentStatusResponse
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**booking** | [**BookingPaymentStatusResponseBooking**](BookingPaymentStatusResponseBooking.md) | | [default to undefined]
|
|
9
|
+
**paymentStatus** | [**Array<PlayerPaymentInfo>**](PlayerPaymentInfo.md) | Statut des paiements de chaque joueur | [default to undefined]
|
|
10
|
+
**summary** | [**BookingPaymentStatusResponseSummary**](BookingPaymentStatusResponseSummary.md) | | [default to undefined]
|
|
11
|
+
|
|
12
|
+
## Example
|
|
13
|
+
|
|
14
|
+
```typescript
|
|
15
|
+
import { BookingPaymentStatusResponse } from '@tennac-booking/sdk';
|
|
16
|
+
|
|
17
|
+
const instance: BookingPaymentStatusResponse = {
|
|
18
|
+
booking,
|
|
19
|
+
paymentStatus,
|
|
20
|
+
summary,
|
|
21
|
+
};
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# BookingPaymentStatusResponseBooking
|
|
2
|
+
|
|
3
|
+
Information de la réservation
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**totalPrice** | **number** | | [default to undefined]
|
|
10
|
+
**isCreatorPayingAll** | **boolean** | | [default to undefined]
|
|
11
|
+
**status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
|
|
12
|
+
**id** | **string** | | [default to undefined]
|
|
13
|
+
|
|
14
|
+
## Example
|
|
15
|
+
|
|
16
|
+
```typescript
|
|
17
|
+
import { BookingPaymentStatusResponseBooking } from '@tennac-booking/sdk';
|
|
18
|
+
|
|
19
|
+
const instance: BookingPaymentStatusResponseBooking = {
|
|
20
|
+
totalPrice,
|
|
21
|
+
isCreatorPayingAll,
|
|
22
|
+
status,
|
|
23
|
+
id,
|
|
24
|
+
};
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# BookingPaymentStatusResponseSummary
|
|
2
|
+
|
|
3
|
+
Résumé des paiements
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type | Description | Notes
|
|
8
|
+
------------ | ------------- | ------------- | -------------
|
|
9
|
+
**paidAmount** | **number** | | [default to undefined]
|
|
10
|
+
**totalAmount** | **number** | | [default to undefined]
|
|
11
|
+
**playersNeedingCheckIn** | **number** | | [default to undefined]
|
|
12
|
+
**playersWhoHavePaid** | **number** | | [default to undefined]
|
|
13
|
+
**totalPlayers** | **number** | | [default to undefined]
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import { BookingPaymentStatusResponseSummary } from '@tennac-booking/sdk';
|
|
19
|
+
|
|
20
|
+
const instance: BookingPaymentStatusResponseSummary = {
|
|
21
|
+
paidAmount,
|
|
22
|
+
totalAmount,
|
|
23
|
+
playersNeedingCheckIn,
|
|
24
|
+
playersWhoHavePaid,
|
|
25
|
+
totalPlayers,
|
|
26
|
+
};
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# BookingPopulated
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | ID de la réservation | [default to undefined]
|
|
9
|
+
**clubId** | **string** | | [default to undefined]
|
|
10
|
+
**creator** | [**UserInfo**](UserInfo.md) | | [default to undefined]
|
|
11
|
+
**slotInfos** | [**SlotInfo**](SlotInfo.md) | | [default to undefined]
|
|
12
|
+
**players** | [**Array<UserInfo>**](UserInfo.md) | | [default to undefined]
|
|
13
|
+
**paymentByPlayers** | [**Array<PaymentByPlayerInfo>**](PaymentByPlayerInfo.md) | Statut des paiements par joueur | [default to undefined]
|
|
14
|
+
**noShowChargeApplied** | **boolean** | | [optional] [default to undefined]
|
|
15
|
+
**noShowChargeAmount** | **number** | | [optional] [default to undefined]
|
|
16
|
+
**totalPrice** | **number** | | [default to undefined]
|
|
17
|
+
**isCreatorPayingAll** | **boolean** | | [default to undefined]
|
|
18
|
+
**history** | [**Array<BookingHistoryPopulated>**](BookingHistoryPopulated.md) | | [default to undefined]
|
|
19
|
+
**status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
|
|
20
|
+
**cancelledByManager** | **boolean** | | [optional] [default to undefined]
|
|
21
|
+
**cancelledBy** | **string** | | [optional] [default to undefined]
|
|
22
|
+
**cancellationReason** | **string** | | [optional] [default to undefined]
|
|
23
|
+
|
|
24
|
+
## Example
|
|
25
|
+
|
|
26
|
+
```typescript
|
|
27
|
+
import { BookingPopulated } from '@tennac-booking/sdk';
|
|
28
|
+
|
|
29
|
+
const instance: BookingPopulated = {
|
|
30
|
+
id,
|
|
31
|
+
clubId,
|
|
32
|
+
creator,
|
|
33
|
+
slotInfos,
|
|
34
|
+
players,
|
|
35
|
+
paymentByPlayers,
|
|
36
|
+
noShowChargeApplied,
|
|
37
|
+
noShowChargeAmount,
|
|
38
|
+
totalPrice,
|
|
39
|
+
isCreatorPayingAll,
|
|
40
|
+
history,
|
|
41
|
+
status,
|
|
42
|
+
cancelledByManager,
|
|
43
|
+
cancelledBy,
|
|
44
|
+
cancellationReason,
|
|
45
|
+
};
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/BookingResponse.md
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**booking** | [**
|
|
8
|
+
**booking** | [**BookingInfo**](BookingInfo.md) | | [optional] [default to undefined]
|
|
9
9
|
**invoiceUrl** | **string** | URL de la facture (pour paiement en ligne) | [optional] [default to undefined]
|
|
10
|
-
**paymentLinks** | **
|
|
11
|
-
**onsitePayments** | **Array<
|
|
12
|
-
**message** | **string** | Message de confirmation | [
|
|
10
|
+
**paymentLinks** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
11
|
+
**onsitePayments** | [**Array<BookingResponseOnsitePaymentsInner>**](BookingResponseOnsitePaymentsInner.md) | Paiements sur place requis | [optional] [default to undefined]
|
|
12
|
+
**message** | **string** | Message de confirmation | [default to undefined]
|
|
13
13
|
|
|
14
14
|
## Example
|
|
15
15
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# BookingResponseOnsitePaymentsInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**amount** | **number** | | [default to undefined]
|
|
9
|
+
**playerId** | **string** | | [default to undefined]
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import { BookingResponseOnsitePaymentsInner } from '@tennac-booking/sdk';
|
|
15
|
+
|
|
16
|
+
const instance: BookingResponseOnsitePaymentsInner = {
|
|
17
|
+
amount,
|
|
18
|
+
playerId,
|
|
19
|
+
};
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
package/docs/BookingStatus.md
CHANGED
|
@@ -3,8 +3,18 @@
|
|
|
3
3
|
|
|
4
4
|
## Enum
|
|
5
5
|
|
|
6
|
+
* `Paid` (value: `'paid'`)
|
|
7
|
+
|
|
8
|
+
* `Validated` (value: `'validated'`)
|
|
9
|
+
|
|
6
10
|
* `Active` (value: `'active'`)
|
|
7
11
|
|
|
8
|
-
* `
|
|
12
|
+
* `Pending` (value: `'pending'`)
|
|
13
|
+
|
|
14
|
+
* `ActivePaymentsTimeout` (value: `'active_payments_timeout'`)
|
|
15
|
+
|
|
16
|
+
* `Canceled` (value: `'canceled'`)
|
|
17
|
+
|
|
18
|
+
* `NoShow` (value: `'no-show'`)
|
|
9
19
|
|
|
10
20
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# BookingSummary
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**id** | **string** | | [default to undefined]
|
|
9
|
+
**clubPicture** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**courtName** | **string** | | [optional] [default to undefined]
|
|
11
|
+
**sportName** | **string** | | [optional] [default to undefined]
|
|
12
|
+
**startDate** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**myPaymentStatus** | **string** | | [optional] [default to undefined]
|
|
14
|
+
**bookingStatus** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**playersName** | **Array<string>** | | [default to undefined]
|
|
16
|
+
**myAmountToPay** | **number** | | [default to undefined]
|
|
17
|
+
**totalAmount** | **number** | | [default to undefined]
|
|
18
|
+
**timeBeforeCancel** | **string** | | [optional] [default to undefined]
|
|
19
|
+
**clubAddress** | [**BookingSummaryClubAddress**](BookingSummaryClubAddress.md) | | [optional] [default to undefined]
|
|
20
|
+
**bookingHistory** | [**BookingHistoryPopulated**](BookingHistoryPopulated.md) | | [optional] [default to undefined]
|
|
21
|
+
|
|
22
|
+
## Example
|
|
23
|
+
|
|
24
|
+
```typescript
|
|
25
|
+
import { BookingSummary } from '@tennac-booking/sdk';
|
|
26
|
+
|
|
27
|
+
const instance: BookingSummary = {
|
|
28
|
+
id,
|
|
29
|
+
clubPicture,
|
|
30
|
+
courtName,
|
|
31
|
+
sportName,
|
|
32
|
+
startDate,
|
|
33
|
+
myPaymentStatus,
|
|
34
|
+
bookingStatus,
|
|
35
|
+
playersName,
|
|
36
|
+
myAmountToPay,
|
|
37
|
+
totalAmount,
|
|
38
|
+
timeBeforeCancel,
|
|
39
|
+
clubAddress,
|
|
40
|
+
bookingHistory,
|
|
41
|
+
};
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|