@gambulls-org/gambulls-apis 3.0.552 → 3.0.554
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.
|
@@ -42,6 +42,8 @@ function instanceOfApiUserAffiliateMeGet200ResponseResponseObject(value) {
|
|
|
42
42
|
return false;
|
|
43
43
|
if (!('isEventActive' in value) || value['isEventActive'] === undefined)
|
|
44
44
|
return false;
|
|
45
|
+
if (!('eventExpirationDate' in value) || value['eventExpirationDate'] === undefined)
|
|
46
|
+
return false;
|
|
45
47
|
return true;
|
|
46
48
|
}
|
|
47
49
|
function ApiUserAffiliateMeGet200ResponseResponseObjectFromJSON(json) {
|
|
@@ -63,6 +65,7 @@ function ApiUserAffiliateMeGet200ResponseResponseObjectFromJSONTyped(json, ignor
|
|
|
63
65
|
'balance': json['balance'],
|
|
64
66
|
'activeEventName': json['activeEventName'] == null ? undefined : json['activeEventName'],
|
|
65
67
|
'isEventActive': json['isEventActive'],
|
|
68
|
+
'eventExpirationDate': (json['eventExpirationDate'] == null ? null : new Date(json['eventExpirationDate'])),
|
|
66
69
|
};
|
|
67
70
|
}
|
|
68
71
|
function ApiUserAffiliateMeGet200ResponseResponseObjectToJSON(json) {
|
|
@@ -84,5 +87,6 @@ function ApiUserAffiliateMeGet200ResponseResponseObjectToJSONTyped(value, ignore
|
|
|
84
87
|
'balance': value['balance'],
|
|
85
88
|
'activeEventName': value['activeEventName'],
|
|
86
89
|
'isEventActive': value['isEventActive'],
|
|
90
|
+
'eventExpirationDate': (value['eventExpirationDate'] == null ? null : value['eventExpirationDate'].toISOString()),
|
|
87
91
|
};
|
|
88
92
|
}
|
|
@@ -85,6 +85,12 @@ export interface ApiUserAffiliateMeGet200ResponseResponseObject {
|
|
|
85
85
|
* @memberof ApiUserAffiliateMeGet200ResponseResponseObject
|
|
86
86
|
*/
|
|
87
87
|
isEventActive: boolean;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {Date}
|
|
91
|
+
* @memberof ApiUserAffiliateMeGet200ResponseResponseObject
|
|
92
|
+
*/
|
|
93
|
+
eventExpirationDate: Date | null;
|
|
88
94
|
}
|
|
89
95
|
|
|
90
96
|
/**
|
|
@@ -101,6 +107,7 @@ export function instanceOfApiUserAffiliateMeGet200ResponseResponseObject(value:
|
|
|
101
107
|
if (!('baneedAt' in value) || value['baneedAt'] === undefined) return false;
|
|
102
108
|
if (!('balance' in value) || value['balance'] === undefined) return false;
|
|
103
109
|
if (!('isEventActive' in value) || value['isEventActive'] === undefined) return false;
|
|
110
|
+
if (!('eventExpirationDate' in value) || value['eventExpirationDate'] === undefined) return false;
|
|
104
111
|
return true;
|
|
105
112
|
}
|
|
106
113
|
|
|
@@ -125,6 +132,7 @@ export function ApiUserAffiliateMeGet200ResponseResponseObjectFromJSONTyped(json
|
|
|
125
132
|
'balance': json['balance'],
|
|
126
133
|
'activeEventName': json['activeEventName'] == null ? undefined : json['activeEventName'],
|
|
127
134
|
'isEventActive': json['isEventActive'],
|
|
135
|
+
'eventExpirationDate': (json['eventExpirationDate'] == null ? null : new Date(json['eventExpirationDate'])),
|
|
128
136
|
};
|
|
129
137
|
}
|
|
130
138
|
|
|
@@ -150,6 +158,7 @@ export function ApiUserAffiliateMeGet200ResponseResponseObjectFromJSONTyped(json
|
|
|
150
158
|
'balance': value['balance'],
|
|
151
159
|
'activeEventName': value['activeEventName'],
|
|
152
160
|
'isEventActive': value['isEventActive'],
|
|
161
|
+
'eventExpirationDate': (value['eventExpirationDate'] == null ? null : (value['eventExpirationDate'] as any).toISOString()),
|
|
153
162
|
};
|
|
154
163
|
}
|
|
155
164
|
|