@tennac-booking/sdk 1.0.187 → 1.0.189
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 +1 -0
- package/README.md +1 -0
- package/api.ts +86 -0
- package/dist/api.d.ts +82 -0
- package/dist/api.js +14 -4
- package/dist/esm/api.d.ts +82 -0
- package/dist/esm/api.js +9 -0
- package/docs/ClubSummary.md +6 -0
- package/docs/QuickReservationClubSummary.md +12 -0
- package/docs/QuickReservationCourtType.md +10 -0
- package/docs/SportResponse.md +2 -0
- package/docs/UserProfileResponse.md +4 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -296,6 +296,7 @@ docs/PublishEventResponse.md
|
|
|
296
296
|
docs/QuickReservationClubSport.md
|
|
297
297
|
docs/QuickReservationClubSummary.md
|
|
298
298
|
docs/QuickReservationClubSummaryLocation.md
|
|
299
|
+
docs/QuickReservationCourtType.md
|
|
299
300
|
docs/QuickReservationResponse.md
|
|
300
301
|
docs/QuickReservationSlotSummary.md
|
|
301
302
|
docs/RecordWeekdayKeyClubDaySchedule.md
|
package/README.md
CHANGED
|
@@ -555,6 +555,7 @@ Class | Method | HTTP request | Description
|
|
|
555
555
|
- [QuickReservationClubSport](docs/QuickReservationClubSport.md)
|
|
556
556
|
- [QuickReservationClubSummary](docs/QuickReservationClubSummary.md)
|
|
557
557
|
- [QuickReservationClubSummaryLocation](docs/QuickReservationClubSummaryLocation.md)
|
|
558
|
+
- [QuickReservationCourtType](docs/QuickReservationCourtType.md)
|
|
558
559
|
- [QuickReservationResponse](docs/QuickReservationResponse.md)
|
|
559
560
|
- [QuickReservationSlotSummary](docs/QuickReservationSlotSummary.md)
|
|
560
561
|
- [RecordWeekdayKeyClubDaySchedule](docs/RecordWeekdayKeyClubDaySchedule.md)
|
package/api.ts
CHANGED
|
@@ -3789,6 +3789,24 @@ export interface ClubSummary {
|
|
|
3789
3789
|
* @memberof ClubSummary
|
|
3790
3790
|
*/
|
|
3791
3791
|
'visitCount'?: number;
|
|
3792
|
+
/**
|
|
3793
|
+
*
|
|
3794
|
+
* @type {string}
|
|
3795
|
+
* @memberof ClubSummary
|
|
3796
|
+
*/
|
|
3797
|
+
'lastPlayedAt'?: string | null;
|
|
3798
|
+
/**
|
|
3799
|
+
*
|
|
3800
|
+
* @type {number}
|
|
3801
|
+
* @memberof ClubSummary
|
|
3802
|
+
*/
|
|
3803
|
+
'distanceInMeters'?: number;
|
|
3804
|
+
/**
|
|
3805
|
+
*
|
|
3806
|
+
* @type {number}
|
|
3807
|
+
* @memberof ClubSummary
|
|
3808
|
+
*/
|
|
3809
|
+
'distanceInKm'?: number;
|
|
3792
3810
|
/**
|
|
3793
3811
|
*
|
|
3794
3812
|
* @type {Array<string>}
|
|
@@ -9610,6 +9628,42 @@ export interface QuickReservationClubSummary {
|
|
|
9610
9628
|
* @memberof QuickReservationClubSummary
|
|
9611
9629
|
*/
|
|
9612
9630
|
'description'?: string;
|
|
9631
|
+
/**
|
|
9632
|
+
* Images de bannière du club
|
|
9633
|
+
* @type {Array<string>}
|
|
9634
|
+
* @memberof QuickReservationClubSummary
|
|
9635
|
+
*/
|
|
9636
|
+
'bannerPictures'?: Array<string>;
|
|
9637
|
+
/**
|
|
9638
|
+
* Surfaces des terrains des créneaux retournés
|
|
9639
|
+
* @type {Array<string>}
|
|
9640
|
+
* @memberof QuickReservationClubSummary
|
|
9641
|
+
*/
|
|
9642
|
+
'surfaces'?: Array<string>;
|
|
9643
|
+
/**
|
|
9644
|
+
* Types de terrains (indoor/outdoor) présents dans les créneaux retournés
|
|
9645
|
+
* @type {Array<QuickReservationCourtType>}
|
|
9646
|
+
* @memberof QuickReservationClubSummary
|
|
9647
|
+
*/
|
|
9648
|
+
'courtTypes'?: Array<QuickReservationCourtType>;
|
|
9649
|
+
/**
|
|
9650
|
+
* Indique si au moins un créneau est en intérieur
|
|
9651
|
+
* @type {boolean}
|
|
9652
|
+
* @memberof QuickReservationClubSummary
|
|
9653
|
+
*/
|
|
9654
|
+
'hasIndoor'?: boolean;
|
|
9655
|
+
/**
|
|
9656
|
+
* Indique si au moins un créneau est en extérieur
|
|
9657
|
+
* @type {boolean}
|
|
9658
|
+
* @memberof QuickReservationClubSummary
|
|
9659
|
+
*/
|
|
9660
|
+
'hasOutdoor'?: boolean;
|
|
9661
|
+
/**
|
|
9662
|
+
* Durées de créneaux présentes (en minutes)
|
|
9663
|
+
* @type {Array<number>}
|
|
9664
|
+
* @memberof QuickReservationClubSummary
|
|
9665
|
+
*/
|
|
9666
|
+
'durationsMinutes'?: Array<number>;
|
|
9613
9667
|
/**
|
|
9614
9668
|
* Distance par rapport à la recherche, en mètres
|
|
9615
9669
|
* @type {number}
|
|
@@ -9678,6 +9732,20 @@ export interface QuickReservationClubSummaryLocation {
|
|
|
9678
9732
|
*/
|
|
9679
9733
|
'latitude'?: number;
|
|
9680
9734
|
}
|
|
9735
|
+
/**
|
|
9736
|
+
*
|
|
9737
|
+
* @export
|
|
9738
|
+
* @enum {string}
|
|
9739
|
+
*/
|
|
9740
|
+
|
|
9741
|
+
export const QuickReservationCourtType = {
|
|
9742
|
+
Indoor: 'indoor',
|
|
9743
|
+
Outdoor: 'outdoor'
|
|
9744
|
+
} as const;
|
|
9745
|
+
|
|
9746
|
+
export type QuickReservationCourtType = typeof QuickReservationCourtType[keyof typeof QuickReservationCourtType];
|
|
9747
|
+
|
|
9748
|
+
|
|
9681
9749
|
/**
|
|
9682
9750
|
*
|
|
9683
9751
|
* @export
|
|
@@ -10606,6 +10674,12 @@ export interface SportResponse {
|
|
|
10606
10674
|
* @memberof SportResponse
|
|
10607
10675
|
*/
|
|
10608
10676
|
'maxPlayers'?: number;
|
|
10677
|
+
/**
|
|
10678
|
+
* Durées de créneaux disponibles sur les terrains de ce sport (en minutes)
|
|
10679
|
+
* @type {Array<number>}
|
|
10680
|
+
* @memberof SportResponse
|
|
10681
|
+
*/
|
|
10682
|
+
'slotDurations'?: Array<number>;
|
|
10609
10683
|
/**
|
|
10610
10684
|
* Types de surface pour le sport
|
|
10611
10685
|
* @type {Array<string>}
|
|
@@ -13735,6 +13809,18 @@ export interface UserProfileResponse {
|
|
|
13735
13809
|
* @memberof UserProfileResponse
|
|
13736
13810
|
*/
|
|
13737
13811
|
'frequentlyVisitedClubs'?: Array<ClubSummary>;
|
|
13812
|
+
/**
|
|
13813
|
+
*
|
|
13814
|
+
* @type {Array<ClubSummary>}
|
|
13815
|
+
* @memberof UserProfileResponse
|
|
13816
|
+
*/
|
|
13817
|
+
'recentlyPlayedClubs'?: Array<ClubSummary>;
|
|
13818
|
+
/**
|
|
13819
|
+
*
|
|
13820
|
+
* @type {Array<ClubSummary>}
|
|
13821
|
+
* @memberof UserProfileResponse
|
|
13822
|
+
*/
|
|
13823
|
+
'nearbyCityClubs'?: Array<ClubSummary>;
|
|
13738
13824
|
/**
|
|
13739
13825
|
*
|
|
13740
13826
|
* @type {Array<PlayerSummary>}
|
package/dist/api.d.ts
CHANGED
|
@@ -3738,6 +3738,24 @@ export interface ClubSummary {
|
|
|
3738
3738
|
* @memberof ClubSummary
|
|
3739
3739
|
*/
|
|
3740
3740
|
'visitCount'?: number;
|
|
3741
|
+
/**
|
|
3742
|
+
*
|
|
3743
|
+
* @type {string}
|
|
3744
|
+
* @memberof ClubSummary
|
|
3745
|
+
*/
|
|
3746
|
+
'lastPlayedAt'?: string | null;
|
|
3747
|
+
/**
|
|
3748
|
+
*
|
|
3749
|
+
* @type {number}
|
|
3750
|
+
* @memberof ClubSummary
|
|
3751
|
+
*/
|
|
3752
|
+
'distanceInMeters'?: number;
|
|
3753
|
+
/**
|
|
3754
|
+
*
|
|
3755
|
+
* @type {number}
|
|
3756
|
+
* @memberof ClubSummary
|
|
3757
|
+
*/
|
|
3758
|
+
'distanceInKm'?: number;
|
|
3741
3759
|
/**
|
|
3742
3760
|
*
|
|
3743
3761
|
* @type {Array<string>}
|
|
@@ -9443,6 +9461,42 @@ export interface QuickReservationClubSummary {
|
|
|
9443
9461
|
* @memberof QuickReservationClubSummary
|
|
9444
9462
|
*/
|
|
9445
9463
|
'description'?: string;
|
|
9464
|
+
/**
|
|
9465
|
+
* Images de bannière du club
|
|
9466
|
+
* @type {Array<string>}
|
|
9467
|
+
* @memberof QuickReservationClubSummary
|
|
9468
|
+
*/
|
|
9469
|
+
'bannerPictures'?: Array<string>;
|
|
9470
|
+
/**
|
|
9471
|
+
* Surfaces des terrains des créneaux retournés
|
|
9472
|
+
* @type {Array<string>}
|
|
9473
|
+
* @memberof QuickReservationClubSummary
|
|
9474
|
+
*/
|
|
9475
|
+
'surfaces'?: Array<string>;
|
|
9476
|
+
/**
|
|
9477
|
+
* Types de terrains (indoor/outdoor) présents dans les créneaux retournés
|
|
9478
|
+
* @type {Array<QuickReservationCourtType>}
|
|
9479
|
+
* @memberof QuickReservationClubSummary
|
|
9480
|
+
*/
|
|
9481
|
+
'courtTypes'?: Array<QuickReservationCourtType>;
|
|
9482
|
+
/**
|
|
9483
|
+
* Indique si au moins un créneau est en intérieur
|
|
9484
|
+
* @type {boolean}
|
|
9485
|
+
* @memberof QuickReservationClubSummary
|
|
9486
|
+
*/
|
|
9487
|
+
'hasIndoor'?: boolean;
|
|
9488
|
+
/**
|
|
9489
|
+
* Indique si au moins un créneau est en extérieur
|
|
9490
|
+
* @type {boolean}
|
|
9491
|
+
* @memberof QuickReservationClubSummary
|
|
9492
|
+
*/
|
|
9493
|
+
'hasOutdoor'?: boolean;
|
|
9494
|
+
/**
|
|
9495
|
+
* Durées de créneaux présentes (en minutes)
|
|
9496
|
+
* @type {Array<number>}
|
|
9497
|
+
* @memberof QuickReservationClubSummary
|
|
9498
|
+
*/
|
|
9499
|
+
'durationsMinutes'?: Array<number>;
|
|
9446
9500
|
/**
|
|
9447
9501
|
* Distance par rapport à la recherche, en mètres
|
|
9448
9502
|
* @type {number}
|
|
@@ -9511,6 +9565,16 @@ export interface QuickReservationClubSummaryLocation {
|
|
|
9511
9565
|
*/
|
|
9512
9566
|
'latitude'?: number;
|
|
9513
9567
|
}
|
|
9568
|
+
/**
|
|
9569
|
+
*
|
|
9570
|
+
* @export
|
|
9571
|
+
* @enum {string}
|
|
9572
|
+
*/
|
|
9573
|
+
export declare const QuickReservationCourtType: {
|
|
9574
|
+
readonly Indoor: "indoor";
|
|
9575
|
+
readonly Outdoor: "outdoor";
|
|
9576
|
+
};
|
|
9577
|
+
export type QuickReservationCourtType = typeof QuickReservationCourtType[keyof typeof QuickReservationCourtType];
|
|
9514
9578
|
/**
|
|
9515
9579
|
*
|
|
9516
9580
|
* @export
|
|
@@ -10427,6 +10491,12 @@ export interface SportResponse {
|
|
|
10427
10491
|
* @memberof SportResponse
|
|
10428
10492
|
*/
|
|
10429
10493
|
'maxPlayers'?: number;
|
|
10494
|
+
/**
|
|
10495
|
+
* Durées de créneaux disponibles sur les terrains de ce sport (en minutes)
|
|
10496
|
+
* @type {Array<number>}
|
|
10497
|
+
* @memberof SportResponse
|
|
10498
|
+
*/
|
|
10499
|
+
'slotDurations'?: Array<number>;
|
|
10430
10500
|
/**
|
|
10431
10501
|
* Types de surface pour le sport
|
|
10432
10502
|
* @type {Array<string>}
|
|
@@ -13500,6 +13570,18 @@ export interface UserProfileResponse {
|
|
|
13500
13570
|
* @memberof UserProfileResponse
|
|
13501
13571
|
*/
|
|
13502
13572
|
'frequentlyVisitedClubs'?: Array<ClubSummary>;
|
|
13573
|
+
/**
|
|
13574
|
+
*
|
|
13575
|
+
* @type {Array<ClubSummary>}
|
|
13576
|
+
* @memberof UserProfileResponse
|
|
13577
|
+
*/
|
|
13578
|
+
'recentlyPlayedClubs'?: Array<ClubSummary>;
|
|
13579
|
+
/**
|
|
13580
|
+
*
|
|
13581
|
+
* @type {Array<ClubSummary>}
|
|
13582
|
+
* @memberof UserProfileResponse
|
|
13583
|
+
*/
|
|
13584
|
+
'nearbyCityClubs'?: Array<ClubSummary>;
|
|
13503
13585
|
/**
|
|
13504
13586
|
*
|
|
13505
13587
|
* @type {Array<PlayerSummary>}
|
package/dist/api.js
CHANGED
|
@@ -22,10 +22,11 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
25
|
+
exports.UpdateRecurringDefinitionRequestTypeEnum = exports.UpdateRecurringDefinitionRequestVisibilityTypeEnum = exports.UpdateEventRequestVisibilityTypeEnum = exports.UpdateEventRequestParticipationTypeEnum = exports.UpdateEventRequestRecurringTypeEnum = exports.UpdateEventRequestTypeEnum = exports.UpdateClubRoleRequestRoleEnum = exports.UpdateClubMemberRequestRoleEnum = exports.TrendDirection = exports.SurfaceType = exports.SupportedLanguage = exports.StaffUserProfileResponseCreatedFromEnum = exports.StaffBookingPaymentState = exports.SportKey = exports.RegisterRequestBodyLocationTypeEnum = exports.RecurringDefinitionResponseRecurringTypeEnum = exports.QuickReservationCourtType = exports.PublicAccessSettingsPaymentModeEnum = exports.PlayerCategoryId = exports.PlanInterval = exports.PaymentMethod = exports.ParticipationType = exports.PartialPublicAccessSettingsPaymentModeEnum = exports.InvoiceStatusSETUPSUCCESS = exports.InvoiceStatusSETUPPENDING = exports.InvoiceStatus = exports.ImageContextType = exports.IUserLocationTypeEnum = exports.IUserAttributesCreatedFromEnum = exports.Gender = exports.EventResponseVisibilityTypeEnum = exports.EventResponseParticipationTypeEnum = exports.EventResponseRecurringTypeEnum = exports.EventResponseTypeEnum = exports.EventBookingStatus = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CreateActualityRequestDiffusionModeEnum = exports.CourtStatus = exports.ClubRoleResponseRoleEnum = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingStatus = exports.BookingInvoicePaymentStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
|
+
exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = exports.ClubCustomerStaffApi = exports.ClubCustomerStaffApiFactory = exports.ClubCustomerStaffApiFp = exports.ClubCustomerStaffApiAxiosParamCreator = exports.ClubCustomerMeApi = exports.ClubCustomerMeApiFactory = exports.ClubCustomerMeApiFp = exports.ClubCustomerMeApiAxiosParamCreator = exports.ClubAnalyticsStaffApi = exports.ClubAnalyticsStaffApiFactory = exports.ClubAnalyticsStaffApiFp = exports.ClubAnalyticsStaffApiAxiosParamCreator = exports.ClubAnalyticsApi = exports.ClubAnalyticsApiFactory = exports.ClubAnalyticsApiFp = exports.ClubAnalyticsApiAxiosParamCreator = exports.ClientApi = exports.ClientApiFactory = exports.ClientApiFp = exports.ClientApiAxiosParamCreator = exports.BookingsUserApi = exports.BookingsUserApiFactory = exports.BookingsUserApiFp = exports.BookingsUserApiAxiosParamCreator = exports.BookingsStaffApi = exports.BookingsStaffApiFactory = exports.BookingsStaffApiFp = exports.BookingsStaffApiAxiosParamCreator = exports.BookingsManagerApi = exports.BookingsManagerApiFactory = exports.BookingsManagerApiFp = exports.BookingsManagerApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.AuthApi = exports.AuthApiFactory = exports.AuthApiFp = exports.AuthApiAxiosParamCreator = exports.WeekdayKey = exports.WaitListResponseTargetTypeEnum = exports.VisibilityType = exports.UserProfileResponseCreatedFromEnum = exports.UserLocationSummaryTypeEnum = exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = exports.UpdateRecurringDefinitionRequestParticipationTypeEnum = void 0;
|
|
27
|
+
exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum = exports.EventsStaffApi = exports.EventsStaffApiFactory = exports.EventsStaffApiFp = exports.EventsStaffApiAxiosParamCreator = exports.EventsManagerApi = exports.EventsManagerApiFactory = exports.EventsManagerApiFp = exports.EventsManagerApiAxiosParamCreator = exports.GetPublishedEventsByClubIdTypeEnum = exports.GetPublishedEventsByClubIdVisibilityTypeEnum = exports.EventsApi = exports.EventsApiFactory = exports.EventsApiFp = exports.EventsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.ContactApi = exports.ContactApiFactory = exports.ContactApiFp = exports.ContactApiAxiosParamCreator = exports.ClubsStaffApi = exports.ClubsStaffApiFactory = exports.ClubsStaffApiFp = exports.ClubsStaffApiAxiosParamCreator = exports.ClubsManagerApi = exports.ClubsManagerApiFactory = exports.ClubsManagerApiFp = exports.ClubsManagerApiAxiosParamCreator = exports.ClubsApi = exports.ClubsApiFactory = exports.ClubsApiFp = exports.ClubsApiAxiosParamCreator = exports.ClubSettingsStaffApi = exports.ClubSettingsStaffApiFactory = exports.ClubSettingsStaffApiFp = exports.ClubSettingsStaffApiAxiosParamCreator = exports.ClubSettingsManagerApi = exports.ClubSettingsManagerApiFactory = exports.ClubSettingsManagerApiFp = exports.ClubSettingsManagerApiAxiosParamCreator = exports.ClubRolesStaffApi = exports.ClubRolesStaffApiFactory = exports.ClubRolesStaffApiFp = exports.ClubRolesStaffApiAxiosParamCreator = exports.ClubRolesManagerApi = void 0;
|
|
28
|
+
exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = exports.UsersApi = exports.UsersApiFactory = exports.UsersApiFp = exports.UsersApiAxiosParamCreator = exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.SubscriptionsUserApi = exports.SubscriptionsUserApiFactory = exports.SubscriptionsUserApiFp = exports.SubscriptionsUserApiAxiosParamCreator = exports.SubscriptionsStaffApi = exports.SubscriptionsStaffApiFactory = exports.SubscriptionsStaffApiFp = exports.SubscriptionsStaffApiAxiosParamCreator = exports.SubscriptionsPublicApi = exports.SubscriptionsPublicApiFactory = exports.SubscriptionsPublicApiFp = exports.SubscriptionsPublicApiAxiosParamCreator = exports.SubscriptionsManagerApi = exports.SubscriptionsManagerApiFactory = exports.SubscriptionsManagerApiFp = exports.SubscriptionsManagerApiAxiosParamCreator = exports.SportsPublicApi = exports.SportsPublicApiFactory = exports.SportsPublicApiFp = exports.SportsPublicApiAxiosParamCreator = exports.SportsManagerApi = exports.SportsManagerApiFactory = exports.SportsManagerApiFp = exports.SportsManagerApiAxiosParamCreator = exports.PublicEmailApi = exports.PublicEmailApiFactory = exports.PublicEmailApiFp = exports.PublicEmailApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = void 0;
|
|
29
|
+
exports.WaitListStaffApi = void 0;
|
|
29
30
|
const axios_1 = require("axios");
|
|
30
31
|
// Some imports not used depending on template conditions
|
|
31
32
|
// @ts-ignore
|
|
@@ -286,6 +287,15 @@ exports.PublicAccessSettingsPaymentModeEnum = {
|
|
|
286
287
|
AccessFee: 'access_fee',
|
|
287
288
|
PerCourt: 'per_court'
|
|
288
289
|
};
|
|
290
|
+
/**
|
|
291
|
+
*
|
|
292
|
+
* @export
|
|
293
|
+
* @enum {string}
|
|
294
|
+
*/
|
|
295
|
+
exports.QuickReservationCourtType = {
|
|
296
|
+
Indoor: 'indoor',
|
|
297
|
+
Outdoor: 'outdoor'
|
|
298
|
+
};
|
|
289
299
|
exports.RecurringDefinitionResponseRecurringTypeEnum = {
|
|
290
300
|
Daily: 'daily',
|
|
291
301
|
Weekly: 'weekly',
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -3738,6 +3738,24 @@ export interface ClubSummary {
|
|
|
3738
3738
|
* @memberof ClubSummary
|
|
3739
3739
|
*/
|
|
3740
3740
|
'visitCount'?: number;
|
|
3741
|
+
/**
|
|
3742
|
+
*
|
|
3743
|
+
* @type {string}
|
|
3744
|
+
* @memberof ClubSummary
|
|
3745
|
+
*/
|
|
3746
|
+
'lastPlayedAt'?: string | null;
|
|
3747
|
+
/**
|
|
3748
|
+
*
|
|
3749
|
+
* @type {number}
|
|
3750
|
+
* @memberof ClubSummary
|
|
3751
|
+
*/
|
|
3752
|
+
'distanceInMeters'?: number;
|
|
3753
|
+
/**
|
|
3754
|
+
*
|
|
3755
|
+
* @type {number}
|
|
3756
|
+
* @memberof ClubSummary
|
|
3757
|
+
*/
|
|
3758
|
+
'distanceInKm'?: number;
|
|
3741
3759
|
/**
|
|
3742
3760
|
*
|
|
3743
3761
|
* @type {Array<string>}
|
|
@@ -9443,6 +9461,42 @@ export interface QuickReservationClubSummary {
|
|
|
9443
9461
|
* @memberof QuickReservationClubSummary
|
|
9444
9462
|
*/
|
|
9445
9463
|
'description'?: string;
|
|
9464
|
+
/**
|
|
9465
|
+
* Images de bannière du club
|
|
9466
|
+
* @type {Array<string>}
|
|
9467
|
+
* @memberof QuickReservationClubSummary
|
|
9468
|
+
*/
|
|
9469
|
+
'bannerPictures'?: Array<string>;
|
|
9470
|
+
/**
|
|
9471
|
+
* Surfaces des terrains des créneaux retournés
|
|
9472
|
+
* @type {Array<string>}
|
|
9473
|
+
* @memberof QuickReservationClubSummary
|
|
9474
|
+
*/
|
|
9475
|
+
'surfaces'?: Array<string>;
|
|
9476
|
+
/**
|
|
9477
|
+
* Types de terrains (indoor/outdoor) présents dans les créneaux retournés
|
|
9478
|
+
* @type {Array<QuickReservationCourtType>}
|
|
9479
|
+
* @memberof QuickReservationClubSummary
|
|
9480
|
+
*/
|
|
9481
|
+
'courtTypes'?: Array<QuickReservationCourtType>;
|
|
9482
|
+
/**
|
|
9483
|
+
* Indique si au moins un créneau est en intérieur
|
|
9484
|
+
* @type {boolean}
|
|
9485
|
+
* @memberof QuickReservationClubSummary
|
|
9486
|
+
*/
|
|
9487
|
+
'hasIndoor'?: boolean;
|
|
9488
|
+
/**
|
|
9489
|
+
* Indique si au moins un créneau est en extérieur
|
|
9490
|
+
* @type {boolean}
|
|
9491
|
+
* @memberof QuickReservationClubSummary
|
|
9492
|
+
*/
|
|
9493
|
+
'hasOutdoor'?: boolean;
|
|
9494
|
+
/**
|
|
9495
|
+
* Durées de créneaux présentes (en minutes)
|
|
9496
|
+
* @type {Array<number>}
|
|
9497
|
+
* @memberof QuickReservationClubSummary
|
|
9498
|
+
*/
|
|
9499
|
+
'durationsMinutes'?: Array<number>;
|
|
9446
9500
|
/**
|
|
9447
9501
|
* Distance par rapport à la recherche, en mètres
|
|
9448
9502
|
* @type {number}
|
|
@@ -9511,6 +9565,16 @@ export interface QuickReservationClubSummaryLocation {
|
|
|
9511
9565
|
*/
|
|
9512
9566
|
'latitude'?: number;
|
|
9513
9567
|
}
|
|
9568
|
+
/**
|
|
9569
|
+
*
|
|
9570
|
+
* @export
|
|
9571
|
+
* @enum {string}
|
|
9572
|
+
*/
|
|
9573
|
+
export declare const QuickReservationCourtType: {
|
|
9574
|
+
readonly Indoor: "indoor";
|
|
9575
|
+
readonly Outdoor: "outdoor";
|
|
9576
|
+
};
|
|
9577
|
+
export type QuickReservationCourtType = typeof QuickReservationCourtType[keyof typeof QuickReservationCourtType];
|
|
9514
9578
|
/**
|
|
9515
9579
|
*
|
|
9516
9580
|
* @export
|
|
@@ -10427,6 +10491,12 @@ export interface SportResponse {
|
|
|
10427
10491
|
* @memberof SportResponse
|
|
10428
10492
|
*/
|
|
10429
10493
|
'maxPlayers'?: number;
|
|
10494
|
+
/**
|
|
10495
|
+
* Durées de créneaux disponibles sur les terrains de ce sport (en minutes)
|
|
10496
|
+
* @type {Array<number>}
|
|
10497
|
+
* @memberof SportResponse
|
|
10498
|
+
*/
|
|
10499
|
+
'slotDurations'?: Array<number>;
|
|
10430
10500
|
/**
|
|
10431
10501
|
* Types de surface pour le sport
|
|
10432
10502
|
* @type {Array<string>}
|
|
@@ -13500,6 +13570,18 @@ export interface UserProfileResponse {
|
|
|
13500
13570
|
* @memberof UserProfileResponse
|
|
13501
13571
|
*/
|
|
13502
13572
|
'frequentlyVisitedClubs'?: Array<ClubSummary>;
|
|
13573
|
+
/**
|
|
13574
|
+
*
|
|
13575
|
+
* @type {Array<ClubSummary>}
|
|
13576
|
+
* @memberof UserProfileResponse
|
|
13577
|
+
*/
|
|
13578
|
+
'recentlyPlayedClubs'?: Array<ClubSummary>;
|
|
13579
|
+
/**
|
|
13580
|
+
*
|
|
13581
|
+
* @type {Array<ClubSummary>}
|
|
13582
|
+
* @memberof UserProfileResponse
|
|
13583
|
+
*/
|
|
13584
|
+
'nearbyCityClubs'?: Array<ClubSummary>;
|
|
13503
13585
|
/**
|
|
13504
13586
|
*
|
|
13505
13587
|
* @type {Array<PlayerSummary>}
|
package/dist/esm/api.js
CHANGED
|
@@ -280,6 +280,15 @@ export const PublicAccessSettingsPaymentModeEnum = {
|
|
|
280
280
|
AccessFee: 'access_fee',
|
|
281
281
|
PerCourt: 'per_court'
|
|
282
282
|
};
|
|
283
|
+
/**
|
|
284
|
+
*
|
|
285
|
+
* @export
|
|
286
|
+
* @enum {string}
|
|
287
|
+
*/
|
|
288
|
+
export const QuickReservationCourtType = {
|
|
289
|
+
Indoor: 'indoor',
|
|
290
|
+
Outdoor: 'outdoor'
|
|
291
|
+
};
|
|
283
292
|
export const RecurringDefinitionResponseRecurringTypeEnum = {
|
|
284
293
|
Daily: 'daily',
|
|
285
294
|
Weekly: 'weekly',
|
package/docs/ClubSummary.md
CHANGED
|
@@ -14,6 +14,9 @@ Name | Type | Description | Notes
|
|
|
14
14
|
**address** | **string** | | [optional] [default to undefined]
|
|
15
15
|
**description** | **string** | | [optional] [default to undefined]
|
|
16
16
|
**visitCount** | **number** | | [optional] [default to undefined]
|
|
17
|
+
**lastPlayedAt** | **string** | | [optional] [default to undefined]
|
|
18
|
+
**distanceInMeters** | **number** | | [optional] [default to undefined]
|
|
19
|
+
**distanceInKm** | **number** | | [optional] [default to undefined]
|
|
17
20
|
**tags** | **Array<string>** | | [optional] [default to undefined]
|
|
18
21
|
|
|
19
22
|
## Example
|
|
@@ -31,6 +34,9 @@ const instance: ClubSummary = {
|
|
|
31
34
|
address,
|
|
32
35
|
description,
|
|
33
36
|
visitCount,
|
|
37
|
+
lastPlayedAt,
|
|
38
|
+
distanceInMeters,
|
|
39
|
+
distanceInKm,
|
|
34
40
|
tags,
|
|
35
41
|
};
|
|
36
42
|
```
|
|
@@ -8,6 +8,12 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**clubId** | **string** | ID du club | [default to undefined]
|
|
9
9
|
**clubName** | **string** | Nom du club | [default to undefined]
|
|
10
10
|
**description** | **string** | Description du club | [optional] [default to undefined]
|
|
11
|
+
**bannerPictures** | **Array<string>** | Images de bannière du club | [optional] [default to undefined]
|
|
12
|
+
**surfaces** | **Array<string>** | Surfaces des terrains des créneaux retournés | [optional] [default to undefined]
|
|
13
|
+
**courtTypes** | [**Array<QuickReservationCourtType>**](QuickReservationCourtType.md) | Types de terrains (indoor/outdoor) présents dans les créneaux retournés | [optional] [default to undefined]
|
|
14
|
+
**hasIndoor** | **boolean** | Indique si au moins un créneau est en intérieur | [optional] [default to undefined]
|
|
15
|
+
**hasOutdoor** | **boolean** | Indique si au moins un créneau est en extérieur | [optional] [default to undefined]
|
|
16
|
+
**durationsMinutes** | **Array<number>** | Durées de créneaux présentes (en minutes) | [optional] [default to undefined]
|
|
11
17
|
**distanceInMeters** | **number** | Distance par rapport à la recherche, en mètres | [default to undefined]
|
|
12
18
|
**location** | [**QuickReservationClubSummaryLocation**](QuickReservationClubSummaryLocation.md) | | [optional] [default to undefined]
|
|
13
19
|
**slots** | [**Array<QuickReservationSlotSummary>**](QuickReservationSlotSummary.md) | Créneaux disponibles correspondant aux filtres | [default to undefined]
|
|
@@ -22,6 +28,12 @@ const instance: QuickReservationClubSummary = {
|
|
|
22
28
|
clubId,
|
|
23
29
|
clubName,
|
|
24
30
|
description,
|
|
31
|
+
bannerPictures,
|
|
32
|
+
surfaces,
|
|
33
|
+
courtTypes,
|
|
34
|
+
hasIndoor,
|
|
35
|
+
hasOutdoor,
|
|
36
|
+
durationsMinutes,
|
|
25
37
|
distanceInMeters,
|
|
26
38
|
location,
|
|
27
39
|
slots,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# QuickReservationCourtType
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Enum
|
|
5
|
+
|
|
6
|
+
* `Indoor` (value: `'indoor'`)
|
|
7
|
+
|
|
8
|
+
* `Outdoor` (value: `'outdoor'`)
|
|
9
|
+
|
|
10
|
+
[[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/SportResponse.md
CHANGED
|
@@ -12,6 +12,7 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**levels** | [**Array<SportLevel>**](SportLevel.md) | Niveaux associés au sport | [optional] [default to undefined]
|
|
13
13
|
**logos** | **Array<string>** | URLs de logos/images pour le sport | [optional] [default to undefined]
|
|
14
14
|
**maxPlayers** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**slotDurations** | **Array<number>** | Durées de créneaux disponibles sur les terrains de ce sport (en minutes) | [optional] [default to undefined]
|
|
15
16
|
**surface** | **Array<string>** | Types de surface pour le sport | [optional] [default to undefined]
|
|
16
17
|
**createdBy** | **string** | ID du club créateur | [optional] [default to undefined]
|
|
17
18
|
**verified** | **boolean** | Sport vérifié/officiel (non modifiable) | [default to undefined]
|
|
@@ -31,6 +32,7 @@ const instance: SportResponse = {
|
|
|
31
32
|
levels,
|
|
32
33
|
logos,
|
|
33
34
|
maxPlayers,
|
|
35
|
+
slotDurations,
|
|
34
36
|
surface,
|
|
35
37
|
createdBy,
|
|
36
38
|
verified,
|
|
@@ -45,6 +45,8 @@ Name | Type | Description | Notes
|
|
|
45
45
|
**clubs** | [**Array<UserClubMembership>**](UserClubMembership.md) | | [optional] [default to undefined]
|
|
46
46
|
**favoriteClubsDetails** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined]
|
|
47
47
|
**frequentlyVisitedClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined]
|
|
48
|
+
**recentlyPlayedClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined]
|
|
49
|
+
**nearbyCityClubs** | [**Array<ClubSummary>**](ClubSummary.md) | | [optional] [default to undefined]
|
|
48
50
|
**frequentlyPlayedWith** | [**Array<PlayerSummary>**](PlayerSummary.md) | | [optional] [default to undefined]
|
|
49
51
|
**stripeLinks** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
50
52
|
**verifiedSports** | [**Array<SportResponse>**](SportResponse.md) | | [optional] [default to undefined]
|
|
@@ -96,6 +98,8 @@ const instance: UserProfileResponse = {
|
|
|
96
98
|
clubs,
|
|
97
99
|
favoriteClubsDetails,
|
|
98
100
|
frequentlyVisitedClubs,
|
|
101
|
+
recentlyPlayedClubs,
|
|
102
|
+
nearbyCityClubs,
|
|
99
103
|
frequentlyPlayedWith,
|
|
100
104
|
stripeLinks,
|
|
101
105
|
verifiedSports,
|