@tennac-booking/sdk 1.0.38 → 1.0.40

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 (80) hide show
  1. package/.openapi-generator/FILES +66 -206
  2. package/README.md +75 -258
  3. package/api.ts +2219 -13121
  4. package/base.ts +3 -3
  5. package/common.ts +2 -2
  6. package/configuration.ts +2 -2
  7. package/dist/api.d.ts +1496 -8954
  8. package/dist/api.js +1015 -7046
  9. package/dist/base.d.ts +2 -2
  10. package/dist/base.js +3 -3
  11. package/dist/common.d.ts +2 -2
  12. package/dist/common.js +2 -2
  13. package/dist/configuration.d.ts +2 -2
  14. package/dist/configuration.js +2 -2
  15. package/dist/esm/api.d.ts +1496 -8954
  16. package/dist/esm/api.js +1011 -6932
  17. package/dist/esm/base.d.ts +2 -2
  18. package/dist/esm/base.js +3 -3
  19. package/dist/esm/common.d.ts +2 -2
  20. package/dist/esm/common.js +2 -2
  21. package/dist/esm/configuration.d.ts +2 -2
  22. package/dist/esm/configuration.js +2 -2
  23. package/dist/esm/index.d.ts +2 -2
  24. package/dist/esm/index.js +2 -2
  25. package/dist/index.d.ts +2 -2
  26. package/dist/index.js +2 -2
  27. package/docs/AddPaymentMethodRequestBody.md +20 -0
  28. package/docs/BaseUser.md +76 -0
  29. package/docs/BookingDetailResponse.md +46 -0
  30. package/docs/BookingSummary.md +44 -0
  31. package/docs/BookingSummaryBookingHistory.md +18 -0
  32. package/docs/BookingSummaryClubAddress.md +18 -0
  33. package/docs/ChangePasswordResponse.md +1 -1
  34. package/docs/ConfirmPaymentMethodRequestBody.md +20 -0
  35. package/docs/ConfirmPaymentMethodResponse.md +22 -0
  36. package/docs/DiagnosticsApi.md +52 -0
  37. package/docs/DiagnosticsResponse.md +24 -0
  38. package/docs/FavoriteClubMutationResponse.md +22 -0
  39. package/docs/FavoriteClubRequestBody.md +20 -0
  40. package/docs/FavoriteClubsResponse.md +20 -0
  41. package/docs/FavoritePlayerMutationResponse.md +22 -0
  42. package/docs/FavoritePlayerRequestBody.md +20 -0
  43. package/docs/FavoritePlayersResponse.md +1 -1
  44. package/docs/FrequentClub.md +24 -0
  45. package/docs/FrequentPlayer.md +28 -0
  46. package/docs/Gender.md +12 -0
  47. package/docs/GoogleAuthRequestBody.md +20 -0
  48. package/docs/GoogleAuthResponse.md +30 -0
  49. package/docs/GoogleAuthResponseUser.md +26 -0
  50. package/docs/ILevelBySports.md +22 -0
  51. package/docs/LevelBySportEntry.md +22 -0
  52. package/docs/LoginResponse.md +2 -2
  53. package/docs/NotImplementedResponse.md +20 -0
  54. package/docs/PasswordResetRequestBody.md +20 -0
  55. package/docs/PaymentMethodSetupResponse.md +24 -0
  56. package/docs/PickUserResponseExcludeKeyofUserResponseLocation.md +73 -0
  57. package/docs/ProfilePictureResponse.md +1 -1
  58. package/docs/ProfilePictureUpdateRequestBody.md +20 -0
  59. package/docs/RefreshTokenResponse.md +6 -2
  60. package/docs/SdkDiagnosticsResponse.md +28 -0
  61. package/docs/SdkDiagnosticsResponseOpenapi.md +24 -0
  62. package/docs/SdkDiagnosticsResponseSdk.md +24 -0
  63. package/docs/SetupPaymentMethodRequestBody.md +1 -1
  64. package/docs/SetupPaymentMethodResponse.md +3 -3
  65. package/docs/StaffUserProfileResponse.md +22 -0
  66. package/docs/SubscribeToClubRequestBody.md +3 -3
  67. package/docs/SubscriptionMutationResponse.md +20 -0
  68. package/docs/SubscriptionSessionRequestBody.md +22 -0
  69. package/docs/SubscriptionSessionResponse.md +20 -0
  70. package/docs/UpdateCustomerRequestBody.md +3 -7
  71. package/docs/UpdateCustomerResponse.md +1 -3
  72. package/docs/UpdateLevelBySportsRequestBody.md +1 -1
  73. package/docs/UpdateUserRequestBodyLevelBySportsInner.md +2 -2
  74. package/docs/UserLocationSummary.md +44 -0
  75. package/docs/UserProfileResponse.md +28 -0
  76. package/docs/UserRolesResponse.md +20 -0
  77. package/docs/UserSubscriptionsResponse.md +20 -0
  78. package/docs/UsersApi.md +1721 -76
  79. package/index.ts +2 -2
  80. package/package.json +1 -1
@@ -0,0 +1,44 @@
1
+ # UserLocationSummary
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **type** | **string** | | [optional] [default to undefined]
9
+ **coordinates** | **Array<number>** | | [optional] [default to undefined]
10
+ **mapboxId** | **string** | | [optional] [default to undefined]
11
+ **mapboxPlaceType** | **Array<string>** | | [optional] [default to undefined]
12
+ **mapboxPlaceName** | **string** | | [optional] [default to undefined]
13
+ **mapboxAddress** | **string** | | [optional] [default to undefined]
14
+ **mapboxContext** | **Array<{ [key: string]: any; }>** | | [optional] [default to undefined]
15
+ **mapboxRaw** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
16
+ **city** | **string** | | [optional] [default to undefined]
17
+ **country** | **string** | | [optional] [default to undefined]
18
+ **postalCode** | **string** | | [optional] [default to undefined]
19
+ **state** | **string** | | [optional] [default to undefined]
20
+ **address** | **string** | | [optional] [default to undefined]
21
+
22
+ ## Example
23
+
24
+ ```typescript
25
+ import { UserLocationSummary } from '@tennac-booking/sdk';
26
+
27
+ const instance: UserLocationSummary = {
28
+ type,
29
+ coordinates,
30
+ mapboxId,
31
+ mapboxPlaceType,
32
+ mapboxPlaceName,
33
+ mapboxAddress,
34
+ mapboxContext,
35
+ mapboxRaw,
36
+ city,
37
+ country,
38
+ postalCode,
39
+ state,
40
+ address,
41
+ };
42
+ ```
43
+
44
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,28 @@
1
+ # UserProfileResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **upcomingBookingsCount** | **number** | | [optional] [default to undefined]
9
+ **subscriptionsCount** | **number** | | [optional] [default to undefined]
10
+ **frequentlyVisitedClubs** | [**Array<FrequentClub>**](FrequentClub.md) | | [optional] [default to undefined]
11
+ **frequentlyPlayedWith** | [**Array<FrequentPlayer>**](FrequentPlayer.md) | | [optional] [default to undefined]
12
+ **stripeLinks** | **{ [key: string]: any; }** | Construct a type with a set of properties K of type T | [optional] [default to undefined]
13
+
14
+ ## Example
15
+
16
+ ```typescript
17
+ import { UserProfileResponse } from '@tennac-booking/sdk';
18
+
19
+ const instance: UserProfileResponse = {
20
+ upcomingBookingsCount,
21
+ subscriptionsCount,
22
+ frequentlyVisitedClubs,
23
+ frequentlyPlayedWith,
24
+ stripeLinks,
25
+ };
26
+ ```
27
+
28
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # UserRolesResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **roles** | **Array<{ [key: string]: any; }>** | | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { UserRolesResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: UserRolesResponse = {
16
+ roles,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
@@ -0,0 +1,20 @@
1
+ # UserSubscriptionsResponse
2
+
3
+
4
+ ## Properties
5
+
6
+ Name | Type | Description | Notes
7
+ ------------ | ------------- | ------------- | -------------
8
+ **subscriptions** | **{ [key: string]: { [key: string]: any; }; }** | Construct a type with a set of properties K of type T | [default to undefined]
9
+
10
+ ## Example
11
+
12
+ ```typescript
13
+ import { UserSubscriptionsResponse } from '@tennac-booking/sdk';
14
+
15
+ const instance: UserSubscriptionsResponse = {
16
+ subscriptions,
17
+ };
18
+ ```
19
+
20
+ [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)