@tennac-booking/sdk 1.0.290 → 1.0.291
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/api.ts +48 -10
- package/dist/api.d.ts +32 -4
- package/dist/api.js +20 -10
- package/dist/esm/api.d.ts +32 -4
- package/dist/esm/api.js +20 -10
- package/docs/BookingPriceResponse.md +2 -0
- package/docs/ClubAnalyticsStaffApi.md +4 -1
- package/docs/ClubsStaffApi.md +3 -0
- package/docs/OpenBookingJoinEstimateResponse.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1149,6 +1149,12 @@ export interface BookingPriceResponse {
|
|
|
1149
1149
|
* @memberof BookingPriceResponse
|
|
1150
1150
|
*/
|
|
1151
1151
|
'creatorNeedsToRegisterPaymentMethod': boolean;
|
|
1152
|
+
/**
|
|
1153
|
+
*
|
|
1154
|
+
* @type {boolean}
|
|
1155
|
+
* @memberof BookingPriceResponse
|
|
1156
|
+
*/
|
|
1157
|
+
'needsToSetupPaymentMethod'?: boolean;
|
|
1152
1158
|
/**
|
|
1153
1159
|
*
|
|
1154
1160
|
* @type {number}
|
|
@@ -12216,6 +12222,12 @@ export interface OpenBookingJoinEstimateResponse {
|
|
|
12216
12222
|
* @memberof OpenBookingJoinEstimateResponse
|
|
12217
12223
|
*/
|
|
12218
12224
|
'availableSlots': number;
|
|
12225
|
+
/**
|
|
12226
|
+
* Indique si l\'utilisateur doit configurer une méthode de paiement pour couvrir la politique no-show du club.
|
|
12227
|
+
* @type {boolean}
|
|
12228
|
+
* @memberof OpenBookingJoinEstimateResponse
|
|
12229
|
+
*/
|
|
12230
|
+
'needsToSetupPaymentMethod'?: boolean;
|
|
12219
12231
|
}
|
|
12220
12232
|
/**
|
|
12221
12233
|
*
|
|
@@ -23687,10 +23699,11 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
23687
23699
|
* @param {number} [pageSize]
|
|
23688
23700
|
* @param {string} [search]
|
|
23689
23701
|
* @param {string} [filters]
|
|
23702
|
+
* @param {string} [sorting]
|
|
23690
23703
|
* @param {*} [options] Override http request option.
|
|
23691
23704
|
* @throws {RequiredError}
|
|
23692
23705
|
*/
|
|
23693
|
-
getClubPlayers: async (page?: number, pageSize?: number, search?: string, filters?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23706
|
+
getClubPlayers: async (page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23694
23707
|
const localVarPath = `/api/club-analytics/players`;
|
|
23695
23708
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23696
23709
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -23723,6 +23736,10 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
23723
23736
|
localVarQueryParameter['filters'] = filters;
|
|
23724
23737
|
}
|
|
23725
23738
|
|
|
23739
|
+
if (sorting !== undefined) {
|
|
23740
|
+
localVarQueryParameter['sorting'] = sorting;
|
|
23741
|
+
}
|
|
23742
|
+
|
|
23726
23743
|
|
|
23727
23744
|
|
|
23728
23745
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -24490,11 +24507,12 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
|
24490
24507
|
* @param {number} [pageSize]
|
|
24491
24508
|
* @param {string} [search]
|
|
24492
24509
|
* @param {string} [filters]
|
|
24510
|
+
* @param {string} [sorting]
|
|
24493
24511
|
* @param {*} [options] Override http request option.
|
|
24494
24512
|
* @throws {RequiredError}
|
|
24495
24513
|
*/
|
|
24496
|
-
async getClubPlayers(page?: number, pageSize?: number, search?: string, filters?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayersPaginatedResponse>> {
|
|
24497
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayers(page, pageSize, search, filters, options);
|
|
24514
|
+
async getClubPlayers(page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayersPaginatedResponse>> {
|
|
24515
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayers(page, pageSize, search, filters, sorting, options);
|
|
24498
24516
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24499
24517
|
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayers']?.[localVarOperationServerIndex]?.url;
|
|
24500
24518
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -24774,7 +24792,7 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
|
|
|
24774
24792
|
* @throws {RequiredError}
|
|
24775
24793
|
*/
|
|
24776
24794
|
getClubPlayers(requestParameters: ClubAnalyticsStaffApiGetClubPlayersRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<ClubPlayersPaginatedResponse> {
|
|
24777
|
-
return localVarFp.getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(axios, basePath));
|
|
24795
|
+
return localVarFp.getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.sorting, options).then((request) => request(axios, basePath));
|
|
24778
24796
|
},
|
|
24779
24797
|
/**
|
|
24780
24798
|
* Nombre total d\'abonnés actifs du club
|
|
@@ -25056,6 +25074,13 @@ export interface ClubAnalyticsStaffApiGetClubPlayersRequest {
|
|
|
25056
25074
|
* @memberof ClubAnalyticsStaffApiGetClubPlayers
|
|
25057
25075
|
*/
|
|
25058
25076
|
readonly filters?: string
|
|
25077
|
+
|
|
25078
|
+
/**
|
|
25079
|
+
*
|
|
25080
|
+
* @type {string}
|
|
25081
|
+
* @memberof ClubAnalyticsStaffApiGetClubPlayers
|
|
25082
|
+
*/
|
|
25083
|
+
readonly sorting?: string
|
|
25059
25084
|
}
|
|
25060
25085
|
|
|
25061
25086
|
/**
|
|
@@ -25296,7 +25321,7 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
25296
25321
|
* @memberof ClubAnalyticsStaffApi
|
|
25297
25322
|
*/
|
|
25298
25323
|
public getClubPlayers(requestParameters: ClubAnalyticsStaffApiGetClubPlayersRequest = {}, options?: RawAxiosRequestConfig) {
|
|
25299
|
-
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
25324
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.sorting, options).then((request) => request(this.axios, this.basePath));
|
|
25300
25325
|
}
|
|
25301
25326
|
|
|
25302
25327
|
/**
|
|
@@ -31021,13 +31046,14 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
31021
31046
|
* @param {number} [pageSize]
|
|
31022
31047
|
* @param {string} [search]
|
|
31023
31048
|
* @param {string} [filters]
|
|
31049
|
+
* @param {string} [sorting]
|
|
31024
31050
|
* @param {string} [status]
|
|
31025
31051
|
* @param {string} [startDate]
|
|
31026
31052
|
* @param {string} [endDate]
|
|
31027
31053
|
* @param {*} [options] Override http request option.
|
|
31028
31054
|
* @throws {RequiredError}
|
|
31029
31055
|
*/
|
|
31030
|
-
getInvoices: async (page?: number, pageSize?: number, search?: string, filters?: string, status?: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31056
|
+
getInvoices: async (page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, status?: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31031
31057
|
const localVarPath = `/api/clubs/invoices`;
|
|
31032
31058
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31033
31059
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -31060,6 +31086,10 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
31060
31086
|
localVarQueryParameter['filters'] = filters;
|
|
31061
31087
|
}
|
|
31062
31088
|
|
|
31089
|
+
if (sorting !== undefined) {
|
|
31090
|
+
localVarQueryParameter['sorting'] = sorting;
|
|
31091
|
+
}
|
|
31092
|
+
|
|
31063
31093
|
if (status !== undefined) {
|
|
31064
31094
|
localVarQueryParameter['status'] = status;
|
|
31065
31095
|
}
|
|
@@ -31280,14 +31310,15 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
|
|
|
31280
31310
|
* @param {number} [pageSize]
|
|
31281
31311
|
* @param {string} [search]
|
|
31282
31312
|
* @param {string} [filters]
|
|
31313
|
+
* @param {string} [sorting]
|
|
31283
31314
|
* @param {string} [status]
|
|
31284
31315
|
* @param {string} [startDate]
|
|
31285
31316
|
* @param {string} [endDate]
|
|
31286
31317
|
* @param {*} [options] Override http request option.
|
|
31287
31318
|
* @throws {RequiredError}
|
|
31288
31319
|
*/
|
|
31289
|
-
async getInvoices(page?: number, pageSize?: number, search?: string, filters?: string, status?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>> {
|
|
31290
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoices(page, pageSize, search, filters, status, startDate, endDate, options);
|
|
31320
|
+
async 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>> {
|
|
31321
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoices(page, pageSize, search, filters, sorting, status, startDate, endDate, options);
|
|
31291
31322
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31292
31323
|
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getInvoices']?.[localVarOperationServerIndex]?.url;
|
|
31293
31324
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -31407,7 +31438,7 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
|
|
|
31407
31438
|
* @throws {RequiredError}
|
|
31408
31439
|
*/
|
|
31409
31440
|
getInvoices(requestParameters: ClubsStaffApiGetInvoicesRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<any> {
|
|
31410
|
-
return localVarFp.getInvoices(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.status, requestParameters.startDate, requestParameters.endDate, options).then((request) => request(axios, basePath));
|
|
31441
|
+
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));
|
|
31411
31442
|
},
|
|
31412
31443
|
/**
|
|
31413
31444
|
*
|
|
@@ -31485,6 +31516,13 @@ export interface ClubsStaffApiGetInvoicesRequest {
|
|
|
31485
31516
|
*/
|
|
31486
31517
|
readonly filters?: string
|
|
31487
31518
|
|
|
31519
|
+
/**
|
|
31520
|
+
*
|
|
31521
|
+
* @type {string}
|
|
31522
|
+
* @memberof ClubsStaffApiGetInvoices
|
|
31523
|
+
*/
|
|
31524
|
+
readonly sorting?: string
|
|
31525
|
+
|
|
31488
31526
|
/**
|
|
31489
31527
|
*
|
|
31490
31528
|
* @type {string}
|
|
@@ -31648,7 +31686,7 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
31648
31686
|
* @memberof ClubsStaffApi
|
|
31649
31687
|
*/
|
|
31650
31688
|
public getInvoices(requestParameters: ClubsStaffApiGetInvoicesRequest = {}, options?: RawAxiosRequestConfig) {
|
|
31651
|
-
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));
|
|
31689
|
+
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));
|
|
31652
31690
|
}
|
|
31653
31691
|
|
|
31654
31692
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -1122,6 +1122,12 @@ export interface BookingPriceResponse {
|
|
|
1122
1122
|
* @memberof BookingPriceResponse
|
|
1123
1123
|
*/
|
|
1124
1124
|
'creatorNeedsToRegisterPaymentMethod': boolean;
|
|
1125
|
+
/**
|
|
1126
|
+
*
|
|
1127
|
+
* @type {boolean}
|
|
1128
|
+
* @memberof BookingPriceResponse
|
|
1129
|
+
*/
|
|
1130
|
+
'needsToSetupPaymentMethod'?: boolean;
|
|
1125
1131
|
/**
|
|
1126
1132
|
*
|
|
1127
1133
|
* @type {number}
|
|
@@ -12044,6 +12050,12 @@ export interface OpenBookingJoinEstimateResponse {
|
|
|
12044
12050
|
* @memberof OpenBookingJoinEstimateResponse
|
|
12045
12051
|
*/
|
|
12046
12052
|
'availableSlots': number;
|
|
12053
|
+
/**
|
|
12054
|
+
* Indique si l\'utilisateur doit configurer une méthode de paiement pour couvrir la politique no-show du club.
|
|
12055
|
+
* @type {boolean}
|
|
12056
|
+
* @memberof OpenBookingJoinEstimateResponse
|
|
12057
|
+
*/
|
|
12058
|
+
'needsToSetupPaymentMethod'?: boolean;
|
|
12047
12059
|
}
|
|
12048
12060
|
/**
|
|
12049
12061
|
*
|
|
@@ -21314,10 +21326,11 @@ export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Co
|
|
|
21314
21326
|
* @param {number} [pageSize]
|
|
21315
21327
|
* @param {string} [search]
|
|
21316
21328
|
* @param {string} [filters]
|
|
21329
|
+
* @param {string} [sorting]
|
|
21317
21330
|
* @param {*} [options] Override http request option.
|
|
21318
21331
|
* @throws {RequiredError}
|
|
21319
21332
|
*/
|
|
21320
|
-
getClubPlayers: (page?: number, pageSize?: number, search?: string, filters?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21333
|
+
getClubPlayers: (page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21321
21334
|
/**
|
|
21322
21335
|
* Nombre total d\'abonnés actifs du club
|
|
21323
21336
|
* @param {*} [options] Override http request option.
|
|
@@ -21491,10 +21504,11 @@ export declare const ClubAnalyticsStaffApiFp: (configuration?: Configuration) =>
|
|
|
21491
21504
|
* @param {number} [pageSize]
|
|
21492
21505
|
* @param {string} [search]
|
|
21493
21506
|
* @param {string} [filters]
|
|
21507
|
+
* @param {string} [sorting]
|
|
21494
21508
|
* @param {*} [options] Override http request option.
|
|
21495
21509
|
* @throws {RequiredError}
|
|
21496
21510
|
*/
|
|
21497
|
-
getClubPlayers(page?: number, pageSize?: number, search?: string, filters?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayersPaginatedResponse>>;
|
|
21511
|
+
getClubPlayers(page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayersPaginatedResponse>>;
|
|
21498
21512
|
/**
|
|
21499
21513
|
* Nombre total d\'abonnés actifs du club
|
|
21500
21514
|
* @param {*} [options] Override http request option.
|
|
@@ -21897,6 +21911,12 @@ export interface ClubAnalyticsStaffApiGetClubPlayersRequest {
|
|
|
21897
21911
|
* @memberof ClubAnalyticsStaffApiGetClubPlayers
|
|
21898
21912
|
*/
|
|
21899
21913
|
readonly filters?: string;
|
|
21914
|
+
/**
|
|
21915
|
+
*
|
|
21916
|
+
* @type {string}
|
|
21917
|
+
* @memberof ClubAnalyticsStaffApiGetClubPlayers
|
|
21918
|
+
*/
|
|
21919
|
+
readonly sorting?: string;
|
|
21900
21920
|
}
|
|
21901
21921
|
/**
|
|
21902
21922
|
* Request parameters for getDailyTurnOver operation in ClubAnalyticsStaffApi.
|
|
@@ -24961,13 +24981,14 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
|
|
|
24961
24981
|
* @param {number} [pageSize]
|
|
24962
24982
|
* @param {string} [search]
|
|
24963
24983
|
* @param {string} [filters]
|
|
24984
|
+
* @param {string} [sorting]
|
|
24964
24985
|
* @param {string} [status]
|
|
24965
24986
|
* @param {string} [startDate]
|
|
24966
24987
|
* @param {string} [endDate]
|
|
24967
24988
|
* @param {*} [options] Override http request option.
|
|
24968
24989
|
* @throws {RequiredError}
|
|
24969
24990
|
*/
|
|
24970
|
-
getInvoices: (page?: number, pageSize?: number, search?: string, filters?: string, status?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24991
|
+
getInvoices: (page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, status?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24971
24992
|
/**
|
|
24972
24993
|
*
|
|
24973
24994
|
* @param {string} id
|
|
@@ -25051,13 +25072,14 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
25051
25072
|
* @param {number} [pageSize]
|
|
25052
25073
|
* @param {string} [search]
|
|
25053
25074
|
* @param {string} [filters]
|
|
25075
|
+
* @param {string} [sorting]
|
|
25054
25076
|
* @param {string} [status]
|
|
25055
25077
|
* @param {string} [startDate]
|
|
25056
25078
|
* @param {string} [endDate]
|
|
25057
25079
|
* @param {*} [options] Override http request option.
|
|
25058
25080
|
* @throws {RequiredError}
|
|
25059
25081
|
*/
|
|
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>>;
|
|
25082
|
+
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
25083
|
/**
|
|
25062
25084
|
*
|
|
25063
25085
|
* @param {string} id
|
|
@@ -25205,6 +25227,12 @@ export interface ClubsStaffApiGetInvoicesRequest {
|
|
|
25205
25227
|
* @memberof ClubsStaffApiGetInvoices
|
|
25206
25228
|
*/
|
|
25207
25229
|
readonly filters?: string;
|
|
25230
|
+
/**
|
|
25231
|
+
*
|
|
25232
|
+
* @type {string}
|
|
25233
|
+
* @memberof ClubsStaffApiGetInvoices
|
|
25234
|
+
*/
|
|
25235
|
+
readonly sorting?: string;
|
|
25208
25236
|
/**
|
|
25209
25237
|
*
|
|
25210
25238
|
* @type {string}
|
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
|
@@ -1122,6 +1122,12 @@ export interface BookingPriceResponse {
|
|
|
1122
1122
|
* @memberof BookingPriceResponse
|
|
1123
1123
|
*/
|
|
1124
1124
|
'creatorNeedsToRegisterPaymentMethod': boolean;
|
|
1125
|
+
/**
|
|
1126
|
+
*
|
|
1127
|
+
* @type {boolean}
|
|
1128
|
+
* @memberof BookingPriceResponse
|
|
1129
|
+
*/
|
|
1130
|
+
'needsToSetupPaymentMethod'?: boolean;
|
|
1125
1131
|
/**
|
|
1126
1132
|
*
|
|
1127
1133
|
* @type {number}
|
|
@@ -12044,6 +12050,12 @@ export interface OpenBookingJoinEstimateResponse {
|
|
|
12044
12050
|
* @memberof OpenBookingJoinEstimateResponse
|
|
12045
12051
|
*/
|
|
12046
12052
|
'availableSlots': number;
|
|
12053
|
+
/**
|
|
12054
|
+
* Indique si l\'utilisateur doit configurer une méthode de paiement pour couvrir la politique no-show du club.
|
|
12055
|
+
* @type {boolean}
|
|
12056
|
+
* @memberof OpenBookingJoinEstimateResponse
|
|
12057
|
+
*/
|
|
12058
|
+
'needsToSetupPaymentMethod'?: boolean;
|
|
12047
12059
|
}
|
|
12048
12060
|
/**
|
|
12049
12061
|
*
|
|
@@ -21314,10 +21326,11 @@ export declare const ClubAnalyticsStaffApiAxiosParamCreator: (configuration?: Co
|
|
|
21314
21326
|
* @param {number} [pageSize]
|
|
21315
21327
|
* @param {string} [search]
|
|
21316
21328
|
* @param {string} [filters]
|
|
21329
|
+
* @param {string} [sorting]
|
|
21317
21330
|
* @param {*} [options] Override http request option.
|
|
21318
21331
|
* @throws {RequiredError}
|
|
21319
21332
|
*/
|
|
21320
|
-
getClubPlayers: (page?: number, pageSize?: number, search?: string, filters?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21333
|
+
getClubPlayers: (page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
21321
21334
|
/**
|
|
21322
21335
|
* Nombre total d\'abonnés actifs du club
|
|
21323
21336
|
* @param {*} [options] Override http request option.
|
|
@@ -21491,10 +21504,11 @@ export declare const ClubAnalyticsStaffApiFp: (configuration?: Configuration) =>
|
|
|
21491
21504
|
* @param {number} [pageSize]
|
|
21492
21505
|
* @param {string} [search]
|
|
21493
21506
|
* @param {string} [filters]
|
|
21507
|
+
* @param {string} [sorting]
|
|
21494
21508
|
* @param {*} [options] Override http request option.
|
|
21495
21509
|
* @throws {RequiredError}
|
|
21496
21510
|
*/
|
|
21497
|
-
getClubPlayers(page?: number, pageSize?: number, search?: string, filters?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayersPaginatedResponse>>;
|
|
21511
|
+
getClubPlayers(page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayersPaginatedResponse>>;
|
|
21498
21512
|
/**
|
|
21499
21513
|
* Nombre total d\'abonnés actifs du club
|
|
21500
21514
|
* @param {*} [options] Override http request option.
|
|
@@ -21897,6 +21911,12 @@ export interface ClubAnalyticsStaffApiGetClubPlayersRequest {
|
|
|
21897
21911
|
* @memberof ClubAnalyticsStaffApiGetClubPlayers
|
|
21898
21912
|
*/
|
|
21899
21913
|
readonly filters?: string;
|
|
21914
|
+
/**
|
|
21915
|
+
*
|
|
21916
|
+
* @type {string}
|
|
21917
|
+
* @memberof ClubAnalyticsStaffApiGetClubPlayers
|
|
21918
|
+
*/
|
|
21919
|
+
readonly sorting?: string;
|
|
21900
21920
|
}
|
|
21901
21921
|
/**
|
|
21902
21922
|
* Request parameters for getDailyTurnOver operation in ClubAnalyticsStaffApi.
|
|
@@ -24961,13 +24981,14 @@ export declare const ClubsStaffApiAxiosParamCreator: (configuration?: Configurat
|
|
|
24961
24981
|
* @param {number} [pageSize]
|
|
24962
24982
|
* @param {string} [search]
|
|
24963
24983
|
* @param {string} [filters]
|
|
24984
|
+
* @param {string} [sorting]
|
|
24964
24985
|
* @param {string} [status]
|
|
24965
24986
|
* @param {string} [startDate]
|
|
24966
24987
|
* @param {string} [endDate]
|
|
24967
24988
|
* @param {*} [options] Override http request option.
|
|
24968
24989
|
* @throws {RequiredError}
|
|
24969
24990
|
*/
|
|
24970
|
-
getInvoices: (page?: number, pageSize?: number, search?: string, filters?: string, status?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24991
|
+
getInvoices: (page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, status?: string, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
24971
24992
|
/**
|
|
24972
24993
|
*
|
|
24973
24994
|
* @param {string} id
|
|
@@ -25051,13 +25072,14 @@ export declare const ClubsStaffApiFp: (configuration?: Configuration) => {
|
|
|
25051
25072
|
* @param {number} [pageSize]
|
|
25052
25073
|
* @param {string} [search]
|
|
25053
25074
|
* @param {string} [filters]
|
|
25075
|
+
* @param {string} [sorting]
|
|
25054
25076
|
* @param {string} [status]
|
|
25055
25077
|
* @param {string} [startDate]
|
|
25056
25078
|
* @param {string} [endDate]
|
|
25057
25079
|
* @param {*} [options] Override http request option.
|
|
25058
25080
|
* @throws {RequiredError}
|
|
25059
25081
|
*/
|
|
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>>;
|
|
25082
|
+
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
25083
|
/**
|
|
25062
25084
|
*
|
|
25063
25085
|
* @param {string} id
|
|
@@ -25205,6 +25227,12 @@ export interface ClubsStaffApiGetInvoicesRequest {
|
|
|
25205
25227
|
* @memberof ClubsStaffApiGetInvoices
|
|
25206
25228
|
*/
|
|
25207
25229
|
readonly filters?: string;
|
|
25230
|
+
/**
|
|
25231
|
+
*
|
|
25232
|
+
* @type {string}
|
|
25233
|
+
* @memberof ClubsStaffApiGetInvoices
|
|
25234
|
+
*/
|
|
25235
|
+
readonly sorting?: string;
|
|
25208
25236
|
/**
|
|
25209
25237
|
*
|
|
25210
25238
|
* @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
|
*
|
|
@@ -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<PlayerPrice>**](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
|
};
|
|
@@ -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
|
package/docs/ClubsStaffApi.md
CHANGED
|
@@ -451,6 +451,7 @@ let page: number; // (optional) (default to undefined)
|
|
|
451
451
|
let pageSize: number; // (optional) (default to undefined)
|
|
452
452
|
let search: string; // (optional) (default to undefined)
|
|
453
453
|
let filters: string; // (optional) (default to undefined)
|
|
454
|
+
let sorting: string; // (optional) (default to undefined)
|
|
454
455
|
let status: string; // (optional) (default to undefined)
|
|
455
456
|
let startDate: string; // (optional) (default to undefined)
|
|
456
457
|
let endDate: string; // (optional) (default to undefined)
|
|
@@ -460,6 +461,7 @@ const { status, data } = await apiInstance.getInvoices(
|
|
|
460
461
|
pageSize,
|
|
461
462
|
search,
|
|
462
463
|
filters,
|
|
464
|
+
sorting,
|
|
463
465
|
status,
|
|
464
466
|
startDate,
|
|
465
467
|
endDate
|
|
@@ -474,6 +476,7 @@ const { status, data } = await apiInstance.getInvoices(
|
|
|
474
476
|
| **pageSize** | [**number**] | | (optional) defaults to undefined|
|
|
475
477
|
| **search** | [**string**] | | (optional) defaults to undefined|
|
|
476
478
|
| **filters** | [**string**] | | (optional) defaults to undefined|
|
|
479
|
+
| **sorting** | [**string**] | | (optional) defaults to undefined|
|
|
477
480
|
| **status** | [**string**] | | (optional) defaults to undefined|
|
|
478
481
|
| **startDate** | [**string**] | | (optional) defaults to undefined|
|
|
479
482
|
| **endDate** | [**string**] | | (optional) defaults to undefined|
|
|
@@ -9,6 +9,7 @@ Name | Type | Description | Notes
|
|
|
9
9
|
**playersPrices** | [**Array<PlayerPrice>**](PlayerPrice.md) | Détails de prix pour chaque joueur qui rejoint | [default to undefined]
|
|
10
10
|
**availableCreditsInCents** | **number** | Crédits disponibles pour l\'utilisateur qui demande à rejoindre (en centimes) | [default to undefined]
|
|
11
11
|
**availableSlots** | **number** | Nombre de places restantes | [default to undefined]
|
|
12
|
+
**needsToSetupPaymentMethod** | **boolean** | Indique si l\'utilisateur doit configurer une méthode de paiement pour couvrir la politique no-show du club. | [optional] [default to undefined]
|
|
12
13
|
|
|
13
14
|
## Example
|
|
14
15
|
|
|
@@ -20,6 +21,7 @@ const instance: OpenBookingJoinEstimateResponse = {
|
|
|
20
21
|
playersPrices,
|
|
21
22
|
availableCreditsInCents,
|
|
22
23
|
availableSlots,
|
|
24
|
+
needsToSetupPaymentMethod,
|
|
23
25
|
};
|
|
24
26
|
```
|
|
25
27
|
|