@digital8/security-registers-backend-ts-sdk 0.0.282 → 0.0.284

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 (48) hide show
  1. package/.openapi-generator/FILES +4 -3
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +7 -40
  4. package/dist/apis/GeneralApi.js +8 -176
  5. package/dist/models/AddressResource.d.ts +1 -1
  6. package/dist/models/AddressResource.js +1 -3
  7. package/dist/models/AssetResource.d.ts +1 -1
  8. package/dist/models/AssetResource.js +1 -3
  9. package/dist/models/IncidentListResource.d.ts +101 -0
  10. package/dist/models/IncidentListResource.js +79 -0
  11. package/dist/models/IncidentListResourceArrayResponse.d.ts +33 -0
  12. package/dist/models/IncidentListResourceArrayResponse.js +50 -0
  13. package/dist/models/IncidentsListRequest.d.ts +151 -0
  14. package/dist/models/IncidentsListRequest.js +99 -0
  15. package/dist/models/PaginatedIncidentListResourceResponse.d.ts +40 -0
  16. package/dist/models/PaginatedIncidentListResourceResponse.js +57 -0
  17. package/dist/models/RegisterListResource.d.ts +1 -1
  18. package/dist/models/RegisterListResource.js +3 -1
  19. package/dist/models/RegisterResource.d.ts +1 -1
  20. package/dist/models/RegisterResource.js +7 -5
  21. package/dist/models/RosterWithRegistersResource.d.ts +1 -1
  22. package/dist/models/RosterWithRegistersResource.js +4 -3
  23. package/dist/models/VenueLiteResource.d.ts +6 -0
  24. package/dist/models/VenueLiteResource.js +4 -0
  25. package/dist/models/index.d.ts +4 -3
  26. package/dist/models/index.js +4 -3
  27. package/package.json +1 -1
  28. package/src/apis/GeneralApi.ts +16 -163
  29. package/src/models/AddressResource.ts +2 -3
  30. package/src/models/AssetResource.ts +2 -3
  31. package/src/models/IncidentListResource.ts +177 -0
  32. package/src/models/IncidentListResourceArrayResponse.ts +73 -0
  33. package/src/models/IncidentsListRequest.ts +222 -0
  34. package/src/models/PaginatedIncidentListResourceResponse.ts +90 -0
  35. package/src/models/RegisterListResource.ts +3 -2
  36. package/src/models/RegisterResource.ts +4 -3
  37. package/src/models/RosterWithRegistersResource.ts +4 -3
  38. package/src/models/VenueLiteResource.ts +9 -0
  39. package/src/models/index.ts +4 -3
  40. package/dist/models/IncidentsExportPdfBulkRequest.d.ts +0 -56
  41. package/dist/models/IncidentsExportPdfBulkRequest.js +0 -63
  42. package/dist/models/PdfExportQueuedResource.d.ts +0 -44
  43. package/dist/models/PdfExportQueuedResource.js +0 -59
  44. package/dist/models/PdfExportQueuedResourceArrayResponse.d.ts +0 -33
  45. package/dist/models/PdfExportQueuedResourceArrayResponse.js +0 -50
  46. package/src/models/IncidentsExportPdfBulkRequest.ts +0 -100
  47. package/src/models/PdfExportQueuedResource.ts +0 -84
  48. package/src/models/PdfExportQueuedResourceArrayResponse.ts +0 -73
@@ -0,0 +1,222 @@
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 IncidentsListRequest
20
+ */
21
+ export interface IncidentsListRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof IncidentsListRequest
26
+ */
27
+ search?: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof IncidentsListRequest
32
+ */
33
+ sortBy?: IncidentsListRequestSortByEnum;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof IncidentsListRequest
38
+ */
39
+ sortDirection?: IncidentsListRequestSortDirectionEnum;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof IncidentsListRequest
44
+ */
45
+ perPage?: number;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof IncidentsListRequest
50
+ */
51
+ page?: string;
52
+ /**
53
+ *
54
+ * @type {Array<string>}
55
+ * @memberof IncidentsListRequest
56
+ */
57
+ venueId?: Array<string>;
58
+ /**
59
+ *
60
+ * @type {Array<string>}
61
+ * @memberof IncidentsListRequest
62
+ */
63
+ securityCompanyId?: Array<string>;
64
+ /**
65
+ *
66
+ * @type {Array<string>}
67
+ * @memberof IncidentsListRequest
68
+ */
69
+ rosterId?: Array<string>;
70
+ /**
71
+ *
72
+ * @type {Array<string>}
73
+ * @memberof IncidentsListRequest
74
+ */
75
+ userId?: Array<string>;
76
+ /**
77
+ *
78
+ * @type {Array<string>}
79
+ * @memberof IncidentsListRequest
80
+ */
81
+ approvedByUserId?: Array<string>;
82
+ /**
83
+ *
84
+ * @type {Array<string>}
85
+ * @memberof IncidentsListRequest
86
+ */
87
+ hasApprovedAt?: Array<string>;
88
+ /**
89
+ *
90
+ * @type {Date}
91
+ * @memberof IncidentsListRequest
92
+ */
93
+ beforeApprovedAt?: Date;
94
+ /**
95
+ *
96
+ * @type {Date}
97
+ * @memberof IncidentsListRequest
98
+ */
99
+ afterApprovedAt?: Date;
100
+ /**
101
+ *
102
+ * @type {Date}
103
+ * @memberof IncidentsListRequest
104
+ */
105
+ beforeCreatedAt?: Date;
106
+ /**
107
+ *
108
+ * @type {Date}
109
+ * @memberof IncidentsListRequest
110
+ */
111
+ afterCreatedAt?: Date;
112
+ /**
113
+ *
114
+ * @type {number}
115
+ * @memberof IncidentsListRequest
116
+ */
117
+ relatedId?: number;
118
+ /**
119
+ *
120
+ * @type {string}
121
+ * @memberof IncidentsListRequest
122
+ */
123
+ relatedType?: string;
124
+ /**
125
+ *
126
+ * @type {boolean}
127
+ * @memberof IncidentsListRequest
128
+ */
129
+ includesRelations?: boolean;
130
+ }
131
+
132
+
133
+ /**
134
+ * @export
135
+ */
136
+ export const IncidentsListRequestSortByEnum = {
137
+ Id: 'id',
138
+ CreatedAt: 'created_at',
139
+ ApprovedAt: 'approved_at'
140
+ } as const;
141
+ export type IncidentsListRequestSortByEnum = typeof IncidentsListRequestSortByEnum[keyof typeof IncidentsListRequestSortByEnum];
142
+
143
+ /**
144
+ * @export
145
+ */
146
+ export const IncidentsListRequestSortDirectionEnum = {
147
+ Asc: 'asc',
148
+ Desc: 'desc'
149
+ } as const;
150
+ export type IncidentsListRequestSortDirectionEnum = typeof IncidentsListRequestSortDirectionEnum[keyof typeof IncidentsListRequestSortDirectionEnum];
151
+
152
+
153
+ /**
154
+ * Check if a given object implements the IncidentsListRequest interface.
155
+ */
156
+ export function instanceOfIncidentsListRequest(value: object): value is IncidentsListRequest {
157
+ return true;
158
+ }
159
+
160
+ export function IncidentsListRequestFromJSON(json: any): IncidentsListRequest {
161
+ return IncidentsListRequestFromJSONTyped(json, false);
162
+ }
163
+
164
+ export function IncidentsListRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentsListRequest {
165
+ if (json == null) {
166
+ return json;
167
+ }
168
+ return {
169
+
170
+ 'search': json['search'] == null ? undefined : json['search'],
171
+ 'sortBy': json['sort_by'] == null ? undefined : json['sort_by'],
172
+ 'sortDirection': json['sort_direction'] == null ? undefined : json['sort_direction'],
173
+ 'perPage': json['per_page'] == null ? undefined : json['per_page'],
174
+ 'page': json['page'] == null ? undefined : json['page'],
175
+ 'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
176
+ 'securityCompanyId': json['security_company_id'] == null ? undefined : json['security_company_id'],
177
+ 'rosterId': json['roster_id'] == null ? undefined : json['roster_id'],
178
+ 'userId': json['user_id'] == null ? undefined : json['user_id'],
179
+ 'approvedByUserId': json['approved_by_user_id'] == null ? undefined : json['approved_by_user_id'],
180
+ 'hasApprovedAt': json['has_approved_at'] == null ? undefined : json['has_approved_at'],
181
+ 'beforeApprovedAt': json['before_approved_at'] == null ? undefined : (new Date(json['before_approved_at'])),
182
+ 'afterApprovedAt': json['after_approved_at'] == null ? undefined : (new Date(json['after_approved_at'])),
183
+ 'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
184
+ 'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
185
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
186
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
187
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
188
+ };
189
+ }
190
+
191
+ export function IncidentsListRequestToJSON(json: any): IncidentsListRequest {
192
+ return IncidentsListRequestToJSONTyped(json, false);
193
+ }
194
+
195
+ export function IncidentsListRequestToJSONTyped(value?: IncidentsListRequest | null, ignoreDiscriminator: boolean = false): any {
196
+ if (value == null) {
197
+ return value;
198
+ }
199
+
200
+ return {
201
+
202
+ 'search': value['search'],
203
+ 'sort_by': value['sortBy'],
204
+ 'sort_direction': value['sortDirection'],
205
+ 'per_page': value['perPage'],
206
+ 'page': value['page'],
207
+ 'venue_id': value['venueId'],
208
+ 'security_company_id': value['securityCompanyId'],
209
+ 'roster_id': value['rosterId'],
210
+ 'user_id': value['userId'],
211
+ 'approved_by_user_id': value['approvedByUserId'],
212
+ 'has_approved_at': value['hasApprovedAt'],
213
+ 'before_approved_at': value['beforeApprovedAt'] == null ? undefined : ((value['beforeApprovedAt']).toISOString()),
214
+ 'after_approved_at': value['afterApprovedAt'] == null ? undefined : ((value['afterApprovedAt']).toISOString()),
215
+ 'before_created_at': value['beforeCreatedAt'] == null ? undefined : ((value['beforeCreatedAt']).toISOString()),
216
+ 'after_created_at': value['afterCreatedAt'] == null ? undefined : ((value['afterCreatedAt']).toISOString()),
217
+ 'related_id': value['relatedId'],
218
+ 'related_type': value['relatedType'],
219
+ 'includes_relations': value['includesRelations'],
220
+ };
221
+ }
222
+
@@ -0,0 +1,90 @@
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 { PagingMetadata } from './PagingMetadata';
17
+ import {
18
+ PagingMetadataFromJSON,
19
+ PagingMetadataFromJSONTyped,
20
+ PagingMetadataToJSON,
21
+ PagingMetadataToJSONTyped,
22
+ } from './PagingMetadata';
23
+ import type { IncidentListResource } from './IncidentListResource';
24
+ import {
25
+ IncidentListResourceFromJSON,
26
+ IncidentListResourceFromJSONTyped,
27
+ IncidentListResourceToJSON,
28
+ IncidentListResourceToJSONTyped,
29
+ } from './IncidentListResource';
30
+
31
+ /**
32
+ *
33
+ * @export
34
+ * @interface PaginatedIncidentListResourceResponse
35
+ */
36
+ export interface PaginatedIncidentListResourceResponse {
37
+ /**
38
+ *
39
+ * @type {Array<IncidentListResource>}
40
+ * @memberof PaginatedIncidentListResourceResponse
41
+ */
42
+ data: Array<IncidentListResource>;
43
+ /**
44
+ *
45
+ * @type {PagingMetadata}
46
+ * @memberof PaginatedIncidentListResourceResponse
47
+ */
48
+ meta: PagingMetadata;
49
+ }
50
+
51
+ /**
52
+ * Check if a given object implements the PaginatedIncidentListResourceResponse interface.
53
+ */
54
+ export function instanceOfPaginatedIncidentListResourceResponse(value: object): value is PaginatedIncidentListResourceResponse {
55
+ if (!('data' in value) || value['data'] === undefined) return false;
56
+ if (!('meta' in value) || value['meta'] === undefined) return false;
57
+ return true;
58
+ }
59
+
60
+ export function PaginatedIncidentListResourceResponseFromJSON(json: any): PaginatedIncidentListResourceResponse {
61
+ return PaginatedIncidentListResourceResponseFromJSONTyped(json, false);
62
+ }
63
+
64
+ export function PaginatedIncidentListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedIncidentListResourceResponse {
65
+ if (json == null) {
66
+ return json;
67
+ }
68
+ return {
69
+
70
+ 'data': ((json['data'] as Array<any>).map(IncidentListResourceFromJSON)),
71
+ 'meta': PagingMetadataFromJSON(json['meta']),
72
+ };
73
+ }
74
+
75
+ export function PaginatedIncidentListResourceResponseToJSON(json: any): PaginatedIncidentListResourceResponse {
76
+ return PaginatedIncidentListResourceResponseToJSONTyped(json, false);
77
+ }
78
+
79
+ export function PaginatedIncidentListResourceResponseToJSONTyped(value?: PaginatedIncidentListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
+ if (value == null) {
81
+ return value;
82
+ }
83
+
84
+ return {
85
+
86
+ 'data': ((value['data'] as Array<any>).map(IncidentListResourceToJSON)),
87
+ 'meta': PagingMetadataToJSON(value['meta']),
88
+ };
89
+ }
90
+
@@ -166,7 +166,7 @@ export interface RegisterListResource {
166
166
  * @type {number}
167
167
  * @memberof RegisterListResource
168
168
  */
169
- signOffLat?: number | null;
169
+ signOffLat: number;
170
170
  /**
171
171
  *
172
172
  * @type {number}
@@ -202,6 +202,7 @@ export function instanceOfRegisterListResource(value: object): value is Register
202
202
  if (!('firstAid' in value) || value['firstAid'] === undefined) return false;
203
203
  if (!('signOnLat' in value) || value['signOnLat'] === undefined) return false;
204
204
  if (!('signOnLong' in value) || value['signOnLong'] === undefined) return false;
205
+ if (!('signOffLat' in value) || value['signOffLat'] === undefined) return false;
205
206
  if (!('signOffLong' in value) || value['signOffLong'] === undefined) return false;
206
207
  if (!('incidents' in value) || value['incidents'] === undefined) return false;
207
208
  return true;
@@ -237,7 +238,7 @@ export function RegisterListResourceFromJSONTyped(json: any, ignoreDiscriminator
237
238
  'firstAid': json['firstAid'],
238
239
  'signOnLat': json['signOnLat'],
239
240
  'signOnLong': json['signOnLong'],
240
- 'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
241
+ 'signOffLat': json['signOffLat'],
241
242
  'signOffLong': json['signOffLong'],
242
243
  'incidents': (json['incidents'] == null ? null : (json['incidents'] as Array<any>).map(IncidentLiteResourceFromJSON)),
243
244
  };
@@ -63,7 +63,7 @@ export interface RegisterResource {
63
63
  * @type {Date}
64
64
  * @memberof RegisterResource
65
65
  */
66
- finishDateTime?: Date | null;
66
+ finishDateTime: Date;
67
67
  /**
68
68
  *
69
69
  * @type {number}
@@ -181,6 +181,7 @@ export function instanceOfRegisterResource(value: object): value is RegisterReso
181
181
  if (!('venue' in value) || value['venue'] === undefined) return false;
182
182
  if (!('user' in value) || value['user'] === undefined) return false;
183
183
  if (!('startDateTime' in value) || value['startDateTime'] === undefined) return false;
184
+ if (!('finishDateTime' in value) || value['finishDateTime'] === undefined) return false;
184
185
  if (!('signOffStatus' in value) || value['signOffStatus'] === undefined) return false;
185
186
  if (!('signOnSignature' in value) || value['signOnSignature'] === undefined) return false;
186
187
  if (!('signOffSignature' in value) || value['signOffSignature'] === undefined) return false;
@@ -212,7 +213,7 @@ export function RegisterResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
212
213
  'venue': VenueLiteResourceFromJSON(json['venue']),
213
214
  'user': UserLiteResourceFromJSON(json['user']),
214
215
  'startDateTime': (new Date(json['startDateTime'])),
215
- 'finishDateTime': json['finishDateTime'] == null ? undefined : (new Date(json['finishDateTime'])),
216
+ 'finishDateTime': (new Date(json['finishDateTime'])),
216
217
  'signOffStatus': json['signOffStatus'],
217
218
  'signOnSignature': json['signOnSignature'],
218
219
  'signOffSignature': json['signOffSignature'],
@@ -249,7 +250,7 @@ export function RegisterResourceToJSONTyped(value?: RegisterResource | null, ign
249
250
  'venue': VenueLiteResourceToJSON(value['venue']),
250
251
  'user': UserLiteResourceToJSON(value['user']),
251
252
  'startDateTime': ((value['startDateTime']).toISOString()),
252
- 'finishDateTime': value['finishDateTime'] === null ? null : ((value['finishDateTime'] as any)?.toISOString()),
253
+ 'finishDateTime': ((value['finishDateTime']).toISOString()),
253
254
  'signOffStatus': value['signOffStatus'],
254
255
  'signOnSignature': value['signOnSignature'],
255
256
  'signOffSignature': value['signOffSignature'],
@@ -76,7 +76,7 @@ export interface RosterWithRegistersResource {
76
76
  * @type {Date}
77
77
  * @memberof RosterWithRegistersResource
78
78
  */
79
- finishDateTime?: Date | null;
79
+ finishDateTime: Date;
80
80
  /**
81
81
  *
82
82
  * @type {boolean}
@@ -111,6 +111,7 @@ export function instanceOfRosterWithRegistersResource(value: object): value is R
111
111
  if (!('state' in value) || value['state'] === undefined) return false;
112
112
  if (!('securityCompany' in value) || value['securityCompany'] === undefined) return false;
113
113
  if (!('startDateTime' in value) || value['startDateTime'] === undefined) return false;
114
+ if (!('finishDateTime' in value) || value['finishDateTime'] === undefined) return false;
114
115
  if (!('isCompliant' in value) || value['isCompliant'] === undefined) return false;
115
116
  if (!('isComplete' in value) || value['isComplete'] === undefined) return false;
116
117
  if (!('signOffStatus' in value) || value['signOffStatus'] === undefined) return false;
@@ -133,7 +134,7 @@ export function RosterWithRegistersResourceFromJSONTyped(json: any, ignoreDiscri
133
134
  'state': json['state'],
134
135
  'securityCompany': SecurityCompanyLiteResourceFromJSON(json['securityCompany']),
135
136
  'startDateTime': (new Date(json['startDateTime'])),
136
- 'finishDateTime': json['finishDateTime'] == null ? undefined : (new Date(json['finishDateTime'])),
137
+ 'finishDateTime': (new Date(json['finishDateTime'])),
137
138
  'isCompliant': json['isCompliant'],
138
139
  'isComplete': json['isComplete'],
139
140
  'signOffStatus': json['signOffStatus'],
@@ -157,7 +158,7 @@ export function RosterWithRegistersResourceToJSONTyped(value?: RosterWithRegiste
157
158
  'state': value['state'],
158
159
  'securityCompany': SecurityCompanyLiteResourceToJSON(value['securityCompany']),
159
160
  'startDateTime': ((value['startDateTime']).toISOString()),
160
- 'finishDateTime': value['finishDateTime'] === null ? null : ((value['finishDateTime'] as any)?.toISOString()),
161
+ 'finishDateTime': ((value['finishDateTime']).toISOString()),
161
162
  'isCompliant': value['isCompliant'],
162
163
  'isComplete': value['isComplete'],
163
164
  'signOffStatus': value['signOffStatus'],
@@ -37,6 +37,12 @@ export interface VenueLiteResource {
37
37
  * @memberof VenueLiteResource
38
38
  */
39
39
  venueCode: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof VenueLiteResource
44
+ */
45
+ timezone: string;
40
46
  }
41
47
 
42
48
  /**
@@ -45,6 +51,7 @@ export interface VenueLiteResource {
45
51
  export function instanceOfVenueLiteResource(value: object): value is VenueLiteResource {
46
52
  if (!('name' in value) || value['name'] === undefined) return false;
47
53
  if (!('venueCode' in value) || value['venueCode'] === undefined) return false;
54
+ if (!('timezone' in value) || value['timezone'] === undefined) return false;
48
55
  return true;
49
56
  }
50
57
 
@@ -61,6 +68,7 @@ export function VenueLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: b
61
68
  'id': json['id'] == null ? undefined : json['id'],
62
69
  'name': json['name'],
63
70
  'venueCode': json['venueCode'],
71
+ 'timezone': json['timezone'],
64
72
  };
65
73
  }
66
74
 
@@ -78,6 +86,7 @@ export function VenueLiteResourceToJSONTyped(value?: VenueLiteResource | null, i
78
86
  'id': value['id'],
79
87
  'name': value['name'],
80
88
  'venueCode': value['venueCode'],
89
+ 'timezone': value['timezone'],
81
90
  };
82
91
  }
83
92
 
@@ -19,6 +19,8 @@ export * from './IncidentFieldSchemasShowRequest';
19
19
  export * from './IncidentFieldsResourceArrayResponse';
20
20
  export * from './IncidentImageResource';
21
21
  export * from './IncidentImageResourceArrayResponse';
22
+ export * from './IncidentListResource';
23
+ export * from './IncidentListResourceArrayResponse';
22
24
  export * from './IncidentLiteResource';
23
25
  export * from './IncidentLiteResourceArrayResponse';
24
26
  export * from './IncidentLiteResourceStaff';
@@ -33,7 +35,7 @@ export * from './IncidentVideoSignedUrlResourceArrayResponse';
33
35
  export * from './IncidentVideoUploadTokenResource';
34
36
  export * from './IncidentVideoUploadTokenResourceArrayResponse';
35
37
  export * from './IncidentsApproveRequest';
36
- export * from './IncidentsExportPdfBulkRequest';
38
+ export * from './IncidentsListRequest';
37
39
  export * from './IncidentsStoreRequest';
38
40
  export * from './IncidentsUpdateRequest';
39
41
  export * from './IncidentsVideosStoreRequest';
@@ -57,6 +59,7 @@ export * from './NotificationPreferenceResourceArrayResponse';
57
59
  export * from './NotificationPreferencesStoreRequest';
58
60
  export * from './NotificationTypeResource';
59
61
  export * from './NotificationTypeResourceArrayResponse';
62
+ export * from './PaginatedIncidentListResourceResponse';
60
63
  export * from './PaginatedLicenceListResourceResponse';
61
64
  export * from './PaginatedLicenceResourceResponse';
62
65
  export * from './PaginatedRegisterGroupedByRosterResourceResponse';
@@ -69,8 +72,6 @@ export * from './PaginatedSecurityCompanyResourceResponse';
69
72
  export * from './PaginatedUserResourceResponse';
70
73
  export * from './PaginatedVenueResourceResponse';
71
74
  export * from './PagingMetadata';
72
- export * from './PdfExportQueuedResource';
73
- export * from './PdfExportQueuedResourceArrayResponse';
74
75
  export * from './PdfExportResource';
75
76
  export * from './PdfExportResourceArrayResponse';
76
77
  export * from './RegisterGroupedByRosterResource';
@@ -1,56 +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 IncidentsExportPdfBulkRequest
16
- */
17
- export interface IncidentsExportPdfBulkRequest {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof IncidentsExportPdfBulkRequest
22
- */
23
- venueId: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof IncidentsExportPdfBulkRequest
28
- */
29
- securityCompanyId?: number;
30
- /**
31
- *
32
- * @type {boolean}
33
- * @memberof IncidentsExportPdfBulkRequest
34
- */
35
- hasApprovedAt?: boolean;
36
- /**
37
- *
38
- * @type {Date}
39
- * @memberof IncidentsExportPdfBulkRequest
40
- */
41
- afterCreatedAt: Date;
42
- /**
43
- *
44
- * @type {Date}
45
- * @memberof IncidentsExportPdfBulkRequest
46
- */
47
- beforeCreatedAt: Date;
48
- }
49
- /**
50
- * Check if a given object implements the IncidentsExportPdfBulkRequest interface.
51
- */
52
- export declare function instanceOfIncidentsExportPdfBulkRequest(value: object): value is IncidentsExportPdfBulkRequest;
53
- export declare function IncidentsExportPdfBulkRequestFromJSON(json: any): IncidentsExportPdfBulkRequest;
54
- export declare function IncidentsExportPdfBulkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentsExportPdfBulkRequest;
55
- export declare function IncidentsExportPdfBulkRequestToJSON(json: any): IncidentsExportPdfBulkRequest;
56
- export declare function IncidentsExportPdfBulkRequestToJSONTyped(value?: IncidentsExportPdfBulkRequest | null, ignoreDiscriminator?: boolean): any;
@@ -1,63 +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.instanceOfIncidentsExportPdfBulkRequest = instanceOfIncidentsExportPdfBulkRequest;
17
- exports.IncidentsExportPdfBulkRequestFromJSON = IncidentsExportPdfBulkRequestFromJSON;
18
- exports.IncidentsExportPdfBulkRequestFromJSONTyped = IncidentsExportPdfBulkRequestFromJSONTyped;
19
- exports.IncidentsExportPdfBulkRequestToJSON = IncidentsExportPdfBulkRequestToJSON;
20
- exports.IncidentsExportPdfBulkRequestToJSONTyped = IncidentsExportPdfBulkRequestToJSONTyped;
21
- /**
22
- * Check if a given object implements the IncidentsExportPdfBulkRequest interface.
23
- */
24
- function instanceOfIncidentsExportPdfBulkRequest(value) {
25
- if (!('venueId' in value) || value['venueId'] === undefined)
26
- return false;
27
- if (!('afterCreatedAt' in value) || value['afterCreatedAt'] === undefined)
28
- return false;
29
- if (!('beforeCreatedAt' in value) || value['beforeCreatedAt'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function IncidentsExportPdfBulkRequestFromJSON(json) {
34
- return IncidentsExportPdfBulkRequestFromJSONTyped(json, false);
35
- }
36
- function IncidentsExportPdfBulkRequestFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'venueId': json['venue_id'],
42
- 'securityCompanyId': json['security_company_id'] == null ? undefined : json['security_company_id'],
43
- 'hasApprovedAt': json['has_approved_at'] == null ? undefined : json['has_approved_at'],
44
- 'afterCreatedAt': (new Date(json['after_created_at'])),
45
- 'beforeCreatedAt': (new Date(json['before_created_at'])),
46
- };
47
- }
48
- function IncidentsExportPdfBulkRequestToJSON(json) {
49
- return IncidentsExportPdfBulkRequestToJSONTyped(json, false);
50
- }
51
- function IncidentsExportPdfBulkRequestToJSONTyped(value, ignoreDiscriminator) {
52
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
53
- if (value == null) {
54
- return value;
55
- }
56
- return {
57
- 'venue_id': value['venueId'],
58
- 'security_company_id': value['securityCompanyId'],
59
- 'has_approved_at': value['hasApprovedAt'],
60
- 'after_created_at': ((value['afterCreatedAt']).toISOString()),
61
- 'before_created_at': ((value['beforeCreatedAt']).toISOString()),
62
- };
63
- }
@@ -1,44 +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: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof PdfExportQueuedResource
34
- */
35
- message: string;
36
- }
37
- /**
38
- * Check if a given object implements the PdfExportQueuedResource interface.
39
- */
40
- export declare function instanceOfPdfExportQueuedResource(value: object): value is PdfExportQueuedResource;
41
- export declare function PdfExportQueuedResourceFromJSON(json: any): PdfExportQueuedResource;
42
- export declare function PdfExportQueuedResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportQueuedResource;
43
- export declare function PdfExportQueuedResourceToJSON(json: any): PdfExportQueuedResource;
44
- export declare function PdfExportQueuedResourceToJSONTyped(value?: PdfExportQueuedResource | null, ignoreDiscriminator?: boolean): any;