@tennac-booking/sdk 1.0.306 → 1.0.308

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.
@@ -204,7 +204,9 @@ docs/EventBookingDetailEventSummary.md
204
204
  docs/EventBookingDetailResponse.md
205
205
  docs/EventBookingDetailResponseBooking.md
206
206
  docs/EventBookingDetailSummary.md
207
+ docs/EventBookingDetailSummaryBookingStatus.md
207
208
  docs/EventBookingDetailSummaryPartnersInner.md
209
+ docs/EventBookingDetailSummaryPaymentByPlayersStatusInner.md
208
210
  docs/EventBookingDetailSummaryPaymentPerPlayersInner.md
209
211
  docs/EventBookingGuestCheckinResponse.md
210
212
  docs/EventBookingResponse.md
@@ -309,6 +311,7 @@ docs/ManagerConsoleInvoiceResponsePaysForInner.md
309
311
  docs/ManagerConsoleInvoiceResponseStripe.md
310
312
  docs/ManagerConsoleInvoiceResponseSumup.md
311
313
  docs/ManagerConsoleInvoiceUserSummary.md
314
+ docs/ManagerConsoleOpenGuestContributionResponse.md
312
315
  docs/MarkNotificationsReadRequest.md
313
316
  docs/MarkNotificationsReadResponse.md
314
317
  docs/MigrateSubscription200Response.md
@@ -346,6 +349,9 @@ docs/OpenBookingPlayerInfo.md
346
349
  docs/OpenBookingPriceBody.md
347
350
  docs/OpenBookingSportInfo.md
348
351
  docs/OpenBookingsResponse.md
352
+ docs/OpenGuestContributionPaymentChannel.md
353
+ docs/OpenGuestContributionSource.md
354
+ docs/OpenGuestContributionStatus.md
349
355
  docs/PaginationInfo.md
350
356
  docs/PartialClubActiveResponse.md
351
357
  docs/PartialClubActiveResponseLocation.md
package/README.md CHANGED
@@ -528,7 +528,9 @@ Class | Method | HTTP request | Description
528
528
  - [EventBookingDetailResponse](docs/EventBookingDetailResponse.md)
529
529
  - [EventBookingDetailResponseBooking](docs/EventBookingDetailResponseBooking.md)
530
530
  - [EventBookingDetailSummary](docs/EventBookingDetailSummary.md)
531
+ - [EventBookingDetailSummaryBookingStatus](docs/EventBookingDetailSummaryBookingStatus.md)
531
532
  - [EventBookingDetailSummaryPartnersInner](docs/EventBookingDetailSummaryPartnersInner.md)
533
+ - [EventBookingDetailSummaryPaymentByPlayersStatusInner](docs/EventBookingDetailSummaryPaymentByPlayersStatusInner.md)
532
534
  - [EventBookingDetailSummaryPaymentPerPlayersInner](docs/EventBookingDetailSummaryPaymentPerPlayersInner.md)
533
535
  - [EventBookingGuestCheckinResponse](docs/EventBookingGuestCheckinResponse.md)
534
536
  - [EventBookingResponse](docs/EventBookingResponse.md)
@@ -627,6 +629,7 @@ Class | Method | HTTP request | Description
627
629
  - [ManagerConsoleInvoiceResponseStripe](docs/ManagerConsoleInvoiceResponseStripe.md)
628
630
  - [ManagerConsoleInvoiceResponseSumup](docs/ManagerConsoleInvoiceResponseSumup.md)
629
631
  - [ManagerConsoleInvoiceUserSummary](docs/ManagerConsoleInvoiceUserSummary.md)
632
+ - [ManagerConsoleOpenGuestContributionResponse](docs/ManagerConsoleOpenGuestContributionResponse.md)
630
633
  - [MarkNotificationsReadRequest](docs/MarkNotificationsReadRequest.md)
631
634
  - [MarkNotificationsReadResponse](docs/MarkNotificationsReadResponse.md)
632
635
  - [MigrateSubscription200Response](docs/MigrateSubscription200Response.md)
@@ -664,6 +667,9 @@ Class | Method | HTTP request | Description
664
667
  - [OpenBookingPriceBody](docs/OpenBookingPriceBody.md)
665
668
  - [OpenBookingSportInfo](docs/OpenBookingSportInfo.md)
666
669
  - [OpenBookingsResponse](docs/OpenBookingsResponse.md)
670
+ - [OpenGuestContributionPaymentChannel](docs/OpenGuestContributionPaymentChannel.md)
671
+ - [OpenGuestContributionSource](docs/OpenGuestContributionSource.md)
672
+ - [OpenGuestContributionStatus](docs/OpenGuestContributionStatus.md)
667
673
  - [PaginationInfo](docs/PaginationInfo.md)
668
674
  - [PartialClubActiveResponse](docs/PartialClubActiveResponse.md)
669
675
  - [PartialClubActiveResponseLocation](docs/PartialClubActiveResponseLocation.md)
package/api.ts CHANGED
@@ -799,6 +799,12 @@ export interface BookingManagerConsoleResponse {
799
799
  * @memberof BookingManagerConsoleResponse
800
800
  */
801
801
  'invoices': Array<ManagerConsoleInvoiceResponse>;
802
+ /**
803
+ * Contributions d\'invités sur les réservations ouvertes
804
+ * @type {Array<ManagerConsoleOpenGuestContributionResponse>}
805
+ * @memberof BookingManagerConsoleResponse
806
+ */
807
+ 'openGuestContributions': Array<ManagerConsoleOpenGuestContributionResponse>;
802
808
  }
803
809
  /**
804
810
  *
@@ -6345,6 +6351,12 @@ export interface CreateSubscriptionPlanRequest {
6345
6351
  * @memberof CreateSubscriptionPlanRequest
6346
6352
  */
6347
6353
  'interval': PlanInterval;
6354
+ /**
6355
+ *
6356
+ * @type {number}
6357
+ * @memberof CreateSubscriptionPlanRequest
6358
+ */
6359
+ 'commitmentDurationMonths'?: number;
6348
6360
  /**
6349
6361
  *
6350
6362
  * @type {CreateSubscriptionPlanRequestDiscount}
@@ -7262,6 +7274,18 @@ export interface EventBookingDetailSummary {
7262
7274
  * @memberof EventBookingDetailSummary
7263
7275
  */
7264
7276
  'status': EventBookingStatus;
7277
+ /**
7278
+ *
7279
+ * @type {EventBookingDetailSummaryBookingStatus}
7280
+ * @memberof EventBookingDetailSummary
7281
+ */
7282
+ 'bookingStatus'?: EventBookingDetailSummaryBookingStatus | null;
7283
+ /**
7284
+ *
7285
+ * @type {string}
7286
+ * @memberof EventBookingDetailSummary
7287
+ */
7288
+ 'userId'?: string;
7265
7289
  /**
7266
7290
  *
7267
7291
  * @type {string}
@@ -7274,6 +7298,12 @@ export interface EventBookingDetailSummary {
7274
7298
  * @memberof EventBookingDetailSummary
7275
7299
  */
7276
7300
  'players': Array<string>;
7301
+ /**
7302
+ *
7303
+ * @type {Array<string>}
7304
+ * @memberof EventBookingDetailSummary
7305
+ */
7306
+ 'playersIds'?: Array<string>;
7277
7307
  /**
7278
7308
  *
7279
7309
  * @type {Array<EventBookingDetailSummaryPartnersInner>}
@@ -7286,6 +7316,36 @@ export interface EventBookingDetailSummary {
7286
7316
  * @memberof EventBookingDetailSummary
7287
7317
  */
7288
7318
  'paymentPerPlayers': Array<EventBookingDetailSummaryPaymentPerPlayersInner>;
7319
+ /**
7320
+ *
7321
+ * @type {Array<EventBookingDetailSummaryPaymentByPlayersStatusInner>}
7322
+ * @memberof EventBookingDetailSummary
7323
+ */
7324
+ 'paymentByPlayersStatus'?: Array<EventBookingDetailSummaryPaymentByPlayersStatusInner>;
7325
+ /**
7326
+ *
7327
+ * @type {boolean}
7328
+ * @memberof EventBookingDetailSummary
7329
+ */
7330
+ 'isCreatorPayingAll'?: boolean;
7331
+ /**
7332
+ *
7333
+ * @type {number}
7334
+ * @memberof EventBookingDetailSummary
7335
+ */
7336
+ 'myAmountToPay'?: number | null;
7337
+ /**
7338
+ *
7339
+ * @type {InvoiceStatus}
7340
+ * @memberof EventBookingDetailSummary
7341
+ */
7342
+ 'myPaymentStatus'?: InvoiceStatus | null;
7343
+ /**
7344
+ *
7345
+ * @type {string}
7346
+ * @memberof EventBookingDetailSummary
7347
+ */
7348
+ 'paymentUrl'?: string | null;
7289
7349
  /**
7290
7350
  *
7291
7351
  * @type {string}
@@ -7322,6 +7382,42 @@ export interface EventBookingDetailSummary {
7322
7382
  * @memberof EventBookingDetailSummary
7323
7383
  */
7324
7384
  'userParticipationStatus'?: EventBookingDetailSummaryUserParticipationStatusEnum;
7385
+ /**
7386
+ *
7387
+ * @type {number}
7388
+ * @memberof EventBookingDetailSummary
7389
+ */
7390
+ 'participantsCount'?: number | null;
7391
+ /**
7392
+ *
7393
+ * @type {number}
7394
+ * @memberof EventBookingDetailSummary
7395
+ */
7396
+ 'playersCount'?: number | null;
7397
+ /**
7398
+ *
7399
+ * @type {number}
7400
+ * @memberof EventBookingDetailSummary
7401
+ */
7402
+ 'reservedPlayerCount'?: number | null;
7403
+ /**
7404
+ *
7405
+ * @type {number}
7406
+ * @memberof EventBookingDetailSummary
7407
+ */
7408
+ 'guestPlayersCount'?: number | null;
7409
+ /**
7410
+ *
7411
+ * @type {number}
7412
+ * @memberof EventBookingDetailSummary
7413
+ */
7414
+ 'guestPaymentsCount'?: number | null;
7415
+ /**
7416
+ *
7417
+ * @type {PaymentDistributionResult}
7418
+ * @memberof EventBookingDetailSummary
7419
+ */
7420
+ 'paymentDistribution'?: PaymentDistributionResult;
7325
7421
  /**
7326
7422
  *
7327
7423
  * @type {string}
@@ -7344,6 +7440,13 @@ export const EventBookingDetailSummaryUserParticipationStatusEnum = {
7344
7440
 
7345
7441
  export type EventBookingDetailSummaryUserParticipationStatusEnum = typeof EventBookingDetailSummaryUserParticipationStatusEnum[keyof typeof EventBookingDetailSummaryUserParticipationStatusEnum];
7346
7442
 
7443
+ /**
7444
+ *
7445
+ * @export
7446
+ * @interface EventBookingDetailSummaryBookingStatus
7447
+ */
7448
+ export interface EventBookingDetailSummaryBookingStatus {
7449
+ }
7347
7450
  /**
7348
7451
  *
7349
7452
  * @export
@@ -7375,24 +7478,129 @@ export interface EventBookingDetailSummaryPartnersInner {
7375
7478
  */
7376
7479
  'id': string;
7377
7480
  }
7481
+ /**
7482
+ *
7483
+ * @export
7484
+ * @interface EventBookingDetailSummaryPaymentByPlayersStatusInner
7485
+ */
7486
+ export interface EventBookingDetailSummaryPaymentByPlayersStatusInner {
7487
+ /**
7488
+ *
7489
+ * @type {string}
7490
+ * @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
7491
+ */
7492
+ 'paymentUrl'?: string | null;
7493
+ /**
7494
+ *
7495
+ * @type {string}
7496
+ * @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
7497
+ */
7498
+ 'response'?: string | null;
7499
+ /**
7500
+ *
7501
+ * @type {boolean}
7502
+ * @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
7503
+ */
7504
+ 'accepted'?: boolean;
7505
+ /**
7506
+ *
7507
+ * @type {number}
7508
+ * @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
7509
+ */
7510
+ 'amountToPay'?: number | null;
7511
+ /**
7512
+ *
7513
+ * @type {PaymentMethod}
7514
+ * @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
7515
+ */
7516
+ 'paymentMethod'?: PaymentMethod | null;
7517
+ /**
7518
+ *
7519
+ * @type {InvoiceStatus}
7520
+ * @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
7521
+ */
7522
+ 'invoiceStatus'?: InvoiceStatus | null;
7523
+ /**
7524
+ *
7525
+ * @type {string}
7526
+ * @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
7527
+ */
7528
+ 'invoiceId'?: string | null;
7529
+ /**
7530
+ *
7531
+ * @type {string}
7532
+ * @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
7533
+ */
7534
+ 'playerId': string;
7535
+ }
7536
+
7537
+
7378
7538
  /**
7379
7539
  *
7380
7540
  * @export
7381
7541
  * @interface EventBookingDetailSummaryPaymentPerPlayersInner
7382
7542
  */
7383
7543
  export interface EventBookingDetailSummaryPaymentPerPlayersInner {
7544
+ /**
7545
+ *
7546
+ * @type {boolean}
7547
+ * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
7548
+ */
7549
+ 'isCurrentUser'?: boolean;
7550
+ /**
7551
+ *
7552
+ * @type {string}
7553
+ * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
7554
+ */
7555
+ 'response'?: string | null;
7556
+ /**
7557
+ *
7558
+ * @type {boolean}
7559
+ * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
7560
+ */
7561
+ 'accepted'?: boolean | null;
7562
+ /**
7563
+ *
7564
+ * @type {PaymentMethod}
7565
+ * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
7566
+ */
7567
+ 'paymentMethod'?: PaymentMethod | null;
7568
+ /**
7569
+ *
7570
+ * @type {string}
7571
+ * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
7572
+ */
7573
+ 'invoiceId'?: string | null;
7574
+ /**
7575
+ *
7576
+ * @type {number}
7577
+ * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
7578
+ */
7579
+ 'amountToPay'?: number | null;
7384
7580
  /**
7385
7581
  *
7386
7582
  * @type {number}
7387
7583
  * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
7388
7584
  */
7389
7585
  'amount'?: number | null;
7586
+ /**
7587
+ *
7588
+ * @type {InvoiceStatus}
7589
+ * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
7590
+ */
7591
+ 'invoiceStatus'?: InvoiceStatus | null;
7390
7592
  /**
7391
7593
  *
7392
7594
  * @type {InvoiceStatus}
7393
7595
  * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
7394
7596
  */
7395
7597
  'status'?: InvoiceStatus | null;
7598
+ /**
7599
+ *
7600
+ * @type {string}
7601
+ * @memberof EventBookingDetailSummaryPaymentPerPlayersInner
7602
+ */
7603
+ 'photo'?: string | null;
7396
7604
  /**
7397
7605
  *
7398
7606
  * @type {string}
@@ -11070,6 +11278,87 @@ export interface ManagerConsoleInvoiceUserSummary {
11070
11278
  */
11071
11279
  'profilePictureUrl'?: string;
11072
11280
  }
11281
+ /**
11282
+ *
11283
+ * @export
11284
+ * @interface ManagerConsoleOpenGuestContributionResponse
11285
+ */
11286
+ export interface ManagerConsoleOpenGuestContributionResponse {
11287
+ /**
11288
+ *
11289
+ * @type {OpenGuestContributionSource}
11290
+ * @memberof ManagerConsoleOpenGuestContributionResponse
11291
+ */
11292
+ 'source': OpenGuestContributionSource;
11293
+ /**
11294
+ *
11295
+ * @type {OpenGuestContributionStatus}
11296
+ * @memberof ManagerConsoleOpenGuestContributionResponse
11297
+ */
11298
+ 'status': OpenGuestContributionStatus;
11299
+ /**
11300
+ *
11301
+ * @type {OpenGuestContributionPaymentChannel}
11302
+ * @memberof ManagerConsoleOpenGuestContributionResponse
11303
+ */
11304
+ 'paymentChannel'?: OpenGuestContributionPaymentChannel;
11305
+ /**
11306
+ *
11307
+ * @type {string}
11308
+ * @memberof ManagerConsoleOpenGuestContributionResponse
11309
+ */
11310
+ 'actorPlayerId': string;
11311
+ /**
11312
+ *
11313
+ * @type {Array<string>}
11314
+ * @memberof ManagerConsoleOpenGuestContributionResponse
11315
+ */
11316
+ 'registeredPlayerIds': Array<string>;
11317
+ /**
11318
+ *
11319
+ * @type {number}
11320
+ * @memberof ManagerConsoleOpenGuestContributionResponse
11321
+ */
11322
+ 'requestedPlayersCount': number;
11323
+ /**
11324
+ *
11325
+ * @type {number}
11326
+ * @memberof ManagerConsoleOpenGuestContributionResponse
11327
+ */
11328
+ 'registeredPlayersCount': number;
11329
+ /**
11330
+ *
11331
+ * @type {number}
11332
+ * @memberof ManagerConsoleOpenGuestContributionResponse
11333
+ */
11334
+ 'guestCount': number;
11335
+ /**
11336
+ *
11337
+ * @type {string}
11338
+ * @memberof ManagerConsoleOpenGuestContributionResponse
11339
+ */
11340
+ 'invoiceId'?: string;
11341
+ /**
11342
+ *
11343
+ * @type {string}
11344
+ * @memberof ManagerConsoleOpenGuestContributionResponse
11345
+ */
11346
+ 'setupInvoiceId'?: string;
11347
+ /**
11348
+ *
11349
+ * @type {string}
11350
+ * @memberof ManagerConsoleOpenGuestContributionResponse
11351
+ */
11352
+ 'createdAt': string | null;
11353
+ /**
11354
+ *
11355
+ * @type {string}
11356
+ * @memberof ManagerConsoleOpenGuestContributionResponse
11357
+ */
11358
+ 'resolvedAt'?: string | null;
11359
+ }
11360
+
11361
+
11073
11362
  /**
11074
11363
  *
11075
11364
  * @export
@@ -12718,6 +13007,50 @@ export interface OpenBookingsResponse {
12718
13007
  */
12719
13008
  'bookings': Array<OpenBookingInfo>;
12720
13009
  }
13010
+ /**
13011
+ *
13012
+ * @export
13013
+ * @enum {string}
13014
+ */
13015
+
13016
+ export const OpenGuestContributionPaymentChannel = {
13017
+ Online: 'online',
13018
+ Onsite: 'onsite'
13019
+ } as const;
13020
+
13021
+ export type OpenGuestContributionPaymentChannel = typeof OpenGuestContributionPaymentChannel[keyof typeof OpenGuestContributionPaymentChannel];
13022
+
13023
+
13024
+ /**
13025
+ *
13026
+ * @export
13027
+ * @enum {string}
13028
+ */
13029
+
13030
+ export const OpenGuestContributionSource = {
13031
+ Creation: 'creation',
13032
+ Join: 'join'
13033
+ } as const;
13034
+
13035
+ export type OpenGuestContributionSource = typeof OpenGuestContributionSource[keyof typeof OpenGuestContributionSource];
13036
+
13037
+
13038
+ /**
13039
+ *
13040
+ * @export
13041
+ * @enum {string}
13042
+ */
13043
+
13044
+ export const OpenGuestContributionStatus = {
13045
+ Pending: 'pending',
13046
+ Confirmed: 'confirmed',
13047
+ Expired: 'expired',
13048
+ Canceled: 'canceled'
13049
+ } as const;
13050
+
13051
+ export type OpenGuestContributionStatus = typeof OpenGuestContributionStatus[keyof typeof OpenGuestContributionStatus];
13052
+
13053
+
12721
13054
  /**
12722
13055
  *
12723
13056
  * @export
@@ -14028,6 +14361,12 @@ export interface PublicSubscriptionPlanResponse {
14028
14361
  * @memberof PublicSubscriptionPlanResponse
14029
14362
  */
14030
14363
  'name': string;
14364
+ /**
14365
+ *
14366
+ * @type {number}
14367
+ * @memberof PublicSubscriptionPlanResponse
14368
+ */
14369
+ 'subscribersCount': number;
14031
14370
  /**
14032
14371
  *
14033
14372
  * @type {number}
@@ -14064,6 +14403,12 @@ export interface PublicSubscriptionPlanResponse {
14064
14403
  * @memberof PublicSubscriptionPlanResponse
14065
14404
  */
14066
14405
  'discount'?: SubscriptionPlanDiscountResponse;
14406
+ /**
14407
+ *
14408
+ * @type {number}
14409
+ * @memberof PublicSubscriptionPlanResponse
14410
+ */
14411
+ 'commitmentDurationMonths'?: number;
14067
14412
  /**
14068
14413
  *
14069
14414
  * @type {boolean}
@@ -16846,6 +17191,12 @@ export interface SubscriptionPlanResponse {
16846
17191
  * @memberof SubscriptionPlanResponse
16847
17192
  */
16848
17193
  'productName': string;
17194
+ /**
17195
+ *
17196
+ * @type {number}
17197
+ * @memberof SubscriptionPlanResponse
17198
+ */
17199
+ 'subscribersCount': number;
16849
17200
  /**
16850
17201
  *
16851
17202
  * @type {boolean}
@@ -16900,6 +17251,12 @@ export interface SubscriptionPlanResponse {
16900
17251
  * @memberof SubscriptionPlanResponse
16901
17252
  */
16902
17253
  'discount'?: SubscriptionPlanDiscountResponse;
17254
+ /**
17255
+ *
17256
+ * @type {number}
17257
+ * @memberof SubscriptionPlanResponse
17258
+ */
17259
+ 'commitmentDurationMonths'?: number;
16903
17260
  }
16904
17261
 
16905
17262
 
@@ -18488,6 +18845,12 @@ export interface UpdateSubscriptionPlanRequest {
18488
18845
  * @memberof UpdateSubscriptionPlanRequest
18489
18846
  */
18490
18847
  'interval'?: PlanInterval;
18848
+ /**
18849
+ *
18850
+ * @type {number}
18851
+ * @memberof UpdateSubscriptionPlanRequest
18852
+ */
18853
+ 'commitmentDurationMonths'?: number;
18491
18854
  /**
18492
18855
  *
18493
18856
  * @type {SubscriptionPlanDiscountUpdateRequest}