@tennac-booking/sdk 1.0.290 → 1.0.292

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/api.js CHANGED
@@ -3869,10 +3869,11 @@ const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
3869
3869
  * @param {number} [pageSize]
3870
3870
  * @param {string} [search]
3871
3871
  * @param {string} [filters]
3872
+ * @param {string} [sorting]
3872
3873
  * @param {*} [options] Override http request option.
3873
3874
  * @throws {RequiredError}
3874
3875
  */
3875
- getClubPlayers: (page_1, pageSize_1, search_1, filters_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, search_1, filters_1, ...args_1], void 0, function* (page, pageSize, search, filters, options = {}) {
3876
+ getClubPlayers: (page_1, pageSize_1, search_1, filters_1, sorting_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, search_1, filters_1, sorting_1, ...args_1], void 0, function* (page, pageSize, search, filters, sorting, options = {}) {
3876
3877
  const localVarPath = `/api/club-analytics/players`;
3877
3878
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3878
3879
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -3898,6 +3899,9 @@ const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
3898
3899
  if (filters !== undefined) {
3899
3900
  localVarQueryParameter['filters'] = filters;
3900
3901
  }
3902
+ if (sorting !== undefined) {
3903
+ localVarQueryParameter['sorting'] = sorting;
3904
+ }
3901
3905
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3902
3906
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3903
3907
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4554,13 +4558,14 @@ const ClubAnalyticsStaffApiFp = function (configuration) {
4554
4558
  * @param {number} [pageSize]
4555
4559
  * @param {string} [search]
4556
4560
  * @param {string} [filters]
4561
+ * @param {string} [sorting]
4557
4562
  * @param {*} [options] Override http request option.
4558
4563
  * @throws {RequiredError}
4559
4564
  */
4560
- getClubPlayers(page, pageSize, search, filters, options) {
4565
+ getClubPlayers(page, pageSize, search, filters, sorting, options) {
4561
4566
  return __awaiter(this, void 0, void 0, function* () {
4562
4567
  var _a, _b, _c;
4563
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayers(page, pageSize, search, filters, options);
4568
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayers(page, pageSize, search, filters, sorting, options);
4564
4569
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4565
4570
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubAnalyticsStaffApi.getClubPlayers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4566
4571
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4895,7 +4900,7 @@ const ClubAnalyticsStaffApiFactory = function (configuration, basePath, axios) {
4895
4900
  * @throws {RequiredError}
4896
4901
  */
4897
4902
  getClubPlayers(requestParameters = {}, options) {
4898
- return localVarFp.getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(axios, basePath));
4903
+ return localVarFp.getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.sorting, options).then((request) => request(axios, basePath));
4899
4904
  },
4900
4905
  /**
4901
4906
  * Nombre total d\'abonnés actifs du club
@@ -5118,7 +5123,7 @@ class ClubAnalyticsStaffApi extends base_1.BaseAPI {
5118
5123
  * @memberof ClubAnalyticsStaffApi
5119
5124
  */
5120
5125
  getClubPlayers(requestParameters = {}, options) {
5121
- return (0, exports.ClubAnalyticsStaffApiFp)(this.configuration).getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
5126
+ return (0, exports.ClubAnalyticsStaffApiFp)(this.configuration).getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.sorting, options).then((request) => request(this.axios, this.basePath));
5122
5127
  }
5123
5128
  /**
5124
5129
  * Nombre total d\'abonnés actifs du club
@@ -9728,13 +9733,14 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
9728
9733
  * @param {number} [pageSize]
9729
9734
  * @param {string} [search]
9730
9735
  * @param {string} [filters]
9736
+ * @param {string} [sorting]
9731
9737
  * @param {string} [status]
9732
9738
  * @param {string} [startDate]
9733
9739
  * @param {string} [endDate]
9734
9740
  * @param {*} [options] Override http request option.
9735
9741
  * @throws {RequiredError}
9736
9742
  */
9737
- getInvoices: (page_1, pageSize_1, search_1, filters_1, status_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, search_1, filters_1, status_1, startDate_1, endDate_1, ...args_1], void 0, function* (page, pageSize, search, filters, status, startDate, endDate, options = {}) {
9743
+ getInvoices: (page_1, pageSize_1, search_1, filters_1, sorting_1, status_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, search_1, filters_1, sorting_1, status_1, startDate_1, endDate_1, ...args_1], void 0, function* (page, pageSize, search, filters, sorting, status, startDate, endDate, options = {}) {
9738
9744
  const localVarPath = `/api/clubs/invoices`;
9739
9745
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9740
9746
  const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -9760,6 +9766,9 @@ const ClubsStaffApiAxiosParamCreator = function (configuration) {
9760
9766
  if (filters !== undefined) {
9761
9767
  localVarQueryParameter['filters'] = filters;
9762
9768
  }
9769
+ if (sorting !== undefined) {
9770
+ localVarQueryParameter['sorting'] = sorting;
9771
+ }
9763
9772
  if (status !== undefined) {
9764
9773
  localVarQueryParameter['status'] = status;
9765
9774
  }
@@ -9988,16 +9997,17 @@ const ClubsStaffApiFp = function (configuration) {
9988
9997
  * @param {number} [pageSize]
9989
9998
  * @param {string} [search]
9990
9999
  * @param {string} [filters]
10000
+ * @param {string} [sorting]
9991
10001
  * @param {string} [status]
9992
10002
  * @param {string} [startDate]
9993
10003
  * @param {string} [endDate]
9994
10004
  * @param {*} [options] Override http request option.
9995
10005
  * @throws {RequiredError}
9996
10006
  */
9997
- getInvoices(page, pageSize, search, filters, status, startDate, endDate, options) {
10007
+ getInvoices(page, pageSize, search, filters, sorting, status, startDate, endDate, options) {
9998
10008
  return __awaiter(this, void 0, void 0, function* () {
9999
10009
  var _a, _b, _c;
10000
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getInvoices(page, pageSize, search, filters, status, startDate, endDate, options);
10010
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getInvoices(page, pageSize, search, filters, sorting, status, startDate, endDate, options);
10001
10011
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
10002
10012
  const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClubsStaffApi.getInvoices']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
10003
10013
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -10124,7 +10134,7 @@ const ClubsStaffApiFactory = function (configuration, basePath, axios) {
10124
10134
  * @throws {RequiredError}
10125
10135
  */
10126
10136
  getInvoices(requestParameters = {}, options) {
10127
- return localVarFp.getInvoices(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.status, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
10137
+ return localVarFp.getInvoices(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.sorting, requestParameters.status, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
10128
10138
  },
10129
10139
  /**
10130
10140
  *
@@ -10244,7 +10254,7 @@ class ClubsStaffApi extends base_1.BaseAPI {
10244
10254
  * @memberof ClubsStaffApi
10245
10255
  */
10246
10256
  getInvoices(requestParameters = {}, options) {
10247
- return (0, exports.ClubsStaffApiFp)(this.configuration).getInvoices(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.status, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
10257
+ return (0, exports.ClubsStaffApiFp)(this.configuration).getInvoices(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.sorting, requestParameters.status, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
10248
10258
  }
10249
10259
  /**
10250
10260
  *
package/dist/esm/api.d.ts CHANGED
@@ -1000,6 +1000,12 @@ export interface BookingPopulated {
1000
1000
  * @memberof BookingPopulated
1001
1001
  */
1002
1002
  'initialPlayers'?: Array<UserInfo>;
1003
+ /**
1004
+ * Joueurs ayant rejoint après la création (pour les créneaux ouverts)
1005
+ * @type {Array<UserInfo>}
1006
+ * @memberof BookingPopulated
1007
+ */
1008
+ 'joinedPlayers'?: Array<UserInfo>;
1003
1009
  /**
1004
1010
  * Statut des paiements par joueur
1005
1011
  * @type {Array<PaymentByPlayerInfo>}
@@ -1122,6 +1128,12 @@ export interface BookingPriceResponse {
1122
1128
  * @memberof BookingPriceResponse
1123
1129
  */
1124
1130
  'creatorNeedsToRegisterPaymentMethod': boolean;
1131
+ /**
1132
+ *
1133
+ * @type {boolean}
1134
+ * @memberof BookingPriceResponse
1135
+ */
1136
+ 'needsToSetupPaymentMethod'?: boolean;
1125
1137
  /**
1126
1138
  *
1127
1139
  * @type {number}
@@ -1782,6 +1794,12 @@ export interface CaptureResult {
1782
1794
  * @memberof CaptureResult
1783
1795
  */
1784
1796
  'amount'?: number;
1797
+ /**
1798
+ * URL de reçu Stripe
1799
+ * @type {string}
1800
+ * @memberof CaptureResult
1801
+ */
1802
+ 'receiptUrl'?: string;
1785
1803
  /**
1786
1804
  * Statut de la capture
1787
1805
  * @type {string}
@@ -3529,6 +3547,12 @@ export interface ClubPageResponse {
3529
3547
  * @memberof ClubPageResponse
3530
3548
  */
3531
3549
  'isNoShowEnabled'?: boolean;
3550
+ /**
3551
+ * Indique si les réservations (booking/open booking/event registration) sont activées
3552
+ * @type {boolean}
3553
+ * @memberof ClubPageResponse
3554
+ */
3555
+ 'isBookingEnabled'?: boolean;
3532
3556
  /**
3533
3557
  *
3534
3558
  * @type {ClubPageResponseClubCustomerStatus}
@@ -3994,6 +4018,12 @@ export interface ClubPlayerResponse {
3994
4018
  * @memberof ClubPlayerResponse
3995
4019
  */
3996
4020
  'profilePicture'?: string;
4021
+ /**
4022
+ * Avatar (alias de profilePicture)
4023
+ * @type {string}
4024
+ * @memberof ClubPlayerResponse
4025
+ */
4026
+ 'avatar'?: string;
3997
4027
  /**
3998
4028
  * Compte vérifié
3999
4029
  * @type {boolean}
@@ -4617,6 +4647,12 @@ export interface ClubResponse {
4617
4647
  * @memberof ClubResponse
4618
4648
  */
4619
4649
  'isNoShowEnabled'?: boolean;
4650
+ /**
4651
+ * Indique si les réservations (booking/open booking/event registration) sont activées
4652
+ * @type {boolean}
4653
+ * @memberof ClubResponse
4654
+ */
4655
+ 'isBookingEnabled'?: boolean;
4620
4656
  /**
4621
4657
  * Liste des sports proposés par le club (identifiés par leur clé)
4622
4658
  * @type {Array<string>}
@@ -7041,6 +7077,12 @@ export interface EventBookingResponse {
7041
7077
  * @memberof EventBookingResponse
7042
7078
  */
7043
7079
  'players': Array<EventBookingResponsePlayersInner>;
7080
+ /**
7081
+ *
7082
+ * @type {Array<EventBookingResponsePlayersInner>}
7083
+ * @memberof EventBookingResponse
7084
+ */
7085
+ 'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
7044
7086
  /**
7045
7087
  *
7046
7088
  * @type {Array<EventBookingResponsePaymentPerPlayersInner>}
@@ -7165,6 +7207,12 @@ export interface EventBookingResponsePaymentPerPlayersInner {
7165
7207
  * @memberof EventBookingResponsePaymentPerPlayersInner
7166
7208
  */
7167
7209
  'photo'?: string | null;
7210
+ /**
7211
+ *
7212
+ * @type {string}
7213
+ * @memberof EventBookingResponsePaymentPerPlayersInner
7214
+ */
7215
+ 'username'?: string | null;
7168
7216
  /**
7169
7217
  *
7170
7218
  * @type {string}
@@ -7202,6 +7250,12 @@ export interface EventBookingResponsePlayersInner {
7202
7250
  * @memberof EventBookingResponsePlayersInner
7203
7251
  */
7204
7252
  'profilePicture'?: string | null;
7253
+ /**
7254
+ *
7255
+ * @type {string}
7256
+ * @memberof EventBookingResponsePlayersInner
7257
+ */
7258
+ 'username'?: string | null;
7205
7259
  /**
7206
7260
  *
7207
7261
  * @type {string}
@@ -8459,6 +8513,12 @@ export interface GetOpenEventBookingsBySport200ResponseEventBookingsInner {
8459
8513
  * @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
8460
8514
  */
8461
8515
  'players': Array<EventBookingResponsePlayersInner>;
8516
+ /**
8517
+ *
8518
+ * @type {Array<EventBookingResponsePlayersInner>}
8519
+ * @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
8520
+ */
8521
+ 'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
8462
8522
  /**
8463
8523
  *
8464
8524
  * @type {Array<EventBookingResponsePaymentPerPlayersInner>}
@@ -12044,6 +12104,12 @@ export interface OpenBookingJoinEstimateResponse {
12044
12104
  * @memberof OpenBookingJoinEstimateResponse
12045
12105
  */
12046
12106
  'availableSlots': number;
12107
+ /**
12108
+ * Indique si l\'utilisateur doit configurer une méthode de paiement pour couvrir la politique no-show du club.
12109
+ * @type {boolean}
12110
+ * @memberof OpenBookingJoinEstimateResponse
12111
+ */
12112
+ 'needsToSetupPaymentMethod'?: boolean;
12047
12113
  }
12048
12114
  /**
12049
12115
  *
@@ -12218,6 +12284,12 @@ export interface PartialClubActiveResponse {
12218
12284
  * @memberof PartialClubActiveResponse
12219
12285
  */
12220
12286
  'isNoShowEnabled'?: boolean;
12287
+ /**
12288
+ *
12289
+ * @type {boolean}
12290
+ * @memberof PartialClubActiveResponse
12291
+ */
12292
+ 'isBookingEnabled'?: boolean;
12221
12293
  /**
12222
12294
  *
12223
12295
  * @type {Array<string>}
@@ -12329,6 +12401,12 @@ export interface PartialPaymentRequirementsSettings {
12329
12401
  * @memberof PartialPaymentRequirementsSettings
12330
12402
  */
12331
12403
  'isNoShowEnabled'?: boolean;
12404
+ /**
12405
+ *
12406
+ * @type {boolean}
12407
+ * @memberof PartialPaymentRequirementsSettings
12408
+ */
12409
+ 'isBookingEnabled'?: boolean;
12332
12410
  /**
12333
12411
  *
12334
12412
  * @type {boolean}
@@ -12654,6 +12732,12 @@ export interface PaymentRequirementsSettings {
12654
12732
  * @memberof PaymentRequirementsSettings
12655
12733
  */
12656
12734
  'isNoShowEnabled': boolean;
12735
+ /**
12736
+ *
12737
+ * @type {boolean}
12738
+ * @memberof PaymentRequirementsSettings
12739
+ */
12740
+ 'isBookingEnabled': boolean;
12657
12741
  /**
12658
12742
  *
12659
12743
  * @type {boolean}
@@ -13083,6 +13167,12 @@ export interface PlayerSummary {
13083
13167
  * @memberof PlayerSummary
13084
13168
  */
13085
13169
  'profilePicture'?: string | null;
13170
+ /**
13171
+ *
13172
+ * @type {string}
13173
+ * @memberof PlayerSummary
13174
+ */
13175
+ 'avatar'?: string | null;
13086
13176
  /**
13087
13177
  *
13088
13178
  * @type {Gender}
@@ -21314,10 +21404,11 @@ export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Co
21314
21404
  * @param {number} [pageSize]
21315
21405
  * @param {string} [search]
21316
21406
  * @param {string} [filters]
21407
+ * @param {string} [sorting]
21317
21408
  * @param {*} [options] Override http request option.
21318
21409
  * @throws {RequiredError}
21319
21410
  */
21320
- getClubPlayers: (page?: number, pageSize?: number, search?: string, filters?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21411
+ getClubPlayers: (page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
21321
21412
  /**
21322
21413
  * Nombre total d\'abonnés actifs du club
21323
21414
  * @param {*} [options] Override http request option.
@@ -21491,10 +21582,11 @@ export declare const ClubAnalyticsStaffApiFp: (configuration?: Configuration) =>
21491
21582
  * @param {number} [pageSize]
21492
21583
  * @param {string} [search]
21493
21584
  * @param {string} [filters]
21585
+ * @param {string} [sorting]
21494
21586
  * @param {*} [options] Override http request option.
21495
21587
  * @throws {RequiredError}
21496
21588
  */
21497
- getClubPlayers(page?: number, pageSize?: number, search?: string, filters?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayersPaginatedResponse>>;
21589
+ getClubPlayers(page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayersPaginatedResponse>>;
21498
21590
  /**
21499
21591
  * Nombre total d\'abonnés actifs du club
21500
21592
  * @param {*} [options] Override http request option.
@@ -21897,6 +21989,12 @@ export interface ClubAnalyticsStaffApiGetClubPlayersRequest {
21897
21989
  * @memberof ClubAnalyticsStaffApiGetClubPlayers
21898
21990
  */
21899
21991
  readonly filters?: string;
21992
+ /**
21993
+ *
21994
+ * @type {string}
21995
+ * @memberof ClubAnalyticsStaffApiGetClubPlayers
21996
+ */
21997
+ readonly sorting?: string;
21900
21998
  }
21901
21999
  /**
21902
22000
  * Request parameters for getDailyTurnOver operation in ClubAnalyticsStaffApi.
@@ -24961,13 +25059,14 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
24961
25059
  * @param {number} [pageSize]
24962
25060
  * @param {string} [search]
24963
25061
  * @param {string} [filters]
25062
+ * @param {string} [sorting]
24964
25063
  * @param {string} [status]
24965
25064
  * @param {string} [startDate]
24966
25065
  * @param {string} [endDate]
24967
25066
  * @param {*} [options] Override http request option.
24968
25067
  * @throws {RequiredError}
24969
25068
  */
24970
- getInvoices: (page?: number, pageSize?: number, search?: string, filters?: string, status?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
25069
+ getInvoices: (page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, status?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
24971
25070
  /**
24972
25071
  *
24973
25072
  * @param {string} id
@@ -25051,13 +25150,14 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
25051
25150
  * @param {number} [pageSize]
25052
25151
  * @param {string} [search]
25053
25152
  * @param {string} [filters]
25153
+ * @param {string} [sorting]
25054
25154
  * @param {string} [status]
25055
25155
  * @param {string} [startDate]
25056
25156
  * @param {string} [endDate]
25057
25157
  * @param {*} [options] Override http request option.
25058
25158
  * @throws {RequiredError}
25059
25159
  */
25060
- getInvoices(page?: number, pageSize?: number, search?: string, filters?: string, status?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
25160
+ getInvoices(page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, status?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
25061
25161
  /**
25062
25162
  *
25063
25163
  * @param {string} id
@@ -25205,6 +25305,12 @@ export interface ClubsStaffApiGetInvoicesRequest {
25205
25305
  * @memberof ClubsStaffApiGetInvoices
25206
25306
  */
25207
25307
  readonly filters?: string;
25308
+ /**
25309
+ *
25310
+ * @type {string}
25311
+ * @memberof ClubsStaffApiGetInvoices
25312
+ */
25313
+ readonly sorting?: string;
25208
25314
  /**
25209
25315
  *
25210
25316
  * @type {string}
package/dist/esm/api.js CHANGED
@@ -3834,10 +3834,11 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
3834
3834
  * @param {number} [pageSize]
3835
3835
  * @param {string} [search]
3836
3836
  * @param {string} [filters]
3837
+ * @param {string} [sorting]
3837
3838
  * @param {*} [options] Override http request option.
3838
3839
  * @throws {RequiredError}
3839
3840
  */
3840
- getClubPlayers: (page_1, pageSize_1, search_1, filters_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, search_1, filters_1, ...args_1], void 0, function* (page, pageSize, search, filters, options = {}) {
3841
+ getClubPlayers: (page_1, pageSize_1, search_1, filters_1, sorting_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, search_1, filters_1, sorting_1, ...args_1], void 0, function* (page, pageSize, search, filters, sorting, options = {}) {
3841
3842
  const localVarPath = `/api/club-analytics/players`;
3842
3843
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
3843
3844
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -3863,6 +3864,9 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration) {
3863
3864
  if (filters !== undefined) {
3864
3865
  localVarQueryParameter['filters'] = filters;
3865
3866
  }
3867
+ if (sorting !== undefined) {
3868
+ localVarQueryParameter['sorting'] = sorting;
3869
+ }
3866
3870
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3867
3871
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3868
3872
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -4518,13 +4522,14 @@ export const ClubAnalyticsStaffApiFp = function (configuration) {
4518
4522
  * @param {number} [pageSize]
4519
4523
  * @param {string} [search]
4520
4524
  * @param {string} [filters]
4525
+ * @param {string} [sorting]
4521
4526
  * @param {*} [options] Override http request option.
4522
4527
  * @throws {RequiredError}
4523
4528
  */
4524
- getClubPlayers(page, pageSize, search, filters, options) {
4529
+ getClubPlayers(page, pageSize, search, filters, sorting, options) {
4525
4530
  return __awaiter(this, void 0, void 0, function* () {
4526
4531
  var _a, _b, _c;
4527
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayers(page, pageSize, search, filters, options);
4532
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClubPlayers(page, pageSize, search, filters, sorting, options);
4528
4533
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
4529
4534
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubAnalyticsStaffApi.getClubPlayers']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
4530
4535
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -4858,7 +4863,7 @@ export const ClubAnalyticsStaffApiFactory = function (configuration, basePath, a
4858
4863
  * @throws {RequiredError}
4859
4864
  */
4860
4865
  getClubPlayers(requestParameters = {}, options) {
4861
- return localVarFp.getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(axios, basePath));
4866
+ return localVarFp.getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.sorting, options).then((request) => request(axios, basePath));
4862
4867
  },
4863
4868
  /**
4864
4869
  * Nombre total d\'abonnés actifs du club
@@ -5080,7 +5085,7 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
5080
5085
  * @memberof ClubAnalyticsStaffApi
5081
5086
  */
5082
5087
  getClubPlayers(requestParameters = {}, options) {
5083
- return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
5088
+ return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.sorting, options).then((request) => request(this.axios, this.basePath));
5084
5089
  }
5085
5090
  /**
5086
5091
  * Nombre total d\'abonnés actifs du club
@@ -9657,13 +9662,14 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
9657
9662
  * @param {number} [pageSize]
9658
9663
  * @param {string} [search]
9659
9664
  * @param {string} [filters]
9665
+ * @param {string} [sorting]
9660
9666
  * @param {string} [status]
9661
9667
  * @param {string} [startDate]
9662
9668
  * @param {string} [endDate]
9663
9669
  * @param {*} [options] Override http request option.
9664
9670
  * @throws {RequiredError}
9665
9671
  */
9666
- getInvoices: (page_1, pageSize_1, search_1, filters_1, status_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, search_1, filters_1, status_1, startDate_1, endDate_1, ...args_1], void 0, function* (page, pageSize, search, filters, status, startDate, endDate, options = {}) {
9672
+ getInvoices: (page_1, pageSize_1, search_1, filters_1, sorting_1, status_1, startDate_1, endDate_1, ...args_1) => __awaiter(this, [page_1, pageSize_1, search_1, filters_1, sorting_1, status_1, startDate_1, endDate_1, ...args_1], void 0, function* (page, pageSize, search, filters, sorting, status, startDate, endDate, options = {}) {
9667
9673
  const localVarPath = `/api/clubs/invoices`;
9668
9674
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
9669
9675
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -9689,6 +9695,9 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration) {
9689
9695
  if (filters !== undefined) {
9690
9696
  localVarQueryParameter['filters'] = filters;
9691
9697
  }
9698
+ if (sorting !== undefined) {
9699
+ localVarQueryParameter['sorting'] = sorting;
9700
+ }
9692
9701
  if (status !== undefined) {
9693
9702
  localVarQueryParameter['status'] = status;
9694
9703
  }
@@ -9916,16 +9925,17 @@ export const ClubsStaffApiFp = function (configuration) {
9916
9925
  * @param {number} [pageSize]
9917
9926
  * @param {string} [search]
9918
9927
  * @param {string} [filters]
9928
+ * @param {string} [sorting]
9919
9929
  * @param {string} [status]
9920
9930
  * @param {string} [startDate]
9921
9931
  * @param {string} [endDate]
9922
9932
  * @param {*} [options] Override http request option.
9923
9933
  * @throws {RequiredError}
9924
9934
  */
9925
- getInvoices(page, pageSize, search, filters, status, startDate, endDate, options) {
9935
+ getInvoices(page, pageSize, search, filters, sorting, status, startDate, endDate, options) {
9926
9936
  return __awaiter(this, void 0, void 0, function* () {
9927
9937
  var _a, _b, _c;
9928
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getInvoices(page, pageSize, search, filters, status, startDate, endDate, options);
9938
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getInvoices(page, pageSize, search, filters, sorting, status, startDate, endDate, options);
9929
9939
  const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
9930
9940
  const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClubsStaffApi.getInvoices']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
9931
9941
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -10051,7 +10061,7 @@ export const ClubsStaffApiFactory = function (configuration, basePath, axios) {
10051
10061
  * @throws {RequiredError}
10052
10062
  */
10053
10063
  getInvoices(requestParameters = {}, options) {
10054
- return localVarFp.getInvoices(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.status, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
10064
+ return localVarFp.getInvoices(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.sorting, requestParameters.status, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
10055
10065
  },
10056
10066
  /**
10057
10067
  *
@@ -10170,7 +10180,7 @@ export class ClubsStaffApi extends BaseAPI {
10170
10180
  * @memberof ClubsStaffApi
10171
10181
  */
10172
10182
  getInvoices(requestParameters = {}, options) {
10173
- return ClubsStaffApiFp(this.configuration).getInvoices(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.status, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
10183
+ return ClubsStaffApiFp(this.configuration).getInvoices(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.sorting, requestParameters.status, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(this.axios, this.basePath));
10174
10184
  }
10175
10185
  /**
10176
10186
  *
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **slotInfos** | [**Array&lt;SlotInfo&gt;**](SlotInfo.md) | Informations des slots | [default to undefined]
12
12
  **players** | [**Array&lt;UserInfo&gt;**](UserInfo.md) | | [default to undefined]
13
13
  **initialPlayers** | [**Array&lt;UserInfo&gt;**](UserInfo.md) | Joueurs inclus à la création de la réservation (pour les créneaux ouverts) | [optional] [default to undefined]
14
+ **joinedPlayers** | [**Array&lt;UserInfo&gt;**](UserInfo.md) | Joueurs ayant rejoint après la création (pour les créneaux ouverts) | [optional] [default to undefined]
14
15
  **paymentByPlayers** | [**Array&lt;PaymentByPlayerInfo&gt;**](PaymentByPlayerInfo.md) | Statut des paiements par joueur | [default to undefined]
15
16
  **noShowChargeApplied** | **boolean** | | [optional] [default to undefined]
16
17
  **noShowChargeAmount** | **number** | | [optional] [default to undefined]
@@ -38,6 +39,7 @@ const instance: BookingPopulated = {
38
39
  slotInfos,
39
40
  players,
40
41
  initialPlayers,
42
+ joinedPlayers,
41
43
  paymentByPlayers,
42
44
  noShowChargeApplied,
43
45
  noShowChargeAmount,
@@ -6,6 +6,7 @@
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
8
  **creatorNeedsToRegisterPaymentMethod** | **boolean** | | [default to undefined]
9
+ **needsToSetupPaymentMethod** | **boolean** | | [optional] [default to undefined]
9
10
  **creatorCreditAvailableInCents** | **number** | | [optional] [default to undefined]
10
11
  **playerPrices** | [**Array&lt;PlayerPrice&gt;**](PlayerPrice.md) | | [default to undefined]
11
12
 
@@ -16,6 +17,7 @@ import { BookingPriceResponse } from '@tennac-booking/sdk';
16
17
 
17
18
  const instance: BookingPriceResponse = {
18
19
  creatorNeedsToRegisterPaymentMethod,
20
+ needsToSetupPaymentMethod,
19
21
  creatorCreditAvailableInCents,
20
22
  playerPrices,
21
23
  };
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
9
9
  **playerId** | **string** | ID du joueur (optionnel) | [optional] [default to undefined]
10
10
  **paymentIntentId** | **string** | ID du PaymentIntent Stripe | [default to undefined]
11
11
  **amount** | **number** | Montant capturé | [optional] [default to undefined]
12
+ **receiptUrl** | **string** | URL de reçu Stripe | [optional] [default to undefined]
12
13
  **status** | **string** | Statut de la capture | [default to undefined]
13
14
  **error** | **string** | Erreur (si échoué) | [optional] [default to undefined]
14
15
 
@@ -22,6 +23,7 @@ const instance: CaptureResult = {
22
23
  playerId,
23
24
  paymentIntentId,
24
25
  amount,
26
+ receiptUrl,
25
27
  status,
26
28
  error,
27
29
  };
@@ -329,12 +329,14 @@ let page: number; // (optional) (default to undefined)
329
329
  let pageSize: number; // (optional) (default to undefined)
330
330
  let search: string; // (optional) (default to undefined)
331
331
  let filters: string; // (optional) (default to undefined)
332
+ let sorting: string; // (optional) (default to undefined)
332
333
 
333
334
  const { status, data } = await apiInstance.getClubPlayers(
334
335
  page,
335
336
  pageSize,
336
337
  search,
337
- filters
338
+ filters,
339
+ sorting
338
340
  );
339
341
  ```
340
342
 
@@ -346,6 +348,7 @@ const { status, data } = await apiInstance.getClubPlayers(
346
348
  | **pageSize** | [**number**] | | (optional) defaults to undefined|
347
349
  | **search** | [**string**] | | (optional) defaults to undefined|
348
350
  | **filters** | [**string**] | | (optional) defaults to undefined|
351
+ | **sorting** | [**string**] | | (optional) defaults to undefined|
349
352
 
350
353
 
351
354
  ### Return type
@@ -19,6 +19,7 @@ Name | Type | Description | Notes
19
19
  **paymentFeature** | **boolean** | Indique si le club utilise la fonctionnalité de paiement | [optional] [default to undefined]
20
20
  **hasActiveSubscriptions** | **boolean** | Indique si le club propose au moins un abonnement actif | [default to undefined]
21
21
  **isNoShowEnabled** | **boolean** | Indique si la fonctionnalité \&quot;no show\&quot; est activée | [optional] [default to undefined]
22
+ **isBookingEnabled** | **boolean** | Indique si les réservations (booking/open booking/event registration) sont activées | [optional] [default to undefined]
22
23
  **clubCustomerStatus** | [**ClubPageResponseClubCustomerStatus**](ClubPageResponseClubCustomerStatus.md) | | [optional] [default to undefined]
23
24
  **sports** | **Array&lt;string&gt;** | Liste des sports proposés par le club (identifiés par leur clé) | [optional] [default to undefined]
24
25
  **sportsIdsLookup** | [**ClubPageResponseSportsIdsLookup**](ClubPageResponseSportsIdsLookup.md) | | [optional] [default to undefined]
@@ -56,6 +57,7 @@ const instance: ClubPageResponse = {
56
57
  paymentFeature,
57
58
  hasActiveSubscriptions,
58
59
  isNoShowEnabled,
60
+ isBookingEnabled,
59
61
  clubCustomerStatus,
60
62
  sports,
61
63
  sportsIdsLookup,
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
11
11
  **gender** | **string** | Genre | [optional] [default to undefined]
12
12
  **email** | **string** | Email | [default to undefined]
13
13
  **profilePicture** | **string** | Photo de profil | [optional] [default to undefined]
14
+ **avatar** | **string** | Avatar (alias de profilePicture) | [optional] [default to undefined]
14
15
  **isAccountVerified** | **boolean** | Compte vérifié | [default to undefined]
15
16
  **isProfileVisible** | **boolean** | Profil visible | [default to undefined]
16
17
  **isSubscribedToClub** | **boolean** | Abonné au club | [default to undefined]
@@ -28,6 +29,7 @@ const instance: ClubPlayerResponse = {
28
29
  gender,
29
30
  email,
30
31
  profilePicture,
32
+ avatar,
31
33
  isAccountVerified,
32
34
  isProfileVisible,
33
35
  isSubscribedToClub,
@@ -21,6 +21,7 @@ Name | Type | Description | Notes
21
21
  **stripeAccountId** | **string** | ID du compte Stripe du club | [optional] [default to undefined]
22
22
  **clubDashBoardUrl** | **string** | URL du dashboard Stripe du club | [optional] [default to undefined]
23
23
  **isNoShowEnabled** | **boolean** | Indique si la fonctionnalité \&quot;no show\&quot; est activée | [optional] [default to undefined]
24
+ **isBookingEnabled** | **boolean** | Indique si les réservations (booking/open booking/event registration) sont activées | [optional] [default to undefined]
24
25
  **sports** | **Array&lt;string&gt;** | Liste des sports proposés par le club (identifiés par leur clé) | [optional] [default to undefined]
25
26
  **courtsCount** | **number** | Nombre total de terrains du club | [optional] [default to undefined]
26
27
  **courtsCountBySport** | **{ [key: string]: number; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
@@ -56,6 +57,7 @@ const instance: ClubResponse = {
56
57
  stripeAccountId,
57
58
  clubDashBoardUrl,
58
59
  isNoShowEnabled,
60
+ isBookingEnabled,
59
61
  sports,
60
62
  courtsCount,
61
63
  courtsCountBySport,