@tennac-booking/sdk 1.0.110 → 1.0.111

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 (65) hide show
  1. package/.openapi-generator/FILES +296 -292
  2. package/README.md +30 -20
  3. package/api.ts +1991 -1063
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +1222 -662
  8. package/dist/api.js +1140 -511
  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 +1222 -662
  16. package/dist/esm/api.js +1126 -501
  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/AgendaBooking.md +30 -0
  29. package/docs/{JoinEventRequestPlayersPaymentMethodsInner.md → AgendaBookingPlayer.md} +9 -5
  30. package/docs/AgendaBookingSlot.md +30 -0
  31. package/docs/AgendaPaymentStatus.md +12 -0
  32. package/docs/BookingsWithTimeBoundsResponse.md +1 -1
  33. package/docs/ClientAccountOnboardingRequest.md +29 -0
  34. package/docs/{ClientFullOnboardingResponse.md → ClientAccountOnboardingResponse.md} +11 -7
  35. package/docs/ClientAccountResponse.md +44 -0
  36. package/docs/ClientAccountsApi.md +408 -0
  37. package/docs/ClientApi.md +4 -59
  38. package/docs/ClientMeResponse.md +28 -0
  39. package/docs/ClientOnboardingResponse.md +27 -0
  40. package/docs/{ClientRegisterRequest.md → ClientRegisterRequestBody.md} +7 -7
  41. package/docs/{CheckInEventParticipantsRequest.md → ClientRegisterResponse.md} +7 -5
  42. package/docs/ClientSubscriptionResponse.md +34 -0
  43. package/docs/ClubPlayerDetailResponse.md +2 -0
  44. package/docs/ClubSummary.md +8 -2
  45. package/docs/ClubsManagerApi.md +56 -0
  46. package/docs/ClubsStaffApi.md +55 -59
  47. package/docs/CreateEventRequest.md +3 -1
  48. package/docs/EventsManagerApi.md +0 -114
  49. package/docs/EventsStaffApi.md +159 -20
  50. package/docs/GetSubscriptionsHistory200Response.md +22 -0
  51. package/docs/JoinEventRequest.md +0 -8
  52. package/docs/PaymentMethod.md +0 -4
  53. package/docs/PublishEventResponse.md +0 -2
  54. package/docs/UpdateUserCreditsRequest.md +20 -0
  55. package/index.ts +1 -1
  56. package/package.json +1 -1
  57. package/docs/CheckInEventParticipants200Response.md +0 -22
  58. package/docs/CheckInEventParticipants200ResponseInvoicesInner.md +0 -28
  59. package/docs/ClientFullOnboardingResponseClub.md +0 -24
  60. package/docs/ClientRegister201Response.md +0 -26
  61. package/docs/CreateOnsiteInvoiceRequest.md +0 -28
  62. package/docs/CreateOnsiteInvoiceResponse.md +0 -22
  63. package/docs/CreateOnsiteInvoiceResponseInvoice.md +0 -31
  64. package/docs/EventConflictCheckRequest.md +0 -28
  65. package/docs/EventConflictCheckResponse.md +0 -26
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.110
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).
package/dist/esm/base.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.110
7
+ * The version of the OpenAPI document: 1.0.104
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.110
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).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.110
7
+ * The version of the OpenAPI document: 1.0.104
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.110
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).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.110
7
+ * The version of the OpenAPI document: 1.0.104
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.110
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).
package/dist/esm/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.110
7
+ * The version of the OpenAPI document: 1.0.104
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.110
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).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.110
8
+ * The version of the OpenAPI document: 1.0.104
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,22 @@
1
+ # ActiveSubscriptionResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **clientAccountId** | **string** | | [default to undefined]
9
+ **subscription** | [**ClientSubscriptionResponse**](ClientSubscriptionResponse.md) | | [default to undefined]
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import { ActiveSubscriptionResponse } from '@tennac-booking/sdk';
15
+
16
+ const instance: ActiveSubscriptionResponse = {
17
+ clientAccountId,
18
+ subscription,
19
+ };
20
+ ```
21
+
22
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,30 @@
1
+ # AgendaBooking
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
10
+ **creatorName** | **string** | | [default to undefined]
11
+ **players** | [**Array<AgendaBookingPlayer>**](AgendaBookingPlayer.md) | | [default to undefined]
12
+ **paymentStatus** | [**AgendaPaymentStatus**](AgendaPaymentStatus.md) | | [default to undefined]
13
+ **slots** | [**Array<AgendaBookingSlot>**](AgendaBookingSlot.md) | | [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { AgendaBooking } from '@tennac-booking/sdk';
19
+
20
+ const instance: AgendaBooking = {
21
+ id,
22
+ status,
23
+ creatorName,
24
+ players,
25
+ paymentStatus,
26
+ slots,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,21 +1,25 @@
1
- # JoinEventRequestPlayersPaymentMethodsInner
1
+ # AgendaBookingPlayer
2
2
 
3
3
 
4
4
  ## Properties
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
9
8
  **id** | **string** | | [default to undefined]
9
+ **firstName** | **string** | | [default to undefined]
10
+ **lastName** | **string** | | [default to undefined]
11
+ **profilePictureUrl** | **string** | | [optional] [default to undefined]
10
12
 
11
13
  ## Example
12
14
 
13
15
  ```typescript
14
- import { JoinEventRequestPlayersPaymentMethodsInner } from '@tennac-booking/sdk';
16
+ import { AgendaBookingPlayer } from '@tennac-booking/sdk';
15
17
 
16
- const instance: JoinEventRequestPlayersPaymentMethodsInner = {
17
- paymentMethod,
18
+ const instance: AgendaBookingPlayer = {
18
19
  id,
20
+ firstName,
21
+ lastName,
22
+ profilePictureUrl,
19
23
  };
20
24
  ```
21
25
 
@@ -0,0 +1,30 @@
1
+ # AgendaBookingSlot
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **start** | **string** | | [default to undefined]
9
+ **end** | **string** | | [default to undefined]
10
+ **courtName** | **string** | | [default to undefined]
11
+ **sportKey** | **string** | | [default to undefined]
12
+ **surface** | **string** | | [optional] [default to undefined]
13
+ **isIndoor** | **boolean** | | [optional] [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { AgendaBookingSlot } from '@tennac-booking/sdk';
19
+
20
+ const instance: AgendaBookingSlot = {
21
+ start,
22
+ end,
23
+ courtName,
24
+ sportKey,
25
+ surface,
26
+ isIndoor,
27
+ };
28
+ ```
29
+
30
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,12 @@
1
+ # AgendaPaymentStatus
2
+
3
+
4
+ ## Enum
5
+
6
+ * `Pay` (value: `'payé'`)
7
+
8
+ * `NonPay` (value: `'non payé'`)
9
+
10
+ * `EnAttente` (value: `'en attente'`)
11
+
12
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **bookings** | [**Array<BookingPopulated>**](BookingPopulated.md) | | [default to undefined]
8
+ **bookings** | [**Array<AgendaBooking>**](AgendaBooking.md) | | [default to undefined]
9
9
  **timeBounds** | [**TimeBounds**](TimeBounds.md) | | [default to undefined]
10
10
 
11
11
  ## Example
@@ -0,0 +1,29 @@
1
+ # ClientAccountOnboardingRequest
2
+
3
+ Types pour les requêtes/réponses
4
+
5
+ ## Properties
6
+
7
+ Name | Type | Description | Notes
8
+ ------------ | ------------- | ------------- | -------------
9
+ **businessName** | **string** | | [default to undefined]
10
+ **businessType** | **string** | | [optional] [default to undefined]
11
+ **subscriptionType** | **string** | | [optional] [default to undefined]
12
+ **isPublicOrganization** | **boolean** | | [optional] [default to undefined]
13
+ **priceId** | **string** | | [default to undefined]
14
+
15
+ ## Example
16
+
17
+ ```typescript
18
+ import { ClientAccountOnboardingRequest } from '@tennac-booking/sdk';
19
+
20
+ const instance: ClientAccountOnboardingRequest = {
21
+ businessName,
22
+ businessType,
23
+ subscriptionType,
24
+ isPublicOrganization,
25
+ priceId,
26
+ };
27
+ ```
28
+
29
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -1,4 +1,4 @@
1
- # ClientFullOnboardingResponse
1
+ # ClientAccountOnboardingResponse
2
2
 
3
3
 
4
4
  ## Properties
@@ -8,22 +8,26 @@ Name | Type | Description | Notes
8
8
  **clientAccountId** | **string** | | [default to undefined]
9
9
  **stripeCustomerId** | **string** | | [default to undefined]
10
10
  **stripeConnectedAccountId** | **string** | | [optional] [default to undefined]
11
- **clientOnboardingLink** | **string** | | [optional] [default to undefined]
12
- **club** | [**ClientFullOnboardingResponseClub**](ClientFullOnboardingResponseClub.md) | | [default to undefined]
11
+ **connectedAccountOnboardingLink** | **string** | | [optional] [default to undefined]
12
+ **status** | **string** | | [default to undefined]
13
13
  **message** | **string** | | [default to undefined]
14
+ **isPublicOrganization** | **boolean** | | [default to undefined]
15
+ **manualInvoiceRequired** | **boolean** | | [optional] [default to undefined]
14
16
 
15
17
  ## Example
16
18
 
17
19
  ```typescript
18
- import { ClientFullOnboardingResponse } from '@tennac-booking/sdk';
20
+ import { ClientAccountOnboardingResponse } from '@tennac-booking/sdk';
19
21
 
20
- const instance: ClientFullOnboardingResponse = {
22
+ const instance: ClientAccountOnboardingResponse = {
21
23
  clientAccountId,
22
24
  stripeCustomerId,
23
25
  stripeConnectedAccountId,
24
- clientOnboardingLink,
25
- club,
26
+ connectedAccountOnboardingLink,
27
+ status,
26
28
  message,
29
+ isPublicOrganization,
30
+ manualInvoiceRequired,
27
31
  };
28
32
  ```
29
33
 
@@ -0,0 +1,44 @@
1
+ # ClientAccountResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **id** | **string** | | [default to undefined]
9
+ **email** | **string** | | [default to undefined]
10
+ **businessName** | **string** | | [default to undefined]
11
+ **businessType** | **string** | | [default to undefined]
12
+ **subscriptionType** | **string** | | [default to undefined]
13
+ **status** | **string** | | [default to undefined]
14
+ **platformPaymentMethodSetup** | **boolean** | | [default to undefined]
15
+ **stripeConnectedAccountId** | **string** | | [optional] [default to undefined]
16
+ **connectedAccountOnboardingRequired** | **boolean** | | [optional] [default to undefined]
17
+ **isPublicOrganization** | **boolean** | | [default to undefined]
18
+ **manualInvoiceRequired** | **boolean** | | [optional] [default to undefined]
19
+ **createdAt** | **string** | | [default to undefined]
20
+ **updatedAt** | **string** | | [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { ClientAccountResponse } from '@tennac-booking/sdk';
26
+
27
+ const instance: ClientAccountResponse = {
28
+ id,
29
+ email,
30
+ businessName,
31
+ businessType,
32
+ subscriptionType,
33
+ status,
34
+ platformPaymentMethodSetup,
35
+ stripeConnectedAccountId,
36
+ connectedAccountOnboardingRequired,
37
+ isPublicOrganization,
38
+ manualInvoiceRequired,
39
+ createdAt,
40
+ updatedAt,
41
+ };
42
+ ```
43
+
44
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)