@tennac-booking/sdk 1.0.106 → 1.0.108
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 +284 -291
- package/README.md +7 -20
- package/api.ts +161 -908
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +128 -593
- package/dist/api.js +75 -537
- 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 +128 -593
- package/dist/esm/api.js +67 -525
- 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/ClientApi.md +59 -4
- package/docs/{ClientAccountOnboardingResponse.md → ClientFullOnboardingResponse.md} +7 -11
- package/docs/ClientFullOnboardingResponseClub.md +24 -0
- package/docs/ClientRegister201Response.md +26 -0
- package/docs/{ClientRegisterRequestBody.md → ClientRegisterRequest.md} +7 -7
- package/docs/ClubEvent.md +8 -2
- package/docs/ClubPageResponse.md +8 -2
- package/docs/PaymentMethod.md +4 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/ActiveSubscriptionResponse.md +0 -22
- package/docs/ClientAccountOnboardingRequest.md +0 -29
- package/docs/ClientAccountResponse.md +0 -44
- package/docs/ClientAccountsApi.md +0 -408
- package/docs/ClientMeResponse.md +0 -28
- package/docs/ClientOnboardingResponse.md +0 -27
- package/docs/ClientRegisterResponse.md +0 -22
- package/docs/ClientSubscriptionResponse.md +0 -34
- package/docs/GetSubscriptionsHistory200Response.md +0 -22
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* openapi.json
|
|
3
3
|
* Pandook API Documentation
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.108
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -13,25 +13,6 @@ 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
|
-
}
|
|
35
16
|
/**
|
|
36
17
|
*
|
|
37
18
|
* @export
|
|
@@ -1327,229 +1308,73 @@ export interface CheckedInPlayer {
|
|
|
1327
1308
|
*/
|
|
1328
1309
|
'note'?: string;
|
|
1329
1310
|
}
|
|
1330
|
-
/**
|
|
1331
|
-
* Types pour les requêtes/réponses
|
|
1332
|
-
* @export
|
|
1333
|
-
* @interface ClientAccountOnboardingRequest
|
|
1334
|
-
*/
|
|
1335
|
-
export interface ClientAccountOnboardingRequest {
|
|
1336
|
-
/**
|
|
1337
|
-
*
|
|
1338
|
-
* @type {string}
|
|
1339
|
-
* @memberof ClientAccountOnboardingRequest
|
|
1340
|
-
*/
|
|
1341
|
-
'businessName': string;
|
|
1342
|
-
/**
|
|
1343
|
-
*
|
|
1344
|
-
* @type {string}
|
|
1345
|
-
* @memberof ClientAccountOnboardingRequest
|
|
1346
|
-
*/
|
|
1347
|
-
'businessType'?: ClientAccountOnboardingRequestBusinessTypeEnum;
|
|
1348
|
-
/**
|
|
1349
|
-
*
|
|
1350
|
-
* @type {string}
|
|
1351
|
-
* @memberof ClientAccountOnboardingRequest
|
|
1352
|
-
*/
|
|
1353
|
-
'subscriptionType'?: ClientAccountOnboardingRequestSubscriptionTypeEnum;
|
|
1354
|
-
/**
|
|
1355
|
-
*
|
|
1356
|
-
* @type {boolean}
|
|
1357
|
-
* @memberof ClientAccountOnboardingRequest
|
|
1358
|
-
*/
|
|
1359
|
-
'isPublicOrganization'?: boolean;
|
|
1360
|
-
/**
|
|
1361
|
-
*
|
|
1362
|
-
* @type {string}
|
|
1363
|
-
* @memberof ClientAccountOnboardingRequest
|
|
1364
|
-
*/
|
|
1365
|
-
'priceId': string;
|
|
1366
|
-
}
|
|
1367
|
-
export declare const ClientAccountOnboardingRequestBusinessTypeEnum: {
|
|
1368
|
-
readonly Individual: "individual";
|
|
1369
|
-
readonly Company: "company";
|
|
1370
|
-
};
|
|
1371
|
-
export type ClientAccountOnboardingRequestBusinessTypeEnum = typeof ClientAccountOnboardingRequestBusinessTypeEnum[keyof typeof ClientAccountOnboardingRequestBusinessTypeEnum];
|
|
1372
|
-
export declare const ClientAccountOnboardingRequestSubscriptionTypeEnum: {
|
|
1373
|
-
readonly Basic: "basic";
|
|
1374
|
-
readonly PlatformWithConnect: "platform_with_connect";
|
|
1375
|
-
};
|
|
1376
|
-
export type ClientAccountOnboardingRequestSubscriptionTypeEnum = typeof ClientAccountOnboardingRequestSubscriptionTypeEnum[keyof typeof ClientAccountOnboardingRequestSubscriptionTypeEnum];
|
|
1377
1311
|
/**
|
|
1378
1312
|
*
|
|
1379
1313
|
* @export
|
|
1380
|
-
* @interface
|
|
1314
|
+
* @interface ClientFullOnboardingResponse
|
|
1381
1315
|
*/
|
|
1382
|
-
export interface
|
|
1316
|
+
export interface ClientFullOnboardingResponse {
|
|
1383
1317
|
/**
|
|
1384
1318
|
*
|
|
1385
1319
|
* @type {string}
|
|
1386
|
-
* @memberof
|
|
1320
|
+
* @memberof ClientFullOnboardingResponse
|
|
1387
1321
|
*/
|
|
1388
1322
|
'clientAccountId': string;
|
|
1389
1323
|
/**
|
|
1390
1324
|
*
|
|
1391
1325
|
* @type {string}
|
|
1392
|
-
* @memberof
|
|
1326
|
+
* @memberof ClientFullOnboardingResponse
|
|
1393
1327
|
*/
|
|
1394
1328
|
'stripeCustomerId': string;
|
|
1395
1329
|
/**
|
|
1396
1330
|
*
|
|
1397
1331
|
* @type {string}
|
|
1398
|
-
* @memberof
|
|
1332
|
+
* @memberof ClientFullOnboardingResponse
|
|
1399
1333
|
*/
|
|
1400
1334
|
'stripeConnectedAccountId'?: string;
|
|
1401
1335
|
/**
|
|
1402
1336
|
*
|
|
1403
1337
|
* @type {string}
|
|
1404
|
-
* @memberof
|
|
1338
|
+
* @memberof ClientFullOnboardingResponse
|
|
1405
1339
|
*/
|
|
1406
|
-
'
|
|
1340
|
+
'clientOnboardingLink'?: string;
|
|
1407
1341
|
/**
|
|
1408
1342
|
*
|
|
1409
|
-
* @type {
|
|
1410
|
-
* @memberof
|
|
1343
|
+
* @type {ClientFullOnboardingResponseClub}
|
|
1344
|
+
* @memberof ClientFullOnboardingResponse
|
|
1411
1345
|
*/
|
|
1412
|
-
'
|
|
1346
|
+
'club': ClientFullOnboardingResponseClub;
|
|
1413
1347
|
/**
|
|
1414
1348
|
*
|
|
1415
1349
|
* @type {string}
|
|
1416
|
-
* @memberof
|
|
1350
|
+
* @memberof ClientFullOnboardingResponse
|
|
1417
1351
|
*/
|
|
1418
1352
|
'message': string;
|
|
1419
|
-
/**
|
|
1420
|
-
*
|
|
1421
|
-
* @type {boolean}
|
|
1422
|
-
* @memberof ClientAccountOnboardingResponse
|
|
1423
|
-
*/
|
|
1424
|
-
'isPublicOrganization': boolean;
|
|
1425
|
-
/**
|
|
1426
|
-
*
|
|
1427
|
-
* @type {boolean}
|
|
1428
|
-
* @memberof ClientAccountOnboardingResponse
|
|
1429
|
-
*/
|
|
1430
|
-
'manualInvoiceRequired'?: boolean;
|
|
1431
|
-
}
|
|
1432
|
-
/**
|
|
1433
|
-
*
|
|
1434
|
-
* @export
|
|
1435
|
-
* @interface ClientAccountResponse
|
|
1436
|
-
*/
|
|
1437
|
-
export interface ClientAccountResponse {
|
|
1438
|
-
/**
|
|
1439
|
-
*
|
|
1440
|
-
* @type {string}
|
|
1441
|
-
* @memberof ClientAccountResponse
|
|
1442
|
-
*/
|
|
1443
|
-
'id': string;
|
|
1444
|
-
/**
|
|
1445
|
-
*
|
|
1446
|
-
* @type {string}
|
|
1447
|
-
* @memberof ClientAccountResponse
|
|
1448
|
-
*/
|
|
1449
|
-
'email': string;
|
|
1450
|
-
/**
|
|
1451
|
-
*
|
|
1452
|
-
* @type {string}
|
|
1453
|
-
* @memberof ClientAccountResponse
|
|
1454
|
-
*/
|
|
1455
|
-
'businessName': string;
|
|
1456
|
-
/**
|
|
1457
|
-
*
|
|
1458
|
-
* @type {string}
|
|
1459
|
-
* @memberof ClientAccountResponse
|
|
1460
|
-
*/
|
|
1461
|
-
'businessType': string;
|
|
1462
|
-
/**
|
|
1463
|
-
*
|
|
1464
|
-
* @type {string}
|
|
1465
|
-
* @memberof ClientAccountResponse
|
|
1466
|
-
*/
|
|
1467
|
-
'subscriptionType': string;
|
|
1468
|
-
/**
|
|
1469
|
-
*
|
|
1470
|
-
* @type {string}
|
|
1471
|
-
* @memberof ClientAccountResponse
|
|
1472
|
-
*/
|
|
1473
|
-
'status': string;
|
|
1474
|
-
/**
|
|
1475
|
-
*
|
|
1476
|
-
* @type {boolean}
|
|
1477
|
-
* @memberof ClientAccountResponse
|
|
1478
|
-
*/
|
|
1479
|
-
'platformPaymentMethodSetup': boolean;
|
|
1480
|
-
/**
|
|
1481
|
-
*
|
|
1482
|
-
* @type {string}
|
|
1483
|
-
* @memberof ClientAccountResponse
|
|
1484
|
-
*/
|
|
1485
|
-
'stripeConnectedAccountId'?: string;
|
|
1486
|
-
/**
|
|
1487
|
-
*
|
|
1488
|
-
* @type {boolean}
|
|
1489
|
-
* @memberof ClientAccountResponse
|
|
1490
|
-
*/
|
|
1491
|
-
'connectedAccountOnboardingRequired'?: boolean;
|
|
1492
|
-
/**
|
|
1493
|
-
*
|
|
1494
|
-
* @type {boolean}
|
|
1495
|
-
* @memberof ClientAccountResponse
|
|
1496
|
-
*/
|
|
1497
|
-
'isPublicOrganization': boolean;
|
|
1498
|
-
/**
|
|
1499
|
-
*
|
|
1500
|
-
* @type {boolean}
|
|
1501
|
-
* @memberof ClientAccountResponse
|
|
1502
|
-
*/
|
|
1503
|
-
'manualInvoiceRequired'?: boolean;
|
|
1504
|
-
/**
|
|
1505
|
-
*
|
|
1506
|
-
* @type {string}
|
|
1507
|
-
* @memberof ClientAccountResponse
|
|
1508
|
-
*/
|
|
1509
|
-
'createdAt': string;
|
|
1510
|
-
/**
|
|
1511
|
-
*
|
|
1512
|
-
* @type {string}
|
|
1513
|
-
* @memberof ClientAccountResponse
|
|
1514
|
-
*/
|
|
1515
|
-
'updatedAt': string;
|
|
1516
1353
|
}
|
|
1517
1354
|
/**
|
|
1518
1355
|
*
|
|
1519
1356
|
* @export
|
|
1520
|
-
* @interface
|
|
1357
|
+
* @interface ClientFullOnboardingResponseClub
|
|
1521
1358
|
*/
|
|
1522
|
-
export interface
|
|
1523
|
-
/**
|
|
1524
|
-
*
|
|
1525
|
-
* @type {string}
|
|
1526
|
-
* @memberof ClientMeResponse
|
|
1527
|
-
*/
|
|
1528
|
-
'id': string;
|
|
1359
|
+
export interface ClientFullOnboardingResponseClub {
|
|
1529
1360
|
/**
|
|
1530
1361
|
*
|
|
1531
1362
|
* @type {string}
|
|
1532
|
-
* @memberof
|
|
1363
|
+
* @memberof ClientFullOnboardingResponseClub
|
|
1533
1364
|
*/
|
|
1534
|
-
'
|
|
1365
|
+
'clubOnboardingLink'?: string;
|
|
1535
1366
|
/**
|
|
1536
1367
|
*
|
|
1537
1368
|
* @type {string}
|
|
1538
|
-
* @memberof
|
|
1369
|
+
* @memberof ClientFullOnboardingResponseClub
|
|
1539
1370
|
*/
|
|
1540
|
-
'
|
|
1371
|
+
'stripeAccountId': string;
|
|
1541
1372
|
/**
|
|
1542
1373
|
*
|
|
1543
1374
|
* @type {string}
|
|
1544
|
-
* @memberof
|
|
1375
|
+
* @memberof ClientFullOnboardingResponseClub
|
|
1545
1376
|
*/
|
|
1546
|
-
'
|
|
1547
|
-
/**
|
|
1548
|
-
*
|
|
1549
|
-
* @type {boolean}
|
|
1550
|
-
* @memberof ClientMeResponse
|
|
1551
|
-
*/
|
|
1552
|
-
'isClient': boolean;
|
|
1377
|
+
'clubId': string;
|
|
1553
1378
|
}
|
|
1554
1379
|
/**
|
|
1555
1380
|
* Requête pour l\'onboarding d\'un club
|
|
@@ -1600,141 +1425,67 @@ export interface ClientOnboardingRequestBody {
|
|
|
1600
1425
|
*/
|
|
1601
1426
|
'country'?: string;
|
|
1602
1427
|
}
|
|
1603
|
-
/**
|
|
1604
|
-
* Réponse pour l\'onboarding d\'un club
|
|
1605
|
-
* @export
|
|
1606
|
-
* @interface ClientOnboardingResponse
|
|
1607
|
-
*/
|
|
1608
|
-
export interface ClientOnboardingResponse {
|
|
1609
|
-
/**
|
|
1610
|
-
* ID unique du club créé
|
|
1611
|
-
* @type {string}
|
|
1612
|
-
* @memberof ClientOnboardingResponse
|
|
1613
|
-
*/
|
|
1614
|
-
'clubId': string;
|
|
1615
|
-
/**
|
|
1616
|
-
* ID du compte Stripe Connect du club
|
|
1617
|
-
* @type {string}
|
|
1618
|
-
* @memberof ClientOnboardingResponse
|
|
1619
|
-
*/
|
|
1620
|
-
'stripeAccountId': string;
|
|
1621
|
-
/**
|
|
1622
|
-
* Lien d\'onboarding Stripe pour configurer le compte
|
|
1623
|
-
* @type {string}
|
|
1624
|
-
* @memberof ClientOnboardingResponse
|
|
1625
|
-
*/
|
|
1626
|
-
'onboardingLink': string;
|
|
1627
|
-
/**
|
|
1628
|
-
* Message de confirmation
|
|
1629
|
-
* @type {string}
|
|
1630
|
-
* @memberof ClientOnboardingResponse
|
|
1631
|
-
*/
|
|
1632
|
-
'message': string;
|
|
1633
|
-
}
|
|
1634
1428
|
/**
|
|
1635
1429
|
*
|
|
1636
1430
|
* @export
|
|
1637
|
-
* @interface
|
|
1431
|
+
* @interface ClientRegister201Response
|
|
1638
1432
|
*/
|
|
1639
|
-
export interface
|
|
1433
|
+
export interface ClientRegister201Response {
|
|
1640
1434
|
/**
|
|
1641
1435
|
*
|
|
1642
1436
|
* @type {string}
|
|
1643
|
-
* @memberof
|
|
1437
|
+
* @memberof ClientRegister201Response
|
|
1644
1438
|
*/
|
|
1645
|
-
'
|
|
1646
|
-
/**
|
|
1647
|
-
*
|
|
1648
|
-
* @type {string}
|
|
1649
|
-
* @memberof ClientRegisterRequestBody
|
|
1650
|
-
*/
|
|
1651
|
-
'password': string;
|
|
1652
|
-
/**
|
|
1653
|
-
*
|
|
1654
|
-
* @type {string}
|
|
1655
|
-
* @memberof ClientRegisterRequestBody
|
|
1656
|
-
*/
|
|
1657
|
-
'firstName': string;
|
|
1439
|
+
'message': string;
|
|
1658
1440
|
/**
|
|
1659
1441
|
*
|
|
1660
1442
|
* @type {string}
|
|
1661
|
-
* @memberof
|
|
1443
|
+
* @memberof ClientRegister201Response
|
|
1662
1444
|
*/
|
|
1663
|
-
'
|
|
1664
|
-
}
|
|
1665
|
-
/**
|
|
1666
|
-
*
|
|
1667
|
-
* @export
|
|
1668
|
-
* @interface ClientRegisterResponse
|
|
1669
|
-
*/
|
|
1670
|
-
export interface ClientRegisterResponse {
|
|
1445
|
+
'stripeCustomerId': string;
|
|
1671
1446
|
/**
|
|
1672
1447
|
*
|
|
1673
1448
|
* @type {string}
|
|
1674
|
-
* @memberof
|
|
1449
|
+
* @memberof ClientRegister201Response
|
|
1675
1450
|
*/
|
|
1676
|
-
'
|
|
1451
|
+
'email': string;
|
|
1677
1452
|
/**
|
|
1678
1453
|
*
|
|
1679
1454
|
* @type {string}
|
|
1680
|
-
* @memberof
|
|
1455
|
+
* @memberof ClientRegister201Response
|
|
1681
1456
|
*/
|
|
1682
|
-
'
|
|
1457
|
+
'userId': string;
|
|
1683
1458
|
}
|
|
1684
1459
|
/**
|
|
1685
1460
|
*
|
|
1686
1461
|
* @export
|
|
1687
|
-
* @interface
|
|
1462
|
+
* @interface ClientRegisterRequest
|
|
1688
1463
|
*/
|
|
1689
|
-
export interface
|
|
1690
|
-
/**
|
|
1691
|
-
*
|
|
1692
|
-
* @type {string}
|
|
1693
|
-
* @memberof ClientSubscriptionResponse
|
|
1694
|
-
*/
|
|
1695
|
-
'id': string;
|
|
1464
|
+
export interface ClientRegisterRequest {
|
|
1696
1465
|
/**
|
|
1697
1466
|
*
|
|
1698
1467
|
* @type {string}
|
|
1699
|
-
* @memberof
|
|
1468
|
+
* @memberof ClientRegisterRequest
|
|
1700
1469
|
*/
|
|
1701
|
-
'
|
|
1702
|
-
/**
|
|
1703
|
-
*
|
|
1704
|
-
* @type {string}
|
|
1705
|
-
* @memberof ClientSubscriptionResponse
|
|
1706
|
-
*/
|
|
1707
|
-
'status': string;
|
|
1708
|
-
/**
|
|
1709
|
-
*
|
|
1710
|
-
* @type {string}
|
|
1711
|
-
* @memberof ClientSubscriptionResponse
|
|
1712
|
-
*/
|
|
1713
|
-
'startDate': string;
|
|
1470
|
+
'password': string;
|
|
1714
1471
|
/**
|
|
1715
1472
|
*
|
|
1716
1473
|
* @type {string}
|
|
1717
|
-
* @memberof
|
|
1474
|
+
* @memberof ClientRegisterRequest
|
|
1718
1475
|
*/
|
|
1719
|
-
'
|
|
1720
|
-
/**
|
|
1721
|
-
*
|
|
1722
|
-
* @type {number}
|
|
1723
|
-
* @memberof ClientSubscriptionResponse
|
|
1724
|
-
*/
|
|
1725
|
-
'priceAmountInCents': number;
|
|
1476
|
+
'email': string;
|
|
1726
1477
|
/**
|
|
1727
1478
|
*
|
|
1728
1479
|
* @type {string}
|
|
1729
|
-
* @memberof
|
|
1480
|
+
* @memberof ClientRegisterRequest
|
|
1730
1481
|
*/
|
|
1731
|
-
'
|
|
1482
|
+
'lastName': string;
|
|
1732
1483
|
/**
|
|
1733
1484
|
*
|
|
1734
1485
|
* @type {string}
|
|
1735
|
-
* @memberof
|
|
1486
|
+
* @memberof ClientRegisterRequest
|
|
1736
1487
|
*/
|
|
1737
|
-
'
|
|
1488
|
+
'firstName': string;
|
|
1738
1489
|
}
|
|
1739
1490
|
/**
|
|
1740
1491
|
*
|
|
@@ -1761,6 +1512,12 @@ export interface ClubDaySchedule {
|
|
|
1761
1512
|
* @interface ClubEvent
|
|
1762
1513
|
*/
|
|
1763
1514
|
export interface ClubEvent {
|
|
1515
|
+
/**
|
|
1516
|
+
*
|
|
1517
|
+
* @type {string}
|
|
1518
|
+
* @memberof ClubEvent
|
|
1519
|
+
*/
|
|
1520
|
+
'imageSrc'?: string;
|
|
1764
1521
|
/**
|
|
1765
1522
|
*
|
|
1766
1523
|
* @type {string}
|
|
@@ -1778,13 +1535,25 @@ export interface ClubEvent {
|
|
|
1778
1535
|
* @type {string}
|
|
1779
1536
|
* @memberof ClubEvent
|
|
1780
1537
|
*/
|
|
1781
|
-
'
|
|
1538
|
+
'endDate': string;
|
|
1539
|
+
/**
|
|
1540
|
+
*
|
|
1541
|
+
* @type {string}
|
|
1542
|
+
* @memberof ClubEvent
|
|
1543
|
+
*/
|
|
1544
|
+
'startDate': string;
|
|
1782
1545
|
/**
|
|
1783
1546
|
*
|
|
1784
1547
|
* @type {string}
|
|
1785
1548
|
* @memberof ClubEvent
|
|
1786
1549
|
*/
|
|
1787
1550
|
'name': string;
|
|
1551
|
+
/**
|
|
1552
|
+
*
|
|
1553
|
+
* @type {string}
|
|
1554
|
+
* @memberof ClubEvent
|
|
1555
|
+
*/
|
|
1556
|
+
'id': string;
|
|
1788
1557
|
}
|
|
1789
1558
|
/**
|
|
1790
1559
|
*
|
|
@@ -2030,7 +1799,25 @@ export interface ClubPageResponse {
|
|
|
2030
1799
|
* @type {Array<ClubEvent>}
|
|
2031
1800
|
* @memberof ClubPageResponse
|
|
2032
1801
|
*/
|
|
2033
|
-
'
|
|
1802
|
+
'comingEvents': Array<ClubEvent>;
|
|
1803
|
+
/**
|
|
1804
|
+
*
|
|
1805
|
+
* @type {Array<ClubEvent>}
|
|
1806
|
+
* @memberof ClubPageResponse
|
|
1807
|
+
*/
|
|
1808
|
+
'comingClosures': Array<ClubEvent>;
|
|
1809
|
+
/**
|
|
1810
|
+
*
|
|
1811
|
+
* @type {Array<ClubEvent>}
|
|
1812
|
+
* @memberof ClubPageResponse
|
|
1813
|
+
*/
|
|
1814
|
+
'lastNews': Array<ClubEvent>;
|
|
1815
|
+
/**
|
|
1816
|
+
*
|
|
1817
|
+
* @type {ClubHoursSettingsResponse}
|
|
1818
|
+
* @memberof ClubPageResponse
|
|
1819
|
+
*/
|
|
1820
|
+
'openingHours'?: ClubHoursSettingsResponse;
|
|
2034
1821
|
/**
|
|
2035
1822
|
*
|
|
2036
1823
|
* @type {ClubResponseCreatedAt}
|
|
@@ -4379,25 +4166,6 @@ export interface GetSlotsByClubById200Response {
|
|
|
4379
4166
|
*/
|
|
4380
4167
|
'slots': Array<any>;
|
|
4381
4168
|
}
|
|
4382
|
-
/**
|
|
4383
|
-
*
|
|
4384
|
-
* @export
|
|
4385
|
-
* @interface GetSubscriptionsHistory200Response
|
|
4386
|
-
*/
|
|
4387
|
-
export interface GetSubscriptionsHistory200Response {
|
|
4388
|
-
/**
|
|
4389
|
-
*
|
|
4390
|
-
* @type {Array<ClientSubscriptionResponse>}
|
|
4391
|
-
* @memberof GetSubscriptionsHistory200Response
|
|
4392
|
-
*/
|
|
4393
|
-
'subscriptions': Array<ClientSubscriptionResponse>;
|
|
4394
|
-
/**
|
|
4395
|
-
*
|
|
4396
|
-
* @type {string}
|
|
4397
|
-
* @memberof GetSubscriptionsHistory200Response
|
|
4398
|
-
*/
|
|
4399
|
-
'clientAccountId': string;
|
|
4400
|
-
}
|
|
4401
4169
|
/**
|
|
4402
4170
|
*
|
|
4403
4171
|
* @export
|
|
@@ -5480,6 +5248,8 @@ export interface PaymentByPlayerInfo {
|
|
|
5480
5248
|
export declare const PaymentMethod: {
|
|
5481
5249
|
readonly Online: "online";
|
|
5482
5250
|
readonly Onsite: "onsite";
|
|
5251
|
+
readonly OnsiteCard: "onsite_card";
|
|
5252
|
+
readonly OnsiteCash: "onsite_cash";
|
|
5483
5253
|
readonly Free: "free";
|
|
5484
5254
|
};
|
|
5485
5255
|
export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
|
|
@@ -10416,6 +10186,13 @@ export declare class BookingsUserApi extends BaseAPI {
|
|
|
10416
10186
|
* @export
|
|
10417
10187
|
*/
|
|
10418
10188
|
export declare const ClientApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
10189
|
+
/**
|
|
10190
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
10191
|
+
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
10192
|
+
* @param {*} [options] Override http request option.
|
|
10193
|
+
* @throws {RequiredError}
|
|
10194
|
+
*/
|
|
10195
|
+
clientRegister: (clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10419
10196
|
/**
|
|
10420
10197
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
10421
10198
|
* @param {*} [options] Override http request option.
|
|
@@ -10423,7 +10200,7 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
10423
10200
|
*/
|
|
10424
10201
|
getManagedClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10425
10202
|
/**
|
|
10426
|
-
* Enregistre un nouveau club pour la plateforme
|
|
10203
|
+
* 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
|
|
10427
10204
|
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
10428
10205
|
* @param {*} [options] Override http request option.
|
|
10429
10206
|
* @throws {RequiredError}
|
|
@@ -10435,6 +10212,13 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
10435
10212
|
* @export
|
|
10436
10213
|
*/
|
|
10437
10214
|
export declare const ClientApiFp: (configuration?: Configuration) => {
|
|
10215
|
+
/**
|
|
10216
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
10217
|
+
* @param {ClientRegisterRequest} clientRegisterRequest
|
|
10218
|
+
* @param {*} [options] Override http request option.
|
|
10219
|
+
* @throws {RequiredError}
|
|
10220
|
+
*/
|
|
10221
|
+
clientRegister(clientRegisterRequest: ClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegister201Response>>;
|
|
10438
10222
|
/**
|
|
10439
10223
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
10440
10224
|
* @param {*} [options] Override http request option.
|
|
@@ -10442,18 +10226,25 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
|
|
|
10442
10226
|
*/
|
|
10443
10227
|
getManagedClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagedClubsResponse>>;
|
|
10444
10228
|
/**
|
|
10445
|
-
* Enregistre un nouveau club pour la plateforme
|
|
10229
|
+
* 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
|
|
10446
10230
|
* @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
|
|
10447
10231
|
* @param {*} [options] Override http request option.
|
|
10448
10232
|
* @throws {RequiredError}
|
|
10449
10233
|
*/
|
|
10450
|
-
onboardClub(clientOnboardingRequestBody: ClientOnboardingRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
10234
|
+
onboardClub(clientOnboardingRequestBody: ClientOnboardingRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientFullOnboardingResponse>>;
|
|
10451
10235
|
};
|
|
10452
10236
|
/**
|
|
10453
10237
|
* ClientApi - factory interface
|
|
10454
10238
|
* @export
|
|
10455
10239
|
*/
|
|
10456
10240
|
export declare const ClientApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
10241
|
+
/**
|
|
10242
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
10243
|
+
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
10244
|
+
* @param {*} [options] Override http request option.
|
|
10245
|
+
* @throws {RequiredError}
|
|
10246
|
+
*/
|
|
10247
|
+
clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegister201Response>;
|
|
10457
10248
|
/**
|
|
10458
10249
|
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
10459
10250
|
* @param {*} [options] Override http request option.
|
|
@@ -10461,13 +10252,26 @@ export declare const ClientApiFactory: (configuration?: Configuration, basePath?
|
|
|
10461
10252
|
*/
|
|
10462
10253
|
getManagedClubs(options?: RawAxiosRequestConfig): AxiosPromise<ManagedClubsResponse>;
|
|
10463
10254
|
/**
|
|
10464
|
-
* Enregistre un nouveau club pour la plateforme
|
|
10255
|
+
* 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
|
|
10465
10256
|
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
10466
10257
|
* @param {*} [options] Override http request option.
|
|
10467
10258
|
* @throws {RequiredError}
|
|
10468
10259
|
*/
|
|
10469
|
-
onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
10260
|
+
onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientFullOnboardingResponse>;
|
|
10470
10261
|
};
|
|
10262
|
+
/**
|
|
10263
|
+
* Request parameters for clientRegister operation in ClientApi.
|
|
10264
|
+
* @export
|
|
10265
|
+
* @interface ClientApiClientRegisterRequest
|
|
10266
|
+
*/
|
|
10267
|
+
export interface ClientApiClientRegisterRequest {
|
|
10268
|
+
/**
|
|
10269
|
+
*
|
|
10270
|
+
* @type {ClientRegisterRequest}
|
|
10271
|
+
* @memberof ClientApiClientRegister
|
|
10272
|
+
*/
|
|
10273
|
+
readonly clientRegisterRequest: ClientRegisterRequest;
|
|
10274
|
+
}
|
|
10471
10275
|
/**
|
|
10472
10276
|
* Request parameters for onboardClub operation in ClientApi.
|
|
10473
10277
|
* @export
|
|
@@ -10489,297 +10293,28 @@ export interface ClientApiOnboardClubRequest {
|
|
|
10489
10293
|
*/
|
|
10490
10294
|
export declare class ClientApi extends BaseAPI {
|
|
10491
10295
|
/**
|
|
10492
|
-
*
|
|
10296
|
+
* Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
|
|
10297
|
+
* @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
|
|
10493
10298
|
* @param {*} [options] Override http request option.
|
|
10494
10299
|
* @throws {RequiredError}
|
|
10495
10300
|
* @memberof ClientApi
|
|
10496
10301
|
*/
|
|
10497
|
-
|
|
10302
|
+
clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientRegister201Response, any, {}>>;
|
|
10498
10303
|
/**
|
|
10499
|
-
*
|
|
10500
|
-
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
10304
|
+
* Récupère la liste des clubs gérés par l\'utilisateur authentifié
|
|
10501
10305
|
* @param {*} [options] Override http request option.
|
|
10502
10306
|
* @throws {RequiredError}
|
|
10503
10307
|
* @memberof ClientApi
|
|
10504
10308
|
*/
|
|
10505
|
-
|
|
10506
|
-
}
|
|
10507
|
-
/**
|
|
10508
|
-
* ClientAccountsApi - axios parameter creator
|
|
10509
|
-
* @export
|
|
10510
|
-
*/
|
|
10511
|
-
export declare const ClientAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
10512
|
-
/**
|
|
10513
|
-
* Informations de l\'utilisateur client authentifié (token clientAuth)
|
|
10514
|
-
* @param {*} [options] Override http request option.
|
|
10515
|
-
* @throws {RequiredError}
|
|
10516
|
-
*/
|
|
10517
|
-
clientAuthMe: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10518
|
-
/**
|
|
10519
|
-
* Récupère le compte client par son ID
|
|
10520
|
-
* @param {string} accountId L\'ID du compte client
|
|
10521
|
-
* @param {*} [options] Override http request option.
|
|
10522
|
-
* @throws {RequiredError}
|
|
10523
|
-
*/
|
|
10524
|
-
getClientAccountById: (accountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10525
|
-
/**
|
|
10526
|
-
* Récupère l\'abonnement actif du compte client authentifié
|
|
10527
|
-
* @param {*} [options] Override http request option.
|
|
10528
|
-
* @throws {RequiredError}
|
|
10529
|
-
*/
|
|
10530
|
-
getMyActiveSubscription: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10531
|
-
/**
|
|
10532
|
-
* Récupère le compte client de l\'utilisateur authentifié
|
|
10533
|
-
* @param {*} [options] Override http request option.
|
|
10534
|
-
* @throws {RequiredError}
|
|
10535
|
-
*/
|
|
10536
|
-
getMyClientAccount: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10537
|
-
/**
|
|
10538
|
-
* Récupère l\'historique des abonnements du compte client authentifié
|
|
10539
|
-
* @param {*} [options] Override http request option.
|
|
10540
|
-
* @throws {RequiredError}
|
|
10541
|
-
*/
|
|
10542
|
-
getSubscriptionsHistory: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10543
|
-
/**
|
|
10544
|
-
* Liste les prix Stripe disponibles pour les abonnements client
|
|
10545
|
-
* @param {*} [options] Override http request option.
|
|
10546
|
-
* @throws {RequiredError}
|
|
10547
|
-
*/
|
|
10548
|
-
listAvailablePrices: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10549
|
-
/**
|
|
10550
|
-
* Crée un nouveau compte client avec onboarding Stripe
|
|
10551
|
-
* @param {ClientAccountOnboardingRequest} clientAccountOnboardingRequest Les données du compte à créer
|
|
10552
|
-
* @param {*} [options] Override http request option.
|
|
10553
|
-
* @throws {RequiredError}
|
|
10554
|
-
*/
|
|
10555
|
-
onboardClientAccount: (clientAccountOnboardingRequest: ClientAccountOnboardingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10556
|
-
/**
|
|
10557
|
-
* Route d\'inscription d\'un utilisateur client (publique)
|
|
10558
|
-
* @param {ClientRegisterRequestBody} clientRegisterRequestBody
|
|
10559
|
-
* @param {*} [options] Override http request option.
|
|
10560
|
-
* @throws {RequiredError}
|
|
10561
|
-
*/
|
|
10562
|
-
registerClientUser: (clientRegisterRequestBody: ClientRegisterRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
10563
|
-
};
|
|
10564
|
-
/**
|
|
10565
|
-
* ClientAccountsApi - functional programming interface
|
|
10566
|
-
* @export
|
|
10567
|
-
*/
|
|
10568
|
-
export declare const ClientAccountsApiFp: (configuration?: Configuration) => {
|
|
10569
|
-
/**
|
|
10570
|
-
* Informations de l\'utilisateur client authentifié (token clientAuth)
|
|
10571
|
-
* @param {*} [options] Override http request option.
|
|
10572
|
-
* @throws {RequiredError}
|
|
10573
|
-
*/
|
|
10574
|
-
clientAuthMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientMeResponse>>;
|
|
10575
|
-
/**
|
|
10576
|
-
* Récupère le compte client par son ID
|
|
10577
|
-
* @param {string} accountId L\'ID du compte client
|
|
10578
|
-
* @param {*} [options] Override http request option.
|
|
10579
|
-
* @throws {RequiredError}
|
|
10580
|
-
*/
|
|
10581
|
-
getClientAccountById(accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountResponse>>;
|
|
10582
|
-
/**
|
|
10583
|
-
* Récupère l\'abonnement actif du compte client authentifié
|
|
10584
|
-
* @param {*} [options] Override http request option.
|
|
10585
|
-
* @throws {RequiredError}
|
|
10586
|
-
*/
|
|
10587
|
-
getMyActiveSubscription(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActiveSubscriptionResponse>>;
|
|
10588
|
-
/**
|
|
10589
|
-
* Récupère le compte client de l\'utilisateur authentifié
|
|
10590
|
-
* @param {*} [options] Override http request option.
|
|
10591
|
-
* @throws {RequiredError}
|
|
10592
|
-
*/
|
|
10593
|
-
getMyClientAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountResponse>>;
|
|
10594
|
-
/**
|
|
10595
|
-
* Récupère l\'historique des abonnements du compte client authentifié
|
|
10596
|
-
* @param {*} [options] Override http request option.
|
|
10597
|
-
* @throws {RequiredError}
|
|
10598
|
-
*/
|
|
10599
|
-
getSubscriptionsHistory(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSubscriptionsHistory200Response>>;
|
|
10600
|
-
/**
|
|
10601
|
-
* Liste les prix Stripe disponibles pour les abonnements client
|
|
10602
|
-
* @param {*} [options] Override http request option.
|
|
10603
|
-
* @throws {RequiredError}
|
|
10604
|
-
*/
|
|
10605
|
-
listAvailablePrices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>>;
|
|
10606
|
-
/**
|
|
10607
|
-
* Crée un nouveau compte client avec onboarding Stripe
|
|
10608
|
-
* @param {ClientAccountOnboardingRequest} clientAccountOnboardingRequest Les données du compte à créer
|
|
10609
|
-
* @param {*} [options] Override http request option.
|
|
10610
|
-
* @throws {RequiredError}
|
|
10611
|
-
*/
|
|
10612
|
-
onboardClientAccount(clientAccountOnboardingRequest: ClientAccountOnboardingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountOnboardingResponse>>;
|
|
10613
|
-
/**
|
|
10614
|
-
* Route d\'inscription d\'un utilisateur client (publique)
|
|
10615
|
-
* @param {ClientRegisterRequestBody} clientRegisterRequestBody
|
|
10616
|
-
* @param {*} [options] Override http request option.
|
|
10617
|
-
* @throws {RequiredError}
|
|
10618
|
-
*/
|
|
10619
|
-
registerClientUser(clientRegisterRequestBody: ClientRegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegisterResponse>>;
|
|
10620
|
-
};
|
|
10621
|
-
/**
|
|
10622
|
-
* ClientAccountsApi - factory interface
|
|
10623
|
-
* @export
|
|
10624
|
-
*/
|
|
10625
|
-
export declare const ClientAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
10626
|
-
/**
|
|
10627
|
-
* Informations de l\'utilisateur client authentifié (token clientAuth)
|
|
10628
|
-
* @param {*} [options] Override http request option.
|
|
10629
|
-
* @throws {RequiredError}
|
|
10630
|
-
*/
|
|
10631
|
-
clientAuthMe(options?: RawAxiosRequestConfig): AxiosPromise<ClientMeResponse>;
|
|
10632
|
-
/**
|
|
10633
|
-
* Récupère le compte client par son ID
|
|
10634
|
-
* @param {ClientAccountsApiGetClientAccountByIdRequest} requestParameters Request parameters.
|
|
10635
|
-
* @param {*} [options] Override http request option.
|
|
10636
|
-
* @throws {RequiredError}
|
|
10637
|
-
*/
|
|
10638
|
-
getClientAccountById(requestParameters: ClientAccountsApiGetClientAccountByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountResponse>;
|
|
10639
|
-
/**
|
|
10640
|
-
* Récupère l\'abonnement actif du compte client authentifié
|
|
10641
|
-
* @param {*} [options] Override http request option.
|
|
10642
|
-
* @throws {RequiredError}
|
|
10643
|
-
*/
|
|
10644
|
-
getMyActiveSubscription(options?: RawAxiosRequestConfig): AxiosPromise<ActiveSubscriptionResponse>;
|
|
10645
|
-
/**
|
|
10646
|
-
* Récupère le compte client de l\'utilisateur authentifié
|
|
10647
|
-
* @param {*} [options] Override http request option.
|
|
10648
|
-
* @throws {RequiredError}
|
|
10649
|
-
*/
|
|
10650
|
-
getMyClientAccount(options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountResponse>;
|
|
10651
|
-
/**
|
|
10652
|
-
* Récupère l\'historique des abonnements du compte client authentifié
|
|
10653
|
-
* @param {*} [options] Override http request option.
|
|
10654
|
-
* @throws {RequiredError}
|
|
10655
|
-
*/
|
|
10656
|
-
getSubscriptionsHistory(options?: RawAxiosRequestConfig): AxiosPromise<GetSubscriptionsHistory200Response>;
|
|
10657
|
-
/**
|
|
10658
|
-
* Liste les prix Stripe disponibles pour les abonnements client
|
|
10659
|
-
* @param {*} [options] Override http request option.
|
|
10660
|
-
* @throws {RequiredError}
|
|
10661
|
-
*/
|
|
10662
|
-
listAvailablePrices(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>>;
|
|
10663
|
-
/**
|
|
10664
|
-
* Crée un nouveau compte client avec onboarding Stripe
|
|
10665
|
-
* @param {ClientAccountsApiOnboardClientAccountRequest} requestParameters Request parameters.
|
|
10666
|
-
* @param {*} [options] Override http request option.
|
|
10667
|
-
* @throws {RequiredError}
|
|
10668
|
-
*/
|
|
10669
|
-
onboardClientAccount(requestParameters: ClientAccountsApiOnboardClientAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountOnboardingResponse>;
|
|
10670
|
-
/**
|
|
10671
|
-
* Route d\'inscription d\'un utilisateur client (publique)
|
|
10672
|
-
* @param {ClientAccountsApiRegisterClientUserRequest} requestParameters Request parameters.
|
|
10673
|
-
* @param {*} [options] Override http request option.
|
|
10674
|
-
* @throws {RequiredError}
|
|
10675
|
-
*/
|
|
10676
|
-
registerClientUser(requestParameters: ClientAccountsApiRegisterClientUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegisterResponse>;
|
|
10677
|
-
};
|
|
10678
|
-
/**
|
|
10679
|
-
* Request parameters for getClientAccountById operation in ClientAccountsApi.
|
|
10680
|
-
* @export
|
|
10681
|
-
* @interface ClientAccountsApiGetClientAccountByIdRequest
|
|
10682
|
-
*/
|
|
10683
|
-
export interface ClientAccountsApiGetClientAccountByIdRequest {
|
|
10684
|
-
/**
|
|
10685
|
-
* L\'ID du compte client
|
|
10686
|
-
* @type {string}
|
|
10687
|
-
* @memberof ClientAccountsApiGetClientAccountById
|
|
10688
|
-
*/
|
|
10689
|
-
readonly accountId: string;
|
|
10690
|
-
}
|
|
10691
|
-
/**
|
|
10692
|
-
* Request parameters for onboardClientAccount operation in ClientAccountsApi.
|
|
10693
|
-
* @export
|
|
10694
|
-
* @interface ClientAccountsApiOnboardClientAccountRequest
|
|
10695
|
-
*/
|
|
10696
|
-
export interface ClientAccountsApiOnboardClientAccountRequest {
|
|
10697
|
-
/**
|
|
10698
|
-
* Les données du compte à créer
|
|
10699
|
-
* @type {ClientAccountOnboardingRequest}
|
|
10700
|
-
* @memberof ClientAccountsApiOnboardClientAccount
|
|
10701
|
-
*/
|
|
10702
|
-
readonly clientAccountOnboardingRequest: ClientAccountOnboardingRequest;
|
|
10703
|
-
}
|
|
10704
|
-
/**
|
|
10705
|
-
* Request parameters for registerClientUser operation in ClientAccountsApi.
|
|
10706
|
-
* @export
|
|
10707
|
-
* @interface ClientAccountsApiRegisterClientUserRequest
|
|
10708
|
-
*/
|
|
10709
|
-
export interface ClientAccountsApiRegisterClientUserRequest {
|
|
10710
|
-
/**
|
|
10711
|
-
*
|
|
10712
|
-
* @type {ClientRegisterRequestBody}
|
|
10713
|
-
* @memberof ClientAccountsApiRegisterClientUser
|
|
10714
|
-
*/
|
|
10715
|
-
readonly clientRegisterRequestBody: ClientRegisterRequestBody;
|
|
10716
|
-
}
|
|
10717
|
-
/**
|
|
10718
|
-
* ClientAccountsApi - object-oriented interface
|
|
10719
|
-
* @export
|
|
10720
|
-
* @class ClientAccountsApi
|
|
10721
|
-
* @extends {BaseAPI}
|
|
10722
|
-
*/
|
|
10723
|
-
export declare class ClientAccountsApi extends BaseAPI {
|
|
10724
|
-
/**
|
|
10725
|
-
* Informations de l\'utilisateur client authentifié (token clientAuth)
|
|
10726
|
-
* @param {*} [options] Override http request option.
|
|
10727
|
-
* @throws {RequiredError}
|
|
10728
|
-
* @memberof ClientAccountsApi
|
|
10729
|
-
*/
|
|
10730
|
-
clientAuthMe(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientMeResponse, any, {}>>;
|
|
10731
|
-
/**
|
|
10732
|
-
* Récupère le compte client par son ID
|
|
10733
|
-
* @param {ClientAccountsApiGetClientAccountByIdRequest} requestParameters Request parameters.
|
|
10734
|
-
* @param {*} [options] Override http request option.
|
|
10735
|
-
* @throws {RequiredError}
|
|
10736
|
-
* @memberof ClientAccountsApi
|
|
10737
|
-
*/
|
|
10738
|
-
getClientAccountById(requestParameters: ClientAccountsApiGetClientAccountByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientAccountResponse, any, {}>>;
|
|
10739
|
-
/**
|
|
10740
|
-
* Récupère l\'abonnement actif du compte client authentifié
|
|
10741
|
-
* @param {*} [options] Override http request option.
|
|
10742
|
-
* @throws {RequiredError}
|
|
10743
|
-
* @memberof ClientAccountsApi
|
|
10744
|
-
*/
|
|
10745
|
-
getMyActiveSubscription(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ActiveSubscriptionResponse, any, {}>>;
|
|
10746
|
-
/**
|
|
10747
|
-
* Récupère le compte client de l\'utilisateur authentifié
|
|
10748
|
-
* @param {*} [options] Override http request option.
|
|
10749
|
-
* @throws {RequiredError}
|
|
10750
|
-
* @memberof ClientAccountsApi
|
|
10751
|
-
*/
|
|
10752
|
-
getMyClientAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientAccountResponse, any, {}>>;
|
|
10753
|
-
/**
|
|
10754
|
-
* Récupère l\'historique des abonnements du compte client authentifié
|
|
10755
|
-
* @param {*} [options] Override http request option.
|
|
10756
|
-
* @throws {RequiredError}
|
|
10757
|
-
* @memberof ClientAccountsApi
|
|
10758
|
-
*/
|
|
10759
|
-
getSubscriptionsHistory(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSubscriptionsHistory200Response, any, {}>>;
|
|
10760
|
-
/**
|
|
10761
|
-
* Liste les prix Stripe disponibles pour les abonnements client
|
|
10762
|
-
* @param {*} [options] Override http request option.
|
|
10763
|
-
* @throws {RequiredError}
|
|
10764
|
-
* @memberof ClientAccountsApi
|
|
10765
|
-
*/
|
|
10766
|
-
listAvailablePrices(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any[], any, {}>>;
|
|
10767
|
-
/**
|
|
10768
|
-
* Crée un nouveau compte client avec onboarding Stripe
|
|
10769
|
-
* @param {ClientAccountsApiOnboardClientAccountRequest} requestParameters Request parameters.
|
|
10770
|
-
* @param {*} [options] Override http request option.
|
|
10771
|
-
* @throws {RequiredError}
|
|
10772
|
-
* @memberof ClientAccountsApi
|
|
10773
|
-
*/
|
|
10774
|
-
onboardClientAccount(requestParameters: ClientAccountsApiOnboardClientAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientAccountOnboardingResponse, any, {}>>;
|
|
10309
|
+
getManagedClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagedClubsResponse, any, {}>>;
|
|
10775
10310
|
/**
|
|
10776
|
-
*
|
|
10777
|
-
* @param {
|
|
10311
|
+
* 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
|
|
10312
|
+
* @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
|
|
10778
10313
|
* @param {*} [options] Override http request option.
|
|
10779
10314
|
* @throws {RequiredError}
|
|
10780
|
-
* @memberof
|
|
10315
|
+
* @memberof ClientApi
|
|
10781
10316
|
*/
|
|
10782
|
-
|
|
10317
|
+
onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientFullOnboardingResponse, any, {}>>;
|
|
10783
10318
|
}
|
|
10784
10319
|
/**
|
|
10785
10320
|
* ClubAnalyticsApi - axios parameter creator
|