@jugarhoy/api 1.0.7 → 1.0.9

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 (46) hide show
  1. package/apis/AdminClubConfigApi.ts +294 -0
  2. package/apis/AdminClubsApi.ts +48 -0
  3. package/apis/AdminPlaySpotShiftsApi.ts +11 -3
  4. package/apis/AdminPlaySpotsApi.ts +11 -3
  5. package/apis/AdminReservationsApi.ts +5 -0
  6. package/apis/AdminWhatsAppTemplatesApi.ts +330 -0
  7. package/apis/AuthApi.ts +12 -12
  8. package/apis/DevicesApi.ts +52 -0
  9. package/apis/NotificationsApi.ts +167 -0
  10. package/apis/ReservesApi.ts +2 -10
  11. package/apis/index.ts +3 -0
  12. package/models/ApiAdminPlayPricesIdPutRequest.ts +6 -22
  13. package/models/ApiAdminPlayPricesPostRequest.ts +7 -23
  14. package/models/ApproveClubResponse.ts +83 -0
  15. package/models/ApproveClubResponseResult.ts +81 -0
  16. package/models/ComputedValueType.ts +59 -0
  17. package/models/CreateServiceConfigRequest.ts +152 -0
  18. package/models/CustomerServiceConfig.ts +168 -0
  19. package/models/CustomerServiceConfigDto.ts +180 -0
  20. package/models/HasDoorlock200Response.ts +65 -0
  21. package/models/MarkNotificationAsRead200Response.ts +65 -0
  22. package/models/Notification.ts +147 -0
  23. package/models/NotificationCategory.ts +58 -0
  24. package/models/NotificationChannelType.ts +55 -0
  25. package/models/NotificationDto.ts +139 -0
  26. package/models/NotificationListResponseDto.ts +89 -0
  27. package/models/NotificationTemplate.ts +146 -0
  28. package/models/NotificationTemplateDto.ts +155 -0
  29. package/models/NotificationType.ts +5 -5
  30. package/models/ParameterMapping.ts +161 -0
  31. package/models/ParameterValueType.ts +55 -0
  32. package/models/PlayPrice.ts +8 -25
  33. package/models/ProcessEmailMessageRequest.ts +41 -5
  34. package/models/ServiceType.ts +53 -0
  35. package/models/TestNotificationTemplate200Response.ts +73 -0
  36. package/models/TestNotificationTemplateRequest.ts +66 -0
  37. package/models/ToggleServiceConfigRequest.ts +66 -0
  38. package/models/UnreadCountResponseDto.ts +65 -0
  39. package/models/UpdateServiceConfigRequest.ts +125 -0
  40. package/models/UpsertNotificationTemplateRequest.ts +123 -0
  41. package/models/{UserNotification.ts → UserNotificationConfig.ts} +27 -27
  42. package/models/UserSession.ts +8 -0
  43. package/models/WhatsAppProvider.ts +54 -0
  44. package/models/index.ts +26 -2
  45. package/package.json +1 -1
  46. package/models/RequestPasswordReset200Response.ts +0 -65
@@ -0,0 +1,125 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Jugar Hoy - API
5
+ * API documentation for Jugar Hoy application
6
+ *
7
+ * The version of the OpenAPI document: 1.5.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface UpdateServiceConfigRequest
20
+ */
21
+ export interface UpdateServiceConfigRequest {
22
+ /**
23
+ * Whether the service is enabled
24
+ * @type {boolean}
25
+ * @memberof UpdateServiceConfigRequest
26
+ */
27
+ enabled?: boolean;
28
+ /**
29
+ * Service provider (for WhatsApp only)
30
+ * @type {string}
31
+ * @memberof UpdateServiceConfigRequest
32
+ */
33
+ provider?: UpdateServiceConfigRequestProviderEnum;
34
+ /**
35
+ * WhatsApp Phone Number ID (for WhatsApp custom provider)
36
+ * @type {string}
37
+ * @memberof UpdateServiceConfigRequest
38
+ */
39
+ phoneNumberId?: string;
40
+ /**
41
+ * WhatsApp access token (for WhatsApp custom provider)
42
+ * @type {string}
43
+ * @memberof UpdateServiceConfigRequest
44
+ */
45
+ accessToken?: string;
46
+ /**
47
+ * Tuya API host URL (for Tuya only)
48
+ * @type {string}
49
+ * @memberof UpdateServiceConfigRequest
50
+ */
51
+ host?: string;
52
+ /**
53
+ * Tuya or WhatsApp access key
54
+ * @type {string}
55
+ * @memberof UpdateServiceConfigRequest
56
+ */
57
+ accessKey?: string;
58
+ /**
59
+ * Tuya secret key (for Tuya only)
60
+ * @type {string}
61
+ * @memberof UpdateServiceConfigRequest
62
+ */
63
+ secretKey?: string;
64
+ }
65
+
66
+
67
+ /**
68
+ * @export
69
+ */
70
+ export const UpdateServiceConfigRequestProviderEnum = {
71
+ None: 'none',
72
+ Jugarhoy: 'jugarhoy',
73
+ Custom: 'custom'
74
+ } as const;
75
+ export type UpdateServiceConfigRequestProviderEnum = typeof UpdateServiceConfigRequestProviderEnum[keyof typeof UpdateServiceConfigRequestProviderEnum];
76
+
77
+
78
+ /**
79
+ * Check if a given object implements the UpdateServiceConfigRequest interface.
80
+ */
81
+ export function instanceOfUpdateServiceConfigRequest(value: object): value is UpdateServiceConfigRequest {
82
+ return true;
83
+ }
84
+
85
+ export function UpdateServiceConfigRequestFromJSON(json: any): UpdateServiceConfigRequest {
86
+ return UpdateServiceConfigRequestFromJSONTyped(json, false);
87
+ }
88
+
89
+ export function UpdateServiceConfigRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateServiceConfigRequest {
90
+ if (json == null) {
91
+ return json;
92
+ }
93
+ return {
94
+
95
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
96
+ 'provider': json['provider'] == null ? undefined : json['provider'],
97
+ 'phoneNumberId': json['phoneNumberId'] == null ? undefined : json['phoneNumberId'],
98
+ 'accessToken': json['accessToken'] == null ? undefined : json['accessToken'],
99
+ 'host': json['host'] == null ? undefined : json['host'],
100
+ 'accessKey': json['accessKey'] == null ? undefined : json['accessKey'],
101
+ 'secretKey': json['secretKey'] == null ? undefined : json['secretKey'],
102
+ };
103
+ }
104
+
105
+ export function UpdateServiceConfigRequestToJSON(json: any): UpdateServiceConfigRequest {
106
+ return UpdateServiceConfigRequestToJSONTyped(json, false);
107
+ }
108
+
109
+ export function UpdateServiceConfigRequestToJSONTyped(value?: UpdateServiceConfigRequest | null, ignoreDiscriminator: boolean = false): any {
110
+ if (value == null) {
111
+ return value;
112
+ }
113
+
114
+ return {
115
+
116
+ 'enabled': value['enabled'],
117
+ 'provider': value['provider'],
118
+ 'phoneNumberId': value['phoneNumberId'],
119
+ 'accessToken': value['accessToken'],
120
+ 'host': value['host'],
121
+ 'accessKey': value['accessKey'],
122
+ 'secretKey': value['secretKey'],
123
+ };
124
+ }
125
+
@@ -0,0 +1,123 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Jugar Hoy - API
5
+ * API documentation for Jugar Hoy application
6
+ *
7
+ * The version of the OpenAPI document: 1.5.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { ParameterMapping } from './ParameterMapping';
17
+ import {
18
+ ParameterMappingFromJSON,
19
+ ParameterMappingFromJSONTyped,
20
+ ParameterMappingToJSON,
21
+ ParameterMappingToJSONTyped,
22
+ } from './ParameterMapping';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface UpsertNotificationTemplateRequest
28
+ */
29
+ export interface UpsertNotificationTemplateRequest {
30
+ /**
31
+ * Customer ID
32
+ * @type {string}
33
+ * @memberof UpsertNotificationTemplateRequest
34
+ */
35
+ customerId: string;
36
+ /**
37
+ * Notification type
38
+ * @type {string}
39
+ * @memberof UpsertNotificationTemplateRequest
40
+ */
41
+ type: UpsertNotificationTemplateRequestTypeEnum;
42
+ /**
43
+ * WhatsApp template name (e.g., "reserve_confirmation")
44
+ * @type {string}
45
+ * @memberof UpsertNotificationTemplateRequest
46
+ */
47
+ templateName: string;
48
+ /**
49
+ * Template language code (e.g., "es", "en")
50
+ * @type {string}
51
+ * @memberof UpsertNotificationTemplateRequest
52
+ */
53
+ languageCode: string;
54
+ /**
55
+ * Array of parameter mappings
56
+ * @type {Array<ParameterMapping>}
57
+ * @memberof UpsertNotificationTemplateRequest
58
+ */
59
+ parameterMappings: Array<ParameterMapping>;
60
+ }
61
+
62
+
63
+ /**
64
+ * @export
65
+ */
66
+ export const UpsertNotificationTemplateRequestTypeEnum = {
67
+ Reserve: 'RESERVE',
68
+ Cancellation: 'CANCELLATION',
69
+ Reminder: 'REMINDER',
70
+ PaymentConfirmation: 'PAYMENT_CONFIRMATION'
71
+ } as const;
72
+ export type UpsertNotificationTemplateRequestTypeEnum = typeof UpsertNotificationTemplateRequestTypeEnum[keyof typeof UpsertNotificationTemplateRequestTypeEnum];
73
+
74
+
75
+ /**
76
+ * Check if a given object implements the UpsertNotificationTemplateRequest interface.
77
+ */
78
+ export function instanceOfUpsertNotificationTemplateRequest(value: object): value is UpsertNotificationTemplateRequest {
79
+ if (!('customerId' in value) || value['customerId'] === undefined) return false;
80
+ if (!('type' in value) || value['type'] === undefined) return false;
81
+ if (!('templateName' in value) || value['templateName'] === undefined) return false;
82
+ if (!('languageCode' in value) || value['languageCode'] === undefined) return false;
83
+ if (!('parameterMappings' in value) || value['parameterMappings'] === undefined) return false;
84
+ return true;
85
+ }
86
+
87
+ export function UpsertNotificationTemplateRequestFromJSON(json: any): UpsertNotificationTemplateRequest {
88
+ return UpsertNotificationTemplateRequestFromJSONTyped(json, false);
89
+ }
90
+
91
+ export function UpsertNotificationTemplateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpsertNotificationTemplateRequest {
92
+ if (json == null) {
93
+ return json;
94
+ }
95
+ return {
96
+
97
+ 'customerId': json['customerId'],
98
+ 'type': json['type'],
99
+ 'templateName': json['templateName'],
100
+ 'languageCode': json['languageCode'],
101
+ 'parameterMappings': ((json['parameterMappings'] as Array<any>).map(ParameterMappingFromJSON)),
102
+ };
103
+ }
104
+
105
+ export function UpsertNotificationTemplateRequestToJSON(json: any): UpsertNotificationTemplateRequest {
106
+ return UpsertNotificationTemplateRequestToJSONTyped(json, false);
107
+ }
108
+
109
+ export function UpsertNotificationTemplateRequestToJSONTyped(value?: UpsertNotificationTemplateRequest | null, ignoreDiscriminator: boolean = false): any {
110
+ if (value == null) {
111
+ return value;
112
+ }
113
+
114
+ return {
115
+
116
+ 'customerId': value['customerId'],
117
+ 'type': value['type'],
118
+ 'templateName': value['templateName'],
119
+ 'languageCode': value['languageCode'],
120
+ 'parameterMappings': ((value['parameterMappings'] as Array<any>).map(ParameterMappingToJSON)),
121
+ };
122
+ }
123
+
@@ -13,60 +13,60 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { NotificationType } from './NotificationType';
16
+ import type { NotificationChannelType } from './NotificationChannelType';
17
17
  import {
18
- NotificationTypeFromJSON,
19
- NotificationTypeFromJSONTyped,
20
- NotificationTypeToJSON,
21
- NotificationTypeToJSONTyped,
22
- } from './NotificationType';
18
+ NotificationChannelTypeFromJSON,
19
+ NotificationChannelTypeFromJSONTyped,
20
+ NotificationChannelTypeToJSON,
21
+ NotificationChannelTypeToJSONTyped,
22
+ } from './NotificationChannelType';
23
23
 
24
24
  /**
25
25
  *
26
26
  * @export
27
- * @interface UserNotification
27
+ * @interface UserNotificationConfig
28
28
  */
29
- export interface UserNotification {
29
+ export interface UserNotificationConfig {
30
30
  /**
31
31
  * Unique identifier for the notification preference
32
32
  * @type {string}
33
- * @memberof UserNotification
33
+ * @memberof UserNotificationConfig
34
34
  */
35
35
  id?: string;
36
36
  /**
37
37
  * ID of the user this notification preference belongs to
38
38
  * @type {string}
39
- * @memberof UserNotification
39
+ * @memberof UserNotificationConfig
40
40
  */
41
41
  userId?: string;
42
42
  /**
43
43
  *
44
- * @type {NotificationType}
45
- * @memberof UserNotification
44
+ * @type {NotificationChannelType}
45
+ * @memberof UserNotificationConfig
46
46
  */
47
- type?: NotificationType;
47
+ type?: NotificationChannelType;
48
48
  /**
49
49
  * JSON object containing subscription information for this notification type
50
50
  * @type {{ [key: string]: any; }}
51
- * @memberof UserNotification
51
+ * @memberof UserNotificationConfig
52
52
  */
53
53
  subscriptionId?: { [key: string]: any; };
54
54
  /**
55
55
  * Whether this notification type is enabled for the user
56
56
  * @type {boolean}
57
- * @memberof UserNotification
57
+ * @memberof UserNotificationConfig
58
58
  */
59
59
  enabled?: boolean;
60
60
  /**
61
61
  * When this notification preference was created
62
62
  * @type {Date}
63
- * @memberof UserNotification
63
+ * @memberof UserNotificationConfig
64
64
  */
65
65
  createdAt?: Date;
66
66
  /**
67
67
  * When this notification preference was last updated
68
68
  * @type {Date}
69
- * @memberof UserNotification
69
+ * @memberof UserNotificationConfig
70
70
  */
71
71
  updatedAt?: Date;
72
72
  }
@@ -74,17 +74,17 @@ export interface UserNotification {
74
74
 
75
75
 
76
76
  /**
77
- * Check if a given object implements the UserNotification interface.
77
+ * Check if a given object implements the UserNotificationConfig interface.
78
78
  */
79
- export function instanceOfUserNotification(value: object): value is UserNotification {
79
+ export function instanceOfUserNotificationConfig(value: object): value is UserNotificationConfig {
80
80
  return true;
81
81
  }
82
82
 
83
- export function UserNotificationFromJSON(json: any): UserNotification {
84
- return UserNotificationFromJSONTyped(json, false);
83
+ export function UserNotificationConfigFromJSON(json: any): UserNotificationConfig {
84
+ return UserNotificationConfigFromJSONTyped(json, false);
85
85
  }
86
86
 
87
- export function UserNotificationFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserNotification {
87
+ export function UserNotificationConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserNotificationConfig {
88
88
  if (json == null) {
89
89
  return json;
90
90
  }
@@ -92,7 +92,7 @@ export function UserNotificationFromJSONTyped(json: any, ignoreDiscriminator: bo
92
92
 
93
93
  'id': json['id'] == null ? undefined : json['id'],
94
94
  'userId': json['userId'] == null ? undefined : json['userId'],
95
- 'type': json['type'] == null ? undefined : NotificationTypeFromJSON(json['type']),
95
+ 'type': json['type'] == null ? undefined : NotificationChannelTypeFromJSON(json['type']),
96
96
  'subscriptionId': json['subscriptionId'] == null ? undefined : json['subscriptionId'],
97
97
  'enabled': json['enabled'] == null ? undefined : json['enabled'],
98
98
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
@@ -100,11 +100,11 @@ export function UserNotificationFromJSONTyped(json: any, ignoreDiscriminator: bo
100
100
  };
101
101
  }
102
102
 
103
- export function UserNotificationToJSON(json: any): UserNotification {
104
- return UserNotificationToJSONTyped(json, false);
103
+ export function UserNotificationConfigToJSON(json: any): UserNotificationConfig {
104
+ return UserNotificationConfigToJSONTyped(json, false);
105
105
  }
106
106
 
107
- export function UserNotificationToJSONTyped(value?: UserNotification | null, ignoreDiscriminator: boolean = false): any {
107
+ export function UserNotificationConfigToJSONTyped(value?: UserNotificationConfig | null, ignoreDiscriminator: boolean = false): any {
108
108
  if (value == null) {
109
109
  return value;
110
110
  }
@@ -113,7 +113,7 @@ export function UserNotificationToJSONTyped(value?: UserNotification | null, ign
113
113
 
114
114
  'id': value['id'],
115
115
  'userId': value['userId'],
116
- 'type': NotificationTypeToJSON(value['type']),
116
+ 'type': NotificationChannelTypeToJSON(value['type']),
117
117
  'subscriptionId': value['subscriptionId'],
118
118
  'enabled': value['enabled'],
119
119
  'createdAt': value['createdAt'] == null ? undefined : ((value['createdAt']).toISOString()),
@@ -39,6 +39,12 @@ export interface UserSession {
39
39
  * @memberof UserSession
40
40
  */
41
41
  email?: string | null;
42
+ /**
43
+ * Whether the user's email has been verified
44
+ * @type {boolean}
45
+ * @memberof UserSession
46
+ */
47
+ emailVerified?: boolean;
42
48
  /**
43
49
  * User's role in the system
44
50
  * @type {string}
@@ -102,6 +108,7 @@ export function UserSessionFromJSONTyped(json: any, ignoreDiscriminator: boolean
102
108
 
103
109
  'uid': json['uid'] == null ? undefined : json['uid'],
104
110
  'email': json['email'] == null ? undefined : json['email'],
111
+ 'emailVerified': json['emailVerified'] == null ? undefined : json['emailVerified'],
105
112
  'role': json['role'] == null ? undefined : json['role'],
106
113
  'customerId': json['customerId'] == null ? undefined : json['customerId'],
107
114
  'customer': json['customer'] == null ? undefined : UserSessionCustomerFromJSON(json['customer']),
@@ -125,6 +132,7 @@ export function UserSessionToJSONTyped(value?: UserSession | null, ignoreDiscrim
125
132
 
126
133
  'uid': value['uid'],
127
134
  'email': value['email'],
135
+ 'emailVerified': value['emailVerified'],
128
136
  'role': value['role'],
129
137
  'customerId': value['customerId'],
130
138
  'customer': UserSessionCustomerToJSON(value['customer']),
@@ -0,0 +1,54 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Jugar Hoy - API
5
+ * API documentation for Jugar Hoy application
6
+ *
7
+ * The version of the OpenAPI document: 1.5.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ /**
17
+ * Represents the WhatsApp provider type for a customer
18
+ * @export
19
+ */
20
+ export const WhatsAppProvider = {
21
+ None: 'none',
22
+ Jugarhoy: 'jugarhoy',
23
+ Custom: 'custom'
24
+ } as const;
25
+ export type WhatsAppProvider = typeof WhatsAppProvider[keyof typeof WhatsAppProvider];
26
+
27
+
28
+ export function instanceOfWhatsAppProvider(value: any): boolean {
29
+ for (const key in WhatsAppProvider) {
30
+ if (Object.prototype.hasOwnProperty.call(WhatsAppProvider, key)) {
31
+ if (WhatsAppProvider[key as keyof typeof WhatsAppProvider] === value) {
32
+ return true;
33
+ }
34
+ }
35
+ }
36
+ return false;
37
+ }
38
+
39
+ export function WhatsAppProviderFromJSON(json: any): WhatsAppProvider {
40
+ return WhatsAppProviderFromJSONTyped(json, false);
41
+ }
42
+
43
+ export function WhatsAppProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): WhatsAppProvider {
44
+ return json as WhatsAppProvider;
45
+ }
46
+
47
+ export function WhatsAppProviderToJSON(value?: WhatsAppProvider | null): any {
48
+ return value as any;
49
+ }
50
+
51
+ export function WhatsAppProviderToJSONTyped(value: any, ignoreDiscriminator: boolean): WhatsAppProvider {
52
+ return value as WhatsAppProvider;
53
+ }
54
+
package/models/index.ts CHANGED
@@ -6,6 +6,8 @@ export * from './AddPlayerToSubscriptionRequest';
6
6
  export * from './ApiAdminInvitationsPost200Response';
7
7
  export * from './ApiAdminPlayPricesIdPutRequest';
8
8
  export * from './ApiAdminPlayPricesPostRequest';
9
+ export * from './ApproveClubResponse';
10
+ export * from './ApproveClubResponseResult';
9
11
  export * from './AvailabilityShift';
10
12
  export * from './AvailabilityShiftHour';
11
13
  export * from './AvailabilityShiftSpot';
@@ -29,6 +31,7 @@ export * from './ClubSearchResponsePagination';
29
31
  export * from './Coach';
30
32
  export * from './CoachDto';
31
33
  export * from './CoachDtoAvailabilityInner';
34
+ export * from './ComputedValueType';
32
35
  export * from './ConfirmReservationParams';
33
36
  export * from './ConfirmReservationResponse';
34
37
  export * from './ConfirmReservationResponseResult';
@@ -45,6 +48,7 @@ export * from './CreateDefault500Response';
45
48
  export * from './CreateFeatureRequest';
46
49
  export * from './CreateFromInvite400Response';
47
50
  export * from './CreateInvitationDto';
51
+ export * from './CreateServiceConfigRequest';
48
52
  export * from './CreateShiftRequest';
49
53
  export * from './CreateUserNotificationDto';
50
54
  export * from './Customer';
@@ -55,6 +59,8 @@ export * from './CustomerLocationDto';
55
59
  export * from './CustomerPaymentConfig';
56
60
  export * from './CustomerPaymentConfigDto';
57
61
  export * from './CustomerRefund';
62
+ export * from './CustomerServiceConfig';
63
+ export * from './CustomerServiceConfigDto';
58
64
  export * from './CustomerStatus';
59
65
  export * from './DayOfWeek';
60
66
  export * from './DeleteShift200Response';
@@ -82,6 +88,7 @@ export * from './GetHourlyReservationStatus200ResponseHourlyStatusInner';
82
88
  export * from './GetMercadoPagoAuthUrl200Response';
83
89
  export * from './GetSession401Response';
84
90
  export * from './GetSession500Response';
91
+ export * from './HasDoorlock200Response';
85
92
  export * from './HourShiftDetail';
86
93
  export * from './InitiateReservationParams';
87
94
  export * from './InvitationListItem';
@@ -95,11 +102,21 @@ export * from './Location';
95
102
  export * from './LocationDto';
96
103
  export * from './ManageLightSwitch200Response';
97
104
  export * from './ManageLightSwitch500Response';
105
+ export * from './MarkNotificationAsRead200Response';
98
106
  export * from './MatchRequirements';
99
107
  export * from './MercadoPagoIPN';
100
108
  export * from './Message';
109
+ export * from './Notification';
110
+ export * from './NotificationCategory';
111
+ export * from './NotificationChannelType';
112
+ export * from './NotificationDto';
113
+ export * from './NotificationListResponseDto';
114
+ export * from './NotificationTemplate';
115
+ export * from './NotificationTemplateDto';
101
116
  export * from './NotificationType';
102
117
  export * from './Occurrence';
118
+ export * from './ParameterMapping';
119
+ export * from './ParameterValueType';
103
120
  export * from './PaymentDetail';
104
121
  export * from './PaymentMethod';
105
122
  export * from './PaymentRefund';
@@ -132,7 +149,6 @@ export * from './RegisterClubParams';
132
149
  export * from './RegisterClubResponse';
133
150
  export * from './RegisterClubResponseResult';
134
151
  export * from './RentHour';
135
- export * from './RequestPasswordReset200Response';
136
152
  export * from './RequestPasswordReset500Response';
137
153
  export * from './RequestPasswordResetRequest';
138
154
  export * from './ResendEmailVerification500Response';
@@ -155,24 +171,31 @@ export * from './SearchClubs400Response';
155
171
  export * from './SearchClubs500Response';
156
172
  export * from './SendEmailVerification500Response';
157
173
  export * from './SendEmailVerificationRequest';
174
+ export * from './ServiceType';
158
175
  export * from './SetAuthCodeDto';
159
176
  export * from './Shift';
160
177
  export * from './Sport';
161
178
  export * from './SubscriptionBill';
162
179
  export * from './SuccessResponse';
180
+ export * from './TestNotificationTemplate200Response';
181
+ export * from './TestNotificationTemplateRequest';
163
182
  export * from './TimeOfDay';
183
+ export * from './ToggleServiceConfigRequest';
164
184
  export * from './TriggerDeviceAction200Response';
165
185
  export * from './TriggerDeviceActionRequest';
186
+ export * from './UnreadCountResponseDto';
166
187
  export * from './UpdateBillRequest';
167
188
  export * from './UpdateFeatureRequest';
168
189
  export * from './UpdateReservationAdminRequest';
169
190
  export * from './UpdateReserveDto';
191
+ export * from './UpdateServiceConfigRequest';
170
192
  export * from './UpdateUserNotificationDto';
193
+ export * from './UpsertNotificationTemplateRequest';
171
194
  export * from './User';
172
195
  export * from './UserAuth';
173
196
  export * from './UserDto';
174
197
  export * from './UserInvitation';
175
- export * from './UserNotification';
198
+ export * from './UserNotificationConfig';
176
199
  export * from './UserNotificationDto';
177
200
  export * from './UserRating';
178
201
  export * from './UserReserveDto';
@@ -185,3 +208,4 @@ export * from './UserType';
185
208
  export * from './VerifyEmail400Response';
186
209
  export * from './VerifyPhoneNumber200Response';
187
210
  export * from './VerifyPhoneNumberRequest';
211
+ export * from './WhatsAppProvider';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jugarhoy/api",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "TypeScript SDK for Jugar Hoy API",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",
@@ -1,65 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * Jugar Hoy - API
5
- * API documentation for Jugar Hoy application
6
- *
7
- * The version of the OpenAPI document: 1.5.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface RequestPasswordReset200Response
20
- */
21
- export interface RequestPasswordReset200Response {
22
- /**
23
- *
24
- * @type {boolean}
25
- * @memberof RequestPasswordReset200Response
26
- */
27
- success?: boolean;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the RequestPasswordReset200Response interface.
32
- */
33
- export function instanceOfRequestPasswordReset200Response(value: object): value is RequestPasswordReset200Response {
34
- return true;
35
- }
36
-
37
- export function RequestPasswordReset200ResponseFromJSON(json: any): RequestPasswordReset200Response {
38
- return RequestPasswordReset200ResponseFromJSONTyped(json, false);
39
- }
40
-
41
- export function RequestPasswordReset200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RequestPasswordReset200Response {
42
- if (json == null) {
43
- return json;
44
- }
45
- return {
46
-
47
- 'success': json['success'] == null ? undefined : json['success'],
48
- };
49
- }
50
-
51
- export function RequestPasswordReset200ResponseToJSON(json: any): RequestPasswordReset200Response {
52
- return RequestPasswordReset200ResponseToJSONTyped(json, false);
53
- }
54
-
55
- export function RequestPasswordReset200ResponseToJSONTyped(value?: RequestPasswordReset200Response | null, ignoreDiscriminator: boolean = false): any {
56
- if (value == null) {
57
- return value;
58
- }
59
-
60
- return {
61
-
62
- 'success': value['success'],
63
- };
64
- }
65
-