@jugarhoy/api 1.1.31 → 1.1.33
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.
|
@@ -31,6 +31,12 @@ export interface ClubPlaceRegistrationStatus {
|
|
|
31
31
|
* @memberof ClubPlaceRegistrationStatus
|
|
32
32
|
*/
|
|
33
33
|
hasOwner: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Whether the place already has a club (Location) registered on the platform
|
|
36
|
+
* @type {boolean}
|
|
37
|
+
* @memberof ClubPlaceRegistrationStatus
|
|
38
|
+
*/
|
|
39
|
+
hasLinkedClub: boolean;
|
|
34
40
|
/**
|
|
35
41
|
* Platform ID of the club place (only present when registered)
|
|
36
42
|
* @type {string}
|
|
@@ -51,6 +57,7 @@ export interface ClubPlaceRegistrationStatus {
|
|
|
51
57
|
export function instanceOfClubPlaceRegistrationStatus(value: object): value is ClubPlaceRegistrationStatus {
|
|
52
58
|
if (!('registered' in value) || value['registered'] === undefined) return false;
|
|
53
59
|
if (!('hasOwner' in value) || value['hasOwner'] === undefined) return false;
|
|
60
|
+
if (!('hasLinkedClub' in value) || value['hasLinkedClub'] === undefined) return false;
|
|
54
61
|
return true;
|
|
55
62
|
}
|
|
56
63
|
|
|
@@ -66,6 +73,7 @@ export function ClubPlaceRegistrationStatusFromJSONTyped(json: any, ignoreDiscri
|
|
|
66
73
|
|
|
67
74
|
'registered': json['registered'],
|
|
68
75
|
'hasOwner': json['hasOwner'],
|
|
76
|
+
'hasLinkedClub': json['hasLinkedClub'],
|
|
69
77
|
'clubPlaceId': json['clubPlaceId'] == null ? undefined : json['clubPlaceId'],
|
|
70
78
|
'name': json['name'] == null ? undefined : json['name'],
|
|
71
79
|
};
|
|
@@ -84,6 +92,7 @@ export function ClubPlaceRegistrationStatusToJSONTyped(value?: ClubPlaceRegistra
|
|
|
84
92
|
|
|
85
93
|
'registered': value['registered'],
|
|
86
94
|
'hasOwner': value['hasOwner'],
|
|
95
|
+
'hasLinkedClub': value['hasLinkedClub'],
|
|
87
96
|
'clubPlaceId': value['clubPlaceId'],
|
|
88
97
|
'name': value['name'],
|
|
89
98
|
};
|