@tennac-booking/sdk 1.0.302 → 1.0.303

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/dist/esm/api.js CHANGED
@@ -1702,6 +1702,37 @@ export class BookingsManagerApi extends BaseAPI {
1702
1702
  */
1703
1703
  export const BookingsStaffApiAxiosParamCreator = function (configuration) {
1704
1704
  return {
1705
+ /**
1706
+ * Check-in d\'un invité sans compte (paiement sur place)
1707
+ * @param {string} bookingId
1708
+ * @param {*} [options] Override http request option.
1709
+ * @throws {RequiredError}
1710
+ */
1711
+ bookingGuestCheckin: (bookingId_1, ...args_1) => __awaiter(this, [bookingId_1, ...args_1], void 0, function* (bookingId, options = {}) {
1712
+ // verify required parameter 'bookingId' is not null or undefined
1713
+ assertParamExists('bookingGuestCheckin', 'bookingId', bookingId);
1714
+ const localVarPath = `/api/bookings/{bookingId}/guest-checkin`
1715
+ .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
1716
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
1717
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1718
+ let baseOptions;
1719
+ if (configuration) {
1720
+ baseOptions = configuration.baseOptions;
1721
+ }
1722
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
1723
+ const localVarHeaderParameter = {};
1724
+ const localVarQueryParameter = {};
1725
+ // authentication bearerAuth required
1726
+ // http bearer authentication required
1727
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
1728
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1729
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1730
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
1731
+ return {
1732
+ url: toPathString(localVarUrlObj),
1733
+ options: localVarRequestOptions,
1734
+ };
1735
+ }),
1705
1736
  /**
1706
1737
  * Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
1707
1738
  * @param {string} bookingId
@@ -2079,6 +2110,21 @@ export const BookingsStaffApiAxiosParamCreator = function (configuration) {
2079
2110
  export const BookingsStaffApiFp = function (configuration) {
2080
2111
  const localVarAxiosParamCreator = BookingsStaffApiAxiosParamCreator(configuration);
2081
2112
  return {
2113
+ /**
2114
+ * Check-in d\'un invité sans compte (paiement sur place)
2115
+ * @param {string} bookingId
2116
+ * @param {*} [options] Override http request option.
2117
+ * @throws {RequiredError}
2118
+ */
2119
+ bookingGuestCheckin(bookingId, options) {
2120
+ return __awaiter(this, void 0, void 0, function* () {
2121
+ var _a, _b, _c;
2122
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.bookingGuestCheckin(bookingId, options);
2123
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
2124
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['BookingsStaffApi.bookingGuestCheckin']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
2125
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
2126
+ });
2127
+ },
2082
2128
  /**
2083
2129
  * Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
2084
2130
  * @param {string} bookingId
@@ -2259,6 +2305,15 @@ export const BookingsStaffApiFp = function (configuration) {
2259
2305
  export const BookingsStaffApiFactory = function (configuration, basePath, axios) {
2260
2306
  const localVarFp = BookingsStaffApiFp(configuration);
2261
2307
  return {
2308
+ /**
2309
+ * Check-in d\'un invité sans compte (paiement sur place)
2310
+ * @param {BookingsStaffApiBookingGuestCheckinRequest} requestParameters Request parameters.
2311
+ * @param {*} [options] Override http request option.
2312
+ * @throws {RequiredError}
2313
+ */
2314
+ bookingGuestCheckin(requestParameters, options) {
2315
+ return localVarFp.bookingGuestCheckin(requestParameters.bookingId, options).then((request) => request(axios, basePath));
2316
+ },
2262
2317
  /**
2263
2318
  * Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
2264
2319
  * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
@@ -2367,6 +2422,16 @@ export const BookingsStaffApiFactory = function (configuration, basePath, axios)
2367
2422
  * @extends {BaseAPI}
2368
2423
  */
2369
2424
  export class BookingsStaffApi extends BaseAPI {
2425
+ /**
2426
+ * Check-in d\'un invité sans compte (paiement sur place)
2427
+ * @param {BookingsStaffApiBookingGuestCheckinRequest} requestParameters Request parameters.
2428
+ * @param {*} [options] Override http request option.
2429
+ * @throws {RequiredError}
2430
+ * @memberof BookingsStaffApi
2431
+ */
2432
+ bookingGuestCheckin(requestParameters, options) {
2433
+ return BookingsStaffApiFp(this.configuration).bookingGuestCheckin(requestParameters.bookingId, options).then((request) => request(this.axios, this.basePath));
2434
+ }
2370
2435
  /**
2371
2436
  * Check-in d\'un joueur sans SumUp (paiement en ligne ou sur place)
2372
2437
  * @param {BookingsStaffApiCheckInPlayerRequest} requestParameters Request parameters.
@@ -10407,6 +10472,105 @@ export class DefaultApi extends BaseAPI {
10407
10472
  return DefaultApiFp(this.configuration).createClub(requestParameters.createClubRequest, options).then((request) => request(this.axios, this.basePath));
10408
10473
  }
10409
10474
  }
10475
+ /**
10476
+ * EventBookingsStaffApi - axios parameter creator
10477
+ * @export
10478
+ */
10479
+ export const EventBookingsStaffApiAxiosParamCreator = function (configuration) {
10480
+ return {
10481
+ /**
10482
+ * Check-in d\'un invité sans compte (paiement sur place) pour une inscription événement
10483
+ * @param {string} eventBookingId
10484
+ * @param {*} [options] Override http request option.
10485
+ * @throws {RequiredError}
10486
+ */
10487
+ eventBookingGuestCheckin: (eventBookingId_1, ...args_1) => __awaiter(this, [eventBookingId_1, ...args_1], void 0, function* (eventBookingId, options = {}) {
10488
+ // verify required parameter 'eventBookingId' is not null or undefined
10489
+ assertParamExists('eventBookingGuestCheckin', 'eventBookingId', eventBookingId);
10490
+ const localVarPath = `/api/event-bookings/{eventBookingId}/guest-checkin`
10491
+ .replace(`{${"eventBookingId"}}`, encodeURIComponent(String(eventBookingId)));
10492
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10493
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10494
+ let baseOptions;
10495
+ if (configuration) {
10496
+ baseOptions = configuration.baseOptions;
10497
+ }
10498
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
10499
+ const localVarHeaderParameter = {};
10500
+ const localVarQueryParameter = {};
10501
+ // authentication bearerAuth required
10502
+ // http bearer authentication required
10503
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
10504
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10505
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10506
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
10507
+ return {
10508
+ url: toPathString(localVarUrlObj),
10509
+ options: localVarRequestOptions,
10510
+ };
10511
+ }),
10512
+ };
10513
+ };
10514
+ /**
10515
+ * EventBookingsStaffApi - functional programming interface
10516
+ * @export
10517
+ */
10518
+ export const EventBookingsStaffApiFp = function (configuration) {
10519
+ const localVarAxiosParamCreator = EventBookingsStaffApiAxiosParamCreator(configuration);
10520
+ return {
10521
+ /**
10522
+ * Check-in d\'un invité sans compte (paiement sur place) pour une inscription événement
10523
+ * @param {string} eventBookingId
10524
+ * @param {*} [options] Override http request option.
10525
+ * @throws {RequiredError}
10526
+ */
10527
+ eventBookingGuestCheckin(eventBookingId, options) {
10528
+ return __awaiter(this, void 0, void 0, function* () {
10529
+ var _a, _b, _c;
10530
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.eventBookingGuestCheckin(eventBookingId, options);
10531
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10532
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['EventBookingsStaffApi.eventBookingGuestCheckin']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10533
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
10534
+ });
10535
+ },
10536
+ };
10537
+ };
10538
+ /**
10539
+ * EventBookingsStaffApi - factory interface
10540
+ * @export
10541
+ */
10542
+ export const EventBookingsStaffApiFactory = function (configuration, basePath, axios) {
10543
+ const localVarFp = EventBookingsStaffApiFp(configuration);
10544
+ return {
10545
+ /**
10546
+ * Check-in d\'un invité sans compte (paiement sur place) pour une inscription événement
10547
+ * @param {EventBookingsStaffApiEventBookingGuestCheckinRequest} requestParameters Request parameters.
10548
+ * @param {*} [options] Override http request option.
10549
+ * @throws {RequiredError}
10550
+ */
10551
+ eventBookingGuestCheckin(requestParameters, options) {
10552
+ return localVarFp.eventBookingGuestCheckin(requestParameters.eventBookingId, options).then((request) => request(axios, basePath));
10553
+ },
10554
+ };
10555
+ };
10556
+ /**
10557
+ * EventBookingsStaffApi - object-oriented interface
10558
+ * @export
10559
+ * @class EventBookingsStaffApi
10560
+ * @extends {BaseAPI}
10561
+ */
10562
+ export class EventBookingsStaffApi extends BaseAPI {
10563
+ /**
10564
+ * Check-in d\'un invité sans compte (paiement sur place) pour une inscription événement
10565
+ * @param {EventBookingsStaffApiEventBookingGuestCheckinRequest} requestParameters Request parameters.
10566
+ * @param {*} [options] Override http request option.
10567
+ * @throws {RequiredError}
10568
+ * @memberof EventBookingsStaffApi
10569
+ */
10570
+ eventBookingGuestCheckin(requestParameters, options) {
10571
+ return EventBookingsStaffApiFp(this.configuration).eventBookingGuestCheckin(requestParameters.eventBookingId, options).then((request) => request(this.axios, this.basePath));
10572
+ }
10573
+ }
10410
10574
  /**
10411
10575
  * EventsApi - axios parameter creator
10412
10576
  * @export
@@ -0,0 +1,26 @@
1
+ # BookingGuestCheckinResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [default to undefined]
9
+ **bookingId** | **string** | | [default to undefined]
10
+ **status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
11
+ **financials** | [**PaymentCoverageResult**](PaymentCoverageResult.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { BookingGuestCheckinResponse } from '@tennac-booking/sdk';
17
+
18
+ const instance: BookingGuestCheckinResponse = {
19
+ message,
20
+ bookingId,
21
+ status,
22
+ financials,
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)
@@ -26,7 +26,9 @@ Name | Type | Description | Notes
26
26
  **description** | **string** | | [optional] [default to undefined]
27
27
  **minLevel** | **string** | | [optional] [default to undefined]
28
28
  **playersCount** | **number** | Nombre total réel de joueurs attendu (créateur inclus) | [default to undefined]
29
+ **guestPaymentsCount** | **number** | | [optional] [default to undefined]
29
30
  **maxPlayersDesired** | **number** | | [optional] [default to undefined]
31
+ **paymentDistribution** | [**PaymentDistributionResult**](PaymentDistributionResult.md) | | [optional] [default to undefined]
30
32
 
31
33
  ## Example
32
34
 
@@ -55,7 +57,9 @@ const instance: BookingPopulated = {
55
57
  description,
56
58
  minLevel,
57
59
  playersCount,
60
+ guestPaymentsCount,
58
61
  maxPlayersDesired,
62
+ paymentDistribution,
59
63
  };
60
64
  ```
61
65
 
@@ -33,6 +33,7 @@ Name | Type | Description | Notes
33
33
  **createdAt** | **string** | | [default to undefined]
34
34
  **updatedAt** | **string** | | [default to undefined]
35
35
  **playersCount** | **number** | | [optional] [default to undefined]
36
+ **guestPaymentsCount** | **number** | | [optional] [default to undefined]
36
37
  **clubPicture** | **string** | | [optional] [default to undefined]
37
38
  **clubBanner** | **string** | | [optional] [default to undefined]
38
39
  **courtName** | **string** | | [optional] [default to undefined]
@@ -45,6 +46,7 @@ Name | Type | Description | Notes
45
46
  **paymentUrl** | **string** | | [optional] [default to undefined]
46
47
  **stripeInvoiceUrl** | **string** | | [optional] [default to undefined]
47
48
  **totalAmount** | **number** | | [default to undefined]
49
+ **paymentDistribution** | [**PaymentDistributionResult**](PaymentDistributionResult.md) | | [optional] [default to undefined]
48
50
  **timeBeforeCancel** | **string** | | [optional] [default to undefined]
49
51
  **limitCancellationDate** | **string** | | [optional] [default to undefined]
50
52
  **clubAddress** | [**BookingSummaryClubAddress**](BookingSummaryClubAddress.md) | | [optional] [default to undefined]
@@ -91,6 +93,7 @@ const instance: BookingSummary = {
91
93
  createdAt,
92
94
  updatedAt,
93
95
  playersCount,
96
+ guestPaymentsCount,
94
97
  clubPicture,
95
98
  clubBanner,
96
99
  courtName,
@@ -103,6 +106,7 @@ const instance: BookingSummary = {
103
106
  paymentUrl,
104
107
  stripeInvoiceUrl,
105
108
  totalAmount,
109
+ paymentDistribution,
106
110
  timeBeforeCancel,
107
111
  limitCancellationDate,
108
112
  clubAddress,
@@ -4,6 +4,7 @@ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
7
+ |[**bookingGuestCheckin**](#bookingguestcheckin) | **POST** /api/bookings/{bookingId}/guest-checkin | |
7
8
  |[**checkInPlayer**](#checkinplayer) | **POST** /api/bookings/{bookingId}/check-in | |
8
9
  |[**checkInPlayerWithSumup**](#checkinplayerwithsumup) | **POST** /api/bookings/{bookingId}/check-in/sumup | |
9
10
  |[**createStaffBooking**](#createstaffbooking) | **POST** /api/bookings/staff | |
@@ -16,6 +17,57 @@ All URIs are relative to *http://localhost*
16
17
  |[**getWeeklyBookings**](#getweeklybookings) | **GET** /api/bookings/weekly/{weekId} | |
17
18
  |[**listClubBookings**](#listclubbookings) | **GET** /api/bookings/staff | |
18
19
 
20
+ # **bookingGuestCheckin**
21
+ > BookingGuestCheckinResponse bookingGuestCheckin()
22
+
23
+ Check-in d\'un invité sans compte (paiement sur place)
24
+
25
+ ### Example
26
+
27
+ ```typescript
28
+ import {
29
+ BookingsStaffApi,
30
+ Configuration
31
+ } from '@tennac-booking/sdk';
32
+
33
+ const configuration = new Configuration();
34
+ const apiInstance = new BookingsStaffApi(configuration);
35
+
36
+ let bookingId: string; // (default to undefined)
37
+
38
+ const { status, data } = await apiInstance.bookingGuestCheckin(
39
+ bookingId
40
+ );
41
+ ```
42
+
43
+ ### Parameters
44
+
45
+ |Name | Type | Description | Notes|
46
+ |------------- | ------------- | ------------- | -------------|
47
+ | **bookingId** | [**string**] | | defaults to undefined|
48
+
49
+
50
+ ### Return type
51
+
52
+ **BookingGuestCheckinResponse**
53
+
54
+ ### Authorization
55
+
56
+ [bearerAuth](../README.md#bearerAuth)
57
+
58
+ ### HTTP request headers
59
+
60
+ - **Content-Type**: Not defined
61
+ - **Accept**: application/json
62
+
63
+
64
+ ### HTTP response details
65
+ | Status code | Description | Response headers |
66
+ |-------------|-------------|------------------|
67
+ |**200** | Check-in invité effectué avec succès | - |
68
+
69
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
70
+
19
71
  # **checkInPlayer**
20
72
  > CheckInPlayerResponse checkInPlayer(checkInPlayerRequest)
21
73
 
@@ -0,0 +1,28 @@
1
+ # ErrorResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [default to undefined]
9
+ **message** | **string** | | [default to undefined]
10
+ **stack** | **string** | | [optional] [default to undefined]
11
+ **statusCode** | **number** | | [default to undefined]
12
+ **details** | **any** | | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { ErrorResponse } from '@tennac-booking/sdk';
18
+
19
+ const instance: ErrorResponse = {
20
+ name,
21
+ message,
22
+ stack,
23
+ statusCode,
24
+ details,
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)
@@ -10,7 +10,6 @@ Name | Type | Description | Notes
10
10
  **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
11
11
  **playersCount** | **number** | | [optional] [default to undefined]
12
12
  **isCreatorPayingAll** | **boolean** | | [optional] [default to undefined]
13
- **reservedPlayerCount** | **number** | | [optional] [default to undefined]
14
13
  **creatorId** | **string** | | [optional] [default to undefined]
15
14
  **creditToUseInCents** | **number** | | [optional] [default to undefined]
16
15
 
@@ -25,7 +24,6 @@ const instance: EstimateEventPriceRequest = {
25
24
  paymentMethod,
26
25
  playersCount,
27
26
  isCreatorPayingAll,
28
- reservedPlayerCount,
29
27
  creatorId,
30
28
  creditToUseInCents,
31
29
  };
@@ -12,7 +12,6 @@ Name | Type | Description | Notes
12
12
  **currency** | **string** | | [default to undefined]
13
13
  **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
14
14
  **playersCount** | **number** | | [optional] [default to undefined]
15
- **reservedPlayerCount** | **number** | | [optional] [default to undefined]
16
15
  **missingParticipantsCount** | **number** | | [optional] [default to undefined]
17
16
  **creditsAppliedInCents** | **number** | | [optional] [default to undefined]
18
17
  **totalAfterCredits** | **number** | | [optional] [default to undefined]
@@ -31,7 +30,6 @@ const instance: EstimateEventPriceResponse = {
31
30
  currency,
32
31
  paymentMethod,
33
32
  playersCount,
34
- reservedPlayerCount,
35
33
  missingParticipantsCount,
36
34
  creditsAppliedInCents,
37
35
  totalAfterCredits,
@@ -5,6 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
+ **paymentDistribution** | [**PaymentDistributionResult**](PaymentDistributionResult.md) | | [optional] [default to undefined]
9
+ **guestPaymentsCount** | **number** | | [optional] [default to undefined]
8
10
  **participantsCount** | **number** | | [default to undefined]
9
11
  **updatedAt** | **string** | | [default to undefined]
10
12
  **createdAt** | **string** | | [default to undefined]
@@ -23,6 +25,8 @@ Name | Type | Description | Notes
23
25
  import { EventBookingDetailResponseBooking } from '@tennac-booking/sdk';
24
26
 
25
27
  const instance: EventBookingDetailResponseBooking = {
28
+ paymentDistribution,
29
+ guestPaymentsCount,
26
30
  participantsCount,
27
31
  updatedAt,
28
32
  createdAt,
@@ -0,0 +1,26 @@
1
+ # EventBookingGuestCheckinResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **message** | **string** | | [default to undefined]
9
+ **eventBookingId** | **string** | | [default to undefined]
10
+ **status** | [**EventBookingStatus**](EventBookingStatus.md) | | [default to undefined]
11
+ **financials** | [**PaymentCoverageResult**](PaymentCoverageResult.md) | | [default to undefined]
12
+
13
+ ## Example
14
+
15
+ ```typescript
16
+ import { EventBookingGuestCheckinResponse } from '@tennac-booking/sdk';
17
+
18
+ const instance: EventBookingGuestCheckinResponse = {
19
+ message,
20
+ eventBookingId,
21
+ status,
22
+ financials,
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)
@@ -0,0 +1,62 @@
1
+ # EventBookingsStaffApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**eventBookingGuestCheckin**](#eventbookingguestcheckin) | **POST** /api/event-bookings/{eventBookingId}/guest-checkin | |
8
+
9
+ # **eventBookingGuestCheckin**
10
+ > EventBookingGuestCheckinResponse eventBookingGuestCheckin()
11
+
12
+ Check-in d\'un invité sans compte (paiement sur place) pour une inscription événement
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ EventBookingsStaffApi,
19
+ Configuration
20
+ } from '@tennac-booking/sdk';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new EventBookingsStaffApi(configuration);
24
+
25
+ let eventBookingId: string; // (default to undefined)
26
+
27
+ const { status, data } = await apiInstance.eventBookingGuestCheckin(
28
+ eventBookingId
29
+ );
30
+ ```
31
+
32
+ ### Parameters
33
+
34
+ |Name | Type | Description | Notes|
35
+ |------------- | ------------- | ------------- | -------------|
36
+ | **eventBookingId** | [**string**] | | defaults to undefined|
37
+
38
+
39
+ ### Return type
40
+
41
+ **EventBookingGuestCheckinResponse**
42
+
43
+ ### Authorization
44
+
45
+ [bearerAuth](../README.md#bearerAuth)
46
+
47
+ ### HTTP request headers
48
+
49
+ - **Content-Type**: Not defined
50
+ - **Accept**: application/json
51
+
52
+
53
+ ### HTTP response details
54
+ | Status code | Description | Response headers |
55
+ |-------------|-------------|------------------|
56
+ |**200** | Check-in invité effectué avec succès | - |
57
+ |**400** | Requête invalide | - |
58
+ |**404** | EventBooking non trouvé | - |
59
+ |**409** | Conflit de concurrence | - |
60
+
61
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
62
+
@@ -7,6 +7,7 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **teamName** | **string** | | [optional] [default to undefined]
9
9
  **players** | **Array<string>** | | [optional] [default to undefined]
10
+ **playersCount** | **number** | | [optional] [default to undefined]
10
11
  **licenceNumber** | **string** | | [optional] [default to undefined]
11
12
  **playersLicenceNumbers** | **{ [key: string]: string; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
12
13
  **isOpen** | **boolean** | | [optional] [default to undefined]
@@ -24,6 +25,7 @@ import { JoinEventRequest } from '@tennac-booking/sdk';
24
25
  const instance: JoinEventRequest = {
25
26
  teamName,
26
27
  players,
28
+ playersCount,
27
29
  licenceNumber,
28
30
  playersLicenceNumbers,
29
31
  isOpen,
@@ -0,0 +1,40 @@
1
+ # PaymentCoverageResult
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **totalAmount** | **number** | | [default to undefined]
9
+ **playersCount** | **number** | | [default to undefined]
10
+ **registeredPlayersCount** | **number** | | [default to undefined]
11
+ **guestsCount** | **number** | | [default to undefined]
12
+ **guestPaymentsCount** | **number** | | [default to undefined]
13
+ **share** | **number** | | [default to undefined]
14
+ **registeredPaidAmount** | **number** | | [default to undefined]
15
+ **guestPaidAmount** | **number** | | [default to undefined]
16
+ **totalPaid** | **number** | | [default to undefined]
17
+ **remainingAmount** | **number** | | [default to undefined]
18
+ **isFullyPaid** | **boolean** | | [default to undefined]
19
+
20
+ ## Example
21
+
22
+ ```typescript
23
+ import { PaymentCoverageResult } from '@tennac-booking/sdk';
24
+
25
+ const instance: PaymentCoverageResult = {
26
+ totalAmount,
27
+ playersCount,
28
+ registeredPlayersCount,
29
+ guestsCount,
30
+ guestPaymentsCount,
31
+ share,
32
+ registeredPaidAmount,
33
+ guestPaidAmount,
34
+ totalPaid,
35
+ remainingAmount,
36
+ isFullyPaid,
37
+ };
38
+ ```
39
+
40
+ [[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,32 @@
1
+ # PaymentDistributionResult
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **totalAmount** | **number** | | [default to undefined]
9
+ **paidAmount** | **number** | | [default to undefined]
10
+ **remainingAmount** | **number** | | [default to undefined]
11
+ **playersCount** | **number** | | [default to undefined]
12
+ **registeredPlayersCount** | **number** | | [default to undefined]
13
+ **guestsCount** | **number** | | [default to undefined]
14
+ **guestShare** | **number** | | [default to undefined]
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import { PaymentDistributionResult } from '@tennac-booking/sdk';
20
+
21
+ const instance: PaymentDistributionResult = {
22
+ totalAmount,
23
+ paidAmount,
24
+ remainingAmount,
25
+ playersCount,
26
+ registeredPlayersCount,
27
+ guestsCount,
28
+ guestShare,
29
+ };
30
+ ```
31
+
32
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -15,6 +15,8 @@ Name | Type | Description | Notes
15
15
  **limitSetupDate** | **string** | | [optional] [default to undefined]
16
16
  **limitCancellationDate** | **string** | | [optional] [default to undefined]
17
17
  **amount** | **number** | | [optional] [default to undefined]
18
+ **guestPaymentsCount** | **number** | | [optional] [default to undefined]
19
+ **paymentDistribution** | [**PaymentDistributionResult**](PaymentDistributionResult.md) | | [optional] [default to undefined]
18
20
  **createdAt** | **string** | | [default to undefined]
19
21
  **updatedAt** | **string** | | [default to undefined]
20
22
 
@@ -34,6 +36,8 @@ const instance: StaffEventBookingResponse = {
34
36
  limitSetupDate,
35
37
  limitCancellationDate,
36
38
  amount,
39
+ guestPaymentsCount,
40
+ paymentDistribution,
37
41
  createdAt,
38
42
  updatedAt,
39
43
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.302",
3
+ "version": "1.0.303",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {