@jugarhoy/api 1.0.9 → 1.1.1

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.
@@ -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 ToggleNotificationByType200Response
20
+ */
21
+ export interface ToggleNotificationByType200Response {
22
+ /**
23
+ * The new enabled state
24
+ * @type {boolean}
25
+ * @memberof ToggleNotificationByType200Response
26
+ */
27
+ enabled?: boolean;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the ToggleNotificationByType200Response interface.
32
+ */
33
+ export function instanceOfToggleNotificationByType200Response(value: object): value is ToggleNotificationByType200Response {
34
+ return true;
35
+ }
36
+
37
+ export function ToggleNotificationByType200ResponseFromJSON(json: any): ToggleNotificationByType200Response {
38
+ return ToggleNotificationByType200ResponseFromJSONTyped(json, false);
39
+ }
40
+
41
+ export function ToggleNotificationByType200ResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ToggleNotificationByType200Response {
42
+ if (json == null) {
43
+ return json;
44
+ }
45
+ return {
46
+
47
+ 'enabled': json['enabled'] == null ? undefined : json['enabled'],
48
+ };
49
+ }
50
+
51
+ export function ToggleNotificationByType200ResponseToJSON(json: any): ToggleNotificationByType200Response {
52
+ return ToggleNotificationByType200ResponseToJSONTyped(json, false);
53
+ }
54
+
55
+ export function ToggleNotificationByType200ResponseToJSONTyped(value?: ToggleNotificationByType200Response | null, ignoreDiscriminator: boolean = false): any {
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+
60
+ return {
61
+
62
+ 'enabled': value['enabled'],
63
+ };
64
+ }
65
+
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';
@@ -86,6 +91,7 @@ export * from './GetAllShifts200ResponseInner';
86
91
  export * from './GetHourlyReservationStatus200Response';
87
92
  export * from './GetHourlyReservationStatus200ResponseHourlyStatusInner';
88
93
  export * from './GetMercadoPagoAuthUrl200Response';
94
+ export * from './GetNotificationByType200Response';
89
95
  export * from './GetSession401Response';
90
96
  export * from './GetSession500Response';
91
97
  export * from './HasDoorlock200Response';
@@ -123,6 +129,20 @@ export * from './PaymentRefund';
123
129
  export * from './PaymentStatus';
124
130
  export * from './PaymentTerms';
125
131
  export * from './PlayPrice';
132
+ export * from './PlayRegistration';
133
+ export * from './PlayRegistrationDTO';
134
+ export * from './PlayRegistrationDTOUser';
135
+ export * from './PlayRegistrationListResponse';
136
+ export * from './PlayRegistrationType';
137
+ export * from './PlaySearch';
138
+ export * from './PlaySearchDTO';
139
+ export * from './PlaySearchDTOClubPlace';
140
+ export * from './PlaySearchDetailDTO';
141
+ export * from './PlaySearchDetailDTOAllOfCounts';
142
+ export * from './PlaySearchDetailDTOAllOfRegistrations';
143
+ export * from './PlaySearchDetailDTOAllOfUser';
144
+ export * from './PlaySearchListResponse';
145
+ export * from './PlaySearchStatus';
126
146
  export * from './PlaySpot';
127
147
  export * from './PlaySpotAvailabilityDetail';
128
148
  export * from './PlaySpotDateSummary';
@@ -148,6 +168,7 @@ export * from './RegisterClub500Response';
148
168
  export * from './RegisterClubParams';
149
169
  export * from './RegisterClubResponse';
150
170
  export * from './RegisterClubResponseResult';
171
+ export * from './RegistrationStatus';
151
172
  export * from './RentHour';
152
173
  export * from './RequestPasswordReset500Response';
153
174
  export * from './RequestPasswordResetRequest';
@@ -176,10 +197,12 @@ export * from './SetAuthCodeDto';
176
197
  export * from './Shift';
177
198
  export * from './Sport';
178
199
  export * from './SubscriptionBill';
200
+ export * from './SubscriptionStatus';
179
201
  export * from './SuccessResponse';
180
202
  export * from './TestNotificationTemplate200Response';
181
203
  export * from './TestNotificationTemplateRequest';
182
204
  export * from './TimeOfDay';
205
+ export * from './ToggleNotificationByType200Response';
183
206
  export * from './ToggleServiceConfigRequest';
184
207
  export * from './TriggerDeviceAction200Response';
185
208
  export * from './TriggerDeviceActionRequest';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jugarhoy/api",
3
- "version": "1.0.9",
3
+ "version": "1.1.1",
4
4
  "description": "TypeScript SDK for Jugar Hoy API",
5
5
  "main": "index.ts",
6
6
  "types": "index.ts",
@@ -32,4 +32,4 @@
32
32
  "url": "https://github.com/jugarhoy/jugarhoy.git",
33
33
  "directory": "sdk/ts"
34
34
  }
35
- }
35
+ }