@tennac-booking/sdk 1.0.99 → 1.0.100

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.99
1
+ ## @tennac-booking/sdk@1.0.100
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.99 --save
39
+ npm install @tennac-booking/sdk@1.0.100 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -71,7 +71,7 @@ Class | Method | HTTP request | Description
71
71
  *ClientAccountsApi* | [**getMyActiveSubscription**](docs/ClientAccountsApi.md#getmyactivesubscription) | **GET** /client-accounts/me/subscription |
72
72
  *ClientAccountsApi* | [**getMyClientAccount**](docs/ClientAccountsApi.md#getmyclientaccount) | **GET** /client-accounts/me |
73
73
  *ClientAccountsApi* | [**getSubscriptionsHistory**](docs/ClientAccountsApi.md#getsubscriptionshistory) | **GET** /client-accounts/me/subscriptions-history |
74
- *ClientAccountsApi* | [**listAvailablePrices**](docs/ClientAccountsApi.md#listavailableprices) | **GET** /client-accounts/available-prices |
74
+ *ClientAccountsApi* | [**listAvailablePrices**](docs/ClientAccountsApi.md#listavailableprices) | **GET** /client-accounts/plans/available-prices |
75
75
  *ClientAccountsApi* | [**onboardClientAccount**](docs/ClientAccountsApi.md#onboardclientaccount) | **POST** /client-accounts/onboarding |
76
76
  *ClientAccountsApi* | [**registerClientUser**](docs/ClientAccountsApi.md#registerclientuser) | **POST** /client-accounts/register-client-user |
77
77
  *ClubAnalyticsApi* | [**getMostLikedClub**](docs/ClubAnalyticsApi.md#getmostlikedclub) | **GET** /api/club-analytics/most-liked-clubs |
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.99
7
+ * The version of the OpenAPI document: 1.0.100
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1370,13 +1370,13 @@ export interface ClientAccountOnboardingRequest {
1370
1370
  * @type {string}
1371
1371
  * @memberof ClientAccountOnboardingRequest
1372
1372
  */
1373
- 'businessType': ClientAccountOnboardingRequestBusinessTypeEnum;
1373
+ 'businessType'?: ClientAccountOnboardingRequestBusinessTypeEnum;
1374
1374
  /**
1375
1375
  *
1376
1376
  * @type {string}
1377
1377
  * @memberof ClientAccountOnboardingRequest
1378
1378
  */
1379
- 'subscriptionType': ClientAccountOnboardingRequestSubscriptionTypeEnum;
1379
+ 'subscriptionType'?: ClientAccountOnboardingRequestSubscriptionTypeEnum;
1380
1380
  /**
1381
1381
  *
1382
1382
  * @type {boolean}
@@ -1985,6 +1985,12 @@ export interface ClubResponse {
1985
1985
  * @memberof ClubResponse
1986
1986
  */
1987
1987
  'sameTimeBookingsLimit'?: number | null;
1988
+ /**
1989
+ *
1990
+ * @type {number}
1991
+ * @memberof ClubResponse
1992
+ */
1993
+ 'maxSlotsPerBooking'?: number | null;
1988
1994
  /**
1989
1995
  * Limite d\'annulation en heures
1990
1996
  * @type {number}
@@ -4679,6 +4685,12 @@ export interface PartialClubResponse {
4679
4685
  * @memberof PartialClubResponse
4680
4686
  */
4681
4687
  'sameTimeBookingsLimit'?: number;
4688
+ /**
4689
+ *
4690
+ * @type {number}
4691
+ * @memberof PartialClubResponse
4692
+ */
4693
+ 'maxSlotsPerBooking'?: number;
4682
4694
  /**
4683
4695
  * Limite d\'annulation en heures
4684
4696
  * @type {number}
@@ -10557,7 +10569,7 @@ export const ClientAccountsApiAxiosParamCreator = function (configuration?: Conf
10557
10569
  * @throws {RequiredError}
10558
10570
  */
10559
10571
  listAvailablePrices: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
10560
- const localVarPath = `/client-accounts/available-prices`;
10572
+ const localVarPath = `/client-accounts/plans/available-prices`;
10561
10573
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
10562
10574
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10563
10575
  let baseOptions;
package/base.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.99
7
+ * The version of the OpenAPI document: 1.0.100
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.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.99
7
+ * The version of the OpenAPI document: 1.0.100
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.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.99
7
+ * The version of the OpenAPI document: 1.0.100
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.99
5
+ * The version of the OpenAPI document: 1.0.100
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1339,13 +1339,13 @@ export interface ClientAccountOnboardingRequest {
1339
1339
  * @type {string}
1340
1340
  * @memberof ClientAccountOnboardingRequest
1341
1341
  */
1342
- 'businessType': ClientAccountOnboardingRequestBusinessTypeEnum;
1342
+ 'businessType'?: ClientAccountOnboardingRequestBusinessTypeEnum;
1343
1343
  /**
1344
1344
  *
1345
1345
  * @type {string}
1346
1346
  * @memberof ClientAccountOnboardingRequest
1347
1347
  */
1348
- 'subscriptionType': ClientAccountOnboardingRequestSubscriptionTypeEnum;
1348
+ 'subscriptionType'?: ClientAccountOnboardingRequestSubscriptionTypeEnum;
1349
1349
  /**
1350
1350
  *
1351
1351
  * @type {boolean}
@@ -1950,6 +1950,12 @@ export interface ClubResponse {
1950
1950
  * @memberof ClubResponse
1951
1951
  */
1952
1952
  'sameTimeBookingsLimit'?: number | null;
1953
+ /**
1954
+ *
1955
+ * @type {number}
1956
+ * @memberof ClubResponse
1957
+ */
1958
+ 'maxSlotsPerBooking'?: number | null;
1953
1959
  /**
1954
1960
  * Limite d\'annulation en heures
1955
1961
  * @type {number}
@@ -4603,6 +4609,12 @@ export interface PartialClubResponse {
4603
4609
  * @memberof PartialClubResponse
4604
4610
  */
4605
4611
  'sameTimeBookingsLimit'?: number;
4612
+ /**
4613
+ *
4614
+ * @type {number}
4615
+ * @memberof PartialClubResponse
4616
+ */
4617
+ 'maxSlotsPerBooking'?: number;
4606
4618
  /**
4607
4619
  * Limite d\'annulation en heures
4608
4620
  * @type {number}
package/dist/api.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.99
8
+ * The version of the OpenAPI document: 1.0.100
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1724,7 +1724,7 @@ const ClientAccountsApiAxiosParamCreator = function (configuration) {
1724
1724
  * @throws {RequiredError}
1725
1725
  */
1726
1726
  listAvailablePrices: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1727
- const localVarPath = `/client-accounts/available-prices`;
1727
+ const localVarPath = `/client-accounts/plans/available-prices`;
1728
1728
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1729
1729
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
1730
1730
  let baseOptions;
package/dist/base.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.99
5
+ * The version of the OpenAPI document: 1.0.100
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/base.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.99
8
+ * The version of the OpenAPI document: 1.0.100
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.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.99
5
+ * The version of the OpenAPI document: 1.0.100
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/common.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.99
8
+ * The version of the OpenAPI document: 1.0.100
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.99
5
+ * The version of the OpenAPI document: 1.0.100
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.99
8
+ * The version of the OpenAPI document: 1.0.100
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
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.99
5
+ * The version of the OpenAPI document: 1.0.100
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1339,13 +1339,13 @@ export interface ClientAccountOnboardingRequest {
1339
1339
  * @type {string}
1340
1340
  * @memberof ClientAccountOnboardingRequest
1341
1341
  */
1342
- 'businessType': ClientAccountOnboardingRequestBusinessTypeEnum;
1342
+ 'businessType'?: ClientAccountOnboardingRequestBusinessTypeEnum;
1343
1343
  /**
1344
1344
  *
1345
1345
  * @type {string}
1346
1346
  * @memberof ClientAccountOnboardingRequest
1347
1347
  */
1348
- 'subscriptionType': ClientAccountOnboardingRequestSubscriptionTypeEnum;
1348
+ 'subscriptionType'?: ClientAccountOnboardingRequestSubscriptionTypeEnum;
1349
1349
  /**
1350
1350
  *
1351
1351
  * @type {boolean}
@@ -1950,6 +1950,12 @@ export interface ClubResponse {
1950
1950
  * @memberof ClubResponse
1951
1951
  */
1952
1952
  'sameTimeBookingsLimit'?: number | null;
1953
+ /**
1954
+ *
1955
+ * @type {number}
1956
+ * @memberof ClubResponse
1957
+ */
1958
+ 'maxSlotsPerBooking'?: number | null;
1953
1959
  /**
1954
1960
  * Limite d\'annulation en heures
1955
1961
  * @type {number}
@@ -4603,6 +4609,12 @@ export interface PartialClubResponse {
4603
4609
  * @memberof PartialClubResponse
4604
4610
  */
4605
4611
  'sameTimeBookingsLimit'?: number;
4612
+ /**
4613
+ *
4614
+ * @type {number}
4615
+ * @memberof PartialClubResponse
4616
+ */
4617
+ 'maxSlotsPerBooking'?: number;
4606
4618
  /**
4607
4619
  * Limite d\'annulation en heures
4608
4620
  * @type {number}
package/dist/esm/api.js 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.99
7
+ * The version of the OpenAPI document: 1.0.100
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1698,7 +1698,7 @@ export const ClientAccountsApiAxiosParamCreator = function (configuration) {
1698
1698
  * @throws {RequiredError}
1699
1699
  */
1700
1700
  listAvailablePrices: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
1701
- const localVarPath = `/client-accounts/available-prices`;
1701
+ const localVarPath = `/client-accounts/plans/available-prices`;
1702
1702
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
1703
1703
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1704
1704
  let baseOptions;
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.99
5
+ * The version of the OpenAPI document: 1.0.100
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js 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.99
7
+ * The version of the OpenAPI document: 1.0.100
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.99
5
+ * The version of the OpenAPI document: 1.0.100
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.99
7
+ * The version of the OpenAPI document: 1.0.100
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.99
5
+ * The version of the OpenAPI document: 1.0.100
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.99
7
+ * The version of the OpenAPI document: 1.0.100
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.99
5
+ * The version of the OpenAPI document: 1.0.100
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js 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.99
7
+ * The version of the OpenAPI document: 1.0.100
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.99
5
+ * The version of the OpenAPI document: 1.0.100
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.99
8
+ * The version of the OpenAPI document: 1.0.100
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -7,8 +7,8 @@ Types pour les requêtes/réponses
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **businessName** | **string** | | [default to undefined]
10
- **businessType** | **string** | | [default to undefined]
11
- **subscriptionType** | **string** | | [default to undefined]
10
+ **businessType** | **string** | | [optional] [default to undefined]
11
+ **subscriptionType** | **string** | | [optional] [default to undefined]
12
12
  **isPublicOrganization** | **boolean** | | [optional] [default to undefined]
13
13
  **priceId** | **string** | | [default to undefined]
14
14
 
@@ -9,7 +9,7 @@ All URIs are relative to *http://localhost*
9
9
  |[**getMyActiveSubscription**](#getmyactivesubscription) | **GET** /client-accounts/me/subscription | |
10
10
  |[**getMyClientAccount**](#getmyclientaccount) | **GET** /client-accounts/me | |
11
11
  |[**getSubscriptionsHistory**](#getsubscriptionshistory) | **GET** /client-accounts/me/subscriptions-history | |
12
- |[**listAvailablePrices**](#listavailableprices) | **GET** /client-accounts/available-prices | |
12
+ |[**listAvailablePrices**](#listavailableprices) | **GET** /client-accounts/plans/available-prices | |
13
13
  |[**onboardClientAccount**](#onboardclientaccount) | **POST** /client-accounts/onboarding | |
14
14
  |[**registerClientUser**](#registerclientuser) | **POST** /client-accounts/register-client-user | |
15
15
 
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
21
21
  **sports** | **Array&lt;string&gt;** | Liste des sports proposés par le club (identifiés par leur clé) | [optional] [default to undefined]
22
22
  **allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
23
23
  **sameTimeBookingsLimit** | **number** | Limite de réservations simultanées (même créneau) | [optional] [default to undefined]
24
+ **maxSlotsPerBooking** | **number** | | [optional] [default to undefined]
24
25
  **cancellationLimitHours** | **number** | Limite d\&#39;annulation en heures | [optional] [default to undefined]
25
26
  **maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [optional] [default to undefined]
26
27
  **createdAt** | [**ClubResponseCreatedAt**](ClubResponseCreatedAt.md) | | [optional] [default to undefined]
@@ -48,6 +49,7 @@ const instance: ClubResponse = {
48
49
  sports,
49
50
  allowMultipleBookingsAtTheSameTime,
50
51
  sameTimeBookingsLimit,
52
+ maxSlotsPerBooking,
51
53
  cancellationLimitHours,
52
54
  maxWeeklyBookings,
53
55
  createdAt,
@@ -22,6 +22,7 @@ Name | Type | Description | Notes
22
22
  **sports** | **Array&lt;string&gt;** | Liste des sports proposés par le club (identifiés par leur clé) | [optional] [default to undefined]
23
23
  **allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [optional] [default to undefined]
24
24
  **sameTimeBookingsLimit** | **number** | Limite de réservations simultanées (même créneau) | [optional] [default to undefined]
25
+ **maxSlotsPerBooking** | **number** | | [optional] [default to undefined]
25
26
  **cancellationLimitHours** | **number** | Limite d\&#39;annulation en heures | [optional] [default to undefined]
26
27
  **maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [optional] [default to undefined]
27
28
  **createdAt** | [**ClubResponseCreatedAt**](ClubResponseCreatedAt.md) | | [optional] [default to undefined]
@@ -49,6 +50,7 @@ const instance: PartialClubResponse = {
49
50
  sports,
50
51
  allowMultipleBookingsAtTheSameTime,
51
52
  sameTimeBookingsLimit,
53
+ maxSlotsPerBooking,
52
54
  cancellationLimitHours,
53
55
  maxWeeklyBookings,
54
56
  createdAt,
package/index.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.99
7
+ * The version of the OpenAPI document: 1.0.100
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tennac-booking/sdk",
3
- "version": "1.0.99",
3
+ "version": "1.0.100",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {