@tennac-booking/sdk 1.0.207 → 1.0.209
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 +0 -1
- package/README.md +2 -3
- package/api.ts +24 -30
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +24 -30
- package/dist/api.js +1 -1
- 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 +24 -30
- package/dist/esm/api.js +1 -1
- 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/CreateOpenBookingRequest.md +5 -1
- package/docs/OpenBookingInfo.md +4 -2
- package/index.ts +1 -1
- package/package.json +1 -1
- package/docs/OpenBookingSlotInfo.md +0 -24
package/.openapi-generator/FILES
CHANGED
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @tennac-booking/sdk@1.0.
|
|
1
|
+
## @tennac-booking/sdk@1.0.208
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @tennac-booking/sdk@1.0.
|
|
39
|
+
npm install @tennac-booking/sdk@1.0.208 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -533,7 +533,6 @@ Class | Method | HTTP request | Description
|
|
|
533
533
|
- [OffPeakRule](docs/OffPeakRule.md)
|
|
534
534
|
- [OpenBookingInfo](docs/OpenBookingInfo.md)
|
|
535
535
|
- [OpenBookingPlayerInfo](docs/OpenBookingPlayerInfo.md)
|
|
536
|
-
- [OpenBookingSlotInfo](docs/OpenBookingSlotInfo.md)
|
|
537
536
|
- [OpenBookingSportInfo](docs/OpenBookingSportInfo.md)
|
|
538
537
|
- [OpenBookingsResponse](docs/OpenBookingsResponse.md)
|
|
539
538
|
- [PaginationInfo](docs/PaginationInfo.md)
|
package/api.ts
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.
|
|
7
|
+
* The version of the OpenAPI document: 1.0.208
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4879,6 +4879,18 @@ export interface CreateOpenBookingRequest {
|
|
|
4879
4879
|
* @memberof CreateOpenBookingRequest
|
|
4880
4880
|
*/
|
|
4881
4881
|
'slotIds': Array<string>;
|
|
4882
|
+
/**
|
|
4883
|
+
* Liste de tous les joueurs initiaux avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
4884
|
+
* @type {Array<PlayerWithPaymentMethod>}
|
|
4885
|
+
* @memberof CreateOpenBookingRequest
|
|
4886
|
+
*/
|
|
4887
|
+
'players'?: Array<PlayerWithPaymentMethod>;
|
|
4888
|
+
/**
|
|
4889
|
+
* Indique si le créateur paie pour tous les joueurs initiaux
|
|
4890
|
+
* @type {boolean}
|
|
4891
|
+
* @memberof CreateOpenBookingRequest
|
|
4892
|
+
*/
|
|
4893
|
+
'isCreatorPayingAll'?: boolean;
|
|
4882
4894
|
/**
|
|
4883
4895
|
*
|
|
4884
4896
|
* @type {PaymentMethod}
|
|
@@ -4916,9 +4928,10 @@ export interface CreateOpenBookingRequest {
|
|
|
4916
4928
|
*/
|
|
4917
4929
|
'minLevel'?: string;
|
|
4918
4930
|
/**
|
|
4919
|
-
*
|
|
4931
|
+
*
|
|
4920
4932
|
* @type {Array<string>}
|
|
4921
4933
|
* @memberof CreateOpenBookingRequest
|
|
4934
|
+
* @deprecated
|
|
4922
4935
|
*/
|
|
4923
4936
|
'initialPlayerIds'?: Array<string>;
|
|
4924
4937
|
}
|
|
@@ -8571,11 +8584,17 @@ export interface OpenBookingInfo {
|
|
|
8571
8584
|
*/
|
|
8572
8585
|
'totalPrice': number;
|
|
8573
8586
|
/**
|
|
8574
|
-
*
|
|
8575
|
-
* @type {
|
|
8587
|
+
* Date de début du premier créneau
|
|
8588
|
+
* @type {string}
|
|
8589
|
+
* @memberof OpenBookingInfo
|
|
8590
|
+
*/
|
|
8591
|
+
'startDate': string;
|
|
8592
|
+
/**
|
|
8593
|
+
* Date de fin du dernier créneau
|
|
8594
|
+
* @type {string}
|
|
8576
8595
|
* @memberof OpenBookingInfo
|
|
8577
8596
|
*/
|
|
8578
|
-
'
|
|
8597
|
+
'endDate': string;
|
|
8579
8598
|
/**
|
|
8580
8599
|
* Indique si le créateur paie pour tous
|
|
8581
8600
|
* @type {boolean}
|
|
@@ -8664,31 +8683,6 @@ export interface OpenBookingPlayerInfo {
|
|
|
8664
8683
|
*/
|
|
8665
8684
|
'profilePicture'?: string;
|
|
8666
8685
|
}
|
|
8667
|
-
/**
|
|
8668
|
-
*
|
|
8669
|
-
* @export
|
|
8670
|
-
* @interface OpenBookingSlotInfo
|
|
8671
|
-
*/
|
|
8672
|
-
export interface OpenBookingSlotInfo {
|
|
8673
|
-
/**
|
|
8674
|
-
* ID du slot
|
|
8675
|
-
* @type {string}
|
|
8676
|
-
* @memberof OpenBookingSlotInfo
|
|
8677
|
-
*/
|
|
8678
|
-
'id': string;
|
|
8679
|
-
/**
|
|
8680
|
-
* Date de début ISO
|
|
8681
|
-
* @type {string}
|
|
8682
|
-
* @memberof OpenBookingSlotInfo
|
|
8683
|
-
*/
|
|
8684
|
-
'startDate': string;
|
|
8685
|
-
/**
|
|
8686
|
-
* Date de fin ISO
|
|
8687
|
-
* @type {string}
|
|
8688
|
-
* @memberof OpenBookingSlotInfo
|
|
8689
|
-
*/
|
|
8690
|
-
'endDate': string;
|
|
8691
|
-
}
|
|
8692
8686
|
/**
|
|
8693
8687
|
*
|
|
8694
8688
|
* @export
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.208
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4799,6 +4799,18 @@ export interface CreateOpenBookingRequest {
|
|
|
4799
4799
|
* @memberof CreateOpenBookingRequest
|
|
4800
4800
|
*/
|
|
4801
4801
|
'slotIds': Array<string>;
|
|
4802
|
+
/**
|
|
4803
|
+
* Liste de tous les joueurs initiaux avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
4804
|
+
* @type {Array<PlayerWithPaymentMethod>}
|
|
4805
|
+
* @memberof CreateOpenBookingRequest
|
|
4806
|
+
*/
|
|
4807
|
+
'players'?: Array<PlayerWithPaymentMethod>;
|
|
4808
|
+
/**
|
|
4809
|
+
* Indique si le créateur paie pour tous les joueurs initiaux
|
|
4810
|
+
* @type {boolean}
|
|
4811
|
+
* @memberof CreateOpenBookingRequest
|
|
4812
|
+
*/
|
|
4813
|
+
'isCreatorPayingAll'?: boolean;
|
|
4802
4814
|
/**
|
|
4803
4815
|
*
|
|
4804
4816
|
* @type {PaymentMethod}
|
|
@@ -4836,9 +4848,10 @@ export interface CreateOpenBookingRequest {
|
|
|
4836
4848
|
*/
|
|
4837
4849
|
'minLevel'?: string;
|
|
4838
4850
|
/**
|
|
4839
|
-
*
|
|
4851
|
+
*
|
|
4840
4852
|
* @type {Array<string>}
|
|
4841
4853
|
* @memberof CreateOpenBookingRequest
|
|
4854
|
+
* @deprecated
|
|
4842
4855
|
*/
|
|
4843
4856
|
'initialPlayerIds'?: Array<string>;
|
|
4844
4857
|
}
|
|
@@ -8437,11 +8450,17 @@ export interface OpenBookingInfo {
|
|
|
8437
8450
|
*/
|
|
8438
8451
|
'totalPrice': number;
|
|
8439
8452
|
/**
|
|
8440
|
-
*
|
|
8441
|
-
* @type {
|
|
8453
|
+
* Date de début du premier créneau
|
|
8454
|
+
* @type {string}
|
|
8455
|
+
* @memberof OpenBookingInfo
|
|
8456
|
+
*/
|
|
8457
|
+
'startDate': string;
|
|
8458
|
+
/**
|
|
8459
|
+
* Date de fin du dernier créneau
|
|
8460
|
+
* @type {string}
|
|
8442
8461
|
* @memberof OpenBookingInfo
|
|
8443
8462
|
*/
|
|
8444
|
-
'
|
|
8463
|
+
'endDate': string;
|
|
8445
8464
|
/**
|
|
8446
8465
|
* Indique si le créateur paie pour tous
|
|
8447
8466
|
* @type {boolean}
|
|
@@ -8528,31 +8547,6 @@ export interface OpenBookingPlayerInfo {
|
|
|
8528
8547
|
*/
|
|
8529
8548
|
'profilePicture'?: string;
|
|
8530
8549
|
}
|
|
8531
|
-
/**
|
|
8532
|
-
*
|
|
8533
|
-
* @export
|
|
8534
|
-
* @interface OpenBookingSlotInfo
|
|
8535
|
-
*/
|
|
8536
|
-
export interface OpenBookingSlotInfo {
|
|
8537
|
-
/**
|
|
8538
|
-
* ID du slot
|
|
8539
|
-
* @type {string}
|
|
8540
|
-
* @memberof OpenBookingSlotInfo
|
|
8541
|
-
*/
|
|
8542
|
-
'id': string;
|
|
8543
|
-
/**
|
|
8544
|
-
* Date de début ISO
|
|
8545
|
-
* @type {string}
|
|
8546
|
-
* @memberof OpenBookingSlotInfo
|
|
8547
|
-
*/
|
|
8548
|
-
'startDate': string;
|
|
8549
|
-
/**
|
|
8550
|
-
* Date de fin ISO
|
|
8551
|
-
* @type {string}
|
|
8552
|
-
* @memberof OpenBookingSlotInfo
|
|
8553
|
-
*/
|
|
8554
|
-
'endDate': string;
|
|
8555
|
-
}
|
|
8556
8550
|
/**
|
|
8557
8551
|
*
|
|
8558
8552
|
* @export
|
package/dist/api.js
CHANGED
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
package/dist/esm/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.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.208
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -4799,6 +4799,18 @@ export interface CreateOpenBookingRequest {
|
|
|
4799
4799
|
* @memberof CreateOpenBookingRequest
|
|
4800
4800
|
*/
|
|
4801
4801
|
'slotIds': Array<string>;
|
|
4802
|
+
/**
|
|
4803
|
+
* Liste de tous les joueurs initiaux avec leurs méthodes de paiement (INCLUT LE CRÉATEUR)
|
|
4804
|
+
* @type {Array<PlayerWithPaymentMethod>}
|
|
4805
|
+
* @memberof CreateOpenBookingRequest
|
|
4806
|
+
*/
|
|
4807
|
+
'players'?: Array<PlayerWithPaymentMethod>;
|
|
4808
|
+
/**
|
|
4809
|
+
* Indique si le créateur paie pour tous les joueurs initiaux
|
|
4810
|
+
* @type {boolean}
|
|
4811
|
+
* @memberof CreateOpenBookingRequest
|
|
4812
|
+
*/
|
|
4813
|
+
'isCreatorPayingAll'?: boolean;
|
|
4802
4814
|
/**
|
|
4803
4815
|
*
|
|
4804
4816
|
* @type {PaymentMethod}
|
|
@@ -4836,9 +4848,10 @@ export interface CreateOpenBookingRequest {
|
|
|
4836
4848
|
*/
|
|
4837
4849
|
'minLevel'?: string;
|
|
4838
4850
|
/**
|
|
4839
|
-
*
|
|
4851
|
+
*
|
|
4840
4852
|
* @type {Array<string>}
|
|
4841
4853
|
* @memberof CreateOpenBookingRequest
|
|
4854
|
+
* @deprecated
|
|
4842
4855
|
*/
|
|
4843
4856
|
'initialPlayerIds'?: Array<string>;
|
|
4844
4857
|
}
|
|
@@ -8437,11 +8450,17 @@ export interface OpenBookingInfo {
|
|
|
8437
8450
|
*/
|
|
8438
8451
|
'totalPrice': number;
|
|
8439
8452
|
/**
|
|
8440
|
-
*
|
|
8441
|
-
* @type {
|
|
8453
|
+
* Date de début du premier créneau
|
|
8454
|
+
* @type {string}
|
|
8455
|
+
* @memberof OpenBookingInfo
|
|
8456
|
+
*/
|
|
8457
|
+
'startDate': string;
|
|
8458
|
+
/**
|
|
8459
|
+
* Date de fin du dernier créneau
|
|
8460
|
+
* @type {string}
|
|
8442
8461
|
* @memberof OpenBookingInfo
|
|
8443
8462
|
*/
|
|
8444
|
-
'
|
|
8463
|
+
'endDate': string;
|
|
8445
8464
|
/**
|
|
8446
8465
|
* Indique si le créateur paie pour tous
|
|
8447
8466
|
* @type {boolean}
|
|
@@ -8528,31 +8547,6 @@ export interface OpenBookingPlayerInfo {
|
|
|
8528
8547
|
*/
|
|
8529
8548
|
'profilePicture'?: string;
|
|
8530
8549
|
}
|
|
8531
|
-
/**
|
|
8532
|
-
*
|
|
8533
|
-
* @export
|
|
8534
|
-
* @interface OpenBookingSlotInfo
|
|
8535
|
-
*/
|
|
8536
|
-
export interface OpenBookingSlotInfo {
|
|
8537
|
-
/**
|
|
8538
|
-
* ID du slot
|
|
8539
|
-
* @type {string}
|
|
8540
|
-
* @memberof OpenBookingSlotInfo
|
|
8541
|
-
*/
|
|
8542
|
-
'id': string;
|
|
8543
|
-
/**
|
|
8544
|
-
* Date de début ISO
|
|
8545
|
-
* @type {string}
|
|
8546
|
-
* @memberof OpenBookingSlotInfo
|
|
8547
|
-
*/
|
|
8548
|
-
'startDate': string;
|
|
8549
|
-
/**
|
|
8550
|
-
* Date de fin ISO
|
|
8551
|
-
* @type {string}
|
|
8552
|
-
* @memberof OpenBookingSlotInfo
|
|
8553
|
-
*/
|
|
8554
|
-
'endDate': string;
|
|
8555
|
-
}
|
|
8556
8550
|
/**
|
|
8557
8551
|
*
|
|
8558
8552
|
* @export
|
package/dist/esm/api.js
CHANGED
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
|
@@ -6,13 +6,15 @@
|
|
|
6
6
|
Name | Type | Description | Notes
|
|
7
7
|
------------ | ------------- | ------------- | -------------
|
|
8
8
|
**slotIds** | **Array<string>** | ID du créneau à réserver | [default to undefined]
|
|
9
|
+
**players** | [**Array<PlayerWithPaymentMethod>**](PlayerWithPaymentMethod.md) | Liste de tous les joueurs initiaux avec leurs méthodes de paiement (INCLUT LE CRÉATEUR) | [optional] [default to undefined]
|
|
10
|
+
**isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous les joueurs initiaux | [optional] [default to undefined]
|
|
9
11
|
**paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
|
|
10
12
|
**useDefaultPaymentMethod** | **boolean** | Indique si l\'utilisateur veut utiliser sa méthode de paiement par défaut | [optional] [default to undefined]
|
|
11
13
|
**creditToUseInCents** | **number** | Crédit à utiliser en centimes | [optional] [default to undefined]
|
|
12
14
|
**maxPlayers** | **number** | Nombre maximal de joueurs souhaités (incluant le créateur) | [default to undefined]
|
|
13
15
|
**description** | **string** | Description de la réservation ouverte | [optional] [default to undefined]
|
|
14
16
|
**minLevel** | **string** | Niveau minimal souhaité pour rejoindre | [optional] [default to undefined]
|
|
15
|
-
**initialPlayerIds** | **Array<string>** |
|
|
17
|
+
**initialPlayerIds** | **Array<string>** | | [optional] [default to undefined]
|
|
16
18
|
|
|
17
19
|
## Example
|
|
18
20
|
|
|
@@ -21,6 +23,8 @@ import { CreateOpenBookingRequest } from '@tennac-booking/sdk';
|
|
|
21
23
|
|
|
22
24
|
const instance: CreateOpenBookingRequest = {
|
|
23
25
|
slotIds,
|
|
26
|
+
players,
|
|
27
|
+
isCreatorPayingAll,
|
|
24
28
|
paymentMethod,
|
|
25
29
|
useDefaultPaymentMethod,
|
|
26
30
|
creditToUseInCents,
|
package/docs/OpenBookingInfo.md
CHANGED
|
@@ -11,7 +11,8 @@ Name | Type | Description | Notes
|
|
|
11
11
|
**players** | [**Array<OpenBookingPlayerInfo>**](OpenBookingPlayerInfo.md) | Liste des joueurs avec leurs infos | [default to undefined]
|
|
12
12
|
**status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
|
|
13
13
|
**totalPrice** | **number** | Prix total en euros | [default to undefined]
|
|
14
|
-
**
|
|
14
|
+
**startDate** | **string** | Date de début du premier créneau | [default to undefined]
|
|
15
|
+
**endDate** | **string** | Date de fin du dernier créneau | [default to undefined]
|
|
15
16
|
**isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous | [default to undefined]
|
|
16
17
|
**createdAt** | **string** | Date de création | [default to undefined]
|
|
17
18
|
**updatedAt** | **string** | Date de mise à jour | [default to undefined]
|
|
@@ -34,7 +35,8 @@ const instance: OpenBookingInfo = {
|
|
|
34
35
|
players,
|
|
35
36
|
status,
|
|
36
37
|
totalPrice,
|
|
37
|
-
|
|
38
|
+
startDate,
|
|
39
|
+
endDate,
|
|
38
40
|
isCreatorPayingAll,
|
|
39
41
|
createdAt,
|
|
40
42
|
updatedAt,
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# OpenBookingSlotInfo
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
## Properties
|
|
5
|
-
|
|
6
|
-
Name | Type | Description | Notes
|
|
7
|
-
------------ | ------------- | ------------- | -------------
|
|
8
|
-
**id** | **string** | ID du slot | [default to undefined]
|
|
9
|
-
**startDate** | **string** | Date de début ISO | [default to undefined]
|
|
10
|
-
**endDate** | **string** | Date de fin ISO | [default to undefined]
|
|
11
|
-
|
|
12
|
-
## Example
|
|
13
|
-
|
|
14
|
-
```typescript
|
|
15
|
-
import { OpenBookingSlotInfo } from '@tennac-booking/sdk';
|
|
16
|
-
|
|
17
|
-
const instance: OpenBookingSlotInfo = {
|
|
18
|
-
id,
|
|
19
|
-
startDate,
|
|
20
|
-
endDate,
|
|
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)
|