@tennac-booking/sdk 1.0.72 → 1.0.74

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 (43) hide show
  1. package/.openapi-generator/FILES +1 -6
  2. package/README.md +3 -11
  3. package/api.ts +132 -482
  4. package/base.ts +1 -1
  5. package/common.ts +1 -1
  6. package/configuration.ts +1 -1
  7. package/dist/api.d.ts +86 -353
  8. package/dist/api.js +95 -200
  9. package/dist/base.d.ts +1 -1
  10. package/dist/base.js +1 -1
  11. package/dist/common.d.ts +1 -1
  12. package/dist/common.js +1 -1
  13. package/dist/configuration.d.ts +1 -1
  14. package/dist/configuration.js +1 -1
  15. package/dist/esm/api.d.ts +86 -353
  16. package/dist/esm/api.js +90 -199
  17. package/dist/esm/base.d.ts +1 -1
  18. package/dist/esm/base.js +1 -1
  19. package/dist/esm/common.d.ts +1 -1
  20. package/dist/esm/common.js +1 -1
  21. package/dist/esm/configuration.d.ts +1 -1
  22. package/dist/esm/configuration.js +1 -1
  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/BookingInfo.md +2 -2
  28. package/docs/ClubSettingsResponse.md +0 -2
  29. package/docs/CreateBookingRequest.md +2 -2
  30. package/docs/IUserAttributes.md +2 -12
  31. package/docs/SportsPublicApi.md +53 -0
  32. package/docs/StaffUserProfileResponse.md +2 -12
  33. package/docs/SubscribeRequestBody.md +2 -0
  34. package/docs/UserProfileResponse.md +4 -12
  35. package/docs/UsersApi.md +0 -156
  36. package/index.ts +1 -1
  37. package/package.json +1 -1
  38. package/docs/AddPaymentMethodRequestBody.md +0 -20
  39. package/docs/ConfirmPaymentMethodRequestBody.md +0 -20
  40. package/docs/ConfirmPaymentMethodResponse.md +0 -22
  41. package/docs/PaymentMethodSetupResponse.md +0 -24
  42. package/docs/SetupPaymentMethodRequestBody.md +0 -20
  43. package/docs/SetupPaymentMethodResponse.md +0 -24
package/dist/esm/api.js 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.72
7
+ * The version of the OpenAPI document: 1.0.74
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6481,6 +6481,95 @@ export class SportsManagerApi extends BaseAPI {
6481
6481
  return SportsManagerApiFp(this.configuration).updateSport(requestParameters.id, requestParameters.updateSportRequest, options).then((request) => request(this.axios, this.basePath));
6482
6482
  }
6483
6483
  }
6484
+ /**
6485
+ * SportsPublicApi - axios parameter creator
6486
+ * @export
6487
+ */
6488
+ export const SportsPublicApiAxiosParamCreator = function (configuration) {
6489
+ return {
6490
+ /**
6491
+ * Récupère tous les sports vérifiés, accessibles publiquement
6492
+ * @param {*} [options] Override http request option.
6493
+ * @throws {RequiredError}
6494
+ */
6495
+ getVerifiedSports: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
6496
+ const localVarPath = `/api/sports/verified`;
6497
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
6498
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6499
+ let baseOptions;
6500
+ if (configuration) {
6501
+ baseOptions = configuration.baseOptions;
6502
+ }
6503
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
6504
+ const localVarHeaderParameter = {};
6505
+ const localVarQueryParameter = {};
6506
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
6507
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6508
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6509
+ return {
6510
+ url: toPathString(localVarUrlObj),
6511
+ options: localVarRequestOptions,
6512
+ };
6513
+ }),
6514
+ };
6515
+ };
6516
+ /**
6517
+ * SportsPublicApi - functional programming interface
6518
+ * @export
6519
+ */
6520
+ export const SportsPublicApiFp = function (configuration) {
6521
+ const localVarAxiosParamCreator = SportsPublicApiAxiosParamCreator(configuration);
6522
+ return {
6523
+ /**
6524
+ * Récupère tous les sports vérifiés, accessibles publiquement
6525
+ * @param {*} [options] Override http request option.
6526
+ * @throws {RequiredError}
6527
+ */
6528
+ getVerifiedSports(options) {
6529
+ return __awaiter(this, void 0, void 0, function* () {
6530
+ var _a, _b, _c;
6531
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getVerifiedSports(options);
6532
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
6533
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['SportsPublicApi.getVerifiedSports']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
6534
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
6535
+ });
6536
+ },
6537
+ };
6538
+ };
6539
+ /**
6540
+ * SportsPublicApi - factory interface
6541
+ * @export
6542
+ */
6543
+ export const SportsPublicApiFactory = function (configuration, basePath, axios) {
6544
+ const localVarFp = SportsPublicApiFp(configuration);
6545
+ return {
6546
+ /**
6547
+ * Récupère tous les sports vérifiés, accessibles publiquement
6548
+ * @param {*} [options] Override http request option.
6549
+ * @throws {RequiredError}
6550
+ */
6551
+ getVerifiedSports(options) {
6552
+ return localVarFp.getVerifiedSports(options).then((request) => request(axios, basePath));
6553
+ },
6554
+ };
6555
+ };
6556
+ /**
6557
+ * SportsPublicApi - object-oriented interface
6558
+ * @export
6559
+ * @class SportsPublicApi
6560
+ * @extends {BaseAPI}
6561
+ */
6562
+ export class SportsPublicApi extends BaseAPI {
6563
+ /**
6564
+ * Récupère tous les sports vérifiés, accessibles publiquement
6565
+ * @param {*} [options] Override http request option.
6566
+ * @throws {RequiredError}
6567
+ * @memberof SportsPublicApi
6568
+ */
6569
+ getVerifiedSports(options) {
6570
+ return SportsPublicApiFp(this.configuration).getVerifiedSports(options).then((request) => request(this.axios, this.basePath));
6571
+ }
6572
+ }
6484
6573
  /**
6485
6574
  * SportsStaffApi - axios parameter creator
6486
6575
  * @export
@@ -7392,38 +7481,6 @@ export const UsersApiAxiosParamCreator = function (configuration) {
7392
7481
  options: localVarRequestOptions,
7393
7482
  };
7394
7483
  }),
7395
- /**
7396
- *
7397
- * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
7398
- * @param {*} [options] Override http request option.
7399
- * @throws {RequiredError}
7400
- */
7401
- addPaymentMethodSetup: (addPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [addPaymentMethodRequestBody_1, ...args_1], void 0, function* (addPaymentMethodRequestBody, options = {}) {
7402
- // verify required parameter 'addPaymentMethodRequestBody' is not null or undefined
7403
- assertParamExists('addPaymentMethodSetup', 'addPaymentMethodRequestBody', addPaymentMethodRequestBody);
7404
- const localVarPath = `/api/users/addPaymentMethodSetup`;
7405
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
7406
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7407
- let baseOptions;
7408
- if (configuration) {
7409
- baseOptions = configuration.baseOptions;
7410
- }
7411
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7412
- const localVarHeaderParameter = {};
7413
- const localVarQueryParameter = {};
7414
- // authentication bearerAuth required
7415
- // http bearer authentication required
7416
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
7417
- localVarHeaderParameter['Content-Type'] = 'application/json';
7418
- setSearchParams(localVarUrlObj, localVarQueryParameter);
7419
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7420
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7421
- localVarRequestOptions.data = serializeDataIfNeeded(addPaymentMethodRequestBody, localVarRequestOptions, configuration);
7422
- return {
7423
- url: toPathString(localVarUrlObj),
7424
- options: localVarRequestOptions,
7425
- };
7426
- }),
7427
7484
  /**
7428
7485
  *
7429
7486
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -7456,38 +7513,6 @@ export const UsersApiAxiosParamCreator = function (configuration) {
7456
7513
  options: localVarRequestOptions,
7457
7514
  };
7458
7515
  }),
7459
- /**
7460
- *
7461
- * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
7462
- * @param {*} [options] Override http request option.
7463
- * @throws {RequiredError}
7464
- */
7465
- confirmPaymentMethodSetup: (confirmPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [confirmPaymentMethodRequestBody_1, ...args_1], void 0, function* (confirmPaymentMethodRequestBody, options = {}) {
7466
- // verify required parameter 'confirmPaymentMethodRequestBody' is not null or undefined
7467
- assertParamExists('confirmPaymentMethodSetup', 'confirmPaymentMethodRequestBody', confirmPaymentMethodRequestBody);
7468
- const localVarPath = `/api/users/confirmPaymentMethodSetup`;
7469
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
7470
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
7471
- let baseOptions;
7472
- if (configuration) {
7473
- baseOptions = configuration.baseOptions;
7474
- }
7475
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
7476
- const localVarHeaderParameter = {};
7477
- const localVarQueryParameter = {};
7478
- // authentication bearerAuth required
7479
- // http bearer authentication required
7480
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
7481
- localVarHeaderParameter['Content-Type'] = 'application/json';
7482
- setSearchParams(localVarUrlObj, localVarQueryParameter);
7483
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7484
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7485
- localVarRequestOptions.data = serializeDataIfNeeded(confirmPaymentMethodRequestBody, localVarRequestOptions, configuration);
7486
- return {
7487
- url: toPathString(localVarUrlObj),
7488
- options: localVarRequestOptions,
7489
- };
7490
- }),
7491
7516
  /**
7492
7517
  *
7493
7518
  * @param {*} [options] Override http request option.
@@ -8257,38 +8282,6 @@ export const UsersApiAxiosParamCreator = function (configuration) {
8257
8282
  options: localVarRequestOptions,
8258
8283
  };
8259
8284
  }),
8260
- /**
8261
- *
8262
- * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
8263
- * @param {*} [options] Override http request option.
8264
- * @throws {RequiredError}
8265
- */
8266
- setupOffSessionPaymentMethod: (setupPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [setupPaymentMethodRequestBody_1, ...args_1], void 0, function* (setupPaymentMethodRequestBody, options = {}) {
8267
- // verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
8268
- assertParamExists('setupOffSessionPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody);
8269
- const localVarPath = `/api/users/setupOffSessionPaymentMethod`;
8270
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
8271
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8272
- let baseOptions;
8273
- if (configuration) {
8274
- baseOptions = configuration.baseOptions;
8275
- }
8276
- const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
8277
- const localVarHeaderParameter = {};
8278
- const localVarQueryParameter = {};
8279
- // authentication bearerAuth required
8280
- // http bearer authentication required
8281
- yield setBearerAuthToObject(localVarHeaderParameter, configuration);
8282
- localVarHeaderParameter['Content-Type'] = 'application/json';
8283
- setSearchParams(localVarUrlObj, localVarQueryParameter);
8284
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8285
- localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8286
- localVarRequestOptions.data = serializeDataIfNeeded(setupPaymentMethodRequestBody, localVarRequestOptions, configuration);
8287
- return {
8288
- url: toPathString(localVarUrlObj),
8289
- options: localVarRequestOptions,
8290
- };
8291
- }),
8292
8285
  /**
8293
8286
  *
8294
8287
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -8558,21 +8551,6 @@ export const UsersApiFp = function (configuration) {
8558
8551
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8559
8552
  });
8560
8553
  },
8561
- /**
8562
- *
8563
- * @param {AddPaymentMethodRequestBody} addPaymentMethodRequestBody
8564
- * @param {*} [options] Override http request option.
8565
- * @throws {RequiredError}
8566
- */
8567
- addPaymentMethodSetup(addPaymentMethodRequestBody, options) {
8568
- return __awaiter(this, void 0, void 0, function* () {
8569
- var _a, _b, _c;
8570
- const localVarAxiosArgs = yield localVarAxiosParamCreator.addPaymentMethodSetup(addPaymentMethodRequestBody, options);
8571
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8572
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.addPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8573
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8574
- });
8575
- },
8576
8554
  /**
8577
8555
  *
8578
8556
  * @param {ChangePasswordRequestBody} changePasswordRequestBody
@@ -8588,21 +8566,6 @@ export const UsersApiFp = function (configuration) {
8588
8566
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8589
8567
  });
8590
8568
  },
8591
- /**
8592
- *
8593
- * @param {ConfirmPaymentMethodRequestBody} confirmPaymentMethodRequestBody
8594
- * @param {*} [options] Override http request option.
8595
- * @throws {RequiredError}
8596
- */
8597
- confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options) {
8598
- return __awaiter(this, void 0, void 0, function* () {
8599
- var _a, _b, _c;
8600
- const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmPaymentMethodSetup(confirmPaymentMethodRequestBody, options);
8601
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8602
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.confirmPaymentMethodSetup']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8603
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8604
- });
8605
- },
8606
8569
  /**
8607
8570
  *
8608
8571
  * @param {*} [options] Override http request option.
@@ -8973,21 +8936,6 @@ export const UsersApiFp = function (configuration) {
8973
8936
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8974
8937
  });
8975
8938
  },
8976
- /**
8977
- *
8978
- * @param {SetupPaymentMethodRequestBody} setupPaymentMethodRequestBody
8979
- * @param {*} [options] Override http request option.
8980
- * @throws {RequiredError}
8981
- */
8982
- setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options) {
8983
- return __awaiter(this, void 0, void 0, function* () {
8984
- var _a, _b, _c;
8985
- const localVarAxiosArgs = yield localVarAxiosParamCreator.setupOffSessionPaymentMethod(setupPaymentMethodRequestBody, options);
8986
- const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
8987
- const localVarOperationServerBasePath = (_c = (_b = operationServerMap['UsersApi.setupOffSessionPaymentMethod']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
8988
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
8989
- });
8990
- },
8991
8939
  /**
8992
8940
  *
8993
8941
  * @param {GoogleAuthRequestBody} googleAuthRequestBody
@@ -9129,15 +9077,6 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
9129
9077
  addOrganization(requestParameters, options) {
9130
9078
  return localVarFp.addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(axios, basePath));
9131
9079
  },
9132
- /**
9133
- *
9134
- * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
9135
- * @param {*} [options] Override http request option.
9136
- * @throws {RequiredError}
9137
- */
9138
- addPaymentMethodSetup(requestParameters, options) {
9139
- return localVarFp.addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9140
- },
9141
9080
  /**
9142
9081
  *
9143
9082
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -9147,15 +9086,6 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
9147
9086
  changePassword(requestParameters, options) {
9148
9087
  return localVarFp.changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(axios, basePath));
9149
9088
  },
9150
- /**
9151
- *
9152
- * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
9153
- * @param {*} [options] Override http request option.
9154
- * @throws {RequiredError}
9155
- */
9156
- confirmPaymentMethodSetup(requestParameters, options) {
9157
- return localVarFp.confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9158
- },
9159
9089
  /**
9160
9090
  *
9161
9091
  * @param {*} [options] Override http request option.
@@ -9364,15 +9294,6 @@ export const UsersApiFactory = function (configuration, basePath, axios) {
9364
9294
  resetPassword(requestParameters, options) {
9365
9295
  return localVarFp.resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(axios, basePath));
9366
9296
  },
9367
- /**
9368
- *
9369
- * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
9370
- * @param {*} [options] Override http request option.
9371
- * @throws {RequiredError}
9372
- */
9373
- setupOffSessionPaymentMethod(requestParameters, options) {
9374
- return localVarFp.setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(axios, basePath));
9375
- },
9376
9297
  /**
9377
9298
  *
9378
9299
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -9475,16 +9396,6 @@ export class UsersApi extends BaseAPI {
9475
9396
  addOrganization(requestParameters, options) {
9476
9397
  return UsersApiFp(this.configuration).addOrganization(requestParameters.addOrganizationRequest, options).then((request) => request(this.axios, this.basePath));
9477
9398
  }
9478
- /**
9479
- *
9480
- * @param {UsersApiAddPaymentMethodSetupRequest} requestParameters Request parameters.
9481
- * @param {*} [options] Override http request option.
9482
- * @throws {RequiredError}
9483
- * @memberof UsersApi
9484
- */
9485
- addPaymentMethodSetup(requestParameters, options) {
9486
- return UsersApiFp(this.configuration).addPaymentMethodSetup(requestParameters.addPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
9487
- }
9488
9399
  /**
9489
9400
  *
9490
9401
  * @param {UsersApiChangePasswordRequest} requestParameters Request parameters.
@@ -9495,16 +9406,6 @@ export class UsersApi extends BaseAPI {
9495
9406
  changePassword(requestParameters, options) {
9496
9407
  return UsersApiFp(this.configuration).changePassword(requestParameters.changePasswordRequestBody, options).then((request) => request(this.axios, this.basePath));
9497
9408
  }
9498
- /**
9499
- *
9500
- * @param {UsersApiConfirmPaymentMethodSetupRequest} requestParameters Request parameters.
9501
- * @param {*} [options] Override http request option.
9502
- * @throws {RequiredError}
9503
- * @memberof UsersApi
9504
- */
9505
- confirmPaymentMethodSetup(requestParameters, options) {
9506
- return UsersApiFp(this.configuration).confirmPaymentMethodSetup(requestParameters.confirmPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
9507
- }
9508
9409
  /**
9509
9410
  *
9510
9411
  * @param {*} [options] Override http request option.
@@ -9737,16 +9638,6 @@ export class UsersApi extends BaseAPI {
9737
9638
  resetPassword(requestParameters, options) {
9738
9639
  return UsersApiFp(this.configuration).resetPassword(requestParameters.resetPasswordRequest, options).then((request) => request(this.axios, this.basePath));
9739
9640
  }
9740
- /**
9741
- *
9742
- * @param {UsersApiSetupOffSessionPaymentMethodRequest} requestParameters Request parameters.
9743
- * @param {*} [options] Override http request option.
9744
- * @throws {RequiredError}
9745
- * @memberof UsersApi
9746
- */
9747
- setupOffSessionPaymentMethod(requestParameters, options) {
9748
- return UsersApiFp(this.configuration).setupOffSessionPaymentMethod(requestParameters.setupPaymentMethodRequestBody, options).then((request) => request(this.axios, this.basePath));
9749
- }
9750
9641
  /**
9751
9642
  *
9752
9643
  * @param {UsersApiSignInOrSignUpWithGoogleRequest} requestParameters Request parameters.
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.72
5
+ * The version of the OpenAPI document: 1.0.74
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/base.js 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.72
7
+ * The version of the OpenAPI document: 1.0.74
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.72
5
+ * The version of the OpenAPI document: 1.0.74
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.72
7
+ * The version of the OpenAPI document: 1.0.74
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.72
5
+ * The version of the OpenAPI document: 1.0.74
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,7 +4,7 @@
4
4
  * openapi.json
5
5
  * Pandook API Documentation
6
6
  *
7
- * The version of the OpenAPI document: 1.0.72
7
+ * The version of the OpenAPI document: 1.0.74
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * openapi.json
3
3
  * Pandook API Documentation
4
4
  *
5
- * The version of the OpenAPI document: 1.0.72
5
+ * The version of the OpenAPI document: 1.0.74
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/esm/index.js 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.72
7
+ * The version of the OpenAPI document: 1.0.74
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.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.72
5
+ * The version of the OpenAPI document: 1.0.74
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * openapi.json
6
6
  * Pandook API Documentation
7
7
  *
8
- * The version of the OpenAPI document: 1.0.72
8
+ * The version of the OpenAPI document: 1.0.74
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -11,7 +11,7 @@ Name | Type | Description | Notes
11
11
  **playersIds** | **Array<string>** | Liste des IDs des joueurs | [default to undefined]
12
12
  **status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
13
13
  **totalPrice** | **number** | Prix total en euros | [default to undefined]
14
- **slotId** | **string** | ID du créneau | [default to undefined]
14
+ **slotIds** | **Array<string>** | ID du créneau | [default to undefined]
15
15
  **isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous | [default to undefined]
16
16
  **createdAt** | **string** | Date de création | [default to undefined]
17
17
  **updatedAt** | **string** | Date de mise à jour | [default to undefined]
@@ -34,7 +34,7 @@ const instance: BookingInfo = {
34
34
  playersIds,
35
35
  status,
36
36
  totalPrice,
37
- slotId,
37
+ slotIds,
38
38
  isCreatorPayingAll,
39
39
  createdAt,
40
40
  updatedAt,
@@ -9,7 +9,6 @@ Name | Type | Description | Notes
9
9
  **_id** | **string** | ID unique des paramètres | [default to undefined]
10
10
  **clubId** | **string** | ID du club | [default to undefined]
11
11
  **maxWeeklyBookings** | **number** | Nombre maximum de réservations par semaine | [default to undefined]
12
- **allowMultipleBookingsAtTheSameTime** | **boolean** | Autoriser plusieurs réservations en même temps | [default to undefined]
13
12
  **sameTimeBookingsLimit** | **number** | Limite de réservations simultanées | [optional] [default to undefined]
14
13
  **cancellationLimitHours** | **number** | Limite d\'annulation en heures | [default to undefined]
15
14
  **availabilityPeriodInDays** | **number** | Période de disponibilité en jours | [default to undefined]
@@ -27,7 +26,6 @@ const instance: ClubSettingsResponse = {
27
26
  _id,
28
27
  clubId,
29
28
  maxWeeklyBookings,
30
- allowMultipleBookingsAtTheSameTime,
31
29
  sameTimeBookingsLimit,
32
30
  cancellationLimitHours,
33
31
  availabilityPeriodInDays,
@@ -5,7 +5,7 @@
5
5
 
6
6
  Name | Type | Description | Notes
7
7
  ------------ | ------------- | ------------- | -------------
8
- **slotId** | **string** | ID du créneau à réserver | [default to undefined]
8
+ **slotIds** | **Array<string>** | ID du créneau à réserver | [default to undefined]
9
9
  **players** | [**Array<PlayerWithPaymentMethod>**](PlayerWithPaymentMethod.md) | Liste des joueurs avec leurs méthodes de paiement | [default to undefined]
10
10
  **isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous les joueurs | [optional] [default to undefined]
11
11
  **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined]
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
17
17
  import { CreateBookingRequest } from '@tennac-booking/sdk';
18
18
 
19
19
  const instance: CreateBookingRequest = {
20
- slotId,
20
+ slotIds,
21
21
  players,
22
22
  isCreatorPayingAll,
23
23
  paymentMethod,
@@ -13,9 +13,7 @@ Name | Type | Description | Notes
13
13
  **gender** | [**Gender**](Gender.md) | | [optional] [default to undefined]
14
14
  **location** | [**IUserLocation**](IUserLocation.md) | | [optional] [default to undefined]
15
15
  **isAccountVerified** | **boolean** | | [default to undefined]
16
- **isCreditCardRegistered** | **boolean** | | [optional] [default to undefined]
17
16
  **levelBySports** | [**Array<ILevelBySports>**](ILevelBySports.md) | | [optional] [default to undefined]
18
- **stripeCustomerId** | **string** | | [optional] [default to undefined]
19
17
  **phone** | **string** | | [optional] [default to undefined]
20
18
  **password** | **string** | | [optional] [default to undefined]
21
19
  **profilePicture** | **string** | | [optional] [default to undefined]
@@ -28,15 +26,12 @@ Name | Type | Description | Notes
28
26
  **createdAt** | **string** | | [default to undefined]
29
27
  **updatedAt** | **string** | | [default to undefined]
30
28
  **isLevelCertified** | **boolean** | | [optional] [default to undefined]
31
- **paymentMethods** | **Array<string>** | | [optional] [default to undefined]
32
- **defaultPaymentMethodId** | **string** | | [optional] [default to undefined]
33
- **paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
34
- **setupIntentId** | **string** | | [optional] [default to undefined]
35
29
  **favoriteClubs** | **Array<string>** | | [optional] [default to undefined]
36
30
  **description** | **string** | | [optional] [default to undefined]
37
31
  **isProfileVisible** | **boolean** | | [default to undefined]
38
32
  **favoritePlayers** | **Array<string>** | | [optional] [default to undefined]
39
33
  **sports** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
34
+ **stripeCustomerId** | **string** | | [optional] [default to undefined]
40
35
 
41
36
  ## Example
42
37
 
@@ -52,9 +47,7 @@ const instance: IUserAttributes = {
52
47
  gender,
53
48
  location,
54
49
  isAccountVerified,
55
- isCreditCardRegistered,
56
50
  levelBySports,
57
- stripeCustomerId,
58
51
  phone,
59
52
  password,
60
53
  profilePicture,
@@ -67,15 +60,12 @@ const instance: IUserAttributes = {
67
60
  createdAt,
68
61
  updatedAt,
69
62
  isLevelCertified,
70
- paymentMethods,
71
- defaultPaymentMethodId,
72
- paymentMethodSetupCompleted,
73
- setupIntentId,
74
63
  favoriteClubs,
75
64
  description,
76
65
  isProfileVisible,
77
66
  favoritePlayers,
78
67
  sports,
68
+ stripeCustomerId,
79
69
  };
80
70
  ```
81
71
 
@@ -0,0 +1,53 @@
1
+ # SportsPublicApi
2
+
3
+ All URIs are relative to *http://localhost*
4
+
5
+ |Method | HTTP request | Description|
6
+ |------------- | ------------- | -------------|
7
+ |[**getVerifiedSports**](#getverifiedsports) | **GET** /api/sports/verified | |
8
+
9
+ # **getVerifiedSports**
10
+ > Array<SportResponse> getVerifiedSports()
11
+
12
+ Récupère tous les sports vérifiés, accessibles publiquement
13
+
14
+ ### Example
15
+
16
+ ```typescript
17
+ import {
18
+ SportsPublicApi,
19
+ Configuration
20
+ } from '@tennac-booking/sdk';
21
+
22
+ const configuration = new Configuration();
23
+ const apiInstance = new SportsPublicApi(configuration);
24
+
25
+ const { status, data } = await apiInstance.getVerifiedSports();
26
+ ```
27
+
28
+ ### Parameters
29
+ This endpoint does not have any parameters.
30
+
31
+
32
+ ### Return type
33
+
34
+ **Array<SportResponse>**
35
+
36
+ ### Authorization
37
+
38
+ No authorization required
39
+
40
+ ### HTTP request headers
41
+
42
+ - **Content-Type**: Not defined
43
+ - **Accept**: application/json
44
+
45
+
46
+ ### HTTP response details
47
+ | Status code | Description | Response headers |
48
+ |-------------|-------------|------------------|
49
+ |**200** | Sports vérifiés | - |
50
+ |**500** | Server Error | - |
51
+
52
+ [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
53
+