@tennac-booking/sdk 1.0.206 → 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 +63 -33
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +63 -33
- 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 +63 -33
- 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/BookingPopulated.md +1 -1
- package/docs/CreateOpenBookingRequest.md +5 -1
- package/docs/IUserAttributes.md +4 -0
- package/docs/OpenBookingInfo.md +4 -2
- package/docs/StaffUserProfileResponse.md +4 -0
- package/docs/UserProfileResponse.md +4 -0
- 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).
|
|
@@ -790,11 +790,11 @@ export interface BookingPopulated {
|
|
|
790
790
|
*/
|
|
791
791
|
'creator': UserInfo;
|
|
792
792
|
/**
|
|
793
|
-
*
|
|
794
|
-
* @type {SlotInfo}
|
|
793
|
+
* Informations des slots
|
|
794
|
+
* @type {Array<SlotInfo>}
|
|
795
795
|
* @memberof BookingPopulated
|
|
796
796
|
*/
|
|
797
|
-
'slotInfos': SlotInfo
|
|
797
|
+
'slotInfos': Array<SlotInfo>;
|
|
798
798
|
/**
|
|
799
799
|
*
|
|
800
800
|
* @type {Array<UserInfo>}
|
|
@@ -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
|
}
|
|
@@ -7062,6 +7075,18 @@ export interface IUserAttributes {
|
|
|
7062
7075
|
* @memberof IUserAttributes
|
|
7063
7076
|
*/
|
|
7064
7077
|
'lastName': string;
|
|
7078
|
+
/**
|
|
7079
|
+
*
|
|
7080
|
+
* @type {string}
|
|
7081
|
+
* @memberof IUserAttributes
|
|
7082
|
+
*/
|
|
7083
|
+
'firstNameNormalized'?: string;
|
|
7084
|
+
/**
|
|
7085
|
+
*
|
|
7086
|
+
* @type {string}
|
|
7087
|
+
* @memberof IUserAttributes
|
|
7088
|
+
*/
|
|
7089
|
+
'lastNameNormalized'?: string;
|
|
7065
7090
|
/**
|
|
7066
7091
|
*
|
|
7067
7092
|
* @type {string}
|
|
@@ -8559,11 +8584,17 @@ export interface OpenBookingInfo {
|
|
|
8559
8584
|
*/
|
|
8560
8585
|
'totalPrice': number;
|
|
8561
8586
|
/**
|
|
8562
|
-
*
|
|
8563
|
-
* @type {
|
|
8587
|
+
* Date de début du premier créneau
|
|
8588
|
+
* @type {string}
|
|
8564
8589
|
* @memberof OpenBookingInfo
|
|
8565
8590
|
*/
|
|
8566
|
-
'
|
|
8591
|
+
'startDate': string;
|
|
8592
|
+
/**
|
|
8593
|
+
* Date de fin du dernier créneau
|
|
8594
|
+
* @type {string}
|
|
8595
|
+
* @memberof OpenBookingInfo
|
|
8596
|
+
*/
|
|
8597
|
+
'endDate': string;
|
|
8567
8598
|
/**
|
|
8568
8599
|
* Indique si le créateur paie pour tous
|
|
8569
8600
|
* @type {boolean}
|
|
@@ -8652,31 +8683,6 @@ export interface OpenBookingPlayerInfo {
|
|
|
8652
8683
|
*/
|
|
8653
8684
|
'profilePicture'?: string;
|
|
8654
8685
|
}
|
|
8655
|
-
/**
|
|
8656
|
-
*
|
|
8657
|
-
* @export
|
|
8658
|
-
* @interface OpenBookingSlotInfo
|
|
8659
|
-
*/
|
|
8660
|
-
export interface OpenBookingSlotInfo {
|
|
8661
|
-
/**
|
|
8662
|
-
* ID du slot
|
|
8663
|
-
* @type {string}
|
|
8664
|
-
* @memberof OpenBookingSlotInfo
|
|
8665
|
-
*/
|
|
8666
|
-
'id': string;
|
|
8667
|
-
/**
|
|
8668
|
-
* Date de début ISO
|
|
8669
|
-
* @type {string}
|
|
8670
|
-
* @memberof OpenBookingSlotInfo
|
|
8671
|
-
*/
|
|
8672
|
-
'startDate': string;
|
|
8673
|
-
/**
|
|
8674
|
-
* Date de fin ISO
|
|
8675
|
-
* @type {string}
|
|
8676
|
-
* @memberof OpenBookingSlotInfo
|
|
8677
|
-
*/
|
|
8678
|
-
'endDate': string;
|
|
8679
|
-
}
|
|
8680
8686
|
/**
|
|
8681
8687
|
*
|
|
8682
8688
|
* @export
|
|
@@ -11729,6 +11735,18 @@ export interface StaffUserProfileResponse {
|
|
|
11729
11735
|
* @memberof StaffUserProfileResponse
|
|
11730
11736
|
*/
|
|
11731
11737
|
'lastName': string;
|
|
11738
|
+
/**
|
|
11739
|
+
*
|
|
11740
|
+
* @type {string}
|
|
11741
|
+
* @memberof StaffUserProfileResponse
|
|
11742
|
+
*/
|
|
11743
|
+
'firstNameNormalized'?: string;
|
|
11744
|
+
/**
|
|
11745
|
+
*
|
|
11746
|
+
* @type {string}
|
|
11747
|
+
* @memberof StaffUserProfileResponse
|
|
11748
|
+
*/
|
|
11749
|
+
'lastNameNormalized'?: string;
|
|
11732
11750
|
/**
|
|
11733
11751
|
*
|
|
11734
11752
|
* @type {string}
|
|
@@ -13961,6 +13979,18 @@ export interface UserProfileResponse {
|
|
|
13961
13979
|
* @memberof UserProfileResponse
|
|
13962
13980
|
*/
|
|
13963
13981
|
'lastName': string;
|
|
13982
|
+
/**
|
|
13983
|
+
*
|
|
13984
|
+
* @type {string}
|
|
13985
|
+
* @memberof UserProfileResponse
|
|
13986
|
+
*/
|
|
13987
|
+
'firstNameNormalized'?: string;
|
|
13988
|
+
/**
|
|
13989
|
+
*
|
|
13990
|
+
* @type {string}
|
|
13991
|
+
* @memberof UserProfileResponse
|
|
13992
|
+
*/
|
|
13993
|
+
'lastNameNormalized'?: string;
|
|
13964
13994
|
/**
|
|
13965
13995
|
*
|
|
13966
13996
|
* @type {string}
|
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).
|
|
@@ -765,11 +765,11 @@ export interface BookingPopulated {
|
|
|
765
765
|
*/
|
|
766
766
|
'creator': UserInfo;
|
|
767
767
|
/**
|
|
768
|
-
*
|
|
769
|
-
* @type {SlotInfo}
|
|
768
|
+
* Informations des slots
|
|
769
|
+
* @type {Array<SlotInfo>}
|
|
770
770
|
* @memberof BookingPopulated
|
|
771
771
|
*/
|
|
772
|
-
'slotInfos': SlotInfo
|
|
772
|
+
'slotInfos': Array<SlotInfo>;
|
|
773
773
|
/**
|
|
774
774
|
*
|
|
775
775
|
* @type {Array<UserInfo>}
|
|
@@ -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
|
}
|
|
@@ -6951,6 +6964,18 @@ export interface IUserAttributes {
|
|
|
6951
6964
|
* @memberof IUserAttributes
|
|
6952
6965
|
*/
|
|
6953
6966
|
'lastName': string;
|
|
6967
|
+
/**
|
|
6968
|
+
*
|
|
6969
|
+
* @type {string}
|
|
6970
|
+
* @memberof IUserAttributes
|
|
6971
|
+
*/
|
|
6972
|
+
'firstNameNormalized'?: string;
|
|
6973
|
+
/**
|
|
6974
|
+
*
|
|
6975
|
+
* @type {string}
|
|
6976
|
+
* @memberof IUserAttributes
|
|
6977
|
+
*/
|
|
6978
|
+
'lastNameNormalized'?: string;
|
|
6954
6979
|
/**
|
|
6955
6980
|
*
|
|
6956
6981
|
* @type {string}
|
|
@@ -8425,11 +8450,17 @@ export interface OpenBookingInfo {
|
|
|
8425
8450
|
*/
|
|
8426
8451
|
'totalPrice': number;
|
|
8427
8452
|
/**
|
|
8428
|
-
*
|
|
8429
|
-
* @type {
|
|
8453
|
+
* Date de début du premier créneau
|
|
8454
|
+
* @type {string}
|
|
8430
8455
|
* @memberof OpenBookingInfo
|
|
8431
8456
|
*/
|
|
8432
|
-
'
|
|
8457
|
+
'startDate': string;
|
|
8458
|
+
/**
|
|
8459
|
+
* Date de fin du dernier créneau
|
|
8460
|
+
* @type {string}
|
|
8461
|
+
* @memberof OpenBookingInfo
|
|
8462
|
+
*/
|
|
8463
|
+
'endDate': string;
|
|
8433
8464
|
/**
|
|
8434
8465
|
* Indique si le créateur paie pour tous
|
|
8435
8466
|
* @type {boolean}
|
|
@@ -8516,31 +8547,6 @@ export interface OpenBookingPlayerInfo {
|
|
|
8516
8547
|
*/
|
|
8517
8548
|
'profilePicture'?: string;
|
|
8518
8549
|
}
|
|
8519
|
-
/**
|
|
8520
|
-
*
|
|
8521
|
-
* @export
|
|
8522
|
-
* @interface OpenBookingSlotInfo
|
|
8523
|
-
*/
|
|
8524
|
-
export interface OpenBookingSlotInfo {
|
|
8525
|
-
/**
|
|
8526
|
-
* ID du slot
|
|
8527
|
-
* @type {string}
|
|
8528
|
-
* @memberof OpenBookingSlotInfo
|
|
8529
|
-
*/
|
|
8530
|
-
'id': string;
|
|
8531
|
-
/**
|
|
8532
|
-
* Date de début ISO
|
|
8533
|
-
* @type {string}
|
|
8534
|
-
* @memberof OpenBookingSlotInfo
|
|
8535
|
-
*/
|
|
8536
|
-
'startDate': string;
|
|
8537
|
-
/**
|
|
8538
|
-
* Date de fin ISO
|
|
8539
|
-
* @type {string}
|
|
8540
|
-
* @memberof OpenBookingSlotInfo
|
|
8541
|
-
*/
|
|
8542
|
-
'endDate': string;
|
|
8543
|
-
}
|
|
8544
8550
|
/**
|
|
8545
8551
|
*
|
|
8546
8552
|
* @export
|
|
@@ -11529,6 +11535,18 @@ export interface StaffUserProfileResponse {
|
|
|
11529
11535
|
* @memberof StaffUserProfileResponse
|
|
11530
11536
|
*/
|
|
11531
11537
|
'lastName': string;
|
|
11538
|
+
/**
|
|
11539
|
+
*
|
|
11540
|
+
* @type {string}
|
|
11541
|
+
* @memberof StaffUserProfileResponse
|
|
11542
|
+
*/
|
|
11543
|
+
'firstNameNormalized'?: string;
|
|
11544
|
+
/**
|
|
11545
|
+
*
|
|
11546
|
+
* @type {string}
|
|
11547
|
+
* @memberof StaffUserProfileResponse
|
|
11548
|
+
*/
|
|
11549
|
+
'lastNameNormalized'?: string;
|
|
11532
11550
|
/**
|
|
11533
11551
|
*
|
|
11534
11552
|
* @type {string}
|
|
@@ -13719,6 +13737,18 @@ export interface UserProfileResponse {
|
|
|
13719
13737
|
* @memberof UserProfileResponse
|
|
13720
13738
|
*/
|
|
13721
13739
|
'lastName': string;
|
|
13740
|
+
/**
|
|
13741
|
+
*
|
|
13742
|
+
* @type {string}
|
|
13743
|
+
* @memberof UserProfileResponse
|
|
13744
|
+
*/
|
|
13745
|
+
'firstNameNormalized'?: string;
|
|
13746
|
+
/**
|
|
13747
|
+
*
|
|
13748
|
+
* @type {string}
|
|
13749
|
+
* @memberof UserProfileResponse
|
|
13750
|
+
*/
|
|
13751
|
+
'lastNameNormalized'?: string;
|
|
13722
13752
|
/**
|
|
13723
13753
|
*
|
|
13724
13754
|
* @type {string}
|
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).
|
|
@@ -765,11 +765,11 @@ export interface BookingPopulated {
|
|
|
765
765
|
*/
|
|
766
766
|
'creator': UserInfo;
|
|
767
767
|
/**
|
|
768
|
-
*
|
|
769
|
-
* @type {SlotInfo}
|
|
768
|
+
* Informations des slots
|
|
769
|
+
* @type {Array<SlotInfo>}
|
|
770
770
|
* @memberof BookingPopulated
|
|
771
771
|
*/
|
|
772
|
-
'slotInfos': SlotInfo
|
|
772
|
+
'slotInfos': Array<SlotInfo>;
|
|
773
773
|
/**
|
|
774
774
|
*
|
|
775
775
|
* @type {Array<UserInfo>}
|
|
@@ -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
|
}
|
|
@@ -6951,6 +6964,18 @@ export interface IUserAttributes {
|
|
|
6951
6964
|
* @memberof IUserAttributes
|
|
6952
6965
|
*/
|
|
6953
6966
|
'lastName': string;
|
|
6967
|
+
/**
|
|
6968
|
+
*
|
|
6969
|
+
* @type {string}
|
|
6970
|
+
* @memberof IUserAttributes
|
|
6971
|
+
*/
|
|
6972
|
+
'firstNameNormalized'?: string;
|
|
6973
|
+
/**
|
|
6974
|
+
*
|
|
6975
|
+
* @type {string}
|
|
6976
|
+
* @memberof IUserAttributes
|
|
6977
|
+
*/
|
|
6978
|
+
'lastNameNormalized'?: string;
|
|
6954
6979
|
/**
|
|
6955
6980
|
*
|
|
6956
6981
|
* @type {string}
|
|
@@ -8425,11 +8450,17 @@ export interface OpenBookingInfo {
|
|
|
8425
8450
|
*/
|
|
8426
8451
|
'totalPrice': number;
|
|
8427
8452
|
/**
|
|
8428
|
-
*
|
|
8429
|
-
* @type {
|
|
8453
|
+
* Date de début du premier créneau
|
|
8454
|
+
* @type {string}
|
|
8430
8455
|
* @memberof OpenBookingInfo
|
|
8431
8456
|
*/
|
|
8432
|
-
'
|
|
8457
|
+
'startDate': string;
|
|
8458
|
+
/**
|
|
8459
|
+
* Date de fin du dernier créneau
|
|
8460
|
+
* @type {string}
|
|
8461
|
+
* @memberof OpenBookingInfo
|
|
8462
|
+
*/
|
|
8463
|
+
'endDate': string;
|
|
8433
8464
|
/**
|
|
8434
8465
|
* Indique si le créateur paie pour tous
|
|
8435
8466
|
* @type {boolean}
|
|
@@ -8516,31 +8547,6 @@ export interface OpenBookingPlayerInfo {
|
|
|
8516
8547
|
*/
|
|
8517
8548
|
'profilePicture'?: string;
|
|
8518
8549
|
}
|
|
8519
|
-
/**
|
|
8520
|
-
*
|
|
8521
|
-
* @export
|
|
8522
|
-
* @interface OpenBookingSlotInfo
|
|
8523
|
-
*/
|
|
8524
|
-
export interface OpenBookingSlotInfo {
|
|
8525
|
-
/**
|
|
8526
|
-
* ID du slot
|
|
8527
|
-
* @type {string}
|
|
8528
|
-
* @memberof OpenBookingSlotInfo
|
|
8529
|
-
*/
|
|
8530
|
-
'id': string;
|
|
8531
|
-
/**
|
|
8532
|
-
* Date de début ISO
|
|
8533
|
-
* @type {string}
|
|
8534
|
-
* @memberof OpenBookingSlotInfo
|
|
8535
|
-
*/
|
|
8536
|
-
'startDate': string;
|
|
8537
|
-
/**
|
|
8538
|
-
* Date de fin ISO
|
|
8539
|
-
* @type {string}
|
|
8540
|
-
* @memberof OpenBookingSlotInfo
|
|
8541
|
-
*/
|
|
8542
|
-
'endDate': string;
|
|
8543
|
-
}
|
|
8544
8550
|
/**
|
|
8545
8551
|
*
|
|
8546
8552
|
* @export
|
|
@@ -11529,6 +11535,18 @@ export interface StaffUserProfileResponse {
|
|
|
11529
11535
|
* @memberof StaffUserProfileResponse
|
|
11530
11536
|
*/
|
|
11531
11537
|
'lastName': string;
|
|
11538
|
+
/**
|
|
11539
|
+
*
|
|
11540
|
+
* @type {string}
|
|
11541
|
+
* @memberof StaffUserProfileResponse
|
|
11542
|
+
*/
|
|
11543
|
+
'firstNameNormalized'?: string;
|
|
11544
|
+
/**
|
|
11545
|
+
*
|
|
11546
|
+
* @type {string}
|
|
11547
|
+
* @memberof StaffUserProfileResponse
|
|
11548
|
+
*/
|
|
11549
|
+
'lastNameNormalized'?: string;
|
|
11532
11550
|
/**
|
|
11533
11551
|
*
|
|
11534
11552
|
* @type {string}
|
|
@@ -13719,6 +13737,18 @@ export interface UserProfileResponse {
|
|
|
13719
13737
|
* @memberof UserProfileResponse
|
|
13720
13738
|
*/
|
|
13721
13739
|
'lastName': string;
|
|
13740
|
+
/**
|
|
13741
|
+
*
|
|
13742
|
+
* @type {string}
|
|
13743
|
+
* @memberof UserProfileResponse
|
|
13744
|
+
*/
|
|
13745
|
+
'firstNameNormalized'?: string;
|
|
13746
|
+
/**
|
|
13747
|
+
*
|
|
13748
|
+
* @type {string}
|
|
13749
|
+
* @memberof UserProfileResponse
|
|
13750
|
+
*/
|
|
13751
|
+
'lastNameNormalized'?: string;
|
|
13722
13752
|
/**
|
|
13723
13753
|
*
|
|
13724
13754
|
* @type {string}
|
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
package/docs/BookingPopulated.md
CHANGED
|
@@ -8,7 +8,7 @@ Name | Type | Description | Notes
|
|
|
8
8
|
**id** | **string** | ID de la réservation | [default to undefined]
|
|
9
9
|
**clubId** | **string** | | [default to undefined]
|
|
10
10
|
**creator** | [**UserInfo**](UserInfo.md) | | [default to undefined]
|
|
11
|
-
**slotInfos** | [**SlotInfo
|
|
11
|
+
**slotInfos** | [**Array<SlotInfo>**](SlotInfo.md) | Informations des slots | [default to undefined]
|
|
12
12
|
**players** | [**Array<UserInfo>**](UserInfo.md) | | [default to undefined]
|
|
13
13
|
**initialPlayers** | [**Array<UserInfo>**](UserInfo.md) | Joueurs inclus à la création de la réservation (pour les créneaux ouverts) | [optional] [default to undefined]
|
|
14
14
|
**paymentByPlayers** | [**Array<PaymentByPlayerInfo>**](PaymentByPlayerInfo.md) | Statut des paiements par joueur | [default to undefined]
|
|
@@ -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/IUserAttributes.md
CHANGED
|
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**googleId** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**firstName** | **string** | | [default to undefined]
|
|
11
11
|
**lastName** | **string** | | [default to undefined]
|
|
12
|
+
**firstNameNormalized** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**lastNameNormalized** | **string** | | [optional] [default to undefined]
|
|
12
14
|
**email** | **string** | | [default to undefined]
|
|
13
15
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
14
16
|
**location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
|
|
@@ -49,6 +51,8 @@ const instance: IUserAttributes = {
|
|
|
49
51
|
googleId,
|
|
50
52
|
firstName,
|
|
51
53
|
lastName,
|
|
54
|
+
firstNameNormalized,
|
|
55
|
+
lastNameNormalized,
|
|
52
56
|
email,
|
|
53
57
|
gender,
|
|
54
58
|
location,
|
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,
|
|
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**googleId** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**firstName** | **string** | | [default to undefined]
|
|
11
11
|
**lastName** | **string** | | [default to undefined]
|
|
12
|
+
**firstNameNormalized** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**lastNameNormalized** | **string** | | [optional] [default to undefined]
|
|
12
14
|
**email** | **string** | | [default to undefined]
|
|
13
15
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
14
16
|
**location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
|
|
@@ -51,6 +53,8 @@ const instance: StaffUserProfileResponse = {
|
|
|
51
53
|
googleId,
|
|
52
54
|
firstName,
|
|
53
55
|
lastName,
|
|
56
|
+
firstNameNormalized,
|
|
57
|
+
lastNameNormalized,
|
|
54
58
|
email,
|
|
55
59
|
gender,
|
|
56
60
|
location,
|
|
@@ -9,6 +9,8 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**googleId** | **string** | | [optional] [default to undefined]
|
|
10
10
|
**firstName** | **string** | | [default to undefined]
|
|
11
11
|
**lastName** | **string** | | [default to undefined]
|
|
12
|
+
**firstNameNormalized** | **string** | | [optional] [default to undefined]
|
|
13
|
+
**lastNameNormalized** | **string** | | [optional] [default to undefined]
|
|
12
14
|
**email** | **string** | | [default to undefined]
|
|
13
15
|
**gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
|
|
14
16
|
**location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
|
|
@@ -62,6 +64,8 @@ const instance: UserProfileResponse = {
|
|
|
62
64
|
googleId,
|
|
63
65
|
firstName,
|
|
64
66
|
lastName,
|
|
67
|
+
firstNameNormalized,
|
|
68
|
+
lastNameNormalized,
|
|
65
69
|
email,
|
|
66
70
|
gender,
|
|
67
71
|
location,
|
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)
|