@digital8/security-registers-backend-ts-sdk 0.0.389 → 0.0.390

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 (49) hide show
  1. package/.openapi-generator/FILES +3 -4
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +49 -50
  4. package/dist/apis/GeneralApi.js +225 -227
  5. package/dist/models/AssetResource.d.ts +1 -1
  6. package/dist/models/AssetResource.js +1 -3
  7. package/dist/models/ExportQueuedResource.d.ts +54 -0
  8. package/dist/models/{PdfExportQueuedResource.js → ExportQueuedResource.js} +15 -15
  9. package/dist/models/ExportQueuedResourceArrayResponse.d.ts +33 -0
  10. package/dist/models/ExportQueuedResourceArrayResponse.js +50 -0
  11. package/dist/models/IncidentImageResource.d.ts +1 -1
  12. package/dist/models/IncidentImageResource.js +1 -3
  13. package/dist/models/IncidentsExportCsvBulkRequest.d.ts +56 -0
  14. package/dist/models/IncidentsExportCsvBulkRequest.js +63 -0
  15. package/dist/models/NotificationTypeResource.d.ts +0 -6
  16. package/dist/models/NotificationTypeResource.js +0 -4
  17. package/dist/models/RegisterListResource.d.ts +3 -3
  18. package/dist/models/RegisterListResource.js +3 -4
  19. package/dist/models/RegisterResource.d.ts +1 -1
  20. package/dist/models/RegisterResource.js +1 -3
  21. package/dist/models/RosterLiteResource.d.ts +1 -1
  22. package/dist/models/RosterLiteResource.js +3 -4
  23. package/dist/models/RosterWithRegistersResource.d.ts +1 -1
  24. package/dist/models/RosterWithRegistersResource.js +4 -3
  25. package/dist/models/index.d.ts +3 -4
  26. package/dist/models/index.js +3 -4
  27. package/package.json +1 -1
  28. package/src/apis/GeneralApi.ts +203 -207
  29. package/src/models/AssetResource.ts +2 -3
  30. package/src/models/{PdfExportQueuedResource.ts → ExportQueuedResource.ts} +16 -16
  31. package/src/models/ExportQueuedResourceArrayResponse.ts +73 -0
  32. package/src/models/IncidentImageResource.ts +2 -3
  33. package/src/models/IncidentsExportCsvBulkRequest.ts +100 -0
  34. package/src/models/NotificationTypeResource.ts +0 -9
  35. package/src/models/RegisterListResource.ts +5 -6
  36. package/src/models/RegisterResource.ts +2 -3
  37. package/src/models/RosterLiteResource.ts +3 -4
  38. package/src/models/RosterWithRegistersResource.ts +4 -3
  39. package/src/models/index.ts +3 -4
  40. package/dist/models/NotificationPreferencesBulkRequest.d.ts +0 -33
  41. package/dist/models/NotificationPreferencesBulkRequest.js +0 -52
  42. package/dist/models/NotificationPreferencesBulkRequestPreferencesInner.d.ts +0 -56
  43. package/dist/models/NotificationPreferencesBulkRequestPreferencesInner.js +0 -69
  44. package/dist/models/PdfExportQueuedResource.d.ts +0 -54
  45. package/dist/models/PdfExportQueuedResourceArrayResponse.d.ts +0 -33
  46. package/dist/models/PdfExportQueuedResourceArrayResponse.js +0 -50
  47. package/src/models/NotificationPreferencesBulkRequest.ts +0 -74
  48. package/src/models/NotificationPreferencesBulkRequestPreferencesInner.ts +0 -98
  49. package/src/models/PdfExportQueuedResourceArrayResponse.ts +0 -73
@@ -1,54 +0,0 @@
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 PdfExportQueuedResource
16
- */
17
- export interface PdfExportQueuedResource {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof PdfExportQueuedResource
22
- */
23
- id: number;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof PdfExportQueuedResource
28
- */
29
- status: PdfExportQueuedResourceStatusEnum;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof PdfExportQueuedResource
34
- */
35
- message: string;
36
- }
37
- /**
38
- * @export
39
- */
40
- export declare const PdfExportQueuedResourceStatusEnum: {
41
- readonly Pending: "pending";
42
- readonly Processing: "processing";
43
- readonly Completed: "completed";
44
- readonly Failed: "failed";
45
- };
46
- export type PdfExportQueuedResourceStatusEnum = typeof PdfExportQueuedResourceStatusEnum[keyof typeof PdfExportQueuedResourceStatusEnum];
47
- /**
48
- * Check if a given object implements the PdfExportQueuedResource interface.
49
- */
50
- export declare function instanceOfPdfExportQueuedResource(value: object): value is PdfExportQueuedResource;
51
- export declare function PdfExportQueuedResourceFromJSON(json: any): PdfExportQueuedResource;
52
- export declare function PdfExportQueuedResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportQueuedResource;
53
- export declare function PdfExportQueuedResourceToJSON(json: any): PdfExportQueuedResource;
54
- export declare function PdfExportQueuedResourceToJSONTyped(value?: PdfExportQueuedResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,33 +0,0 @@
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 { PdfExportQueuedResource } from './PdfExportQueuedResource';
13
- /**
14
- *
15
- * @export
16
- * @interface PdfExportQueuedResourceArrayResponse
17
- */
18
- export interface PdfExportQueuedResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<PdfExportQueuedResource>}
22
- * @memberof PdfExportQueuedResourceArrayResponse
23
- */
24
- data?: Array<PdfExportQueuedResource>;
25
- }
26
- /**
27
- * Check if a given object implements the PdfExportQueuedResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfPdfExportQueuedResourceArrayResponse(value: object): value is PdfExportQueuedResourceArrayResponse;
30
- export declare function PdfExportQueuedResourceArrayResponseFromJSON(json: any): PdfExportQueuedResourceArrayResponse;
31
- export declare function PdfExportQueuedResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportQueuedResourceArrayResponse;
32
- export declare function PdfExportQueuedResourceArrayResponseToJSON(json: any): PdfExportQueuedResourceArrayResponse;
33
- export declare function PdfExportQueuedResourceArrayResponseToJSONTyped(value?: PdfExportQueuedResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
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.instanceOfPdfExportQueuedResourceArrayResponse = instanceOfPdfExportQueuedResourceArrayResponse;
17
- exports.PdfExportQueuedResourceArrayResponseFromJSON = PdfExportQueuedResourceArrayResponseFromJSON;
18
- exports.PdfExportQueuedResourceArrayResponseFromJSONTyped = PdfExportQueuedResourceArrayResponseFromJSONTyped;
19
- exports.PdfExportQueuedResourceArrayResponseToJSON = PdfExportQueuedResourceArrayResponseToJSON;
20
- exports.PdfExportQueuedResourceArrayResponseToJSONTyped = PdfExportQueuedResourceArrayResponseToJSONTyped;
21
- var PdfExportQueuedResource_1 = require("./PdfExportQueuedResource");
22
- /**
23
- * Check if a given object implements the PdfExportQueuedResourceArrayResponse interface.
24
- */
25
- function instanceOfPdfExportQueuedResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function PdfExportQueuedResourceArrayResponseFromJSON(json) {
29
- return PdfExportQueuedResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function PdfExportQueuedResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(PdfExportQueuedResource_1.PdfExportQueuedResourceFromJSON)),
37
- };
38
- }
39
- function PdfExportQueuedResourceArrayResponseToJSON(json) {
40
- return PdfExportQueuedResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function PdfExportQueuedResourceArrayResponseToJSONTyped(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(PdfExportQueuedResource_1.PdfExportQueuedResourceToJSON)),
49
- };
50
- }
@@ -1,74 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { NotificationPreferencesBulkRequestPreferencesInner } from './NotificationPreferencesBulkRequestPreferencesInner';
17
- import {
18
- NotificationPreferencesBulkRequestPreferencesInnerFromJSON,
19
- NotificationPreferencesBulkRequestPreferencesInnerFromJSONTyped,
20
- NotificationPreferencesBulkRequestPreferencesInnerToJSON,
21
- NotificationPreferencesBulkRequestPreferencesInnerToJSONTyped,
22
- } from './NotificationPreferencesBulkRequestPreferencesInner';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface NotificationPreferencesBulkRequest
28
- */
29
- export interface NotificationPreferencesBulkRequest {
30
- /**
31
- *
32
- * @type {Array<NotificationPreferencesBulkRequestPreferencesInner>}
33
- * @memberof NotificationPreferencesBulkRequest
34
- */
35
- preferences: Array<NotificationPreferencesBulkRequestPreferencesInner>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the NotificationPreferencesBulkRequest interface.
40
- */
41
- export function instanceOfNotificationPreferencesBulkRequest(value: object): value is NotificationPreferencesBulkRequest {
42
- if (!('preferences' in value) || value['preferences'] === undefined) return false;
43
- return true;
44
- }
45
-
46
- export function NotificationPreferencesBulkRequestFromJSON(json: any): NotificationPreferencesBulkRequest {
47
- return NotificationPreferencesBulkRequestFromJSONTyped(json, false);
48
- }
49
-
50
- export function NotificationPreferencesBulkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPreferencesBulkRequest {
51
- if (json == null) {
52
- return json;
53
- }
54
- return {
55
-
56
- 'preferences': ((json['preferences'] as Array<any>).map(NotificationPreferencesBulkRequestPreferencesInnerFromJSON)),
57
- };
58
- }
59
-
60
- export function NotificationPreferencesBulkRequestToJSON(json: any): NotificationPreferencesBulkRequest {
61
- return NotificationPreferencesBulkRequestToJSONTyped(json, false);
62
- }
63
-
64
- export function NotificationPreferencesBulkRequestToJSONTyped(value?: NotificationPreferencesBulkRequest | null, ignoreDiscriminator: boolean = false): any {
65
- if (value == null) {
66
- return value;
67
- }
68
-
69
- return {
70
-
71
- 'preferences': ((value['preferences'] as Array<any>).map(NotificationPreferencesBulkRequestPreferencesInnerToJSON)),
72
- };
73
- }
74
-
@@ -1,98 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface NotificationPreferencesBulkRequestPreferencesInner
20
- */
21
- export interface NotificationPreferencesBulkRequestPreferencesInner {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof NotificationPreferencesBulkRequestPreferencesInner
26
- */
27
- notificationType: NotificationPreferencesBulkRequestPreferencesInnerNotificationTypeEnum;
28
- /**
29
- *
30
- * @type {number}
31
- * @memberof NotificationPreferencesBulkRequestPreferencesInner
32
- */
33
- venueId?: number;
34
- /**
35
- *
36
- * @type {boolean}
37
- * @memberof NotificationPreferencesBulkRequestPreferencesInner
38
- */
39
- enabled: boolean;
40
- }
41
-
42
-
43
- /**
44
- * @export
45
- */
46
- export const NotificationPreferencesBulkRequestPreferencesInnerNotificationTypeEnum = {
47
- IncidentAdded: 'incident_added',
48
- IncidentPendingReminder: 'incident_pending_reminder',
49
- NonSignOff: 'non_sign_off',
50
- NonSignOn: 'non_sign_on',
51
- SignOnRejected: 'sign_on_rejected',
52
- LicenceUpdated: 'licence_updated'
53
- } as const;
54
- export type NotificationPreferencesBulkRequestPreferencesInnerNotificationTypeEnum = typeof NotificationPreferencesBulkRequestPreferencesInnerNotificationTypeEnum[keyof typeof NotificationPreferencesBulkRequestPreferencesInnerNotificationTypeEnum];
55
-
56
-
57
- /**
58
- * Check if a given object implements the NotificationPreferencesBulkRequestPreferencesInner interface.
59
- */
60
- export function instanceOfNotificationPreferencesBulkRequestPreferencesInner(value: object): value is NotificationPreferencesBulkRequestPreferencesInner {
61
- if (!('notificationType' in value) || value['notificationType'] === undefined) return false;
62
- if (!('enabled' in value) || value['enabled'] === undefined) return false;
63
- return true;
64
- }
65
-
66
- export function NotificationPreferencesBulkRequestPreferencesInnerFromJSON(json: any): NotificationPreferencesBulkRequestPreferencesInner {
67
- return NotificationPreferencesBulkRequestPreferencesInnerFromJSONTyped(json, false);
68
- }
69
-
70
- export function NotificationPreferencesBulkRequestPreferencesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPreferencesBulkRequestPreferencesInner {
71
- if (json == null) {
72
- return json;
73
- }
74
- return {
75
-
76
- 'notificationType': json['notification_type'],
77
- 'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
78
- 'enabled': json['enabled'],
79
- };
80
- }
81
-
82
- export function NotificationPreferencesBulkRequestPreferencesInnerToJSON(json: any): NotificationPreferencesBulkRequestPreferencesInner {
83
- return NotificationPreferencesBulkRequestPreferencesInnerToJSONTyped(json, false);
84
- }
85
-
86
- export function NotificationPreferencesBulkRequestPreferencesInnerToJSONTyped(value?: NotificationPreferencesBulkRequestPreferencesInner | null, ignoreDiscriminator: boolean = false): any {
87
- if (value == null) {
88
- return value;
89
- }
90
-
91
- return {
92
-
93
- 'notification_type': value['notificationType'],
94
- 'venue_id': value['venueId'],
95
- 'enabled': value['enabled'],
96
- };
97
- }
98
-
@@ -1,73 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PdfExportQueuedResource } from './PdfExportQueuedResource';
17
- import {
18
- PdfExportQueuedResourceFromJSON,
19
- PdfExportQueuedResourceFromJSONTyped,
20
- PdfExportQueuedResourceToJSON,
21
- PdfExportQueuedResourceToJSONTyped,
22
- } from './PdfExportQueuedResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface PdfExportQueuedResourceArrayResponse
28
- */
29
- export interface PdfExportQueuedResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<PdfExportQueuedResource>}
33
- * @memberof PdfExportQueuedResourceArrayResponse
34
- */
35
- data?: Array<PdfExportQueuedResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the PdfExportQueuedResourceArrayResponse interface.
40
- */
41
- export function instanceOfPdfExportQueuedResourceArrayResponse(value: object): value is PdfExportQueuedResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function PdfExportQueuedResourceArrayResponseFromJSON(json: any): PdfExportQueuedResourceArrayResponse {
46
- return PdfExportQueuedResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function PdfExportQueuedResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportQueuedResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(PdfExportQueuedResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function PdfExportQueuedResourceArrayResponseToJSON(json: any): PdfExportQueuedResourceArrayResponse {
60
- return PdfExportQueuedResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function PdfExportQueuedResourceArrayResponseToJSONTyped(value?: PdfExportQueuedResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
- if (value == null) {
65
- return value;
66
- }
67
-
68
- return {
69
-
70
- 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(PdfExportQueuedResourceToJSON)),
71
- };
72
- }
73
-