@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/api.ts +126 -10
- package/dist/api.d.ts +110 -4
- package/dist/api.js +20 -10
- package/dist/esm/api.d.ts +110 -4
- package/dist/esm/api.js +20 -10
- package/docs/BookingPopulated.md +2 -0
- package/docs/BookingPriceResponse.md +2 -0
- package/docs/CaptureResult.md +2 -0
- package/docs/ClubAnalyticsStaffApi.md +4 -1
- package/docs/ClubPageResponse.md +2 -0
- package/docs/ClubPlayerResponse.md +2 -0
- package/docs/ClubResponse.md +2 -0
- package/docs/ClubsStaffApi.md +3 -0
- package/docs/EventBookingResponse.md +2 -0
- package/docs/EventBookingResponsePaymentPerPlayersInner.md +2 -0
- package/docs/EventBookingResponsePlayersInner.md +2 -0
- package/docs/GetOpenEventBookingsBySport200ResponseEventBookingsInner.md +2 -0
- package/docs/OpenBookingJoinEstimateResponse.md +2 -0
- package/docs/PartialClubActiveResponse.md +2 -0
- package/docs/PartialPaymentRequirementsSettings.md +2 -0
- package/docs/PaymentRequirementsSettings.md +2 -0
- package/docs/PlayerSummary.md +2 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1025,6 +1025,12 @@ export interface BookingPopulated {
|
|
|
1025
1025
|
* @memberof BookingPopulated
|
|
1026
1026
|
*/
|
|
1027
1027
|
'initialPlayers'?: Array<UserInfo>;
|
|
1028
|
+
/**
|
|
1029
|
+
* Joueurs ayant rejoint après la création (pour les créneaux ouverts)
|
|
1030
|
+
* @type {Array<UserInfo>}
|
|
1031
|
+
* @memberof BookingPopulated
|
|
1032
|
+
*/
|
|
1033
|
+
'joinedPlayers'?: Array<UserInfo>;
|
|
1028
1034
|
/**
|
|
1029
1035
|
* Statut des paiements par joueur
|
|
1030
1036
|
* @type {Array<PaymentByPlayerInfo>}
|
|
@@ -1149,6 +1155,12 @@ export interface BookingPriceResponse {
|
|
|
1149
1155
|
* @memberof BookingPriceResponse
|
|
1150
1156
|
*/
|
|
1151
1157
|
'creatorNeedsToRegisterPaymentMethod': boolean;
|
|
1158
|
+
/**
|
|
1159
|
+
*
|
|
1160
|
+
* @type {boolean}
|
|
1161
|
+
* @memberof BookingPriceResponse
|
|
1162
|
+
*/
|
|
1163
|
+
'needsToSetupPaymentMethod'?: boolean;
|
|
1152
1164
|
/**
|
|
1153
1165
|
*
|
|
1154
1166
|
* @type {number}
|
|
@@ -1816,6 +1828,12 @@ export interface CaptureResult {
|
|
|
1816
1828
|
* @memberof CaptureResult
|
|
1817
1829
|
*/
|
|
1818
1830
|
'amount'?: number;
|
|
1831
|
+
/**
|
|
1832
|
+
* URL de reçu Stripe
|
|
1833
|
+
* @type {string}
|
|
1834
|
+
* @memberof CaptureResult
|
|
1835
|
+
*/
|
|
1836
|
+
'receiptUrl'?: string;
|
|
1819
1837
|
/**
|
|
1820
1838
|
* Statut de la capture
|
|
1821
1839
|
* @type {string}
|
|
@@ -3595,6 +3613,12 @@ export interface ClubPageResponse {
|
|
|
3595
3613
|
* @memberof ClubPageResponse
|
|
3596
3614
|
*/
|
|
3597
3615
|
'isNoShowEnabled'?: boolean;
|
|
3616
|
+
/**
|
|
3617
|
+
* Indique si les réservations (booking/open booking/event registration) sont activées
|
|
3618
|
+
* @type {boolean}
|
|
3619
|
+
* @memberof ClubPageResponse
|
|
3620
|
+
*/
|
|
3621
|
+
'isBookingEnabled'?: boolean;
|
|
3598
3622
|
/**
|
|
3599
3623
|
*
|
|
3600
3624
|
* @type {ClubPageResponseClubCustomerStatus}
|
|
@@ -4050,6 +4074,12 @@ export interface ClubPlayerResponse {
|
|
|
4050
4074
|
* @memberof ClubPlayerResponse
|
|
4051
4075
|
*/
|
|
4052
4076
|
'profilePicture'?: string;
|
|
4077
|
+
/**
|
|
4078
|
+
* Avatar (alias de profilePicture)
|
|
4079
|
+
* @type {string}
|
|
4080
|
+
* @memberof ClubPlayerResponse
|
|
4081
|
+
*/
|
|
4082
|
+
'avatar'?: string;
|
|
4053
4083
|
/**
|
|
4054
4084
|
* Compte vérifié
|
|
4055
4085
|
* @type {boolean}
|
|
@@ -4671,6 +4701,12 @@ export interface ClubResponse {
|
|
|
4671
4701
|
* @memberof ClubResponse
|
|
4672
4702
|
*/
|
|
4673
4703
|
'isNoShowEnabled'?: boolean;
|
|
4704
|
+
/**
|
|
4705
|
+
* Indique si les réservations (booking/open booking/event registration) sont activées
|
|
4706
|
+
* @type {boolean}
|
|
4707
|
+
* @memberof ClubResponse
|
|
4708
|
+
*/
|
|
4709
|
+
'isBookingEnabled'?: boolean;
|
|
4674
4710
|
/**
|
|
4675
4711
|
* Liste des sports proposés par le club (identifiés par leur clé)
|
|
4676
4712
|
* @type {Array<string>}
|
|
@@ -7150,6 +7186,12 @@ export interface EventBookingResponse {
|
|
|
7150
7186
|
* @memberof EventBookingResponse
|
|
7151
7187
|
*/
|
|
7152
7188
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
7189
|
+
/**
|
|
7190
|
+
*
|
|
7191
|
+
* @type {Array<EventBookingResponsePlayersInner>}
|
|
7192
|
+
* @memberof EventBookingResponse
|
|
7193
|
+
*/
|
|
7194
|
+
'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
|
|
7153
7195
|
/**
|
|
7154
7196
|
*
|
|
7155
7197
|
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
@@ -7276,6 +7318,12 @@ export interface EventBookingResponsePaymentPerPlayersInner {
|
|
|
7276
7318
|
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
7277
7319
|
*/
|
|
7278
7320
|
'photo'?: string | null;
|
|
7321
|
+
/**
|
|
7322
|
+
*
|
|
7323
|
+
* @type {string}
|
|
7324
|
+
* @memberof EventBookingResponsePaymentPerPlayersInner
|
|
7325
|
+
*/
|
|
7326
|
+
'username'?: string | null;
|
|
7279
7327
|
/**
|
|
7280
7328
|
*
|
|
7281
7329
|
* @type {string}
|
|
@@ -7313,6 +7361,12 @@ export interface EventBookingResponsePlayersInner {
|
|
|
7313
7361
|
* @memberof EventBookingResponsePlayersInner
|
|
7314
7362
|
*/
|
|
7315
7363
|
'profilePicture'?: string | null;
|
|
7364
|
+
/**
|
|
7365
|
+
*
|
|
7366
|
+
* @type {string}
|
|
7367
|
+
* @memberof EventBookingResponsePlayersInner
|
|
7368
|
+
*/
|
|
7369
|
+
'username'?: string | null;
|
|
7316
7370
|
/**
|
|
7317
7371
|
*
|
|
7318
7372
|
* @type {string}
|
|
@@ -8586,6 +8640,12 @@ export interface GetOpenEventBookingsBySport200ResponseEventBookingsInner {
|
|
|
8586
8640
|
* @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
|
|
8587
8641
|
*/
|
|
8588
8642
|
'players': Array<EventBookingResponsePlayersInner>;
|
|
8643
|
+
/**
|
|
8644
|
+
*
|
|
8645
|
+
* @type {Array<EventBookingResponsePlayersInner>}
|
|
8646
|
+
* @memberof GetOpenEventBookingsBySport200ResponseEventBookingsInner
|
|
8647
|
+
*/
|
|
8648
|
+
'initialPlayers'?: Array<EventBookingResponsePlayersInner>;
|
|
8589
8649
|
/**
|
|
8590
8650
|
*
|
|
8591
8651
|
* @type {Array<EventBookingResponsePaymentPerPlayersInner>}
|
|
@@ -12216,6 +12276,12 @@ export interface OpenBookingJoinEstimateResponse {
|
|
|
12216
12276
|
* @memberof OpenBookingJoinEstimateResponse
|
|
12217
12277
|
*/
|
|
12218
12278
|
'availableSlots': number;
|
|
12279
|
+
/**
|
|
12280
|
+
* Indique si l\'utilisateur doit configurer une méthode de paiement pour couvrir la politique no-show du club.
|
|
12281
|
+
* @type {boolean}
|
|
12282
|
+
* @memberof OpenBookingJoinEstimateResponse
|
|
12283
|
+
*/
|
|
12284
|
+
'needsToSetupPaymentMethod'?: boolean;
|
|
12219
12285
|
}
|
|
12220
12286
|
/**
|
|
12221
12287
|
*
|
|
@@ -12390,6 +12456,12 @@ export interface PartialClubActiveResponse {
|
|
|
12390
12456
|
* @memberof PartialClubActiveResponse
|
|
12391
12457
|
*/
|
|
12392
12458
|
'isNoShowEnabled'?: boolean;
|
|
12459
|
+
/**
|
|
12460
|
+
*
|
|
12461
|
+
* @type {boolean}
|
|
12462
|
+
* @memberof PartialClubActiveResponse
|
|
12463
|
+
*/
|
|
12464
|
+
'isBookingEnabled'?: boolean;
|
|
12393
12465
|
/**
|
|
12394
12466
|
*
|
|
12395
12467
|
* @type {Array<string>}
|
|
@@ -12501,6 +12573,12 @@ export interface PartialPaymentRequirementsSettings {
|
|
|
12501
12573
|
* @memberof PartialPaymentRequirementsSettings
|
|
12502
12574
|
*/
|
|
12503
12575
|
'isNoShowEnabled'?: boolean;
|
|
12576
|
+
/**
|
|
12577
|
+
*
|
|
12578
|
+
* @type {boolean}
|
|
12579
|
+
* @memberof PartialPaymentRequirementsSettings
|
|
12580
|
+
*/
|
|
12581
|
+
'isBookingEnabled'?: boolean;
|
|
12504
12582
|
/**
|
|
12505
12583
|
*
|
|
12506
12584
|
* @type {boolean}
|
|
@@ -12843,6 +12921,12 @@ export interface PaymentRequirementsSettings {
|
|
|
12843
12921
|
* @memberof PaymentRequirementsSettings
|
|
12844
12922
|
*/
|
|
12845
12923
|
'isNoShowEnabled': boolean;
|
|
12924
|
+
/**
|
|
12925
|
+
*
|
|
12926
|
+
* @type {boolean}
|
|
12927
|
+
* @memberof PaymentRequirementsSettings
|
|
12928
|
+
*/
|
|
12929
|
+
'isBookingEnabled': boolean;
|
|
12846
12930
|
/**
|
|
12847
12931
|
*
|
|
12848
12932
|
* @type {boolean}
|
|
@@ -13288,6 +13372,12 @@ export interface PlayerSummary {
|
|
|
13288
13372
|
* @memberof PlayerSummary
|
|
13289
13373
|
*/
|
|
13290
13374
|
'profilePicture'?: string | null;
|
|
13375
|
+
/**
|
|
13376
|
+
*
|
|
13377
|
+
* @type {string}
|
|
13378
|
+
* @memberof PlayerSummary
|
|
13379
|
+
*/
|
|
13380
|
+
'avatar'?: string | null;
|
|
13291
13381
|
/**
|
|
13292
13382
|
*
|
|
13293
13383
|
* @type {Gender}
|
|
@@ -23687,10 +23777,11 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
23687
23777
|
* @param {number} [pageSize]
|
|
23688
23778
|
* @param {string} [search]
|
|
23689
23779
|
* @param {string} [filters]
|
|
23780
|
+
* @param {string} [sorting]
|
|
23690
23781
|
* @param {*} [options] Override http request option.
|
|
23691
23782
|
* @throws {RequiredError}
|
|
23692
23783
|
*/
|
|
23693
|
-
getClubPlayers: async (page?: number, pageSize?: number, search?: string, filters?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23784
|
+
getClubPlayers: async (page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
23694
23785
|
const localVarPath = `/api/club-analytics/players`;
|
|
23695
23786
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
23696
23787
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -23723,6 +23814,10 @@ export const ClubAnalyticsStaffApiAxiosParamCreator = function (configuration?:
|
|
|
23723
23814
|
localVarQueryParameter['filters'] = filters;
|
|
23724
23815
|
}
|
|
23725
23816
|
|
|
23817
|
+
if (sorting !== undefined) {
|
|
23818
|
+
localVarQueryParameter['sorting'] = sorting;
|
|
23819
|
+
}
|
|
23820
|
+
|
|
23726
23821
|
|
|
23727
23822
|
|
|
23728
23823
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -24490,11 +24585,12 @@ export const ClubAnalyticsStaffApiFp = function(configuration?: Configuration) {
|
|
|
24490
24585
|
* @param {number} [pageSize]
|
|
24491
24586
|
* @param {string} [search]
|
|
24492
24587
|
* @param {string} [filters]
|
|
24588
|
+
* @param {string} [sorting]
|
|
24493
24589
|
* @param {*} [options] Override http request option.
|
|
24494
24590
|
* @throws {RequiredError}
|
|
24495
24591
|
*/
|
|
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);
|
|
24592
|
+
async getClubPlayers(page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubPlayersPaginatedResponse>> {
|
|
24593
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClubPlayers(page, pageSize, search, filters, sorting, options);
|
|
24498
24594
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24499
24595
|
const localVarOperationServerBasePath = operationServerMap['ClubAnalyticsStaffApi.getClubPlayers']?.[localVarOperationServerIndex]?.url;
|
|
24500
24596
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -24774,7 +24870,7 @@ export const ClubAnalyticsStaffApiFactory = function (configuration?: Configurat
|
|
|
24774
24870
|
* @throws {RequiredError}
|
|
24775
24871
|
*/
|
|
24776
24872
|
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));
|
|
24873
|
+
return localVarFp.getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.sorting, options).then((request) => request(axios, basePath));
|
|
24778
24874
|
},
|
|
24779
24875
|
/**
|
|
24780
24876
|
* Nombre total d\'abonnés actifs du club
|
|
@@ -25056,6 +25152,13 @@ export interface ClubAnalyticsStaffApiGetClubPlayersRequest {
|
|
|
25056
25152
|
* @memberof ClubAnalyticsStaffApiGetClubPlayers
|
|
25057
25153
|
*/
|
|
25058
25154
|
readonly filters?: string
|
|
25155
|
+
|
|
25156
|
+
/**
|
|
25157
|
+
*
|
|
25158
|
+
* @type {string}
|
|
25159
|
+
* @memberof ClubAnalyticsStaffApiGetClubPlayers
|
|
25160
|
+
*/
|
|
25161
|
+
readonly sorting?: string
|
|
25059
25162
|
}
|
|
25060
25163
|
|
|
25061
25164
|
/**
|
|
@@ -25296,7 +25399,7 @@ export class ClubAnalyticsStaffApi extends BaseAPI {
|
|
|
25296
25399
|
* @memberof ClubAnalyticsStaffApi
|
|
25297
25400
|
*/
|
|
25298
25401
|
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));
|
|
25402
|
+
return ClubAnalyticsStaffApiFp(this.configuration).getClubPlayers(requestParameters.page, requestParameters.pageSize, requestParameters.search, requestParameters.filters, requestParameters.sorting, options).then((request) => request(this.axios, this.basePath));
|
|
25300
25403
|
}
|
|
25301
25404
|
|
|
25302
25405
|
/**
|
|
@@ -31021,13 +31124,14 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
31021
31124
|
* @param {number} [pageSize]
|
|
31022
31125
|
* @param {string} [search]
|
|
31023
31126
|
* @param {string} [filters]
|
|
31127
|
+
* @param {string} [sorting]
|
|
31024
31128
|
* @param {string} [status]
|
|
31025
31129
|
* @param {string} [startDate]
|
|
31026
31130
|
* @param {string} [endDate]
|
|
31027
31131
|
* @param {*} [options] Override http request option.
|
|
31028
31132
|
* @throws {RequiredError}
|
|
31029
31133
|
*/
|
|
31030
|
-
getInvoices: async (page?: number, pageSize?: number, search?: string, filters?: string, status?: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31134
|
+
getInvoices: async (page?: number, pageSize?: number, search?: string, filters?: string, sorting?: string, status?: string, startDate?: string, endDate?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
31031
31135
|
const localVarPath = `/api/clubs/invoices`;
|
|
31032
31136
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
31033
31137
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -31060,6 +31164,10 @@ export const ClubsStaffApiAxiosParamCreator = function (configuration?: Configur
|
|
|
31060
31164
|
localVarQueryParameter['filters'] = filters;
|
|
31061
31165
|
}
|
|
31062
31166
|
|
|
31167
|
+
if (sorting !== undefined) {
|
|
31168
|
+
localVarQueryParameter['sorting'] = sorting;
|
|
31169
|
+
}
|
|
31170
|
+
|
|
31063
31171
|
if (status !== undefined) {
|
|
31064
31172
|
localVarQueryParameter['status'] = status;
|
|
31065
31173
|
}
|
|
@@ -31280,14 +31388,15 @@ export const ClubsStaffApiFp = function(configuration?: Configuration) {
|
|
|
31280
31388
|
* @param {number} [pageSize]
|
|
31281
31389
|
* @param {string} [search]
|
|
31282
31390
|
* @param {string} [filters]
|
|
31391
|
+
* @param {string} [sorting]
|
|
31283
31392
|
* @param {string} [status]
|
|
31284
31393
|
* @param {string} [startDate]
|
|
31285
31394
|
* @param {string} [endDate]
|
|
31286
31395
|
* @param {*} [options] Override http request option.
|
|
31287
31396
|
* @throws {RequiredError}
|
|
31288
31397
|
*/
|
|
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);
|
|
31398
|
+
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>> {
|
|
31399
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getInvoices(page, pageSize, search, filters, sorting, status, startDate, endDate, options);
|
|
31291
31400
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
31292
31401
|
const localVarOperationServerBasePath = operationServerMap['ClubsStaffApi.getInvoices']?.[localVarOperationServerIndex]?.url;
|
|
31293
31402
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -31407,7 +31516,7 @@ export const ClubsStaffApiFactory = function (configuration?: Configuration, bas
|
|
|
31407
31516
|
* @throws {RequiredError}
|
|
31408
31517
|
*/
|
|
31409
31518
|
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));
|
|
31519
|
+
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
31520
|
},
|
|
31412
31521
|
/**
|
|
31413
31522
|
*
|
|
@@ -31485,6 +31594,13 @@ export interface ClubsStaffApiGetInvoicesRequest {
|
|
|
31485
31594
|
*/
|
|
31486
31595
|
readonly filters?: string
|
|
31487
31596
|
|
|
31597
|
+
/**
|
|
31598
|
+
*
|
|
31599
|
+
* @type {string}
|
|
31600
|
+
* @memberof ClubsStaffApiGetInvoices
|
|
31601
|
+
*/
|
|
31602
|
+
readonly sorting?: string
|
|
31603
|
+
|
|
31488
31604
|
/**
|
|
31489
31605
|
*
|
|
31490
31606
|
* @type {string}
|
|
@@ -31648,7 +31764,7 @@ export class ClubsStaffApi extends BaseAPI {
|
|
|
31648
31764
|
* @memberof ClubsStaffApi
|
|
31649
31765
|
*/
|
|
31650
31766
|
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));
|
|
31767
|
+
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
31768
|
}
|
|
31653
31769
|
|
|
31654
31770
|
/**
|
package/dist/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}
|