@jugarhoy/api 1.0.6 → 1.0.8

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 (34) 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/DevicesApi.ts +52 -0
  8. package/apis/ReservesApi.ts +2 -10
  9. package/apis/index.ts +2 -0
  10. package/models/ApiAdminPlayPricesIdPutRequest.ts +6 -22
  11. package/models/ApiAdminPlayPricesPostRequest.ts +7 -23
  12. package/models/ApproveClubResponse.ts +83 -0
  13. package/models/ApproveClubResponseResult.ts +81 -0
  14. package/models/ComputedValueType.ts +59 -0
  15. package/models/CreateServiceConfigRequest.ts +152 -0
  16. package/models/CustomerServiceConfig.ts +168 -0
  17. package/models/CustomerServiceConfigDto.ts +180 -0
  18. package/models/HasDoorlock200Response.ts +65 -0
  19. package/models/NotificationTemplate.ts +146 -0
  20. package/models/NotificationTemplateDto.ts +155 -0
  21. package/models/ParameterMapping.ts +161 -0
  22. package/models/ParameterValueType.ts +55 -0
  23. package/models/PlayPrice.ts +8 -25
  24. package/models/ProcessEmailMessageRequest.ts +41 -5
  25. package/models/ServiceType.ts +53 -0
  26. package/models/TestNotificationTemplate200Response.ts +73 -0
  27. package/models/TestNotificationTemplateRequest.ts +66 -0
  28. package/models/ToggleServiceConfigRequest.ts +66 -0
  29. package/models/UpdateServiceConfigRequest.ts +125 -0
  30. package/models/UpsertNotificationTemplateRequest.ts +123 -0
  31. package/models/UserSession.ts +8 -0
  32. package/models/WhatsAppProvider.ts +54 -0
  33. package/models/index.ts +18 -0
  34. package/package.json +1 -1
@@ -0,0 +1,53 @@
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
+ * Type of service configuration (WhatsApp or Tuya IoT)
18
+ * @export
19
+ */
20
+ export const ServiceType = {
21
+ Whatsapp: 'whatsapp',
22
+ Tuya: 'tuya'
23
+ } as const;
24
+ export type ServiceType = typeof ServiceType[keyof typeof ServiceType];
25
+
26
+
27
+ export function instanceOfServiceType(value: any): boolean {
28
+ for (const key in ServiceType) {
29
+ if (Object.prototype.hasOwnProperty.call(ServiceType, key)) {
30
+ if (ServiceType[key as keyof typeof ServiceType] === value) {
31
+ return true;
32
+ }
33
+ }
34
+ }
35
+ return false;
36
+ }
37
+
38
+ export function ServiceTypeFromJSON(json: any): ServiceType {
39
+ return ServiceTypeFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function ServiceTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ServiceType {
43
+ return json as ServiceType;
44
+ }
45
+
46
+ export function ServiceTypeToJSON(value?: ServiceType | null): any {
47
+ return value as any;
48
+ }
49
+
50
+ export function ServiceTypeToJSONTyped(value: any, ignoreDiscriminator: boolean): ServiceType {
51
+ return value as ServiceType;
52
+ }
53
+
@@ -0,0 +1,73 @@
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 TestNotificationTemplate200Response
20
+ */
21
+ export interface TestNotificationTemplate200Response {
22
+ /**
23
+ *
24
+ * @type {boolean}
25
+ * @memberof TestNotificationTemplate200Response
26
+ */
27
+ success?: boolean;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof TestNotificationTemplate200Response
32
+ */
33
+ message?: string;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the TestNotificationTemplate200Response interface.
38
+ */
39
+ export function instanceOfTestNotificationTemplate200Response(value: object): value is TestNotificationTemplate200Response {
40
+ return true;
41
+ }
42
+
43
+ export function TestNotificationTemplate200ResponseFromJSON(json: any): TestNotificationTemplate200Response {
44
+ return TestNotificationTemplate200ResponseFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function TestNotificationTemplate200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): TestNotificationTemplate200Response {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+
53
+ 'success': json['success'] == null ? undefined : json['success'],
54
+ 'message': json['message'] == null ? undefined : json['message'],
55
+ };
56
+ }
57
+
58
+ export function TestNotificationTemplate200ResponseToJSON(json: any): TestNotificationTemplate200Response {
59
+ return TestNotificationTemplate200ResponseToJSONTyped(json, false);
60
+ }
61
+
62
+ export function TestNotificationTemplate200ResponseToJSONTyped(value?: TestNotificationTemplate200Response | null, ignoreDiscriminator: boolean = false): any {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+
67
+ return {
68
+
69
+ 'success': value['success'],
70
+ 'message': value['message'],
71
+ };
72
+ }
73
+
@@ -0,0 +1,66 @@
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 TestNotificationTemplateRequest
20
+ */
21
+ export interface TestNotificationTemplateRequest {
22
+ /**
23
+ * Phone number to send test message to (including country code, e.g., +59891234567)
24
+ * @type {string}
25
+ * @memberof TestNotificationTemplateRequest
26
+ */
27
+ phoneNumber: string;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the TestNotificationTemplateRequest interface.
32
+ */
33
+ export function instanceOfTestNotificationTemplateRequest(value: object): value is TestNotificationTemplateRequest {
34
+ if (!('phoneNumber' in value) || value['phoneNumber'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function TestNotificationTemplateRequestFromJSON(json: any): TestNotificationTemplateRequest {
39
+ return TestNotificationTemplateRequestFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function TestNotificationTemplateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): TestNotificationTemplateRequest {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'phoneNumber': json['phoneNumber'],
49
+ };
50
+ }
51
+
52
+ export function TestNotificationTemplateRequestToJSON(json: any): TestNotificationTemplateRequest {
53
+ return TestNotificationTemplateRequestToJSONTyped(json, false);
54
+ }
55
+
56
+ export function TestNotificationTemplateRequestToJSONTyped(value?: TestNotificationTemplateRequest | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'phoneNumber': value['phoneNumber'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,66 @@
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 ToggleServiceConfigRequest
20
+ */
21
+ export interface ToggleServiceConfigRequest {
22
+ /**
23
+ * New enabled status
24
+ * @type {boolean}
25
+ * @memberof ToggleServiceConfigRequest
26
+ */
27
+ enabled: boolean;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the ToggleServiceConfigRequest interface.
32
+ */
33
+ export function instanceOfToggleServiceConfigRequest(value: object): value is ToggleServiceConfigRequest {
34
+ if (!('enabled' in value) || value['enabled'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function ToggleServiceConfigRequestFromJSON(json: any): ToggleServiceConfigRequest {
39
+ return ToggleServiceConfigRequestFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function ToggleServiceConfigRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToggleServiceConfigRequest {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'enabled': json['enabled'],
49
+ };
50
+ }
51
+
52
+ export function ToggleServiceConfigRequestToJSON(json: any): ToggleServiceConfigRequest {
53
+ return ToggleServiceConfigRequestToJSONTyped(json, false);
54
+ }
55
+
56
+ export function ToggleServiceConfigRequestToJSONTyped(value?: ToggleServiceConfigRequest | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'enabled': value['enabled'],
64
+ };
65
+ }
66
+
@@ -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
+
@@ -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';
@@ -98,8 +105,12 @@ export * from './ManageLightSwitch500Response';
98
105
  export * from './MatchRequirements';
99
106
  export * from './MercadoPagoIPN';
100
107
  export * from './Message';
108
+ export * from './NotificationTemplate';
109
+ export * from './NotificationTemplateDto';
101
110
  export * from './NotificationType';
102
111
  export * from './Occurrence';
112
+ export * from './ParameterMapping';
113
+ export * from './ParameterValueType';
103
114
  export * from './PaymentDetail';
104
115
  export * from './PaymentMethod';
105
116
  export * from './PaymentRefund';
@@ -155,19 +166,25 @@ export * from './SearchClubs400Response';
155
166
  export * from './SearchClubs500Response';
156
167
  export * from './SendEmailVerification500Response';
157
168
  export * from './SendEmailVerificationRequest';
169
+ export * from './ServiceType';
158
170
  export * from './SetAuthCodeDto';
159
171
  export * from './Shift';
160
172
  export * from './Sport';
161
173
  export * from './SubscriptionBill';
162
174
  export * from './SuccessResponse';
175
+ export * from './TestNotificationTemplate200Response';
176
+ export * from './TestNotificationTemplateRequest';
163
177
  export * from './TimeOfDay';
178
+ export * from './ToggleServiceConfigRequest';
164
179
  export * from './TriggerDeviceAction200Response';
165
180
  export * from './TriggerDeviceActionRequest';
166
181
  export * from './UpdateBillRequest';
167
182
  export * from './UpdateFeatureRequest';
168
183
  export * from './UpdateReservationAdminRequest';
169
184
  export * from './UpdateReserveDto';
185
+ export * from './UpdateServiceConfigRequest';
170
186
  export * from './UpdateUserNotificationDto';
187
+ export * from './UpsertNotificationTemplateRequest';
171
188
  export * from './User';
172
189
  export * from './UserAuth';
173
190
  export * from './UserDto';
@@ -185,3 +202,4 @@ export * from './UserType';
185
202
  export * from './VerifyEmail400Response';
186
203
  export * from './VerifyPhoneNumber200Response';
187
204
  export * from './VerifyPhoneNumberRequest';
205
+ export * from './WhatsAppProvider';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jugarhoy/api",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "TypeScript SDK for Jugar Hoy API",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",