@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.
- package/.openapi-generator/FILES +296 -292
- package/README.md +30 -20
- package/api.ts +1991 -1063
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +1222 -662
- package/dist/api.js +1140 -511
- 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 +1222 -662
- package/dist/esm/api.js +1126 -501
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ActiveSubscriptionResponse.md +22 -0
- package/docs/AgendaBooking.md +30 -0
- package/docs/{JoinEventRequestPlayersPaymentMethodsInner.md → AgendaBookingPlayer.md} +9 -5
- package/docs/AgendaBookingSlot.md +30 -0
- package/docs/AgendaPaymentStatus.md +12 -0
- package/docs/BookingsWithTimeBoundsResponse.md +1 -1
- package/docs/ClientAccountOnboardingRequest.md +29 -0
- package/docs/{ClientFullOnboardingResponse.md → ClientAccountOnboardingResponse.md} +11 -7
- package/docs/ClientAccountResponse.md +44 -0
- package/docs/ClientAccountsApi.md +408 -0
- package/docs/ClientApi.md +4 -59
- package/docs/ClientMeResponse.md +28 -0
- package/docs/ClientOnboardingResponse.md +27 -0
- package/docs/{ClientRegisterRequest.md → ClientRegisterRequestBody.md} +7 -7
- package/docs/{CheckInEventParticipantsRequest.md → ClientRegisterResponse.md} +7 -5
- package/docs/ClientSubscriptionResponse.md +34 -0
- package/docs/ClubPlayerDetailResponse.md +2 -0
- package/docs/ClubSummary.md +8 -2
- package/docs/ClubsManagerApi.md +56 -0
- package/docs/ClubsStaffApi.md +55 -59
- package/docs/CreateEventRequest.md +3 -1
- package/docs/EventsManagerApi.md +0 -114
- package/docs/EventsStaffApi.md +159 -20
- package/docs/GetSubscriptionsHistory200Response.md +22 -0
- package/docs/JoinEventRequest.md +0 -8
- package/docs/PaymentMethod.md +0 -4
- package/docs/PublishEventResponse.md +0 -2
- package/docs/UpdateUserCreditsRequest.md +20 -0
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/CheckInEventParticipants200Response.md +0 -22
- package/docs/CheckInEventParticipants200ResponseInvoicesInner.md +0 -28
- package/docs/ClientFullOnboardingResponseClub.md +0 -24
- package/docs/ClientRegister201Response.md +0 -26
- package/docs/CreateOnsiteInvoiceRequest.md +0 -28
- package/docs/CreateOnsiteInvoiceResponse.md +0 -22
- package/docs/CreateOnsiteInvoiceResponseInvoice.md +0 -31
- package/docs/EventConflictCheckRequest.md +0 -28
- package/docs/EventConflictCheckResponse.md +0 -26
package/dist/esm/base.d.ts
CHANGED
package/dist/esm/base.js
CHANGED
package/dist/esm/common.d.ts
CHANGED
package/dist/esm/common.js
CHANGED
package/dist/esm/index.d.ts
CHANGED
package/dist/esm/index.js
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -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
|
-
#
|
|
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 {
|
|
16
|
+
import { AgendaBookingPlayer } from '@tennac-booking/sdk';
|
|
15
17
|
|
|
16
|
-
const instance:
|
|
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<
|
|
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
|
-
#
|
|
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
|
-
**
|
|
12
|
-
**
|
|
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 {
|
|
20
|
+
import { ClientAccountOnboardingResponse } from '@tennac-booking/sdk';
|
|
19
21
|
|
|
20
|
-
const instance:
|
|
22
|
+
const instance: ClientAccountOnboardingResponse = {
|
|
21
23
|
clientAccountId,
|
|
22
24
|
stripeCustomerId,
|
|
23
25
|
stripeConnectedAccountId,
|
|
24
|
-
|
|
25
|
-
|
|
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)
|