@tennac-booking/sdk 1.0.45 → 1.0.47

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 (56) hide show
  1. package/README.md +38 -38
  2. package/api.ts +37 -37
  3. package/base.ts +1 -1
  4. package/dist/api.js +37 -37
  5. package/dist/base.js +1 -1
  6. package/dist/esm/api.js +37 -37
  7. package/dist/esm/base.js +1 -1
  8. package/docs/BookingsApi.md +1 -1
  9. package/docs/ClubAnalyticsApi.md +1 -1
  10. package/docs/ClubsApi.md +1 -1
  11. package/docs/DiagnosticsApi.md +1 -1
  12. package/docs/EventsApi.md +1 -1
  13. package/docs/ManagerBookingsApi.md +1 -1
  14. package/docs/ManagerClubCourtsApi.md +1 -1
  15. package/docs/ManagerClubRolesApi.md +1 -1
  16. package/docs/ManagerClubSlotsApi.md +1 -1
  17. package/docs/ManagerClubSubscriptionsApi.md +1 -1
  18. package/docs/ManagerClubsApi.md +1 -1
  19. package/docs/ManagerEventsApi.md +1 -1
  20. package/docs/ManagerSportsApi.md +1 -1
  21. package/docs/StaffBookingsApi.md +1 -1
  22. package/docs/StaffClubAnalyticsApi.md +1 -1
  23. package/docs/StaffClubBookingsApi.md +1 -1
  24. package/docs/StaffClubsApi.md +1 -1
  25. package/docs/StaffEventsApi.md +1 -1
  26. package/docs/UserBookingsApi.md +1 -1
  27. package/docs/UserClubCourtsApi.md +1 -1
  28. package/docs/UserClubSlotsApi.md +1 -1
  29. package/docs/UserClubSportsApi.md +1 -1
  30. package/docs/UserClubsApi.md +1 -1
  31. package/docs/UsersApi.md +38 -38
  32. package/package.json +1 -1
  33. package/docs/AddFavoritePlayerRequestBody.md +0 -20
  34. package/docs/FavoriteClubItem.md +0 -26
  35. package/docs/FavoriteClubResponse.md +0 -22
  36. package/docs/FavoritePlayerPublic.md +0 -28
  37. package/docs/FavoritePlayersIdsResponse.md +0 -22
  38. package/docs/GetUserRolesResponse.md +0 -20
  39. package/docs/GetUserRolesResponseRolesInner.md +0 -26
  40. package/docs/GetUserSubscriptionsResponse.md +0 -22
  41. package/docs/GoogleSignInRequestBody.md +0 -20
  42. package/docs/GoogleSignInResponse.md +0 -24
  43. package/docs/InitiateSubscriptionSessionRequestBody.md +0 -26
  44. package/docs/InitiateSubscriptionSessionResponse.md +0 -22
  45. package/docs/ProfileVisibilityResponse.md +0 -20
  46. package/docs/StaffProfileApi.md +0 -110
  47. package/docs/UserApi.md +0 -63
  48. package/docs/UserAuthenticationApi.md +0 -226
  49. package/docs/UserBookingsResponse.md +0 -26
  50. package/docs/UserCityResponse.md +0 -20
  51. package/docs/UserDescriptionResponse.md +0 -20
  52. package/docs/UserFavoriteClubsResponse.md +0 -20
  53. package/docs/UserPaymentApi.md +0 -176
  54. package/docs/UserProfileApi.md +0 -1254
  55. package/docs/UserResponse.md +0 -38
  56. package/docs/UserSubscriptionsApi.md +0 -222
package/dist/esm/api.js CHANGED
@@ -5363,7 +5363,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5363
5363
  addFavoriteClub: (favoriteClubRequestBody_1, ...args_1) => __awaiter(this, [favoriteClubRequestBody_1, ...args_1], void 0, function* (favoriteClubRequestBody, options = {}) {
5364
5364
  // verify required parameter 'favoriteClubRequestBody' is not null or undefined
5365
5365
  assertParamExists('addFavoriteClub', 'favoriteClubRequestBody', favoriteClubRequestBody);
5366
- const localVarPath = `/users/me/favorite-clubs`;
5366
+ const localVarPath = `/api/users/me/favorite-clubs`;
5367
5367
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5368
5368
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5369
5369
  let baseOptions;
@@ -5392,7 +5392,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5392
5392
  addFavoritePlayer: (favoritePlayerRequestBody_1, ...args_1) => __awaiter(this, [favoritePlayerRequestBody_1, ...args_1], void 0, function* (favoritePlayerRequestBody, options = {}) {
5393
5393
  // verify required parameter 'favoritePlayerRequestBody' is not null or undefined
5394
5394
  assertParamExists('addFavoritePlayer', 'favoritePlayerRequestBody', favoritePlayerRequestBody);
5395
- const localVarPath = `/users/me/favoritesPlayers`;
5395
+ const localVarPath = `/api/users/me/favoritesPlayers`;
5396
5396
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5397
5397
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5398
5398
  let baseOptions;
@@ -5421,7 +5421,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5421
5421
  addPaymentMethodSetup: (addPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [addPaymentMethodRequestBody_1, ...args_1], void 0, function* (addPaymentMethodRequestBody, options = {}) {
5422
5422
  // verify required parameter 'addPaymentMethodRequestBody' is not null or undefined
5423
5423
  assertParamExists('addPaymentMethodSetup', 'addPaymentMethodRequestBody', addPaymentMethodRequestBody);
5424
- const localVarPath = `/users/addPaymentMethodSetup`;
5424
+ const localVarPath = `/api/users/addPaymentMethodSetup`;
5425
5425
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5426
5426
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5427
5427
  let baseOptions;
@@ -5453,7 +5453,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5453
5453
  assertParamExists('cancelSubscription', 'clubId', clubId);
5454
5454
  // verify required parameter 'subscriptionId' is not null or undefined
5455
5455
  assertParamExists('cancelSubscription', 'subscriptionId', subscriptionId);
5456
- const localVarPath = `/users/me/subscriptions/{clubId}/{subscriptionId}`
5456
+ const localVarPath = `/api/users/me/subscriptions/{clubId}/{subscriptionId}`
5457
5457
  .replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)))
5458
5458
  .replace(`{${"subscriptionId"}}`, encodeURIComponent(String(subscriptionId)));
5459
5459
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -5482,7 +5482,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5482
5482
  changePassword: (changePasswordRequestBody_1, ...args_1) => __awaiter(this, [changePasswordRequestBody_1, ...args_1], void 0, function* (changePasswordRequestBody, options = {}) {
5483
5483
  // verify required parameter 'changePasswordRequestBody' is not null or undefined
5484
5484
  assertParamExists('changePassword', 'changePasswordRequestBody', changePasswordRequestBody);
5485
- const localVarPath = `/users/me/password`;
5485
+ const localVarPath = `/api/users/me/password`;
5486
5486
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5487
5487
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5488
5488
  let baseOptions;
@@ -5511,7 +5511,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5511
5511
  confirmPaymentMethodSetup: (confirmPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [confirmPaymentMethodRequestBody_1, ...args_1], void 0, function* (confirmPaymentMethodRequestBody, options = {}) {
5512
5512
  // verify required parameter 'confirmPaymentMethodRequestBody' is not null or undefined
5513
5513
  assertParamExists('confirmPaymentMethodSetup', 'confirmPaymentMethodRequestBody', confirmPaymentMethodRequestBody);
5514
- const localVarPath = `/users/confirmPaymentMethodSetup`;
5514
+ const localVarPath = `/api/users/confirmPaymentMethodSetup`;
5515
5515
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5516
5516
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5517
5517
  let baseOptions;
@@ -5537,7 +5537,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5537
5537
  * @throws {RequiredError}
5538
5538
  */
5539
5539
  getAllUsers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5540
- const localVarPath = `/users`;
5540
+ const localVarPath = `/api/users`;
5541
5541
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5542
5542
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5543
5543
  let baseOptions;
@@ -5564,7 +5564,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5564
5564
  getBookingDetail: (bookingId_1, ...args_1) => __awaiter(this, [bookingId_1, ...args_1], void 0, function* (bookingId, options = {}) {
5565
5565
  // verify required parameter 'bookingId' is not null or undefined
5566
5566
  assertParamExists('getBookingDetail', 'bookingId', bookingId);
5567
- const localVarPath = `/users/me/booking-detail/{bookingId}`
5567
+ const localVarPath = `/api/users/me/booking-detail/{bookingId}`
5568
5568
  .replace(`{${"bookingId"}}`, encodeURIComponent(String(bookingId)));
5569
5569
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5570
5570
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5589,7 +5589,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5589
5589
  * @throws {RequiredError}
5590
5590
  */
5591
5591
  getFavoriteClubs: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5592
- const localVarPath = `/users/me/favorite-clubs`;
5592
+ const localVarPath = `/api/users/me/favorite-clubs`;
5593
5593
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5594
5594
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5595
5595
  let baseOptions;
@@ -5613,7 +5613,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5613
5613
  * @throws {RequiredError}
5614
5614
  */
5615
5615
  getFavoritesPlayers: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5616
- const localVarPath = `/users/me/favoritesPlayers`;
5616
+ const localVarPath = `/api/users/me/favoritesPlayers`;
5617
5617
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5618
5618
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5619
5619
  let baseOptions;
@@ -5637,7 +5637,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5637
5637
  * @throws {RequiredError}
5638
5638
  */
5639
5639
  getFrequentlyPlayedWith: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5640
- const localVarPath = `/users/me/frequentlyPlayedWith`;
5640
+ const localVarPath = `/api/users/me/frequentlyPlayedWith`;
5641
5641
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5642
5642
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5643
5643
  let baseOptions;
@@ -5661,7 +5661,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5661
5661
  * @throws {RequiredError}
5662
5662
  */
5663
5663
  getFrequentlyVisitedClub: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5664
- const localVarPath = `/users/me/frequentlyVisitedClub`;
5664
+ const localVarPath = `/api/users/me/frequentlyVisitedClub`;
5665
5665
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5666
5666
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5667
5667
  let baseOptions;
@@ -5685,7 +5685,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5685
5685
  * @throws {RequiredError}
5686
5686
  */
5687
5687
  getMe: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5688
- const localVarPath = `/users/me`;
5688
+ const localVarPath = `/api/users/me`;
5689
5689
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5690
5690
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5691
5691
  let baseOptions;
@@ -5711,7 +5711,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5711
5711
  * @throws {RequiredError}
5712
5712
  */
5713
5713
  getNearestClubs: (radiusInKm_1, limit_1, ...args_1) => __awaiter(this, [radiusInKm_1, limit_1, ...args_1], void 0, function* (radiusInKm, limit, options = {}) {
5714
- const localVarPath = `/users/me/nearest-clubs`;
5714
+ const localVarPath = `/api/users/me/nearest-clubs`;
5715
5715
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5716
5716
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5717
5717
  let baseOptions;
@@ -5745,7 +5745,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5745
5745
  * @throws {RequiredError}
5746
5746
  */
5747
5747
  getNearestClubsFromCoordinates: (latitude_1, longitude_1, radiusInKm_1, limit_1, ...args_1) => __awaiter(this, [latitude_1, longitude_1, radiusInKm_1, limit_1, ...args_1], void 0, function* (latitude, longitude, radiusInKm, limit, options = {}) {
5748
- const localVarPath = `/users/nearest-clubs/coordinates`;
5748
+ const localVarPath = `/api/users/nearest-clubs/coordinates`;
5749
5749
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5750
5750
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5751
5751
  let baseOptions;
@@ -5783,7 +5783,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5783
5783
  * @throws {RequiredError}
5784
5784
  */
5785
5785
  getNearestUsers: (radiusInKm_1, limit_1, ...args_1) => __awaiter(this, [radiusInKm_1, limit_1, ...args_1], void 0, function* (radiusInKm, limit, options = {}) {
5786
- const localVarPath = `/users/me/nearest-players`;
5786
+ const localVarPath = `/api/users/me/nearest-players`;
5787
5787
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5788
5788
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5789
5789
  let baseOptions;
@@ -5817,7 +5817,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5817
5817
  * @throws {RequiredError}
5818
5818
  */
5819
5819
  getNearestUsersFromCoordinates: (latitude_1, longitude_1, radiusInKm_1, limit_1, ...args_1) => __awaiter(this, [latitude_1, longitude_1, radiusInKm_1, limit_1, ...args_1], void 0, function* (latitude, longitude, radiusInKm, limit, options = {}) {
5820
- const localVarPath = `/users/nearest-players/coordinates`;
5820
+ const localVarPath = `/api/users/nearest-players/coordinates`;
5821
5821
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5822
5822
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5823
5823
  let baseOptions;
@@ -5855,7 +5855,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5855
5855
  * @throws {RequiredError}
5856
5856
  */
5857
5857
  getUserBookings: (limit_1, skip_1, ...args_1) => __awaiter(this, [limit_1, skip_1, ...args_1], void 0, function* (limit, skip, options = {}) {
5858
- const localVarPath = `/users/me/bookings`;
5858
+ const localVarPath = `/api/users/me/bookings`;
5859
5859
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5860
5860
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5861
5861
  let baseOptions;
@@ -5888,7 +5888,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5888
5888
  getUserProfileById: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
5889
5889
  // verify required parameter 'id' is not null or undefined
5890
5890
  assertParamExists('getUserProfileById', 'id', id);
5891
- const localVarPath = `/users/profile/{id}`
5891
+ const localVarPath = `/api/users/profile/{id}`
5892
5892
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5893
5893
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5894
5894
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5916,7 +5916,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5916
5916
  getUserProfileStaff: (id_1, ...args_1) => __awaiter(this, [id_1, ...args_1], void 0, function* (id, options = {}) {
5917
5917
  // verify required parameter 'id' is not null or undefined
5918
5918
  assertParamExists('getUserProfileStaff', 'id', id);
5919
- const localVarPath = `/users/staff/profile/{id}`
5919
+ const localVarPath = `/api/users/staff/profile/{id}`
5920
5920
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
5921
5921
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5922
5922
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -5941,7 +5941,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5941
5941
  * @throws {RequiredError}
5942
5942
  */
5943
5943
  getUserRolesInClubs: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5944
- const localVarPath = `/users/me/roles`;
5944
+ const localVarPath = `/api/users/me/roles`;
5945
5945
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5946
5946
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5947
5947
  let baseOptions;
@@ -5965,7 +5965,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5965
5965
  * @throws {RequiredError}
5966
5966
  */
5967
5967
  getUserSubscriptions: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
5968
- const localVarPath = `/users/me/subscriptions`;
5968
+ const localVarPath = `/api/users/me/subscriptions`;
5969
5969
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5970
5970
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5971
5971
  let baseOptions;
@@ -5992,7 +5992,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
5992
5992
  initiateSubscriptionSession: (subscriptionSessionRequestBody_1, ...args_1) => __awaiter(this, [subscriptionSessionRequestBody_1, ...args_1], void 0, function* (subscriptionSessionRequestBody, options = {}) {
5993
5993
  // verify required parameter 'subscriptionSessionRequestBody' is not null or undefined
5994
5994
  assertParamExists('initiateSubscriptionSession', 'subscriptionSessionRequestBody', subscriptionSessionRequestBody);
5995
- const localVarPath = `/users/me/subscription-session`;
5995
+ const localVarPath = `/api/users/me/subscription-session`;
5996
5996
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
5997
5997
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5998
5998
  let baseOptions;
@@ -6021,7 +6021,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6021
6021
  login: (loginRequestBody_1, ...args_1) => __awaiter(this, [loginRequestBody_1, ...args_1], void 0, function* (loginRequestBody, options = {}) {
6022
6022
  // verify required parameter 'loginRequestBody' is not null or undefined
6023
6023
  assertParamExists('login', 'loginRequestBody', loginRequestBody);
6024
- const localVarPath = `/users/login`;
6024
+ const localVarPath = `/api/users/login`;
6025
6025
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6026
6026
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6027
6027
  let baseOptions;
@@ -6050,7 +6050,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6050
6050
  refreshToken: (refreshTokenRequestBody_1, ...args_1) => __awaiter(this, [refreshTokenRequestBody_1, ...args_1], void 0, function* (refreshTokenRequestBody, options = {}) {
6051
6051
  // verify required parameter 'refreshTokenRequestBody' is not null or undefined
6052
6052
  assertParamExists('refreshToken', 'refreshTokenRequestBody', refreshTokenRequestBody);
6053
- const localVarPath = `/users/refresh-token`;
6053
+ const localVarPath = `/api/users/refresh-token`;
6054
6054
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6055
6055
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6056
6056
  let baseOptions;
@@ -6079,7 +6079,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6079
6079
  register: (registerRequestBody_1, ...args_1) => __awaiter(this, [registerRequestBody_1, ...args_1], void 0, function* (registerRequestBody, options = {}) {
6080
6080
  // verify required parameter 'registerRequestBody' is not null or undefined
6081
6081
  assertParamExists('register', 'registerRequestBody', registerRequestBody);
6082
- const localVarPath = `/users`;
6082
+ const localVarPath = `/api/users`;
6083
6083
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6084
6084
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6085
6085
  let baseOptions;
@@ -6108,7 +6108,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6108
6108
  removeFavoriteClub: (clubId_1, ...args_1) => __awaiter(this, [clubId_1, ...args_1], void 0, function* (clubId, options = {}) {
6109
6109
  // verify required parameter 'clubId' is not null or undefined
6110
6110
  assertParamExists('removeFavoriteClub', 'clubId', clubId);
6111
- const localVarPath = `/users/me/favorite-clubs/{clubId}`
6111
+ const localVarPath = `/api/users/me/favorite-clubs/{clubId}`
6112
6112
  .replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)));
6113
6113
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6114
6114
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6136,7 +6136,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6136
6136
  removeFavoritePlayer: (favoritePlayerId_1, ...args_1) => __awaiter(this, [favoritePlayerId_1, ...args_1], void 0, function* (favoritePlayerId, options = {}) {
6137
6137
  // verify required parameter 'favoritePlayerId' is not null or undefined
6138
6138
  assertParamExists('removeFavoritePlayer', 'favoritePlayerId', favoritePlayerId);
6139
- const localVarPath = `/users/me/favoritesPlayers/{favoritePlayerId}`
6139
+ const localVarPath = `/api/users/me/favoritesPlayers/{favoritePlayerId}`
6140
6140
  .replace(`{${"favoritePlayerId"}}`, encodeURIComponent(String(favoritePlayerId)));
6141
6141
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6142
6142
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -6164,7 +6164,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6164
6164
  requestPasswordReset: (passwordResetRequestBody_1, ...args_1) => __awaiter(this, [passwordResetRequestBody_1, ...args_1], void 0, function* (passwordResetRequestBody, options = {}) {
6165
6165
  // verify required parameter 'passwordResetRequestBody' is not null or undefined
6166
6166
  assertParamExists('requestPasswordReset', 'passwordResetRequestBody', passwordResetRequestBody);
6167
- const localVarPath = `/users/me/request-password-rest`;
6167
+ const localVarPath = `/api/users/me/request-password-rest`;
6168
6168
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6169
6169
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6170
6170
  let baseOptions;
@@ -6196,7 +6196,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6196
6196
  assertParamExists('resumeSubscription', 'clubId', clubId);
6197
6197
  // verify required parameter 'subscriptionId' is not null or undefined
6198
6198
  assertParamExists('resumeSubscription', 'subscriptionId', subscriptionId);
6199
- const localVarPath = `/users/me/subscriptions/{clubId}/{subscriptionId}/resume`
6199
+ const localVarPath = `/api/users/me/subscriptions/{clubId}/{subscriptionId}/resume`
6200
6200
  .replace(`{${"clubId"}}`, encodeURIComponent(String(clubId)))
6201
6201
  .replace(`{${"subscriptionId"}}`, encodeURIComponent(String(subscriptionId)));
6202
6202
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -6225,7 +6225,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6225
6225
  setupPaymentMethod: (setupPaymentMethodRequestBody_1, ...args_1) => __awaiter(this, [setupPaymentMethodRequestBody_1, ...args_1], void 0, function* (setupPaymentMethodRequestBody, options = {}) {
6226
6226
  // verify required parameter 'setupPaymentMethodRequestBody' is not null or undefined
6227
6227
  assertParamExists('setupPaymentMethod', 'setupPaymentMethodRequestBody', setupPaymentMethodRequestBody);
6228
- const localVarPath = `/users/setupPaymentMethod`;
6228
+ const localVarPath = `/api/users/setupPaymentMethod`;
6229
6229
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6230
6230
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6231
6231
  let baseOptions;
@@ -6254,7 +6254,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6254
6254
  signInOrSignUpWithGoogle: (googleAuthRequestBody_1, ...args_1) => __awaiter(this, [googleAuthRequestBody_1, ...args_1], void 0, function* (googleAuthRequestBody, options = {}) {
6255
6255
  // verify required parameter 'googleAuthRequestBody' is not null or undefined
6256
6256
  assertParamExists('signInOrSignUpWithGoogle', 'googleAuthRequestBody', googleAuthRequestBody);
6257
- const localVarPath = `/users/googleSignin`;
6257
+ const localVarPath = `/api/users/googleSignin`;
6258
6258
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6259
6259
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6260
6260
  let baseOptions;
@@ -6283,7 +6283,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6283
6283
  subscribeToClub: (subscribeToClubRequestBody_1, ...args_1) => __awaiter(this, [subscribeToClubRequestBody_1, ...args_1], void 0, function* (subscribeToClubRequestBody, options = {}) {
6284
6284
  // verify required parameter 'subscribeToClubRequestBody' is not null or undefined
6285
6285
  assertParamExists('subscribeToClub', 'subscribeToClubRequestBody', subscribeToClubRequestBody);
6286
- const localVarPath = `/users/me/subscribe`;
6286
+ const localVarPath = `/api/users/me/subscribe`;
6287
6287
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6288
6288
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6289
6289
  let baseOptions;
@@ -6312,7 +6312,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6312
6312
  updateCustomer: (updateCustomerRequestBody_1, ...args_1) => __awaiter(this, [updateCustomerRequestBody_1, ...args_1], void 0, function* (updateCustomerRequestBody, options = {}) {
6313
6313
  // verify required parameter 'updateCustomerRequestBody' is not null or undefined
6314
6314
  assertParamExists('updateCustomer', 'updateCustomerRequestBody', updateCustomerRequestBody);
6315
- const localVarPath = `/users/me/customer`;
6315
+ const localVarPath = `/api/users/me/customer`;
6316
6316
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6317
6317
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6318
6318
  let baseOptions;
@@ -6341,7 +6341,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6341
6341
  updateLevelBySports: (updateLevelBySportsRequestBody_1, ...args_1) => __awaiter(this, [updateLevelBySportsRequestBody_1, ...args_1], void 0, function* (updateLevelBySportsRequestBody, options = {}) {
6342
6342
  // verify required parameter 'updateLevelBySportsRequestBody' is not null or undefined
6343
6343
  assertParamExists('updateLevelBySports', 'updateLevelBySportsRequestBody', updateLevelBySportsRequestBody);
6344
- const localVarPath = `/users/me/level-by-sports`;
6344
+ const localVarPath = `/api/users/me/level-by-sports`;
6345
6345
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6346
6346
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6347
6347
  let baseOptions;
@@ -6370,7 +6370,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6370
6370
  updateMe: (updateUserRequestBody_1, ...args_1) => __awaiter(this, [updateUserRequestBody_1, ...args_1], void 0, function* (updateUserRequestBody, options = {}) {
6371
6371
  // verify required parameter 'updateUserRequestBody' is not null or undefined
6372
6372
  assertParamExists('updateMe', 'updateUserRequestBody', updateUserRequestBody);
6373
- const localVarPath = `/users/me`;
6373
+ const localVarPath = `/api/users/me`;
6374
6374
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6375
6375
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6376
6376
  let baseOptions;
@@ -6399,7 +6399,7 @@ export const UsersApiAxiosParamCreator = function (configuration) {
6399
6399
  updateProfilePicture: (profilePictureUpdateRequestBody_1, ...args_1) => __awaiter(this, [profilePictureUpdateRequestBody_1, ...args_1], void 0, function* (profilePictureUpdateRequestBody, options = {}) {
6400
6400
  // verify required parameter 'profilePictureUpdateRequestBody' is not null or undefined
6401
6401
  assertParamExists('updateProfilePicture', 'profilePictureUpdateRequestBody', profilePictureUpdateRequestBody);
6402
- const localVarPath = `/users/me/profile-picture`;
6402
+ const localVarPath = `/api/users/me/profile-picture`;
6403
6403
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
6404
6404
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
6405
6405
  let baseOptions;
package/dist/esm/base.js CHANGED
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import globalAxios from 'axios';
15
- export const BASE_PATH = "/api".replace(/\/+$/, "");
15
+ export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
16
16
  /**
17
17
  *
18
18
  * @export
@@ -1,6 +1,6 @@
1
1
  # BookingsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ClubAnalyticsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
package/docs/ClubsApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ClubsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # DiagnosticsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
package/docs/EventsApi.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # EventsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerBookingsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerClubCourtsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerClubRolesApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerClubSlotsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerClubSubscriptionsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerClubsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerEventsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # ManagerSportsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # StaffBookingsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # StaffClubAnalyticsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # StaffClubBookingsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # StaffClubsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # StaffEventsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserBookingsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserClubCourtsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserClubSlotsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserClubSportsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|
@@ -1,6 +1,6 @@
1
1
  # UserClubsApi
2
2
 
3
- All URIs are relative to */api*
3
+ All URIs are relative to *http://localhost*
4
4
 
5
5
  |Method | HTTP request | Description|
6
6
  |------------- | ------------- | -------------|