@jugarhoy/api 1.1.18 → 1.1.21
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/SportEventsApi.ts +39 -35
- package/apis/TeamFeedApi.ts +98 -96
- package/apis/TeamsApi.ts +166 -151
- package/models/{ApiAppTeamsTeamIdEventsPostRequest.ts → CreateSportEventRequest.ts} +20 -20
- package/models/{ApiAppTeamsTeamIdFeedFeedItemIdPatchRequest.ts → EditTeamFeedPostRequest.ts} +12 -12
- package/models/GetAvailableSportEvents200Response.ts +73 -0
- package/models/GetAvailableSportEvents200ResponseEventsInner.ts +97 -0
- package/models/{ApiAppTeamsTeamIdFeedSummaryGet200Response.ts → GetTeamFeedSummary200Response.ts} +13 -13
- package/models/Message.ts +8 -0
- package/models/RegenerateTeamInviteCode200Response.ts +65 -0
- package/models/TeamListResponse.ts +105 -0
- package/models/UpdateFeedItemReactionsRequest.ts +66 -0
- package/models/index.ts +8 -6
- package/package.json +1 -1
- package/models/ApiAppTeamsTeamIdEventsGet200Response.ts +0 -73
- package/models/ApiAppTeamsTeamIdEventsGet200ResponseEventsInner.ts +0 -97
- package/models/ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequest.ts +0 -66
package/models/index.ts
CHANGED
|
@@ -12,12 +12,6 @@ export * from './ApiAdminPlayPricesPostRequest';
|
|
|
12
12
|
export * from './ApiAppFalta1NotificationsSendNewPost200Response';
|
|
13
13
|
export * from './ApiAppFalta1NotificationsSendNewPost200ResponseStatsInner';
|
|
14
14
|
export * from './ApiAppRecurringGamesIdPlaySearchesGet200Response';
|
|
15
|
-
export * from './ApiAppTeamsTeamIdEventsGet200Response';
|
|
16
|
-
export * from './ApiAppTeamsTeamIdEventsGet200ResponseEventsInner';
|
|
17
|
-
export * from './ApiAppTeamsTeamIdEventsPostRequest';
|
|
18
|
-
export * from './ApiAppTeamsTeamIdFeedFeedItemIdPatchRequest';
|
|
19
|
-
export * from './ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequest';
|
|
20
|
-
export * from './ApiAppTeamsTeamIdFeedSummaryGet200Response';
|
|
21
15
|
export * from './ApiAppVotingHasVotedPlaySearchIdGet200Response';
|
|
22
16
|
export * from './ApproveClubResponse';
|
|
23
17
|
export * from './ApproveClubResponseResult';
|
|
@@ -78,6 +72,7 @@ export * from './CreatePlaySearchRequest';
|
|
|
78
72
|
export * from './CreateRecurringGameRequest';
|
|
79
73
|
export * from './CreateServiceConfigRequest';
|
|
80
74
|
export * from './CreateShiftRequest';
|
|
75
|
+
export * from './CreateSportEventRequest';
|
|
81
76
|
export * from './CreateTeamFeedRequest';
|
|
82
77
|
export * from './CreateTeamRequest';
|
|
83
78
|
export * from './CreateUserNotificationDto';
|
|
@@ -102,6 +97,7 @@ export * from './DeviceState';
|
|
|
102
97
|
export * from './DeviceType';
|
|
103
98
|
export * from './DominantPlaySide';
|
|
104
99
|
export * from './DominantSide';
|
|
100
|
+
export * from './EditTeamFeedPostRequest';
|
|
105
101
|
export * from './ErrorResponse';
|
|
106
102
|
export * from './ExpireUnpaidReservationResult';
|
|
107
103
|
export * from './ExpireUnpaidReservations401Response';
|
|
@@ -118,12 +114,15 @@ export * from './GenerateSubscriptionBillsRequest';
|
|
|
118
114
|
export * from './GetAllDevices200ResponseInner';
|
|
119
115
|
export * from './GetAllPlaySpots200ResponseInner';
|
|
120
116
|
export * from './GetAllShifts200ResponseInner';
|
|
117
|
+
export * from './GetAvailableSportEvents200Response';
|
|
118
|
+
export * from './GetAvailableSportEvents200ResponseEventsInner';
|
|
121
119
|
export * from './GetHourlyReservationStatus200Response';
|
|
122
120
|
export * from './GetHourlyReservationStatus200ResponseHourlyStatusInner';
|
|
123
121
|
export * from './GetMercadoPagoAuthUrl200Response';
|
|
124
122
|
export * from './GetNotificationByType200Response';
|
|
125
123
|
export * from './GetSession401Response';
|
|
126
124
|
export * from './GetSession500Response';
|
|
125
|
+
export * from './GetTeamFeedSummary200Response';
|
|
127
126
|
export * from './GroupedPositionsResponse';
|
|
128
127
|
export * from './GroupedPositionsResponseHome';
|
|
129
128
|
export * from './HasDoorlock200Response';
|
|
@@ -204,6 +203,7 @@ export * from './ProcessMercadoPagoPaymentResponseResult';
|
|
|
204
203
|
export * from './RecurringGame';
|
|
205
204
|
export * from './RecurringGameResponse';
|
|
206
205
|
export * from './RefundPolicy';
|
|
206
|
+
export * from './RegenerateTeamInviteCode200Response';
|
|
207
207
|
export * from './RegisterClub400Response';
|
|
208
208
|
export * from './RegisterClub401Response';
|
|
209
209
|
export * from './RegisterClub500Response';
|
|
@@ -251,6 +251,7 @@ export * from './TeamFeedItem';
|
|
|
251
251
|
export * from './TeamFeedItemResponse';
|
|
252
252
|
export * from './TeamFeedListResponse';
|
|
253
253
|
export * from './TeamFeedMedia';
|
|
254
|
+
export * from './TeamListResponse';
|
|
254
255
|
export * from './TeamMember';
|
|
255
256
|
export * from './TeamMemberResponse';
|
|
256
257
|
export * from './TeamMemberRole';
|
|
@@ -269,6 +270,7 @@ export * from './UnreadCountResponseDto';
|
|
|
269
270
|
export * from './UpdateBillRequest';
|
|
270
271
|
export * from './UpdateCoachPriceDto';
|
|
271
272
|
export * from './UpdateFeatureRequest';
|
|
273
|
+
export * from './UpdateFeedItemReactionsRequest';
|
|
272
274
|
export * from './UpdateMemberRoleRequest';
|
|
273
275
|
export * from './UpdateRecurringGameRequest';
|
|
274
276
|
export * from './UpdateReservationAdminRequest';
|
package/package.json
CHANGED
|
@@ -1,73 +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
|
-
import type { ApiAppTeamsTeamIdEventsGet200ResponseEventsInner } from './ApiAppTeamsTeamIdEventsGet200ResponseEventsInner';
|
|
17
|
-
import {
|
|
18
|
-
ApiAppTeamsTeamIdEventsGet200ResponseEventsInnerFromJSON,
|
|
19
|
-
ApiAppTeamsTeamIdEventsGet200ResponseEventsInnerFromJSONTyped,
|
|
20
|
-
ApiAppTeamsTeamIdEventsGet200ResponseEventsInnerToJSON,
|
|
21
|
-
ApiAppTeamsTeamIdEventsGet200ResponseEventsInnerToJSONTyped,
|
|
22
|
-
} from './ApiAppTeamsTeamIdEventsGet200ResponseEventsInner';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ApiAppTeamsTeamIdEventsGet200Response
|
|
28
|
-
*/
|
|
29
|
-
export interface ApiAppTeamsTeamIdEventsGet200Response {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ApiAppTeamsTeamIdEventsGet200ResponseEventsInner>}
|
|
33
|
-
* @memberof ApiAppTeamsTeamIdEventsGet200Response
|
|
34
|
-
*/
|
|
35
|
-
events?: Array<ApiAppTeamsTeamIdEventsGet200ResponseEventsInner>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ApiAppTeamsTeamIdEventsGet200Response interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfApiAppTeamsTeamIdEventsGet200Response(value: object): value is ApiAppTeamsTeamIdEventsGet200Response {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ApiAppTeamsTeamIdEventsGet200ResponseFromJSON(json: any): ApiAppTeamsTeamIdEventsGet200Response {
|
|
46
|
-
return ApiAppTeamsTeamIdEventsGet200ResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ApiAppTeamsTeamIdEventsGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAppTeamsTeamIdEventsGet200Response {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'events': json['events'] == null ? undefined : ((json['events'] as Array<any>).map(ApiAppTeamsTeamIdEventsGet200ResponseEventsInnerFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ApiAppTeamsTeamIdEventsGet200ResponseToJSON(json: any): ApiAppTeamsTeamIdEventsGet200Response {
|
|
60
|
-
return ApiAppTeamsTeamIdEventsGet200ResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ApiAppTeamsTeamIdEventsGet200ResponseToJSONTyped(value?: ApiAppTeamsTeamIdEventsGet200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'events': value['events'] == null ? undefined : ((value['events'] as Array<any>).map(ApiAppTeamsTeamIdEventsGet200ResponseEventsInnerToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,97 +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 ApiAppTeamsTeamIdEventsGet200ResponseEventsInner
|
|
20
|
-
*/
|
|
21
|
-
export interface ApiAppTeamsTeamIdEventsGet200ResponseEventsInner {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApiAppTeamsTeamIdEventsGet200ResponseEventsInner
|
|
26
|
-
*/
|
|
27
|
-
code?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ApiAppTeamsTeamIdEventsGet200ResponseEventsInner
|
|
32
|
-
*/
|
|
33
|
-
icon?: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof ApiAppTeamsTeamIdEventsGet200ResponseEventsInner
|
|
38
|
-
*/
|
|
39
|
-
displayName?: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof ApiAppTeamsTeamIdEventsGet200ResponseEventsInner
|
|
44
|
-
*/
|
|
45
|
-
displayNameEs?: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof ApiAppTeamsTeamIdEventsGet200ResponseEventsInner
|
|
50
|
-
*/
|
|
51
|
-
color?: string;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the ApiAppTeamsTeamIdEventsGet200ResponseEventsInner interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfApiAppTeamsTeamIdEventsGet200ResponseEventsInner(value: object): value is ApiAppTeamsTeamIdEventsGet200ResponseEventsInner {
|
|
58
|
-
return true;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export function ApiAppTeamsTeamIdEventsGet200ResponseEventsInnerFromJSON(json: any): ApiAppTeamsTeamIdEventsGet200ResponseEventsInner {
|
|
62
|
-
return ApiAppTeamsTeamIdEventsGet200ResponseEventsInnerFromJSONTyped(json, false);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export function ApiAppTeamsTeamIdEventsGet200ResponseEventsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAppTeamsTeamIdEventsGet200ResponseEventsInner {
|
|
66
|
-
if (json == null) {
|
|
67
|
-
return json;
|
|
68
|
-
}
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'code': json['code'] == null ? undefined : json['code'],
|
|
72
|
-
'icon': json['icon'] == null ? undefined : json['icon'],
|
|
73
|
-
'displayName': json['displayName'] == null ? undefined : json['displayName'],
|
|
74
|
-
'displayNameEs': json['displayNameEs'] == null ? undefined : json['displayNameEs'],
|
|
75
|
-
'color': json['color'] == null ? undefined : json['color'],
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
export function ApiAppTeamsTeamIdEventsGet200ResponseEventsInnerToJSON(json: any): ApiAppTeamsTeamIdEventsGet200ResponseEventsInner {
|
|
80
|
-
return ApiAppTeamsTeamIdEventsGet200ResponseEventsInnerToJSONTyped(json, false);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
export function ApiAppTeamsTeamIdEventsGet200ResponseEventsInnerToJSONTyped(value?: ApiAppTeamsTeamIdEventsGet200ResponseEventsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
84
|
-
if (value == null) {
|
|
85
|
-
return value;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
return {
|
|
89
|
-
|
|
90
|
-
'code': value['code'],
|
|
91
|
-
'icon': value['icon'],
|
|
92
|
-
'displayName': value['displayName'],
|
|
93
|
-
'displayNameEs': value['displayNameEs'],
|
|
94
|
-
'color': value['color'],
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
|
|
@@ -1,66 +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 ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequest {
|
|
22
|
-
/**
|
|
23
|
-
* Map of emoji to count
|
|
24
|
-
* @type {object}
|
|
25
|
-
* @memberof ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequest
|
|
26
|
-
*/
|
|
27
|
-
reactions: object;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequest interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequest(value: object): value is ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequest {
|
|
34
|
-
if (!('reactions' in value) || value['reactions'] === undefined) return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequestFromJSON(json: any): ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequest {
|
|
39
|
-
return ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequestFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequest {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
|
|
48
|
-
'reactions': json['reactions'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequestToJSON(json: any): ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequest {
|
|
53
|
-
return ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequestToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequestToJSONTyped(value?: ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'reactions': value['reactions'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|