@tennac-booking/sdk 1.0.96 → 1.0.98
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 +14 -0
- package/README.md +29 -2
- package/api.ts +6211 -4937
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +875 -15
- package/dist/api.js +694 -4
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +875 -15
- package/dist/esm/api.js +682 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ActiveSubscriptionResponse.md +22 -0
- package/docs/BookingPriceBody.md +2 -0
- package/docs/BookingPriceResponse.md +2 -0
- package/docs/ClientAccountOnboardingRequest.md +29 -0
- package/docs/ClientAccountOnboardingResponse.md +34 -0
- package/docs/ClientAccountResponse.md +44 -0
- package/docs/ClientAccountsApi.md +408 -0
- package/docs/ClientApi.md +109 -0
- package/docs/ClientMeResponse.md +28 -0
- package/docs/ClientOnboardingRequestBody.md +33 -0
- package/docs/ClientOnboardingResponse.md +27 -0
- package/docs/ClientRegisterRequestBody.md +26 -0
- package/docs/ClientRegisterResponse.md +22 -0
- package/docs/ClientSubscriptionResponse.md +34 -0
- package/docs/CreateBookingRequest.md +0 -2
- package/docs/GetSubscriptionsHistory200Response.md +22 -0
- package/docs/IUserAttributes.md +2 -0
- package/docs/ManagedClubsResponse.md +23 -0
- package/docs/StaffUserProfileResponse.md +2 -0
- package/docs/UserProfileResponse.md +2 -0
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/esm/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* openapi.json
|
|
3
3
|
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.98
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,6 +13,25 @@ import type { Configuration } from './configuration';
|
|
|
13
13
|
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
14
14
|
import type { RequestArgs } from './base';
|
|
15
15
|
import { BaseAPI } from './base';
|
|
16
|
+
/**
|
|
17
|
+
*
|
|
18
|
+
* @export
|
|
19
|
+
* @interface ActiveSubscriptionResponse
|
|
20
|
+
*/
|
|
21
|
+
export interface ActiveSubscriptionResponse {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {string}
|
|
25
|
+
* @memberof ActiveSubscriptionResponse
|
|
26
|
+
*/
|
|
27
|
+
'clientAccountId': string;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {ClientSubscriptionResponse}
|
|
31
|
+
* @memberof ActiveSubscriptionResponse
|
|
32
|
+
*/
|
|
33
|
+
'subscription': ClientSubscriptionResponse | null;
|
|
34
|
+
}
|
|
16
35
|
/**
|
|
17
36
|
*
|
|
18
37
|
* @export
|
|
@@ -679,6 +698,12 @@ export interface BookingPriceBody {
|
|
|
679
698
|
* @memberof BookingPriceBody
|
|
680
699
|
*/
|
|
681
700
|
'playerShares'?: Array<PlayerShare>;
|
|
701
|
+
/**
|
|
702
|
+
*
|
|
703
|
+
* @type {number}
|
|
704
|
+
* @memberof BookingPriceBody
|
|
705
|
+
*/
|
|
706
|
+
'creditToUseInCents'?: number;
|
|
682
707
|
}
|
|
683
708
|
/**
|
|
684
709
|
*
|
|
@@ -692,6 +717,12 @@ export interface BookingPriceResponse {
|
|
|
692
717
|
* @memberof BookingPriceResponse
|
|
693
718
|
*/
|
|
694
719
|
'creatorNeedsToRegisterPaymentMethod': boolean;
|
|
720
|
+
/**
|
|
721
|
+
*
|
|
722
|
+
* @type {number}
|
|
723
|
+
* @memberof BookingPriceResponse
|
|
724
|
+
*/
|
|
725
|
+
'creatorCreditAvailableInCents'?: number;
|
|
695
726
|
/**
|
|
696
727
|
*
|
|
697
728
|
* @type {Array<PlayerPrice>}
|
|
@@ -1291,6 +1322,415 @@ export interface CheckedInPlayer {
|
|
|
1291
1322
|
*/
|
|
1292
1323
|
'note'?: string;
|
|
1293
1324
|
}
|
|
1325
|
+
/**
|
|
1326
|
+
* Types pour les requêtes/réponses
|
|
1327
|
+
* @export
|
|
1328
|
+
* @interface ClientAccountOnboardingRequest
|
|
1329
|
+
*/
|
|
1330
|
+
export interface ClientAccountOnboardingRequest {
|
|
1331
|
+
/**
|
|
1332
|
+
*
|
|
1333
|
+
* @type {string}
|
|
1334
|
+
* @memberof ClientAccountOnboardingRequest
|
|
1335
|
+
*/
|
|
1336
|
+
'businessName': string;
|
|
1337
|
+
/**
|
|
1338
|
+
*
|
|
1339
|
+
* @type {string}
|
|
1340
|
+
* @memberof ClientAccountOnboardingRequest
|
|
1341
|
+
*/
|
|
1342
|
+
'businessType': ClientAccountOnboardingRequestBusinessTypeEnum;
|
|
1343
|
+
/**
|
|
1344
|
+
*
|
|
1345
|
+
* @type {string}
|
|
1346
|
+
* @memberof ClientAccountOnboardingRequest
|
|
1347
|
+
*/
|
|
1348
|
+
'subscriptionType': ClientAccountOnboardingRequestSubscriptionTypeEnum;
|
|
1349
|
+
/**
|
|
1350
|
+
*
|
|
1351
|
+
* @type {boolean}
|
|
1352
|
+
* @memberof ClientAccountOnboardingRequest
|
|
1353
|
+
*/
|
|
1354
|
+
'isPublicOrganization'?: boolean;
|
|
1355
|
+
/**
|
|
1356
|
+
*
|
|
1357
|
+
* @type {string}
|
|
1358
|
+
* @memberof ClientAccountOnboardingRequest
|
|
1359
|
+
*/
|
|
1360
|
+
'priceId': string;
|
|
1361
|
+
}
|
|
1362
|
+
export declare const ClientAccountOnboardingRequestBusinessTypeEnum: {
|
|
1363
|
+
readonly Individual: "individual";
|
|
1364
|
+
readonly Company: "company";
|
|
1365
|
+
};
|
|
1366
|
+
export type ClientAccountOnboardingRequestBusinessTypeEnum = typeof ClientAccountOnboardingRequestBusinessTypeEnum[keyof typeof ClientAccountOnboardingRequestBusinessTypeEnum];
|
|
1367
|
+
export declare const ClientAccountOnboardingRequestSubscriptionTypeEnum: {
|
|
1368
|
+
readonly Basic: "basic";
|
|
1369
|
+
readonly PlatformWithConnect: "platform_with_connect";
|
|
1370
|
+
};
|
|
1371
|
+
export type ClientAccountOnboardingRequestSubscriptionTypeEnum = typeof ClientAccountOnboardingRequestSubscriptionTypeEnum[keyof typeof ClientAccountOnboardingRequestSubscriptionTypeEnum];
|
|
1372
|
+
/**
|
|
1373
|
+
*
|
|
1374
|
+
* @export
|
|
1375
|
+
* @interface ClientAccountOnboardingResponse
|
|
1376
|
+
*/
|
|
1377
|
+
export interface ClientAccountOnboardingResponse {
|
|
1378
|
+
/**
|
|
1379
|
+
*
|
|
1380
|
+
* @type {string}
|
|
1381
|
+
* @memberof ClientAccountOnboardingResponse
|
|
1382
|
+
*/
|
|
1383
|
+
'clientAccountId': string;
|
|
1384
|
+
/**
|
|
1385
|
+
*
|
|
1386
|
+
* @type {string}
|
|
1387
|
+
* @memberof ClientAccountOnboardingResponse
|
|
1388
|
+
*/
|
|
1389
|
+
'stripeCustomerId': string;
|
|
1390
|
+
/**
|
|
1391
|
+
*
|
|
1392
|
+
* @type {string}
|
|
1393
|
+
* @memberof ClientAccountOnboardingResponse
|
|
1394
|
+
*/
|
|
1395
|
+
'stripeConnectedAccountId'?: string;
|
|
1396
|
+
/**
|
|
1397
|
+
*
|
|
1398
|
+
* @type {string}
|
|
1399
|
+
* @memberof ClientAccountOnboardingResponse
|
|
1400
|
+
*/
|
|
1401
|
+
'connectedAccountOnboardingLink'?: string;
|
|
1402
|
+
/**
|
|
1403
|
+
*
|
|
1404
|
+
* @type {string}
|
|
1405
|
+
* @memberof ClientAccountOnboardingResponse
|
|
1406
|
+
*/
|
|
1407
|
+
'status': string;
|
|
1408
|
+
/**
|
|
1409
|
+
*
|
|
1410
|
+
* @type {string}
|
|
1411
|
+
* @memberof ClientAccountOnboardingResponse
|
|
1412
|
+
*/
|
|
1413
|
+
'message': string;
|
|
1414
|
+
/**
|
|
1415
|
+
*
|
|
1416
|
+
* @type {boolean}
|
|
1417
|
+
* @memberof ClientAccountOnboardingResponse
|
|
1418
|
+
*/
|
|
1419
|
+
'isPublicOrganization': boolean;
|
|
1420
|
+
/**
|
|
1421
|
+
*
|
|
1422
|
+
* @type {boolean}
|
|
1423
|
+
* @memberof ClientAccountOnboardingResponse
|
|
1424
|
+
*/
|
|
1425
|
+
'manualInvoiceRequired'?: boolean;
|
|
1426
|
+
}
|
|
1427
|
+
/**
|
|
1428
|
+
*
|
|
1429
|
+
* @export
|
|
1430
|
+
* @interface ClientAccountResponse
|
|
1431
|
+
*/
|
|
1432
|
+
export interface ClientAccountResponse {
|
|
1433
|
+
/**
|
|
1434
|
+
*
|
|
1435
|
+
* @type {string}
|
|
1436
|
+
* @memberof ClientAccountResponse
|
|
1437
|
+
*/
|
|
1438
|
+
'id': string;
|
|
1439
|
+
/**
|
|
1440
|
+
*
|
|
1441
|
+
* @type {string}
|
|
1442
|
+
* @memberof ClientAccountResponse
|
|
1443
|
+
*/
|
|
1444
|
+
'email': string;
|
|
1445
|
+
/**
|
|
1446
|
+
*
|
|
1447
|
+
* @type {string}
|
|
1448
|
+
* @memberof ClientAccountResponse
|
|
1449
|
+
*/
|
|
1450
|
+
'businessName': string;
|
|
1451
|
+
/**
|
|
1452
|
+
*
|
|
1453
|
+
* @type {string}
|
|
1454
|
+
* @memberof ClientAccountResponse
|
|
1455
|
+
*/
|
|
1456
|
+
'businessType': string;
|
|
1457
|
+
/**
|
|
1458
|
+
*
|
|
1459
|
+
* @type {string}
|
|
1460
|
+
* @memberof ClientAccountResponse
|
|
1461
|
+
*/
|
|
1462
|
+
'subscriptionType': string;
|
|
1463
|
+
/**
|
|
1464
|
+
*
|
|
1465
|
+
* @type {string}
|
|
1466
|
+
* @memberof ClientAccountResponse
|
|
1467
|
+
*/
|
|
1468
|
+
'status': string;
|
|
1469
|
+
/**
|
|
1470
|
+
*
|
|
1471
|
+
* @type {boolean}
|
|
1472
|
+
* @memberof ClientAccountResponse
|
|
1473
|
+
*/
|
|
1474
|
+
'platformPaymentMethodSetup': boolean;
|
|
1475
|
+
/**
|
|
1476
|
+
*
|
|
1477
|
+
* @type {string}
|
|
1478
|
+
* @memberof ClientAccountResponse
|
|
1479
|
+
*/
|
|
1480
|
+
'stripeConnectedAccountId'?: string;
|
|
1481
|
+
/**
|
|
1482
|
+
*
|
|
1483
|
+
* @type {boolean}
|
|
1484
|
+
* @memberof ClientAccountResponse
|
|
1485
|
+
*/
|
|
1486
|
+
'connectedAccountOnboardingRequired'?: boolean;
|
|
1487
|
+
/**
|
|
1488
|
+
*
|
|
1489
|
+
* @type {boolean}
|
|
1490
|
+
* @memberof ClientAccountResponse
|
|
1491
|
+
*/
|
|
1492
|
+
'isPublicOrganization': boolean;
|
|
1493
|
+
/**
|
|
1494
|
+
*
|
|
1495
|
+
* @type {boolean}
|
|
1496
|
+
* @memberof ClientAccountResponse
|
|
1497
|
+
*/
|
|
1498
|
+
'manualInvoiceRequired'?: boolean;
|
|
1499
|
+
/**
|
|
1500
|
+
*
|
|
1501
|
+
* @type {string}
|
|
1502
|
+
* @memberof ClientAccountResponse
|
|
1503
|
+
*/
|
|
1504
|
+
'createdAt': string;
|
|
1505
|
+
/**
|
|
1506
|
+
*
|
|
1507
|
+
* @type {string}
|
|
1508
|
+
* @memberof ClientAccountResponse
|
|
1509
|
+
*/
|
|
1510
|
+
'updatedAt': string;
|
|
1511
|
+
}
|
|
1512
|
+
/**
|
|
1513
|
+
*
|
|
1514
|
+
* @export
|
|
1515
|
+
* @interface ClientMeResponse
|
|
1516
|
+
*/
|
|
1517
|
+
export interface ClientMeResponse {
|
|
1518
|
+
/**
|
|
1519
|
+
*
|
|
1520
|
+
* @type {string}
|
|
1521
|
+
* @memberof ClientMeResponse
|
|
1522
|
+
*/
|
|
1523
|
+
'id': string;
|
|
1524
|
+
/**
|
|
1525
|
+
*
|
|
1526
|
+
* @type {string}
|
|
1527
|
+
* @memberof ClientMeResponse
|
|
1528
|
+
*/
|
|
1529
|
+
'email': string;
|
|
1530
|
+
/**
|
|
1531
|
+
*
|
|
1532
|
+
* @type {string}
|
|
1533
|
+
* @memberof ClientMeResponse
|
|
1534
|
+
*/
|
|
1535
|
+
'firstName': string;
|
|
1536
|
+
/**
|
|
1537
|
+
*
|
|
1538
|
+
* @type {string}
|
|
1539
|
+
* @memberof ClientMeResponse
|
|
1540
|
+
*/
|
|
1541
|
+
'lastName': string;
|
|
1542
|
+
/**
|
|
1543
|
+
*
|
|
1544
|
+
* @type {boolean}
|
|
1545
|
+
* @memberof ClientMeResponse
|
|
1546
|
+
*/
|
|
1547
|
+
'isClient': boolean;
|
|
1548
|
+
}
|
|
1549
|
+
/**
|
|
1550
|
+
* Requête pour l\'onboarding d\'un club
|
|
1551
|
+
* @export
|
|
1552
|
+
* @interface ClientOnboardingRequestBody
|
|
1553
|
+
*/
|
|
1554
|
+
export interface ClientOnboardingRequestBody {
|
|
1555
|
+
/**
|
|
1556
|
+
* Nom du club
|
|
1557
|
+
* @type {string}
|
|
1558
|
+
* @memberof ClientOnboardingRequestBody
|
|
1559
|
+
*/
|
|
1560
|
+
'clubName': string;
|
|
1561
|
+
/**
|
|
1562
|
+
* Email du club pour le compte Stripe
|
|
1563
|
+
* @type {string}
|
|
1564
|
+
* @memberof ClientOnboardingRequestBody
|
|
1565
|
+
*/
|
|
1566
|
+
'email': string;
|
|
1567
|
+
/**
|
|
1568
|
+
* Numéro de téléphone du club (optionnel)
|
|
1569
|
+
* @type {string}
|
|
1570
|
+
* @memberof ClientOnboardingRequestBody
|
|
1571
|
+
*/
|
|
1572
|
+
'phone'?: string;
|
|
1573
|
+
/**
|
|
1574
|
+
* Adresse du club (optionnel)
|
|
1575
|
+
* @type {string}
|
|
1576
|
+
* @memberof ClientOnboardingRequestBody
|
|
1577
|
+
*/
|
|
1578
|
+
'address'?: string;
|
|
1579
|
+
/**
|
|
1580
|
+
* Ville du club (optionnel)
|
|
1581
|
+
* @type {string}
|
|
1582
|
+
* @memberof ClientOnboardingRequestBody
|
|
1583
|
+
*/
|
|
1584
|
+
'city'?: string;
|
|
1585
|
+
/**
|
|
1586
|
+
* Code postal du club (optionnel)
|
|
1587
|
+
* @type {string}
|
|
1588
|
+
* @memberof ClientOnboardingRequestBody
|
|
1589
|
+
*/
|
|
1590
|
+
'postalCode'?: string;
|
|
1591
|
+
/**
|
|
1592
|
+
* Pays du club (optionnel)
|
|
1593
|
+
* @type {string}
|
|
1594
|
+
* @memberof ClientOnboardingRequestBody
|
|
1595
|
+
*/
|
|
1596
|
+
'country'?: string;
|
|
1597
|
+
}
|
|
1598
|
+
/**
|
|
1599
|
+
* Réponse pour l\'onboarding d\'un club
|
|
1600
|
+
* @export
|
|
1601
|
+
* @interface ClientOnboardingResponse
|
|
1602
|
+
*/
|
|
1603
|
+
export interface ClientOnboardingResponse {
|
|
1604
|
+
/**
|
|
1605
|
+
* ID unique du club créé
|
|
1606
|
+
* @type {string}
|
|
1607
|
+
* @memberof ClientOnboardingResponse
|
|
1608
|
+
*/
|
|
1609
|
+
'clubId': string;
|
|
1610
|
+
/**
|
|
1611
|
+
* ID du compte Stripe Connect du club
|
|
1612
|
+
* @type {string}
|
|
1613
|
+
* @memberof ClientOnboardingResponse
|
|
1614
|
+
*/
|
|
1615
|
+
'stripeAccountId': string;
|
|
1616
|
+
/**
|
|
1617
|
+
* Lien d\'onboarding Stripe pour configurer le compte
|
|
1618
|
+
* @type {string}
|
|
1619
|
+
* @memberof ClientOnboardingResponse
|
|
1620
|
+
*/
|
|
1621
|
+
'onboardingLink': string;
|
|
1622
|
+
/**
|
|
1623
|
+
* Message de confirmation
|
|
1624
|
+
* @type {string}
|
|
1625
|
+
* @memberof ClientOnboardingResponse
|
|
1626
|
+
*/
|
|
1627
|
+
'message': string;
|
|
1628
|
+
}
|
|
1629
|
+
/**
|
|
1630
|
+
*
|
|
1631
|
+
* @export
|
|
1632
|
+
* @interface ClientRegisterRequestBody
|
|
1633
|
+
*/
|
|
1634
|
+
export interface ClientRegisterRequestBody {
|
|
1635
|
+
/**
|
|
1636
|
+
*
|
|
1637
|
+
* @type {string}
|
|
1638
|
+
* @memberof ClientRegisterRequestBody
|
|
1639
|
+
*/
|
|
1640
|
+
'email': string;
|
|
1641
|
+
/**
|
|
1642
|
+
*
|
|
1643
|
+
* @type {string}
|
|
1644
|
+
* @memberof ClientRegisterRequestBody
|
|
1645
|
+
*/
|
|
1646
|
+
'password': string;
|
|
1647
|
+
/**
|
|
1648
|
+
*
|
|
1649
|
+
* @type {string}
|
|
1650
|
+
* @memberof ClientRegisterRequestBody
|
|
1651
|
+
*/
|
|
1652
|
+
'firstName': string;
|
|
1653
|
+
/**
|
|
1654
|
+
*
|
|
1655
|
+
* @type {string}
|
|
1656
|
+
* @memberof ClientRegisterRequestBody
|
|
1657
|
+
*/
|
|
1658
|
+
'lastName': string;
|
|
1659
|
+
}
|
|
1660
|
+
/**
|
|
1661
|
+
*
|
|
1662
|
+
* @export
|
|
1663
|
+
* @interface ClientRegisterResponse
|
|
1664
|
+
*/
|
|
1665
|
+
export interface ClientRegisterResponse {
|
|
1666
|
+
/**
|
|
1667
|
+
*
|
|
1668
|
+
* @type {string}
|
|
1669
|
+
* @memberof ClientRegisterResponse
|
|
1670
|
+
*/
|
|
1671
|
+
'id': string;
|
|
1672
|
+
/**
|
|
1673
|
+
*
|
|
1674
|
+
* @type {string}
|
|
1675
|
+
* @memberof ClientRegisterResponse
|
|
1676
|
+
*/
|
|
1677
|
+
'token': string;
|
|
1678
|
+
}
|
|
1679
|
+
/**
|
|
1680
|
+
*
|
|
1681
|
+
* @export
|
|
1682
|
+
* @interface ClientSubscriptionResponse
|
|
1683
|
+
*/
|
|
1684
|
+
export interface ClientSubscriptionResponse {
|
|
1685
|
+
/**
|
|
1686
|
+
*
|
|
1687
|
+
* @type {string}
|
|
1688
|
+
* @memberof ClientSubscriptionResponse
|
|
1689
|
+
*/
|
|
1690
|
+
'id': string;
|
|
1691
|
+
/**
|
|
1692
|
+
*
|
|
1693
|
+
* @type {string}
|
|
1694
|
+
* @memberof ClientSubscriptionResponse
|
|
1695
|
+
*/
|
|
1696
|
+
'subscriptionType': string;
|
|
1697
|
+
/**
|
|
1698
|
+
*
|
|
1699
|
+
* @type {string}
|
|
1700
|
+
* @memberof ClientSubscriptionResponse
|
|
1701
|
+
*/
|
|
1702
|
+
'status': string;
|
|
1703
|
+
/**
|
|
1704
|
+
*
|
|
1705
|
+
* @type {string}
|
|
1706
|
+
* @memberof ClientSubscriptionResponse
|
|
1707
|
+
*/
|
|
1708
|
+
'startDate': string;
|
|
1709
|
+
/**
|
|
1710
|
+
*
|
|
1711
|
+
* @type {string}
|
|
1712
|
+
* @memberof ClientSubscriptionResponse
|
|
1713
|
+
*/
|
|
1714
|
+
'endDate'?: string;
|
|
1715
|
+
/**
|
|
1716
|
+
*
|
|
1717
|
+
* @type {number}
|
|
1718
|
+
* @memberof ClientSubscriptionResponse
|
|
1719
|
+
*/
|
|
1720
|
+
'priceAmountInCents': number;
|
|
1721
|
+
/**
|
|
1722
|
+
*
|
|
1723
|
+
* @type {string}
|
|
1724
|
+
* @memberof ClientSubscriptionResponse
|
|
1725
|
+
*/
|
|
1726
|
+
'currency': string;
|
|
1727
|
+
/**
|
|
1728
|
+
*
|
|
1729
|
+
* @type {string}
|
|
1730
|
+
* @memberof ClientSubscriptionResponse
|
|
1731
|
+
*/
|
|
1732
|
+
'billingCycle': string;
|
|
1733
|
+
}
|
|
1294
1734
|
/**
|
|
1295
1735
|
*
|
|
1296
1736
|
* @export
|
|
@@ -1976,12 +2416,6 @@ export interface CreateBookingRequest {
|
|
|
1976
2416
|
* @memberof CreateBookingRequest
|
|
1977
2417
|
*/
|
|
1978
2418
|
'players': Array<PlayerWithPaymentMethod>;
|
|
1979
|
-
/**
|
|
1980
|
-
*
|
|
1981
|
-
* @type {number}
|
|
1982
|
-
* @memberof CreateBookingRequest
|
|
1983
|
-
*/
|
|
1984
|
-
'creatorShare'?: number;
|
|
1985
2419
|
/**
|
|
1986
2420
|
* Indique si le créateur paie pour tous les joueurs
|
|
1987
2421
|
* @type {boolean}
|
|
@@ -3143,21 +3577,40 @@ export interface GetInfillPercentagePerPeriod200Response {
|
|
|
3143
3577
|
/**
|
|
3144
3578
|
*
|
|
3145
3579
|
* @export
|
|
3146
|
-
* @interface GetSlotsByClubById200Response
|
|
3580
|
+
* @interface GetSlotsByClubById200Response
|
|
3581
|
+
*/
|
|
3582
|
+
export interface GetSlotsByClubById200Response {
|
|
3583
|
+
/**
|
|
3584
|
+
*
|
|
3585
|
+
* @type {string}
|
|
3586
|
+
* @memberof GetSlotsByClubById200Response
|
|
3587
|
+
*/
|
|
3588
|
+
'lastSlotDate': string | null;
|
|
3589
|
+
/**
|
|
3590
|
+
*
|
|
3591
|
+
* @type {Array<any>}
|
|
3592
|
+
* @memberof GetSlotsByClubById200Response
|
|
3593
|
+
*/
|
|
3594
|
+
'slots': Array<any>;
|
|
3595
|
+
}
|
|
3596
|
+
/**
|
|
3597
|
+
*
|
|
3598
|
+
* @export
|
|
3599
|
+
* @interface GetSubscriptionsHistory200Response
|
|
3147
3600
|
*/
|
|
3148
|
-
export interface
|
|
3601
|
+
export interface GetSubscriptionsHistory200Response {
|
|
3149
3602
|
/**
|
|
3150
3603
|
*
|
|
3151
|
-
* @type {
|
|
3152
|
-
* @memberof
|
|
3604
|
+
* @type {Array<ClientSubscriptionResponse>}
|
|
3605
|
+
* @memberof GetSubscriptionsHistory200Response
|
|
3153
3606
|
*/
|
|
3154
|
-
'
|
|
3607
|
+
'subscriptions': Array<ClientSubscriptionResponse>;
|
|
3155
3608
|
/**
|
|
3156
3609
|
*
|
|
3157
|
-
* @type {
|
|
3158
|
-
* @memberof
|
|
3610
|
+
* @type {string}
|
|
3611
|
+
* @memberof GetSubscriptionsHistory200Response
|
|
3159
3612
|
*/
|
|
3160
|
-
'
|
|
3613
|
+
'clientAccountId': string;
|
|
3161
3614
|
}
|
|
3162
3615
|
/**
|
|
3163
3616
|
*
|
|
@@ -3464,6 +3917,12 @@ export interface IUserAttributes {
|
|
|
3464
3917
|
* @memberof IUserAttributes
|
|
3465
3918
|
*/
|
|
3466
3919
|
'isAdmin': boolean;
|
|
3920
|
+
/**
|
|
3921
|
+
*
|
|
3922
|
+
* @type {boolean}
|
|
3923
|
+
* @memberof IUserAttributes
|
|
3924
|
+
*/
|
|
3925
|
+
'isClient'?: boolean;
|
|
3467
3926
|
/**
|
|
3468
3927
|
*
|
|
3469
3928
|
* @type {string}
|
|
@@ -3824,6 +4283,25 @@ export interface LoginResponse {
|
|
|
3824
4283
|
*/
|
|
3825
4284
|
'role': string | null;
|
|
3826
4285
|
}
|
|
4286
|
+
/**
|
|
4287
|
+
* Réponse listant les clubs gérés par l\'utilisateur
|
|
4288
|
+
* @export
|
|
4289
|
+
* @interface ManagedClubsResponse
|
|
4290
|
+
*/
|
|
4291
|
+
export interface ManagedClubsResponse {
|
|
4292
|
+
/**
|
|
4293
|
+
* Nombre de clubs gérés
|
|
4294
|
+
* @type {number}
|
|
4295
|
+
* @memberof ManagedClubsResponse
|
|
4296
|
+
*/
|
|
4297
|
+
'count': number;
|
|
4298
|
+
/**
|
|
4299
|
+
* Liste des clubs gérés
|
|
4300
|
+
* @type {Array<any>}
|
|
4301
|
+
* @memberof ManagedClubsResponse
|
|
4302
|
+
*/
|
|
4303
|
+
'clubs': Array<any>;
|
|
4304
|
+
}
|
|
3827
4305
|
/**
|
|
3828
4306
|
*
|
|
3829
4307
|
* @export
|
|
@@ -5557,6 +6035,12 @@ export interface StaffUserProfileResponse {
|
|
|
5557
6035
|
* @memberof StaffUserProfileResponse
|
|
5558
6036
|
*/
|
|
5559
6037
|
'isAdmin': boolean;
|
|
6038
|
+
/**
|
|
6039
|
+
*
|
|
6040
|
+
* @type {boolean}
|
|
6041
|
+
* @memberof StaffUserProfileResponse
|
|
6042
|
+
*/
|
|
6043
|
+
'isClient'?: boolean;
|
|
5560
6044
|
/**
|
|
5561
6045
|
*
|
|
5562
6046
|
* @type {string}
|
|
@@ -7973,6 +8457,12 @@ export interface UserProfileResponse {
|
|
|
7973
8457
|
* @memberof UserProfileResponse
|
|
7974
8458
|
*/
|
|
7975
8459
|
'isAdmin': boolean;
|
|
8460
|
+
/**
|
|
8461
|
+
*
|
|
8462
|
+
* @type {boolean}
|
|
8463
|
+
* @memberof UserProfileResponse
|
|
8464
|
+
*/
|
|
8465
|
+
'isClient'?: boolean;
|
|
7976
8466
|
/**
|
|
7977
8467
|
*
|
|
7978
8468
|
* @type {string}
|
|
@@ -8892,6 +9382,376 @@ export declare class BookingsUserApi extends BaseAPI {
|
|
|
8892
9382
|
*/
|
|
8893
9383
|
createBooking(requestParameters: BookingsUserApiCreateBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<BookingResponse, any>>;
|
|
8894
9384
|
}
|
|
9385
|
+
/**
|
|
9386
|
+
* ClientApi - axios parameter creator
|
|
9387
|
+
* @export
|
|
9388
|
+
*/
|
|
9389
|
+
export declare const ClientApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
9390
|
+
/**
|
|
9391
|
+
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
9392
|
+
* @param {*} [options] Override http request option.
|
|
9393
|
+
* @throws {RequiredError}
|
|
9394
|
+
*/
|
|
9395
|
+
getManagedClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9396
|
+
/**
|
|
9397
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
9398
|
+
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
9399
|
+
* @param {*} [options] Override http request option.
|
|
9400
|
+
* @throws {RequiredError}
|
|
9401
|
+
*/
|
|
9402
|
+
onboardClub: (clientOnboardingRequestBody: ClientOnboardingRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9403
|
+
};
|
|
9404
|
+
/**
|
|
9405
|
+
* ClientApi - functional programming interface
|
|
9406
|
+
* @export
|
|
9407
|
+
*/
|
|
9408
|
+
export declare const ClientApiFp: (configuration?: Configuration) => {
|
|
9409
|
+
/**
|
|
9410
|
+
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
9411
|
+
* @param {*} [options] Override http request option.
|
|
9412
|
+
* @throws {RequiredError}
|
|
9413
|
+
*/
|
|
9414
|
+
getManagedClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagedClubsResponse>>;
|
|
9415
|
+
/**
|
|
9416
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
9417
|
+
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
9418
|
+
* @param {*} [options] Override http request option.
|
|
9419
|
+
* @throws {RequiredError}
|
|
9420
|
+
*/
|
|
9421
|
+
onboardClub(clientOnboardingRequestBody: ClientOnboardingRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientOnboardingResponse>>;
|
|
9422
|
+
};
|
|
9423
|
+
/**
|
|
9424
|
+
* ClientApi - factory interface
|
|
9425
|
+
* @export
|
|
9426
|
+
*/
|
|
9427
|
+
export declare const ClientApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
9428
|
+
/**
|
|
9429
|
+
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
9430
|
+
* @param {*} [options] Override http request option.
|
|
9431
|
+
* @throws {RequiredError}
|
|
9432
|
+
*/
|
|
9433
|
+
getManagedClubs(options?: RawAxiosRequestConfig): AxiosPromise<ManagedClubsResponse>;
|
|
9434
|
+
/**
|
|
9435
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
9436
|
+
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
9437
|
+
* @param {*} [options] Override http request option.
|
|
9438
|
+
* @throws {RequiredError}
|
|
9439
|
+
*/
|
|
9440
|
+
onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientOnboardingResponse>;
|
|
9441
|
+
};
|
|
9442
|
+
/**
|
|
9443
|
+
* Request parameters for onboardClub operation in ClientApi.
|
|
9444
|
+
* @export
|
|
9445
|
+
* @interface ClientApiOnboardClubRequest
|
|
9446
|
+
*/
|
|
9447
|
+
export interface ClientApiOnboardClubRequest {
|
|
9448
|
+
/**
|
|
9449
|
+
* Les données du club à créer
|
|
9450
|
+
* @type {ClientOnboardingRequestBody}
|
|
9451
|
+
* @memberof ClientApiOnboardClub
|
|
9452
|
+
*/
|
|
9453
|
+
readonly clientOnboardingRequestBody: ClientOnboardingRequestBody;
|
|
9454
|
+
}
|
|
9455
|
+
/**
|
|
9456
|
+
* ClientApi - object-oriented interface
|
|
9457
|
+
* @export
|
|
9458
|
+
* @class ClientApi
|
|
9459
|
+
* @extends {BaseAPI}
|
|
9460
|
+
*/
|
|
9461
|
+
export declare class ClientApi extends BaseAPI {
|
|
9462
|
+
/**
|
|
9463
|
+
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
9464
|
+
* @param {*} [options] Override http request option.
|
|
9465
|
+
* @throws {RequiredError}
|
|
9466
|
+
* @memberof ClientApi
|
|
9467
|
+
*/
|
|
9468
|
+
getManagedClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagedClubsResponse, any>>;
|
|
9469
|
+
/**
|
|
9470
|
+
* Enregistre un nouveau club pour la plateforme - Crée un compte Stripe Connect Express - Crée le club dans la base de données - Assigne l\'utilisateur comme manager du club - Crée les paramètres par défaut du club - Envoie le lien d\'onboarding Stripe par email
|
|
9471
|
+
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
9472
|
+
* @param {*} [options] Override http request option.
|
|
9473
|
+
* @throws {RequiredError}
|
|
9474
|
+
* @memberof ClientApi
|
|
9475
|
+
*/
|
|
9476
|
+
onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientOnboardingResponse, any>>;
|
|
9477
|
+
}
|
|
9478
|
+
/**
|
|
9479
|
+
* ClientAccountsApi - axios parameter creator
|
|
9480
|
+
* @export
|
|
9481
|
+
*/
|
|
9482
|
+
export declare const ClientAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
9483
|
+
/**
|
|
9484
|
+
* Informations de l\'utilisateur client authentifié (token clientAuth)
|
|
9485
|
+
* @param {*} [options] Override http request option.
|
|
9486
|
+
* @throws {RequiredError}
|
|
9487
|
+
*/
|
|
9488
|
+
clientAuthMe: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9489
|
+
/**
|
|
9490
|
+
* Récupère le compte client par son ID
|
|
9491
|
+
* @param {string} accountId L\'ID du compte client
|
|
9492
|
+
* @param {*} [options] Override http request option.
|
|
9493
|
+
* @throws {RequiredError}
|
|
9494
|
+
*/
|
|
9495
|
+
getClientAccountById: (accountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9496
|
+
/**
|
|
9497
|
+
* Récupère l\'abonnement actif du compte client authentifié
|
|
9498
|
+
* @param {*} [options] Override http request option.
|
|
9499
|
+
* @throws {RequiredError}
|
|
9500
|
+
*/
|
|
9501
|
+
getMyActiveSubscription: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9502
|
+
/**
|
|
9503
|
+
* Récupère le compte client de l\'utilisateur authentifié
|
|
9504
|
+
* @param {*} [options] Override http request option.
|
|
9505
|
+
* @throws {RequiredError}
|
|
9506
|
+
*/
|
|
9507
|
+
getMyClientAccount: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9508
|
+
/**
|
|
9509
|
+
* Récupère l\'historique des abonnements du compte client authentifié
|
|
9510
|
+
* @param {*} [options] Override http request option.
|
|
9511
|
+
* @throws {RequiredError}
|
|
9512
|
+
*/
|
|
9513
|
+
getSubscriptionsHistory: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9514
|
+
/**
|
|
9515
|
+
* Liste les prix Stripe disponibles pour les abonnements client
|
|
9516
|
+
* @param {*} [options] Override http request option.
|
|
9517
|
+
* @throws {RequiredError}
|
|
9518
|
+
*/
|
|
9519
|
+
listAvailablePrices: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9520
|
+
/**
|
|
9521
|
+
* Crée un nouveau compte client avec onboarding Stripe
|
|
9522
|
+
* @param {ClientAccountOnboardingRequest} clientAccountOnboardingRequest Les données du compte à créer
|
|
9523
|
+
* @param {*} [options] Override http request option.
|
|
9524
|
+
* @throws {RequiredError}
|
|
9525
|
+
*/
|
|
9526
|
+
onboardClientAccount: (clientAccountOnboardingRequest: ClientAccountOnboardingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9527
|
+
/**
|
|
9528
|
+
* Route d\'inscription d\'un utilisateur client (publique)
|
|
9529
|
+
* @param {ClientRegisterRequestBody} clientRegisterRequestBody
|
|
9530
|
+
* @param {*} [options] Override http request option.
|
|
9531
|
+
* @throws {RequiredError}
|
|
9532
|
+
*/
|
|
9533
|
+
registerClientUser: (clientRegisterRequestBody: ClientRegisterRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9534
|
+
};
|
|
9535
|
+
/**
|
|
9536
|
+
* ClientAccountsApi - functional programming interface
|
|
9537
|
+
* @export
|
|
9538
|
+
*/
|
|
9539
|
+
export declare const ClientAccountsApiFp: (configuration?: Configuration) => {
|
|
9540
|
+
/**
|
|
9541
|
+
* Informations de l\'utilisateur client authentifié (token clientAuth)
|
|
9542
|
+
* @param {*} [options] Override http request option.
|
|
9543
|
+
* @throws {RequiredError}
|
|
9544
|
+
*/
|
|
9545
|
+
clientAuthMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientMeResponse>>;
|
|
9546
|
+
/**
|
|
9547
|
+
* Récupère le compte client par son ID
|
|
9548
|
+
* @param {string} accountId L\'ID du compte client
|
|
9549
|
+
* @param {*} [options] Override http request option.
|
|
9550
|
+
* @throws {RequiredError}
|
|
9551
|
+
*/
|
|
9552
|
+
getClientAccountById(accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountResponse>>;
|
|
9553
|
+
/**
|
|
9554
|
+
* Récupère l\'abonnement actif du compte client authentifié
|
|
9555
|
+
* @param {*} [options] Override http request option.
|
|
9556
|
+
* @throws {RequiredError}
|
|
9557
|
+
*/
|
|
9558
|
+
getMyActiveSubscription(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActiveSubscriptionResponse>>;
|
|
9559
|
+
/**
|
|
9560
|
+
* Récupère le compte client de l\'utilisateur authentifié
|
|
9561
|
+
* @param {*} [options] Override http request option.
|
|
9562
|
+
* @throws {RequiredError}
|
|
9563
|
+
*/
|
|
9564
|
+
getMyClientAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountResponse>>;
|
|
9565
|
+
/**
|
|
9566
|
+
* Récupère l\'historique des abonnements du compte client authentifié
|
|
9567
|
+
* @param {*} [options] Override http request option.
|
|
9568
|
+
* @throws {RequiredError}
|
|
9569
|
+
*/
|
|
9570
|
+
getSubscriptionsHistory(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSubscriptionsHistory200Response>>;
|
|
9571
|
+
/**
|
|
9572
|
+
* Liste les prix Stripe disponibles pour les abonnements client
|
|
9573
|
+
* @param {*} [options] Override http request option.
|
|
9574
|
+
* @throws {RequiredError}
|
|
9575
|
+
*/
|
|
9576
|
+
listAvailablePrices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>>;
|
|
9577
|
+
/**
|
|
9578
|
+
* Crée un nouveau compte client avec onboarding Stripe
|
|
9579
|
+
* @param {ClientAccountOnboardingRequest} clientAccountOnboardingRequest Les données du compte à créer
|
|
9580
|
+
* @param {*} [options] Override http request option.
|
|
9581
|
+
* @throws {RequiredError}
|
|
9582
|
+
*/
|
|
9583
|
+
onboardClientAccount(clientAccountOnboardingRequest: ClientAccountOnboardingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountOnboardingResponse>>;
|
|
9584
|
+
/**
|
|
9585
|
+
* Route d\'inscription d\'un utilisateur client (publique)
|
|
9586
|
+
* @param {ClientRegisterRequestBody} clientRegisterRequestBody
|
|
9587
|
+
* @param {*} [options] Override http request option.
|
|
9588
|
+
* @throws {RequiredError}
|
|
9589
|
+
*/
|
|
9590
|
+
registerClientUser(clientRegisterRequestBody: ClientRegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegisterResponse>>;
|
|
9591
|
+
};
|
|
9592
|
+
/**
|
|
9593
|
+
* ClientAccountsApi - factory interface
|
|
9594
|
+
* @export
|
|
9595
|
+
*/
|
|
9596
|
+
export declare const ClientAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
9597
|
+
/**
|
|
9598
|
+
* Informations de l\'utilisateur client authentifié (token clientAuth)
|
|
9599
|
+
* @param {*} [options] Override http request option.
|
|
9600
|
+
* @throws {RequiredError}
|
|
9601
|
+
*/
|
|
9602
|
+
clientAuthMe(options?: RawAxiosRequestConfig): AxiosPromise<ClientMeResponse>;
|
|
9603
|
+
/**
|
|
9604
|
+
* Récupère le compte client par son ID
|
|
9605
|
+
* @param {ClientAccountsApiGetClientAccountByIdRequest} requestParameters Request parameters.
|
|
9606
|
+
* @param {*} [options] Override http request option.
|
|
9607
|
+
* @throws {RequiredError}
|
|
9608
|
+
*/
|
|
9609
|
+
getClientAccountById(requestParameters: ClientAccountsApiGetClientAccountByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountResponse>;
|
|
9610
|
+
/**
|
|
9611
|
+
* Récupère l\'abonnement actif du compte client authentifié
|
|
9612
|
+
* @param {*} [options] Override http request option.
|
|
9613
|
+
* @throws {RequiredError}
|
|
9614
|
+
*/
|
|
9615
|
+
getMyActiveSubscription(options?: RawAxiosRequestConfig): AxiosPromise<ActiveSubscriptionResponse>;
|
|
9616
|
+
/**
|
|
9617
|
+
* Récupère le compte client de l\'utilisateur authentifié
|
|
9618
|
+
* @param {*} [options] Override http request option.
|
|
9619
|
+
* @throws {RequiredError}
|
|
9620
|
+
*/
|
|
9621
|
+
getMyClientAccount(options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountResponse>;
|
|
9622
|
+
/**
|
|
9623
|
+
* Récupère l\'historique des abonnements du compte client authentifié
|
|
9624
|
+
* @param {*} [options] Override http request option.
|
|
9625
|
+
* @throws {RequiredError}
|
|
9626
|
+
*/
|
|
9627
|
+
getSubscriptionsHistory(options?: RawAxiosRequestConfig): AxiosPromise<GetSubscriptionsHistory200Response>;
|
|
9628
|
+
/**
|
|
9629
|
+
* Liste les prix Stripe disponibles pour les abonnements client
|
|
9630
|
+
* @param {*} [options] Override http request option.
|
|
9631
|
+
* @throws {RequiredError}
|
|
9632
|
+
*/
|
|
9633
|
+
listAvailablePrices(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>>;
|
|
9634
|
+
/**
|
|
9635
|
+
* Crée un nouveau compte client avec onboarding Stripe
|
|
9636
|
+
* @param {ClientAccountsApiOnboardClientAccountRequest} requestParameters Request parameters.
|
|
9637
|
+
* @param {*} [options] Override http request option.
|
|
9638
|
+
* @throws {RequiredError}
|
|
9639
|
+
*/
|
|
9640
|
+
onboardClientAccount(requestParameters: ClientAccountsApiOnboardClientAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountOnboardingResponse>;
|
|
9641
|
+
/**
|
|
9642
|
+
* Route d\'inscription d\'un utilisateur client (publique)
|
|
9643
|
+
* @param {ClientAccountsApiRegisterClientUserRequest} requestParameters Request parameters.
|
|
9644
|
+
* @param {*} [options] Override http request option.
|
|
9645
|
+
* @throws {RequiredError}
|
|
9646
|
+
*/
|
|
9647
|
+
registerClientUser(requestParameters: ClientAccountsApiRegisterClientUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegisterResponse>;
|
|
9648
|
+
};
|
|
9649
|
+
/**
|
|
9650
|
+
* Request parameters for getClientAccountById operation in ClientAccountsApi.
|
|
9651
|
+
* @export
|
|
9652
|
+
* @interface ClientAccountsApiGetClientAccountByIdRequest
|
|
9653
|
+
*/
|
|
9654
|
+
export interface ClientAccountsApiGetClientAccountByIdRequest {
|
|
9655
|
+
/**
|
|
9656
|
+
* L\'ID du compte client
|
|
9657
|
+
* @type {string}
|
|
9658
|
+
* @memberof ClientAccountsApiGetClientAccountById
|
|
9659
|
+
*/
|
|
9660
|
+
readonly accountId: string;
|
|
9661
|
+
}
|
|
9662
|
+
/**
|
|
9663
|
+
* Request parameters for onboardClientAccount operation in ClientAccountsApi.
|
|
9664
|
+
* @export
|
|
9665
|
+
* @interface ClientAccountsApiOnboardClientAccountRequest
|
|
9666
|
+
*/
|
|
9667
|
+
export interface ClientAccountsApiOnboardClientAccountRequest {
|
|
9668
|
+
/**
|
|
9669
|
+
* Les données du compte à créer
|
|
9670
|
+
* @type {ClientAccountOnboardingRequest}
|
|
9671
|
+
* @memberof ClientAccountsApiOnboardClientAccount
|
|
9672
|
+
*/
|
|
9673
|
+
readonly clientAccountOnboardingRequest: ClientAccountOnboardingRequest;
|
|
9674
|
+
}
|
|
9675
|
+
/**
|
|
9676
|
+
* Request parameters for registerClientUser operation in ClientAccountsApi.
|
|
9677
|
+
* @export
|
|
9678
|
+
* @interface ClientAccountsApiRegisterClientUserRequest
|
|
9679
|
+
*/
|
|
9680
|
+
export interface ClientAccountsApiRegisterClientUserRequest {
|
|
9681
|
+
/**
|
|
9682
|
+
*
|
|
9683
|
+
* @type {ClientRegisterRequestBody}
|
|
9684
|
+
* @memberof ClientAccountsApiRegisterClientUser
|
|
9685
|
+
*/
|
|
9686
|
+
readonly clientRegisterRequestBody: ClientRegisterRequestBody;
|
|
9687
|
+
}
|
|
9688
|
+
/**
|
|
9689
|
+
* ClientAccountsApi - object-oriented interface
|
|
9690
|
+
* @export
|
|
9691
|
+
* @class ClientAccountsApi
|
|
9692
|
+
* @extends {BaseAPI}
|
|
9693
|
+
*/
|
|
9694
|
+
export declare class ClientAccountsApi extends BaseAPI {
|
|
9695
|
+
/**
|
|
9696
|
+
* Informations de l\'utilisateur client authentifié (token clientAuth)
|
|
9697
|
+
* @param {*} [options] Override http request option.
|
|
9698
|
+
* @throws {RequiredError}
|
|
9699
|
+
* @memberof ClientAccountsApi
|
|
9700
|
+
*/
|
|
9701
|
+
clientAuthMe(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientMeResponse, any>>;
|
|
9702
|
+
/**
|
|
9703
|
+
* Récupère le compte client par son ID
|
|
9704
|
+
* @param {ClientAccountsApiGetClientAccountByIdRequest} requestParameters Request parameters.
|
|
9705
|
+
* @param {*} [options] Override http request option.
|
|
9706
|
+
* @throws {RequiredError}
|
|
9707
|
+
* @memberof ClientAccountsApi
|
|
9708
|
+
*/
|
|
9709
|
+
getClientAccountById(requestParameters: ClientAccountsApiGetClientAccountByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientAccountResponse, any>>;
|
|
9710
|
+
/**
|
|
9711
|
+
* Récupère l\'abonnement actif du compte client authentifié
|
|
9712
|
+
* @param {*} [options] Override http request option.
|
|
9713
|
+
* @throws {RequiredError}
|
|
9714
|
+
* @memberof ClientAccountsApi
|
|
9715
|
+
*/
|
|
9716
|
+
getMyActiveSubscription(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ActiveSubscriptionResponse, any>>;
|
|
9717
|
+
/**
|
|
9718
|
+
* Récupère le compte client de l\'utilisateur authentifié
|
|
9719
|
+
* @param {*} [options] Override http request option.
|
|
9720
|
+
* @throws {RequiredError}
|
|
9721
|
+
* @memberof ClientAccountsApi
|
|
9722
|
+
*/
|
|
9723
|
+
getMyClientAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientAccountResponse, any>>;
|
|
9724
|
+
/**
|
|
9725
|
+
* Récupère l\'historique des abonnements du compte client authentifié
|
|
9726
|
+
* @param {*} [options] Override http request option.
|
|
9727
|
+
* @throws {RequiredError}
|
|
9728
|
+
* @memberof ClientAccountsApi
|
|
9729
|
+
*/
|
|
9730
|
+
getSubscriptionsHistory(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSubscriptionsHistory200Response, any>>;
|
|
9731
|
+
/**
|
|
9732
|
+
* Liste les prix Stripe disponibles pour les abonnements client
|
|
9733
|
+
* @param {*} [options] Override http request option.
|
|
9734
|
+
* @throws {RequiredError}
|
|
9735
|
+
* @memberof ClientAccountsApi
|
|
9736
|
+
*/
|
|
9737
|
+
listAvailablePrices(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any[], any>>;
|
|
9738
|
+
/**
|
|
9739
|
+
* Crée un nouveau compte client avec onboarding Stripe
|
|
9740
|
+
* @param {ClientAccountsApiOnboardClientAccountRequest} requestParameters Request parameters.
|
|
9741
|
+
* @param {*} [options] Override http request option.
|
|
9742
|
+
* @throws {RequiredError}
|
|
9743
|
+
* @memberof ClientAccountsApi
|
|
9744
|
+
*/
|
|
9745
|
+
onboardClientAccount(requestParameters: ClientAccountsApiOnboardClientAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientAccountOnboardingResponse, any>>;
|
|
9746
|
+
/**
|
|
9747
|
+
* Route d\'inscription d\'un utilisateur client (publique)
|
|
9748
|
+
* @param {ClientAccountsApiRegisterClientUserRequest} requestParameters Request parameters.
|
|
9749
|
+
* @param {*} [options] Override http request option.
|
|
9750
|
+
* @throws {RequiredError}
|
|
9751
|
+
* @memberof ClientAccountsApi
|
|
9752
|
+
*/
|
|
9753
|
+
registerClientUser(requestParameters: ClientAccountsApiRegisterClientUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientRegisterResponse, any>>;
|
|
9754
|
+
}
|
|
8895
9755
|
/**
|
|
8896
9756
|
* ClubAnalyticsApi - axios parameter creator
|
|
8897
9757
|
* @export
|