@jugarhoy/api 1.0.8 → 1.0.10
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.
- package/apis/AppPlayRegistrationApi.ts +177 -0
- package/apis/AppPlaySearchApi.ts +323 -0
- package/apis/AuthApi.ts +12 -12
- package/apis/NotificationsApi.ts +167 -0
- package/apis/index.ts +3 -0
- package/models/ClubPlace.ts +184 -0
- package/models/CreateClubPlaceRequest.ts +161 -0
- package/models/CreatePlayRegistrationRequest.ts +92 -0
- package/models/CreatePlaySearchRequest.ts +197 -0
- package/models/DominantSide.ts +53 -0
- package/models/MarkNotificationAsRead200Response.ts +65 -0
- package/models/Notification.ts +147 -0
- package/models/NotificationCategory.ts +58 -0
- package/models/NotificationChannelType.ts +55 -0
- package/models/NotificationDto.ts +139 -0
- package/models/NotificationListResponseDto.ts +89 -0
- package/models/NotificationType.ts +5 -5
- package/models/PlayRegistration.ts +159 -0
- package/models/PlayRegistrationDTO.ts +151 -0
- package/models/PlayRegistrationDTOUser.ts +97 -0
- package/models/PlayRegistrationListResponse.ts +97 -0
- package/models/PlayRegistrationType.ts +55 -0
- package/models/PlaySearch.ts +252 -0
- package/models/PlaySearchDTO.ts +266 -0
- package/models/PlaySearchDTOClubPlace.ts +121 -0
- package/models/PlaySearchDetailDTO.ts +296 -0
- package/models/PlaySearchDetailDTOAllOfCounts.ts +73 -0
- package/models/PlaySearchDetailDTOAllOfRegistrations.ts +124 -0
- package/models/PlaySearchDetailDTOAllOfUser.ts +89 -0
- package/models/PlaySearchListResponse.ts +97 -0
- package/models/PlaySearchStatus.ts +56 -0
- package/models/RegistrationStatus.ts +55 -0
- package/models/SubscriptionStatus.ts +58 -0
- package/models/UnreadCountResponseDto.ts +65 -0
- package/models/{UserNotification.ts → UserNotificationConfig.ts} +27 -27
- package/models/index.ts +29 -2
- package/package.json +1 -1
- package/models/RequestPasswordReset200Response.ts +0 -65
|
@@ -0,0 +1,97 @@
|
|
|
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 { PlaySearchDTO } from './PlaySearchDTO';
|
|
17
|
+
import {
|
|
18
|
+
PlaySearchDTOFromJSON,
|
|
19
|
+
PlaySearchDTOFromJSONTyped,
|
|
20
|
+
PlaySearchDTOToJSON,
|
|
21
|
+
PlaySearchDTOToJSONTyped,
|
|
22
|
+
} from './PlaySearchDTO';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface PlaySearchListResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface PlaySearchListResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<PlaySearchDTO>}
|
|
33
|
+
* @memberof PlaySearchListResponse
|
|
34
|
+
*/
|
|
35
|
+
data?: Array<PlaySearchDTO>;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof PlaySearchListResponse
|
|
40
|
+
*/
|
|
41
|
+
total?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PlaySearchListResponse
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PlaySearchListResponse
|
|
52
|
+
*/
|
|
53
|
+
size?: number;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* Check if a given object implements the PlaySearchListResponse interface.
|
|
58
|
+
*/
|
|
59
|
+
export function instanceOfPlaySearchListResponse(value: object): value is PlaySearchListResponse {
|
|
60
|
+
return true;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function PlaySearchListResponseFromJSON(json: any): PlaySearchListResponse {
|
|
64
|
+
return PlaySearchListResponseFromJSONTyped(json, false);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export function PlaySearchListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlaySearchListResponse {
|
|
68
|
+
if (json == null) {
|
|
69
|
+
return json;
|
|
70
|
+
}
|
|
71
|
+
return {
|
|
72
|
+
|
|
73
|
+
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(PlaySearchDTOFromJSON)),
|
|
74
|
+
'total': json['total'] == null ? undefined : json['total'],
|
|
75
|
+
'page': json['page'] == null ? undefined : json['page'],
|
|
76
|
+
'size': json['size'] == null ? undefined : json['size'],
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export function PlaySearchListResponseToJSON(json: any): PlaySearchListResponse {
|
|
81
|
+
return PlaySearchListResponseToJSONTyped(json, false);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
export function PlaySearchListResponseToJSONTyped(value?: PlaySearchListResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
85
|
+
if (value == null) {
|
|
86
|
+
return value;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return {
|
|
90
|
+
|
|
91
|
+
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(PlaySearchDTOToJSON)),
|
|
92
|
+
'total': value['total'],
|
|
93
|
+
'page': value['page'],
|
|
94
|
+
'size': value['size'],
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
* Status of a player search (Falta1 feature)
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const PlaySearchStatus = {
|
|
21
|
+
Open: 'OPEN',
|
|
22
|
+
Filled: 'FILLED',
|
|
23
|
+
Confirmed: 'CONFIRMED',
|
|
24
|
+
Cancelled: 'CANCELLED',
|
|
25
|
+
Expired: 'EXPIRED'
|
|
26
|
+
} as const;
|
|
27
|
+
export type PlaySearchStatus = typeof PlaySearchStatus[keyof typeof PlaySearchStatus];
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
export function instanceOfPlaySearchStatus(value: any): boolean {
|
|
31
|
+
for (const key in PlaySearchStatus) {
|
|
32
|
+
if (Object.prototype.hasOwnProperty.call(PlaySearchStatus, key)) {
|
|
33
|
+
if (PlaySearchStatus[key as keyof typeof PlaySearchStatus] === value) {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return false;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function PlaySearchStatusFromJSON(json: any): PlaySearchStatus {
|
|
42
|
+
return PlaySearchStatusFromJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function PlaySearchStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): PlaySearchStatus {
|
|
46
|
+
return json as PlaySearchStatus;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function PlaySearchStatusToJSON(value?: PlaySearchStatus | null): any {
|
|
50
|
+
return value as any;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function PlaySearchStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): PlaySearchStatus {
|
|
54
|
+
return value as PlaySearchStatus;
|
|
55
|
+
}
|
|
56
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
* Status of a player registration
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const RegistrationStatus = {
|
|
21
|
+
Primary: 'PRIMARY',
|
|
22
|
+
Waitlist: 'WAITLIST',
|
|
23
|
+
Confirmed: 'CONFIRMED',
|
|
24
|
+
Cancelled: 'CANCELLED'
|
|
25
|
+
} as const;
|
|
26
|
+
export type RegistrationStatus = typeof RegistrationStatus[keyof typeof RegistrationStatus];
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
export function instanceOfRegistrationStatus(value: any): boolean {
|
|
30
|
+
for (const key in RegistrationStatus) {
|
|
31
|
+
if (Object.prototype.hasOwnProperty.call(RegistrationStatus, key)) {
|
|
32
|
+
if (RegistrationStatus[key as keyof typeof RegistrationStatus] === value) {
|
|
33
|
+
return true;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return false;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function RegistrationStatusFromJSON(json: any): RegistrationStatus {
|
|
41
|
+
return RegistrationStatusFromJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export function RegistrationStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): RegistrationStatus {
|
|
45
|
+
return json as RegistrationStatus;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export function RegistrationStatusToJSON(value?: RegistrationStatus | null): any {
|
|
49
|
+
return value as any;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function RegistrationStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): RegistrationStatus {
|
|
53
|
+
return value as RegistrationStatus;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
* Status of a tournament subscription
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export const SubscriptionStatus = {
|
|
21
|
+
Draft: 'DRAFT',
|
|
22
|
+
Open: 'OPEN',
|
|
23
|
+
Closed: 'CLOSED',
|
|
24
|
+
Confirmed: 'CONFIRMED',
|
|
25
|
+
Active: 'ACTIVE',
|
|
26
|
+
Finished: 'FINISHED',
|
|
27
|
+
Cancelled: 'CANCELLED'
|
|
28
|
+
} as const;
|
|
29
|
+
export type SubscriptionStatus = typeof SubscriptionStatus[keyof typeof SubscriptionStatus];
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
export function instanceOfSubscriptionStatus(value: any): boolean {
|
|
33
|
+
for (const key in SubscriptionStatus) {
|
|
34
|
+
if (Object.prototype.hasOwnProperty.call(SubscriptionStatus, key)) {
|
|
35
|
+
if (SubscriptionStatus[key as keyof typeof SubscriptionStatus] === value) {
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return false;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export function SubscriptionStatusFromJSON(json: any): SubscriptionStatus {
|
|
44
|
+
return SubscriptionStatusFromJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
export function SubscriptionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): SubscriptionStatus {
|
|
48
|
+
return json as SubscriptionStatus;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function SubscriptionStatusToJSON(value?: SubscriptionStatus | null): any {
|
|
52
|
+
return value as any;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function SubscriptionStatusToJSONTyped(value: any, ignoreDiscriminator: boolean): SubscriptionStatus {
|
|
56
|
+
return value as SubscriptionStatus;
|
|
57
|
+
}
|
|
58
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
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 UnreadCountResponseDto
|
|
20
|
+
*/
|
|
21
|
+
export interface UnreadCountResponseDto {
|
|
22
|
+
/**
|
|
23
|
+
* Number of unread notifications
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof UnreadCountResponseDto
|
|
26
|
+
*/
|
|
27
|
+
count?: number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the UnreadCountResponseDto interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfUnreadCountResponseDto(value: object): value is UnreadCountResponseDto {
|
|
34
|
+
return true;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export function UnreadCountResponseDtoFromJSON(json: any): UnreadCountResponseDto {
|
|
38
|
+
return UnreadCountResponseDtoFromJSONTyped(json, false);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export function UnreadCountResponseDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): UnreadCountResponseDto {
|
|
42
|
+
if (json == null) {
|
|
43
|
+
return json;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
|
|
47
|
+
'count': json['count'] == null ? undefined : json['count'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export function UnreadCountResponseDtoToJSON(json: any): UnreadCountResponseDto {
|
|
52
|
+
return UnreadCountResponseDtoToJSONTyped(json, false);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export function UnreadCountResponseDtoToJSONTyped(value?: UnreadCountResponseDto | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
+
if (value == null) {
|
|
57
|
+
return value;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
return {
|
|
61
|
+
|
|
62
|
+
'count': value['count'],
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -13,60 +13,60 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { NotificationChannelType } from './NotificationChannelType';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
NotificationChannelTypeFromJSON,
|
|
19
|
+
NotificationChannelTypeFromJSONTyped,
|
|
20
|
+
NotificationChannelTypeToJSON,
|
|
21
|
+
NotificationChannelTypeToJSONTyped,
|
|
22
|
+
} from './NotificationChannelType';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @export
|
|
27
|
-
* @interface
|
|
27
|
+
* @interface UserNotificationConfig
|
|
28
28
|
*/
|
|
29
|
-
export interface
|
|
29
|
+
export interface UserNotificationConfig {
|
|
30
30
|
/**
|
|
31
31
|
* Unique identifier for the notification preference
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
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
|
|
39
|
+
* @memberof UserNotificationConfig
|
|
40
40
|
*/
|
|
41
41
|
userId?: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
-
* @type {
|
|
45
|
-
* @memberof
|
|
44
|
+
* @type {NotificationChannelType}
|
|
45
|
+
* @memberof UserNotificationConfig
|
|
46
46
|
*/
|
|
47
|
-
type?:
|
|
47
|
+
type?: NotificationChannelType;
|
|
48
48
|
/**
|
|
49
49
|
* JSON object containing subscription information for this notification type
|
|
50
50
|
* @type {{ [key: string]: any; }}
|
|
51
|
-
* @memberof
|
|
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
|
|
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
|
|
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
|
|
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
|
|
77
|
+
* Check if a given object implements the UserNotificationConfig interface.
|
|
78
78
|
*/
|
|
79
|
-
export function
|
|
79
|
+
export function instanceOfUserNotificationConfig(value: object): value is UserNotificationConfig {
|
|
80
80
|
return true;
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export function
|
|
84
|
-
return
|
|
83
|
+
export function UserNotificationConfigFromJSON(json: any): UserNotificationConfig {
|
|
84
|
+
return UserNotificationConfigFromJSONTyped(json, false);
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
export function
|
|
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 :
|
|
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
|
|
104
|
-
return
|
|
103
|
+
export function UserNotificationConfigToJSON(json: any): UserNotificationConfig {
|
|
104
|
+
return UserNotificationConfigToJSONTyped(json, false);
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
export function
|
|
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':
|
|
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()),
|
package/models/index.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from './Check200Response';
|
|
|
22
22
|
export * from './CheckUserExists200Response';
|
|
23
23
|
export * from './ClonePlaySpotRequest';
|
|
24
24
|
export * from './ClubDto';
|
|
25
|
+
export * from './ClubPlace';
|
|
25
26
|
export * from './ClubSearchParams';
|
|
26
27
|
export * from './ClubSearchParamsGeo';
|
|
27
28
|
export * from './ClubSearchParamsPaging';
|
|
@@ -43,11 +44,14 @@ export * from './CreateClubForSuperadminParams';
|
|
|
43
44
|
export * from './CreateClubForSuperadminResponse';
|
|
44
45
|
export * from './CreateClubForSuperadminResponseResult';
|
|
45
46
|
export * from './CreateClubForSuperadminResponseResultAdminUser';
|
|
47
|
+
export * from './CreateClubPlaceRequest';
|
|
46
48
|
export * from './CreateCustomerPaymentConfigDto';
|
|
47
49
|
export * from './CreateDefault500Response';
|
|
48
50
|
export * from './CreateFeatureRequest';
|
|
49
51
|
export * from './CreateFromInvite400Response';
|
|
50
52
|
export * from './CreateInvitationDto';
|
|
53
|
+
export * from './CreatePlayRegistrationRequest';
|
|
54
|
+
export * from './CreatePlaySearchRequest';
|
|
51
55
|
export * from './CreateServiceConfigRequest';
|
|
52
56
|
export * from './CreateShiftRequest';
|
|
53
57
|
export * from './CreateUserNotificationDto';
|
|
@@ -69,6 +73,7 @@ export * from './DeviceDto';
|
|
|
69
73
|
export * from './DeviceState';
|
|
70
74
|
export * from './DeviceType';
|
|
71
75
|
export * from './DominantPlaySide';
|
|
76
|
+
export * from './DominantSide';
|
|
72
77
|
export * from './ErrorResponse';
|
|
73
78
|
export * from './ExpireUnpaidReservationResult';
|
|
74
79
|
export * from './ExpireUnpaidReservations401Response';
|
|
@@ -102,9 +107,15 @@ export * from './Location';
|
|
|
102
107
|
export * from './LocationDto';
|
|
103
108
|
export * from './ManageLightSwitch200Response';
|
|
104
109
|
export * from './ManageLightSwitch500Response';
|
|
110
|
+
export * from './MarkNotificationAsRead200Response';
|
|
105
111
|
export * from './MatchRequirements';
|
|
106
112
|
export * from './MercadoPagoIPN';
|
|
107
113
|
export * from './Message';
|
|
114
|
+
export * from './Notification';
|
|
115
|
+
export * from './NotificationCategory';
|
|
116
|
+
export * from './NotificationChannelType';
|
|
117
|
+
export * from './NotificationDto';
|
|
118
|
+
export * from './NotificationListResponseDto';
|
|
108
119
|
export * from './NotificationTemplate';
|
|
109
120
|
export * from './NotificationTemplateDto';
|
|
110
121
|
export * from './NotificationType';
|
|
@@ -117,6 +128,20 @@ export * from './PaymentRefund';
|
|
|
117
128
|
export * from './PaymentStatus';
|
|
118
129
|
export * from './PaymentTerms';
|
|
119
130
|
export * from './PlayPrice';
|
|
131
|
+
export * from './PlayRegistration';
|
|
132
|
+
export * from './PlayRegistrationDTO';
|
|
133
|
+
export * from './PlayRegistrationDTOUser';
|
|
134
|
+
export * from './PlayRegistrationListResponse';
|
|
135
|
+
export * from './PlayRegistrationType';
|
|
136
|
+
export * from './PlaySearch';
|
|
137
|
+
export * from './PlaySearchDTO';
|
|
138
|
+
export * from './PlaySearchDTOClubPlace';
|
|
139
|
+
export * from './PlaySearchDetailDTO';
|
|
140
|
+
export * from './PlaySearchDetailDTOAllOfCounts';
|
|
141
|
+
export * from './PlaySearchDetailDTOAllOfRegistrations';
|
|
142
|
+
export * from './PlaySearchDetailDTOAllOfUser';
|
|
143
|
+
export * from './PlaySearchListResponse';
|
|
144
|
+
export * from './PlaySearchStatus';
|
|
120
145
|
export * from './PlaySpot';
|
|
121
146
|
export * from './PlaySpotAvailabilityDetail';
|
|
122
147
|
export * from './PlaySpotDateSummary';
|
|
@@ -142,8 +167,8 @@ export * from './RegisterClub500Response';
|
|
|
142
167
|
export * from './RegisterClubParams';
|
|
143
168
|
export * from './RegisterClubResponse';
|
|
144
169
|
export * from './RegisterClubResponseResult';
|
|
170
|
+
export * from './RegistrationStatus';
|
|
145
171
|
export * from './RentHour';
|
|
146
|
-
export * from './RequestPasswordReset200Response';
|
|
147
172
|
export * from './RequestPasswordReset500Response';
|
|
148
173
|
export * from './RequestPasswordResetRequest';
|
|
149
174
|
export * from './ResendEmailVerification500Response';
|
|
@@ -171,6 +196,7 @@ export * from './SetAuthCodeDto';
|
|
|
171
196
|
export * from './Shift';
|
|
172
197
|
export * from './Sport';
|
|
173
198
|
export * from './SubscriptionBill';
|
|
199
|
+
export * from './SubscriptionStatus';
|
|
174
200
|
export * from './SuccessResponse';
|
|
175
201
|
export * from './TestNotificationTemplate200Response';
|
|
176
202
|
export * from './TestNotificationTemplateRequest';
|
|
@@ -178,6 +204,7 @@ export * from './TimeOfDay';
|
|
|
178
204
|
export * from './ToggleServiceConfigRequest';
|
|
179
205
|
export * from './TriggerDeviceAction200Response';
|
|
180
206
|
export * from './TriggerDeviceActionRequest';
|
|
207
|
+
export * from './UnreadCountResponseDto';
|
|
181
208
|
export * from './UpdateBillRequest';
|
|
182
209
|
export * from './UpdateFeatureRequest';
|
|
183
210
|
export * from './UpdateReservationAdminRequest';
|
|
@@ -189,7 +216,7 @@ export * from './User';
|
|
|
189
216
|
export * from './UserAuth';
|
|
190
217
|
export * from './UserDto';
|
|
191
218
|
export * from './UserInvitation';
|
|
192
|
-
export * from './
|
|
219
|
+
export * from './UserNotificationConfig';
|
|
193
220
|
export * from './UserNotificationDto';
|
|
194
221
|
export * from './UserRating';
|
|
195
222
|
export * from './UserReserveDto';
|
package/package.json
CHANGED
|
@@ -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
|
-
|