@jugarhoy/api 1.1.20 → 1.1.22
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/RecurringGamesApi.ts +111 -111
- package/apis/SportEventsApi.ts +35 -35
- package/apis/TeamFeedApi.ts +97 -97
- package/apis/TeamsApi.ts +156 -156
- 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/ListPlaySearchesByRecurringGame200Response.ts +81 -0
- package/models/RegenerateTeamInviteCode200Response.ts +65 -0
- package/models/UpdateFeedItemReactionsRequest.ts +66 -0
- package/models/index.ts +8 -8
- package/package.json +1 -1
- package/models/ApiAppRecurringGamesIdPlaySearchesGet200Response.ts +0 -81
- package/models/ApiAppTeamsTeamIdEventsGet200Response.ts +0 -73
- package/models/ApiAppTeamsTeamIdEventsGet200ResponseEventsInner.ts +0 -97
- package/models/ApiAppTeamsTeamIdFeedFeedItemIdReactionsPatchRequest.ts +0 -66
- package/models/ApiAppTeamsTeamIdRegenerateCodePost200Response.ts +0 -65
package/models/index.ts
CHANGED
|
@@ -11,14 +11,6 @@ export * from './ApiAdminPlayPricesIdPutRequest';
|
|
|
11
11
|
export * from './ApiAdminPlayPricesPostRequest';
|
|
12
12
|
export * from './ApiAppFalta1NotificationsSendNewPost200Response';
|
|
13
13
|
export * from './ApiAppFalta1NotificationsSendNewPost200ResponseStatsInner';
|
|
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
|
-
export * from './ApiAppTeamsTeamIdRegenerateCodePost200Response';
|
|
22
14
|
export * from './ApiAppVotingHasVotedPlaySearchIdGet200Response';
|
|
23
15
|
export * from './ApproveClubResponse';
|
|
24
16
|
export * from './ApproveClubResponseResult';
|
|
@@ -79,6 +71,7 @@ export * from './CreatePlaySearchRequest';
|
|
|
79
71
|
export * from './CreateRecurringGameRequest';
|
|
80
72
|
export * from './CreateServiceConfigRequest';
|
|
81
73
|
export * from './CreateShiftRequest';
|
|
74
|
+
export * from './CreateSportEventRequest';
|
|
82
75
|
export * from './CreateTeamFeedRequest';
|
|
83
76
|
export * from './CreateTeamRequest';
|
|
84
77
|
export * from './CreateUserNotificationDto';
|
|
@@ -103,6 +96,7 @@ export * from './DeviceState';
|
|
|
103
96
|
export * from './DeviceType';
|
|
104
97
|
export * from './DominantPlaySide';
|
|
105
98
|
export * from './DominantSide';
|
|
99
|
+
export * from './EditTeamFeedPostRequest';
|
|
106
100
|
export * from './ErrorResponse';
|
|
107
101
|
export * from './ExpireUnpaidReservationResult';
|
|
108
102
|
export * from './ExpireUnpaidReservations401Response';
|
|
@@ -119,12 +113,15 @@ export * from './GenerateSubscriptionBillsRequest';
|
|
|
119
113
|
export * from './GetAllDevices200ResponseInner';
|
|
120
114
|
export * from './GetAllPlaySpots200ResponseInner';
|
|
121
115
|
export * from './GetAllShifts200ResponseInner';
|
|
116
|
+
export * from './GetAvailableSportEvents200Response';
|
|
117
|
+
export * from './GetAvailableSportEvents200ResponseEventsInner';
|
|
122
118
|
export * from './GetHourlyReservationStatus200Response';
|
|
123
119
|
export * from './GetHourlyReservationStatus200ResponseHourlyStatusInner';
|
|
124
120
|
export * from './GetMercadoPagoAuthUrl200Response';
|
|
125
121
|
export * from './GetNotificationByType200Response';
|
|
126
122
|
export * from './GetSession401Response';
|
|
127
123
|
export * from './GetSession500Response';
|
|
124
|
+
export * from './GetTeamFeedSummary200Response';
|
|
128
125
|
export * from './GroupedPositionsResponse';
|
|
129
126
|
export * from './GroupedPositionsResponseHome';
|
|
130
127
|
export * from './HasDoorlock200Response';
|
|
@@ -138,6 +135,7 @@ export * from './LightControlResponse';
|
|
|
138
135
|
export * from './LinkPaymentToBillRequest';
|
|
139
136
|
export * from './ListAllClubsResponse';
|
|
140
137
|
export * from './ListAllClubsResponseResult';
|
|
138
|
+
export * from './ListPlaySearchesByRecurringGame200Response';
|
|
141
139
|
export * from './Location';
|
|
142
140
|
export * from './LocationDto';
|
|
143
141
|
export * from './ManageLightSwitch200Response';
|
|
@@ -205,6 +203,7 @@ export * from './ProcessMercadoPagoPaymentResponseResult';
|
|
|
205
203
|
export * from './RecurringGame';
|
|
206
204
|
export * from './RecurringGameResponse';
|
|
207
205
|
export * from './RefundPolicy';
|
|
206
|
+
export * from './RegenerateTeamInviteCode200Response';
|
|
208
207
|
export * from './RegisterClub400Response';
|
|
209
208
|
export * from './RegisterClub401Response';
|
|
210
209
|
export * from './RegisterClub500Response';
|
|
@@ -271,6 +270,7 @@ export * from './UnreadCountResponseDto';
|
|
|
271
270
|
export * from './UpdateBillRequest';
|
|
272
271
|
export * from './UpdateCoachPriceDto';
|
|
273
272
|
export * from './UpdateFeatureRequest';
|
|
273
|
+
export * from './UpdateFeedItemReactionsRequest';
|
|
274
274
|
export * from './UpdateMemberRoleRequest';
|
|
275
275
|
export * from './UpdateRecurringGameRequest';
|
|
276
276
|
export * from './UpdateReservationAdminRequest';
|
package/package.json
CHANGED
|
@@ -1,81 +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 { PlaySearchDTO } from './PlaySearchDTO';
|
|
17
|
-
import {
|
|
18
|
-
PlaySearchDTOFromJSON,
|
|
19
|
-
PlaySearchDTOFromJSONTyped,
|
|
20
|
-
PlaySearchDTOToJSON,
|
|
21
|
-
PlaySearchDTOToJSONTyped,
|
|
22
|
-
} from './PlaySearchDTO';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ApiAppRecurringGamesIdPlaySearchesGet200Response
|
|
28
|
-
*/
|
|
29
|
-
export interface ApiAppRecurringGamesIdPlaySearchesGet200Response {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<PlaySearchDTO>}
|
|
33
|
-
* @memberof ApiAppRecurringGamesIdPlaySearchesGet200Response
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<PlaySearchDTO>;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof ApiAppRecurringGamesIdPlaySearchesGet200Response
|
|
40
|
-
*/
|
|
41
|
-
total?: number;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the ApiAppRecurringGamesIdPlaySearchesGet200Response interface.
|
|
46
|
-
*/
|
|
47
|
-
export function instanceOfApiAppRecurringGamesIdPlaySearchesGet200Response(value: object): value is ApiAppRecurringGamesIdPlaySearchesGet200Response {
|
|
48
|
-
return true;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function ApiAppRecurringGamesIdPlaySearchesGet200ResponseFromJSON(json: any): ApiAppRecurringGamesIdPlaySearchesGet200Response {
|
|
52
|
-
return ApiAppRecurringGamesIdPlaySearchesGet200ResponseFromJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function ApiAppRecurringGamesIdPlaySearchesGet200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAppRecurringGamesIdPlaySearchesGet200Response {
|
|
56
|
-
if (json == null) {
|
|
57
|
-
return json;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
|
|
61
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(PlaySearchDTOFromJSON)),
|
|
62
|
-
'total': json['total'] == null ? undefined : json['total'],
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function ApiAppRecurringGamesIdPlaySearchesGet200ResponseToJSON(json: any): ApiAppRecurringGamesIdPlaySearchesGet200Response {
|
|
67
|
-
return ApiAppRecurringGamesIdPlaySearchesGet200ResponseToJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function ApiAppRecurringGamesIdPlaySearchesGet200ResponseToJSONTyped(value?: ApiAppRecurringGamesIdPlaySearchesGet200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
-
if (value == null) {
|
|
72
|
-
return value;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return {
|
|
76
|
-
|
|
77
|
-
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(PlaySearchDTOToJSON)),
|
|
78
|
-
'total': value['total'],
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
|
|
@@ -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
|
-
|
|
@@ -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 ApiAppTeamsTeamIdRegenerateCodePost200Response
|
|
20
|
-
*/
|
|
21
|
-
export interface ApiAppTeamsTeamIdRegenerateCodePost200Response {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ApiAppTeamsTeamIdRegenerateCodePost200Response
|
|
26
|
-
*/
|
|
27
|
-
inviteCode?: string;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the ApiAppTeamsTeamIdRegenerateCodePost200Response interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfApiAppTeamsTeamIdRegenerateCodePost200Response(value: object): value is ApiAppTeamsTeamIdRegenerateCodePost200Response {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export function ApiAppTeamsTeamIdRegenerateCodePost200ResponseFromJSON(json: any): ApiAppTeamsTeamIdRegenerateCodePost200Response {
|
|
38
|
-
return ApiAppTeamsTeamIdRegenerateCodePost200ResponseFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export function ApiAppTeamsTeamIdRegenerateCodePost200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiAppTeamsTeamIdRegenerateCodePost200Response {
|
|
42
|
-
if (json == null) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
|
|
47
|
-
'inviteCode': json['inviteCode'] == null ? undefined : json['inviteCode'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function ApiAppTeamsTeamIdRegenerateCodePost200ResponseToJSON(json: any): ApiAppTeamsTeamIdRegenerateCodePost200Response {
|
|
52
|
-
return ApiAppTeamsTeamIdRegenerateCodePost200ResponseToJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function ApiAppTeamsTeamIdRegenerateCodePost200ResponseToJSONTyped(value?: ApiAppTeamsTeamIdRegenerateCodePost200Response | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
-
if (value == null) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'inviteCode': value['inviteCode'],
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|