@tennac-booking/sdk 1.0.160 → 1.0.162

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.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.160
5
+ * The version of the OpenAPI document: 1.0.161
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -132,10 +132,10 @@ export interface AgendaBooking {
132
132
  'players': Array<AgendaBookingPlayer>;
133
133
  /**
134
134
  *
135
- * @type {AgendaPaymentStatus}
135
+ * @type {BookingInvoicePaymentStatus}
136
136
  * @memberof AgendaBooking
137
137
  */
138
- 'paymentStatus': AgendaPaymentStatus;
138
+ 'paymentStatus': BookingInvoicePaymentStatus;
139
139
  /**
140
140
  *
141
141
  * @type {Array<AgendaBookingSlot>}
@@ -217,17 +217,6 @@ export interface AgendaBookingSlot {
217
217
  */
218
218
  'isIndoor'?: boolean;
219
219
  }
220
- /**
221
- *
222
- * @export
223
- * @enum {string}
224
- */
225
- export declare const AgendaPaymentStatus: {
226
- readonly Pay: "payé";
227
- readonly NonPay: "non payé";
228
- readonly EnAttente: "en attente";
229
- };
230
- export type AgendaPaymentStatus = typeof AgendaPaymentStatus[keyof typeof AgendaPaymentStatus];
231
220
  /**
232
221
  *
233
222
  * @export
@@ -505,6 +494,23 @@ export interface BookingInfo {
505
494
  */
506
495
  'noShowChargeAmount'?: number;
507
496
  }
497
+ /**
498
+ *
499
+ * @export
500
+ * @enum {string}
501
+ */
502
+ export declare const BookingInvoicePaymentStatus: {
503
+ readonly SetupPending: "setup_pending";
504
+ readonly SetupSuccess: "setup_success";
505
+ readonly Pending: "pending";
506
+ readonly Paid: "paid";
507
+ readonly Failed: "failed";
508
+ readonly Authorized: "authorized";
509
+ readonly Canceled: "canceled";
510
+ readonly Expired: "expired";
511
+ readonly Partial: "partial";
512
+ };
513
+ export type BookingInvoicePaymentStatus = typeof BookingInvoicePaymentStatus[keyof typeof BookingInvoicePaymentStatus];
508
514
  /**
509
515
  *
510
516
  * @export
@@ -1994,16 +2000,16 @@ export interface ClubCustomerSettingsResponse {
1994
2000
  export interface ClubDayInterval {
1995
2001
  /**
1996
2002
  *
1997
- * @type {string}
2003
+ * @type {number}
1998
2004
  * @memberof ClubDayInterval
1999
2005
  */
2000
- 'start': string;
2006
+ 'start': number;
2001
2007
  /**
2002
2008
  *
2003
- * @type {string}
2009
+ * @type {number}
2004
2010
  * @memberof ClubDayInterval
2005
2011
  */
2006
- 'end': string;
2012
+ 'end': number;
2007
2013
  }
2008
2014
  /**
2009
2015
  *
@@ -3141,6 +3147,12 @@ export interface ClubPresentationSettingsResponse {
3141
3147
  * @memberof ClubPresentationSettingsResponse
3142
3148
  */
3143
3149
  'galleryImages': Array<string>;
3150
+ /**
3151
+ *
3152
+ * @type {Array<Sponsor>}
3153
+ * @memberof ClubPresentationSettingsResponse
3154
+ */
3155
+ 'sponsors': Array<Sponsor>;
3144
3156
  }
3145
3157
  /**
3146
3158
  *
@@ -3168,16 +3180,16 @@ export interface ClubPricingPeriodResponse {
3168
3180
  'days': Array<string>;
3169
3181
  /**
3170
3182
  *
3171
- * @type {string}
3183
+ * @type {number}
3172
3184
  * @memberof ClubPricingPeriodResponse
3173
3185
  */
3174
- 'startTime': string;
3186
+ 'startTime': number;
3175
3187
  /**
3176
3188
  *
3177
- * @type {string}
3189
+ * @type {number}
3178
3190
  * @memberof ClubPricingPeriodResponse
3179
3191
  */
3180
- 'endTime': string;
3192
+ 'endTime': number;
3181
3193
  /**
3182
3194
  *
3183
3195
  * @type {number}
@@ -6119,16 +6131,16 @@ export interface HotelAccessSettings {
6119
6131
  'accessCode'?: string | null;
6120
6132
  /**
6121
6133
  *
6122
- * @type {string}
6134
+ * @type {number}
6123
6135
  * @memberof HotelAccessSettings
6124
6136
  */
6125
- 'validFrom'?: string | null;
6137
+ 'validFrom'?: number | null;
6126
6138
  /**
6127
6139
  *
6128
- * @type {string}
6140
+ * @type {number}
6129
6141
  * @memberof HotelAccessSettings
6130
6142
  */
6131
- 'validUntil'?: string | null;
6143
+ 'validUntil'?: number | null;
6132
6144
  }
6133
6145
  /**
6134
6146
  *
@@ -7625,16 +7637,16 @@ export interface PartialHotelAccessSettings {
7625
7637
  'accessCode'?: string;
7626
7638
  /**
7627
7639
  *
7628
- * @type {string}
7640
+ * @type {number}
7629
7641
  * @memberof PartialHotelAccessSettings
7630
7642
  */
7631
- 'validFrom'?: string;
7643
+ 'validFrom'?: number;
7632
7644
  /**
7633
7645
  *
7634
- * @type {string}
7646
+ * @type {number}
7635
7647
  * @memberof PartialHotelAccessSettings
7636
7648
  */
7637
- 'validUntil'?: string;
7649
+ 'validUntil'?: number;
7638
7650
  /**
7639
7651
  *
7640
7652
  * @type {boolean}
@@ -9300,6 +9312,31 @@ export interface SlotInfo {
9300
9312
  */
9301
9313
  'court': CourtInfo;
9302
9314
  }
9315
+ /**
9316
+ *
9317
+ * @export
9318
+ * @interface Sponsor
9319
+ */
9320
+ export interface Sponsor {
9321
+ /**
9322
+ *
9323
+ * @type {string}
9324
+ * @memberof Sponsor
9325
+ */
9326
+ 'name': string;
9327
+ /**
9328
+ *
9329
+ * @type {string}
9330
+ * @memberof Sponsor
9331
+ */
9332
+ 'logo'?: string;
9333
+ /**
9334
+ *
9335
+ * @type {string}
9336
+ * @memberof Sponsor
9337
+ */
9338
+ 'websiteUrl'?: string;
9339
+ }
9303
9340
  /**
9304
9341
  *
9305
9342
  * @export
@@ -10642,6 +10679,12 @@ export interface UpdateClubPresentationSettingsRequest {
10642
10679
  * @memberof UpdateClubPresentationSettingsRequest
10643
10680
  */
10644
10681
  'galleryImages'?: Array<UpdateClubGeneralSettingsRequestLogo>;
10682
+ /**
10683
+ *
10684
+ * @type {Array<Sponsor>}
10685
+ * @memberof UpdateClubPresentationSettingsRequest
10686
+ */
10687
+ 'sponsors'?: Array<Sponsor>;
10645
10688
  }
10646
10689
  /**
10647
10690
  *
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.160
7
+ * The version of the OpenAPI document: 1.0.161
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -26,20 +26,26 @@ import globalAxios from 'axios';
26
26
  import { DUMMY_BASE_URL, assertParamExists, setBearerAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
27
27
  // @ts-ignore
28
28
  import { BASE_PATH, BaseAPI, operationServerMap } from './base';
29
+ export const BookingHistoryPopulatedPerformedByTypeEnum = {
30
+ User: 'user',
31
+ Manager: 'manager',
32
+ System: 'system'
33
+ };
29
34
  /**
30
35
  *
31
36
  * @export
32
37
  * @enum {string}
33
38
  */
34
- export const AgendaPaymentStatus = {
35
- Pay: 'payé',
36
- NonPay: 'non payé',
37
- EnAttente: 'en attente'
38
- };
39
- export const BookingHistoryPopulatedPerformedByTypeEnum = {
40
- User: 'user',
41
- Manager: 'manager',
42
- System: 'system'
39
+ export const BookingInvoicePaymentStatus = {
40
+ SetupPending: 'setup_pending',
41
+ SetupSuccess: 'setup_success',
42
+ Pending: 'pending',
43
+ Paid: 'paid',
44
+ Failed: 'failed',
45
+ Authorized: 'authorized',
46
+ Canceled: 'canceled',
47
+ Expired: 'expired',
48
+ Partial: 'partial'
43
49
  };
44
50
  /**
45
51
  *
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.160
5
+ * The version of the OpenAPI document: 1.0.161
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.160
7
+ * The version of the OpenAPI document: 1.0.161
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.160
5
+ * The version of the OpenAPI document: 1.0.161
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.160
7
+ * The version of the OpenAPI document: 1.0.161
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.160
5
+ * The version of the OpenAPI document: 1.0.161
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.160
7
+ * The version of the OpenAPI document: 1.0.161
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.160
5
+ * The version of the OpenAPI document: 1.0.161
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.160
7
+ * The version of the OpenAPI document: 1.0.161
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.160
5
+ * The version of the OpenAPI document: 1.0.161
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.160
8
+ * The version of the OpenAPI document: 1.0.161
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
9
9
  **status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
10
10
  **creatorName** | **string** | | [default to undefined]
11
11
  **players** | [**Array&lt;AgendaBookingPlayer&gt;**](AgendaBookingPlayer.md) | | [default to undefined]
12
- **paymentStatus** | [**AgendaPaymentStatus**](AgendaPaymentStatus.md) | | [default to undefined]
12
+ **paymentStatus** | [**BookingInvoicePaymentStatus**](BookingInvoicePaymentStatus.md) | | [default to undefined]
13
13
  **slots** | [**Array&lt;AgendaBookingSlot&gt;**](AgendaBookingSlot.md) | | [default to undefined]
14
14
 
15
15
  ## Example
@@ -0,0 +1,24 @@
1
+ # BookingInvoicePaymentStatus
2
+
3
+
4
+ ## Enum
5
+
6
+ * `SetupPending` (value: `'setup_pending'`)
7
+
8
+ * `SetupSuccess` (value: `'setup_success'`)
9
+
10
+ * `Pending` (value: `'pending'`)
11
+
12
+ * `Paid` (value: `'paid'`)
13
+
14
+ * `Failed` (value: `'failed'`)
15
+
16
+ * `Authorized` (value: `'authorized'`)
17
+
18
+ * `Canceled` (value: `'canceled'`)
19
+
20
+ * `Expired` (value: `'expired'`)
21
+
22
+ * `Partial` (value: `'partial'`)
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)
@@ -5,8 +5,8 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **start** | **string** | | [default to undefined]
9
- **end** | **string** | | [default to undefined]
8
+ **start** | **number** | | [default to undefined]
9
+ **end** | **number** | | [default to undefined]
10
10
 
11
11
  ## Example
12
12
 
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **tags** | **Array&lt;string&gt;** | | [default to undefined]
10
10
  **bannerImages** | **Array&lt;string&gt;** | | [default to undefined]
11
11
  **galleryImages** | **Array&lt;string&gt;** | | [default to undefined]
12
+ **sponsors** | [**Array&lt;Sponsor&gt;**](Sponsor.md) | | [default to undefined]
12
13
 
13
14
  ## Example
14
15
 
@@ -20,6 +21,7 @@ const instance: ClubPresentationSettingsResponse = {
20
21
  tags,
21
22
  bannerImages,
22
23
  galleryImages,
24
+ sponsors,
23
25
  };
24
26
  ```
25
27
 
@@ -8,8 +8,8 @@ Name | Type | Description | Notes
8
8
  **id** | **string** | | [default to undefined]
9
9
  **name** | **string** | | [default to undefined]
10
10
  **days** | **Array&lt;string&gt;** | | [default to undefined]
11
- **startTime** | **string** | | [default to undefined]
12
- **endTime** | **string** | | [default to undefined]
11
+ **startTime** | **number** | | [default to undefined]
12
+ **endTime** | **number** | | [default to undefined]
13
13
  **variation** | **number** | | [default to undefined]
14
14
 
15
15
  ## Example
@@ -7,8 +7,8 @@ Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **enabled** | **boolean** | | [default to undefined]
9
9
  **accessCode** | **string** | | [optional] [default to undefined]
10
- **validFrom** | **string** | | [optional] [default to undefined]
11
- **validUntil** | **string** | | [optional] [default to undefined]
10
+ **validFrom** | **number** | | [optional] [default to undefined]
11
+ **validUntil** | **number** | | [optional] [default to undefined]
12
12
 
13
13
  ## Example
14
14
 
@@ -7,8 +7,8 @@ Make all properties in T optional
7
7
  Name | Type | Description | Notes
8
8
  ------------ | ------------- | ------------- | -------------
9
9
  **accessCode** | **string** | | [optional] [default to undefined]
10
- **validFrom** | **string** | | [optional] [default to undefined]
11
- **validUntil** | **string** | | [optional] [default to undefined]
10
+ **validFrom** | **number** | | [optional] [default to undefined]
11
+ **validUntil** | **number** | | [optional] [default to undefined]
12
12
  **enabled** | **boolean** | | [optional] [default to undefined]
13
13
 
14
14
  ## Example
@@ -0,0 +1,24 @@
1
+ # Sponsor
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **name** | **string** | | [default to undefined]
9
+ **logo** | **string** | | [optional] [default to undefined]
10
+ **websiteUrl** | **string** | | [optional] [default to undefined]
11
+
12
+ ## Example
13
+
14
+ ```typescript
15
+ import { Sponsor } from '@tennac-booking/sdk';
16
+
17
+ const instance: Sponsor = {
18
+ name,
19
+ logo,
20
+ websiteUrl,
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)
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **tags** | **Array&lt;string&gt;** | | [optional] [default to undefined]
10
10
  **bannerImages** | [**Array&lt;UpdateClubGeneralSettingsRequestLogo&gt;**](UpdateClubGeneralSettingsRequestLogo.md) | | [optional] [default to undefined]
11
11
  **galleryImages** | [**Array&lt;UpdateClubGeneralSettingsRequestLogo&gt;**](UpdateClubGeneralSettingsRequestLogo.md) | | [optional] [default to undefined]
12
+ **sponsors** | [**Array&lt;Sponsor&gt;**](Sponsor.md) | | [optional] [default to undefined]
12
13
 
13
14
  ## Example
14
15
 
@@ -20,6 +21,7 @@ const instance: UpdateClubPresentationSettingsRequest = {
20
21
  tags,
21
22
  bannerImages,
22
23
  galleryImages,
24
+ sponsors,
23
25
  };
24
26
  ```
25
27
 
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.160
7
+ * The version of the OpenAPI document: 1.0.161
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.160",
3
+ "version": "1.0.162",
4
4
  "description": "OpenAPI client for @tennac-booking/sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
@@ -1,12 +0,0 @@
1
- # AgendaPaymentStatus
2
-
3
-
4
- ## Enum
5
-
6
- * `Pay` (value: `'payé'`)
7
-
8
- * `NonPay` (value: `'non payé'`)
9
-
10
- * `EnAttente` (value: `'en attente'`)
11
-
12
- [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)