@digital8/security-registers-backend-ts-sdk 0.0.532 → 0.0.534

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @digital8/security-registers-backend-ts-sdk@0.0.532
1
+ ## @digital8/security-registers-backend-ts-sdk@0.0.534
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.532 --save
39
+ npm install @digital8/security-registers-backend-ts-sdk@0.0.534 --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -32,7 +32,7 @@ export interface AddressResource {
32
32
  * @type {string}
33
33
  * @memberof AddressResource
34
34
  */
35
- addressLine2?: string | null;
35
+ addressLine2: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -24,6 +24,8 @@ exports.AddressResourceToJSONTyped = AddressResourceToJSONTyped;
24
24
  function instanceOfAddressResource(value) {
25
25
  if (!('addressLine1' in value) || value['addressLine1'] === undefined)
26
26
  return false;
27
+ if (!('addressLine2' in value) || value['addressLine2'] === undefined)
28
+ return false;
27
29
  if (!('suburb' in value) || value['suburb'] === undefined)
28
30
  return false;
29
31
  if (!('city' in value) || value['city'] === undefined)
@@ -48,7 +50,7 @@ function AddressResourceFromJSONTyped(json, ignoreDiscriminator) {
48
50
  return {
49
51
  'id': json['id'] == null ? undefined : json['id'],
50
52
  'addressLine1': json['addressLine1'],
51
- 'addressLine2': json['addressLine2'] == null ? undefined : json['addressLine2'],
53
+ 'addressLine2': json['addressLine2'],
52
54
  'suburb': json['suburb'],
53
55
  'city': json['city'],
54
56
  'state': json['state'],
@@ -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,7 +154,7 @@ export interface RegisterListResource {
148
154
  * @type {number}
149
155
  * @memberof RegisterListResource
150
156
  */
151
- signOffLat: number;
157
+ signOffLat?: number | null;
152
158
  /**
153
159
  *
154
160
  * @type {number}
@@ -57,6 +57,8 @@ function instanceOfRegisterListResource(value) {
57
57
  return false;
58
58
  if (!('signOffSignature' in value) || value['signOffSignature'] === undefined)
59
59
  return false;
60
+ if (!('rampReadSignature' in value) || value['rampReadSignature'] === undefined)
61
+ return false;
60
62
  if (!('licenceFront' in value) || value['licenceFront'] === undefined)
61
63
  return false;
62
64
  if (!('licenceBack' in value) || value['licenceBack'] === undefined)
@@ -69,8 +71,6 @@ function instanceOfRegisterListResource(value) {
69
71
  return false;
70
72
  if (!('signOnLong' in value) || value['signOnLong'] === undefined)
71
73
  return false;
72
- if (!('signOffLat' in value) || value['signOffLat'] === undefined)
73
- return false;
74
74
  if (!('hasIncidents' in value) || value['hasIncidents'] === undefined)
75
75
  return false;
76
76
  return true;
@@ -98,13 +98,14 @@ 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
+ 'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
108
109
  'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
109
110
  'hasIncidents': json['hasIncidents'],
110
111
  };
@@ -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}
@@ -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)
@@ -87,6 +89,7 @@ function RegisterResourceFromJSONTyped(json, ignoreDiscriminator) {
87
89
  'signOffStatus': json['signOffStatus'],
88
90
  'signOnSignature': json['signOnSignature'],
89
91
  'signOffSignature': json['signOffSignature'],
92
+ 'rampReadSignature': json['rampReadSignature'],
90
93
  'licenceFront': json['licenceFront'],
91
94
  'licenceBack': json['licenceBack'],
92
95
  'rsaImage': json['rsaImage'],
@@ -123,6 +126,7 @@ function RegisterResourceToJSONTyped(value, ignoreDiscriminator) {
123
126
  'signOffStatus': value['signOffStatus'],
124
127
  'signOnSignature': value['signOnSignature'],
125
128
  'signOffSignature': value['signOffSignature'],
129
+ 'rampReadSignature': value['rampReadSignature'],
126
130
  'licenceFront': value['licenceFront'],
127
131
  'licenceBack': value['licenceBack'],
128
132
  'rsaImage': value['rsaImage'],
@@ -33,7 +33,7 @@ export interface SecurityCompanyResource {
33
33
  * @type {string}
34
34
  * @memberof SecurityCompanyResource
35
35
  */
36
- email: string;
36
+ email?: string | null;
37
37
  /**
38
38
  *
39
39
  * @type {boolean}
@@ -25,8 +25,6 @@ var AddressResource_1 = require("./AddressResource");
25
25
  function instanceOfSecurityCompanyResource(value) {
26
26
  if (!('name' in value) || value['name'] === undefined)
27
27
  return false;
28
- if (!('email' in value) || value['email'] === undefined)
29
- return false;
30
28
  if (!('isEnabled' in value) || value['isEnabled'] === undefined)
31
29
  return false;
32
30
  if (!('address' in value) || value['address'] === undefined)
@@ -45,7 +43,7 @@ function SecurityCompanyResourceFromJSONTyped(json, ignoreDiscriminator) {
45
43
  return {
46
44
  'id': json['id'] == null ? undefined : json['id'],
47
45
  'name': json['name'],
48
- 'email': json['email'],
46
+ 'email': json['email'] == null ? undefined : json['email'],
49
47
  'isEnabled': json['isEnabled'],
50
48
  'address': (0, AddressResource_1.AddressResourceFromJSON)(json['address']),
51
49
  'licenceNumber': json['licenceNumber'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/security-registers-backend-ts-sdk",
3
- "version": "0.0.532",
3
+ "version": "0.0.534",
4
4
  "description": "OpenAPI client for @digital8/security-registers-backend-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -36,7 +36,7 @@ export interface AddressResource {
36
36
  * @type {string}
37
37
  * @memberof AddressResource
38
38
  */
39
- addressLine2?: string | null;
39
+ addressLine2: string;
40
40
  /**
41
41
  *
42
42
  * @type {string}
@@ -80,6 +80,7 @@ export interface AddressResource {
80
80
  */
81
81
  export function instanceOfAddressResource(value: object): value is AddressResource {
82
82
  if (!('addressLine1' in value) || value['addressLine1'] === undefined) return false;
83
+ if (!('addressLine2' in value) || value['addressLine2'] === undefined) return false;
83
84
  if (!('suburb' in value) || value['suburb'] === undefined) return false;
84
85
  if (!('city' in value) || value['city'] === undefined) return false;
85
86
  if (!('state' in value) || value['state'] === undefined) return false;
@@ -101,7 +102,7 @@ export function AddressResourceFromJSONTyped(json: any, ignoreDiscriminator: boo
101
102
 
102
103
  'id': json['id'] == null ? undefined : json['id'],
103
104
  'addressLine1': json['addressLine1'],
104
- 'addressLine2': json['addressLine2'] == null ? undefined : json['addressLine2'],
105
+ 'addressLine2': json['addressLine2'],
105
106
  'suburb': json['suburb'],
106
107
  'city': json['city'],
107
108
  'state': json['state'],
@@ -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,7 +171,7 @@ export interface RegisterListResource {
165
171
  * @type {number}
166
172
  * @memberof RegisterListResource
167
173
  */
168
- signOffLat: number;
174
+ signOffLat?: number | null;
169
175
  /**
170
176
  *
171
177
  * @type {number}
@@ -208,13 +214,13 @@ export function instanceOfRegisterListResource(value: object): value is Register
208
214
  if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined) return false;
209
215
  if (!('signOnSignature' in value) || value['signOnSignature'] === undefined) return false;
210
216
  if (!('signOffSignature' in value) || value['signOffSignature'] === undefined) return false;
217
+ if (!('rampReadSignature' in value) || value['rampReadSignature'] === undefined) return false;
211
218
  if (!('licenceFront' in value) || value['licenceFront'] === undefined) return false;
212
219
  if (!('licenceBack' in value) || value['licenceBack'] === undefined) return false;
213
220
  if (!('rsa' in value) || value['rsa'] === undefined) return false;
214
221
  if (!('firstAid' in value) || value['firstAid'] === undefined) return false;
215
222
  if (!('signOnLat' in value) || value['signOnLat'] === undefined) return false;
216
223
  if (!('signOnLong' in value) || value['signOnLong'] === undefined) return false;
217
- if (!('signOffLat' in value) || value['signOffLat'] === undefined) return false;
218
224
  if (!('hasIncidents' in value) || value['hasIncidents'] === undefined) return false;
219
225
  return true;
220
226
  }
@@ -244,13 +250,14 @@ 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'],
260
+ 'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
254
261
  'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
255
262
  'hasIncidents': json['hasIncidents'],
256
263
  };
@@ -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}
@@ -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;
@@ -235,6 +242,7 @@ export function RegisterResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
235
242
  'signOffStatus': json['signOffStatus'],
236
243
  'signOnSignature': json['signOnSignature'],
237
244
  'signOffSignature': json['signOffSignature'],
245
+ 'rampReadSignature': json['rampReadSignature'],
238
246
  'licenceFront': json['licenceFront'],
239
247
  'licenceBack': json['licenceBack'],
240
248
  'rsaImage': json['rsaImage'],
@@ -273,6 +281,7 @@ export function RegisterResourceToJSONTyped(value?: RegisterResource | null, ign
273
281
  'signOffStatus': value['signOffStatus'],
274
282
  'signOnSignature': value['signOnSignature'],
275
283
  'signOffSignature': value['signOffSignature'],
284
+ 'rampReadSignature': value['rampReadSignature'],
276
285
  'licenceFront': value['licenceFront'],
277
286
  'licenceBack': value['licenceBack'],
278
287
  'rsaImage': value['rsaImage'],
@@ -44,7 +44,7 @@ export interface SecurityCompanyResource {
44
44
  * @type {string}
45
45
  * @memberof SecurityCompanyResource
46
46
  */
47
- email: string;
47
+ email?: string | null;
48
48
  /**
49
49
  *
50
50
  * @type {boolean}
@@ -82,7 +82,6 @@ export interface SecurityCompanyResource {
82
82
  */
83
83
  export function instanceOfSecurityCompanyResource(value: object): value is SecurityCompanyResource {
84
84
  if (!('name' in value) || value['name'] === undefined) return false;
85
- if (!('email' in value) || value['email'] === undefined) return false;
86
85
  if (!('isEnabled' in value) || value['isEnabled'] === undefined) return false;
87
86
  if (!('address' in value) || value['address'] === undefined) return false;
88
87
  if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
@@ -101,7 +100,7 @@ export function SecurityCompanyResourceFromJSONTyped(json: any, ignoreDiscrimina
101
100
 
102
101
  'id': json['id'] == null ? undefined : json['id'],
103
102
  'name': json['name'],
104
- 'email': json['email'],
103
+ 'email': json['email'] == null ? undefined : json['email'],
105
104
  'isEnabled': json['isEnabled'],
106
105
  'address': AddressResourceFromJSON(json['address']),
107
106
  'licenceNumber': json['licenceNumber'],