@tennac-booking/sdk 1.0.310 → 1.0.311

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.
Files changed (41) hide show
  1. package/.openapi-generator/FILES +563 -560
  2. package/README.md +4 -2
  3. package/api.ts +174 -4
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +118 -3
  8. package/dist/api.js +3888 -2887
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +3 -6
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +39 -23
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +3 -63
  15. package/dist/esm/api.d.ts +118 -3
  16. package/dist/esm/api.js +3879 -2882
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +3 -6
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +39 -23
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +3 -63
  23. package/dist/esm/index.d.ts +1 -1
  24. package/dist/esm/index.js +1 -1
  25. package/dist/index.d.ts +1 -1
  26. package/dist/index.js +1 -1
  27. package/docs/ClubReservationSettingsResponse.md +2 -0
  28. package/docs/InvoiceStatus.md +2 -0
  29. package/docs/ManagerConsoleInvoicePlayerSummary.md +2 -0
  30. package/docs/ManagerConsoleInvoiceUserSummary.md +2 -0
  31. package/docs/TermsAndConditionsPublicApi.md +61 -0
  32. package/docs/TermsAndConditionsResponse.md +5 -2
  33. package/docs/TermsAudience.md +10 -0
  34. package/docs/UpdateClubReservationSettingsRequest.md +2 -0
  35. package/index.ts +1 -1
  36. package/package.json +1 -1
  37. package/tsconfig.json +1 -1
  38. package/docs/EstimateEventPrice200Response.md +0 -30
  39. package/docs/EstimateEventPriceRequestSharesInner.md +0 -22
  40. package/docs/EventBookingResponsePlayersInnerInvoiceStatus.md +0 -18
  41. package/docs/LoginResponse.md +0 -30
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- ## @tennac-booking/sdk@1.0.310
1
+ ## @tennac-booking/sdk@1.0.2
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @tennac-booking/sdk@1.0.310 --save
39
+ npm install @tennac-booking/sdk@1.0.2 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -275,6 +275,7 @@ Class | Method | HTTP request | Description
275
275
  *SumUpManagerApi* | [**pairSumupReader**](docs/SumUpManagerApi.md#pairsumupreader) | **POST** /api/clubs/{clubId}/sumup/readers/pair |
276
276
  *SumUpManagerApi* | [**selectSumupReader**](docs/SumUpManagerApi.md#selectsumupreader) | **POST** /api/clubs/{clubId}/sumup/readers/{readerId}/select |
277
277
  *SumUpManagerApi* | [**updateSumupReader**](docs/SumUpManagerApi.md#updatesumupreader) | **PATCH** /api/clubs/{clubId}/sumup/readers/{readerId} |
278
+ *TermsAndConditionsPublicApi* | [**getLatestTerms**](docs/TermsAndConditionsPublicApi.md#getlatestterms) | **GET** /api/terms-and-conditions/latest |
278
279
  *UserApi* | [**getMyClubCustomerSettings**](docs/UserApi.md#getmyclubcustomersettings) | **GET** /api/users/me/clubCustomers/{clubId} |
279
280
  *UserApi* | [**getMyClubInfos**](docs/UserApi.md#getmyclubinfos) | **GET** /api/users/me/club-infos |
280
281
  *UsersApi* | [**acceptTerms**](docs/UsersApi.md#acceptterms) | **POST** /api/users/accept-terms |
@@ -795,6 +796,7 @@ Class | Method | HTTP request | Description
795
796
  - [SurfaceType](docs/SurfaceType.md)
796
797
  - [Team](docs/Team.md)
797
798
  - [TermsAndConditionsResponse](docs/TermsAndConditionsResponse.md)
799
+ - [TermsAudience](docs/TermsAudience.md)
798
800
  - [TimeBounds](docs/TimeBounds.md)
799
801
  - [TrendDirection](docs/TrendDirection.md)
800
802
  - [UpdateActuality200Response](docs/UpdateActuality200Response.md)
package/api.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.310
7
+ * The version of the OpenAPI document: 1.0.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4699,6 +4699,12 @@ export interface ClubReservationSettingsResponse {
4699
4699
  * @memberof ClubReservationSettingsResponse
4700
4700
  */
4701
4701
  'cancellationDelayInHours': number;
4702
+ /**
4703
+ *
4704
+ * @type {number}
4705
+ * @memberof ClubReservationSettingsResponse
4706
+ */
4707
+ 'eventCancellationDelayInHours': number;
4702
4708
  /**
4703
4709
  *
4704
4710
  * @type {number}
@@ -10083,7 +10089,8 @@ export const InvoiceStatus = {
10083
10089
  Failed: 'failed',
10084
10090
  Authorized: 'authorized',
10085
10091
  Canceled: 'canceled',
10086
- Expired: 'expired'
10092
+ Expired: 'expired',
10093
+ Refunded: 'refunded'
10087
10094
  } as const;
10088
10095
 
10089
10096
  export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
@@ -10860,6 +10867,12 @@ export interface ManagerConsoleInvoicePlayerSummary {
10860
10867
  * @memberof ManagerConsoleInvoicePlayerSummary
10861
10868
  */
10862
10869
  'reducedAmount': number;
10870
+ /**
10871
+ *
10872
+ * @type {Array<string>}
10873
+ * @memberof ManagerConsoleInvoicePlayerSummary
10874
+ */
10875
+ 'subscriptionNames'?: Array<string>;
10863
10876
  }
10864
10877
  /**
10865
10878
  *
@@ -11283,6 +11296,12 @@ export interface ManagerConsoleInvoiceUserSummary {
11283
11296
  * @memberof ManagerConsoleInvoiceUserSummary
11284
11297
  */
11285
11298
  'profilePictureUrl'?: string;
11299
+ /**
11300
+ *
11301
+ * @type {Array<string>}
11302
+ * @memberof ManagerConsoleInvoiceUserSummary
11303
+ */
11304
+ 'subscriptionNames'?: Array<string>;
11286
11305
  }
11287
11306
  /**
11288
11307
  *
@@ -17754,7 +17773,7 @@ export interface Team {
17754
17773
  'players': Array<EventUser>;
17755
17774
  }
17756
17775
  /**
17757
- * CGU (Terms and Conditions)
17776
+ *
17758
17777
  * @export
17759
17778
  * @interface TermsAndConditionsResponse
17760
17779
  */
@@ -17782,20 +17801,46 @@ export interface TermsAndConditionsResponse {
17782
17801
  * @type {string}
17783
17802
  * @memberof TermsAndConditionsResponse
17784
17803
  */
17785
- 'effectiveDate': string;
17804
+ 'effectiveDate'?: string;
17786
17805
  /**
17787
17806
  * Résumé des changements (optionnel)
17788
17807
  * @type {string}
17789
17808
  * @memberof TermsAndConditionsResponse
17790
17809
  */
17791
17810
  'summary'?: string;
17811
+ /**
17812
+ *
17813
+ * @type {string}
17814
+ * @memberof TermsAndConditionsResponse
17815
+ */
17816
+ 'audience'?: string;
17792
17817
  /**
17793
17818
  * Code de la langue
17794
17819
  * @type {string}
17795
17820
  * @memberof TermsAndConditionsResponse
17796
17821
  */
17797
17822
  'language': string;
17823
+ /**
17824
+ *
17825
+ * @type {string}
17826
+ * @memberof TermsAndConditionsResponse
17827
+ */
17828
+ 'createdAt'?: string;
17798
17829
  }
17830
+ /**
17831
+ *
17832
+ * @export
17833
+ * @enum {string}
17834
+ */
17835
+
17836
+ export const TermsAudience = {
17837
+ User: 'user',
17838
+ Manager: 'manager'
17839
+ } as const;
17840
+
17841
+ export type TermsAudience = typeof TermsAudience[keyof typeof TermsAudience];
17842
+
17843
+
17799
17844
  /**
17800
17845
  *
17801
17846
  * @export
@@ -18200,6 +18245,12 @@ export interface UpdateClubReservationSettingsRequest {
18200
18245
  * @memberof UpdateClubReservationSettingsRequest
18201
18246
  */
18202
18247
  'cancellationDelayInHours': number;
18248
+ /**
18249
+ *
18250
+ * @type {number}
18251
+ * @memberof UpdateClubReservationSettingsRequest
18252
+ */
18253
+ 'eventCancellationDelayInHours'?: number;
18203
18254
  /**
18204
18255
  *
18205
18256
  * @type {number}
@@ -41015,6 +41066,125 @@ export class SumUpManagerApi extends BaseAPI {
41015
41066
 
41016
41067
 
41017
41068
 
41069
+ /**
41070
+ * TermsAndConditionsPublicApi - axios parameter creator
41071
+ * @export
41072
+ */
41073
+ export const TermsAndConditionsPublicApiAxiosParamCreator = function (configuration?: Configuration) {
41074
+ return {
41075
+ /**
41076
+ * Récupère la dernière version active des CGU en français
41077
+ * @param {TermsAudience} [audience] Type de CGU à récupérer: \&quot;user\&quot; pour les utilisateurs finaux, \&quot;manager\&quot; pour les gestionnaires de clubs
41078
+ * @param {*} [options] Override http request option.
41079
+ * @throws {RequiredError}
41080
+ */
41081
+ getLatestTerms: async (audience?: TermsAudience, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
41082
+ const localVarPath = `/api/terms-and-conditions/latest`;
41083
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
41084
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
41085
+ let baseOptions;
41086
+ if (configuration) {
41087
+ baseOptions = configuration.baseOptions;
41088
+ }
41089
+
41090
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
41091
+ const localVarHeaderParameter = {} as any;
41092
+ const localVarQueryParameter = {} as any;
41093
+
41094
+ if (audience !== undefined) {
41095
+ localVarQueryParameter['audience'] = audience;
41096
+ }
41097
+
41098
+
41099
+
41100
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
41101
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
41102
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
41103
+
41104
+ return {
41105
+ url: toPathString(localVarUrlObj),
41106
+ options: localVarRequestOptions,
41107
+ };
41108
+ },
41109
+ }
41110
+ };
41111
+
41112
+ /**
41113
+ * TermsAndConditionsPublicApi - functional programming interface
41114
+ * @export
41115
+ */
41116
+ export const TermsAndConditionsPublicApiFp = function(configuration?: Configuration) {
41117
+ const localVarAxiosParamCreator = TermsAndConditionsPublicApiAxiosParamCreator(configuration)
41118
+ return {
41119
+ /**
41120
+ * Récupère la dernière version active des CGU en français
41121
+ * @param {TermsAudience} [audience] Type de CGU à récupérer: \&quot;user\&quot; pour les utilisateurs finaux, \&quot;manager\&quot; pour les gestionnaires de clubs
41122
+ * @param {*} [options] Override http request option.
41123
+ * @throws {RequiredError}
41124
+ */
41125
+ async getLatestTerms(audience?: TermsAudience, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TermsAndConditionsResponse>> {
41126
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getLatestTerms(audience, options);
41127
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
41128
+ const localVarOperationServerBasePath = operationServerMap['TermsAndConditionsPublicApi.getLatestTerms']?.[localVarOperationServerIndex]?.url;
41129
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
41130
+ },
41131
+ }
41132
+ };
41133
+
41134
+ /**
41135
+ * TermsAndConditionsPublicApi - factory interface
41136
+ * @export
41137
+ */
41138
+ export const TermsAndConditionsPublicApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
41139
+ const localVarFp = TermsAndConditionsPublicApiFp(configuration)
41140
+ return {
41141
+ /**
41142
+ * Récupère la dernière version active des CGU en français
41143
+ * @param {TermsAndConditionsPublicApiGetLatestTermsRequest} requestParameters Request parameters.
41144
+ * @param {*} [options] Override http request option.
41145
+ * @throws {RequiredError}
41146
+ */
41147
+ getLatestTerms(requestParameters: TermsAndConditionsPublicApiGetLatestTermsRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<TermsAndConditionsResponse> {
41148
+ return localVarFp.getLatestTerms(requestParameters.audience, options).then((request) => request(axios, basePath));
41149
+ },
41150
+ };
41151
+ };
41152
+
41153
+ /**
41154
+ * Request parameters for getLatestTerms operation in TermsAndConditionsPublicApi.
41155
+ * @export
41156
+ * @interface TermsAndConditionsPublicApiGetLatestTermsRequest
41157
+ */
41158
+ export interface TermsAndConditionsPublicApiGetLatestTermsRequest {
41159
+ /**
41160
+ * Type de CGU à récupérer: \&quot;user\&quot; pour les utilisateurs finaux, \&quot;manager\&quot; pour les gestionnaires de clubs
41161
+ * @type {TermsAudience}
41162
+ * @memberof TermsAndConditionsPublicApiGetLatestTerms
41163
+ */
41164
+ readonly audience?: TermsAudience
41165
+ }
41166
+
41167
+ /**
41168
+ * TermsAndConditionsPublicApi - object-oriented interface
41169
+ * @export
41170
+ * @class TermsAndConditionsPublicApi
41171
+ * @extends {BaseAPI}
41172
+ */
41173
+ export class TermsAndConditionsPublicApi extends BaseAPI {
41174
+ /**
41175
+ * Récupère la dernière version active des CGU en français
41176
+ * @param {TermsAndConditionsPublicApiGetLatestTermsRequest} requestParameters Request parameters.
41177
+ * @param {*} [options] Override http request option.
41178
+ * @throws {RequiredError}
41179
+ * @memberof TermsAndConditionsPublicApi
41180
+ */
41181
+ public getLatestTerms(requestParameters: TermsAndConditionsPublicApiGetLatestTermsRequest = {}, options?: RawAxiosRequestConfig) {
41182
+ return TermsAndConditionsPublicApiFp(this.configuration).getLatestTerms(requestParameters.audience, options).then((request) => request(this.axios, this.basePath));
41183
+ }
41184
+ }
41185
+
41186
+
41187
+
41018
41188
  /**
41019
41189
  * UserApi - axios parameter creator
41020
41190
  * @export
package/base.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.310
7
+ * The version of the OpenAPI document: 1.0.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.310
7
+ * The version of the OpenAPI document: 1.0.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.310
7
+ * The version of the OpenAPI document: 1.0.2
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.310
5
+ * The version of the OpenAPI document: 1.0.2
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4639,6 +4639,12 @@ export interface ClubReservationSettingsResponse {
4639
4639
  * @memberof ClubReservationSettingsResponse
4640
4640
  */
4641
4641
  'cancellationDelayInHours': number;
4642
+ /**
4643
+ *
4644
+ * @type {number}
4645
+ * @memberof ClubReservationSettingsResponse
4646
+ */
4647
+ 'eventCancellationDelayInHours': number;
4642
4648
  /**
4643
4649
  *
4644
4650
  * @type {number}
@@ -9936,6 +9942,7 @@ export declare const InvoiceStatus: {
9936
9942
  readonly Authorized: "authorized";
9937
9943
  readonly Canceled: "canceled";
9938
9944
  readonly Expired: "expired";
9945
+ readonly Refunded: "refunded";
9939
9946
  };
9940
9947
  export type InvoiceStatus = typeof InvoiceStatus[keyof typeof InvoiceStatus];
9941
9948
  /**
@@ -10700,6 +10707,12 @@ export interface ManagerConsoleInvoicePlayerSummary {
10700
10707
  * @memberof ManagerConsoleInvoicePlayerSummary
10701
10708
  */
10702
10709
  'reducedAmount': number;
10710
+ /**
10711
+ *
10712
+ * @type {Array<string>}
10713
+ * @memberof ManagerConsoleInvoicePlayerSummary
10714
+ */
10715
+ 'subscriptionNames'?: Array<string>;
10703
10716
  }
10704
10717
  /**
10705
10718
  *
@@ -11127,6 +11140,12 @@ export interface ManagerConsoleInvoiceUserSummary {
11127
11140
  * @memberof ManagerConsoleInvoiceUserSummary
11128
11141
  */
11129
11142
  'profilePictureUrl'?: string;
11143
+ /**
11144
+ *
11145
+ * @type {Array<string>}
11146
+ * @memberof ManagerConsoleInvoiceUserSummary
11147
+ */
11148
+ 'subscriptionNames'?: Array<string>;
11130
11149
  }
11131
11150
  /**
11132
11151
  *
@@ -17472,7 +17491,7 @@ export interface Team {
17472
17491
  'players': Array<EventUser>;
17473
17492
  }
17474
17493
  /**
17475
- * CGU (Terms and Conditions)
17494
+ *
17476
17495
  * @export
17477
17496
  * @interface TermsAndConditionsResponse
17478
17497
  */
@@ -17500,20 +17519,42 @@ export interface TermsAndConditionsResponse {
17500
17519
  * @type {string}
17501
17520
  * @memberof TermsAndConditionsResponse
17502
17521
  */
17503
- 'effectiveDate': string;
17522
+ 'effectiveDate'?: string;
17504
17523
  /**
17505
17524
  * Résumé des changements (optionnel)
17506
17525
  * @type {string}
17507
17526
  * @memberof TermsAndConditionsResponse
17508
17527
  */
17509
17528
  'summary'?: string;
17529
+ /**
17530
+ *
17531
+ * @type {string}
17532
+ * @memberof TermsAndConditionsResponse
17533
+ */
17534
+ 'audience'?: string;
17510
17535
  /**
17511
17536
  * Code de la langue
17512
17537
  * @type {string}
17513
17538
  * @memberof TermsAndConditionsResponse
17514
17539
  */
17515
17540
  'language': string;
17541
+ /**
17542
+ *
17543
+ * @type {string}
17544
+ * @memberof TermsAndConditionsResponse
17545
+ */
17546
+ 'createdAt'?: string;
17516
17547
  }
17548
+ /**
17549
+ *
17550
+ * @export
17551
+ * @enum {string}
17552
+ */
17553
+ export declare const TermsAudience: {
17554
+ readonly User: "user";
17555
+ readonly Manager: "manager";
17556
+ };
17557
+ export type TermsAudience = typeof TermsAudience[keyof typeof TermsAudience];
17517
17558
  /**
17518
17559
  *
17519
17560
  * @export
@@ -17915,6 +17956,12 @@ export interface UpdateClubReservationSettingsRequest {
17915
17956
  * @memberof UpdateClubReservationSettingsRequest
17916
17957
  */
17917
17958
  'cancellationDelayInHours': number;
17959
+ /**
17960
+ *
17961
+ * @type {number}
17962
+ * @memberof UpdateClubReservationSettingsRequest
17963
+ */
17964
+ 'eventCancellationDelayInHours'?: number;
17918
17965
  /**
17919
17966
  *
17920
17967
  * @type {number}
@@ -30712,6 +30759,74 @@ export declare class SumUpManagerApi extends BaseAPI {
30712
30759
  */
30713
30760
  updateSumupReader(requestParameters: SumUpManagerApiUpdateSumupReaderRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SumupReaderResponse, any, {}>>;
30714
30761
  }
30762
+ /**
30763
+ * TermsAndConditionsPublicApi - axios parameter creator
30764
+ * @export
30765
+ */
30766
+ export declare const TermsAndConditionsPublicApiAxiosParamCreator: (configuration?: Configuration) => {
30767
+ /**
30768
+ * Récupère la dernière version active des CGU en français
30769
+ * @param {TermsAudience} [audience] Type de CGU à récupérer: \&quot;user\&quot; pour les utilisateurs finaux, \&quot;manager\&quot; pour les gestionnaires de clubs
30770
+ * @param {*} [options] Override http request option.
30771
+ * @throws {RequiredError}
30772
+ */
30773
+ getLatestTerms: (audience?: TermsAudience, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
30774
+ };
30775
+ /**
30776
+ * TermsAndConditionsPublicApi - functional programming interface
30777
+ * @export
30778
+ */
30779
+ export declare const TermsAndConditionsPublicApiFp: (configuration?: Configuration) => {
30780
+ /**
30781
+ * Récupère la dernière version active des CGU en français
30782
+ * @param {TermsAudience} [audience] Type de CGU à récupérer: \&quot;user\&quot; pour les utilisateurs finaux, \&quot;manager\&quot; pour les gestionnaires de clubs
30783
+ * @param {*} [options] Override http request option.
30784
+ * @throws {RequiredError}
30785
+ */
30786
+ getLatestTerms(audience?: TermsAudience, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TermsAndConditionsResponse>>;
30787
+ };
30788
+ /**
30789
+ * TermsAndConditionsPublicApi - factory interface
30790
+ * @export
30791
+ */
30792
+ export declare const TermsAndConditionsPublicApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
30793
+ /**
30794
+ * Récupère la dernière version active des CGU en français
30795
+ * @param {TermsAndConditionsPublicApiGetLatestTermsRequest} requestParameters Request parameters.
30796
+ * @param {*} [options] Override http request option.
30797
+ * @throws {RequiredError}
30798
+ */
30799
+ getLatestTerms(requestParameters?: TermsAndConditionsPublicApiGetLatestTermsRequest, options?: RawAxiosRequestConfig): AxiosPromise<TermsAndConditionsResponse>;
30800
+ };
30801
+ /**
30802
+ * Request parameters for getLatestTerms operation in TermsAndConditionsPublicApi.
30803
+ * @export
30804
+ * @interface TermsAndConditionsPublicApiGetLatestTermsRequest
30805
+ */
30806
+ export interface TermsAndConditionsPublicApiGetLatestTermsRequest {
30807
+ /**
30808
+ * Type de CGU à récupérer: \&quot;user\&quot; pour les utilisateurs finaux, \&quot;manager\&quot; pour les gestionnaires de clubs
30809
+ * @type {TermsAudience}
30810
+ * @memberof TermsAndConditionsPublicApiGetLatestTerms
30811
+ */
30812
+ readonly audience?: TermsAudience;
30813
+ }
30814
+ /**
30815
+ * TermsAndConditionsPublicApi - object-oriented interface
30816
+ * @export
30817
+ * @class TermsAndConditionsPublicApi
30818
+ * @extends {BaseAPI}
30819
+ */
30820
+ export declare class TermsAndConditionsPublicApi extends BaseAPI {
30821
+ /**
30822
+ * Récupère la dernière version active des CGU en français
30823
+ * @param {TermsAndConditionsPublicApiGetLatestTermsRequest} requestParameters Request parameters.
30824
+ * @param {*} [options] Override http request option.
30825
+ * @throws {RequiredError}
30826
+ * @memberof TermsAndConditionsPublicApi
30827
+ */
30828
+ getLatestTerms(requestParameters?: TermsAndConditionsPublicApiGetLatestTermsRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TermsAndConditionsResponse, any, {}>>;
30829
+ }
30715
30830
  /**
30716
30831
  * UserApi - axios parameter creator
30717
30832
  * @export