@tennac-booking/sdk 1.0.200 → 1.0.202

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.
@@ -125,6 +125,7 @@ docs/ContactApi.md
125
125
  docs/ContactRequestBody.md
126
126
  docs/ContactSuccessResponse.md
127
127
  docs/CourtBookingShareItem.md
128
+ docs/CourtEnvironment.md
128
129
  docs/CourtInfo.md
129
130
  docs/CourtResponse.md
130
131
  docs/CourtStatus.md
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.195
1
+ ## @tennac-booking/sdk@1.0.201
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @tennac-booking/sdk@1.0.195 --save
39
+ npm install @tennac-booking/sdk@1.0.201 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -399,6 +399,7 @@ 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)
402
403
  - [CourtInfo](docs/CourtInfo.md)
403
404
  - [CourtResponse](docs/CourtResponse.md)
404
405
  - [CourtStatus](docs/CourtStatus.md)
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.195
7
+ * The version of the OpenAPI document: 1.0.201
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3410,7 +3410,7 @@ export interface ClubPricingPeriodResponse {
3410
3410
  * @type {string}
3411
3411
  * @memberof ClubPricingPeriodResponse
3412
3412
  */
3413
- 'id': string;
3413
+ '_id': string;
3414
3414
  /**
3415
3415
  *
3416
3416
  * @type {string}
@@ -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,30 @@ 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
+ * 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>; };
3566
3596
  /**
3567
3597
  * Autoriser plusieurs réservations en même temps
3568
3598
  * @type {boolean}
@@ -4021,6 +4051,20 @@ export interface CourtBookingShareItem {
4021
4051
  */
4022
4052
  'totalBookings': number;
4023
4053
  }
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
+
4024
4068
  /**
4025
4069
  *
4026
4070
  * @export
@@ -5577,6 +5621,12 @@ export interface EventBookingResponse {
5577
5621
  * @memberof EventBookingResponse
5578
5622
  */
5579
5623
  'setupStatus'?: EventBookingResponseSetupStatus | null;
5624
+ /**
5625
+ *
5626
+ * @type {number}
5627
+ * @memberof EventBookingResponse
5628
+ */
5629
+ 'amount'?: number;
5580
5630
  /**
5581
5631
  *
5582
5632
  * @type {string}
@@ -11429,6 +11479,12 @@ export interface StaffEventBookingResponse {
11429
11479
  * @memberof StaffEventBookingResponse
11430
11480
  */
11431
11481
  'limitCancellationDate'?: string | null;
11482
+ /**
11483
+ *
11484
+ * @type {number}
11485
+ * @memberof StaffEventBookingResponse
11486
+ */
11487
+ 'amount'?: number;
11432
11488
  /**
11433
11489
  *
11434
11490
  * @type {string}
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.195
7
+ * The version of the OpenAPI document: 1.0.201
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.195
7
+ * The version of the OpenAPI document: 1.0.201
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.195
7
+ * The version of the OpenAPI document: 1.0.201
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.195
5
+ * The version of the OpenAPI document: 1.0.201
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3361,7 +3361,7 @@ export interface ClubPricingPeriodResponse {
3361
3361
  * @type {string}
3362
3362
  * @memberof ClubPricingPeriodResponse
3363
3363
  */
3364
- 'id': string;
3364
+ '_id': string;
3365
3365
  /**
3366
3366
  *
3367
3367
  * @type {string}
@@ -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,36 @@ 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
+ * 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
+ };
3517
3553
  /**
3518
3554
  * Autoriser plusieurs réservations en même temps
3519
3555
  * @type {boolean}
@@ -3967,6 +4003,16 @@ export interface CourtBookingShareItem {
3967
4003
  */
3968
4004
  'totalBookings': number;
3969
4005
  }
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];
3970
4016
  /**
3971
4017
  *
3972
4018
  * @export
@@ -5482,6 +5528,12 @@ export interface EventBookingResponse {
5482
5528
  * @memberof EventBookingResponse
5483
5529
  */
5484
5530
  'setupStatus'?: EventBookingResponseSetupStatus | null;
5531
+ /**
5532
+ *
5533
+ * @type {number}
5534
+ * @memberof EventBookingResponse
5535
+ */
5536
+ 'amount'?: number;
5485
5537
  /**
5486
5538
  *
5487
5539
  * @type {string}
@@ -11229,6 +11281,12 @@ export interface StaffEventBookingResponse {
11229
11281
  * @memberof StaffEventBookingResponse
11230
11282
  */
11231
11283
  'limitCancellationDate'?: string | null;
11284
+ /**
11285
+ *
11286
+ * @type {number}
11287
+ * @memberof StaffEventBookingResponse
11288
+ */
11289
+ 'amount'?: number;
11232
11290
  /**
11233
11291
  *
11234
11292
  * @type {string}
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.195
8
+ * The version of the OpenAPI document: 1.0.201
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -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.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;
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.CourtEnvironment = exports.ClubRoleResponseRoleEnum = 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
@@ -90,6 +90,15 @@ 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
+ };
93
102
  /**
94
103
  *
95
104
  * @export
package/dist/base.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.195
5
+ * The version of the OpenAPI document: 1.0.201
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.195
8
+ * The version of the OpenAPI document: 1.0.201
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.195
5
+ * The version of the OpenAPI document: 1.0.201
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.195
8
+ * The version of the OpenAPI document: 1.0.201
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.195
5
+ * The version of the OpenAPI document: 1.0.201
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.195
8
+ * The version of the OpenAPI document: 1.0.201
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.195
5
+ * The version of the OpenAPI document: 1.0.201
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -3361,7 +3361,7 @@ export interface ClubPricingPeriodResponse {
3361
3361
  * @type {string}
3362
3362
  * @memberof ClubPricingPeriodResponse
3363
3363
  */
3364
- 'id': string;
3364
+ '_id': string;
3365
3365
  /**
3366
3366
  *
3367
3367
  * @type {string}
@@ -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,36 @@ 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
+ * 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
+ };
3517
3553
  /**
3518
3554
  * Autoriser plusieurs réservations en même temps
3519
3555
  * @type {boolean}
@@ -3967,6 +4003,16 @@ export interface CourtBookingShareItem {
3967
4003
  */
3968
4004
  'totalBookings': number;
3969
4005
  }
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];
3970
4016
  /**
3971
4017
  *
3972
4018
  * @export
@@ -5482,6 +5528,12 @@ export interface EventBookingResponse {
5482
5528
  * @memberof EventBookingResponse
5483
5529
  */
5484
5530
  'setupStatus'?: EventBookingResponseSetupStatus | null;
5531
+ /**
5532
+ *
5533
+ * @type {number}
5534
+ * @memberof EventBookingResponse
5535
+ */
5536
+ 'amount'?: number;
5485
5537
  /**
5486
5538
  *
5487
5539
  * @type {string}
@@ -11229,6 +11281,12 @@ export interface StaffEventBookingResponse {
11229
11281
  * @memberof StaffEventBookingResponse
11230
11282
  */
11231
11283
  'limitCancellationDate'?: string | null;
11284
+ /**
11285
+ *
11286
+ * @type {number}
11287
+ * @memberof StaffEventBookingResponse
11288
+ */
11289
+ 'amount'?: number;
11232
11290
  /**
11233
11291
  *
11234
11292
  * @type {string}
package/dist/esm/api.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.195
7
+ * The version of the OpenAPI document: 1.0.201
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -83,6 +83,15 @@ 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
+ };
86
95
  /**
87
96
  *
88
97
  * @export
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.195
5
+ * The version of the OpenAPI document: 1.0.201
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
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.195
7
+ * The version of the OpenAPI document: 1.0.201
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.195
5
+ * The version of the OpenAPI document: 1.0.201
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.195
7
+ * The version of the OpenAPI document: 1.0.201
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.195
5
+ * The version of the OpenAPI document: 1.0.201
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.195
7
+ * The version of the OpenAPI document: 1.0.201
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.195
5
+ * The version of the OpenAPI document: 1.0.201
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
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.195
7
+ * The version of the OpenAPI document: 1.0.201
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
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.195
5
+ * The version of the OpenAPI document: 1.0.201
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.195
8
+ * The version of the OpenAPI document: 1.0.201
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **id** | **string** | | [default to undefined]
8
+ **_id** | **string** | | [default to undefined]
9
9
  **name** | **string** | | [default to undefined]
10
10
  **weekDays** | [**Array&lt;WeekdayKey&gt;**](WeekdayKey.md) | | [default to undefined]
11
11
  **startTime** | **number** | | [default to undefined]
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
18
18
  import { ClubPricingPeriodResponse } from '@tennac-booking/sdk';
19
19
 
20
20
  const instance: ClubPricingPeriodResponse = {
21
- id,
21
+ _id,
22
22
  name,
23
23
  weekDays,
24
24
  startTime,
@@ -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\&#39;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\&#39;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,10 @@ 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é \&quot;no show\&quot; est activée | [optional] [default to undefined]
21
22
  **sports** | **Array&lt;string&gt;** | 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&lt;SurfaceType&gt;; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
26
+ **indoorOutdoorBySport** | **{ [key: string]: Array&lt;CourtEnvironment&gt;; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
22
27
  **allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
23
28
  **maxSlotsPerBooking** | **number** | | [optional] [default to undefined]
24
29
  **cancellationLimitHours** | **number** | Limite d\&#39;annulation en heures | [optional] [default to undefined]
@@ -39,6 +44,7 @@ const instance: ClubResponse = {
39
44
  email,
40
45
  phone,
41
46
  picture,
47
+ logo,
42
48
  location,
43
49
  isActive,
44
50
  paymentFeature,
@@ -46,6 +52,10 @@ const instance: ClubResponse = {
46
52
  clubDashBoardUrl,
47
53
  isNoShowEnabled,
48
54
  sports,
55
+ courtsCount,
56
+ courtsCountBySport,
57
+ surfacesBySport,
58
+ indoorOutdoorBySport,
49
59
  allowMultipleBookingsAtTheSameTime,
50
60
  maxSlotsPerBooking,
51
61
  cancellationLimitHours,
@@ -0,0 +1,10 @@
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)
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
13
13
  **setupLimitDate** | **string** | | [optional] [default to undefined]
14
14
  **cancellationLimitDate** | **string** | | [optional] [default to undefined]
15
15
  **setupStatus** | [**EventBookingResponseSetupStatus**](EventBookingResponseSetupStatus.md) | | [optional] [default to undefined]
16
+ **amount** | **number** | | [optional] [default to undefined]
16
17
  **createdAt** | **string** | | [default to undefined]
17
18
  **updatedAt** | **string** | | [default to undefined]
18
19
 
@@ -30,6 +31,7 @@ const instance: EventBookingResponse = {
30
31
  setupLimitDate,
31
32
  cancellationLimitDate,
32
33
  setupStatus,
34
+ amount,
33
35
  createdAt,
34
36
  updatedAt,
35
37
  };
@@ -14,6 +14,7 @@ Name | Type | Description | Notes
14
14
  **invoices** | [**Array&lt;StaffEventBookingInvoiceResponse&gt;**](StaffEventBookingInvoiceResponse.md) | | [default to undefined]
15
15
  **limitSetupDate** | **string** | | [optional] [default to undefined]
16
16
  **limitCancellationDate** | **string** | | [optional] [default to undefined]
17
+ **amount** | **number** | | [optional] [default to undefined]
17
18
  **createdAt** | **string** | | [default to undefined]
18
19
  **updatedAt** | **string** | | [default to undefined]
19
20
 
@@ -32,6 +33,7 @@ const instance: StaffEventBookingResponse = {
32
33
  invoices,
33
34
  limitSetupDate,
34
35
  limitCancellationDate,
36
+ amount,
35
37
  createdAt,
36
38
  updatedAt,
37
39
  };
package/index.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.195
7
+ * The version of the OpenAPI document: 1.0.201
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.200",
3
+ "version": "1.0.202",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {