@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
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
# CheckInEventParticipants200Response
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**invoices** | [**Array<CheckInEventParticipants200ResponseInvoicesInner>**](CheckInEventParticipants200ResponseInvoicesInner.md) | | [default to undefined]
|
|
9
|
-
**message** | **string** | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { CheckInEventParticipants200Response } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: CheckInEventParticipants200Response = {
|
|
17
|
-
invoices,
|
|
18
|
-
message,
|
|
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)
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# CheckInEventParticipants200ResponseInvoicesInner
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
|
|
9
|
-
**status** | **string** | | [default to undefined]
|
|
10
|
-
**amount** | **number** | | [default to undefined]
|
|
11
|
-
**invoiceId** | **string** | | [default to undefined]
|
|
12
|
-
**playerId** | **string** | | [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { CheckInEventParticipants200ResponseInvoicesInner } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: CheckInEventParticipants200ResponseInvoicesInner = {
|
|
20
|
-
paymentMethod,
|
|
21
|
-
status,
|
|
22
|
-
amount,
|
|
23
|
-
invoiceId,
|
|
24
|
-
playerId,
|
|
25
|
-
};
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
[[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,24 +0,0 @@
|
|
|
1
|
-
# ClientFullOnboardingResponseClub
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**clubOnboardingLink** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**stripeAccountId** | **string** | | [default to undefined]
|
|
10
|
-
**clubId** | **string** | | [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { ClientFullOnboardingResponseClub } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: ClientFullOnboardingResponseClub = {
|
|
18
|
-
clubOnboardingLink,
|
|
19
|
-
stripeAccountId,
|
|
20
|
-
clubId,
|
|
21
|
-
};
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
[[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,26 +0,0 @@
|
|
|
1
|
-
# ClientRegister201Response
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**message** | **string** | | [default to undefined]
|
|
9
|
-
**stripeCustomerId** | **string** | | [default to undefined]
|
|
10
|
-
**email** | **string** | | [default to undefined]
|
|
11
|
-
**userId** | **string** | | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { ClientRegister201Response } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: ClientRegister201Response = {
|
|
19
|
-
message,
|
|
20
|
-
stripeCustomerId,
|
|
21
|
-
email,
|
|
22
|
-
userId,
|
|
23
|
-
};
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
[[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,28 +0,0 @@
|
|
|
1
|
-
# CreateOnsiteInvoiceRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**userId** | **string** | Payer user id (creator or player) | [default to undefined]
|
|
9
|
-
**amount** | **number** | Amount in cents | [default to undefined]
|
|
10
|
-
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
|
|
11
|
-
**status** | [**InvoiceStatus**](InvoiceStatus.md) | | [default to undefined]
|
|
12
|
-
**reason** | **string** | Optional note/reason about the invoice | [optional] [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { CreateOnsiteInvoiceRequest } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: CreateOnsiteInvoiceRequest = {
|
|
20
|
-
userId,
|
|
21
|
-
amount,
|
|
22
|
-
paymentMethod,
|
|
23
|
-
status,
|
|
24
|
-
reason,
|
|
25
|
-
};
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
[[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,22 +0,0 @@
|
|
|
1
|
-
# CreateOnsiteInvoiceResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**message** | **string** | Confirmation message | [default to undefined]
|
|
9
|
-
**invoice** | [**CreateOnsiteInvoiceResponseInvoice**](CreateOnsiteInvoiceResponseInvoice.md) | | [default to undefined]
|
|
10
|
-
|
|
11
|
-
## Example
|
|
12
|
-
|
|
13
|
-
```typescript
|
|
14
|
-
import { CreateOnsiteInvoiceResponse } from '@tennac-booking/sdk';
|
|
15
|
-
|
|
16
|
-
const instance: CreateOnsiteInvoiceResponse = {
|
|
17
|
-
message,
|
|
18
|
-
invoice,
|
|
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)
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
# CreateOnsiteInvoiceResponseInvoice
|
|
2
|
-
|
|
3
|
-
Created invoice summary
|
|
4
|
-
|
|
5
|
-
## Properties
|
|
6
|
-
|
|
7
|
-
Name | Type | Description | Notes
|
|
8
|
-
------------ | ------------- | ------------- | -------------
|
|
9
|
-
**reason** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [default to undefined]
|
|
11
|
-
**status** | [**InvoiceStatus**](InvoiceStatus.md) | | [default to undefined]
|
|
12
|
-
**amount** | **number** | | [default to undefined]
|
|
13
|
-
**userId** | **string** | | [default to undefined]
|
|
14
|
-
**id** | **string** | | [default to undefined]
|
|
15
|
-
|
|
16
|
-
## Example
|
|
17
|
-
|
|
18
|
-
```typescript
|
|
19
|
-
import { CreateOnsiteInvoiceResponseInvoice } from '@tennac-booking/sdk';
|
|
20
|
-
|
|
21
|
-
const instance: CreateOnsiteInvoiceResponseInvoice = {
|
|
22
|
-
reason,
|
|
23
|
-
paymentMethod,
|
|
24
|
-
status,
|
|
25
|
-
amount,
|
|
26
|
-
userId,
|
|
27
|
-
id,
|
|
28
|
-
};
|
|
29
|
-
```
|
|
30
|
-
|
|
31
|
-
[[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,28 +0,0 @@
|
|
|
1
|
-
# EventConflictCheckRequest
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**eventId** | **string** | | [optional] [default to undefined]
|
|
9
|
-
**clubId** | **string** | | [optional] [default to undefined]
|
|
10
|
-
**startDate** | **string** | | [optional] [default to undefined]
|
|
11
|
-
**endDate** | **string** | | [optional] [default to undefined]
|
|
12
|
-
**courts** | **Array<string>** | | [optional] [default to undefined]
|
|
13
|
-
|
|
14
|
-
## Example
|
|
15
|
-
|
|
16
|
-
```typescript
|
|
17
|
-
import { EventConflictCheckRequest } from '@tennac-booking/sdk';
|
|
18
|
-
|
|
19
|
-
const instance: EventConflictCheckRequest = {
|
|
20
|
-
eventId,
|
|
21
|
-
clubId,
|
|
22
|
-
startDate,
|
|
23
|
-
endDate,
|
|
24
|
-
courts,
|
|
25
|
-
};
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
[[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,26 +0,0 @@
|
|
|
1
|
-
# EventConflictCheckResponse
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**hasRegularBookings** | **boolean** | | [default to undefined]
|
|
9
|
-
**regularBookingsCount** | **number** | | [default to undefined]
|
|
10
|
-
**hasEventBookings** | **boolean** | | [default to undefined]
|
|
11
|
-
**eventBookingsCount** | **number** | | [default to undefined]
|
|
12
|
-
|
|
13
|
-
## Example
|
|
14
|
-
|
|
15
|
-
```typescript
|
|
16
|
-
import { EventConflictCheckResponse } from '@tennac-booking/sdk';
|
|
17
|
-
|
|
18
|
-
const instance: EventConflictCheckResponse = {
|
|
19
|
-
hasRegularBookings,
|
|
20
|
-
regularBookingsCount,
|
|
21
|
-
hasEventBookings,
|
|
22
|
-
eventBookingsCount,
|
|
23
|
-
};
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|