@digital8/security-registers-backend-ts-sdk 0.0.205 → 0.0.207

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.
Files changed (36) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +43 -5
  4. package/dist/apis/GeneralApi.js +222 -8
  5. package/dist/models/AddressResource.d.ts +1 -1
  6. package/dist/models/AddressResource.js +1 -3
  7. package/dist/models/IncidentFieldSchemasShowRequest.d.ts +46 -0
  8. package/dist/models/IncidentFieldSchemasShowRequest.js +65 -0
  9. package/dist/models/NotificationPreferenceResource.d.ts +63 -0
  10. package/dist/models/NotificationPreferenceResource.js +67 -0
  11. package/dist/models/NotificationPreferenceResourceArrayResponse.d.ts +33 -0
  12. package/dist/models/NotificationPreferenceResourceArrayResponse.js +50 -0
  13. package/dist/models/NotificationPreferencesStoreRequest.d.ts +55 -0
  14. package/dist/models/NotificationPreferencesStoreRequest.js +68 -0
  15. package/dist/models/NotificationTypeResource.d.ts +38 -0
  16. package/dist/models/NotificationTypeResource.js +55 -0
  17. package/dist/models/NotificationTypeResourceArrayResponse.d.ts +33 -0
  18. package/dist/models/NotificationTypeResourceArrayResponse.js +50 -0
  19. package/dist/models/RegisterListResource.d.ts +1 -1
  20. package/dist/models/RegisterListResource.js +1 -3
  21. package/dist/models/RegisterResource.d.ts +2 -2
  22. package/dist/models/RegisterResource.js +6 -2
  23. package/dist/models/index.d.ts +6 -0
  24. package/dist/models/index.js +6 -0
  25. package/package.json +1 -1
  26. package/src/apis/GeneralApi.ts +191 -14
  27. package/src/models/AddressResource.ts +2 -3
  28. package/src/models/IncidentFieldSchemasShowRequest.ts +83 -0
  29. package/src/models/NotificationPreferenceResource.ts +116 -0
  30. package/src/models/NotificationPreferenceResourceArrayResponse.ts +73 -0
  31. package/src/models/NotificationPreferencesStoreRequest.ts +97 -0
  32. package/src/models/NotificationTypeResource.ts +75 -0
  33. package/src/models/NotificationTypeResourceArrayResponse.ts +73 -0
  34. package/src/models/RegisterListResource.ts +2 -3
  35. package/src/models/RegisterResource.ts +6 -4
  36. package/src/models/index.ts +6 -0
@@ -0,0 +1,33 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { NotificationPreferenceResource } from './NotificationPreferenceResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface NotificationPreferenceResourceArrayResponse
17
+ */
18
+ export interface NotificationPreferenceResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<NotificationPreferenceResource>}
22
+ * @memberof NotificationPreferenceResourceArrayResponse
23
+ */
24
+ data?: Array<NotificationPreferenceResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the NotificationPreferenceResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfNotificationPreferenceResourceArrayResponse(value: object): value is NotificationPreferenceResourceArrayResponse;
30
+ export declare function NotificationPreferenceResourceArrayResponseFromJSON(json: any): NotificationPreferenceResourceArrayResponse;
31
+ export declare function NotificationPreferenceResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPreferenceResourceArrayResponse;
32
+ export declare function NotificationPreferenceResourceArrayResponseToJSON(json: any): NotificationPreferenceResourceArrayResponse;
33
+ export declare function NotificationPreferenceResourceArrayResponseToJSONTyped(value?: NotificationPreferenceResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfNotificationPreferenceResourceArrayResponse = instanceOfNotificationPreferenceResourceArrayResponse;
17
+ exports.NotificationPreferenceResourceArrayResponseFromJSON = NotificationPreferenceResourceArrayResponseFromJSON;
18
+ exports.NotificationPreferenceResourceArrayResponseFromJSONTyped = NotificationPreferenceResourceArrayResponseFromJSONTyped;
19
+ exports.NotificationPreferenceResourceArrayResponseToJSON = NotificationPreferenceResourceArrayResponseToJSON;
20
+ exports.NotificationPreferenceResourceArrayResponseToJSONTyped = NotificationPreferenceResourceArrayResponseToJSONTyped;
21
+ var NotificationPreferenceResource_1 = require("./NotificationPreferenceResource");
22
+ /**
23
+ * Check if a given object implements the NotificationPreferenceResourceArrayResponse interface.
24
+ */
25
+ function instanceOfNotificationPreferenceResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function NotificationPreferenceResourceArrayResponseFromJSON(json) {
29
+ return NotificationPreferenceResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function NotificationPreferenceResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(NotificationPreferenceResource_1.NotificationPreferenceResourceFromJSON)),
37
+ };
38
+ }
39
+ function NotificationPreferenceResourceArrayResponseToJSON(json) {
40
+ return NotificationPreferenceResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function NotificationPreferenceResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'data': value['data'] == null ? undefined : (value['data'].map(NotificationPreferenceResource_1.NotificationPreferenceResourceToJSON)),
49
+ };
50
+ }
@@ -0,0 +1,55 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface NotificationPreferencesStoreRequest
16
+ */
17
+ export interface NotificationPreferencesStoreRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof NotificationPreferencesStoreRequest
22
+ */
23
+ notificationType: NotificationPreferencesStoreRequestNotificationTypeEnum;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof NotificationPreferencesStoreRequest
28
+ */
29
+ venueId?: number;
30
+ /**
31
+ *
32
+ * @type {boolean}
33
+ * @memberof NotificationPreferencesStoreRequest
34
+ */
35
+ enabled: boolean;
36
+ }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const NotificationPreferencesStoreRequestNotificationTypeEnum: {
41
+ readonly IncidentAdded: "incident_added";
42
+ readonly NonSignOff: "non_sign_off";
43
+ readonly NonSignOn: "non_sign_on";
44
+ readonly SignOnRejected: "sign_on_rejected";
45
+ readonly LicenceUpdated: "licence_updated";
46
+ };
47
+ export type NotificationPreferencesStoreRequestNotificationTypeEnum = typeof NotificationPreferencesStoreRequestNotificationTypeEnum[keyof typeof NotificationPreferencesStoreRequestNotificationTypeEnum];
48
+ /**
49
+ * Check if a given object implements the NotificationPreferencesStoreRequest interface.
50
+ */
51
+ export declare function instanceOfNotificationPreferencesStoreRequest(value: object): value is NotificationPreferencesStoreRequest;
52
+ export declare function NotificationPreferencesStoreRequestFromJSON(json: any): NotificationPreferencesStoreRequest;
53
+ export declare function NotificationPreferencesStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPreferencesStoreRequest;
54
+ export declare function NotificationPreferencesStoreRequestToJSON(json: any): NotificationPreferencesStoreRequest;
55
+ export declare function NotificationPreferencesStoreRequestToJSONTyped(value?: NotificationPreferencesStoreRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,68 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.NotificationPreferencesStoreRequestNotificationTypeEnum = void 0;
17
+ exports.instanceOfNotificationPreferencesStoreRequest = instanceOfNotificationPreferencesStoreRequest;
18
+ exports.NotificationPreferencesStoreRequestFromJSON = NotificationPreferencesStoreRequestFromJSON;
19
+ exports.NotificationPreferencesStoreRequestFromJSONTyped = NotificationPreferencesStoreRequestFromJSONTyped;
20
+ exports.NotificationPreferencesStoreRequestToJSON = NotificationPreferencesStoreRequestToJSON;
21
+ exports.NotificationPreferencesStoreRequestToJSONTyped = NotificationPreferencesStoreRequestToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.NotificationPreferencesStoreRequestNotificationTypeEnum = {
26
+ IncidentAdded: 'incident_added',
27
+ NonSignOff: 'non_sign_off',
28
+ NonSignOn: 'non_sign_on',
29
+ SignOnRejected: 'sign_on_rejected',
30
+ LicenceUpdated: 'licence_updated'
31
+ };
32
+ /**
33
+ * Check if a given object implements the NotificationPreferencesStoreRequest interface.
34
+ */
35
+ function instanceOfNotificationPreferencesStoreRequest(value) {
36
+ if (!('notificationType' in value) || value['notificationType'] === undefined)
37
+ return false;
38
+ if (!('enabled' in value) || value['enabled'] === undefined)
39
+ return false;
40
+ return true;
41
+ }
42
+ function NotificationPreferencesStoreRequestFromJSON(json) {
43
+ return NotificationPreferencesStoreRequestFromJSONTyped(json, false);
44
+ }
45
+ function NotificationPreferencesStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
46
+ if (json == null) {
47
+ return json;
48
+ }
49
+ return {
50
+ 'notificationType': json['notification_type'],
51
+ 'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
52
+ 'enabled': json['enabled'],
53
+ };
54
+ }
55
+ function NotificationPreferencesStoreRequestToJSON(json) {
56
+ return NotificationPreferencesStoreRequestToJSONTyped(json, false);
57
+ }
58
+ function NotificationPreferencesStoreRequestToJSONTyped(value, ignoreDiscriminator) {
59
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
60
+ if (value == null) {
61
+ return value;
62
+ }
63
+ return {
64
+ 'notification_type': value['notificationType'],
65
+ 'venue_id': value['venueId'],
66
+ 'enabled': value['enabled'],
67
+ };
68
+ }
@@ -0,0 +1,38 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface NotificationTypeResource
16
+ */
17
+ export interface NotificationTypeResource {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof NotificationTypeResource
22
+ */
23
+ value: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof NotificationTypeResource
28
+ */
29
+ label: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the NotificationTypeResource interface.
33
+ */
34
+ export declare function instanceOfNotificationTypeResource(value: object): value is NotificationTypeResource;
35
+ export declare function NotificationTypeResourceFromJSON(json: any): NotificationTypeResource;
36
+ export declare function NotificationTypeResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationTypeResource;
37
+ export declare function NotificationTypeResourceToJSON(json: any): NotificationTypeResource;
38
+ export declare function NotificationTypeResourceToJSONTyped(value?: NotificationTypeResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfNotificationTypeResource = instanceOfNotificationTypeResource;
17
+ exports.NotificationTypeResourceFromJSON = NotificationTypeResourceFromJSON;
18
+ exports.NotificationTypeResourceFromJSONTyped = NotificationTypeResourceFromJSONTyped;
19
+ exports.NotificationTypeResourceToJSON = NotificationTypeResourceToJSON;
20
+ exports.NotificationTypeResourceToJSONTyped = NotificationTypeResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the NotificationTypeResource interface.
23
+ */
24
+ function instanceOfNotificationTypeResource(value) {
25
+ if (!('value' in value) || value['value'] === undefined)
26
+ return false;
27
+ if (!('label' in value) || value['label'] === undefined)
28
+ return false;
29
+ return true;
30
+ }
31
+ function NotificationTypeResourceFromJSON(json) {
32
+ return NotificationTypeResourceFromJSONTyped(json, false);
33
+ }
34
+ function NotificationTypeResourceFromJSONTyped(json, ignoreDiscriminator) {
35
+ if (json == null) {
36
+ return json;
37
+ }
38
+ return {
39
+ 'value': json['value'],
40
+ 'label': json['label'],
41
+ };
42
+ }
43
+ function NotificationTypeResourceToJSON(json) {
44
+ return NotificationTypeResourceToJSONTyped(json, false);
45
+ }
46
+ function NotificationTypeResourceToJSONTyped(value, ignoreDiscriminator) {
47
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
+ if (value == null) {
49
+ return value;
50
+ }
51
+ return {
52
+ 'value': value['value'],
53
+ 'label': value['label'],
54
+ };
55
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { NotificationTypeResource } from './NotificationTypeResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface NotificationTypeResourceArrayResponse
17
+ */
18
+ export interface NotificationTypeResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<NotificationTypeResource>}
22
+ * @memberof NotificationTypeResourceArrayResponse
23
+ */
24
+ data?: Array<NotificationTypeResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the NotificationTypeResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfNotificationTypeResourceArrayResponse(value: object): value is NotificationTypeResourceArrayResponse;
30
+ export declare function NotificationTypeResourceArrayResponseFromJSON(json: any): NotificationTypeResourceArrayResponse;
31
+ export declare function NotificationTypeResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationTypeResourceArrayResponse;
32
+ export declare function NotificationTypeResourceArrayResponseToJSON(json: any): NotificationTypeResourceArrayResponse;
33
+ export declare function NotificationTypeResourceArrayResponseToJSONTyped(value?: NotificationTypeResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfNotificationTypeResourceArrayResponse = instanceOfNotificationTypeResourceArrayResponse;
17
+ exports.NotificationTypeResourceArrayResponseFromJSON = NotificationTypeResourceArrayResponseFromJSON;
18
+ exports.NotificationTypeResourceArrayResponseFromJSONTyped = NotificationTypeResourceArrayResponseFromJSONTyped;
19
+ exports.NotificationTypeResourceArrayResponseToJSON = NotificationTypeResourceArrayResponseToJSON;
20
+ exports.NotificationTypeResourceArrayResponseToJSONTyped = NotificationTypeResourceArrayResponseToJSONTyped;
21
+ var NotificationTypeResource_1 = require("./NotificationTypeResource");
22
+ /**
23
+ * Check if a given object implements the NotificationTypeResourceArrayResponse interface.
24
+ */
25
+ function instanceOfNotificationTypeResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function NotificationTypeResourceArrayResponseFromJSON(json) {
29
+ return NotificationTypeResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function NotificationTypeResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(NotificationTypeResource_1.NotificationTypeResourceFromJSON)),
37
+ };
38
+ }
39
+ function NotificationTypeResourceArrayResponseToJSON(json) {
40
+ return NotificationTypeResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function NotificationTypeResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'data': value['data'] == null ? undefined : (value['data'].map(NotificationTypeResource_1.NotificationTypeResourceToJSON)),
49
+ };
50
+ }
@@ -142,7 +142,7 @@ export interface RegisterListResource {
142
142
  * @type {number}
143
143
  * @memberof RegisterListResource
144
144
  */
145
- signOffLat: number;
145
+ signOffLat?: number | null;
146
146
  /**
147
147
  *
148
148
  * @type {number}
@@ -60,8 +60,6 @@ function instanceOfRegisterListResource(value) {
60
60
  return false;
61
61
  if (!('signOnLong' in value) || value['signOnLong'] === undefined)
62
62
  return false;
63
- if (!('signOffLat' in value) || value['signOffLat'] === undefined)
64
- return false;
65
63
  if (!('incidents' in value) || value['incidents'] === undefined)
66
64
  return false;
67
65
  return true;
@@ -94,7 +92,7 @@ function RegisterListResourceFromJSONTyped(json, ignoreDiscriminator) {
94
92
  'firstAid': json['firstAid'],
95
93
  'signOnLat': json['signOnLat'],
96
94
  'signOnLong': json['signOnLong'],
97
- 'signOffLat': json['signOffLat'],
95
+ 'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
98
96
  'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
99
97
  'incidents': json['incidents'],
100
98
  };
@@ -112,7 +112,7 @@ export interface RegisterResource {
112
112
  * @type {number}
113
113
  * @memberof RegisterResource
114
114
  */
115
- signOffLong?: number | null;
115
+ signOffLong: number;
116
116
  /**
117
117
  *
118
118
  * @type {string}
@@ -142,7 +142,7 @@ export interface RegisterResource {
142
142
  * @type {string}
143
143
  * @memberof RegisterResource
144
144
  */
145
- badgeNumber?: string | null;
145
+ badgeNumber: string;
146
146
  /**
147
147
  *
148
148
  * @type {Date}
@@ -52,6 +52,8 @@ function instanceOfRegisterResource(value) {
52
52
  return false;
53
53
  if (!('signOffLat' in value) || value['signOffLat'] === undefined)
54
54
  return false;
55
+ if (!('signOffLong' in value) || value['signOffLong'] === undefined)
56
+ return false;
55
57
  if (!('licenceNumber' in value) || value['licenceNumber'] === undefined)
56
58
  return false;
57
59
  if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined)
@@ -60,6 +62,8 @@ function instanceOfRegisterResource(value) {
60
62
  return false;
61
63
  if (!('licenceLastName' in value) || value['licenceLastName'] === undefined)
62
64
  return false;
65
+ if (!('badgeNumber' in value) || value['badgeNumber'] === undefined)
66
+ return false;
63
67
  return true;
64
68
  }
65
69
  function RegisterResourceFromJSON(json) {
@@ -85,12 +89,12 @@ function RegisterResourceFromJSONTyped(json, ignoreDiscriminator) {
85
89
  'signOnLat': json['signOnLat'],
86
90
  'signOnLong': json['signOnLong'],
87
91
  'signOffLat': json['signOffLat'],
88
- 'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
92
+ 'signOffLong': json['signOffLong'],
89
93
  'licenceNumber': json['licenceNumber'],
90
94
  'licenceExpiry': json['licenceExpiry'],
91
95
  'licenceFirstName': json['licenceFirstName'],
92
96
  'licenceLastName': json['licenceLastName'],
93
- 'badgeNumber': json['badgeNumber'] == null ? undefined : json['badgeNumber'],
97
+ 'badgeNumber': json['badgeNumber'],
94
98
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
95
99
  'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
96
100
  };
@@ -11,6 +11,7 @@ export * from './CurrentRegisterResourceArrayResponse';
11
11
  export * from './GenericResponse';
12
12
  export * from './IncidentFieldSchemaResource';
13
13
  export * from './IncidentFieldSchemaResourceArrayResponse';
14
+ export * from './IncidentFieldSchemasShowRequest';
14
15
  export * from './IncidentFieldsResourceArrayResponse';
15
16
  export * from './IncidentResource';
16
17
  export * from './IncidentResourceArrayResponse';
@@ -29,6 +30,11 @@ export * from './LicencesStoreRequest';
29
30
  export * from './LicencesUpdateRequest';
30
31
  export * from './LicencesVerifyRequest';
31
32
  export * from './LoginAuthRequest';
33
+ export * from './NotificationPreferenceResource';
34
+ export * from './NotificationPreferenceResourceArrayResponse';
35
+ export * from './NotificationPreferencesStoreRequest';
36
+ export * from './NotificationTypeResource';
37
+ export * from './NotificationTypeResourceArrayResponse';
32
38
  export * from './PaginatedLicenceListResourceResponse';
33
39
  export * from './PaginatedLicenceResourceResponse';
34
40
  export * from './PaginatedRegisterGroupedByRosterResourceResponse';
@@ -29,6 +29,7 @@ __exportStar(require("./CurrentRegisterResourceArrayResponse"), exports);
29
29
  __exportStar(require("./GenericResponse"), exports);
30
30
  __exportStar(require("./IncidentFieldSchemaResource"), exports);
31
31
  __exportStar(require("./IncidentFieldSchemaResourceArrayResponse"), exports);
32
+ __exportStar(require("./IncidentFieldSchemasShowRequest"), exports);
32
33
  __exportStar(require("./IncidentFieldsResourceArrayResponse"), exports);
33
34
  __exportStar(require("./IncidentResource"), exports);
34
35
  __exportStar(require("./IncidentResourceArrayResponse"), exports);
@@ -47,6 +48,11 @@ __exportStar(require("./LicencesStoreRequest"), exports);
47
48
  __exportStar(require("./LicencesUpdateRequest"), exports);
48
49
  __exportStar(require("./LicencesVerifyRequest"), exports);
49
50
  __exportStar(require("./LoginAuthRequest"), exports);
51
+ __exportStar(require("./NotificationPreferenceResource"), exports);
52
+ __exportStar(require("./NotificationPreferenceResourceArrayResponse"), exports);
53
+ __exportStar(require("./NotificationPreferencesStoreRequest"), exports);
54
+ __exportStar(require("./NotificationTypeResource"), exports);
55
+ __exportStar(require("./NotificationTypeResourceArrayResponse"), exports);
50
56
  __exportStar(require("./PaginatedLicenceListResourceResponse"), exports);
51
57
  __exportStar(require("./PaginatedLicenceResourceResponse"), exports);
52
58
  __exportStar(require("./PaginatedRegisterGroupedByRosterResourceResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/security-registers-backend-ts-sdk",
3
- "version": "0.0.205",
3
+ "version": "0.0.207",
4
4
  "description": "OpenAPI client for @digital8/security-registers-backend-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {