@tennac-booking/sdk 1.0.196 → 1.0.197
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/api.ts +32 -0
- package/dist/api.d.ts +29 -0
- package/dist/api.js +9 -5
- package/dist/esm/api.d.ts +29 -0
- package/dist/esm/api.js +4 -0
- package/docs/ClubResponse.md +8 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -3521,6 +3521,12 @@ 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;
|
|
3524
3530
|
/**
|
|
3525
3531
|
*
|
|
3526
3532
|
* @type {ClubResponseLocation}
|
|
@@ -3563,6 +3569,24 @@ export interface ClubResponse {
|
|
|
3563
3569
|
* @memberof ClubResponse
|
|
3564
3570
|
*/
|
|
3565
3571
|
'sports'?: Array<string>;
|
|
3572
|
+
/**
|
|
3573
|
+
* Nombre total de terrains du club
|
|
3574
|
+
* @type {number}
|
|
3575
|
+
* @memberof ClubResponse
|
|
3576
|
+
*/
|
|
3577
|
+
'courtsCount'?: number;
|
|
3578
|
+
/**
|
|
3579
|
+
* Types de surfaces disponibles sur les terrains du club
|
|
3580
|
+
* @type {Array<SurfaceType>}
|
|
3581
|
+
* @memberof ClubResponse
|
|
3582
|
+
*/
|
|
3583
|
+
'surfaces'?: Array<SurfaceType>;
|
|
3584
|
+
/**
|
|
3585
|
+
* Types d\'environnements des terrains (indoor/outdoor)
|
|
3586
|
+
* @type {Array<string>}
|
|
3587
|
+
* @memberof ClubResponse
|
|
3588
|
+
*/
|
|
3589
|
+
'indoorOutdoor'?: Array<ClubResponseIndoorOutdoorEnum>;
|
|
3566
3590
|
/**
|
|
3567
3591
|
* Autoriser plusieurs réservations en même temps
|
|
3568
3592
|
* @type {boolean}
|
|
@@ -3600,6 +3624,14 @@ export interface ClubResponse {
|
|
|
3600
3624
|
*/
|
|
3601
3625
|
'updatedAt'?: ClubResponseUpdatedAt;
|
|
3602
3626
|
}
|
|
3627
|
+
|
|
3628
|
+
export const ClubResponseIndoorOutdoorEnum = {
|
|
3629
|
+
Indoor: 'indoor',
|
|
3630
|
+
Outdoor: 'outdoor'
|
|
3631
|
+
} as const;
|
|
3632
|
+
|
|
3633
|
+
export type ClubResponseIndoorOutdoorEnum = typeof ClubResponseIndoorOutdoorEnum[keyof typeof ClubResponseIndoorOutdoorEnum];
|
|
3634
|
+
|
|
3603
3635
|
/**
|
|
3604
3636
|
* Date de création
|
|
3605
3637
|
* @export
|
package/dist/api.d.ts
CHANGED
|
@@ -3472,6 +3472,12 @@ 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;
|
|
3475
3481
|
/**
|
|
3476
3482
|
*
|
|
3477
3483
|
* @type {ClubResponseLocation}
|
|
@@ -3514,6 +3520,24 @@ export interface ClubResponse {
|
|
|
3514
3520
|
* @memberof ClubResponse
|
|
3515
3521
|
*/
|
|
3516
3522
|
'sports'?: Array<string>;
|
|
3523
|
+
/**
|
|
3524
|
+
* Nombre total de terrains du club
|
|
3525
|
+
* @type {number}
|
|
3526
|
+
* @memberof ClubResponse
|
|
3527
|
+
*/
|
|
3528
|
+
'courtsCount'?: number;
|
|
3529
|
+
/**
|
|
3530
|
+
* Types de surfaces disponibles sur les terrains du club
|
|
3531
|
+
* @type {Array<SurfaceType>}
|
|
3532
|
+
* @memberof ClubResponse
|
|
3533
|
+
*/
|
|
3534
|
+
'surfaces'?: Array<SurfaceType>;
|
|
3535
|
+
/**
|
|
3536
|
+
* Types d\'environnements des terrains (indoor/outdoor)
|
|
3537
|
+
* @type {Array<string>}
|
|
3538
|
+
* @memberof ClubResponse
|
|
3539
|
+
*/
|
|
3540
|
+
'indoorOutdoor'?: Array<ClubResponseIndoorOutdoorEnum>;
|
|
3517
3541
|
/**
|
|
3518
3542
|
* Autoriser plusieurs réservations en même temps
|
|
3519
3543
|
* @type {boolean}
|
|
@@ -3551,6 +3575,11 @@ export interface ClubResponse {
|
|
|
3551
3575
|
*/
|
|
3552
3576
|
'updatedAt'?: ClubResponseUpdatedAt;
|
|
3553
3577
|
}
|
|
3578
|
+
export declare const ClubResponseIndoorOutdoorEnum: {
|
|
3579
|
+
readonly Indoor: "indoor";
|
|
3580
|
+
readonly Outdoor: "outdoor";
|
|
3581
|
+
};
|
|
3582
|
+
export type ClubResponseIndoorOutdoorEnum = typeof ClubResponseIndoorOutdoorEnum[keyof typeof ClubResponseIndoorOutdoorEnum];
|
|
3554
3583
|
/**
|
|
3555
3584
|
* Date de création
|
|
3556
3585
|
* @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.
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.
|
|
29
|
-
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = void 0;
|
|
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.ClubRoleResponseRoleEnum = exports.ClubResponseIndoorOutdoorEnum = exports.ClientOnboardingRequestBodyClubTypeEnum = exports.CaptureResultStatusEnum = exports.CaptureResultTypeEnum = exports.BookingSummaryUserParticipationStatusEnum = exports.BookingStatus = exports.BookingInvoicePaymentStatus = exports.BookingHistoryPopulatedPerformedByTypeEnum = void 0;
|
|
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 = exports.UpdateEventRequestVisibilityTypeEnum = void 0;
|
|
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 = exports.ClubCustomerStaffApi = void 0;
|
|
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 = exports.EventsStaffApi = void 0;
|
|
29
|
+
exports.WaitListStaffApi = exports.WaitListStaffApiFactory = exports.WaitListStaffApiFp = exports.WaitListStaffApiAxiosParamCreator = exports.WaitListApi = exports.WaitListApiFactory = exports.WaitListApiFp = exports.WaitListApiAxiosParamCreator = exports.UsersApi = void 0;
|
|
30
30
|
const axios_1 = require("axios");
|
|
31
31
|
// Some imports not used depending on template conditions
|
|
32
32
|
// @ts-ignore
|
|
@@ -85,6 +85,10 @@ exports.ClientOnboardingRequestBodyClubTypeEnum = {
|
|
|
85
85
|
Public: 'public',
|
|
86
86
|
School: 'school'
|
|
87
87
|
};
|
|
88
|
+
exports.ClubResponseIndoorOutdoorEnum = {
|
|
89
|
+
Indoor: 'indoor',
|
|
90
|
+
Outdoor: 'outdoor'
|
|
91
|
+
};
|
|
88
92
|
exports.ClubRoleResponseRoleEnum = {
|
|
89
93
|
Admin: 'admin',
|
|
90
94
|
Manager: 'manager',
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -3472,6 +3472,12 @@ 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;
|
|
3475
3481
|
/**
|
|
3476
3482
|
*
|
|
3477
3483
|
* @type {ClubResponseLocation}
|
|
@@ -3514,6 +3520,24 @@ export interface ClubResponse {
|
|
|
3514
3520
|
* @memberof ClubResponse
|
|
3515
3521
|
*/
|
|
3516
3522
|
'sports'?: Array<string>;
|
|
3523
|
+
/**
|
|
3524
|
+
* Nombre total de terrains du club
|
|
3525
|
+
* @type {number}
|
|
3526
|
+
* @memberof ClubResponse
|
|
3527
|
+
*/
|
|
3528
|
+
'courtsCount'?: number;
|
|
3529
|
+
/**
|
|
3530
|
+
* Types de surfaces disponibles sur les terrains du club
|
|
3531
|
+
* @type {Array<SurfaceType>}
|
|
3532
|
+
* @memberof ClubResponse
|
|
3533
|
+
*/
|
|
3534
|
+
'surfaces'?: Array<SurfaceType>;
|
|
3535
|
+
/**
|
|
3536
|
+
* Types d\'environnements des terrains (indoor/outdoor)
|
|
3537
|
+
* @type {Array<string>}
|
|
3538
|
+
* @memberof ClubResponse
|
|
3539
|
+
*/
|
|
3540
|
+
'indoorOutdoor'?: Array<ClubResponseIndoorOutdoorEnum>;
|
|
3517
3541
|
/**
|
|
3518
3542
|
* Autoriser plusieurs réservations en même temps
|
|
3519
3543
|
* @type {boolean}
|
|
@@ -3551,6 +3575,11 @@ export interface ClubResponse {
|
|
|
3551
3575
|
*/
|
|
3552
3576
|
'updatedAt'?: ClubResponseUpdatedAt;
|
|
3553
3577
|
}
|
|
3578
|
+
export declare const ClubResponseIndoorOutdoorEnum: {
|
|
3579
|
+
readonly Indoor: "indoor";
|
|
3580
|
+
readonly Outdoor: "outdoor";
|
|
3581
|
+
};
|
|
3582
|
+
export type ClubResponseIndoorOutdoorEnum = typeof ClubResponseIndoorOutdoorEnum[keyof typeof ClubResponseIndoorOutdoorEnum];
|
|
3554
3583
|
/**
|
|
3555
3584
|
* Date de création
|
|
3556
3585
|
* @export
|
package/dist/esm/api.js
CHANGED
|
@@ -78,6 +78,10 @@ export const ClientOnboardingRequestBodyClubTypeEnum = {
|
|
|
78
78
|
Public: 'public',
|
|
79
79
|
School: 'school'
|
|
80
80
|
};
|
|
81
|
+
export const ClubResponseIndoorOutdoorEnum = {
|
|
82
|
+
Indoor: 'indoor',
|
|
83
|
+
Outdoor: 'outdoor'
|
|
84
|
+
};
|
|
81
85
|
export const ClubRoleResponseRoleEnum = {
|
|
82
86
|
Admin: 'admin',
|
|
83
87
|
Manager: 'manager',
|
package/docs/ClubResponse.md
CHANGED
|
@@ -12,6 +12,7 @@ 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]
|
|
15
16
|
**location** | [**ClubResponseLocation**](ClubResponseLocation.md) | | [optional] [default to undefined]
|
|
16
17
|
**isActive** | **boolean** | Statut d\'activation du club | [default to undefined]
|
|
17
18
|
**paymentFeature** | **boolean** | Indique si le club utilise la fonctionnalité de paiement | [optional] [default to undefined]
|
|
@@ -19,6 +20,9 @@ Name | Type | Description | Notes
|
|
|
19
20
|
**clubDashBoardUrl** | **string** | URL du dashboard Stripe du club | [optional] [default to undefined]
|
|
20
21
|
**isNoShowEnabled** | **boolean** | Indique si la fonctionnalité \"no show\" est activée | [optional] [default to undefined]
|
|
21
22
|
**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
|
+
**surfaces** | [**Array<SurfaceType>**](SurfaceType.md) | Types de surfaces disponibles sur les terrains du club | [optional] [default to undefined]
|
|
25
|
+
**indoorOutdoor** | **Array<string>** | Types d\'environnements des terrains (indoor/outdoor) | [optional] [default to undefined]
|
|
22
26
|
**allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
|
|
23
27
|
**maxSlotsPerBooking** | **number** | | [optional] [default to undefined]
|
|
24
28
|
**cancellationLimitHours** | **number** | Limite d\'annulation en heures | [optional] [default to undefined]
|
|
@@ -39,6 +43,7 @@ const instance: ClubResponse = {
|
|
|
39
43
|
email,
|
|
40
44
|
phone,
|
|
41
45
|
picture,
|
|
46
|
+
logo,
|
|
42
47
|
location,
|
|
43
48
|
isActive,
|
|
44
49
|
paymentFeature,
|
|
@@ -46,6 +51,9 @@ const instance: ClubResponse = {
|
|
|
46
51
|
clubDashBoardUrl,
|
|
47
52
|
isNoShowEnabled,
|
|
48
53
|
sports,
|
|
54
|
+
courtsCount,
|
|
55
|
+
surfaces,
|
|
56
|
+
indoorOutdoor,
|
|
49
57
|
allowMultipleBookingsAtTheSameTime,
|
|
50
58
|
maxSlotsPerBooking,
|
|
51
59
|
cancellationLimitHours,
|