@tennac-booking/sdk 1.0.307 → 1.0.309
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 +2 -1
- package/README.md +2 -0
- package/api.ts +238 -0
- package/dist/api.d.ts +236 -0
- package/dist/esm/api.d.ts +236 -0
- package/docs/CreateGuestBookingRequest.md +2 -0
- package/docs/CreateSubscriptionPlanRequest.md +2 -0
- package/docs/EventBookingDetailSummary.md +28 -0
- package/docs/EventBookingDetailSummaryBookingStatus.md +18 -0
- package/docs/EventBookingDetailSummaryPaymentByPlayersStatusInner.md +34 -0
- package/docs/EventBookingDetailSummaryPaymentPerPlayersInner.md +16 -0
- package/docs/PublicSubscriptionPlanResponse.md +4 -0
- package/docs/SubscriptionPlanResponse.md +4 -0
- package/docs/UpdateSubscriptionPlanRequest.md +2 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
.gitignore
|
|
2
2
|
.npmignore
|
|
3
|
-
.openapi-generator-ignore
|
|
4
3
|
README.md
|
|
5
4
|
api.ts
|
|
6
5
|
base.ts
|
|
@@ -204,7 +203,9 @@ docs/EventBookingDetailEventSummary.md
|
|
|
204
203
|
docs/EventBookingDetailResponse.md
|
|
205
204
|
docs/EventBookingDetailResponseBooking.md
|
|
206
205
|
docs/EventBookingDetailSummary.md
|
|
206
|
+
docs/EventBookingDetailSummaryBookingStatus.md
|
|
207
207
|
docs/EventBookingDetailSummaryPartnersInner.md
|
|
208
|
+
docs/EventBookingDetailSummaryPaymentByPlayersStatusInner.md
|
|
208
209
|
docs/EventBookingDetailSummaryPaymentPerPlayersInner.md
|
|
209
210
|
docs/EventBookingGuestCheckinResponse.md
|
|
210
211
|
docs/EventBookingResponse.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)
|
package/api.ts
CHANGED
|
@@ -5973,6 +5973,12 @@ export interface CreateGuestBookingRequest {
|
|
|
5973
5973
|
* @memberof CreateGuestBookingRequest
|
|
5974
5974
|
*/
|
|
5975
5975
|
'slotIds': Array<string>;
|
|
5976
|
+
/**
|
|
5977
|
+
* Nombre total de joueurs (incluant invités non enregistrés). Défaut: 1
|
|
5978
|
+
* @type {number}
|
|
5979
|
+
* @memberof CreateGuestBookingRequest
|
|
5980
|
+
*/
|
|
5981
|
+
'playersCount'?: number;
|
|
5976
5982
|
/**
|
|
5977
5983
|
* Prénom de l\'invité
|
|
5978
5984
|
* @type {string}
|
|
@@ -6351,6 +6357,12 @@ export interface CreateSubscriptionPlanRequest {
|
|
|
6351
6357
|
* @memberof CreateSubscriptionPlanRequest
|
|
6352
6358
|
*/
|
|
6353
6359
|
'interval': PlanInterval;
|
|
6360
|
+
/**
|
|
6361
|
+
*
|
|
6362
|
+
* @type {number}
|
|
6363
|
+
* @memberof CreateSubscriptionPlanRequest
|
|
6364
|
+
*/
|
|
6365
|
+
'commitmentDurationMonths'?: number;
|
|
6354
6366
|
/**
|
|
6355
6367
|
*
|
|
6356
6368
|
* @type {CreateSubscriptionPlanRequestDiscount}
|
|
@@ -7268,6 +7280,18 @@ export interface EventBookingDetailSummary {
|
|
|
7268
7280
|
* @memberof EventBookingDetailSummary
|
|
7269
7281
|
*/
|
|
7270
7282
|
'status': EventBookingStatus;
|
|
7283
|
+
/**
|
|
7284
|
+
*
|
|
7285
|
+
* @type {EventBookingDetailSummaryBookingStatus}
|
|
7286
|
+
* @memberof EventBookingDetailSummary
|
|
7287
|
+
*/
|
|
7288
|
+
'bookingStatus'?: EventBookingDetailSummaryBookingStatus | null;
|
|
7289
|
+
/**
|
|
7290
|
+
*
|
|
7291
|
+
* @type {string}
|
|
7292
|
+
* @memberof EventBookingDetailSummary
|
|
7293
|
+
*/
|
|
7294
|
+
'userId'?: string;
|
|
7271
7295
|
/**
|
|
7272
7296
|
*
|
|
7273
7297
|
* @type {string}
|
|
@@ -7280,6 +7304,12 @@ export interface EventBookingDetailSummary {
|
|
|
7280
7304
|
* @memberof EventBookingDetailSummary
|
|
7281
7305
|
*/
|
|
7282
7306
|
'players': Array<string>;
|
|
7307
|
+
/**
|
|
7308
|
+
*
|
|
7309
|
+
* @type {Array<string>}
|
|
7310
|
+
* @memberof EventBookingDetailSummary
|
|
7311
|
+
*/
|
|
7312
|
+
'playersIds'?: Array<string>;
|
|
7283
7313
|
/**
|
|
7284
7314
|
*
|
|
7285
7315
|
* @type {Array<EventBookingDetailSummaryPartnersInner>}
|
|
@@ -7292,6 +7322,36 @@ export interface EventBookingDetailSummary {
|
|
|
7292
7322
|
* @memberof EventBookingDetailSummary
|
|
7293
7323
|
*/
|
|
7294
7324
|
'paymentPerPlayers': Array<EventBookingDetailSummaryPaymentPerPlayersInner>;
|
|
7325
|
+
/**
|
|
7326
|
+
*
|
|
7327
|
+
* @type {Array<EventBookingDetailSummaryPaymentByPlayersStatusInner>}
|
|
7328
|
+
* @memberof EventBookingDetailSummary
|
|
7329
|
+
*/
|
|
7330
|
+
'paymentByPlayersStatus'?: Array<EventBookingDetailSummaryPaymentByPlayersStatusInner>;
|
|
7331
|
+
/**
|
|
7332
|
+
*
|
|
7333
|
+
* @type {boolean}
|
|
7334
|
+
* @memberof EventBookingDetailSummary
|
|
7335
|
+
*/
|
|
7336
|
+
'isCreatorPayingAll'?: boolean;
|
|
7337
|
+
/**
|
|
7338
|
+
*
|
|
7339
|
+
* @type {number}
|
|
7340
|
+
* @memberof EventBookingDetailSummary
|
|
7341
|
+
*/
|
|
7342
|
+
'myAmountToPay'?: number | null;
|
|
7343
|
+
/**
|
|
7344
|
+
*
|
|
7345
|
+
* @type {InvoiceStatus}
|
|
7346
|
+
* @memberof EventBookingDetailSummary
|
|
7347
|
+
*/
|
|
7348
|
+
'myPaymentStatus'?: InvoiceStatus | null;
|
|
7349
|
+
/**
|
|
7350
|
+
*
|
|
7351
|
+
* @type {string}
|
|
7352
|
+
* @memberof EventBookingDetailSummary
|
|
7353
|
+
*/
|
|
7354
|
+
'paymentUrl'?: string | null;
|
|
7295
7355
|
/**
|
|
7296
7356
|
*
|
|
7297
7357
|
* @type {string}
|
|
@@ -7328,6 +7388,42 @@ export interface EventBookingDetailSummary {
|
|
|
7328
7388
|
* @memberof EventBookingDetailSummary
|
|
7329
7389
|
*/
|
|
7330
7390
|
'userParticipationStatus'?: EventBookingDetailSummaryUserParticipationStatusEnum;
|
|
7391
|
+
/**
|
|
7392
|
+
*
|
|
7393
|
+
* @type {number}
|
|
7394
|
+
* @memberof EventBookingDetailSummary
|
|
7395
|
+
*/
|
|
7396
|
+
'participantsCount'?: number | null;
|
|
7397
|
+
/**
|
|
7398
|
+
*
|
|
7399
|
+
* @type {number}
|
|
7400
|
+
* @memberof EventBookingDetailSummary
|
|
7401
|
+
*/
|
|
7402
|
+
'playersCount'?: number | null;
|
|
7403
|
+
/**
|
|
7404
|
+
*
|
|
7405
|
+
* @type {number}
|
|
7406
|
+
* @memberof EventBookingDetailSummary
|
|
7407
|
+
*/
|
|
7408
|
+
'reservedPlayerCount'?: number | null;
|
|
7409
|
+
/**
|
|
7410
|
+
*
|
|
7411
|
+
* @type {number}
|
|
7412
|
+
* @memberof EventBookingDetailSummary
|
|
7413
|
+
*/
|
|
7414
|
+
'guestPlayersCount'?: number | null;
|
|
7415
|
+
/**
|
|
7416
|
+
*
|
|
7417
|
+
* @type {number}
|
|
7418
|
+
* @memberof EventBookingDetailSummary
|
|
7419
|
+
*/
|
|
7420
|
+
'guestPaymentsCount'?: number | null;
|
|
7421
|
+
/**
|
|
7422
|
+
*
|
|
7423
|
+
* @type {PaymentDistributionResult}
|
|
7424
|
+
* @memberof EventBookingDetailSummary
|
|
7425
|
+
*/
|
|
7426
|
+
'paymentDistribution'?: PaymentDistributionResult;
|
|
7331
7427
|
/**
|
|
7332
7428
|
*
|
|
7333
7429
|
* @type {string}
|
|
@@ -7350,6 +7446,13 @@ export const EventBookingDetailSummaryUserParticipationStatusEnum = {
|
|
|
7350
7446
|
|
|
7351
7447
|
export type EventBookingDetailSummaryUserParticipationStatusEnum = typeof EventBookingDetailSummaryUserParticipationStatusEnum[keyof typeof EventBookingDetailSummaryUserParticipationStatusEnum];
|
|
7352
7448
|
|
|
7449
|
+
/**
|
|
7450
|
+
*
|
|
7451
|
+
* @export
|
|
7452
|
+
* @interface EventBookingDetailSummaryBookingStatus
|
|
7453
|
+
*/
|
|
7454
|
+
export interface EventBookingDetailSummaryBookingStatus {
|
|
7455
|
+
}
|
|
7353
7456
|
/**
|
|
7354
7457
|
*
|
|
7355
7458
|
* @export
|
|
@@ -7381,24 +7484,129 @@ export interface EventBookingDetailSummaryPartnersInner {
|
|
|
7381
7484
|
*/
|
|
7382
7485
|
'id': string;
|
|
7383
7486
|
}
|
|
7487
|
+
/**
|
|
7488
|
+
*
|
|
7489
|
+
* @export
|
|
7490
|
+
* @interface EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7491
|
+
*/
|
|
7492
|
+
export interface EventBookingDetailSummaryPaymentByPlayersStatusInner {
|
|
7493
|
+
/**
|
|
7494
|
+
*
|
|
7495
|
+
* @type {string}
|
|
7496
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7497
|
+
*/
|
|
7498
|
+
'paymentUrl'?: string | null;
|
|
7499
|
+
/**
|
|
7500
|
+
*
|
|
7501
|
+
* @type {string}
|
|
7502
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7503
|
+
*/
|
|
7504
|
+
'response'?: string | null;
|
|
7505
|
+
/**
|
|
7506
|
+
*
|
|
7507
|
+
* @type {boolean}
|
|
7508
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7509
|
+
*/
|
|
7510
|
+
'accepted'?: boolean;
|
|
7511
|
+
/**
|
|
7512
|
+
*
|
|
7513
|
+
* @type {number}
|
|
7514
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7515
|
+
*/
|
|
7516
|
+
'amountToPay'?: number | null;
|
|
7517
|
+
/**
|
|
7518
|
+
*
|
|
7519
|
+
* @type {PaymentMethod}
|
|
7520
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7521
|
+
*/
|
|
7522
|
+
'paymentMethod'?: PaymentMethod | null;
|
|
7523
|
+
/**
|
|
7524
|
+
*
|
|
7525
|
+
* @type {InvoiceStatus}
|
|
7526
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7527
|
+
*/
|
|
7528
|
+
'invoiceStatus'?: InvoiceStatus | null;
|
|
7529
|
+
/**
|
|
7530
|
+
*
|
|
7531
|
+
* @type {string}
|
|
7532
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7533
|
+
*/
|
|
7534
|
+
'invoiceId'?: string | null;
|
|
7535
|
+
/**
|
|
7536
|
+
*
|
|
7537
|
+
* @type {string}
|
|
7538
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7539
|
+
*/
|
|
7540
|
+
'playerId': string;
|
|
7541
|
+
}
|
|
7542
|
+
|
|
7543
|
+
|
|
7384
7544
|
/**
|
|
7385
7545
|
*
|
|
7386
7546
|
* @export
|
|
7387
7547
|
* @interface EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7388
7548
|
*/
|
|
7389
7549
|
export interface EventBookingDetailSummaryPaymentPerPlayersInner {
|
|
7550
|
+
/**
|
|
7551
|
+
*
|
|
7552
|
+
* @type {boolean}
|
|
7553
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7554
|
+
*/
|
|
7555
|
+
'isCurrentUser'?: boolean;
|
|
7556
|
+
/**
|
|
7557
|
+
*
|
|
7558
|
+
* @type {string}
|
|
7559
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7560
|
+
*/
|
|
7561
|
+
'response'?: string | null;
|
|
7562
|
+
/**
|
|
7563
|
+
*
|
|
7564
|
+
* @type {boolean}
|
|
7565
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7566
|
+
*/
|
|
7567
|
+
'accepted'?: boolean | null;
|
|
7568
|
+
/**
|
|
7569
|
+
*
|
|
7570
|
+
* @type {PaymentMethod}
|
|
7571
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7572
|
+
*/
|
|
7573
|
+
'paymentMethod'?: PaymentMethod | null;
|
|
7574
|
+
/**
|
|
7575
|
+
*
|
|
7576
|
+
* @type {string}
|
|
7577
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7578
|
+
*/
|
|
7579
|
+
'invoiceId'?: string | null;
|
|
7580
|
+
/**
|
|
7581
|
+
*
|
|
7582
|
+
* @type {number}
|
|
7583
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7584
|
+
*/
|
|
7585
|
+
'amountToPay'?: number | null;
|
|
7390
7586
|
/**
|
|
7391
7587
|
*
|
|
7392
7588
|
* @type {number}
|
|
7393
7589
|
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7394
7590
|
*/
|
|
7395
7591
|
'amount'?: number | null;
|
|
7592
|
+
/**
|
|
7593
|
+
*
|
|
7594
|
+
* @type {InvoiceStatus}
|
|
7595
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7596
|
+
*/
|
|
7597
|
+
'invoiceStatus'?: InvoiceStatus | null;
|
|
7396
7598
|
/**
|
|
7397
7599
|
*
|
|
7398
7600
|
* @type {InvoiceStatus}
|
|
7399
7601
|
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7400
7602
|
*/
|
|
7401
7603
|
'status'?: InvoiceStatus | null;
|
|
7604
|
+
/**
|
|
7605
|
+
*
|
|
7606
|
+
* @type {string}
|
|
7607
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7608
|
+
*/
|
|
7609
|
+
'photo'?: string | null;
|
|
7402
7610
|
/**
|
|
7403
7611
|
*
|
|
7404
7612
|
* @type {string}
|
|
@@ -14159,6 +14367,12 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
14159
14367
|
* @memberof PublicSubscriptionPlanResponse
|
|
14160
14368
|
*/
|
|
14161
14369
|
'name': string;
|
|
14370
|
+
/**
|
|
14371
|
+
*
|
|
14372
|
+
* @type {number}
|
|
14373
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
14374
|
+
*/
|
|
14375
|
+
'subscribersCount': number;
|
|
14162
14376
|
/**
|
|
14163
14377
|
*
|
|
14164
14378
|
* @type {number}
|
|
@@ -14195,6 +14409,12 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
14195
14409
|
* @memberof PublicSubscriptionPlanResponse
|
|
14196
14410
|
*/
|
|
14197
14411
|
'discount'?: SubscriptionPlanDiscountResponse;
|
|
14412
|
+
/**
|
|
14413
|
+
*
|
|
14414
|
+
* @type {number}
|
|
14415
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
14416
|
+
*/
|
|
14417
|
+
'commitmentDurationMonths'?: number;
|
|
14198
14418
|
/**
|
|
14199
14419
|
*
|
|
14200
14420
|
* @type {boolean}
|
|
@@ -16977,6 +17197,12 @@ export interface SubscriptionPlanResponse {
|
|
|
16977
17197
|
* @memberof SubscriptionPlanResponse
|
|
16978
17198
|
*/
|
|
16979
17199
|
'productName': string;
|
|
17200
|
+
/**
|
|
17201
|
+
*
|
|
17202
|
+
* @type {number}
|
|
17203
|
+
* @memberof SubscriptionPlanResponse
|
|
17204
|
+
*/
|
|
17205
|
+
'subscribersCount': number;
|
|
16980
17206
|
/**
|
|
16981
17207
|
*
|
|
16982
17208
|
* @type {boolean}
|
|
@@ -17031,6 +17257,12 @@ export interface SubscriptionPlanResponse {
|
|
|
17031
17257
|
* @memberof SubscriptionPlanResponse
|
|
17032
17258
|
*/
|
|
17033
17259
|
'discount'?: SubscriptionPlanDiscountResponse;
|
|
17260
|
+
/**
|
|
17261
|
+
*
|
|
17262
|
+
* @type {number}
|
|
17263
|
+
* @memberof SubscriptionPlanResponse
|
|
17264
|
+
*/
|
|
17265
|
+
'commitmentDurationMonths'?: number;
|
|
17034
17266
|
}
|
|
17035
17267
|
|
|
17036
17268
|
|
|
@@ -18619,6 +18851,12 @@ export interface UpdateSubscriptionPlanRequest {
|
|
|
18619
18851
|
* @memberof UpdateSubscriptionPlanRequest
|
|
18620
18852
|
*/
|
|
18621
18853
|
'interval'?: PlanInterval;
|
|
18854
|
+
/**
|
|
18855
|
+
*
|
|
18856
|
+
* @type {number}
|
|
18857
|
+
* @memberof UpdateSubscriptionPlanRequest
|
|
18858
|
+
*/
|
|
18859
|
+
'commitmentDurationMonths'?: number;
|
|
18622
18860
|
/**
|
|
18623
18861
|
*
|
|
18624
18862
|
* @type {SubscriptionPlanDiscountUpdateRequest}
|
package/dist/api.d.ts
CHANGED
|
@@ -5886,6 +5886,12 @@ export interface CreateGuestBookingRequest {
|
|
|
5886
5886
|
* @memberof CreateGuestBookingRequest
|
|
5887
5887
|
*/
|
|
5888
5888
|
'slotIds': Array<string>;
|
|
5889
|
+
/**
|
|
5890
|
+
* Nombre total de joueurs (incluant invités non enregistrés). Défaut: 1
|
|
5891
|
+
* @type {number}
|
|
5892
|
+
* @memberof CreateGuestBookingRequest
|
|
5893
|
+
*/
|
|
5894
|
+
'playersCount'?: number;
|
|
5889
5895
|
/**
|
|
5890
5896
|
* Prénom de l\'invité
|
|
5891
5897
|
* @type {string}
|
|
@@ -6256,6 +6262,12 @@ export interface CreateSubscriptionPlanRequest {
|
|
|
6256
6262
|
* @memberof CreateSubscriptionPlanRequest
|
|
6257
6263
|
*/
|
|
6258
6264
|
'interval': PlanInterval;
|
|
6265
|
+
/**
|
|
6266
|
+
*
|
|
6267
|
+
* @type {number}
|
|
6268
|
+
* @memberof CreateSubscriptionPlanRequest
|
|
6269
|
+
*/
|
|
6270
|
+
'commitmentDurationMonths'?: number;
|
|
6259
6271
|
/**
|
|
6260
6272
|
*
|
|
6261
6273
|
* @type {CreateSubscriptionPlanRequestDiscount}
|
|
@@ -7158,6 +7170,18 @@ export interface EventBookingDetailSummary {
|
|
|
7158
7170
|
* @memberof EventBookingDetailSummary
|
|
7159
7171
|
*/
|
|
7160
7172
|
'status': EventBookingStatus;
|
|
7173
|
+
/**
|
|
7174
|
+
*
|
|
7175
|
+
* @type {EventBookingDetailSummaryBookingStatus}
|
|
7176
|
+
* @memberof EventBookingDetailSummary
|
|
7177
|
+
*/
|
|
7178
|
+
'bookingStatus'?: EventBookingDetailSummaryBookingStatus | null;
|
|
7179
|
+
/**
|
|
7180
|
+
*
|
|
7181
|
+
* @type {string}
|
|
7182
|
+
* @memberof EventBookingDetailSummary
|
|
7183
|
+
*/
|
|
7184
|
+
'userId'?: string;
|
|
7161
7185
|
/**
|
|
7162
7186
|
*
|
|
7163
7187
|
* @type {string}
|
|
@@ -7170,6 +7194,12 @@ export interface EventBookingDetailSummary {
|
|
|
7170
7194
|
* @memberof EventBookingDetailSummary
|
|
7171
7195
|
*/
|
|
7172
7196
|
'players': Array<string>;
|
|
7197
|
+
/**
|
|
7198
|
+
*
|
|
7199
|
+
* @type {Array<string>}
|
|
7200
|
+
* @memberof EventBookingDetailSummary
|
|
7201
|
+
*/
|
|
7202
|
+
'playersIds'?: Array<string>;
|
|
7173
7203
|
/**
|
|
7174
7204
|
*
|
|
7175
7205
|
* @type {Array<EventBookingDetailSummaryPartnersInner>}
|
|
@@ -7182,6 +7212,36 @@ export interface EventBookingDetailSummary {
|
|
|
7182
7212
|
* @memberof EventBookingDetailSummary
|
|
7183
7213
|
*/
|
|
7184
7214
|
'paymentPerPlayers': Array<EventBookingDetailSummaryPaymentPerPlayersInner>;
|
|
7215
|
+
/**
|
|
7216
|
+
*
|
|
7217
|
+
* @type {Array<EventBookingDetailSummaryPaymentByPlayersStatusInner>}
|
|
7218
|
+
* @memberof EventBookingDetailSummary
|
|
7219
|
+
*/
|
|
7220
|
+
'paymentByPlayersStatus'?: Array<EventBookingDetailSummaryPaymentByPlayersStatusInner>;
|
|
7221
|
+
/**
|
|
7222
|
+
*
|
|
7223
|
+
* @type {boolean}
|
|
7224
|
+
* @memberof EventBookingDetailSummary
|
|
7225
|
+
*/
|
|
7226
|
+
'isCreatorPayingAll'?: boolean;
|
|
7227
|
+
/**
|
|
7228
|
+
*
|
|
7229
|
+
* @type {number}
|
|
7230
|
+
* @memberof EventBookingDetailSummary
|
|
7231
|
+
*/
|
|
7232
|
+
'myAmountToPay'?: number | null;
|
|
7233
|
+
/**
|
|
7234
|
+
*
|
|
7235
|
+
* @type {InvoiceStatus}
|
|
7236
|
+
* @memberof EventBookingDetailSummary
|
|
7237
|
+
*/
|
|
7238
|
+
'myPaymentStatus'?: InvoiceStatus | null;
|
|
7239
|
+
/**
|
|
7240
|
+
*
|
|
7241
|
+
* @type {string}
|
|
7242
|
+
* @memberof EventBookingDetailSummary
|
|
7243
|
+
*/
|
|
7244
|
+
'paymentUrl'?: string | null;
|
|
7185
7245
|
/**
|
|
7186
7246
|
*
|
|
7187
7247
|
* @type {string}
|
|
@@ -7218,6 +7278,42 @@ export interface EventBookingDetailSummary {
|
|
|
7218
7278
|
* @memberof EventBookingDetailSummary
|
|
7219
7279
|
*/
|
|
7220
7280
|
'userParticipationStatus'?: EventBookingDetailSummaryUserParticipationStatusEnum;
|
|
7281
|
+
/**
|
|
7282
|
+
*
|
|
7283
|
+
* @type {number}
|
|
7284
|
+
* @memberof EventBookingDetailSummary
|
|
7285
|
+
*/
|
|
7286
|
+
'participantsCount'?: number | null;
|
|
7287
|
+
/**
|
|
7288
|
+
*
|
|
7289
|
+
* @type {number}
|
|
7290
|
+
* @memberof EventBookingDetailSummary
|
|
7291
|
+
*/
|
|
7292
|
+
'playersCount'?: number | null;
|
|
7293
|
+
/**
|
|
7294
|
+
*
|
|
7295
|
+
* @type {number}
|
|
7296
|
+
* @memberof EventBookingDetailSummary
|
|
7297
|
+
*/
|
|
7298
|
+
'reservedPlayerCount'?: number | null;
|
|
7299
|
+
/**
|
|
7300
|
+
*
|
|
7301
|
+
* @type {number}
|
|
7302
|
+
* @memberof EventBookingDetailSummary
|
|
7303
|
+
*/
|
|
7304
|
+
'guestPlayersCount'?: number | null;
|
|
7305
|
+
/**
|
|
7306
|
+
*
|
|
7307
|
+
* @type {number}
|
|
7308
|
+
* @memberof EventBookingDetailSummary
|
|
7309
|
+
*/
|
|
7310
|
+
'guestPaymentsCount'?: number | null;
|
|
7311
|
+
/**
|
|
7312
|
+
*
|
|
7313
|
+
* @type {PaymentDistributionResult}
|
|
7314
|
+
* @memberof EventBookingDetailSummary
|
|
7315
|
+
*/
|
|
7316
|
+
'paymentDistribution'?: PaymentDistributionResult;
|
|
7221
7317
|
/**
|
|
7222
7318
|
*
|
|
7223
7319
|
* @type {string}
|
|
@@ -7237,6 +7333,13 @@ export declare const EventBookingDetailSummaryUserParticipationStatusEnum: {
|
|
|
7237
7333
|
readonly Waitlist: "waitlist";
|
|
7238
7334
|
};
|
|
7239
7335
|
export type EventBookingDetailSummaryUserParticipationStatusEnum = typeof EventBookingDetailSummaryUserParticipationStatusEnum[keyof typeof EventBookingDetailSummaryUserParticipationStatusEnum];
|
|
7336
|
+
/**
|
|
7337
|
+
*
|
|
7338
|
+
* @export
|
|
7339
|
+
* @interface EventBookingDetailSummaryBookingStatus
|
|
7340
|
+
*/
|
|
7341
|
+
export interface EventBookingDetailSummaryBookingStatus {
|
|
7342
|
+
}
|
|
7240
7343
|
/**
|
|
7241
7344
|
*
|
|
7242
7345
|
* @export
|
|
@@ -7268,24 +7371,127 @@ export interface EventBookingDetailSummaryPartnersInner {
|
|
|
7268
7371
|
*/
|
|
7269
7372
|
'id': string;
|
|
7270
7373
|
}
|
|
7374
|
+
/**
|
|
7375
|
+
*
|
|
7376
|
+
* @export
|
|
7377
|
+
* @interface EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7378
|
+
*/
|
|
7379
|
+
export interface EventBookingDetailSummaryPaymentByPlayersStatusInner {
|
|
7380
|
+
/**
|
|
7381
|
+
*
|
|
7382
|
+
* @type {string}
|
|
7383
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7384
|
+
*/
|
|
7385
|
+
'paymentUrl'?: string | null;
|
|
7386
|
+
/**
|
|
7387
|
+
*
|
|
7388
|
+
* @type {string}
|
|
7389
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7390
|
+
*/
|
|
7391
|
+
'response'?: string | null;
|
|
7392
|
+
/**
|
|
7393
|
+
*
|
|
7394
|
+
* @type {boolean}
|
|
7395
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7396
|
+
*/
|
|
7397
|
+
'accepted'?: boolean;
|
|
7398
|
+
/**
|
|
7399
|
+
*
|
|
7400
|
+
* @type {number}
|
|
7401
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7402
|
+
*/
|
|
7403
|
+
'amountToPay'?: number | null;
|
|
7404
|
+
/**
|
|
7405
|
+
*
|
|
7406
|
+
* @type {PaymentMethod}
|
|
7407
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7408
|
+
*/
|
|
7409
|
+
'paymentMethod'?: PaymentMethod | null;
|
|
7410
|
+
/**
|
|
7411
|
+
*
|
|
7412
|
+
* @type {InvoiceStatus}
|
|
7413
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7414
|
+
*/
|
|
7415
|
+
'invoiceStatus'?: InvoiceStatus | null;
|
|
7416
|
+
/**
|
|
7417
|
+
*
|
|
7418
|
+
* @type {string}
|
|
7419
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7420
|
+
*/
|
|
7421
|
+
'invoiceId'?: string | null;
|
|
7422
|
+
/**
|
|
7423
|
+
*
|
|
7424
|
+
* @type {string}
|
|
7425
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7426
|
+
*/
|
|
7427
|
+
'playerId': string;
|
|
7428
|
+
}
|
|
7271
7429
|
/**
|
|
7272
7430
|
*
|
|
7273
7431
|
* @export
|
|
7274
7432
|
* @interface EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7275
7433
|
*/
|
|
7276
7434
|
export interface EventBookingDetailSummaryPaymentPerPlayersInner {
|
|
7435
|
+
/**
|
|
7436
|
+
*
|
|
7437
|
+
* @type {boolean}
|
|
7438
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7439
|
+
*/
|
|
7440
|
+
'isCurrentUser'?: boolean;
|
|
7441
|
+
/**
|
|
7442
|
+
*
|
|
7443
|
+
* @type {string}
|
|
7444
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7445
|
+
*/
|
|
7446
|
+
'response'?: string | null;
|
|
7447
|
+
/**
|
|
7448
|
+
*
|
|
7449
|
+
* @type {boolean}
|
|
7450
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7451
|
+
*/
|
|
7452
|
+
'accepted'?: boolean | null;
|
|
7453
|
+
/**
|
|
7454
|
+
*
|
|
7455
|
+
* @type {PaymentMethod}
|
|
7456
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7457
|
+
*/
|
|
7458
|
+
'paymentMethod'?: PaymentMethod | null;
|
|
7459
|
+
/**
|
|
7460
|
+
*
|
|
7461
|
+
* @type {string}
|
|
7462
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7463
|
+
*/
|
|
7464
|
+
'invoiceId'?: string | null;
|
|
7465
|
+
/**
|
|
7466
|
+
*
|
|
7467
|
+
* @type {number}
|
|
7468
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7469
|
+
*/
|
|
7470
|
+
'amountToPay'?: number | null;
|
|
7277
7471
|
/**
|
|
7278
7472
|
*
|
|
7279
7473
|
* @type {number}
|
|
7280
7474
|
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7281
7475
|
*/
|
|
7282
7476
|
'amount'?: number | null;
|
|
7477
|
+
/**
|
|
7478
|
+
*
|
|
7479
|
+
* @type {InvoiceStatus}
|
|
7480
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7481
|
+
*/
|
|
7482
|
+
'invoiceStatus'?: InvoiceStatus | null;
|
|
7283
7483
|
/**
|
|
7284
7484
|
*
|
|
7285
7485
|
* @type {InvoiceStatus}
|
|
7286
7486
|
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7287
7487
|
*/
|
|
7288
7488
|
'status'?: InvoiceStatus | null;
|
|
7489
|
+
/**
|
|
7490
|
+
*
|
|
7491
|
+
* @type {string}
|
|
7492
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7493
|
+
*/
|
|
7494
|
+
'photo'?: string | null;
|
|
7289
7495
|
/**
|
|
7290
7496
|
*
|
|
7291
7497
|
* @type {string}
|
|
@@ -13923,6 +14129,12 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
13923
14129
|
* @memberof PublicSubscriptionPlanResponse
|
|
13924
14130
|
*/
|
|
13925
14131
|
'name': string;
|
|
14132
|
+
/**
|
|
14133
|
+
*
|
|
14134
|
+
* @type {number}
|
|
14135
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
14136
|
+
*/
|
|
14137
|
+
'subscribersCount': number;
|
|
13926
14138
|
/**
|
|
13927
14139
|
*
|
|
13928
14140
|
* @type {number}
|
|
@@ -13959,6 +14171,12 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
13959
14171
|
* @memberof PublicSubscriptionPlanResponse
|
|
13960
14172
|
*/
|
|
13961
14173
|
'discount'?: SubscriptionPlanDiscountResponse;
|
|
14174
|
+
/**
|
|
14175
|
+
*
|
|
14176
|
+
* @type {number}
|
|
14177
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
14178
|
+
*/
|
|
14179
|
+
'commitmentDurationMonths'?: number;
|
|
13962
14180
|
/**
|
|
13963
14181
|
*
|
|
13964
14182
|
* @type {boolean}
|
|
@@ -16703,6 +16921,12 @@ export interface SubscriptionPlanResponse {
|
|
|
16703
16921
|
* @memberof SubscriptionPlanResponse
|
|
16704
16922
|
*/
|
|
16705
16923
|
'productName': string;
|
|
16924
|
+
/**
|
|
16925
|
+
*
|
|
16926
|
+
* @type {number}
|
|
16927
|
+
* @memberof SubscriptionPlanResponse
|
|
16928
|
+
*/
|
|
16929
|
+
'subscribersCount': number;
|
|
16706
16930
|
/**
|
|
16707
16931
|
*
|
|
16708
16932
|
* @type {boolean}
|
|
@@ -16757,6 +16981,12 @@ export interface SubscriptionPlanResponse {
|
|
|
16757
16981
|
* @memberof SubscriptionPlanResponse
|
|
16758
16982
|
*/
|
|
16759
16983
|
'discount'?: SubscriptionPlanDiscountResponse;
|
|
16984
|
+
/**
|
|
16985
|
+
*
|
|
16986
|
+
* @type {number}
|
|
16987
|
+
* @memberof SubscriptionPlanResponse
|
|
16988
|
+
*/
|
|
16989
|
+
'commitmentDurationMonths'?: number;
|
|
16760
16990
|
}
|
|
16761
16991
|
/**
|
|
16762
16992
|
*
|
|
@@ -18321,6 +18551,12 @@ export interface UpdateSubscriptionPlanRequest {
|
|
|
18321
18551
|
* @memberof UpdateSubscriptionPlanRequest
|
|
18322
18552
|
*/
|
|
18323
18553
|
'interval'?: PlanInterval;
|
|
18554
|
+
/**
|
|
18555
|
+
*
|
|
18556
|
+
* @type {number}
|
|
18557
|
+
* @memberof UpdateSubscriptionPlanRequest
|
|
18558
|
+
*/
|
|
18559
|
+
'commitmentDurationMonths'?: number;
|
|
18324
18560
|
/**
|
|
18325
18561
|
*
|
|
18326
18562
|
* @type {SubscriptionPlanDiscountUpdateRequest}
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -5886,6 +5886,12 @@ export interface CreateGuestBookingRequest {
|
|
|
5886
5886
|
* @memberof CreateGuestBookingRequest
|
|
5887
5887
|
*/
|
|
5888
5888
|
'slotIds': Array<string>;
|
|
5889
|
+
/**
|
|
5890
|
+
* Nombre total de joueurs (incluant invités non enregistrés). Défaut: 1
|
|
5891
|
+
* @type {number}
|
|
5892
|
+
* @memberof CreateGuestBookingRequest
|
|
5893
|
+
*/
|
|
5894
|
+
'playersCount'?: number;
|
|
5889
5895
|
/**
|
|
5890
5896
|
* Prénom de l\'invité
|
|
5891
5897
|
* @type {string}
|
|
@@ -6256,6 +6262,12 @@ export interface CreateSubscriptionPlanRequest {
|
|
|
6256
6262
|
* @memberof CreateSubscriptionPlanRequest
|
|
6257
6263
|
*/
|
|
6258
6264
|
'interval': PlanInterval;
|
|
6265
|
+
/**
|
|
6266
|
+
*
|
|
6267
|
+
* @type {number}
|
|
6268
|
+
* @memberof CreateSubscriptionPlanRequest
|
|
6269
|
+
*/
|
|
6270
|
+
'commitmentDurationMonths'?: number;
|
|
6259
6271
|
/**
|
|
6260
6272
|
*
|
|
6261
6273
|
* @type {CreateSubscriptionPlanRequestDiscount}
|
|
@@ -7158,6 +7170,18 @@ export interface EventBookingDetailSummary {
|
|
|
7158
7170
|
* @memberof EventBookingDetailSummary
|
|
7159
7171
|
*/
|
|
7160
7172
|
'status': EventBookingStatus;
|
|
7173
|
+
/**
|
|
7174
|
+
*
|
|
7175
|
+
* @type {EventBookingDetailSummaryBookingStatus}
|
|
7176
|
+
* @memberof EventBookingDetailSummary
|
|
7177
|
+
*/
|
|
7178
|
+
'bookingStatus'?: EventBookingDetailSummaryBookingStatus | null;
|
|
7179
|
+
/**
|
|
7180
|
+
*
|
|
7181
|
+
* @type {string}
|
|
7182
|
+
* @memberof EventBookingDetailSummary
|
|
7183
|
+
*/
|
|
7184
|
+
'userId'?: string;
|
|
7161
7185
|
/**
|
|
7162
7186
|
*
|
|
7163
7187
|
* @type {string}
|
|
@@ -7170,6 +7194,12 @@ export interface EventBookingDetailSummary {
|
|
|
7170
7194
|
* @memberof EventBookingDetailSummary
|
|
7171
7195
|
*/
|
|
7172
7196
|
'players': Array<string>;
|
|
7197
|
+
/**
|
|
7198
|
+
*
|
|
7199
|
+
* @type {Array<string>}
|
|
7200
|
+
* @memberof EventBookingDetailSummary
|
|
7201
|
+
*/
|
|
7202
|
+
'playersIds'?: Array<string>;
|
|
7173
7203
|
/**
|
|
7174
7204
|
*
|
|
7175
7205
|
* @type {Array<EventBookingDetailSummaryPartnersInner>}
|
|
@@ -7182,6 +7212,36 @@ export interface EventBookingDetailSummary {
|
|
|
7182
7212
|
* @memberof EventBookingDetailSummary
|
|
7183
7213
|
*/
|
|
7184
7214
|
'paymentPerPlayers': Array<EventBookingDetailSummaryPaymentPerPlayersInner>;
|
|
7215
|
+
/**
|
|
7216
|
+
*
|
|
7217
|
+
* @type {Array<EventBookingDetailSummaryPaymentByPlayersStatusInner>}
|
|
7218
|
+
* @memberof EventBookingDetailSummary
|
|
7219
|
+
*/
|
|
7220
|
+
'paymentByPlayersStatus'?: Array<EventBookingDetailSummaryPaymentByPlayersStatusInner>;
|
|
7221
|
+
/**
|
|
7222
|
+
*
|
|
7223
|
+
* @type {boolean}
|
|
7224
|
+
* @memberof EventBookingDetailSummary
|
|
7225
|
+
*/
|
|
7226
|
+
'isCreatorPayingAll'?: boolean;
|
|
7227
|
+
/**
|
|
7228
|
+
*
|
|
7229
|
+
* @type {number}
|
|
7230
|
+
* @memberof EventBookingDetailSummary
|
|
7231
|
+
*/
|
|
7232
|
+
'myAmountToPay'?: number | null;
|
|
7233
|
+
/**
|
|
7234
|
+
*
|
|
7235
|
+
* @type {InvoiceStatus}
|
|
7236
|
+
* @memberof EventBookingDetailSummary
|
|
7237
|
+
*/
|
|
7238
|
+
'myPaymentStatus'?: InvoiceStatus | null;
|
|
7239
|
+
/**
|
|
7240
|
+
*
|
|
7241
|
+
* @type {string}
|
|
7242
|
+
* @memberof EventBookingDetailSummary
|
|
7243
|
+
*/
|
|
7244
|
+
'paymentUrl'?: string | null;
|
|
7185
7245
|
/**
|
|
7186
7246
|
*
|
|
7187
7247
|
* @type {string}
|
|
@@ -7218,6 +7278,42 @@ export interface EventBookingDetailSummary {
|
|
|
7218
7278
|
* @memberof EventBookingDetailSummary
|
|
7219
7279
|
*/
|
|
7220
7280
|
'userParticipationStatus'?: EventBookingDetailSummaryUserParticipationStatusEnum;
|
|
7281
|
+
/**
|
|
7282
|
+
*
|
|
7283
|
+
* @type {number}
|
|
7284
|
+
* @memberof EventBookingDetailSummary
|
|
7285
|
+
*/
|
|
7286
|
+
'participantsCount'?: number | null;
|
|
7287
|
+
/**
|
|
7288
|
+
*
|
|
7289
|
+
* @type {number}
|
|
7290
|
+
* @memberof EventBookingDetailSummary
|
|
7291
|
+
*/
|
|
7292
|
+
'playersCount'?: number | null;
|
|
7293
|
+
/**
|
|
7294
|
+
*
|
|
7295
|
+
* @type {number}
|
|
7296
|
+
* @memberof EventBookingDetailSummary
|
|
7297
|
+
*/
|
|
7298
|
+
'reservedPlayerCount'?: number | null;
|
|
7299
|
+
/**
|
|
7300
|
+
*
|
|
7301
|
+
* @type {number}
|
|
7302
|
+
* @memberof EventBookingDetailSummary
|
|
7303
|
+
*/
|
|
7304
|
+
'guestPlayersCount'?: number | null;
|
|
7305
|
+
/**
|
|
7306
|
+
*
|
|
7307
|
+
* @type {number}
|
|
7308
|
+
* @memberof EventBookingDetailSummary
|
|
7309
|
+
*/
|
|
7310
|
+
'guestPaymentsCount'?: number | null;
|
|
7311
|
+
/**
|
|
7312
|
+
*
|
|
7313
|
+
* @type {PaymentDistributionResult}
|
|
7314
|
+
* @memberof EventBookingDetailSummary
|
|
7315
|
+
*/
|
|
7316
|
+
'paymentDistribution'?: PaymentDistributionResult;
|
|
7221
7317
|
/**
|
|
7222
7318
|
*
|
|
7223
7319
|
* @type {string}
|
|
@@ -7237,6 +7333,13 @@ export declare const EventBookingDetailSummaryUserParticipationStatusEnum: {
|
|
|
7237
7333
|
readonly Waitlist: "waitlist";
|
|
7238
7334
|
};
|
|
7239
7335
|
export type EventBookingDetailSummaryUserParticipationStatusEnum = typeof EventBookingDetailSummaryUserParticipationStatusEnum[keyof typeof EventBookingDetailSummaryUserParticipationStatusEnum];
|
|
7336
|
+
/**
|
|
7337
|
+
*
|
|
7338
|
+
* @export
|
|
7339
|
+
* @interface EventBookingDetailSummaryBookingStatus
|
|
7340
|
+
*/
|
|
7341
|
+
export interface EventBookingDetailSummaryBookingStatus {
|
|
7342
|
+
}
|
|
7240
7343
|
/**
|
|
7241
7344
|
*
|
|
7242
7345
|
* @export
|
|
@@ -7268,24 +7371,127 @@ export interface EventBookingDetailSummaryPartnersInner {
|
|
|
7268
7371
|
*/
|
|
7269
7372
|
'id': string;
|
|
7270
7373
|
}
|
|
7374
|
+
/**
|
|
7375
|
+
*
|
|
7376
|
+
* @export
|
|
7377
|
+
* @interface EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7378
|
+
*/
|
|
7379
|
+
export interface EventBookingDetailSummaryPaymentByPlayersStatusInner {
|
|
7380
|
+
/**
|
|
7381
|
+
*
|
|
7382
|
+
* @type {string}
|
|
7383
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7384
|
+
*/
|
|
7385
|
+
'paymentUrl'?: string | null;
|
|
7386
|
+
/**
|
|
7387
|
+
*
|
|
7388
|
+
* @type {string}
|
|
7389
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7390
|
+
*/
|
|
7391
|
+
'response'?: string | null;
|
|
7392
|
+
/**
|
|
7393
|
+
*
|
|
7394
|
+
* @type {boolean}
|
|
7395
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7396
|
+
*/
|
|
7397
|
+
'accepted'?: boolean;
|
|
7398
|
+
/**
|
|
7399
|
+
*
|
|
7400
|
+
* @type {number}
|
|
7401
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7402
|
+
*/
|
|
7403
|
+
'amountToPay'?: number | null;
|
|
7404
|
+
/**
|
|
7405
|
+
*
|
|
7406
|
+
* @type {PaymentMethod}
|
|
7407
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7408
|
+
*/
|
|
7409
|
+
'paymentMethod'?: PaymentMethod | null;
|
|
7410
|
+
/**
|
|
7411
|
+
*
|
|
7412
|
+
* @type {InvoiceStatus}
|
|
7413
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7414
|
+
*/
|
|
7415
|
+
'invoiceStatus'?: InvoiceStatus | null;
|
|
7416
|
+
/**
|
|
7417
|
+
*
|
|
7418
|
+
* @type {string}
|
|
7419
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7420
|
+
*/
|
|
7421
|
+
'invoiceId'?: string | null;
|
|
7422
|
+
/**
|
|
7423
|
+
*
|
|
7424
|
+
* @type {string}
|
|
7425
|
+
* @memberof EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
7426
|
+
*/
|
|
7427
|
+
'playerId': string;
|
|
7428
|
+
}
|
|
7271
7429
|
/**
|
|
7272
7430
|
*
|
|
7273
7431
|
* @export
|
|
7274
7432
|
* @interface EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7275
7433
|
*/
|
|
7276
7434
|
export interface EventBookingDetailSummaryPaymentPerPlayersInner {
|
|
7435
|
+
/**
|
|
7436
|
+
*
|
|
7437
|
+
* @type {boolean}
|
|
7438
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7439
|
+
*/
|
|
7440
|
+
'isCurrentUser'?: boolean;
|
|
7441
|
+
/**
|
|
7442
|
+
*
|
|
7443
|
+
* @type {string}
|
|
7444
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7445
|
+
*/
|
|
7446
|
+
'response'?: string | null;
|
|
7447
|
+
/**
|
|
7448
|
+
*
|
|
7449
|
+
* @type {boolean}
|
|
7450
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7451
|
+
*/
|
|
7452
|
+
'accepted'?: boolean | null;
|
|
7453
|
+
/**
|
|
7454
|
+
*
|
|
7455
|
+
* @type {PaymentMethod}
|
|
7456
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7457
|
+
*/
|
|
7458
|
+
'paymentMethod'?: PaymentMethod | null;
|
|
7459
|
+
/**
|
|
7460
|
+
*
|
|
7461
|
+
* @type {string}
|
|
7462
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7463
|
+
*/
|
|
7464
|
+
'invoiceId'?: string | null;
|
|
7465
|
+
/**
|
|
7466
|
+
*
|
|
7467
|
+
* @type {number}
|
|
7468
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7469
|
+
*/
|
|
7470
|
+
'amountToPay'?: number | null;
|
|
7277
7471
|
/**
|
|
7278
7472
|
*
|
|
7279
7473
|
* @type {number}
|
|
7280
7474
|
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7281
7475
|
*/
|
|
7282
7476
|
'amount'?: number | null;
|
|
7477
|
+
/**
|
|
7478
|
+
*
|
|
7479
|
+
* @type {InvoiceStatus}
|
|
7480
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7481
|
+
*/
|
|
7482
|
+
'invoiceStatus'?: InvoiceStatus | null;
|
|
7283
7483
|
/**
|
|
7284
7484
|
*
|
|
7285
7485
|
* @type {InvoiceStatus}
|
|
7286
7486
|
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7287
7487
|
*/
|
|
7288
7488
|
'status'?: InvoiceStatus | null;
|
|
7489
|
+
/**
|
|
7490
|
+
*
|
|
7491
|
+
* @type {string}
|
|
7492
|
+
* @memberof EventBookingDetailSummaryPaymentPerPlayersInner
|
|
7493
|
+
*/
|
|
7494
|
+
'photo'?: string | null;
|
|
7289
7495
|
/**
|
|
7290
7496
|
*
|
|
7291
7497
|
* @type {string}
|
|
@@ -13923,6 +14129,12 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
13923
14129
|
* @memberof PublicSubscriptionPlanResponse
|
|
13924
14130
|
*/
|
|
13925
14131
|
'name': string;
|
|
14132
|
+
/**
|
|
14133
|
+
*
|
|
14134
|
+
* @type {number}
|
|
14135
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
14136
|
+
*/
|
|
14137
|
+
'subscribersCount': number;
|
|
13926
14138
|
/**
|
|
13927
14139
|
*
|
|
13928
14140
|
* @type {number}
|
|
@@ -13959,6 +14171,12 @@ export interface PublicSubscriptionPlanResponse {
|
|
|
13959
14171
|
* @memberof PublicSubscriptionPlanResponse
|
|
13960
14172
|
*/
|
|
13961
14173
|
'discount'?: SubscriptionPlanDiscountResponse;
|
|
14174
|
+
/**
|
|
14175
|
+
*
|
|
14176
|
+
* @type {number}
|
|
14177
|
+
* @memberof PublicSubscriptionPlanResponse
|
|
14178
|
+
*/
|
|
14179
|
+
'commitmentDurationMonths'?: number;
|
|
13962
14180
|
/**
|
|
13963
14181
|
*
|
|
13964
14182
|
* @type {boolean}
|
|
@@ -16703,6 +16921,12 @@ export interface SubscriptionPlanResponse {
|
|
|
16703
16921
|
* @memberof SubscriptionPlanResponse
|
|
16704
16922
|
*/
|
|
16705
16923
|
'productName': string;
|
|
16924
|
+
/**
|
|
16925
|
+
*
|
|
16926
|
+
* @type {number}
|
|
16927
|
+
* @memberof SubscriptionPlanResponse
|
|
16928
|
+
*/
|
|
16929
|
+
'subscribersCount': number;
|
|
16706
16930
|
/**
|
|
16707
16931
|
*
|
|
16708
16932
|
* @type {boolean}
|
|
@@ -16757,6 +16981,12 @@ export interface SubscriptionPlanResponse {
|
|
|
16757
16981
|
* @memberof SubscriptionPlanResponse
|
|
16758
16982
|
*/
|
|
16759
16983
|
'discount'?: SubscriptionPlanDiscountResponse;
|
|
16984
|
+
/**
|
|
16985
|
+
*
|
|
16986
|
+
* @type {number}
|
|
16987
|
+
* @memberof SubscriptionPlanResponse
|
|
16988
|
+
*/
|
|
16989
|
+
'commitmentDurationMonths'?: number;
|
|
16760
16990
|
}
|
|
16761
16991
|
/**
|
|
16762
16992
|
*
|
|
@@ -18321,6 +18551,12 @@ export interface UpdateSubscriptionPlanRequest {
|
|
|
18321
18551
|
* @memberof UpdateSubscriptionPlanRequest
|
|
18322
18552
|
*/
|
|
18323
18553
|
'interval'?: PlanInterval;
|
|
18554
|
+
/**
|
|
18555
|
+
*
|
|
18556
|
+
* @type {number}
|
|
18557
|
+
* @memberof UpdateSubscriptionPlanRequest
|
|
18558
|
+
*/
|
|
18559
|
+
'commitmentDurationMonths'?: number;
|
|
18324
18560
|
/**
|
|
18325
18561
|
*
|
|
18326
18562
|
* @type {SubscriptionPlanDiscountUpdateRequest}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**slotIds** | **Array<string>** | ID du créneau à réserver | [default to undefined]
|
|
9
|
+
**playersCount** | **number** | Nombre total de joueurs (incluant invités non enregistrés). Défaut: 1 | [optional] [default to undefined]
|
|
9
10
|
**firstName** | **string** | Prénom de l\'invité | [default to undefined]
|
|
10
11
|
**lastName** | **string** | Nom de famille de l\'invité | [default to undefined]
|
|
11
12
|
**email** | **string** | Email de l\'invité | [default to undefined]
|
|
@@ -20,6 +21,7 @@ import { CreateGuestBookingRequest } from '@tennac-booking/sdk';
|
|
|
20
21
|
|
|
21
22
|
const instance: CreateGuestBookingRequest = {
|
|
22
23
|
slotIds,
|
|
24
|
+
playersCount,
|
|
23
25
|
firstName,
|
|
24
26
|
lastName,
|
|
25
27
|
email,
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**prices** | [**Array<PlanPriceInput>**](PlanPriceInput.md) | | [default to undefined]
|
|
12
12
|
**currency** | **string** | | [default to undefined]
|
|
13
13
|
**interval** | [**PlanInterval**](PlanInterval.md) | | [default to undefined]
|
|
14
|
+
**commitmentDurationMonths** | **number** | | [optional] [default to undefined]
|
|
14
15
|
**discount** | [**CreateSubscriptionPlanRequestDiscount**](CreateSubscriptionPlanRequestDiscount.md) | | [optional] [default to undefined]
|
|
15
16
|
|
|
16
17
|
## Example
|
|
@@ -25,6 +26,7 @@ const instance: CreateSubscriptionPlanRequest = {
|
|
|
25
26
|
prices,
|
|
26
27
|
currency,
|
|
27
28
|
interval,
|
|
29
|
+
commitmentDurationMonths,
|
|
28
30
|
discount,
|
|
29
31
|
};
|
|
30
32
|
```
|
|
@@ -7,16 +7,30 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**id** | **string** | | [default to undefined]
|
|
9
9
|
**status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
|
|
10
|
+
**bookingStatus** | [**EventBookingDetailSummaryBookingStatus**](EventBookingDetailSummaryBookingStatus.md) | | [optional] [default to undefined]
|
|
11
|
+
**userId** | **string** | | [optional] [default to undefined]
|
|
10
12
|
**teamName** | **string** | | [optional] [default to undefined]
|
|
11
13
|
**players** | **Array<string>** | | [default to undefined]
|
|
14
|
+
**playersIds** | **Array<string>** | | [optional] [default to undefined]
|
|
12
15
|
**partners** | [**Array<EventBookingDetailSummaryPartnersInner>**](EventBookingDetailSummaryPartnersInner.md) | | [optional] [default to undefined]
|
|
13
16
|
**paymentPerPlayers** | [**Array<EventBookingDetailSummaryPaymentPerPlayersInner>**](EventBookingDetailSummaryPaymentPerPlayersInner.md) | Détails des paiements par joueur pour cette réservation d\'événement. Remplace l\'ancien champ `invoices`. | [default to undefined]
|
|
17
|
+
**paymentByPlayersStatus** | [**Array<EventBookingDetailSummaryPaymentByPlayersStatusInner>**](EventBookingDetailSummaryPaymentByPlayersStatusInner.md) | | [optional] [default to undefined]
|
|
18
|
+
**isCreatorPayingAll** | **boolean** | | [optional] [default to undefined]
|
|
19
|
+
**myAmountToPay** | **number** | | [optional] [default to undefined]
|
|
20
|
+
**myPaymentStatus** | [**InvoiceStatus**](InvoiceStatus.md) | | [optional] [default to undefined]
|
|
21
|
+
**paymentUrl** | **string** | | [optional] [default to undefined]
|
|
14
22
|
**creatorPaymentMethodId** | **string** | | [optional] [default to undefined]
|
|
15
23
|
**paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
|
|
16
24
|
**limitSetupDate** | **string** | | [optional] [default to undefined]
|
|
17
25
|
**limitCancellationDate** | **string** | | [optional] [default to undefined]
|
|
18
26
|
**waitListPosition** | **number** | Position dans la file d\'attente si l\'utilisateur est en waitlist pour cet événement | [optional] [default to undefined]
|
|
19
27
|
**userParticipationStatus** | **string** | Statut de participation de l\'utilisateur pour cet event booking | [optional] [default to undefined]
|
|
28
|
+
**participantsCount** | **number** | | [optional] [default to undefined]
|
|
29
|
+
**playersCount** | **number** | | [optional] [default to undefined]
|
|
30
|
+
**reservedPlayerCount** | **number** | | [optional] [default to undefined]
|
|
31
|
+
**guestPlayersCount** | **number** | | [optional] [default to undefined]
|
|
32
|
+
**guestPaymentsCount** | **number** | | [optional] [default to undefined]
|
|
33
|
+
**paymentDistribution** | [**PaymentDistributionResult**](PaymentDistributionResult.md) | | [optional] [default to undefined]
|
|
20
34
|
**createdAt** | **string** | | [default to undefined]
|
|
21
35
|
**updatedAt** | **string** | | [default to undefined]
|
|
22
36
|
|
|
@@ -28,16 +42,30 @@ import { EventBookingDetailSummary } from '@tennac-booking/sdk';
|
|
|
28
42
|
const instance: EventBookingDetailSummary = {
|
|
29
43
|
id,
|
|
30
44
|
status,
|
|
45
|
+
bookingStatus,
|
|
46
|
+
userId,
|
|
31
47
|
teamName,
|
|
32
48
|
players,
|
|
49
|
+
playersIds,
|
|
33
50
|
partners,
|
|
34
51
|
paymentPerPlayers,
|
|
52
|
+
paymentByPlayersStatus,
|
|
53
|
+
isCreatorPayingAll,
|
|
54
|
+
myAmountToPay,
|
|
55
|
+
myPaymentStatus,
|
|
56
|
+
paymentUrl,
|
|
35
57
|
creatorPaymentMethodId,
|
|
36
58
|
paymentMethodSetupCompleted,
|
|
37
59
|
limitSetupDate,
|
|
38
60
|
limitCancellationDate,
|
|
39
61
|
waitListPosition,
|
|
40
62
|
userParticipationStatus,
|
|
63
|
+
participantsCount,
|
|
64
|
+
playersCount,
|
|
65
|
+
reservedPlayerCount,
|
|
66
|
+
guestPlayersCount,
|
|
67
|
+
guestPaymentsCount,
|
|
68
|
+
paymentDistribution,
|
|
41
69
|
createdAt,
|
|
42
70
|
updatedAt,
|
|
43
71
|
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# EventBookingDetailSummaryBookingStatus
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
|
|
9
|
+
## Example
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { EventBookingDetailSummaryBookingStatus } from '@tennac-booking/sdk';
|
|
13
|
+
|
|
14
|
+
const instance: EventBookingDetailSummaryBookingStatus = {
|
|
15
|
+
};
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# EventBookingDetailSummaryPaymentByPlayersStatusInner
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
## Properties
|
|
5
|
+
|
|
6
|
+
Name | Type | Description | Notes
|
|
7
|
+
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**paymentUrl** | **string** | | [optional] [default to undefined]
|
|
9
|
+
**response** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**accepted** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**amountToPay** | **number** | | [optional] [default to undefined]
|
|
12
|
+
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
|
|
13
|
+
**invoiceStatus** | [**InvoiceStatus**](InvoiceStatus.md) | | [optional] [default to undefined]
|
|
14
|
+
**invoiceId** | **string** | | [optional] [default to undefined]
|
|
15
|
+
**playerId** | **string** | | [default to undefined]
|
|
16
|
+
|
|
17
|
+
## Example
|
|
18
|
+
|
|
19
|
+
```typescript
|
|
20
|
+
import { EventBookingDetailSummaryPaymentByPlayersStatusInner } from '@tennac-booking/sdk';
|
|
21
|
+
|
|
22
|
+
const instance: EventBookingDetailSummaryPaymentByPlayersStatusInner = {
|
|
23
|
+
paymentUrl,
|
|
24
|
+
response,
|
|
25
|
+
accepted,
|
|
26
|
+
amountToPay,
|
|
27
|
+
paymentMethod,
|
|
28
|
+
invoiceStatus,
|
|
29
|
+
invoiceId,
|
|
30
|
+
playerId,
|
|
31
|
+
};
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
@@ -5,8 +5,16 @@
|
|
|
5
5
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
|
+
**isCurrentUser** | **boolean** | | [optional] [default to undefined]
|
|
9
|
+
**response** | **string** | | [optional] [default to undefined]
|
|
10
|
+
**accepted** | **boolean** | | [optional] [default to undefined]
|
|
11
|
+
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
|
|
12
|
+
**invoiceId** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**amountToPay** | **number** | | [optional] [default to undefined]
|
|
8
14
|
**amount** | **number** | | [optional] [default to undefined]
|
|
15
|
+
**invoiceStatus** | [**InvoiceStatus**](InvoiceStatus.md) | | [optional] [default to undefined]
|
|
9
16
|
**status** | [**InvoiceStatus**](InvoiceStatus.md) | | [optional] [default to undefined]
|
|
17
|
+
**photo** | **string** | | [optional] [default to undefined]
|
|
10
18
|
**profilePicture** | **string** | | [optional] [default to undefined]
|
|
11
19
|
**lastName** | **string** | | [optional] [default to undefined]
|
|
12
20
|
**firstName** | **string** | | [optional] [default to undefined]
|
|
@@ -18,8 +26,16 @@ Name | Type | Description | Notes
|
|
|
18
26
|
import { EventBookingDetailSummaryPaymentPerPlayersInner } from '@tennac-booking/sdk';
|
|
19
27
|
|
|
20
28
|
const instance: EventBookingDetailSummaryPaymentPerPlayersInner = {
|
|
29
|
+
isCurrentUser,
|
|
30
|
+
response,
|
|
31
|
+
accepted,
|
|
32
|
+
paymentMethod,
|
|
33
|
+
invoiceId,
|
|
34
|
+
amountToPay,
|
|
21
35
|
amount,
|
|
36
|
+
invoiceStatus,
|
|
22
37
|
status,
|
|
38
|
+
photo,
|
|
23
39
|
profilePicture,
|
|
24
40
|
lastName,
|
|
25
41
|
firstName,
|
|
@@ -7,12 +7,14 @@ Name | Type | Description | Notes
|
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**productId** | **string** | | [default to undefined]
|
|
9
9
|
**name** | **string** | | [default to undefined]
|
|
10
|
+
**subscribersCount** | **number** | | [default to undefined]
|
|
10
11
|
**amountInCents** | **number** | | [optional] [default to undefined]
|
|
11
12
|
**currency** | **string** | | [default to undefined]
|
|
12
13
|
**prices** | [**Array<PlanPrice>**](PlanPrice.md) | | [default to undefined]
|
|
13
14
|
**interval** | [**PlanInterval**](PlanInterval.md) | | [optional] [default to undefined]
|
|
14
15
|
**description** | **string** | | [optional] [default to undefined]
|
|
15
16
|
**discount** | [**SubscriptionPlanDiscountResponse**](SubscriptionPlanDiscountResponse.md) | | [optional] [default to undefined]
|
|
17
|
+
**commitmentDurationMonths** | **number** | | [optional] [default to undefined]
|
|
16
18
|
**isUserSubscribed** | **boolean** | | [optional] [default to undefined]
|
|
17
19
|
**userSubscriptionId** | **string** | | [optional] [default to undefined]
|
|
18
20
|
**userSubscriptionStatus** | **string** | | [optional] [default to undefined]
|
|
@@ -25,12 +27,14 @@ import { PublicSubscriptionPlanResponse } from '@tennac-booking/sdk';
|
|
|
25
27
|
const instance: PublicSubscriptionPlanResponse = {
|
|
26
28
|
productId,
|
|
27
29
|
name,
|
|
30
|
+
subscribersCount,
|
|
28
31
|
amountInCents,
|
|
29
32
|
currency,
|
|
30
33
|
prices,
|
|
31
34
|
interval,
|
|
32
35
|
description,
|
|
33
36
|
discount,
|
|
37
|
+
commitmentDurationMonths,
|
|
34
38
|
isUserSubscribed,
|
|
35
39
|
userSubscriptionId,
|
|
36
40
|
userSubscriptionStatus,
|
|
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**planId** | **string** | | [default to undefined]
|
|
9
9
|
**productId** | **string** | | [default to undefined]
|
|
10
10
|
**productName** | **string** | | [default to undefined]
|
|
11
|
+
**subscribersCount** | **number** | | [default to undefined]
|
|
11
12
|
**productActive** | **boolean** | | [default to undefined]
|
|
12
13
|
**priceId** | **string** | | [default to undefined]
|
|
13
14
|
**amountInCents** | **number** | | [optional] [default to undefined]
|
|
@@ -17,6 +18,7 @@ Name | Type | Description | Notes
|
|
|
17
18
|
**priceActive** | **boolean** | | [default to undefined]
|
|
18
19
|
**description** | **string** | | [optional] [default to undefined]
|
|
19
20
|
**discount** | [**SubscriptionPlanDiscountResponse**](SubscriptionPlanDiscountResponse.md) | | [optional] [default to undefined]
|
|
21
|
+
**commitmentDurationMonths** | **number** | | [optional] [default to undefined]
|
|
20
22
|
|
|
21
23
|
## Example
|
|
22
24
|
|
|
@@ -27,6 +29,7 @@ const instance: SubscriptionPlanResponse = {
|
|
|
27
29
|
planId,
|
|
28
30
|
productId,
|
|
29
31
|
productName,
|
|
32
|
+
subscribersCount,
|
|
30
33
|
productActive,
|
|
31
34
|
priceId,
|
|
32
35
|
amountInCents,
|
|
@@ -36,6 +39,7 @@ const instance: SubscriptionPlanResponse = {
|
|
|
36
39
|
priceActive,
|
|
37
40
|
description,
|
|
38
41
|
discount,
|
|
42
|
+
commitmentDurationMonths,
|
|
39
43
|
};
|
|
40
44
|
```
|
|
41
45
|
|
|
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**description** | **string** | | [optional] [default to undefined]
|
|
12
12
|
**currency** | **string** | | [optional] [default to undefined]
|
|
13
13
|
**interval** | [**PlanInterval**](PlanInterval.md) | | [optional] [default to undefined]
|
|
14
|
+
**commitmentDurationMonths** | **number** | | [optional] [default to undefined]
|
|
14
15
|
**discount** | [**SubscriptionPlanDiscountUpdateRequest**](SubscriptionPlanDiscountUpdateRequest.md) | | [optional] [default to undefined]
|
|
15
16
|
**newAmountInCents** | **number** | | [optional] [default to undefined]
|
|
16
17
|
|
|
@@ -26,6 +27,7 @@ const instance: UpdateSubscriptionPlanRequest = {
|
|
|
26
27
|
description,
|
|
27
28
|
currency,
|
|
28
29
|
interval,
|
|
30
|
+
commitmentDurationMonths,
|
|
29
31
|
discount,
|
|
30
32
|
newAmountInCents,
|
|
31
33
|
};
|