@tennac-booking/sdk 1.0.19 → 1.0.21
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/.openapi-generator/FILES +8 -0
- package/README.md +14 -3
- package/api.ts +853 -132
- package/base.ts +2 -2
- package/common.ts +2 -2
- package/configuration.ts +2 -2
- package/dist/api.d.ts +538 -46
- package/dist/api.js +412 -35
- package/dist/base.d.ts +2 -2
- package/dist/base.js +2 -2
- package/dist/common.d.ts +2 -2
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/esm/api.d.ts +538 -46
- package/dist/esm/api.js +405 -32
- package/dist/esm/base.d.ts +2 -2
- package/dist/esm/base.js +2 -2
- package/dist/esm/common.d.ts +2 -2
- package/dist/esm/common.js +2 -2
- package/dist/esm/configuration.d.ts +2 -2
- package/dist/esm/configuration.js +2 -2
- package/dist/esm/index.d.ts +2 -2
- package/dist/esm/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/docs/ClubAnalyticsApi.md +253 -0
- package/docs/DailyTurnoverResponse.md +24 -0
- package/docs/GetLastSixMonthsTurnover200ResponseInner.md +1 -1
- package/docs/InvoicesResponse.md +22 -0
- package/docs/InvoicesResponseInvoicesInner.md +34 -0
- package/docs/InvoicesResponsePagination.md +26 -0
- package/docs/MonthlyTurnoverResponse.md +28 -0
- package/docs/StaffClubAnalyticsApi.md +3 -10
- package/docs/StaffClubSettingsApi.md +5 -13
- package/docs/YearlyTurnoverResponse.md +26 -0
- package/docs/YearlyTurnoverResponseMonthlyBreakdownInner.md +24 -0
- package/index.ts +2 -2
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Pandook API
|
|
3
3
|
* API for managing pickle ball games and players
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.
|
|
5
|
+
* The version of the OpenAPI document: 1.0.21
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1695,6 +1695,31 @@ export interface CreateSubscriptionPlanRequest {
|
|
|
1695
1695
|
*/
|
|
1696
1696
|
'metadata'?: object;
|
|
1697
1697
|
}
|
|
1698
|
+
/**
|
|
1699
|
+
*
|
|
1700
|
+
* @export
|
|
1701
|
+
* @interface DailyTurnoverResponse
|
|
1702
|
+
*/
|
|
1703
|
+
export interface DailyTurnoverResponse {
|
|
1704
|
+
/**
|
|
1705
|
+
*
|
|
1706
|
+
* @type {string}
|
|
1707
|
+
* @memberof DailyTurnoverResponse
|
|
1708
|
+
*/
|
|
1709
|
+
'date'?: string;
|
|
1710
|
+
/**
|
|
1711
|
+
*
|
|
1712
|
+
* @type {number}
|
|
1713
|
+
* @memberof DailyTurnoverResponse
|
|
1714
|
+
*/
|
|
1715
|
+
'totalTurnover'?: number;
|
|
1716
|
+
/**
|
|
1717
|
+
*
|
|
1718
|
+
* @type {number}
|
|
1719
|
+
* @memberof DailyTurnoverResponse
|
|
1720
|
+
*/
|
|
1721
|
+
'invoiceCount'?: number;
|
|
1722
|
+
}
|
|
1698
1723
|
/**
|
|
1699
1724
|
*
|
|
1700
1725
|
* @export
|
|
@@ -1900,10 +1925,10 @@ export interface GetLastSixMonthsTurnover200ResponseInner {
|
|
|
1900
1925
|
'year'?: number;
|
|
1901
1926
|
/**
|
|
1902
1927
|
*
|
|
1903
|
-
* @type {
|
|
1928
|
+
* @type {string}
|
|
1904
1929
|
* @memberof GetLastSixMonthsTurnover200ResponseInner
|
|
1905
1930
|
*/
|
|
1906
|
-
'month'?:
|
|
1931
|
+
'month'?: string;
|
|
1907
1932
|
/**
|
|
1908
1933
|
*
|
|
1909
1934
|
* @type {number}
|
|
@@ -2075,6 +2100,120 @@ export interface InitiateSubscriptionSessionResponse {
|
|
|
2075
2100
|
*/
|
|
2076
2101
|
'url'?: string;
|
|
2077
2102
|
}
|
|
2103
|
+
/**
|
|
2104
|
+
*
|
|
2105
|
+
* @export
|
|
2106
|
+
* @interface InvoicesResponse
|
|
2107
|
+
*/
|
|
2108
|
+
export interface InvoicesResponse {
|
|
2109
|
+
/**
|
|
2110
|
+
*
|
|
2111
|
+
* @type {Array<InvoicesResponseInvoicesInner>}
|
|
2112
|
+
* @memberof InvoicesResponse
|
|
2113
|
+
*/
|
|
2114
|
+
'invoices'?: Array<InvoicesResponseInvoicesInner>;
|
|
2115
|
+
/**
|
|
2116
|
+
*
|
|
2117
|
+
* @type {InvoicesResponsePagination}
|
|
2118
|
+
* @memberof InvoicesResponse
|
|
2119
|
+
*/
|
|
2120
|
+
'pagination'?: InvoicesResponsePagination;
|
|
2121
|
+
}
|
|
2122
|
+
/**
|
|
2123
|
+
*
|
|
2124
|
+
* @export
|
|
2125
|
+
* @interface InvoicesResponseInvoicesInner
|
|
2126
|
+
*/
|
|
2127
|
+
export interface InvoicesResponseInvoicesInner {
|
|
2128
|
+
/**
|
|
2129
|
+
*
|
|
2130
|
+
* @type {string}
|
|
2131
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
2132
|
+
*/
|
|
2133
|
+
'billNumber'?: string;
|
|
2134
|
+
/**
|
|
2135
|
+
*
|
|
2136
|
+
* @type {string}
|
|
2137
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
2138
|
+
*/
|
|
2139
|
+
'date'?: string;
|
|
2140
|
+
/**
|
|
2141
|
+
*
|
|
2142
|
+
* @type {string}
|
|
2143
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
2144
|
+
*/
|
|
2145
|
+
'clientFirstName'?: string;
|
|
2146
|
+
/**
|
|
2147
|
+
*
|
|
2148
|
+
* @type {string}
|
|
2149
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
2150
|
+
*/
|
|
2151
|
+
'clientLastName'?: string;
|
|
2152
|
+
/**
|
|
2153
|
+
*
|
|
2154
|
+
* @type {string}
|
|
2155
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
2156
|
+
*/
|
|
2157
|
+
'clientEmail'?: string;
|
|
2158
|
+
/**
|
|
2159
|
+
*
|
|
2160
|
+
* @type {number}
|
|
2161
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
2162
|
+
*/
|
|
2163
|
+
'totalCost'?: number;
|
|
2164
|
+
/**
|
|
2165
|
+
*
|
|
2166
|
+
* @type {string}
|
|
2167
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
2168
|
+
*/
|
|
2169
|
+
'status'?: InvoicesResponseInvoicesInnerStatusEnum;
|
|
2170
|
+
/**
|
|
2171
|
+
*
|
|
2172
|
+
* @type {string}
|
|
2173
|
+
* @memberof InvoicesResponseInvoicesInner
|
|
2174
|
+
*/
|
|
2175
|
+
'linkToInvoicePDF'?: string | null;
|
|
2176
|
+
}
|
|
2177
|
+
export declare const InvoicesResponseInvoicesInnerStatusEnum: {
|
|
2178
|
+
readonly Pending: "pending";
|
|
2179
|
+
readonly Paid: "paid";
|
|
2180
|
+
readonly Failed: "failed";
|
|
2181
|
+
readonly Authorized: "authorized";
|
|
2182
|
+
readonly Canceled: "canceled";
|
|
2183
|
+
readonly Expired: "expired";
|
|
2184
|
+
};
|
|
2185
|
+
export type InvoicesResponseInvoicesInnerStatusEnum = typeof InvoicesResponseInvoicesInnerStatusEnum[keyof typeof InvoicesResponseInvoicesInnerStatusEnum];
|
|
2186
|
+
/**
|
|
2187
|
+
*
|
|
2188
|
+
* @export
|
|
2189
|
+
* @interface InvoicesResponsePagination
|
|
2190
|
+
*/
|
|
2191
|
+
export interface InvoicesResponsePagination {
|
|
2192
|
+
/**
|
|
2193
|
+
*
|
|
2194
|
+
* @type {number}
|
|
2195
|
+
* @memberof InvoicesResponsePagination
|
|
2196
|
+
*/
|
|
2197
|
+
'total'?: number;
|
|
2198
|
+
/**
|
|
2199
|
+
*
|
|
2200
|
+
* @type {number}
|
|
2201
|
+
* @memberof InvoicesResponsePagination
|
|
2202
|
+
*/
|
|
2203
|
+
'page'?: number;
|
|
2204
|
+
/**
|
|
2205
|
+
*
|
|
2206
|
+
* @type {number}
|
|
2207
|
+
* @memberof InvoicesResponsePagination
|
|
2208
|
+
*/
|
|
2209
|
+
'limit'?: number;
|
|
2210
|
+
/**
|
|
2211
|
+
*
|
|
2212
|
+
* @type {number}
|
|
2213
|
+
* @memberof InvoicesResponsePagination
|
|
2214
|
+
*/
|
|
2215
|
+
'totalPages'?: number;
|
|
2216
|
+
}
|
|
2078
2217
|
/**
|
|
2079
2218
|
*
|
|
2080
2219
|
* @export
|
|
@@ -2204,6 +2343,43 @@ export declare const ManagerCancelBookingResponseBookingStatusEnum: {
|
|
|
2204
2343
|
readonly Cancelled: "cancelled";
|
|
2205
2344
|
};
|
|
2206
2345
|
export type ManagerCancelBookingResponseBookingStatusEnum = typeof ManagerCancelBookingResponseBookingStatusEnum[keyof typeof ManagerCancelBookingResponseBookingStatusEnum];
|
|
2346
|
+
/**
|
|
2347
|
+
*
|
|
2348
|
+
* @export
|
|
2349
|
+
* @interface MonthlyTurnoverResponse
|
|
2350
|
+
*/
|
|
2351
|
+
export interface MonthlyTurnoverResponse {
|
|
2352
|
+
/**
|
|
2353
|
+
*
|
|
2354
|
+
* @type {number}
|
|
2355
|
+
* @memberof MonthlyTurnoverResponse
|
|
2356
|
+
*/
|
|
2357
|
+
'year'?: number;
|
|
2358
|
+
/**
|
|
2359
|
+
*
|
|
2360
|
+
* @type {number}
|
|
2361
|
+
* @memberof MonthlyTurnoverResponse
|
|
2362
|
+
*/
|
|
2363
|
+
'month'?: number;
|
|
2364
|
+
/**
|
|
2365
|
+
*
|
|
2366
|
+
* @type {number}
|
|
2367
|
+
* @memberof MonthlyTurnoverResponse
|
|
2368
|
+
*/
|
|
2369
|
+
'totalTurnover'?: number;
|
|
2370
|
+
/**
|
|
2371
|
+
*
|
|
2372
|
+
* @type {number}
|
|
2373
|
+
* @memberof MonthlyTurnoverResponse
|
|
2374
|
+
*/
|
|
2375
|
+
'invoiceCount'?: number;
|
|
2376
|
+
/**
|
|
2377
|
+
*
|
|
2378
|
+
* @type {string}
|
|
2379
|
+
* @memberof MonthlyTurnoverResponse
|
|
2380
|
+
*/
|
|
2381
|
+
'period'?: string;
|
|
2382
|
+
}
|
|
2207
2383
|
/**
|
|
2208
2384
|
*
|
|
2209
2385
|
* @export
|
|
@@ -3537,6 +3713,62 @@ export interface UsersResponse {
|
|
|
3537
3713
|
*/
|
|
3538
3714
|
'total'?: number;
|
|
3539
3715
|
}
|
|
3716
|
+
/**
|
|
3717
|
+
*
|
|
3718
|
+
* @export
|
|
3719
|
+
* @interface YearlyTurnoverResponse
|
|
3720
|
+
*/
|
|
3721
|
+
export interface YearlyTurnoverResponse {
|
|
3722
|
+
/**
|
|
3723
|
+
*
|
|
3724
|
+
* @type {number}
|
|
3725
|
+
* @memberof YearlyTurnoverResponse
|
|
3726
|
+
*/
|
|
3727
|
+
'year'?: number;
|
|
3728
|
+
/**
|
|
3729
|
+
*
|
|
3730
|
+
* @type {number}
|
|
3731
|
+
* @memberof YearlyTurnoverResponse
|
|
3732
|
+
*/
|
|
3733
|
+
'totalTurnover'?: number;
|
|
3734
|
+
/**
|
|
3735
|
+
*
|
|
3736
|
+
* @type {number}
|
|
3737
|
+
* @memberof YearlyTurnoverResponse
|
|
3738
|
+
*/
|
|
3739
|
+
'totalInvoices'?: number;
|
|
3740
|
+
/**
|
|
3741
|
+
*
|
|
3742
|
+
* @type {Array<YearlyTurnoverResponseMonthlyBreakdownInner>}
|
|
3743
|
+
* @memberof YearlyTurnoverResponse
|
|
3744
|
+
*/
|
|
3745
|
+
'monthlyBreakdown'?: Array<YearlyTurnoverResponseMonthlyBreakdownInner>;
|
|
3746
|
+
}
|
|
3747
|
+
/**
|
|
3748
|
+
*
|
|
3749
|
+
* @export
|
|
3750
|
+
* @interface YearlyTurnoverResponseMonthlyBreakdownInner
|
|
3751
|
+
*/
|
|
3752
|
+
export interface YearlyTurnoverResponseMonthlyBreakdownInner {
|
|
3753
|
+
/**
|
|
3754
|
+
*
|
|
3755
|
+
* @type {number}
|
|
3756
|
+
* @memberof YearlyTurnoverResponseMonthlyBreakdownInner
|
|
3757
|
+
*/
|
|
3758
|
+
'month'?: number;
|
|
3759
|
+
/**
|
|
3760
|
+
*
|
|
3761
|
+
* @type {number}
|
|
3762
|
+
* @memberof YearlyTurnoverResponseMonthlyBreakdownInner
|
|
3763
|
+
*/
|
|
3764
|
+
'monthlyTurnover'?: number;
|
|
3765
|
+
/**
|
|
3766
|
+
*
|
|
3767
|
+
* @type {number}
|
|
3768
|
+
* @memberof YearlyTurnoverResponseMonthlyBreakdownInner
|
|
3769
|
+
*/
|
|
3770
|
+
'invoiceCount'?: number;
|
|
3771
|
+
}
|
|
3540
3772
|
/**
|
|
3541
3773
|
* AdminClubSlotsApi - axios parameter creator
|
|
3542
3774
|
* @export
|
|
@@ -3790,6 +4022,300 @@ export declare class BookingsApi extends BaseAPI {
|
|
|
3790
4022
|
*/
|
|
3791
4023
|
cancelBooking(requestParameters: BookingsApiCancelBookingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelBookingResponse, any>>;
|
|
3792
4024
|
}
|
|
4025
|
+
/**
|
|
4026
|
+
* ClubAnalyticsApi - axios parameter creator
|
|
4027
|
+
* @export
|
|
4028
|
+
*/
|
|
4029
|
+
export declare const ClubAnalyticsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
4030
|
+
/**
|
|
4031
|
+
*
|
|
4032
|
+
* @summary Chiffre d\'affaires quotidien
|
|
4033
|
+
* @param {string} id ID du club
|
|
4034
|
+
* @param {string} date Date (format YYYY-MM-DD)
|
|
4035
|
+
* @param {*} [options] Override http request option.
|
|
4036
|
+
* @throws {RequiredError}
|
|
4037
|
+
*/
|
|
4038
|
+
getDailyTurnOver: (id: string, date: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4039
|
+
/**
|
|
4040
|
+
*
|
|
4041
|
+
* @summary Récupérer les factures du club
|
|
4042
|
+
* @param {string} id ID du club
|
|
4043
|
+
* @param {number} [page] Numéro de page
|
|
4044
|
+
* @param {number} [limit] Nombre d\'éléments par page
|
|
4045
|
+
* @param {GetInvoicesStatusEnum} [status] Filtrer par statut
|
|
4046
|
+
* @param {string} [startDate] Date de début (ISO format)
|
|
4047
|
+
* @param {string} [endDate] Date de fin (ISO format)
|
|
4048
|
+
* @param {*} [options] Override http request option.
|
|
4049
|
+
* @throws {RequiredError}
|
|
4050
|
+
*/
|
|
4051
|
+
getInvoices: (id: string, page?: number, limit?: number, status?: GetInvoicesStatusEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4052
|
+
/**
|
|
4053
|
+
*
|
|
4054
|
+
* @summary Chiffre d\'affaires mensuel
|
|
4055
|
+
* @param {string} id ID du club
|
|
4056
|
+
* @param {number} year Année
|
|
4057
|
+
* @param {number} month Mois (1-12)
|
|
4058
|
+
* @param {*} [options] Override http request option.
|
|
4059
|
+
* @throws {RequiredError}
|
|
4060
|
+
*/
|
|
4061
|
+
getMonthlyTurnOver: (id: string, year: number, month: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4062
|
+
/**
|
|
4063
|
+
*
|
|
4064
|
+
* @summary Chiffre d\'affaires annuel
|
|
4065
|
+
* @param {string} id ID du club
|
|
4066
|
+
* @param {number} year Année
|
|
4067
|
+
* @param {*} [options] Override http request option.
|
|
4068
|
+
* @throws {RequiredError}
|
|
4069
|
+
*/
|
|
4070
|
+
getYearlyTurnOver: (id: string, year: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
4071
|
+
};
|
|
4072
|
+
/**
|
|
4073
|
+
* ClubAnalyticsApi - functional programming interface
|
|
4074
|
+
* @export
|
|
4075
|
+
*/
|
|
4076
|
+
export declare const ClubAnalyticsApiFp: (configuration?: Configuration) => {
|
|
4077
|
+
/**
|
|
4078
|
+
*
|
|
4079
|
+
* @summary Chiffre d\'affaires quotidien
|
|
4080
|
+
* @param {string} id ID du club
|
|
4081
|
+
* @param {string} date Date (format YYYY-MM-DD)
|
|
4082
|
+
* @param {*} [options] Override http request option.
|
|
4083
|
+
* @throws {RequiredError}
|
|
4084
|
+
*/
|
|
4085
|
+
getDailyTurnOver(id: string, date: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DailyTurnoverResponse>>;
|
|
4086
|
+
/**
|
|
4087
|
+
*
|
|
4088
|
+
* @summary Récupérer les factures du club
|
|
4089
|
+
* @param {string} id ID du club
|
|
4090
|
+
* @param {number} [page] Numéro de page
|
|
4091
|
+
* @param {number} [limit] Nombre d\'éléments par page
|
|
4092
|
+
* @param {GetInvoicesStatusEnum} [status] Filtrer par statut
|
|
4093
|
+
* @param {string} [startDate] Date de début (ISO format)
|
|
4094
|
+
* @param {string} [endDate] Date de fin (ISO format)
|
|
4095
|
+
* @param {*} [options] Override http request option.
|
|
4096
|
+
* @throws {RequiredError}
|
|
4097
|
+
*/
|
|
4098
|
+
getInvoices(id: string, page?: number, limit?: number, status?: GetInvoicesStatusEnum, startDate?: string, endDate?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InvoicesResponse>>;
|
|
4099
|
+
/**
|
|
4100
|
+
*
|
|
4101
|
+
* @summary Chiffre d\'affaires mensuel
|
|
4102
|
+
* @param {string} id ID du club
|
|
4103
|
+
* @param {number} year Année
|
|
4104
|
+
* @param {number} month Mois (1-12)
|
|
4105
|
+
* @param {*} [options] Override http request option.
|
|
4106
|
+
* @throws {RequiredError}
|
|
4107
|
+
*/
|
|
4108
|
+
getMonthlyTurnOver(id: string, year: number, month: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MonthlyTurnoverResponse>>;
|
|
4109
|
+
/**
|
|
4110
|
+
*
|
|
4111
|
+
* @summary Chiffre d\'affaires annuel
|
|
4112
|
+
* @param {string} id ID du club
|
|
4113
|
+
* @param {number} year Année
|
|
4114
|
+
* @param {*} [options] Override http request option.
|
|
4115
|
+
* @throws {RequiredError}
|
|
4116
|
+
*/
|
|
4117
|
+
getYearlyTurnOver(id: string, year: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<YearlyTurnoverResponse>>;
|
|
4118
|
+
};
|
|
4119
|
+
/**
|
|
4120
|
+
* ClubAnalyticsApi - factory interface
|
|
4121
|
+
* @export
|
|
4122
|
+
*/
|
|
4123
|
+
export declare const ClubAnalyticsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
4124
|
+
/**
|
|
4125
|
+
*
|
|
4126
|
+
* @summary Chiffre d\'affaires quotidien
|
|
4127
|
+
* @param {ClubAnalyticsApiGetDailyTurnOverRequest} requestParameters Request parameters.
|
|
4128
|
+
* @param {*} [options] Override http request option.
|
|
4129
|
+
* @throws {RequiredError}
|
|
4130
|
+
*/
|
|
4131
|
+
getDailyTurnOver(requestParameters: ClubAnalyticsApiGetDailyTurnOverRequest, options?: RawAxiosRequestConfig): AxiosPromise<DailyTurnoverResponse>;
|
|
4132
|
+
/**
|
|
4133
|
+
*
|
|
4134
|
+
* @summary Récupérer les factures du club
|
|
4135
|
+
* @param {ClubAnalyticsApiGetInvoicesRequest} requestParameters Request parameters.
|
|
4136
|
+
* @param {*} [options] Override http request option.
|
|
4137
|
+
* @throws {RequiredError}
|
|
4138
|
+
*/
|
|
4139
|
+
getInvoices(requestParameters: ClubAnalyticsApiGetInvoicesRequest, options?: RawAxiosRequestConfig): AxiosPromise<InvoicesResponse>;
|
|
4140
|
+
/**
|
|
4141
|
+
*
|
|
4142
|
+
* @summary Chiffre d\'affaires mensuel
|
|
4143
|
+
* @param {ClubAnalyticsApiGetMonthlyTurnOverRequest} requestParameters Request parameters.
|
|
4144
|
+
* @param {*} [options] Override http request option.
|
|
4145
|
+
* @throws {RequiredError}
|
|
4146
|
+
*/
|
|
4147
|
+
getMonthlyTurnOver(requestParameters: ClubAnalyticsApiGetMonthlyTurnOverRequest, options?: RawAxiosRequestConfig): AxiosPromise<MonthlyTurnoverResponse>;
|
|
4148
|
+
/**
|
|
4149
|
+
*
|
|
4150
|
+
* @summary Chiffre d\'affaires annuel
|
|
4151
|
+
* @param {ClubAnalyticsApiGetYearlyTurnOverRequest} requestParameters Request parameters.
|
|
4152
|
+
* @param {*} [options] Override http request option.
|
|
4153
|
+
* @throws {RequiredError}
|
|
4154
|
+
*/
|
|
4155
|
+
getYearlyTurnOver(requestParameters: ClubAnalyticsApiGetYearlyTurnOverRequest, options?: RawAxiosRequestConfig): AxiosPromise<YearlyTurnoverResponse>;
|
|
4156
|
+
};
|
|
4157
|
+
/**
|
|
4158
|
+
* Request parameters for getDailyTurnOver operation in ClubAnalyticsApi.
|
|
4159
|
+
* @export
|
|
4160
|
+
* @interface ClubAnalyticsApiGetDailyTurnOverRequest
|
|
4161
|
+
*/
|
|
4162
|
+
export interface ClubAnalyticsApiGetDailyTurnOverRequest {
|
|
4163
|
+
/**
|
|
4164
|
+
* ID du club
|
|
4165
|
+
* @type {string}
|
|
4166
|
+
* @memberof ClubAnalyticsApiGetDailyTurnOver
|
|
4167
|
+
*/
|
|
4168
|
+
readonly id: string;
|
|
4169
|
+
/**
|
|
4170
|
+
* Date (format YYYY-MM-DD)
|
|
4171
|
+
* @type {string}
|
|
4172
|
+
* @memberof ClubAnalyticsApiGetDailyTurnOver
|
|
4173
|
+
*/
|
|
4174
|
+
readonly date: string;
|
|
4175
|
+
}
|
|
4176
|
+
/**
|
|
4177
|
+
* Request parameters for getInvoices operation in ClubAnalyticsApi.
|
|
4178
|
+
* @export
|
|
4179
|
+
* @interface ClubAnalyticsApiGetInvoicesRequest
|
|
4180
|
+
*/
|
|
4181
|
+
export interface ClubAnalyticsApiGetInvoicesRequest {
|
|
4182
|
+
/**
|
|
4183
|
+
* ID du club
|
|
4184
|
+
* @type {string}
|
|
4185
|
+
* @memberof ClubAnalyticsApiGetInvoices
|
|
4186
|
+
*/
|
|
4187
|
+
readonly id: string;
|
|
4188
|
+
/**
|
|
4189
|
+
* Numéro de page
|
|
4190
|
+
* @type {number}
|
|
4191
|
+
* @memberof ClubAnalyticsApiGetInvoices
|
|
4192
|
+
*/
|
|
4193
|
+
readonly page?: number;
|
|
4194
|
+
/**
|
|
4195
|
+
* Nombre d\'éléments par page
|
|
4196
|
+
* @type {number}
|
|
4197
|
+
* @memberof ClubAnalyticsApiGetInvoices
|
|
4198
|
+
*/
|
|
4199
|
+
readonly limit?: number;
|
|
4200
|
+
/**
|
|
4201
|
+
* Filtrer par statut
|
|
4202
|
+
* @type {'pending' | 'paid' | 'failed' | 'authorized' | 'canceled' | 'expired'}
|
|
4203
|
+
* @memberof ClubAnalyticsApiGetInvoices
|
|
4204
|
+
*/
|
|
4205
|
+
readonly status?: GetInvoicesStatusEnum;
|
|
4206
|
+
/**
|
|
4207
|
+
* Date de début (ISO format)
|
|
4208
|
+
* @type {string}
|
|
4209
|
+
* @memberof ClubAnalyticsApiGetInvoices
|
|
4210
|
+
*/
|
|
4211
|
+
readonly startDate?: string;
|
|
4212
|
+
/**
|
|
4213
|
+
* Date de fin (ISO format)
|
|
4214
|
+
* @type {string}
|
|
4215
|
+
* @memberof ClubAnalyticsApiGetInvoices
|
|
4216
|
+
*/
|
|
4217
|
+
readonly endDate?: string;
|
|
4218
|
+
}
|
|
4219
|
+
/**
|
|
4220
|
+
* Request parameters for getMonthlyTurnOver operation in ClubAnalyticsApi.
|
|
4221
|
+
* @export
|
|
4222
|
+
* @interface ClubAnalyticsApiGetMonthlyTurnOverRequest
|
|
4223
|
+
*/
|
|
4224
|
+
export interface ClubAnalyticsApiGetMonthlyTurnOverRequest {
|
|
4225
|
+
/**
|
|
4226
|
+
* ID du club
|
|
4227
|
+
* @type {string}
|
|
4228
|
+
* @memberof ClubAnalyticsApiGetMonthlyTurnOver
|
|
4229
|
+
*/
|
|
4230
|
+
readonly id: string;
|
|
4231
|
+
/**
|
|
4232
|
+
* Année
|
|
4233
|
+
* @type {number}
|
|
4234
|
+
* @memberof ClubAnalyticsApiGetMonthlyTurnOver
|
|
4235
|
+
*/
|
|
4236
|
+
readonly year: number;
|
|
4237
|
+
/**
|
|
4238
|
+
* Mois (1-12)
|
|
4239
|
+
* @type {number}
|
|
4240
|
+
* @memberof ClubAnalyticsApiGetMonthlyTurnOver
|
|
4241
|
+
*/
|
|
4242
|
+
readonly month: number;
|
|
4243
|
+
}
|
|
4244
|
+
/**
|
|
4245
|
+
* Request parameters for getYearlyTurnOver operation in ClubAnalyticsApi.
|
|
4246
|
+
* @export
|
|
4247
|
+
* @interface ClubAnalyticsApiGetYearlyTurnOverRequest
|
|
4248
|
+
*/
|
|
4249
|
+
export interface ClubAnalyticsApiGetYearlyTurnOverRequest {
|
|
4250
|
+
/**
|
|
4251
|
+
* ID du club
|
|
4252
|
+
* @type {string}
|
|
4253
|
+
* @memberof ClubAnalyticsApiGetYearlyTurnOver
|
|
4254
|
+
*/
|
|
4255
|
+
readonly id: string;
|
|
4256
|
+
/**
|
|
4257
|
+
* Année
|
|
4258
|
+
* @type {number}
|
|
4259
|
+
* @memberof ClubAnalyticsApiGetYearlyTurnOver
|
|
4260
|
+
*/
|
|
4261
|
+
readonly year: number;
|
|
4262
|
+
}
|
|
4263
|
+
/**
|
|
4264
|
+
* ClubAnalyticsApi - object-oriented interface
|
|
4265
|
+
* @export
|
|
4266
|
+
* @class ClubAnalyticsApi
|
|
4267
|
+
* @extends {BaseAPI}
|
|
4268
|
+
*/
|
|
4269
|
+
export declare class ClubAnalyticsApi extends BaseAPI {
|
|
4270
|
+
/**
|
|
4271
|
+
*
|
|
4272
|
+
* @summary Chiffre d\'affaires quotidien
|
|
4273
|
+
* @param {ClubAnalyticsApiGetDailyTurnOverRequest} requestParameters Request parameters.
|
|
4274
|
+
* @param {*} [options] Override http request option.
|
|
4275
|
+
* @throws {RequiredError}
|
|
4276
|
+
* @memberof ClubAnalyticsApi
|
|
4277
|
+
*/
|
|
4278
|
+
getDailyTurnOver(requestParameters: ClubAnalyticsApiGetDailyTurnOverRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DailyTurnoverResponse, any>>;
|
|
4279
|
+
/**
|
|
4280
|
+
*
|
|
4281
|
+
* @summary Récupérer les factures du club
|
|
4282
|
+
* @param {ClubAnalyticsApiGetInvoicesRequest} requestParameters Request parameters.
|
|
4283
|
+
* @param {*} [options] Override http request option.
|
|
4284
|
+
* @throws {RequiredError}
|
|
4285
|
+
* @memberof ClubAnalyticsApi
|
|
4286
|
+
*/
|
|
4287
|
+
getInvoices(requestParameters: ClubAnalyticsApiGetInvoicesRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<InvoicesResponse, any>>;
|
|
4288
|
+
/**
|
|
4289
|
+
*
|
|
4290
|
+
* @summary Chiffre d\'affaires mensuel
|
|
4291
|
+
* @param {ClubAnalyticsApiGetMonthlyTurnOverRequest} requestParameters Request parameters.
|
|
4292
|
+
* @param {*} [options] Override http request option.
|
|
4293
|
+
* @throws {RequiredError}
|
|
4294
|
+
* @memberof ClubAnalyticsApi
|
|
4295
|
+
*/
|
|
4296
|
+
getMonthlyTurnOver(requestParameters: ClubAnalyticsApiGetMonthlyTurnOverRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<MonthlyTurnoverResponse, any>>;
|
|
4297
|
+
/**
|
|
4298
|
+
*
|
|
4299
|
+
* @summary Chiffre d\'affaires annuel
|
|
4300
|
+
* @param {ClubAnalyticsApiGetYearlyTurnOverRequest} requestParameters Request parameters.
|
|
4301
|
+
* @param {*} [options] Override http request option.
|
|
4302
|
+
* @throws {RequiredError}
|
|
4303
|
+
* @memberof ClubAnalyticsApi
|
|
4304
|
+
*/
|
|
4305
|
+
getYearlyTurnOver(requestParameters: ClubAnalyticsApiGetYearlyTurnOverRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<YearlyTurnoverResponse, any>>;
|
|
4306
|
+
}
|
|
4307
|
+
/**
|
|
4308
|
+
* @export
|
|
4309
|
+
*/
|
|
4310
|
+
export declare const GetInvoicesStatusEnum: {
|
|
4311
|
+
readonly Pending: "pending";
|
|
4312
|
+
readonly Paid: "paid";
|
|
4313
|
+
readonly Failed: "failed";
|
|
4314
|
+
readonly Authorized: "authorized";
|
|
4315
|
+
readonly Canceled: "canceled";
|
|
4316
|
+
readonly Expired: "expired";
|
|
4317
|
+
};
|
|
4318
|
+
export type GetInvoicesStatusEnum = typeof GetInvoicesStatusEnum[keyof typeof GetInvoicesStatusEnum];
|
|
3793
4319
|
/**
|
|
3794
4320
|
* ManagerBookingsApi - axios parameter creator
|
|
3795
4321
|
* @export
|
|
@@ -5373,11 +5899,10 @@ export declare const StaffClubAnalyticsApiAxiosParamCreator: (configuration?: Co
|
|
|
5373
5899
|
/**
|
|
5374
5900
|
*
|
|
5375
5901
|
* @summary Get number of users subscribed to the club
|
|
5376
|
-
* @param {string} id ID du club
|
|
5377
5902
|
* @param {*} [options] Override http request option.
|
|
5378
5903
|
* @throws {RequiredError}
|
|
5379
5904
|
*/
|
|
5380
|
-
getNumberOfClubUsers: (
|
|
5905
|
+
getNumberOfClubUsers: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5381
5906
|
};
|
|
5382
5907
|
/**
|
|
5383
5908
|
* StaffClubAnalyticsApi - functional programming interface
|
|
@@ -5395,11 +5920,10 @@ export declare const StaffClubAnalyticsApiFp: (configuration?: Configuration) =>
|
|
|
5395
5920
|
/**
|
|
5396
5921
|
*
|
|
5397
5922
|
* @summary Get number of users subscribed to the club
|
|
5398
|
-
* @param {string} id ID du club
|
|
5399
5923
|
* @param {*} [options] Override http request option.
|
|
5400
5924
|
* @throws {RequiredError}
|
|
5401
5925
|
*/
|
|
5402
|
-
getNumberOfClubUsers(
|
|
5926
|
+
getNumberOfClubUsers(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetNumberOfClubUsers200Response>>;
|
|
5403
5927
|
};
|
|
5404
5928
|
/**
|
|
5405
5929
|
* StaffClubAnalyticsApi - factory interface
|
|
@@ -5417,11 +5941,10 @@ export declare const StaffClubAnalyticsApiFactory: (configuration?: Configuratio
|
|
|
5417
5941
|
/**
|
|
5418
5942
|
*
|
|
5419
5943
|
* @summary Get number of users subscribed to the club
|
|
5420
|
-
* @param {StaffClubAnalyticsApiGetNumberOfClubUsersRequest} requestParameters Request parameters.
|
|
5421
5944
|
* @param {*} [options] Override http request option.
|
|
5422
5945
|
* @throws {RequiredError}
|
|
5423
5946
|
*/
|
|
5424
|
-
getNumberOfClubUsers(
|
|
5947
|
+
getNumberOfClubUsers(options?: RawAxiosRequestConfig): AxiosPromise<GetNumberOfClubUsers200Response>;
|
|
5425
5948
|
};
|
|
5426
5949
|
/**
|
|
5427
5950
|
* Request parameters for getLastSixMonthsTurnover operation in StaffClubAnalyticsApi.
|
|
@@ -5436,19 +5959,6 @@ export interface StaffClubAnalyticsApiGetLastSixMonthsTurnoverRequest {
|
|
|
5436
5959
|
*/
|
|
5437
5960
|
readonly id: string;
|
|
5438
5961
|
}
|
|
5439
|
-
/**
|
|
5440
|
-
* Request parameters for getNumberOfClubUsers operation in StaffClubAnalyticsApi.
|
|
5441
|
-
* @export
|
|
5442
|
-
* @interface StaffClubAnalyticsApiGetNumberOfClubUsersRequest
|
|
5443
|
-
*/
|
|
5444
|
-
export interface StaffClubAnalyticsApiGetNumberOfClubUsersRequest {
|
|
5445
|
-
/**
|
|
5446
|
-
* ID du club
|
|
5447
|
-
* @type {string}
|
|
5448
|
-
* @memberof StaffClubAnalyticsApiGetNumberOfClubUsers
|
|
5449
|
-
*/
|
|
5450
|
-
readonly id: string;
|
|
5451
|
-
}
|
|
5452
5962
|
/**
|
|
5453
5963
|
* StaffClubAnalyticsApi - object-oriented interface
|
|
5454
5964
|
* @export
|
|
@@ -5468,12 +5978,11 @@ export declare class StaffClubAnalyticsApi extends BaseAPI {
|
|
|
5468
5978
|
/**
|
|
5469
5979
|
*
|
|
5470
5980
|
* @summary Get number of users subscribed to the club
|
|
5471
|
-
* @param {StaffClubAnalyticsApiGetNumberOfClubUsersRequest} requestParameters Request parameters.
|
|
5472
5981
|
* @param {*} [options] Override http request option.
|
|
5473
5982
|
* @throws {RequiredError}
|
|
5474
5983
|
* @memberof StaffClubAnalyticsApi
|
|
5475
5984
|
*/
|
|
5476
|
-
getNumberOfClubUsers(
|
|
5985
|
+
getNumberOfClubUsers(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GetNumberOfClubUsers200Response, any>>;
|
|
5477
5986
|
}
|
|
5478
5987
|
/**
|
|
5479
5988
|
* StaffClubBookingsApi - axios parameter creator
|
|
@@ -5555,11 +6064,10 @@ export declare const StaffClubSettingsApiAxiosParamCreator: (configuration?: Con
|
|
|
5555
6064
|
/**
|
|
5556
6065
|
*
|
|
5557
6066
|
* @summary Récupère les paramètres d\'un club
|
|
5558
|
-
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
5559
6067
|
* @param {*} [options] Override http request option.
|
|
5560
6068
|
* @throws {RequiredError}
|
|
5561
6069
|
*/
|
|
5562
|
-
getClubSettings: (
|
|
6070
|
+
getClubSettings: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
5563
6071
|
};
|
|
5564
6072
|
/**
|
|
5565
6073
|
* StaffClubSettingsApi - functional programming interface
|
|
@@ -5569,11 +6077,10 @@ export declare const StaffClubSettingsApiFp: (configuration?: Configuration) =>
|
|
|
5569
6077
|
/**
|
|
5570
6078
|
*
|
|
5571
6079
|
* @summary Récupère les paramètres d\'un club
|
|
5572
|
-
* @param {GetClubSettingsRequest} getClubSettingsRequest
|
|
5573
6080
|
* @param {*} [options] Override http request option.
|
|
5574
6081
|
* @throws {RequiredError}
|
|
5575
6082
|
*/
|
|
5576
|
-
getClubSettings(
|
|
6083
|
+
getClubSettings(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClubSettings>>;
|
|
5577
6084
|
};
|
|
5578
6085
|
/**
|
|
5579
6086
|
* StaffClubSettingsApi - factory interface
|
|
@@ -5583,25 +6090,11 @@ export declare const StaffClubSettingsApiFactory: (configuration?: Configuration
|
|
|
5583
6090
|
/**
|
|
5584
6091
|
*
|
|
5585
6092
|
* @summary Récupère les paramètres d\'un club
|
|
5586
|
-
* @param {StaffClubSettingsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
5587
6093
|
* @param {*} [options] Override http request option.
|
|
5588
6094
|
* @throws {RequiredError}
|
|
5589
6095
|
*/
|
|
5590
|
-
getClubSettings(
|
|
6096
|
+
getClubSettings(options?: RawAxiosRequestConfig): AxiosPromise<ClubSettings>;
|
|
5591
6097
|
};
|
|
5592
|
-
/**
|
|
5593
|
-
* Request parameters for getClubSettings operation in StaffClubSettingsApi.
|
|
5594
|
-
* @export
|
|
5595
|
-
* @interface StaffClubSettingsApiGetClubSettingsRequest
|
|
5596
|
-
*/
|
|
5597
|
-
export interface StaffClubSettingsApiGetClubSettingsRequest {
|
|
5598
|
-
/**
|
|
5599
|
-
*
|
|
5600
|
-
* @type {GetClubSettingsRequest}
|
|
5601
|
-
* @memberof StaffClubSettingsApiGetClubSettings
|
|
5602
|
-
*/
|
|
5603
|
-
readonly getClubSettingsRequest: GetClubSettingsRequest;
|
|
5604
|
-
}
|
|
5605
6098
|
/**
|
|
5606
6099
|
* StaffClubSettingsApi - object-oriented interface
|
|
5607
6100
|
* @export
|
|
@@ -5612,12 +6105,11 @@ export declare class StaffClubSettingsApi extends BaseAPI {
|
|
|
5612
6105
|
/**
|
|
5613
6106
|
*
|
|
5614
6107
|
* @summary Récupère les paramètres d\'un club
|
|
5615
|
-
* @param {StaffClubSettingsApiGetClubSettingsRequest} requestParameters Request parameters.
|
|
5616
6108
|
* @param {*} [options] Override http request option.
|
|
5617
6109
|
* @throws {RequiredError}
|
|
5618
6110
|
* @memberof StaffClubSettingsApi
|
|
5619
6111
|
*/
|
|
5620
|
-
getClubSettings(
|
|
6112
|
+
getClubSettings(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClubSettings, any>>;
|
|
5621
6113
|
}
|
|
5622
6114
|
/**
|
|
5623
6115
|
* StaffClubsApi - axios parameter creator
|