@digital8/security-registers-backend-ts-sdk 0.0.532 → 0.0.533
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/README.md +2 -2
- package/dist/models/AssetResource.d.ts +1 -1
- package/dist/models/AssetResource.js +1 -3
- package/dist/models/RegisterListResource.d.ts +9 -3
- package/dist/models/RegisterListResource.js +8 -6
- package/dist/models/RegisterResource.d.ts +7 -1
- package/dist/models/RegisterResource.js +5 -3
- package/package.json +1 -1
- package/src/models/AssetResource.ts +2 -3
- package/src/models/RegisterListResource.ts +16 -8
- package/src/models/RegisterResource.ts +11 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @digital8/security-registers-backend-ts-sdk@0.0.
|
|
1
|
+
## @digital8/security-registers-backend-ts-sdk@0.0.533
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @digital8/security-registers-backend-ts-sdk@0.0.
|
|
39
|
+
npm install @digital8/security-registers-backend-ts-sdk@0.0.533 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -30,8 +30,6 @@ function instanceOfAssetResource(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
32
32
|
return false;
|
|
33
|
-
if (!('altText' in value) || value['altText'] === undefined)
|
|
34
|
-
return false;
|
|
35
33
|
if (!('index' in value) || value['index'] === undefined)
|
|
36
34
|
return false;
|
|
37
35
|
if (!('fileId' in value) || value['fileId'] === undefined)
|
|
@@ -52,7 +50,7 @@ function AssetResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
50
|
'filePath': json['filePath'],
|
|
53
51
|
'fileName': json['fileName'],
|
|
54
52
|
'mimeType': json['mimeType'],
|
|
55
|
-
'altText': json['altText'],
|
|
53
|
+
'altText': json['altText'] == null ? undefined : json['altText'],
|
|
56
54
|
'index': json['index'],
|
|
57
55
|
'fileId': json['fileId'],
|
|
58
56
|
'isExternal': json['isExternal'],
|
|
@@ -64,7 +64,7 @@ export interface RegisterListResource {
|
|
|
64
64
|
* @type {string}
|
|
65
65
|
* @memberof RegisterListResource
|
|
66
66
|
*/
|
|
67
|
-
badgeNumber
|
|
67
|
+
badgeNumber?: string | null;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
70
|
* @type {Date}
|
|
@@ -107,6 +107,12 @@ export interface RegisterListResource {
|
|
|
107
107
|
* @memberof RegisterListResource
|
|
108
108
|
*/
|
|
109
109
|
signOffSignature: object;
|
|
110
|
+
/**
|
|
111
|
+
*
|
|
112
|
+
* @type {object}
|
|
113
|
+
* @memberof RegisterListResource
|
|
114
|
+
*/
|
|
115
|
+
rampReadSignature: object;
|
|
110
116
|
/**
|
|
111
117
|
*
|
|
112
118
|
* @type {object}
|
|
@@ -148,13 +154,13 @@ export interface RegisterListResource {
|
|
|
148
154
|
* @type {number}
|
|
149
155
|
* @memberof RegisterListResource
|
|
150
156
|
*/
|
|
151
|
-
signOffLat
|
|
157
|
+
signOffLat?: number | null;
|
|
152
158
|
/**
|
|
153
159
|
*
|
|
154
160
|
* @type {number}
|
|
155
161
|
* @memberof RegisterListResource
|
|
156
162
|
*/
|
|
157
|
-
signOffLong
|
|
163
|
+
signOffLong: number;
|
|
158
164
|
/**
|
|
159
165
|
*
|
|
160
166
|
* @type {boolean}
|
|
@@ -43,8 +43,6 @@ function instanceOfRegisterListResource(value) {
|
|
|
43
43
|
return false;
|
|
44
44
|
if (!('signOffStatus' in value) || value['signOffStatus'] === undefined)
|
|
45
45
|
return false;
|
|
46
|
-
if (!('badgeNumber' in value) || value['badgeNumber'] === undefined)
|
|
47
|
-
return false;
|
|
48
46
|
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined)
|
|
49
47
|
return false;
|
|
50
48
|
if (!('licenceFirstName' in value) || value['licenceFirstName'] === undefined)
|
|
@@ -57,6 +55,8 @@ function instanceOfRegisterListResource(value) {
|
|
|
57
55
|
return false;
|
|
58
56
|
if (!('signOffSignature' in value) || value['signOffSignature'] === undefined)
|
|
59
57
|
return false;
|
|
58
|
+
if (!('rampReadSignature' in value) || value['rampReadSignature'] === undefined)
|
|
59
|
+
return false;
|
|
60
60
|
if (!('licenceFront' in value) || value['licenceFront'] === undefined)
|
|
61
61
|
return false;
|
|
62
62
|
if (!('licenceBack' in value) || value['licenceBack'] === undefined)
|
|
@@ -69,7 +69,7 @@ function instanceOfRegisterListResource(value) {
|
|
|
69
69
|
return false;
|
|
70
70
|
if (!('signOnLong' in value) || value['signOnLong'] === undefined)
|
|
71
71
|
return false;
|
|
72
|
-
if (!('
|
|
72
|
+
if (!('signOffLong' in value) || value['signOffLong'] === undefined)
|
|
73
73
|
return false;
|
|
74
74
|
if (!('hasIncidents' in value) || value['hasIncidents'] === undefined)
|
|
75
75
|
return false;
|
|
@@ -90,7 +90,7 @@ function RegisterListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
90
90
|
'finishDateTime': json['finishDateTime'] == null ? undefined : (new Date(json['finishDateTime'])),
|
|
91
91
|
'shiftLength': json['shiftLength'],
|
|
92
92
|
'signOffStatus': json['signOffStatus'],
|
|
93
|
-
'badgeNumber': json['badgeNumber'],
|
|
93
|
+
'badgeNumber': json['badgeNumber'] == null ? undefined : json['badgeNumber'],
|
|
94
94
|
'rampReadAt': json['rampReadAt'] == null ? undefined : (new Date(json['rampReadAt'])),
|
|
95
95
|
'licenceNumber': json['licenceNumber'],
|
|
96
96
|
'licenceFirstName': json['licenceFirstName'],
|
|
@@ -98,14 +98,15 @@ function RegisterListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
98
98
|
'licenceExpiry': json['licenceExpiry'],
|
|
99
99
|
'signOnSignature': json['signOnSignature'],
|
|
100
100
|
'signOffSignature': json['signOffSignature'],
|
|
101
|
+
'rampReadSignature': json['rampReadSignature'],
|
|
101
102
|
'licenceFront': json['licenceFront'],
|
|
102
103
|
'licenceBack': json['licenceBack'],
|
|
103
104
|
'rsa': json['rsa'],
|
|
104
105
|
'firstAid': json['firstAid'],
|
|
105
106
|
'signOnLat': json['signOnLat'],
|
|
106
107
|
'signOnLong': json['signOnLong'],
|
|
107
|
-
'signOffLat': json['signOffLat'],
|
|
108
|
-
'signOffLong': json['signOffLong']
|
|
108
|
+
'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
|
|
109
|
+
'signOffLong': json['signOffLong'],
|
|
109
110
|
'hasIncidents': json['hasIncidents'],
|
|
110
111
|
};
|
|
111
112
|
}
|
|
@@ -134,6 +135,7 @@ function RegisterListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
134
135
|
'licenceExpiry': value['licenceExpiry'],
|
|
135
136
|
'signOnSignature': value['signOnSignature'],
|
|
136
137
|
'signOffSignature': value['signOffSignature'],
|
|
138
|
+
'rampReadSignature': value['rampReadSignature'],
|
|
137
139
|
'licenceFront': value['licenceFront'],
|
|
138
140
|
'licenceBack': value['licenceBack'],
|
|
139
141
|
'rsa': value['rsa'],
|
|
@@ -65,6 +65,12 @@ export interface RegisterResource {
|
|
|
65
65
|
* @memberof RegisterResource
|
|
66
66
|
*/
|
|
67
67
|
signOffSignature: object;
|
|
68
|
+
/**
|
|
69
|
+
*
|
|
70
|
+
* @type {object}
|
|
71
|
+
* @memberof RegisterResource
|
|
72
|
+
*/
|
|
73
|
+
rampReadSignature: object;
|
|
68
74
|
/**
|
|
69
75
|
*
|
|
70
76
|
* @type {object}
|
|
@@ -112,7 +118,7 @@ export interface RegisterResource {
|
|
|
112
118
|
* @type {number}
|
|
113
119
|
* @memberof RegisterResource
|
|
114
120
|
*/
|
|
115
|
-
signOffLong
|
|
121
|
+
signOffLong?: number | null;
|
|
116
122
|
/**
|
|
117
123
|
*
|
|
118
124
|
* @type {string}
|
|
@@ -45,6 +45,8 @@ function instanceOfRegisterResource(value) {
|
|
|
45
45
|
return false;
|
|
46
46
|
if (!('signOffSignature' in value) || value['signOffSignature'] === undefined)
|
|
47
47
|
return false;
|
|
48
|
+
if (!('rampReadSignature' in value) || value['rampReadSignature'] === undefined)
|
|
49
|
+
return false;
|
|
48
50
|
if (!('licenceFront' in value) || value['licenceFront'] === undefined)
|
|
49
51
|
return false;
|
|
50
52
|
if (!('licenceBack' in value) || value['licenceBack'] === undefined)
|
|
@@ -59,8 +61,6 @@ function instanceOfRegisterResource(value) {
|
|
|
59
61
|
return false;
|
|
60
62
|
if (!('signOffLat' in value) || value['signOffLat'] === undefined)
|
|
61
63
|
return false;
|
|
62
|
-
if (!('signOffLong' in value) || value['signOffLong'] === undefined)
|
|
63
|
-
return false;
|
|
64
64
|
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined)
|
|
65
65
|
return false;
|
|
66
66
|
if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined)
|
|
@@ -87,6 +87,7 @@ function RegisterResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
87
87
|
'signOffStatus': json['signOffStatus'],
|
|
88
88
|
'signOnSignature': json['signOnSignature'],
|
|
89
89
|
'signOffSignature': json['signOffSignature'],
|
|
90
|
+
'rampReadSignature': json['rampReadSignature'],
|
|
90
91
|
'licenceFront': json['licenceFront'],
|
|
91
92
|
'licenceBack': json['licenceBack'],
|
|
92
93
|
'rsaImage': json['rsaImage'],
|
|
@@ -94,7 +95,7 @@ function RegisterResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
94
95
|
'signOnLat': json['signOnLat'],
|
|
95
96
|
'signOnLong': json['signOnLong'],
|
|
96
97
|
'signOffLat': json['signOffLat'],
|
|
97
|
-
'signOffLong': json['signOffLong'],
|
|
98
|
+
'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
|
|
98
99
|
'licenceNumber': json['licenceNumber'],
|
|
99
100
|
'licenceExpiry': json['licenceExpiry'],
|
|
100
101
|
'licenceFirstName': json['licenceFirstName'],
|
|
@@ -123,6 +124,7 @@ function RegisterResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
123
124
|
'signOffStatus': value['signOffStatus'],
|
|
124
125
|
'signOnSignature': value['signOnSignature'],
|
|
125
126
|
'signOffSignature': value['signOffSignature'],
|
|
127
|
+
'rampReadSignature': value['rampReadSignature'],
|
|
126
128
|
'licenceFront': value['licenceFront'],
|
|
127
129
|
'licenceBack': value['licenceBack'],
|
|
128
130
|
'rsaImage': value['rsaImage'],
|
package/package.json
CHANGED
|
@@ -48,7 +48,7 @@ export interface AssetResource {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof AssetResource
|
|
50
50
|
*/
|
|
51
|
-
altText
|
|
51
|
+
altText?: string | null;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {number}
|
|
@@ -83,7 +83,6 @@ export function instanceOfAssetResource(value: object): value is AssetResource {
|
|
|
83
83
|
if (!('filePath' in value) || value['filePath'] === undefined) return false;
|
|
84
84
|
if (!('fileName' in value) || value['fileName'] === undefined) return false;
|
|
85
85
|
if (!('mimeType' in value) || value['mimeType'] === undefined) return false;
|
|
86
|
-
if (!('altText' in value) || value['altText'] === undefined) return false;
|
|
87
86
|
if (!('index' in value) || value['index'] === undefined) return false;
|
|
88
87
|
if (!('fileId' in value) || value['fileId'] === undefined) return false;
|
|
89
88
|
if (!('isExternal' in value) || value['isExternal'] === undefined) return false;
|
|
@@ -104,7 +103,7 @@ export function AssetResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
104
103
|
'filePath': json['filePath'],
|
|
105
104
|
'fileName': json['fileName'],
|
|
106
105
|
'mimeType': json['mimeType'],
|
|
107
|
-
'altText': json['altText'],
|
|
106
|
+
'altText': json['altText'] == null ? undefined : json['altText'],
|
|
108
107
|
'index': json['index'],
|
|
109
108
|
'fileId': json['fileId'],
|
|
110
109
|
'isExternal': json['isExternal'],
|
|
@@ -81,7 +81,7 @@ export interface RegisterListResource {
|
|
|
81
81
|
* @type {string}
|
|
82
82
|
* @memberof RegisterListResource
|
|
83
83
|
*/
|
|
84
|
-
badgeNumber
|
|
84
|
+
badgeNumber?: string | null;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
87
|
* @type {Date}
|
|
@@ -124,6 +124,12 @@ export interface RegisterListResource {
|
|
|
124
124
|
* @memberof RegisterListResource
|
|
125
125
|
*/
|
|
126
126
|
signOffSignature: object;
|
|
127
|
+
/**
|
|
128
|
+
*
|
|
129
|
+
* @type {object}
|
|
130
|
+
* @memberof RegisterListResource
|
|
131
|
+
*/
|
|
132
|
+
rampReadSignature: object;
|
|
127
133
|
/**
|
|
128
134
|
*
|
|
129
135
|
* @type {object}
|
|
@@ -165,13 +171,13 @@ export interface RegisterListResource {
|
|
|
165
171
|
* @type {number}
|
|
166
172
|
* @memberof RegisterListResource
|
|
167
173
|
*/
|
|
168
|
-
signOffLat
|
|
174
|
+
signOffLat?: number | null;
|
|
169
175
|
/**
|
|
170
176
|
*
|
|
171
177
|
* @type {number}
|
|
172
178
|
* @memberof RegisterListResource
|
|
173
179
|
*/
|
|
174
|
-
signOffLong
|
|
180
|
+
signOffLong: number;
|
|
175
181
|
/**
|
|
176
182
|
*
|
|
177
183
|
* @type {boolean}
|
|
@@ -201,20 +207,20 @@ export function instanceOfRegisterListResource(value: object): value is Register
|
|
|
201
207
|
if (!('startDateTime' in value) || value['startDateTime'] === undefined) return false;
|
|
202
208
|
if (!('shiftLength' in value) || value['shiftLength'] === undefined) return false;
|
|
203
209
|
if (!('signOffStatus' in value) || value['signOffStatus'] === undefined) return false;
|
|
204
|
-
if (!('badgeNumber' in value) || value['badgeNumber'] === undefined) return false;
|
|
205
210
|
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
|
|
206
211
|
if (!('licenceFirstName' in value) || value['licenceFirstName'] === undefined) return false;
|
|
207
212
|
if (!('licenceLastName' in value) || value['licenceLastName'] === undefined) return false;
|
|
208
213
|
if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined) return false;
|
|
209
214
|
if (!('signOnSignature' in value) || value['signOnSignature'] === undefined) return false;
|
|
210
215
|
if (!('signOffSignature' in value) || value['signOffSignature'] === undefined) return false;
|
|
216
|
+
if (!('rampReadSignature' in value) || value['rampReadSignature'] === undefined) return false;
|
|
211
217
|
if (!('licenceFront' in value) || value['licenceFront'] === undefined) return false;
|
|
212
218
|
if (!('licenceBack' in value) || value['licenceBack'] === undefined) return false;
|
|
213
219
|
if (!('rsa' in value) || value['rsa'] === undefined) return false;
|
|
214
220
|
if (!('firstAid' in value) || value['firstAid'] === undefined) return false;
|
|
215
221
|
if (!('signOnLat' in value) || value['signOnLat'] === undefined) return false;
|
|
216
222
|
if (!('signOnLong' in value) || value['signOnLong'] === undefined) return false;
|
|
217
|
-
if (!('
|
|
223
|
+
if (!('signOffLong' in value) || value['signOffLong'] === undefined) return false;
|
|
218
224
|
if (!('hasIncidents' in value) || value['hasIncidents'] === undefined) return false;
|
|
219
225
|
return true;
|
|
220
226
|
}
|
|
@@ -236,7 +242,7 @@ export function RegisterListResourceFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
236
242
|
'finishDateTime': json['finishDateTime'] == null ? undefined : (new Date(json['finishDateTime'])),
|
|
237
243
|
'shiftLength': json['shiftLength'],
|
|
238
244
|
'signOffStatus': json['signOffStatus'],
|
|
239
|
-
'badgeNumber': json['badgeNumber'],
|
|
245
|
+
'badgeNumber': json['badgeNumber'] == null ? undefined : json['badgeNumber'],
|
|
240
246
|
'rampReadAt': json['rampReadAt'] == null ? undefined : (new Date(json['rampReadAt'])),
|
|
241
247
|
'licenceNumber': json['licenceNumber'],
|
|
242
248
|
'licenceFirstName': json['licenceFirstName'],
|
|
@@ -244,14 +250,15 @@ export function RegisterListResourceFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
244
250
|
'licenceExpiry': json['licenceExpiry'],
|
|
245
251
|
'signOnSignature': json['signOnSignature'],
|
|
246
252
|
'signOffSignature': json['signOffSignature'],
|
|
253
|
+
'rampReadSignature': json['rampReadSignature'],
|
|
247
254
|
'licenceFront': json['licenceFront'],
|
|
248
255
|
'licenceBack': json['licenceBack'],
|
|
249
256
|
'rsa': json['rsa'],
|
|
250
257
|
'firstAid': json['firstAid'],
|
|
251
258
|
'signOnLat': json['signOnLat'],
|
|
252
259
|
'signOnLong': json['signOnLong'],
|
|
253
|
-
'signOffLat': json['signOffLat'],
|
|
254
|
-
'signOffLong': json['signOffLong']
|
|
260
|
+
'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
|
|
261
|
+
'signOffLong': json['signOffLong'],
|
|
255
262
|
'hasIncidents': json['hasIncidents'],
|
|
256
263
|
};
|
|
257
264
|
}
|
|
@@ -282,6 +289,7 @@ export function RegisterListResourceToJSONTyped(value?: RegisterListResource | n
|
|
|
282
289
|
'licenceExpiry': value['licenceExpiry'],
|
|
283
290
|
'signOnSignature': value['signOnSignature'],
|
|
284
291
|
'signOffSignature': value['signOffSignature'],
|
|
292
|
+
'rampReadSignature': value['rampReadSignature'],
|
|
285
293
|
'licenceFront': value['licenceFront'],
|
|
286
294
|
'licenceBack': value['licenceBack'],
|
|
287
295
|
'rsa': value['rsa'],
|
|
@@ -82,6 +82,12 @@ export interface RegisterResource {
|
|
|
82
82
|
* @memberof RegisterResource
|
|
83
83
|
*/
|
|
84
84
|
signOffSignature: object;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {object}
|
|
88
|
+
* @memberof RegisterResource
|
|
89
|
+
*/
|
|
90
|
+
rampReadSignature: object;
|
|
85
91
|
/**
|
|
86
92
|
*
|
|
87
93
|
* @type {object}
|
|
@@ -129,7 +135,7 @@ export interface RegisterResource {
|
|
|
129
135
|
* @type {number}
|
|
130
136
|
* @memberof RegisterResource
|
|
131
137
|
*/
|
|
132
|
-
signOffLong
|
|
138
|
+
signOffLong?: number | null;
|
|
133
139
|
/**
|
|
134
140
|
*
|
|
135
141
|
* @type {string}
|
|
@@ -202,6 +208,7 @@ export function instanceOfRegisterResource(value: object): value is RegisterReso
|
|
|
202
208
|
if (!('signOffStatus' in value) || value['signOffStatus'] === undefined) return false;
|
|
203
209
|
if (!('signOnSignature' in value) || value['signOnSignature'] === undefined) return false;
|
|
204
210
|
if (!('signOffSignature' in value) || value['signOffSignature'] === undefined) return false;
|
|
211
|
+
if (!('rampReadSignature' in value) || value['rampReadSignature'] === undefined) return false;
|
|
205
212
|
if (!('licenceFront' in value) || value['licenceFront'] === undefined) return false;
|
|
206
213
|
if (!('licenceBack' in value) || value['licenceBack'] === undefined) return false;
|
|
207
214
|
if (!('rsaImage' in value) || value['rsaImage'] === undefined) return false;
|
|
@@ -209,7 +216,6 @@ export function instanceOfRegisterResource(value: object): value is RegisterReso
|
|
|
209
216
|
if (!('signOnLat' in value) || value['signOnLat'] === undefined) return false;
|
|
210
217
|
if (!('signOnLong' in value) || value['signOnLong'] === undefined) return false;
|
|
211
218
|
if (!('signOffLat' in value) || value['signOffLat'] === undefined) return false;
|
|
212
|
-
if (!('signOffLong' in value) || value['signOffLong'] === undefined) return false;
|
|
213
219
|
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
|
|
214
220
|
if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined) return false;
|
|
215
221
|
if (!('licenceFirstName' in value) || value['licenceFirstName'] === undefined) return false;
|
|
@@ -235,6 +241,7 @@ export function RegisterResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
235
241
|
'signOffStatus': json['signOffStatus'],
|
|
236
242
|
'signOnSignature': json['signOnSignature'],
|
|
237
243
|
'signOffSignature': json['signOffSignature'],
|
|
244
|
+
'rampReadSignature': json['rampReadSignature'],
|
|
238
245
|
'licenceFront': json['licenceFront'],
|
|
239
246
|
'licenceBack': json['licenceBack'],
|
|
240
247
|
'rsaImage': json['rsaImage'],
|
|
@@ -242,7 +249,7 @@ export function RegisterResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
242
249
|
'signOnLat': json['signOnLat'],
|
|
243
250
|
'signOnLong': json['signOnLong'],
|
|
244
251
|
'signOffLat': json['signOffLat'],
|
|
245
|
-
'signOffLong': json['signOffLong'],
|
|
252
|
+
'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
|
|
246
253
|
'licenceNumber': json['licenceNumber'],
|
|
247
254
|
'licenceExpiry': json['licenceExpiry'],
|
|
248
255
|
'licenceFirstName': json['licenceFirstName'],
|
|
@@ -273,6 +280,7 @@ export function RegisterResourceToJSONTyped(value?: RegisterResource | null, ign
|
|
|
273
280
|
'signOffStatus': value['signOffStatus'],
|
|
274
281
|
'signOnSignature': value['signOnSignature'],
|
|
275
282
|
'signOffSignature': value['signOffSignature'],
|
|
283
|
+
'rampReadSignature': value['rampReadSignature'],
|
|
276
284
|
'licenceFront': value['licenceFront'],
|
|
277
285
|
'licenceBack': value['licenceBack'],
|
|
278
286
|
'rsaImage': value['rsaImage'],
|