@tennac-booking/sdk 1.0.199 → 1.0.200
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 +0 -1
- package/README.md +0 -1
- package/api.ts +3 -47
- package/dist/api.d.ts +3 -49
- package/dist/api.js +5 -14
- package/dist/esm/api.d.ts +3 -49
- package/dist/esm/api.js +0 -9
- package/docs/ClubPricingPeriodResponse.md +4 -4
- package/docs/ClubResponse.md +0 -10
- package/package.json +1 -1
- package/docs/CourtEnvironment.md +0 -10
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -399,7 +399,6 @@ Class | Method | HTTP request | Description
|
|
|
399
399
|
- [ContactRequestBody](docs/ContactRequestBody.md)
|
|
400
400
|
- [ContactSuccessResponse](docs/ContactSuccessResponse.md)
|
|
401
401
|
- [CourtBookingShareItem](docs/CourtBookingShareItem.md)
|
|
402
|
-
- [CourtEnvironment](docs/CourtEnvironment.md)
|
|
403
402
|
- [CourtInfo](docs/CourtInfo.md)
|
|
404
403
|
- [CourtResponse](docs/CourtResponse.md)
|
|
405
404
|
- [CourtStatus](docs/CourtStatus.md)
|
package/api.ts
CHANGED
|
@@ -3419,10 +3419,10 @@ export interface ClubPricingPeriodResponse {
|
|
|
3419
3419
|
'name': string;
|
|
3420
3420
|
/**
|
|
3421
3421
|
*
|
|
3422
|
-
* @type {Array<
|
|
3422
|
+
* @type {Array<WeekdayKey>}
|
|
3423
3423
|
* @memberof ClubPricingPeriodResponse
|
|
3424
3424
|
*/
|
|
3425
|
-
'
|
|
3425
|
+
'weekDays': Array<WeekdayKey>;
|
|
3426
3426
|
/**
|
|
3427
3427
|
*
|
|
3428
3428
|
* @type {number}
|
|
@@ -3440,7 +3440,7 @@ export interface ClubPricingPeriodResponse {
|
|
|
3440
3440
|
* @type {number}
|
|
3441
3441
|
* @memberof ClubPricingPeriodResponse
|
|
3442
3442
|
*/
|
|
3443
|
-
'
|
|
3443
|
+
'priceVariation': number;
|
|
3444
3444
|
}
|
|
3445
3445
|
/**
|
|
3446
3446
|
*
|
|
@@ -3521,12 +3521,6 @@ export interface ClubResponse {
|
|
|
3521
3521
|
* @memberof ClubResponse
|
|
3522
3522
|
*/
|
|
3523
3523
|
'picture'?: string;
|
|
3524
|
-
/**
|
|
3525
|
-
* URL du logo du club (alias de picture)
|
|
3526
|
-
* @type {string}
|
|
3527
|
-
* @memberof ClubResponse
|
|
3528
|
-
*/
|
|
3529
|
-
'logo'?: string;
|
|
3530
3524
|
/**
|
|
3531
3525
|
*
|
|
3532
3526
|
* @type {ClubResponseLocation}
|
|
@@ -3569,30 +3563,6 @@ export interface ClubResponse {
|
|
|
3569
3563
|
* @memberof ClubResponse
|
|
3570
3564
|
*/
|
|
3571
3565
|
'sports'?: Array<string>;
|
|
3572
|
-
/**
|
|
3573
|
-
* Nombre total de terrains du club
|
|
3574
|
-
* @type {number}
|
|
3575
|
-
* @memberof ClubResponse
|
|
3576
|
-
*/
|
|
3577
|
-
'courtsCount'?: number;
|
|
3578
|
-
/**
|
|
3579
|
-
* Construct a type with a set of properties K of type T
|
|
3580
|
-
* @type {{ [key: string]: number; }}
|
|
3581
|
-
* @memberof ClubResponse
|
|
3582
|
-
*/
|
|
3583
|
-
'courtsCountBySport'?: { [key: string]: number; };
|
|
3584
|
-
/**
|
|
3585
|
-
* Construct a type with a set of properties K of type T
|
|
3586
|
-
* @type {{ [key: string]: Array<SurfaceType>; }}
|
|
3587
|
-
* @memberof ClubResponse
|
|
3588
|
-
*/
|
|
3589
|
-
'surfacesBySport'?: { [key: string]: Array<SurfaceType>; };
|
|
3590
|
-
/**
|
|
3591
|
-
* Construct a type with a set of properties K of type T
|
|
3592
|
-
* @type {{ [key: string]: Array<CourtEnvironment>; }}
|
|
3593
|
-
* @memberof ClubResponse
|
|
3594
|
-
*/
|
|
3595
|
-
'indoorOutdoorBySport'?: { [key: string]: Array<CourtEnvironment>; };
|
|
3596
3566
|
/**
|
|
3597
3567
|
* Autoriser plusieurs réservations en même temps
|
|
3598
3568
|
* @type {boolean}
|
|
@@ -4051,20 +4021,6 @@ export interface CourtBookingShareItem {
|
|
|
4051
4021
|
*/
|
|
4052
4022
|
'totalBookings': number;
|
|
4053
4023
|
}
|
|
4054
|
-
/**
|
|
4055
|
-
*
|
|
4056
|
-
* @export
|
|
4057
|
-
* @enum {string}
|
|
4058
|
-
*/
|
|
4059
|
-
|
|
4060
|
-
export const CourtEnvironment = {
|
|
4061
|
-
Indoor: 'indoor',
|
|
4062
|
-
Outdoor: 'outdoor'
|
|
4063
|
-
} as const;
|
|
4064
|
-
|
|
4065
|
-
export type CourtEnvironment = typeof CourtEnvironment[keyof typeof CourtEnvironment];
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
4024
|
/**
|
|
4069
4025
|
*
|
|
4070
4026
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -3370,10 +3370,10 @@ export interface ClubPricingPeriodResponse {
|
|
|
3370
3370
|
'name': string;
|
|
3371
3371
|
/**
|
|
3372
3372
|
*
|
|
3373
|
-
* @type {Array<
|
|
3373
|
+
* @type {Array<WeekdayKey>}
|
|
3374
3374
|
* @memberof ClubPricingPeriodResponse
|
|
3375
3375
|
*/
|
|
3376
|
-
'
|
|
3376
|
+
'weekDays': Array<WeekdayKey>;
|
|
3377
3377
|
/**
|
|
3378
3378
|
*
|
|
3379
3379
|
* @type {number}
|
|
@@ -3391,7 +3391,7 @@ export interface ClubPricingPeriodResponse {
|
|
|
3391
3391
|
* @type {number}
|
|
3392
3392
|
* @memberof ClubPricingPeriodResponse
|
|
3393
3393
|
*/
|
|
3394
|
-
'
|
|
3394
|
+
'priceVariation': number;
|
|
3395
3395
|
}
|
|
3396
3396
|
/**
|
|
3397
3397
|
*
|
|
@@ -3472,12 +3472,6 @@ export interface ClubResponse {
|
|
|
3472
3472
|
* @memberof ClubResponse
|
|
3473
3473
|
*/
|
|
3474
3474
|
'picture'?: string;
|
|
3475
|
-
/**
|
|
3476
|
-
* URL du logo du club (alias de picture)
|
|
3477
|
-
* @type {string}
|
|
3478
|
-
* @memberof ClubResponse
|
|
3479
|
-
*/
|
|
3480
|
-
'logo'?: string;
|
|
3481
3475
|
/**
|
|
3482
3476
|
*
|
|
3483
3477
|
* @type {ClubResponseLocation}
|
|
@@ -3520,36 +3514,6 @@ export interface ClubResponse {
|
|
|
3520
3514
|
* @memberof ClubResponse
|
|
3521
3515
|
*/
|
|
3522
3516
|
'sports'?: Array<string>;
|
|
3523
|
-
/**
|
|
3524
|
-
* Nombre total de terrains du club
|
|
3525
|
-
* @type {number}
|
|
3526
|
-
* @memberof ClubResponse
|
|
3527
|
-
*/
|
|
3528
|
-
'courtsCount'?: number;
|
|
3529
|
-
/**
|
|
3530
|
-
* Construct a type with a set of properties K of type T
|
|
3531
|
-
* @type {{ [key: string]: number; }}
|
|
3532
|
-
* @memberof ClubResponse
|
|
3533
|
-
*/
|
|
3534
|
-
'courtsCountBySport'?: {
|
|
3535
|
-
[key: string]: number;
|
|
3536
|
-
};
|
|
3537
|
-
/**
|
|
3538
|
-
* Construct a type with a set of properties K of type T
|
|
3539
|
-
* @type {{ [key: string]: Array<SurfaceType>; }}
|
|
3540
|
-
* @memberof ClubResponse
|
|
3541
|
-
*/
|
|
3542
|
-
'surfacesBySport'?: {
|
|
3543
|
-
[key: string]: Array<SurfaceType>;
|
|
3544
|
-
};
|
|
3545
|
-
/**
|
|
3546
|
-
* Construct a type with a set of properties K of type T
|
|
3547
|
-
* @type {{ [key: string]: Array<CourtEnvironment>; }}
|
|
3548
|
-
* @memberof ClubResponse
|
|
3549
|
-
*/
|
|
3550
|
-
'indoorOutdoorBySport'?: {
|
|
3551
|
-
[key: string]: Array<CourtEnvironment>;
|
|
3552
|
-
};
|
|
3553
3517
|
/**
|
|
3554
3518
|
* Autoriser plusieurs réservations en même temps
|
|
3555
3519
|
* @type {boolean}
|
|
@@ -4003,16 +3967,6 @@ export interface CourtBookingShareItem {
|
|
|
4003
3967
|
*/
|
|
4004
3968
|
'totalBookings': number;
|
|
4005
3969
|
}
|
|
4006
|
-
/**
|
|
4007
|
-
*
|
|
4008
|
-
* @export
|
|
4009
|
-
* @enum {string}
|
|
4010
|
-
*/
|
|
4011
|
-
export declare const CourtEnvironment: {
|
|
4012
|
-
readonly Indoor: "indoor";
|
|
4013
|
-
readonly Outdoor: "outdoor";
|
|
4014
|
-
};
|
|
4015
|
-
export type CourtEnvironment = typeof CourtEnvironment[keyof typeof CourtEnvironment];
|
|
4016
3970
|
/**
|
|
4017
3971
|
*
|
|
4018
3972
|
* @export
|
package/dist/api.js
CHANGED
|
@@ -22,11 +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.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.EventBookingDetailSummaryUserParticipationStatusEnum = exports.DiscountType = exports.CreateEventRequestVisibilityTypeEnum = exports.CreateEventRequestParticipationTypeEnum = exports.CreateEventRequestRecurringTypeEnum = exports.CreateEventRequestTypeEnum = exports.CreateClubRoleRequestRoleEnum = exports.CreateActualityRequestDiffusionModeEnum = exports.CourtStatus = exports.
|
|
26
|
-
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.WaitListEntryWithPlayerTargetTypeEnum = exports.VisibilityType = exports.UserProfileResponseCreatedFromEnum = exports.UserLocationSummaryTypeEnum = exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = exports.UpdateRecurringDefinitionRequestParticipationTypeEnum = exports.UpdateRecurringDefinitionRequestTypeEnum = exports.UpdateRecurringDefinitionRequestVisibilityTypeEnum =
|
|
27
|
-
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 = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator =
|
|
28
|
-
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.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum =
|
|
29
|
-
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator =
|
|
25
|
+
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.EventBookingDetailSummaryUserParticipationStatusEnum = 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.BookingSummaryUserParticipationStatusEnum = exports.BookingStatus = exports.BookingInvoicePaymentStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
26
|
+
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.WaitListEntryWithPlayerTargetTypeEnum = exports.VisibilityType = exports.UserProfileResponseCreatedFromEnum = exports.UserLocationSummaryTypeEnum = exports.UpdateRecurringDefinitionRequestRecurringTypeEnum = exports.UpdateRecurringDefinitionRequestParticipationTypeEnum = exports.UpdateRecurringDefinitionRequestTypeEnum = exports.UpdateRecurringDefinitionRequestVisibilityTypeEnum = void 0;
|
|
27
|
+
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 = exports.ClubRolesManagerApiFactory = exports.ClubRolesManagerApiFp = exports.ClubRolesManagerApiAxiosParamCreator = void 0;
|
|
28
|
+
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.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.GetWeeklyEventsTypeEnum = exports.GetWeeklyEventsVisibilityTypeEnum = exports.GetMonthlyEventsTypeEnum = exports.GetMonthlyEventsVisibilityTypeEnum = exports.GetDailyEventsTypeEnum = exports.GetDailyEventsVisibilityTypeEnum = void 0;
|
|
29
|
+
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
31
31
|
// Some imports not used depending on template conditions
|
|
32
32
|
// @ts-ignore
|
|
@@ -90,15 +90,6 @@ exports.ClubRoleResponseRoleEnum = {
|
|
|
90
90
|
Manager: 'manager',
|
|
91
91
|
Staff: 'staff'
|
|
92
92
|
};
|
|
93
|
-
/**
|
|
94
|
-
*
|
|
95
|
-
* @export
|
|
96
|
-
* @enum {string}
|
|
97
|
-
*/
|
|
98
|
-
exports.CourtEnvironment = {
|
|
99
|
-
Indoor: 'indoor',
|
|
100
|
-
Outdoor: 'outdoor'
|
|
101
|
-
};
|
|
102
93
|
/**
|
|
103
94
|
*
|
|
104
95
|
* @export
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -3370,10 +3370,10 @@ export interface ClubPricingPeriodResponse {
|
|
|
3370
3370
|
'name': string;
|
|
3371
3371
|
/**
|
|
3372
3372
|
*
|
|
3373
|
-
* @type {Array<
|
|
3373
|
+
* @type {Array<WeekdayKey>}
|
|
3374
3374
|
* @memberof ClubPricingPeriodResponse
|
|
3375
3375
|
*/
|
|
3376
|
-
'
|
|
3376
|
+
'weekDays': Array<WeekdayKey>;
|
|
3377
3377
|
/**
|
|
3378
3378
|
*
|
|
3379
3379
|
* @type {number}
|
|
@@ -3391,7 +3391,7 @@ export interface ClubPricingPeriodResponse {
|
|
|
3391
3391
|
* @type {number}
|
|
3392
3392
|
* @memberof ClubPricingPeriodResponse
|
|
3393
3393
|
*/
|
|
3394
|
-
'
|
|
3394
|
+
'priceVariation': number;
|
|
3395
3395
|
}
|
|
3396
3396
|
/**
|
|
3397
3397
|
*
|
|
@@ -3472,12 +3472,6 @@ export interface ClubResponse {
|
|
|
3472
3472
|
* @memberof ClubResponse
|
|
3473
3473
|
*/
|
|
3474
3474
|
'picture'?: string;
|
|
3475
|
-
/**
|
|
3476
|
-
* URL du logo du club (alias de picture)
|
|
3477
|
-
* @type {string}
|
|
3478
|
-
* @memberof ClubResponse
|
|
3479
|
-
*/
|
|
3480
|
-
'logo'?: string;
|
|
3481
3475
|
/**
|
|
3482
3476
|
*
|
|
3483
3477
|
* @type {ClubResponseLocation}
|
|
@@ -3520,36 +3514,6 @@ export interface ClubResponse {
|
|
|
3520
3514
|
* @memberof ClubResponse
|
|
3521
3515
|
*/
|
|
3522
3516
|
'sports'?: Array<string>;
|
|
3523
|
-
/**
|
|
3524
|
-
* Nombre total de terrains du club
|
|
3525
|
-
* @type {number}
|
|
3526
|
-
* @memberof ClubResponse
|
|
3527
|
-
*/
|
|
3528
|
-
'courtsCount'?: number;
|
|
3529
|
-
/**
|
|
3530
|
-
* Construct a type with a set of properties K of type T
|
|
3531
|
-
* @type {{ [key: string]: number; }}
|
|
3532
|
-
* @memberof ClubResponse
|
|
3533
|
-
*/
|
|
3534
|
-
'courtsCountBySport'?: {
|
|
3535
|
-
[key: string]: number;
|
|
3536
|
-
};
|
|
3537
|
-
/**
|
|
3538
|
-
* Construct a type with a set of properties K of type T
|
|
3539
|
-
* @type {{ [key: string]: Array<SurfaceType>; }}
|
|
3540
|
-
* @memberof ClubResponse
|
|
3541
|
-
*/
|
|
3542
|
-
'surfacesBySport'?: {
|
|
3543
|
-
[key: string]: Array<SurfaceType>;
|
|
3544
|
-
};
|
|
3545
|
-
/**
|
|
3546
|
-
* Construct a type with a set of properties K of type T
|
|
3547
|
-
* @type {{ [key: string]: Array<CourtEnvironment>; }}
|
|
3548
|
-
* @memberof ClubResponse
|
|
3549
|
-
*/
|
|
3550
|
-
'indoorOutdoorBySport'?: {
|
|
3551
|
-
[key: string]: Array<CourtEnvironment>;
|
|
3552
|
-
};
|
|
3553
3517
|
/**
|
|
3554
3518
|
* Autoriser plusieurs réservations en même temps
|
|
3555
3519
|
* @type {boolean}
|
|
@@ -4003,16 +3967,6 @@ export interface CourtBookingShareItem {
|
|
|
4003
3967
|
*/
|
|
4004
3968
|
'totalBookings': number;
|
|
4005
3969
|
}
|
|
4006
|
-
/**
|
|
4007
|
-
*
|
|
4008
|
-
* @export
|
|
4009
|
-
* @enum {string}
|
|
4010
|
-
*/
|
|
4011
|
-
export declare const CourtEnvironment: {
|
|
4012
|
-
readonly Indoor: "indoor";
|
|
4013
|
-
readonly Outdoor: "outdoor";
|
|
4014
|
-
};
|
|
4015
|
-
export type CourtEnvironment = typeof CourtEnvironment[keyof typeof CourtEnvironment];
|
|
4016
3970
|
/**
|
|
4017
3971
|
*
|
|
4018
3972
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -83,15 +83,6 @@ export const ClubRoleResponseRoleEnum = {
|
|
|
83
83
|
Manager: 'manager',
|
|
84
84
|
Staff: 'staff'
|
|
85
85
|
};
|
|
86
|
-
/**
|
|
87
|
-
*
|
|
88
|
-
* @export
|
|
89
|
-
* @enum {string}
|
|
90
|
-
*/
|
|
91
|
-
export const CourtEnvironment = {
|
|
92
|
-
Indoor: 'indoor',
|
|
93
|
-
Outdoor: 'outdoor'
|
|
94
|
-
};
|
|
95
86
|
/**
|
|
96
87
|
*
|
|
97
88
|
* @export
|
|
@@ -7,10 +7,10 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**id** | **string** | | [default to undefined]
|
|
9
9
|
**name** | **string** | | [default to undefined]
|
|
10
|
-
**
|
|
10
|
+
**weekDays** | [**Array<WeekdayKey>**](WeekdayKey.md) | | [default to undefined]
|
|
11
11
|
**startTime** | **number** | | [default to undefined]
|
|
12
12
|
**endTime** | **number** | | [default to undefined]
|
|
13
|
-
**
|
|
13
|
+
**priceVariation** | **number** | | [default to undefined]
|
|
14
14
|
|
|
15
15
|
## Example
|
|
16
16
|
|
|
@@ -20,10 +20,10 @@ import { ClubPricingPeriodResponse } from '@tennac-booking/sdk';
|
|
|
20
20
|
const instance: ClubPricingPeriodResponse = {
|
|
21
21
|
id,
|
|
22
22
|
name,
|
|
23
|
-
|
|
23
|
+
weekDays,
|
|
24
24
|
startTime,
|
|
25
25
|
endTime,
|
|
26
|
-
|
|
26
|
+
priceVariation,
|
|
27
27
|
};
|
|
28
28
|
```
|
|
29
29
|
|
package/docs/ClubResponse.md
CHANGED
|
@@ -12,7 +12,6 @@ Name | Type | Description | Notes
|
|
|
12
12
|
**email** | **string** | Email du club | [optional] [default to undefined]
|
|
13
13
|
**phone** | **string** | Téléphone du club | [optional] [default to undefined]
|
|
14
14
|
**picture** | **string** | URL de l\'image du club | [optional] [default to undefined]
|
|
15
|
-
**logo** | **string** | URL du logo du club (alias de picture) | [optional] [default to undefined]
|
|
16
15
|
**location** | [**ClubResponseLocation**](ClubResponseLocation.md) | | [optional] [default to undefined]
|
|
17
16
|
**isActive** | **boolean** | Statut d\'activation du club | [default to undefined]
|
|
18
17
|
**paymentFeature** | **boolean** | Indique si le club utilise la fonctionnalité de paiement | [optional] [default to undefined]
|
|
@@ -20,10 +19,6 @@ Name | Type | Description | Notes
|
|
|
20
19
|
**clubDashBoardUrl** | **string** | URL du dashboard Stripe du club | [optional] [default to undefined]
|
|
21
20
|
**isNoShowEnabled** | **boolean** | Indique si la fonctionnalité \"no show\" est activée | [optional] [default to undefined]
|
|
22
21
|
**sports** | **Array<string>** | Liste des sports proposés par le club (identifiés par leur clé) | [optional] [default to undefined]
|
|
23
|
-
**courtsCount** | **number** | Nombre total de terrains du club | [optional] [default to undefined]
|
|
24
|
-
**courtsCountBySport** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
25
|
-
**surfacesBySport** | **{ [key: string]: Array<SurfaceType>; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
26
|
-
**indoorOutdoorBySport** | **{ [key: string]: Array<CourtEnvironment>; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
|
|
27
22
|
**allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
|
|
28
23
|
**maxSlotsPerBooking** | **number** | | [optional] [default to undefined]
|
|
29
24
|
**cancellationLimitHours** | **number** | Limite d\'annulation en heures | [optional] [default to undefined]
|
|
@@ -44,7 +39,6 @@ const instance: ClubResponse = {
|
|
|
44
39
|
email,
|
|
45
40
|
phone,
|
|
46
41
|
picture,
|
|
47
|
-
logo,
|
|
48
42
|
location,
|
|
49
43
|
isActive,
|
|
50
44
|
paymentFeature,
|
|
@@ -52,10 +46,6 @@ const instance: ClubResponse = {
|
|
|
52
46
|
clubDashBoardUrl,
|
|
53
47
|
isNoShowEnabled,
|
|
54
48
|
sports,
|
|
55
|
-
courtsCount,
|
|
56
|
-
courtsCountBySport,
|
|
57
|
-
surfacesBySport,
|
|
58
|
-
indoorOutdoorBySport,
|
|
59
49
|
allowMultipleBookingsAtTheSameTime,
|
|
60
50
|
maxSlotsPerBooking,
|
|
61
51
|
cancellationLimitHours,
|
package/package.json
CHANGED
package/docs/CourtEnvironment.md
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# CourtEnvironment
|
|
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)
|