@tennac-booking/sdk 1.0.108 → 1.0.109

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.
Files changed (49) hide show
  1. package/.openapi-generator/FILES +292 -284
  2. package/README.md +25 -7
  3. package/api.ts +1721 -339
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +961 -94
  8. package/dist/api.js +1104 -271
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +961 -94
  16. package/dist/esm/api.js +1096 -267
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/ActiveSubscriptionResponse.md +22 -0
  28. package/docs/ClientAccountOnboardingRequest.md +29 -0
  29. package/docs/{ClientFullOnboardingResponse.md → ClientAccountOnboardingResponse.md} +11 -7
  30. package/docs/ClientAccountResponse.md +44 -0
  31. package/docs/ClientAccountsApi.md +408 -0
  32. package/docs/ClientApi.md +4 -59
  33. package/docs/ClientMeResponse.md +28 -0
  34. package/docs/ClientOnboardingResponse.md +27 -0
  35. package/docs/{ClientRegisterRequest.md → ClientRegisterRequestBody.md} +7 -7
  36. package/docs/ClientRegisterResponse.md +22 -0
  37. package/docs/ClientSubscriptionResponse.md +34 -0
  38. package/docs/ClubPlayerDetailResponse.md +2 -0
  39. package/docs/ClubSummary.md +8 -2
  40. package/docs/ClubsStaffApi.md +55 -0
  41. package/docs/CreateEventRequest.md +3 -1
  42. package/docs/EventsStaffApi.md +198 -0
  43. package/docs/GetSubscriptionsHistory200Response.md +22 -0
  44. package/docs/PaymentMethod.md +0 -4
  45. package/docs/UpdateUserCreditsRequest.md +20 -0
  46. package/index.ts +1 -1
  47. package/package.json +1 -1
  48. package/docs/ClientFullOnboardingResponseClub.md +0 -24
  49. package/docs/ClientRegister201Response.md +0 -26
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.108
5
+ * The version of the OpenAPI document: 1.0.104
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
@@ -1308,73 +1327,229 @@ export interface CheckedInPlayer {
1308
1327
  */
1309
1328
  'note'?: string;
1310
1329
  }
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];
1311
1377
  /**
1312
1378
  *
1313
1379
  * @export
1314
- * @interface ClientFullOnboardingResponse
1380
+ * @interface ClientAccountOnboardingResponse
1315
1381
  */
1316
- export interface ClientFullOnboardingResponse {
1382
+ export interface ClientAccountOnboardingResponse {
1317
1383
  /**
1318
1384
  *
1319
1385
  * @type {string}
1320
- * @memberof ClientFullOnboardingResponse
1386
+ * @memberof ClientAccountOnboardingResponse
1321
1387
  */
1322
1388
  'clientAccountId': string;
1323
1389
  /**
1324
1390
  *
1325
1391
  * @type {string}
1326
- * @memberof ClientFullOnboardingResponse
1392
+ * @memberof ClientAccountOnboardingResponse
1327
1393
  */
1328
1394
  'stripeCustomerId': string;
1329
1395
  /**
1330
1396
  *
1331
1397
  * @type {string}
1332
- * @memberof ClientFullOnboardingResponse
1398
+ * @memberof ClientAccountOnboardingResponse
1333
1399
  */
1334
1400
  'stripeConnectedAccountId'?: string;
1335
1401
  /**
1336
1402
  *
1337
1403
  * @type {string}
1338
- * @memberof ClientFullOnboardingResponse
1404
+ * @memberof ClientAccountOnboardingResponse
1339
1405
  */
1340
- 'clientOnboardingLink'?: string;
1406
+ 'connectedAccountOnboardingLink'?: string;
1341
1407
  /**
1342
1408
  *
1343
- * @type {ClientFullOnboardingResponseClub}
1344
- * @memberof ClientFullOnboardingResponse
1409
+ * @type {string}
1410
+ * @memberof ClientAccountOnboardingResponse
1345
1411
  */
1346
- 'club': ClientFullOnboardingResponseClub;
1412
+ 'status': string;
1347
1413
  /**
1348
1414
  *
1349
1415
  * @type {string}
1350
- * @memberof ClientFullOnboardingResponse
1416
+ * @memberof ClientAccountOnboardingResponse
1351
1417
  */
1352
1418
  '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;
1353
1431
  }
1354
1432
  /**
1355
1433
  *
1356
1434
  * @export
1357
- * @interface ClientFullOnboardingResponseClub
1435
+ * @interface ClientAccountResponse
1358
1436
  */
1359
- export interface ClientFullOnboardingResponseClub {
1437
+ export interface ClientAccountResponse {
1360
1438
  /**
1361
1439
  *
1362
1440
  * @type {string}
1363
- * @memberof ClientFullOnboardingResponseClub
1441
+ * @memberof ClientAccountResponse
1364
1442
  */
1365
- 'clubOnboardingLink'?: string;
1443
+ 'id': string;
1366
1444
  /**
1367
1445
  *
1368
1446
  * @type {string}
1369
- * @memberof ClientFullOnboardingResponseClub
1447
+ * @memberof ClientAccountResponse
1370
1448
  */
1371
- 'stripeAccountId': string;
1449
+ 'email': string;
1372
1450
  /**
1373
1451
  *
1374
1452
  * @type {string}
1375
- * @memberof ClientFullOnboardingResponseClub
1453
+ * @memberof ClientAccountResponse
1376
1454
  */
1377
- 'clubId': string;
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
+ }
1517
+ /**
1518
+ *
1519
+ * @export
1520
+ * @interface ClientMeResponse
1521
+ */
1522
+ export interface ClientMeResponse {
1523
+ /**
1524
+ *
1525
+ * @type {string}
1526
+ * @memberof ClientMeResponse
1527
+ */
1528
+ 'id': string;
1529
+ /**
1530
+ *
1531
+ * @type {string}
1532
+ * @memberof ClientMeResponse
1533
+ */
1534
+ 'email': string;
1535
+ /**
1536
+ *
1537
+ * @type {string}
1538
+ * @memberof ClientMeResponse
1539
+ */
1540
+ 'firstName': string;
1541
+ /**
1542
+ *
1543
+ * @type {string}
1544
+ * @memberof ClientMeResponse
1545
+ */
1546
+ 'lastName': string;
1547
+ /**
1548
+ *
1549
+ * @type {boolean}
1550
+ * @memberof ClientMeResponse
1551
+ */
1552
+ 'isClient': boolean;
1378
1553
  }
1379
1554
  /**
1380
1555
  * Requête pour l\'onboarding d\'un club
@@ -1425,67 +1600,141 @@ export interface ClientOnboardingRequestBody {
1425
1600
  */
1426
1601
  'country'?: string;
1427
1602
  }
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
+ }
1428
1634
  /**
1429
1635
  *
1430
1636
  * @export
1431
- * @interface ClientRegister201Response
1637
+ * @interface ClientRegisterRequestBody
1432
1638
  */
1433
- export interface ClientRegister201Response {
1639
+ export interface ClientRegisterRequestBody {
1434
1640
  /**
1435
1641
  *
1436
1642
  * @type {string}
1437
- * @memberof ClientRegister201Response
1643
+ * @memberof ClientRegisterRequestBody
1438
1644
  */
1439
- 'message': string;
1645
+ 'email': string;
1440
1646
  /**
1441
1647
  *
1442
1648
  * @type {string}
1443
- * @memberof ClientRegister201Response
1649
+ * @memberof ClientRegisterRequestBody
1444
1650
  */
1445
- 'stripeCustomerId': string;
1651
+ 'password': string;
1446
1652
  /**
1447
1653
  *
1448
1654
  * @type {string}
1449
- * @memberof ClientRegister201Response
1655
+ * @memberof ClientRegisterRequestBody
1450
1656
  */
1451
- 'email': string;
1657
+ 'firstName': string;
1452
1658
  /**
1453
1659
  *
1454
1660
  * @type {string}
1455
- * @memberof ClientRegister201Response
1661
+ * @memberof ClientRegisterRequestBody
1456
1662
  */
1457
- 'userId': string;
1663
+ 'lastName': string;
1458
1664
  }
1459
1665
  /**
1460
1666
  *
1461
1667
  * @export
1462
- * @interface ClientRegisterRequest
1668
+ * @interface ClientRegisterResponse
1463
1669
  */
1464
- export interface ClientRegisterRequest {
1670
+ export interface ClientRegisterResponse {
1465
1671
  /**
1466
1672
  *
1467
1673
  * @type {string}
1468
- * @memberof ClientRegisterRequest
1674
+ * @memberof ClientRegisterResponse
1469
1675
  */
1470
- 'password': string;
1676
+ 'id': string;
1471
1677
  /**
1472
1678
  *
1473
1679
  * @type {string}
1474
- * @memberof ClientRegisterRequest
1680
+ * @memberof ClientRegisterResponse
1475
1681
  */
1476
- 'email': string;
1682
+ 'token': string;
1683
+ }
1684
+ /**
1685
+ *
1686
+ * @export
1687
+ * @interface ClientSubscriptionResponse
1688
+ */
1689
+ export interface ClientSubscriptionResponse {
1477
1690
  /**
1478
1691
  *
1479
1692
  * @type {string}
1480
- * @memberof ClientRegisterRequest
1693
+ * @memberof ClientSubscriptionResponse
1481
1694
  */
1482
- 'lastName': string;
1695
+ 'id': string;
1483
1696
  /**
1484
1697
  *
1485
1698
  * @type {string}
1486
- * @memberof ClientRegisterRequest
1699
+ * @memberof ClientSubscriptionResponse
1487
1700
  */
1488
- 'firstName': string;
1701
+ 'subscriptionType': string;
1702
+ /**
1703
+ *
1704
+ * @type {string}
1705
+ * @memberof ClientSubscriptionResponse
1706
+ */
1707
+ 'status': string;
1708
+ /**
1709
+ *
1710
+ * @type {string}
1711
+ * @memberof ClientSubscriptionResponse
1712
+ */
1713
+ 'startDate': string;
1714
+ /**
1715
+ *
1716
+ * @type {string}
1717
+ * @memberof ClientSubscriptionResponse
1718
+ */
1719
+ 'endDate'?: string;
1720
+ /**
1721
+ *
1722
+ * @type {number}
1723
+ * @memberof ClientSubscriptionResponse
1724
+ */
1725
+ 'priceAmountInCents': number;
1726
+ /**
1727
+ *
1728
+ * @type {string}
1729
+ * @memberof ClientSubscriptionResponse
1730
+ */
1731
+ 'currency': string;
1732
+ /**
1733
+ *
1734
+ * @type {string}
1735
+ * @memberof ClientSubscriptionResponse
1736
+ */
1737
+ 'billingCycle': string;
1489
1738
  }
1490
1739
  /**
1491
1740
  *
@@ -2044,6 +2293,12 @@ export interface ClubPlayerDetailResponse {
2044
2293
  * @memberof ClubPlayerDetailResponse
2045
2294
  */
2046
2295
  'birthDate': string | null;
2296
+ /**
2297
+ *
2298
+ * @type {number}
2299
+ * @memberof ClubPlayerDetailResponse
2300
+ */
2301
+ 'credits': number | null;
2047
2302
  }
2048
2303
  /**
2049
2304
  *
@@ -2783,7 +3038,19 @@ export interface ClubSummary {
2783
3038
  * @type {string}
2784
3039
  * @memberof ClubSummary
2785
3040
  */
2786
- 'address'?: string | null;
3041
+ 'picture'?: string;
3042
+ /**
3043
+ *
3044
+ * @type {Array<string>}
3045
+ * @memberof ClubSummary
3046
+ */
3047
+ 'bannerPictures'?: Array<string>;
3048
+ /**
3049
+ *
3050
+ * @type {Array<string>}
3051
+ * @memberof ClubSummary
3052
+ */
3053
+ 'galleryPictures'?: Array<string>;
2787
3054
  /**
2788
3055
  *
2789
3056
  * @type {UserLocationSummary}
@@ -2796,6 +3063,12 @@ export interface ClubSummary {
2796
3063
  * @memberof ClubSummary
2797
3064
  */
2798
3065
  'visitCount'?: number;
3066
+ /**
3067
+ *
3068
+ * @type {Array<string>}
3069
+ * @memberof ClubSummary
3070
+ */
3071
+ 'tags'?: Array<string>;
2799
3072
  }
2800
3073
  /**
2801
3074
  *
@@ -3260,13 +3533,19 @@ export interface CreateEventRequest {
3260
3533
  * @type {string}
3261
3534
  * @memberof CreateEventRequest
3262
3535
  */
3263
- 'recurringType': CreateEventRequestRecurringTypeEnum;
3536
+ 'recurringType'?: CreateEventRequestRecurringTypeEnum | null;
3264
3537
  /**
3265
3538
  *
3266
3539
  * @type {string}
3267
3540
  * @memberof CreateEventRequest
3268
3541
  */
3269
3542
  'recurrenceEndDate'?: string;
3543
+ /**
3544
+ *
3545
+ * @type {number}
3546
+ * @memberof CreateEventRequest
3547
+ */
3548
+ 'occurrences'?: number;
3270
3549
  /**
3271
3550
  *
3272
3551
  * @type {string}
@@ -4166,6 +4445,25 @@ export interface GetSlotsByClubById200Response {
4166
4445
  */
4167
4446
  'slots': Array<any>;
4168
4447
  }
4448
+ /**
4449
+ *
4450
+ * @export
4451
+ * @interface GetSubscriptionsHistory200Response
4452
+ */
4453
+ export interface GetSubscriptionsHistory200Response {
4454
+ /**
4455
+ *
4456
+ * @type {Array<ClientSubscriptionResponse>}
4457
+ * @memberof GetSubscriptionsHistory200Response
4458
+ */
4459
+ 'subscriptions': Array<ClientSubscriptionResponse>;
4460
+ /**
4461
+ *
4462
+ * @type {string}
4463
+ * @memberof GetSubscriptionsHistory200Response
4464
+ */
4465
+ 'clientAccountId': string;
4466
+ }
4169
4467
  /**
4170
4468
  *
4171
4469
  * @export
@@ -5248,8 +5546,6 @@ export interface PaymentByPlayerInfo {
5248
5546
  export declare const PaymentMethod: {
5249
5547
  readonly Online: "online";
5250
5548
  readonly Onsite: "onsite";
5251
- readonly OnsiteCard: "onsite_card";
5252
- readonly OnsiteCash: "onsite_cash";
5253
5549
  readonly Free: "free";
5254
5550
  };
5255
5551
  export type PaymentMethod = typeof PaymentMethod[keyof typeof PaymentMethod];
@@ -8718,6 +9014,19 @@ export interface UpdateSubscriptionPlanForClub200Response {
8718
9014
  */
8719
9015
  'price': any;
8720
9016
  }
9017
+ /**
9018
+ *
9019
+ * @export
9020
+ * @interface UpdateUserCreditsRequest
9021
+ */
9022
+ export interface UpdateUserCreditsRequest {
9023
+ /**
9024
+ * Variation du crédit à appliquer, exprimée en centimes. Peut être négative pour retirer du crédit.
9025
+ * @type {number}
9026
+ * @memberof UpdateUserCreditsRequest
9027
+ */
9028
+ 'deltaInCents': number;
9029
+ }
8721
9030
  /**
8722
9031
  *
8723
9032
  * @export
@@ -10186,13 +10495,6 @@ export declare class BookingsUserApi extends BaseAPI {
10186
10495
  * @export
10187
10496
  */
10188
10497
  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>;
10196
10498
  /**
10197
10499
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10198
10500
  * @param {*} [options] Override http request option.
@@ -10200,7 +10502,7 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
10200
10502
  */
10201
10503
  getManagedClubs: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10202
10504
  /**
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
10505
+ * 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
10204
10506
  * @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
10205
10507
  * @param {*} [options] Override http request option.
10206
10508
  * @throws {RequiredError}
@@ -10212,13 +10514,6 @@ export declare const ClientApiAxiosParamCreator: (configuration?: Configuration)
10212
10514
  * @export
10213
10515
  */
10214
10516
  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>>;
10222
10517
  /**
10223
10518
  * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10224
10519
  * @param {*} [options] Override http request option.
@@ -10226,12 +10521,12 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
10226
10521
  */
10227
10522
  getManagedClubs(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ManagedClubsResponse>>;
10228
10523
  /**
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
10524
+ * 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
10230
10525
  * @param {ClientOnboardingRequestBody} clientOnboardingRequestBody Les données du club à créer
10231
10526
  * @param {*} [options] Override http request option.
10232
10527
  * @throws {RequiredError}
10233
10528
  */
10234
- onboardClub(clientOnboardingRequestBody: ClientOnboardingRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientFullOnboardingResponse>>;
10529
+ onboardClub(clientOnboardingRequestBody: ClientOnboardingRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientOnboardingResponse>>;
10235
10530
  };
10236
10531
  /**
10237
10532
  * ClientApi - factory interface
@@ -10239,39 +10534,19 @@ export declare const ClientApiFp: (configuration?: Configuration) => {
10239
10534
  */
10240
10535
  export declare const ClientApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
10241
10536
  /**
10242
- * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
10243
- * @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
10537
+ * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10244
10538
  * @param {*} [options] Override http request option.
10245
10539
  * @throws {RequiredError}
10246
10540
  */
10247
- clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegister201Response>;
10541
+ getManagedClubs(options?: RawAxiosRequestConfig): AxiosPromise<ManagedClubsResponse>;
10248
10542
  /**
10249
- * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10250
- * @param {*} [options] Override http request option.
10251
- * @throws {RequiredError}
10252
- */
10253
- getManagedClubs(options?: RawAxiosRequestConfig): AxiosPromise<ManagedClubsResponse>;
10254
- /**
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
10543
+ * 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
10256
10544
  * @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
10257
10545
  * @param {*} [options] Override http request option.
10258
10546
  * @throws {RequiredError}
10259
10547
  */
10260
- onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientFullOnboardingResponse>;
10548
+ onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientOnboardingResponse>;
10261
10549
  };
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
- }
10275
10550
  /**
10276
10551
  * Request parameters for onboardClub operation in ClientApi.
10277
10552
  * @export
@@ -10293,28 +10568,297 @@ export interface ClientApiOnboardClubRequest {
10293
10568
  */
10294
10569
  export declare class ClientApi extends BaseAPI {
10295
10570
  /**
10296
- * Enregistre un nouvel utilisateur client - Crée l\'utilisateur avec un Stripe Customer
10297
- * @param {ClientApiClientRegisterRequest} requestParameters Request parameters.
10571
+ * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10298
10572
  * @param {*} [options] Override http request option.
10299
10573
  * @throws {RequiredError}
10300
10574
  * @memberof ClientApi
10301
10575
  */
10302
- clientRegister(requestParameters: ClientApiClientRegisterRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientRegister201Response, any, {}>>;
10576
+ getManagedClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagedClubsResponse, any, {}>>;
10303
10577
  /**
10304
- * Récupère la liste des clubs gérés par l\'utilisateur authentifié
10578
+ * 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
10579
+ * @param {ClientApiOnboardClubRequest} requestParameters Request parameters.
10305
10580
  * @param {*} [options] Override http request option.
10306
10581
  * @throws {RequiredError}
10307
10582
  * @memberof ClientApi
10308
10583
  */
10309
- getManagedClubs(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ManagedClubsResponse, any, {}>>;
10584
+ onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientOnboardingResponse, any, {}>>;
10585
+ }
10586
+ /**
10587
+ * ClientAccountsApi - axios parameter creator
10588
+ * @export
10589
+ */
10590
+ export declare const ClientAccountsApiAxiosParamCreator: (configuration?: Configuration) => {
10310
10591
  /**
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.
10592
+ * Informations de l\'utilisateur client authentifié (token clientAuth)
10593
+ * @param {*} [options] Override http request option.
10594
+ * @throws {RequiredError}
10595
+ */
10596
+ clientAuthMe: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10597
+ /**
10598
+ * Récupère le compte client par son ID
10599
+ * @param {string} accountId L\&#39;ID du compte client
10600
+ * @param {*} [options] Override http request option.
10601
+ * @throws {RequiredError}
10602
+ */
10603
+ getClientAccountById: (accountId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10604
+ /**
10605
+ * Récupère l\'abonnement actif du compte client authentifié
10606
+ * @param {*} [options] Override http request option.
10607
+ * @throws {RequiredError}
10608
+ */
10609
+ getMyActiveSubscription: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10610
+ /**
10611
+ * Récupère le compte client de l\'utilisateur authentifié
10612
+ * @param {*} [options] Override http request option.
10613
+ * @throws {RequiredError}
10614
+ */
10615
+ getMyClientAccount: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10616
+ /**
10617
+ * Récupère l\'historique des abonnements du compte client authentifié
10618
+ * @param {*} [options] Override http request option.
10619
+ * @throws {RequiredError}
10620
+ */
10621
+ getSubscriptionsHistory: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10622
+ /**
10623
+ * Liste les prix Stripe disponibles pour les abonnements client
10624
+ * @param {*} [options] Override http request option.
10625
+ * @throws {RequiredError}
10626
+ */
10627
+ listAvailablePrices: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10628
+ /**
10629
+ * Crée un nouveau compte client avec onboarding Stripe
10630
+ * @param {ClientAccountOnboardingRequest} clientAccountOnboardingRequest Les données du compte à créer
10631
+ * @param {*} [options] Override http request option.
10632
+ * @throws {RequiredError}
10633
+ */
10634
+ onboardClientAccount: (clientAccountOnboardingRequest: ClientAccountOnboardingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10635
+ /**
10636
+ * Route d\'inscription d\'un utilisateur client (publique)
10637
+ * @param {ClientRegisterRequestBody} clientRegisterRequestBody
10638
+ * @param {*} [options] Override http request option.
10639
+ * @throws {RequiredError}
10640
+ */
10641
+ registerClientUser: (clientRegisterRequestBody: ClientRegisterRequestBody, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
10642
+ };
10643
+ /**
10644
+ * ClientAccountsApi - functional programming interface
10645
+ * @export
10646
+ */
10647
+ export declare const ClientAccountsApiFp: (configuration?: Configuration) => {
10648
+ /**
10649
+ * Informations de l\'utilisateur client authentifié (token clientAuth)
10650
+ * @param {*} [options] Override http request option.
10651
+ * @throws {RequiredError}
10652
+ */
10653
+ clientAuthMe(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientMeResponse>>;
10654
+ /**
10655
+ * Récupère le compte client par son ID
10656
+ * @param {string} accountId L\&#39;ID du compte client
10313
10657
  * @param {*} [options] Override http request option.
10314
10658
  * @throws {RequiredError}
10315
- * @memberof ClientApi
10316
10659
  */
10317
- onboardClub(requestParameters: ClientApiOnboardClubRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientFullOnboardingResponse, any, {}>>;
10660
+ getClientAccountById(accountId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountResponse>>;
10661
+ /**
10662
+ * Récupère l\'abonnement actif du compte client authentifié
10663
+ * @param {*} [options] Override http request option.
10664
+ * @throws {RequiredError}
10665
+ */
10666
+ getMyActiveSubscription(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActiveSubscriptionResponse>>;
10667
+ /**
10668
+ * Récupère le compte client de l\'utilisateur authentifié
10669
+ * @param {*} [options] Override http request option.
10670
+ * @throws {RequiredError}
10671
+ */
10672
+ getMyClientAccount(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountResponse>>;
10673
+ /**
10674
+ * Récupère l\'historique des abonnements du compte client authentifié
10675
+ * @param {*} [options] Override http request option.
10676
+ * @throws {RequiredError}
10677
+ */
10678
+ getSubscriptionsHistory(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSubscriptionsHistory200Response>>;
10679
+ /**
10680
+ * Liste les prix Stripe disponibles pour les abonnements client
10681
+ * @param {*} [options] Override http request option.
10682
+ * @throws {RequiredError}
10683
+ */
10684
+ listAvailablePrices(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<any>>>;
10685
+ /**
10686
+ * Crée un nouveau compte client avec onboarding Stripe
10687
+ * @param {ClientAccountOnboardingRequest} clientAccountOnboardingRequest Les données du compte à créer
10688
+ * @param {*} [options] Override http request option.
10689
+ * @throws {RequiredError}
10690
+ */
10691
+ onboardClientAccount(clientAccountOnboardingRequest: ClientAccountOnboardingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientAccountOnboardingResponse>>;
10692
+ /**
10693
+ * Route d\'inscription d\'un utilisateur client (publique)
10694
+ * @param {ClientRegisterRequestBody} clientRegisterRequestBody
10695
+ * @param {*} [options] Override http request option.
10696
+ * @throws {RequiredError}
10697
+ */
10698
+ registerClientUser(clientRegisterRequestBody: ClientRegisterRequestBody, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientRegisterResponse>>;
10699
+ };
10700
+ /**
10701
+ * ClientAccountsApi - factory interface
10702
+ * @export
10703
+ */
10704
+ export declare const ClientAccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
10705
+ /**
10706
+ * Informations de l\'utilisateur client authentifié (token clientAuth)
10707
+ * @param {*} [options] Override http request option.
10708
+ * @throws {RequiredError}
10709
+ */
10710
+ clientAuthMe(options?: RawAxiosRequestConfig): AxiosPromise<ClientMeResponse>;
10711
+ /**
10712
+ * Récupère le compte client par son ID
10713
+ * @param {ClientAccountsApiGetClientAccountByIdRequest} requestParameters Request parameters.
10714
+ * @param {*} [options] Override http request option.
10715
+ * @throws {RequiredError}
10716
+ */
10717
+ getClientAccountById(requestParameters: ClientAccountsApiGetClientAccountByIdRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountResponse>;
10718
+ /**
10719
+ * Récupère l\'abonnement actif du compte client authentifié
10720
+ * @param {*} [options] Override http request option.
10721
+ * @throws {RequiredError}
10722
+ */
10723
+ getMyActiveSubscription(options?: RawAxiosRequestConfig): AxiosPromise<ActiveSubscriptionResponse>;
10724
+ /**
10725
+ * Récupère le compte client de l\'utilisateur authentifié
10726
+ * @param {*} [options] Override http request option.
10727
+ * @throws {RequiredError}
10728
+ */
10729
+ getMyClientAccount(options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountResponse>;
10730
+ /**
10731
+ * Récupère l\'historique des abonnements du compte client authentifié
10732
+ * @param {*} [options] Override http request option.
10733
+ * @throws {RequiredError}
10734
+ */
10735
+ getSubscriptionsHistory(options?: RawAxiosRequestConfig): AxiosPromise<GetSubscriptionsHistory200Response>;
10736
+ /**
10737
+ * Liste les prix Stripe disponibles pour les abonnements client
10738
+ * @param {*} [options] Override http request option.
10739
+ * @throws {RequiredError}
10740
+ */
10741
+ listAvailablePrices(options?: RawAxiosRequestConfig): AxiosPromise<Array<any>>;
10742
+ /**
10743
+ * Crée un nouveau compte client avec onboarding Stripe
10744
+ * @param {ClientAccountsApiOnboardClientAccountRequest} requestParameters Request parameters.
10745
+ * @param {*} [options] Override http request option.
10746
+ * @throws {RequiredError}
10747
+ */
10748
+ onboardClientAccount(requestParameters: ClientAccountsApiOnboardClientAccountRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientAccountOnboardingResponse>;
10749
+ /**
10750
+ * Route d\'inscription d\'un utilisateur client (publique)
10751
+ * @param {ClientAccountsApiRegisterClientUserRequest} requestParameters Request parameters.
10752
+ * @param {*} [options] Override http request option.
10753
+ * @throws {RequiredError}
10754
+ */
10755
+ registerClientUser(requestParameters: ClientAccountsApiRegisterClientUserRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientRegisterResponse>;
10756
+ };
10757
+ /**
10758
+ * Request parameters for getClientAccountById operation in ClientAccountsApi.
10759
+ * @export
10760
+ * @interface ClientAccountsApiGetClientAccountByIdRequest
10761
+ */
10762
+ export interface ClientAccountsApiGetClientAccountByIdRequest {
10763
+ /**
10764
+ * L\&#39;ID du compte client
10765
+ * @type {string}
10766
+ * @memberof ClientAccountsApiGetClientAccountById
10767
+ */
10768
+ readonly accountId: string;
10769
+ }
10770
+ /**
10771
+ * Request parameters for onboardClientAccount operation in ClientAccountsApi.
10772
+ * @export
10773
+ * @interface ClientAccountsApiOnboardClientAccountRequest
10774
+ */
10775
+ export interface ClientAccountsApiOnboardClientAccountRequest {
10776
+ /**
10777
+ * Les données du compte à créer
10778
+ * @type {ClientAccountOnboardingRequest}
10779
+ * @memberof ClientAccountsApiOnboardClientAccount
10780
+ */
10781
+ readonly clientAccountOnboardingRequest: ClientAccountOnboardingRequest;
10782
+ }
10783
+ /**
10784
+ * Request parameters for registerClientUser operation in ClientAccountsApi.
10785
+ * @export
10786
+ * @interface ClientAccountsApiRegisterClientUserRequest
10787
+ */
10788
+ export interface ClientAccountsApiRegisterClientUserRequest {
10789
+ /**
10790
+ *
10791
+ * @type {ClientRegisterRequestBody}
10792
+ * @memberof ClientAccountsApiRegisterClientUser
10793
+ */
10794
+ readonly clientRegisterRequestBody: ClientRegisterRequestBody;
10795
+ }
10796
+ /**
10797
+ * ClientAccountsApi - object-oriented interface
10798
+ * @export
10799
+ * @class ClientAccountsApi
10800
+ * @extends {BaseAPI}
10801
+ */
10802
+ export declare class ClientAccountsApi extends BaseAPI {
10803
+ /**
10804
+ * Informations de l\'utilisateur client authentifié (token clientAuth)
10805
+ * @param {*} [options] Override http request option.
10806
+ * @throws {RequiredError}
10807
+ * @memberof ClientAccountsApi
10808
+ */
10809
+ clientAuthMe(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientMeResponse, any, {}>>;
10810
+ /**
10811
+ * Récupère le compte client par son ID
10812
+ * @param {ClientAccountsApiGetClientAccountByIdRequest} requestParameters Request parameters.
10813
+ * @param {*} [options] Override http request option.
10814
+ * @throws {RequiredError}
10815
+ * @memberof ClientAccountsApi
10816
+ */
10817
+ getClientAccountById(requestParameters: ClientAccountsApiGetClientAccountByIdRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientAccountResponse, any, {}>>;
10818
+ /**
10819
+ * Récupère l\'abonnement actif du compte client authentifié
10820
+ * @param {*} [options] Override http request option.
10821
+ * @throws {RequiredError}
10822
+ * @memberof ClientAccountsApi
10823
+ */
10824
+ getMyActiveSubscription(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ActiveSubscriptionResponse, any, {}>>;
10825
+ /**
10826
+ * Récupère le compte client de l\'utilisateur authentifié
10827
+ * @param {*} [options] Override http request option.
10828
+ * @throws {RequiredError}
10829
+ * @memberof ClientAccountsApi
10830
+ */
10831
+ getMyClientAccount(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientAccountResponse, any, {}>>;
10832
+ /**
10833
+ * Récupère l\'historique des abonnements du compte client authentifié
10834
+ * @param {*} [options] Override http request option.
10835
+ * @throws {RequiredError}
10836
+ * @memberof ClientAccountsApi
10837
+ */
10838
+ getSubscriptionsHistory(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSubscriptionsHistory200Response, any, {}>>;
10839
+ /**
10840
+ * Liste les prix Stripe disponibles pour les abonnements client
10841
+ * @param {*} [options] Override http request option.
10842
+ * @throws {RequiredError}
10843
+ * @memberof ClientAccountsApi
10844
+ */
10845
+ listAvailablePrices(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any[], any, {}>>;
10846
+ /**
10847
+ * Crée un nouveau compte client avec onboarding Stripe
10848
+ * @param {ClientAccountsApiOnboardClientAccountRequest} requestParameters Request parameters.
10849
+ * @param {*} [options] Override http request option.
10850
+ * @throws {RequiredError}
10851
+ * @memberof ClientAccountsApi
10852
+ */
10853
+ onboardClientAccount(requestParameters: ClientAccountsApiOnboardClientAccountRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientAccountOnboardingResponse, any, {}>>;
10854
+ /**
10855
+ * Route d\'inscription d\'un utilisateur client (publique)
10856
+ * @param {ClientAccountsApiRegisterClientUserRequest} requestParameters Request parameters.
10857
+ * @param {*} [options] Override http request option.
10858
+ * @throws {RequiredError}
10859
+ * @memberof ClientAccountsApi
10860
+ */
10861
+ registerClientUser(requestParameters: ClientAccountsApiRegisterClientUserRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClientRegisterResponse, any, {}>>;
10318
10862
  }
10319
10863
  /**
10320
10864
  * ClubAnalyticsApi - axios parameter creator
@@ -13063,6 +13607,14 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
13063
13607
  * @throws {RequiredError}
13064
13608
  */
13065
13609
  getUserProfileStaff: (id: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13610
+ /**
13611
+ *
13612
+ * @param {string} id
13613
+ * @param {UpdateUserCreditsRequest} updateUserCreditsRequest
13614
+ * @param {*} [options] Override http request option.
13615
+ * @throws {RequiredError}
13616
+ */
13617
+ updateUserCreditsStaff: (id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13066
13618
  };
13067
13619
  /**
13068
13620
  * ClubsStaffApi - functional programming interface
@@ -13118,6 +13670,14 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
13118
13670
  * @throws {RequiredError}
13119
13671
  */
13120
13672
  getUserProfileStaff(id: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>>;
13673
+ /**
13674
+ *
13675
+ * @param {string} id
13676
+ * @param {UpdateUserCreditsRequest} updateUserCreditsRequest
13677
+ * @param {*} [options] Override http request option.
13678
+ * @throws {RequiredError}
13679
+ */
13680
+ updateUserCreditsStaff(id: string, updateUserCreditsRequest: UpdateUserCreditsRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StaffUserProfileResponse>>;
13121
13681
  };
13122
13682
  /**
13123
13683
  * ClubsStaffApi - factory interface
@@ -13173,6 +13733,13 @@ export declare const ClubsStaffApiFactory: (configuration?: Configuration, baseP
13173
13733
  * @throws {RequiredError}
13174
13734
  */
13175
13735
  getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse>;
13736
+ /**
13737
+ *
13738
+ * @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
13739
+ * @param {*} [options] Override http request option.
13740
+ * @throws {RequiredError}
13741
+ */
13742
+ updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): AxiosPromise<StaffUserProfileResponse>;
13176
13743
  };
13177
13744
  /**
13178
13745
  * Request parameters for getUserProfileStaff operation in ClubsStaffApi.
@@ -13187,6 +13754,25 @@ export interface ClubsStaffApiGetUserProfileStaffRequest {
13187
13754
  */
13188
13755
  readonly id: string;
13189
13756
  }
13757
+ /**
13758
+ * Request parameters for updateUserCreditsStaff operation in ClubsStaffApi.
13759
+ * @export
13760
+ * @interface ClubsStaffApiUpdateUserCreditsStaffRequest
13761
+ */
13762
+ export interface ClubsStaffApiUpdateUserCreditsStaffRequest {
13763
+ /**
13764
+ *
13765
+ * @type {string}
13766
+ * @memberof ClubsStaffApiUpdateUserCreditsStaff
13767
+ */
13768
+ readonly id: string;
13769
+ /**
13770
+ *
13771
+ * @type {UpdateUserCreditsRequest}
13772
+ * @memberof ClubsStaffApiUpdateUserCreditsStaff
13773
+ */
13774
+ readonly updateUserCreditsRequest: UpdateUserCreditsRequest;
13775
+ }
13190
13776
  /**
13191
13777
  * ClubsStaffApi - object-oriented interface
13192
13778
  * @export
@@ -13251,6 +13837,14 @@ export declare class ClubsStaffApi extends BaseAPI {
13251
13837
  * @memberof ClubsStaffApi
13252
13838
  */
13253
13839
  getUserProfileStaff(requestParameters: ClubsStaffApiGetUserProfileStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any, {}>>;
13840
+ /**
13841
+ *
13842
+ * @param {ClubsStaffApiUpdateUserCreditsStaffRequest} requestParameters Request parameters.
13843
+ * @param {*} [options] Override http request option.
13844
+ * @throws {RequiredError}
13845
+ * @memberof ClubsStaffApi
13846
+ */
13847
+ updateUserCreditsStaff(requestParameters: ClubsStaffApiUpdateUserCreditsStaffRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<StaffUserProfileResponse, any, {}>>;
13254
13848
  }
13255
13849
  /**
13256
13850
  * DefaultApi - axios parameter creator
@@ -13812,37 +14406,235 @@ export declare class EventsManagerApi extends BaseAPI {
13812
14406
  * @export
13813
14407
  */
13814
14408
  export declare const EventsStaffApiAxiosParamCreator: (configuration?: Configuration) => {
14409
+ /**
14410
+ * Get events for the day view (entire week)
14411
+ * @param {string} [clubId]
14412
+ * @param {string} [date]
14413
+ * @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
14414
+ * @param {GetDailyEventsTypeEnum} [type]
14415
+ * @param {string} [sportId]
14416
+ * @param {*} [options] Override http request option.
14417
+ * @throws {RequiredError}
14418
+ */
14419
+ getDailyEvents: (clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13815
14420
  /**
13816
14421
  * Get all events for a club (staff only)
13817
14422
  * @param {*} [options] Override http request option.
13818
14423
  * @throws {RequiredError}
13819
14424
  */
13820
14425
  getEventsByClub: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14426
+ /**
14427
+ * Get events for the entire month view (including recurring occurrences)
14428
+ * @param {string} [clubId]
14429
+ * @param {string} [date]
14430
+ * @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
14431
+ * @param {GetMonthlyEventsTypeEnum} [type]
14432
+ * @param {string} [sportId]
14433
+ * @param {*} [options] Override http request option.
14434
+ * @throws {RequiredError}
14435
+ */
14436
+ getMonthlyEvents: (clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
14437
+ /**
14438
+ * Get events for the week view (30 day sliding window)
14439
+ * @param {string} [clubId]
14440
+ * @param {string} [date]
14441
+ * @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
14442
+ * @param {GetWeeklyEventsTypeEnum} [type]
14443
+ * @param {string} [sportId]
14444
+ * @param {*} [options] Override http request option.
14445
+ * @throws {RequiredError}
14446
+ */
14447
+ getWeeklyEvents: (clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
13821
14448
  };
13822
14449
  /**
13823
14450
  * EventsStaffApi - functional programming interface
13824
14451
  * @export
13825
14452
  */
13826
14453
  export declare const EventsStaffApiFp: (configuration?: Configuration) => {
14454
+ /**
14455
+ * Get events for the day view (entire week)
14456
+ * @param {string} [clubId]
14457
+ * @param {string} [date]
14458
+ * @param {GetDailyEventsVisibilityTypeEnum} [visibilityType]
14459
+ * @param {GetDailyEventsTypeEnum} [type]
14460
+ * @param {string} [sportId]
14461
+ * @param {*} [options] Override http request option.
14462
+ * @throws {RequiredError}
14463
+ */
14464
+ getDailyEvents(clubId?: string, date?: string, visibilityType?: GetDailyEventsVisibilityTypeEnum, type?: GetDailyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
13827
14465
  /**
13828
14466
  * Get all events for a club (staff only)
13829
14467
  * @param {*} [options] Override http request option.
13830
14468
  * @throws {RequiredError}
13831
14469
  */
13832
14470
  getEventsByClub(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
14471
+ /**
14472
+ * Get events for the entire month view (including recurring occurrences)
14473
+ * @param {string} [clubId]
14474
+ * @param {string} [date]
14475
+ * @param {GetMonthlyEventsVisibilityTypeEnum} [visibilityType]
14476
+ * @param {GetMonthlyEventsTypeEnum} [type]
14477
+ * @param {string} [sportId]
14478
+ * @param {*} [options] Override http request option.
14479
+ * @throws {RequiredError}
14480
+ */
14481
+ getMonthlyEvents(clubId?: string, date?: string, visibilityType?: GetMonthlyEventsVisibilityTypeEnum, type?: GetMonthlyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
14482
+ /**
14483
+ * Get events for the week view (30 day sliding window)
14484
+ * @param {string} [clubId]
14485
+ * @param {string} [date]
14486
+ * @param {GetWeeklyEventsVisibilityTypeEnum} [visibilityType]
14487
+ * @param {GetWeeklyEventsTypeEnum} [type]
14488
+ * @param {string} [sportId]
14489
+ * @param {*} [options] Override http request option.
14490
+ * @throws {RequiredError}
14491
+ */
14492
+ getWeeklyEvents(clubId?: string, date?: string, visibilityType?: GetWeeklyEventsVisibilityTypeEnum, type?: GetWeeklyEventsTypeEnum, sportId?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventsListResponse>>;
13833
14493
  };
13834
14494
  /**
13835
14495
  * EventsStaffApi - factory interface
13836
14496
  * @export
13837
14497
  */
13838
14498
  export declare const EventsStaffApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
14499
+ /**
14500
+ * Get events for the day view (entire week)
14501
+ * @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
14502
+ * @param {*} [options] Override http request option.
14503
+ * @throws {RequiredError}
14504
+ */
14505
+ getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
13839
14506
  /**
13840
14507
  * Get all events for a club (staff only)
13841
14508
  * @param {*} [options] Override http request option.
13842
14509
  * @throws {RequiredError}
13843
14510
  */
13844
14511
  getEventsByClub(options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
14512
+ /**
14513
+ * Get events for the entire month view (including recurring occurrences)
14514
+ * @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
14515
+ * @param {*} [options] Override http request option.
14516
+ * @throws {RequiredError}
14517
+ */
14518
+ getMonthlyEvents(requestParameters?: EventsStaffApiGetMonthlyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
14519
+ /**
14520
+ * Get events for the week view (30 day sliding window)
14521
+ * @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
14522
+ * @param {*} [options] Override http request option.
14523
+ * @throws {RequiredError}
14524
+ */
14525
+ getWeeklyEvents(requestParameters?: EventsStaffApiGetWeeklyEventsRequest, options?: RawAxiosRequestConfig): AxiosPromise<EventsListResponse>;
13845
14526
  };
14527
+ /**
14528
+ * Request parameters for getDailyEvents operation in EventsStaffApi.
14529
+ * @export
14530
+ * @interface EventsStaffApiGetDailyEventsRequest
14531
+ */
14532
+ export interface EventsStaffApiGetDailyEventsRequest {
14533
+ /**
14534
+ *
14535
+ * @type {string}
14536
+ * @memberof EventsStaffApiGetDailyEvents
14537
+ */
14538
+ readonly clubId?: string;
14539
+ /**
14540
+ *
14541
+ * @type {string}
14542
+ * @memberof EventsStaffApiGetDailyEvents
14543
+ */
14544
+ readonly date?: string;
14545
+ /**
14546
+ *
14547
+ * @type {'public' | 'private' | 'invitation'}
14548
+ * @memberof EventsStaffApiGetDailyEvents
14549
+ */
14550
+ readonly visibilityType?: GetDailyEventsVisibilityTypeEnum;
14551
+ /**
14552
+ *
14553
+ * @type {'event' | 'closure'}
14554
+ * @memberof EventsStaffApiGetDailyEvents
14555
+ */
14556
+ readonly type?: GetDailyEventsTypeEnum;
14557
+ /**
14558
+ *
14559
+ * @type {string}
14560
+ * @memberof EventsStaffApiGetDailyEvents
14561
+ */
14562
+ readonly sportId?: string;
14563
+ }
14564
+ /**
14565
+ * Request parameters for getMonthlyEvents operation in EventsStaffApi.
14566
+ * @export
14567
+ * @interface EventsStaffApiGetMonthlyEventsRequest
14568
+ */
14569
+ export interface EventsStaffApiGetMonthlyEventsRequest {
14570
+ /**
14571
+ *
14572
+ * @type {string}
14573
+ * @memberof EventsStaffApiGetMonthlyEvents
14574
+ */
14575
+ readonly clubId?: string;
14576
+ /**
14577
+ *
14578
+ * @type {string}
14579
+ * @memberof EventsStaffApiGetMonthlyEvents
14580
+ */
14581
+ readonly date?: string;
14582
+ /**
14583
+ *
14584
+ * @type {'public' | 'private' | 'invitation'}
14585
+ * @memberof EventsStaffApiGetMonthlyEvents
14586
+ */
14587
+ readonly visibilityType?: GetMonthlyEventsVisibilityTypeEnum;
14588
+ /**
14589
+ *
14590
+ * @type {'event' | 'closure'}
14591
+ * @memberof EventsStaffApiGetMonthlyEvents
14592
+ */
14593
+ readonly type?: GetMonthlyEventsTypeEnum;
14594
+ /**
14595
+ *
14596
+ * @type {string}
14597
+ * @memberof EventsStaffApiGetMonthlyEvents
14598
+ */
14599
+ readonly sportId?: string;
14600
+ }
14601
+ /**
14602
+ * Request parameters for getWeeklyEvents operation in EventsStaffApi.
14603
+ * @export
14604
+ * @interface EventsStaffApiGetWeeklyEventsRequest
14605
+ */
14606
+ export interface EventsStaffApiGetWeeklyEventsRequest {
14607
+ /**
14608
+ *
14609
+ * @type {string}
14610
+ * @memberof EventsStaffApiGetWeeklyEvents
14611
+ */
14612
+ readonly clubId?: string;
14613
+ /**
14614
+ *
14615
+ * @type {string}
14616
+ * @memberof EventsStaffApiGetWeeklyEvents
14617
+ */
14618
+ readonly date?: string;
14619
+ /**
14620
+ *
14621
+ * @type {'public' | 'private' | 'invitation'}
14622
+ * @memberof EventsStaffApiGetWeeklyEvents
14623
+ */
14624
+ readonly visibilityType?: GetWeeklyEventsVisibilityTypeEnum;
14625
+ /**
14626
+ *
14627
+ * @type {'event' | 'closure'}
14628
+ * @memberof EventsStaffApiGetWeeklyEvents
14629
+ */
14630
+ readonly type?: GetWeeklyEventsTypeEnum;
14631
+ /**
14632
+ *
14633
+ * @type {string}
14634
+ * @memberof EventsStaffApiGetWeeklyEvents
14635
+ */
14636
+ readonly sportId?: string;
14637
+ }
13846
14638
  /**
13847
14639
  * EventsStaffApi - object-oriented interface
13848
14640
  * @export
@@ -13850,6 +14642,14 @@ export declare const EventsStaffApiFactory: (configuration?: Configuration, base
13850
14642
  * @extends {BaseAPI}
13851
14643
  */
13852
14644
  export declare class EventsStaffApi extends BaseAPI {
14645
+ /**
14646
+ * Get events for the day view (entire week)
14647
+ * @param {EventsStaffApiGetDailyEventsRequest} requestParameters Request parameters.
14648
+ * @param {*} [options] Override http request option.
14649
+ * @throws {RequiredError}
14650
+ * @memberof EventsStaffApi
14651
+ */
14652
+ getDailyEvents(requestParameters?: EventsStaffApiGetDailyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
13853
14653
  /**
13854
14654
  * Get all events for a club (staff only)
13855
14655
  * @param {*} [options] Override http request option.
@@ -13857,7 +14657,74 @@ export declare class EventsStaffApi extends BaseAPI {
13857
14657
  * @memberof EventsStaffApi
13858
14658
  */
13859
14659
  getEventsByClub(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
14660
+ /**
14661
+ * Get events for the entire month view (including recurring occurrences)
14662
+ * @param {EventsStaffApiGetMonthlyEventsRequest} requestParameters Request parameters.
14663
+ * @param {*} [options] Override http request option.
14664
+ * @throws {RequiredError}
14665
+ * @memberof EventsStaffApi
14666
+ */
14667
+ getMonthlyEvents(requestParameters?: EventsStaffApiGetMonthlyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
14668
+ /**
14669
+ * Get events for the week view (30 day sliding window)
14670
+ * @param {EventsStaffApiGetWeeklyEventsRequest} requestParameters Request parameters.
14671
+ * @param {*} [options] Override http request option.
14672
+ * @throws {RequiredError}
14673
+ * @memberof EventsStaffApi
14674
+ */
14675
+ getWeeklyEvents(requestParameters?: EventsStaffApiGetWeeklyEventsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<EventsListResponse, any, {}>>;
13860
14676
  }
14677
+ /**
14678
+ * @export
14679
+ */
14680
+ export declare const GetDailyEventsVisibilityTypeEnum: {
14681
+ readonly Public: "public";
14682
+ readonly Private: "private";
14683
+ readonly Invitation: "invitation";
14684
+ };
14685
+ export type GetDailyEventsVisibilityTypeEnum = typeof GetDailyEventsVisibilityTypeEnum[keyof typeof GetDailyEventsVisibilityTypeEnum];
14686
+ /**
14687
+ * @export
14688
+ */
14689
+ export declare const GetDailyEventsTypeEnum: {
14690
+ readonly Event: "event";
14691
+ readonly Closure: "closure";
14692
+ };
14693
+ export type GetDailyEventsTypeEnum = typeof GetDailyEventsTypeEnum[keyof typeof GetDailyEventsTypeEnum];
14694
+ /**
14695
+ * @export
14696
+ */
14697
+ export declare const GetMonthlyEventsVisibilityTypeEnum: {
14698
+ readonly Public: "public";
14699
+ readonly Private: "private";
14700
+ readonly Invitation: "invitation";
14701
+ };
14702
+ export type GetMonthlyEventsVisibilityTypeEnum = typeof GetMonthlyEventsVisibilityTypeEnum[keyof typeof GetMonthlyEventsVisibilityTypeEnum];
14703
+ /**
14704
+ * @export
14705
+ */
14706
+ export declare const GetMonthlyEventsTypeEnum: {
14707
+ readonly Event: "event";
14708
+ readonly Closure: "closure";
14709
+ };
14710
+ export type GetMonthlyEventsTypeEnum = typeof GetMonthlyEventsTypeEnum[keyof typeof GetMonthlyEventsTypeEnum];
14711
+ /**
14712
+ * @export
14713
+ */
14714
+ export declare const GetWeeklyEventsVisibilityTypeEnum: {
14715
+ readonly Public: "public";
14716
+ readonly Private: "private";
14717
+ readonly Invitation: "invitation";
14718
+ };
14719
+ export type GetWeeklyEventsVisibilityTypeEnum = typeof GetWeeklyEventsVisibilityTypeEnum[keyof typeof GetWeeklyEventsVisibilityTypeEnum];
14720
+ /**
14721
+ * @export
14722
+ */
14723
+ export declare const GetWeeklyEventsTypeEnum: {
14724
+ readonly Event: "event";
14725
+ readonly Closure: "closure";
14726
+ };
14727
+ export type GetWeeklyEventsTypeEnum = typeof GetWeeklyEventsTypeEnum[keyof typeof GetWeeklyEventsTypeEnum];
13861
14728
  /**
13862
14729
  * SportsManagerApi - axios parameter creator
13863
14730
  * @export