@tennac-booking/sdk 1.0.259 → 1.0.261

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.
@@ -73,6 +73,8 @@ docs/ClientRegister201Response.md
73
73
  docs/ClientRegisterRequest.md
74
74
  docs/ClientSubscription.md
75
75
  docs/ClientSubscriptionItem.md
76
+ docs/ClientSubscriptionPaymentMethod.md
77
+ docs/ClientSubscriptionPrice.md
76
78
  docs/ClientSubscriptionsResponse.md
77
79
  docs/CloseOpenBookingResponse.md
78
80
  docs/ClubAccessSettingsResponse.md
@@ -190,9 +192,11 @@ docs/EventBookingDetailSummary.md
190
192
  docs/EventBookingDetailSummaryPartnersInner.md
191
193
  docs/EventBookingDetailSummaryPaymentPerPlayersInner.md
192
194
  docs/EventBookingResponse.md
195
+ docs/EventBookingResponseInvoicesInner.md
196
+ docs/EventBookingResponseInvoicesInnerPaymentMethod.md
197
+ docs/EventBookingResponseInvoicesInnerStatus.md
193
198
  docs/EventBookingResponsePaymentPerPlayersInner.md
194
199
  docs/EventBookingResponsePlayersInner.md
195
- docs/EventBookingResponsePlayersInnerInvoiceStatus.md
196
200
  docs/EventBookingResponseSetupStatus.md
197
201
  docs/EventBookingStatus.md
198
202
  docs/EventConflictCheckRequest.md
package/README.md CHANGED
@@ -393,6 +393,8 @@ Class | Method | HTTP request | Description
393
393
  - [ClientRegisterRequest](docs/ClientRegisterRequest.md)
394
394
  - [ClientSubscription](docs/ClientSubscription.md)
395
395
  - [ClientSubscriptionItem](docs/ClientSubscriptionItem.md)
396
+ - [ClientSubscriptionPaymentMethod](docs/ClientSubscriptionPaymentMethod.md)
397
+ - [ClientSubscriptionPrice](docs/ClientSubscriptionPrice.md)
396
398
  - [ClientSubscriptionsResponse](docs/ClientSubscriptionsResponse.md)
397
399
  - [CloseOpenBookingResponse](docs/CloseOpenBookingResponse.md)
398
400
  - [ClubAccessSettingsResponse](docs/ClubAccessSettingsResponse.md)
@@ -497,9 +499,11 @@ Class | Method | HTTP request | Description
497
499
  - [EventBookingDetailSummaryPartnersInner](docs/EventBookingDetailSummaryPartnersInner.md)
498
500
  - [EventBookingDetailSummaryPaymentPerPlayersInner](docs/EventBookingDetailSummaryPaymentPerPlayersInner.md)
499
501
  - [EventBookingResponse](docs/EventBookingResponse.md)
502
+ - [EventBookingResponseInvoicesInner](docs/EventBookingResponseInvoicesInner.md)
503
+ - [EventBookingResponseInvoicesInnerPaymentMethod](docs/EventBookingResponseInvoicesInnerPaymentMethod.md)
504
+ - [EventBookingResponseInvoicesInnerStatus](docs/EventBookingResponseInvoicesInnerStatus.md)
500
505
  - [EventBookingResponsePaymentPerPlayersInner](docs/EventBookingResponsePaymentPerPlayersInner.md)
501
506
  - [EventBookingResponsePlayersInner](docs/EventBookingResponsePlayersInner.md)
502
- - [EventBookingResponsePlayersInnerInvoiceStatus](docs/EventBookingResponsePlayersInnerInvoiceStatus.md)
503
507
  - [EventBookingResponseSetupStatus](docs/EventBookingResponseSetupStatus.md)
504
508
  - [EventBookingStatus](docs/EventBookingStatus.md)
505
509
  - [EventConflictCheckRequest](docs/EventConflictCheckRequest.md)
package/api.ts CHANGED
@@ -2274,6 +2274,30 @@ export interface ClientSubscription {
2274
2274
  * @memberof ClientSubscription
2275
2275
  */
2276
2276
  'items': Array<ClientSubscriptionItem>;
2277
+ /**
2278
+ *
2279
+ * @type {ClientSubscriptionPrice}
2280
+ * @memberof ClientSubscription
2281
+ */
2282
+ 'price'?: ClientSubscriptionPrice | null;
2283
+ /**
2284
+ *
2285
+ * @type {number}
2286
+ * @memberof ClientSubscription
2287
+ */
2288
+ 'dueDate'?: number | null;
2289
+ /**
2290
+ *
2291
+ * @type {number}
2292
+ * @memberof ClientSubscription
2293
+ */
2294
+ 'nextPaymentDate'?: number | null;
2295
+ /**
2296
+ *
2297
+ * @type {ClientSubscriptionPaymentMethod}
2298
+ * @memberof ClientSubscription
2299
+ */
2300
+ 'paymentMethod'?: ClientSubscriptionPaymentMethod | null;
2277
2301
  }
2278
2302
  /**
2279
2303
  * Item d\'abonnement Stripe simplifié
@@ -2299,7 +2323,133 @@ export interface ClientSubscriptionItem {
2299
2323
  * @memberof ClientSubscriptionItem
2300
2324
  */
2301
2325
  'quantity'?: number;
2326
+ /**
2327
+ *
2328
+ * @type {number}
2329
+ * @memberof ClientSubscriptionItem
2330
+ */
2331
+ 'amountInCents'?: number | null;
2332
+ /**
2333
+ *
2334
+ * @type {string}
2335
+ * @memberof ClientSubscriptionItem
2336
+ */
2337
+ 'currency'?: string | null;
2338
+ /**
2339
+ *
2340
+ * @type {PlanInterval}
2341
+ * @memberof ClientSubscriptionItem
2342
+ */
2343
+ 'interval'?: PlanInterval | null;
2344
+ /**
2345
+ *
2346
+ * @type {string}
2347
+ * @memberof ClientSubscriptionItem
2348
+ */
2349
+ 'priceNickname'?: string | null;
2350
+ /**
2351
+ *
2352
+ * @type {string}
2353
+ * @memberof ClientSubscriptionItem
2354
+ */
2355
+ 'productName'?: string | null;
2356
+ }
2357
+
2358
+
2359
+ /**
2360
+ *
2361
+ * @export
2362
+ * @interface ClientSubscriptionPaymentMethod
2363
+ */
2364
+ export interface ClientSubscriptionPaymentMethod {
2365
+ /**
2366
+ *
2367
+ * @type {string}
2368
+ * @memberof ClientSubscriptionPaymentMethod
2369
+ */
2370
+ 'id'?: string | null;
2371
+ /**
2372
+ *
2373
+ * @type {string}
2374
+ * @memberof ClientSubscriptionPaymentMethod
2375
+ */
2376
+ 'type'?: string | null;
2377
+ /**
2378
+ *
2379
+ * @type {string}
2380
+ * @memberof ClientSubscriptionPaymentMethod
2381
+ */
2382
+ 'brand'?: string | null;
2383
+ /**
2384
+ *
2385
+ * @type {string}
2386
+ * @memberof ClientSubscriptionPaymentMethod
2387
+ */
2388
+ 'last4'?: string | null;
2389
+ /**
2390
+ *
2391
+ * @type {number}
2392
+ * @memberof ClientSubscriptionPaymentMethod
2393
+ */
2394
+ 'expMonth'?: number | null;
2395
+ /**
2396
+ *
2397
+ * @type {number}
2398
+ * @memberof ClientSubscriptionPaymentMethod
2399
+ */
2400
+ 'expYear'?: number | null;
2401
+ }
2402
+ /**
2403
+ *
2404
+ * @export
2405
+ * @interface ClientSubscriptionPrice
2406
+ */
2407
+ export interface ClientSubscriptionPrice {
2408
+ /**
2409
+ *
2410
+ * @type {string}
2411
+ * @memberof ClientSubscriptionPrice
2412
+ */
2413
+ 'priceId': string;
2414
+ /**
2415
+ *
2416
+ * @type {string}
2417
+ * @memberof ClientSubscriptionPrice
2418
+ */
2419
+ 'productId'?: string;
2420
+ /**
2421
+ *
2422
+ * @type {string}
2423
+ * @memberof ClientSubscriptionPrice
2424
+ */
2425
+ 'productName'?: string | null;
2426
+ /**
2427
+ *
2428
+ * @type {string}
2429
+ * @memberof ClientSubscriptionPrice
2430
+ */
2431
+ 'priceNickname'?: string | null;
2432
+ /**
2433
+ *
2434
+ * @type {number}
2435
+ * @memberof ClientSubscriptionPrice
2436
+ */
2437
+ 'amountInCents'?: number | null;
2438
+ /**
2439
+ *
2440
+ * @type {string}
2441
+ * @memberof ClientSubscriptionPrice
2442
+ */
2443
+ 'currency'?: string | null;
2444
+ /**
2445
+ *
2446
+ * @type {PlanInterval}
2447
+ * @memberof ClientSubscriptionPrice
2448
+ */
2449
+ 'interval'?: PlanInterval | null;
2302
2450
  }
2451
+
2452
+
2303
2453
  /**
2304
2454
  * Réponse liste des abonnements Stripe du client
2305
2455
  * @export
@@ -2312,6 +2462,12 @@ export interface ClientSubscriptionsResponse {
2312
2462
  * @memberof ClientSubscriptionsResponse
2313
2463
  */
2314
2464
  'subscriptions': Array<ClientSubscription>;
2465
+ /**
2466
+ *
2467
+ * @type {string}
2468
+ * @memberof ClientSubscriptionsResponse
2469
+ */
2470
+ 'billingPortalUrl'?: string | null;
2315
2471
  }
2316
2472
  /**
2317
2473
  *
@@ -6474,6 +6630,12 @@ export interface EventBookingResponse {
6474
6630
  * @memberof EventBookingResponse
6475
6631
  */
6476
6632
  'teamName'?: string | null;
6633
+ /**
6634
+ *
6635
+ * @type {Array<EventBookingResponseInvoicesInner>}
6636
+ * @memberof EventBookingResponse
6637
+ */
6638
+ 'invoices'?: Array<EventBookingResponseInvoicesInner>;
6477
6639
  /**
6478
6640
  *
6479
6641
  * @type {Array<EventBookingResponsePlayersInner>}
@@ -6531,6 +6693,57 @@ export interface EventBookingResponse {
6531
6693
  }
6532
6694
 
6533
6695
 
6696
+ /**
6697
+ *
6698
+ * @export
6699
+ * @interface EventBookingResponseInvoicesInner
6700
+ */
6701
+ export interface EventBookingResponseInvoicesInner {
6702
+ /**
6703
+ *
6704
+ * @type {EventBookingResponseInvoicesInnerPaymentMethod}
6705
+ * @memberof EventBookingResponseInvoicesInner
6706
+ */
6707
+ 'paymentMethod'?: EventBookingResponseInvoicesInnerPaymentMethod | null;
6708
+ /**
6709
+ *
6710
+ * @type {number}
6711
+ * @memberof EventBookingResponseInvoicesInner
6712
+ */
6713
+ 'amount'?: number | null;
6714
+ /**
6715
+ *
6716
+ * @type {EventBookingResponseInvoicesInnerStatus}
6717
+ * @memberof EventBookingResponseInvoicesInner
6718
+ */
6719
+ 'status'?: EventBookingResponseInvoicesInnerStatus | null;
6720
+ /**
6721
+ *
6722
+ * @type {string}
6723
+ * @memberof EventBookingResponseInvoicesInner
6724
+ */
6725
+ 'playerId': string;
6726
+ /**
6727
+ *
6728
+ * @type {string}
6729
+ * @memberof EventBookingResponseInvoicesInner
6730
+ */
6731
+ 'invoiceId': string;
6732
+ }
6733
+ /**
6734
+ *
6735
+ * @export
6736
+ * @interface EventBookingResponseInvoicesInnerPaymentMethod
6737
+ */
6738
+ export interface EventBookingResponseInvoicesInnerPaymentMethod {
6739
+ }
6740
+ /**
6741
+ *
6742
+ * @export
6743
+ * @interface EventBookingResponseInvoicesInnerStatus
6744
+ */
6745
+ export interface EventBookingResponseInvoicesInnerStatus {
6746
+ }
6534
6747
  /**
6535
6748
  *
6536
6749
  * @export
@@ -6545,10 +6758,10 @@ export interface EventBookingResponsePaymentPerPlayersInner {
6545
6758
  'amount'?: number | null;
6546
6759
  /**
6547
6760
  *
6548
- * @type {EventBookingResponsePlayersInnerInvoiceStatus}
6761
+ * @type {EventBookingResponseInvoicesInnerStatus}
6549
6762
  * @memberof EventBookingResponsePaymentPerPlayersInner
6550
6763
  */
6551
- 'status'?: EventBookingResponsePlayersInnerInvoiceStatus | null;
6764
+ 'status'?: EventBookingResponseInvoicesInnerStatus | null;
6552
6765
  /**
6553
6766
  *
6554
6767
  * @type {string}
@@ -6582,10 +6795,10 @@ export interface EventBookingResponsePaymentPerPlayersInner {
6582
6795
  export interface EventBookingResponsePlayersInner {
6583
6796
  /**
6584
6797
  *
6585
- * @type {EventBookingResponsePlayersInnerInvoiceStatus}
6798
+ * @type {EventBookingResponseInvoicesInnerStatus}
6586
6799
  * @memberof EventBookingResponsePlayersInner
6587
6800
  */
6588
- 'invoiceStatus'?: EventBookingResponsePlayersInnerInvoiceStatus | null;
6801
+ 'invoiceStatus'?: EventBookingResponseInvoicesInnerStatus | null;
6589
6802
  /**
6590
6803
  *
6591
6804
  * @type {string}
@@ -6611,13 +6824,6 @@ export interface EventBookingResponsePlayersInner {
6611
6824
  */
6612
6825
  'id': string;
6613
6826
  }
6614
- /**
6615
- *
6616
- * @export
6617
- * @interface EventBookingResponsePlayersInnerInvoiceStatus
6618
- */
6619
- export interface EventBookingResponsePlayersInnerInvoiceStatus {
6620
- }
6621
6827
  /**
6622
6828
  *
6623
6829
  * @export
@@ -7799,6 +8005,12 @@ export interface GetOpenEventBookingsBySport200ResponseEventBookingsInner {
7799
8005
  * @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
7800
8006
  */
7801
8007
  'teamName'?: string | null;
8008
+ /**
8009
+ *
8010
+ * @type {Array<EventBookingResponseInvoicesInner>}
8011
+ * @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
8012
+ */
8013
+ 'invoices'?: Array<EventBookingResponseInvoicesInner>;
7802
8014
  /**
7803
8015
  *
7804
8016
  * @type {Array<EventBookingResponsePlayersInner>}
package/dist/api.d.ts CHANGED
@@ -2227,6 +2227,30 @@ export interface ClientSubscription {
2227
2227
  * @memberof ClientSubscription
2228
2228
  */
2229
2229
  'items': Array<ClientSubscriptionItem>;
2230
+ /**
2231
+ *
2232
+ * @type {ClientSubscriptionPrice}
2233
+ * @memberof ClientSubscription
2234
+ */
2235
+ 'price'?: ClientSubscriptionPrice | null;
2236
+ /**
2237
+ *
2238
+ * @type {number}
2239
+ * @memberof ClientSubscription
2240
+ */
2241
+ 'dueDate'?: number | null;
2242
+ /**
2243
+ *
2244
+ * @type {number}
2245
+ * @memberof ClientSubscription
2246
+ */
2247
+ 'nextPaymentDate'?: number | null;
2248
+ /**
2249
+ *
2250
+ * @type {ClientSubscriptionPaymentMethod}
2251
+ * @memberof ClientSubscription
2252
+ */
2253
+ 'paymentMethod'?: ClientSubscriptionPaymentMethod | null;
2230
2254
  }
2231
2255
  /**
2232
2256
  * Item d\'abonnement Stripe simplifié
@@ -2252,6 +2276,128 @@ export interface ClientSubscriptionItem {
2252
2276
  * @memberof ClientSubscriptionItem
2253
2277
  */
2254
2278
  'quantity'?: number;
2279
+ /**
2280
+ *
2281
+ * @type {number}
2282
+ * @memberof ClientSubscriptionItem
2283
+ */
2284
+ 'amountInCents'?: number | null;
2285
+ /**
2286
+ *
2287
+ * @type {string}
2288
+ * @memberof ClientSubscriptionItem
2289
+ */
2290
+ 'currency'?: string | null;
2291
+ /**
2292
+ *
2293
+ * @type {PlanInterval}
2294
+ * @memberof ClientSubscriptionItem
2295
+ */
2296
+ 'interval'?: PlanInterval | null;
2297
+ /**
2298
+ *
2299
+ * @type {string}
2300
+ * @memberof ClientSubscriptionItem
2301
+ */
2302
+ 'priceNickname'?: string | null;
2303
+ /**
2304
+ *
2305
+ * @type {string}
2306
+ * @memberof ClientSubscriptionItem
2307
+ */
2308
+ 'productName'?: string | null;
2309
+ }
2310
+ /**
2311
+ *
2312
+ * @export
2313
+ * @interface ClientSubscriptionPaymentMethod
2314
+ */
2315
+ export interface ClientSubscriptionPaymentMethod {
2316
+ /**
2317
+ *
2318
+ * @type {string}
2319
+ * @memberof ClientSubscriptionPaymentMethod
2320
+ */
2321
+ 'id'?: string | null;
2322
+ /**
2323
+ *
2324
+ * @type {string}
2325
+ * @memberof ClientSubscriptionPaymentMethod
2326
+ */
2327
+ 'type'?: string | null;
2328
+ /**
2329
+ *
2330
+ * @type {string}
2331
+ * @memberof ClientSubscriptionPaymentMethod
2332
+ */
2333
+ 'brand'?: string | null;
2334
+ /**
2335
+ *
2336
+ * @type {string}
2337
+ * @memberof ClientSubscriptionPaymentMethod
2338
+ */
2339
+ 'last4'?: string | null;
2340
+ /**
2341
+ *
2342
+ * @type {number}
2343
+ * @memberof ClientSubscriptionPaymentMethod
2344
+ */
2345
+ 'expMonth'?: number | null;
2346
+ /**
2347
+ *
2348
+ * @type {number}
2349
+ * @memberof ClientSubscriptionPaymentMethod
2350
+ */
2351
+ 'expYear'?: number | null;
2352
+ }
2353
+ /**
2354
+ *
2355
+ * @export
2356
+ * @interface ClientSubscriptionPrice
2357
+ */
2358
+ export interface ClientSubscriptionPrice {
2359
+ /**
2360
+ *
2361
+ * @type {string}
2362
+ * @memberof ClientSubscriptionPrice
2363
+ */
2364
+ 'priceId': string;
2365
+ /**
2366
+ *
2367
+ * @type {string}
2368
+ * @memberof ClientSubscriptionPrice
2369
+ */
2370
+ 'productId'?: string;
2371
+ /**
2372
+ *
2373
+ * @type {string}
2374
+ * @memberof ClientSubscriptionPrice
2375
+ */
2376
+ 'productName'?: string | null;
2377
+ /**
2378
+ *
2379
+ * @type {string}
2380
+ * @memberof ClientSubscriptionPrice
2381
+ */
2382
+ 'priceNickname'?: string | null;
2383
+ /**
2384
+ *
2385
+ * @type {number}
2386
+ * @memberof ClientSubscriptionPrice
2387
+ */
2388
+ 'amountInCents'?: number | null;
2389
+ /**
2390
+ *
2391
+ * @type {string}
2392
+ * @memberof ClientSubscriptionPrice
2393
+ */
2394
+ 'currency'?: string | null;
2395
+ /**
2396
+ *
2397
+ * @type {PlanInterval}
2398
+ * @memberof ClientSubscriptionPrice
2399
+ */
2400
+ 'interval'?: PlanInterval | null;
2255
2401
  }
2256
2402
  /**
2257
2403
  * Réponse liste des abonnements Stripe du client
@@ -2265,6 +2411,12 @@ export interface ClientSubscriptionsResponse {
2265
2411
  * @memberof ClientSubscriptionsResponse
2266
2412
  */
2267
2413
  'subscriptions': Array<ClientSubscription>;
2414
+ /**
2415
+ *
2416
+ * @type {string}
2417
+ * @memberof ClientSubscriptionsResponse
2418
+ */
2419
+ 'billingPortalUrl'?: string | null;
2268
2420
  }
2269
2421
  /**
2270
2422
  *
@@ -6390,6 +6542,12 @@ export interface EventBookingResponse {
6390
6542
  * @memberof EventBookingResponse
6391
6543
  */
6392
6544
  'teamName'?: string | null;
6545
+ /**
6546
+ *
6547
+ * @type {Array<EventBookingResponseInvoicesInner>}
6548
+ * @memberof EventBookingResponse
6549
+ */
6550
+ 'invoices'?: Array<EventBookingResponseInvoicesInner>;
6393
6551
  /**
6394
6552
  *
6395
6553
  * @type {Array<EventBookingResponsePlayersInner>}
@@ -6445,6 +6603,57 @@ export interface EventBookingResponse {
6445
6603
  */
6446
6604
  'updatedAt': string;
6447
6605
  }
6606
+ /**
6607
+ *
6608
+ * @export
6609
+ * @interface EventBookingResponseInvoicesInner
6610
+ */
6611
+ export interface EventBookingResponseInvoicesInner {
6612
+ /**
6613
+ *
6614
+ * @type {EventBookingResponseInvoicesInnerPaymentMethod}
6615
+ * @memberof EventBookingResponseInvoicesInner
6616
+ */
6617
+ 'paymentMethod'?: EventBookingResponseInvoicesInnerPaymentMethod | null;
6618
+ /**
6619
+ *
6620
+ * @type {number}
6621
+ * @memberof EventBookingResponseInvoicesInner
6622
+ */
6623
+ 'amount'?: number | null;
6624
+ /**
6625
+ *
6626
+ * @type {EventBookingResponseInvoicesInnerStatus}
6627
+ * @memberof EventBookingResponseInvoicesInner
6628
+ */
6629
+ 'status'?: EventBookingResponseInvoicesInnerStatus | null;
6630
+ /**
6631
+ *
6632
+ * @type {string}
6633
+ * @memberof EventBookingResponseInvoicesInner
6634
+ */
6635
+ 'playerId': string;
6636
+ /**
6637
+ *
6638
+ * @type {string}
6639
+ * @memberof EventBookingResponseInvoicesInner
6640
+ */
6641
+ 'invoiceId': string;
6642
+ }
6643
+ /**
6644
+ *
6645
+ * @export
6646
+ * @interface EventBookingResponseInvoicesInnerPaymentMethod
6647
+ */
6648
+ export interface EventBookingResponseInvoicesInnerPaymentMethod {
6649
+ }
6650
+ /**
6651
+ *
6652
+ * @export
6653
+ * @interface EventBookingResponseInvoicesInnerStatus
6654
+ */
6655
+ export interface EventBookingResponseInvoicesInnerStatus {
6656
+ }
6448
6657
  /**
6449
6658
  *
6450
6659
  * @export
@@ -6459,10 +6668,10 @@ export interface EventBookingResponsePaymentPerPlayersInner {
6459
6668
  'amount'?: number | null;
6460
6669
  /**
6461
6670
  *
6462
- * @type {EventBookingResponsePlayersInnerInvoiceStatus}
6671
+ * @type {EventBookingResponseInvoicesInnerStatus}
6463
6672
  * @memberof EventBookingResponsePaymentPerPlayersInner
6464
6673
  */
6465
- 'status'?: EventBookingResponsePlayersInnerInvoiceStatus | null;
6674
+ 'status'?: EventBookingResponseInvoicesInnerStatus | null;
6466
6675
  /**
6467
6676
  *
6468
6677
  * @type {string}
@@ -6496,10 +6705,10 @@ export interface EventBookingResponsePaymentPerPlayersInner {
6496
6705
  export interface EventBookingResponsePlayersInner {
6497
6706
  /**
6498
6707
  *
6499
- * @type {EventBookingResponsePlayersInnerInvoiceStatus}
6708
+ * @type {EventBookingResponseInvoicesInnerStatus}
6500
6709
  * @memberof EventBookingResponsePlayersInner
6501
6710
  */
6502
- 'invoiceStatus'?: EventBookingResponsePlayersInnerInvoiceStatus | null;
6711
+ 'invoiceStatus'?: EventBookingResponseInvoicesInnerStatus | null;
6503
6712
  /**
6504
6713
  *
6505
6714
  * @type {string}
@@ -6525,13 +6734,6 @@ export interface EventBookingResponsePlayersInner {
6525
6734
  */
6526
6735
  'id': string;
6527
6736
  }
6528
- /**
6529
- *
6530
- * @export
6531
- * @interface EventBookingResponsePlayersInnerInvoiceStatus
6532
- */
6533
- export interface EventBookingResponsePlayersInnerInvoiceStatus {
6534
- }
6535
6737
  /**
6536
6738
  *
6537
6739
  * @export
@@ -7697,6 +7899,12 @@ export interface GetOpenEventBookingsBySport200ResponseEventBookingsInner {
7697
7899
  * @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
7698
7900
  */
7699
7901
  'teamName'?: string | null;
7902
+ /**
7903
+ *
7904
+ * @type {Array<EventBookingResponseInvoicesInner>}
7905
+ * @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
7906
+ */
7907
+ 'invoices'?: Array<EventBookingResponseInvoicesInner>;
7700
7908
  /**
7701
7909
  *
7702
7910
  * @type {Array<EventBookingResponsePlayersInner>}
package/dist/esm/api.d.ts CHANGED
@@ -2227,6 +2227,30 @@ export interface ClientSubscription {
2227
2227
  * @memberof ClientSubscription
2228
2228
  */
2229
2229
  'items': Array<ClientSubscriptionItem>;
2230
+ /**
2231
+ *
2232
+ * @type {ClientSubscriptionPrice}
2233
+ * @memberof ClientSubscription
2234
+ */
2235
+ 'price'?: ClientSubscriptionPrice | null;
2236
+ /**
2237
+ *
2238
+ * @type {number}
2239
+ * @memberof ClientSubscription
2240
+ */
2241
+ 'dueDate'?: number | null;
2242
+ /**
2243
+ *
2244
+ * @type {number}
2245
+ * @memberof ClientSubscription
2246
+ */
2247
+ 'nextPaymentDate'?: number | null;
2248
+ /**
2249
+ *
2250
+ * @type {ClientSubscriptionPaymentMethod}
2251
+ * @memberof ClientSubscription
2252
+ */
2253
+ 'paymentMethod'?: ClientSubscriptionPaymentMethod | null;
2230
2254
  }
2231
2255
  /**
2232
2256
  * Item d\'abonnement Stripe simplifié
@@ -2252,6 +2276,128 @@ export interface ClientSubscriptionItem {
2252
2276
  * @memberof ClientSubscriptionItem
2253
2277
  */
2254
2278
  'quantity'?: number;
2279
+ /**
2280
+ *
2281
+ * @type {number}
2282
+ * @memberof ClientSubscriptionItem
2283
+ */
2284
+ 'amountInCents'?: number | null;
2285
+ /**
2286
+ *
2287
+ * @type {string}
2288
+ * @memberof ClientSubscriptionItem
2289
+ */
2290
+ 'currency'?: string | null;
2291
+ /**
2292
+ *
2293
+ * @type {PlanInterval}
2294
+ * @memberof ClientSubscriptionItem
2295
+ */
2296
+ 'interval'?: PlanInterval | null;
2297
+ /**
2298
+ *
2299
+ * @type {string}
2300
+ * @memberof ClientSubscriptionItem
2301
+ */
2302
+ 'priceNickname'?: string | null;
2303
+ /**
2304
+ *
2305
+ * @type {string}
2306
+ * @memberof ClientSubscriptionItem
2307
+ */
2308
+ 'productName'?: string | null;
2309
+ }
2310
+ /**
2311
+ *
2312
+ * @export
2313
+ * @interface ClientSubscriptionPaymentMethod
2314
+ */
2315
+ export interface ClientSubscriptionPaymentMethod {
2316
+ /**
2317
+ *
2318
+ * @type {string}
2319
+ * @memberof ClientSubscriptionPaymentMethod
2320
+ */
2321
+ 'id'?: string | null;
2322
+ /**
2323
+ *
2324
+ * @type {string}
2325
+ * @memberof ClientSubscriptionPaymentMethod
2326
+ */
2327
+ 'type'?: string | null;
2328
+ /**
2329
+ *
2330
+ * @type {string}
2331
+ * @memberof ClientSubscriptionPaymentMethod
2332
+ */
2333
+ 'brand'?: string | null;
2334
+ /**
2335
+ *
2336
+ * @type {string}
2337
+ * @memberof ClientSubscriptionPaymentMethod
2338
+ */
2339
+ 'last4'?: string | null;
2340
+ /**
2341
+ *
2342
+ * @type {number}
2343
+ * @memberof ClientSubscriptionPaymentMethod
2344
+ */
2345
+ 'expMonth'?: number | null;
2346
+ /**
2347
+ *
2348
+ * @type {number}
2349
+ * @memberof ClientSubscriptionPaymentMethod
2350
+ */
2351
+ 'expYear'?: number | null;
2352
+ }
2353
+ /**
2354
+ *
2355
+ * @export
2356
+ * @interface ClientSubscriptionPrice
2357
+ */
2358
+ export interface ClientSubscriptionPrice {
2359
+ /**
2360
+ *
2361
+ * @type {string}
2362
+ * @memberof ClientSubscriptionPrice
2363
+ */
2364
+ 'priceId': string;
2365
+ /**
2366
+ *
2367
+ * @type {string}
2368
+ * @memberof ClientSubscriptionPrice
2369
+ */
2370
+ 'productId'?: string;
2371
+ /**
2372
+ *
2373
+ * @type {string}
2374
+ * @memberof ClientSubscriptionPrice
2375
+ */
2376
+ 'productName'?: string | null;
2377
+ /**
2378
+ *
2379
+ * @type {string}
2380
+ * @memberof ClientSubscriptionPrice
2381
+ */
2382
+ 'priceNickname'?: string | null;
2383
+ /**
2384
+ *
2385
+ * @type {number}
2386
+ * @memberof ClientSubscriptionPrice
2387
+ */
2388
+ 'amountInCents'?: number | null;
2389
+ /**
2390
+ *
2391
+ * @type {string}
2392
+ * @memberof ClientSubscriptionPrice
2393
+ */
2394
+ 'currency'?: string | null;
2395
+ /**
2396
+ *
2397
+ * @type {PlanInterval}
2398
+ * @memberof ClientSubscriptionPrice
2399
+ */
2400
+ 'interval'?: PlanInterval | null;
2255
2401
  }
2256
2402
  /**
2257
2403
  * Réponse liste des abonnements Stripe du client
@@ -2265,6 +2411,12 @@ export interface ClientSubscriptionsResponse {
2265
2411
  * @memberof ClientSubscriptionsResponse
2266
2412
  */
2267
2413
  'subscriptions': Array<ClientSubscription>;
2414
+ /**
2415
+ *
2416
+ * @type {string}
2417
+ * @memberof ClientSubscriptionsResponse
2418
+ */
2419
+ 'billingPortalUrl'?: string | null;
2268
2420
  }
2269
2421
  /**
2270
2422
  *
@@ -6390,6 +6542,12 @@ export interface EventBookingResponse {
6390
6542
  * @memberof EventBookingResponse
6391
6543
  */
6392
6544
  'teamName'?: string | null;
6545
+ /**
6546
+ *
6547
+ * @type {Array<EventBookingResponseInvoicesInner>}
6548
+ * @memberof EventBookingResponse
6549
+ */
6550
+ 'invoices'?: Array<EventBookingResponseInvoicesInner>;
6393
6551
  /**
6394
6552
  *
6395
6553
  * @type {Array<EventBookingResponsePlayersInner>}
@@ -6445,6 +6603,57 @@ export interface EventBookingResponse {
6445
6603
  */
6446
6604
  'updatedAt': string;
6447
6605
  }
6606
+ /**
6607
+ *
6608
+ * @export
6609
+ * @interface EventBookingResponseInvoicesInner
6610
+ */
6611
+ export interface EventBookingResponseInvoicesInner {
6612
+ /**
6613
+ *
6614
+ * @type {EventBookingResponseInvoicesInnerPaymentMethod}
6615
+ * @memberof EventBookingResponseInvoicesInner
6616
+ */
6617
+ 'paymentMethod'?: EventBookingResponseInvoicesInnerPaymentMethod | null;
6618
+ /**
6619
+ *
6620
+ * @type {number}
6621
+ * @memberof EventBookingResponseInvoicesInner
6622
+ */
6623
+ 'amount'?: number | null;
6624
+ /**
6625
+ *
6626
+ * @type {EventBookingResponseInvoicesInnerStatus}
6627
+ * @memberof EventBookingResponseInvoicesInner
6628
+ */
6629
+ 'status'?: EventBookingResponseInvoicesInnerStatus | null;
6630
+ /**
6631
+ *
6632
+ * @type {string}
6633
+ * @memberof EventBookingResponseInvoicesInner
6634
+ */
6635
+ 'playerId': string;
6636
+ /**
6637
+ *
6638
+ * @type {string}
6639
+ * @memberof EventBookingResponseInvoicesInner
6640
+ */
6641
+ 'invoiceId': string;
6642
+ }
6643
+ /**
6644
+ *
6645
+ * @export
6646
+ * @interface EventBookingResponseInvoicesInnerPaymentMethod
6647
+ */
6648
+ export interface EventBookingResponseInvoicesInnerPaymentMethod {
6649
+ }
6650
+ /**
6651
+ *
6652
+ * @export
6653
+ * @interface EventBookingResponseInvoicesInnerStatus
6654
+ */
6655
+ export interface EventBookingResponseInvoicesInnerStatus {
6656
+ }
6448
6657
  /**
6449
6658
  *
6450
6659
  * @export
@@ -6459,10 +6668,10 @@ export interface EventBookingResponsePaymentPerPlayersInner {
6459
6668
  'amount'?: number | null;
6460
6669
  /**
6461
6670
  *
6462
- * @type {EventBookingResponsePlayersInnerInvoiceStatus}
6671
+ * @type {EventBookingResponseInvoicesInnerStatus}
6463
6672
  * @memberof EventBookingResponsePaymentPerPlayersInner
6464
6673
  */
6465
- 'status'?: EventBookingResponsePlayersInnerInvoiceStatus | null;
6674
+ 'status'?: EventBookingResponseInvoicesInnerStatus | null;
6466
6675
  /**
6467
6676
  *
6468
6677
  * @type {string}
@@ -6496,10 +6705,10 @@ export interface EventBookingResponsePaymentPerPlayersInner {
6496
6705
  export interface EventBookingResponsePlayersInner {
6497
6706
  /**
6498
6707
  *
6499
- * @type {EventBookingResponsePlayersInnerInvoiceStatus}
6708
+ * @type {EventBookingResponseInvoicesInnerStatus}
6500
6709
  * @memberof EventBookingResponsePlayersInner
6501
6710
  */
6502
- 'invoiceStatus'?: EventBookingResponsePlayersInnerInvoiceStatus | null;
6711
+ 'invoiceStatus'?: EventBookingResponseInvoicesInnerStatus | null;
6503
6712
  /**
6504
6713
  *
6505
6714
  * @type {string}
@@ -6525,13 +6734,6 @@ export interface EventBookingResponsePlayersInner {
6525
6734
  */
6526
6735
  'id': string;
6527
6736
  }
6528
- /**
6529
- *
6530
- * @export
6531
- * @interface EventBookingResponsePlayersInnerInvoiceStatus
6532
- */
6533
- export interface EventBookingResponsePlayersInnerInvoiceStatus {
6534
- }
6535
6737
  /**
6536
6738
  *
6537
6739
  * @export
@@ -7697,6 +7899,12 @@ export interface GetOpenEventBookingsBySport200ResponseEventBookingsInner {
7697
7899
  * @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
7698
7900
  */
7699
7901
  'teamName'?: string | null;
7902
+ /**
7903
+ *
7904
+ * @type {Array<EventBookingResponseInvoicesInner>}
7905
+ * @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
7906
+ */
7907
+ 'invoices'?: Array<EventBookingResponseInvoicesInner>;
7700
7908
  /**
7701
7909
  *
7702
7910
  * @type {Array<EventBookingResponsePlayersInner>}
@@ -12,6 +12,10 @@ Name | Type | Description | Notes
12
12
  **currentPeriodEnd** | **number** | | [default to undefined]
13
13
  **cancelAtPeriodEnd** | **boolean** | | [default to undefined]
14
14
  **items** | [**Array&lt;ClientSubscriptionItem&gt;**](ClientSubscriptionItem.md) | | [default to undefined]
15
+ **price** | [**ClientSubscriptionPrice**](ClientSubscriptionPrice.md) | | [optional] [default to undefined]
16
+ **dueDate** | **number** | | [optional] [default to undefined]
17
+ **nextPaymentDate** | **number** | | [optional] [default to undefined]
18
+ **paymentMethod** | [**ClientSubscriptionPaymentMethod**](ClientSubscriptionPaymentMethod.md) | | [optional] [default to undefined]
15
19
 
16
20
  ## Example
17
21
 
@@ -25,6 +29,10 @@ const instance: ClientSubscription = {
25
29
  currentPeriodEnd,
26
30
  cancelAtPeriodEnd,
27
31
  items,
32
+ price,
33
+ dueDate,
34
+ nextPaymentDate,
35
+ paymentMethod,
28
36
  };
29
37
  ```
30
38
 
@@ -9,6 +9,11 @@ Name | Type | Description | Notes
9
9
  **priceId** | **string** | | [default to undefined]
10
10
  **productId** | **string** | | [optional] [default to undefined]
11
11
  **quantity** | **number** | | [optional] [default to undefined]
12
+ **amountInCents** | **number** | | [optional] [default to undefined]
13
+ **currency** | **string** | | [optional] [default to undefined]
14
+ **interval** | [**PlanInterval**](PlanInterval.md) | | [optional] [default to undefined]
15
+ **priceNickname** | **string** | | [optional] [default to undefined]
16
+ **productName** | **string** | | [optional] [default to undefined]
12
17
 
13
18
  ## Example
14
19
 
@@ -19,6 +24,11 @@ const instance: ClientSubscriptionItem = {
19
24
  priceId,
20
25
  productId,
21
26
  quantity,
27
+ amountInCents,
28
+ currency,
29
+ interval,
30
+ priceNickname,
31
+ productName,
22
32
  };
23
33
  ```
24
34
 
@@ -0,0 +1,30 @@
1
+ # ClientSubscriptionPaymentMethod
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [optional] [default to undefined]
9
+ **type** | **string** | | [optional] [default to undefined]
10
+ **brand** | **string** | | [optional] [default to undefined]
11
+ **last4** | **string** | | [optional] [default to undefined]
12
+ **expMonth** | **number** | | [optional] [default to undefined]
13
+ **expYear** | **number** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { ClientSubscriptionPaymentMethod } from '@tennac-booking/sdk';
19
+
20
+ const instance: ClientSubscriptionPaymentMethod = {
21
+ id,
22
+ type,
23
+ brand,
24
+ last4,
25
+ expMonth,
26
+ expYear,
27
+ };
28
+ ```
29
+
30
+ [[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,32 @@
1
+ # ClientSubscriptionPrice
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **priceId** | **string** | | [default to undefined]
9
+ **productId** | **string** | | [optional] [default to undefined]
10
+ **productName** | **string** | | [optional] [default to undefined]
11
+ **priceNickname** | **string** | | [optional] [default to undefined]
12
+ **amountInCents** | **number** | | [optional] [default to undefined]
13
+ **currency** | **string** | | [optional] [default to undefined]
14
+ **interval** | [**PlanInterval**](PlanInterval.md) | | [optional] [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { ClientSubscriptionPrice } from '@tennac-booking/sdk';
20
+
21
+ const instance: ClientSubscriptionPrice = {
22
+ priceId,
23
+ productId,
24
+ productName,
25
+ priceNickname,
26
+ amountInCents,
27
+ currency,
28
+ interval,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -7,6 +7,7 @@ Réponse liste des abonnements Stripe du client
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **subscriptions** | [**Array&lt;ClientSubscription&gt;**](ClientSubscription.md) | | [default to undefined]
10
+ **billingPortalUrl** | **string** | | [optional] [default to undefined]
10
11
 
11
12
  ## Example
12
13
 
@@ -15,6 +16,7 @@ import { ClientSubscriptionsResponse } from '@tennac-booking/sdk';
15
16
 
16
17
  const instance: ClientSubscriptionsResponse = {
17
18
  subscriptions,
19
+ billingPortalUrl,
18
20
  };
19
21
  ```
20
22
 
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **id** | **string** | | [default to undefined]
9
9
  **status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
10
10
  **teamName** | **string** | | [optional] [default to undefined]
11
+ **invoices** | [**Array&lt;EventBookingResponseInvoicesInner&gt;**](EventBookingResponseInvoicesInner.md) | | [optional] [default to undefined]
11
12
  **players** | [**Array&lt;EventBookingResponsePlayersInner&gt;**](EventBookingResponsePlayersInner.md) | | [default to undefined]
12
13
  **paymentPerPlayers** | [**Array&lt;EventBookingResponsePaymentPerPlayersInner&gt;**](EventBookingResponsePaymentPerPlayersInner.md) | | [optional] [default to undefined]
13
14
  **setupLimitDate** | **string** | | [optional] [default to undefined]
@@ -27,6 +28,7 @@ const instance: EventBookingResponse = {
27
28
  id,
28
29
  status,
29
30
  teamName,
31
+ invoices,
30
32
  players,
31
33
  paymentPerPlayers,
32
34
  setupLimitDate,
@@ -0,0 +1,28 @@
1
+ # EventBookingResponseInvoicesInner
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **paymentMethod** | [**EventBookingResponseInvoicesInnerPaymentMethod**](EventBookingResponseInvoicesInnerPaymentMethod.md) | | [optional] [default to undefined]
9
+ **amount** | **number** | | [optional] [default to undefined]
10
+ **status** | [**EventBookingResponseInvoicesInnerStatus**](EventBookingResponseInvoicesInnerStatus.md) | | [optional] [default to undefined]
11
+ **playerId** | **string** | | [default to undefined]
12
+ **invoiceId** | **string** | | [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { EventBookingResponseInvoicesInner } from '@tennac-booking/sdk';
18
+
19
+ const instance: EventBookingResponseInvoicesInner = {
20
+ paymentMethod,
21
+ amount,
22
+ status,
23
+ playerId,
24
+ invoiceId,
25
+ };
26
+ ```
27
+
28
+ [[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,18 @@
1
+ # EventBookingResponseInvoicesInnerPaymentMethod
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+
9
+ ## Example
10
+
11
+ ```typescript
12
+ import { EventBookingResponseInvoicesInnerPaymentMethod } from '@tennac-booking/sdk';
13
+
14
+ const instance: EventBookingResponseInvoicesInnerPaymentMethod = {
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)
@@ -1,4 +1,4 @@
1
- # EventBookingResponsePlayersInnerInvoiceStatus
1
+ # EventBookingResponseInvoicesInnerStatus
2
2
 
3
3
 
4
4
  ## Properties
@@ -9,9 +9,9 @@ Name | Type | Description | Notes
9
9
  ## Example
10
10
 
11
11
  ```typescript
12
- import { EventBookingResponsePlayersInnerInvoiceStatus } from '@tennac-booking/sdk';
12
+ import { EventBookingResponseInvoicesInnerStatus } from '@tennac-booking/sdk';
13
13
 
14
- const instance: EventBookingResponsePlayersInnerInvoiceStatus = {
14
+ const instance: EventBookingResponseInvoicesInnerStatus = {
15
15
  };
16
16
  ```
17
17
 
@@ -6,7 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **amount** | **number** | | [optional] [default to undefined]
9
- **status** | [**EventBookingResponsePlayersInnerInvoiceStatus**](EventBookingResponsePlayersInnerInvoiceStatus.md) | | [optional] [default to undefined]
9
+ **status** | [**EventBookingResponseInvoicesInnerStatus**](EventBookingResponseInvoicesInnerStatus.md) | | [optional] [default to undefined]
10
10
  **photo** | **string** | | [optional] [default to undefined]
11
11
  **lastName** | **string** | | [optional] [default to undefined]
12
12
  **firstName** | **string** | | [optional] [default to undefined]
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **invoiceStatus** | [**EventBookingResponsePlayersInnerInvoiceStatus**](EventBookingResponsePlayersInnerInvoiceStatus.md) | | [optional] [default to undefined]
8
+ **invoiceStatus** | [**EventBookingResponseInvoicesInnerStatus**](EventBookingResponseInvoicesInnerStatus.md) | | [optional] [default to undefined]
9
9
  **profilePicture** | **string** | | [optional] [default to undefined]
10
10
  **lastName** | **string** | | [optional] [default to undefined]
11
11
  **firstName** | **string** | | [optional] [default to undefined]
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
8
8
  **id** | **string** | | [default to undefined]
9
9
  **status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
10
10
  **teamName** | **string** | | [optional] [default to undefined]
11
+ **invoices** | [**Array&lt;EventBookingResponseInvoicesInner&gt;**](EventBookingResponseInvoicesInner.md) | | [optional] [default to undefined]
11
12
  **players** | [**Array&lt;EventBookingResponsePlayersInner&gt;**](EventBookingResponsePlayersInner.md) | | [default to undefined]
12
13
  **paymentPerPlayers** | [**Array&lt;EventBookingResponsePaymentPerPlayersInner&gt;**](EventBookingResponsePaymentPerPlayersInner.md) | | [optional] [default to undefined]
13
14
  **setupLimitDate** | **string** | | [optional] [default to undefined]
@@ -30,6 +31,7 @@ const instance: GetOpenEventBookingsBySport200ResponseEventBookingsInner = {
30
31
  id,
31
32
  status,
32
33
  teamName,
34
+ invoices,
33
35
  players,
34
36
  paymentPerPlayers,
35
37
  setupLimitDate,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.259",
3
+ "version": "1.0.261",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {