@digital8/security-registers-backend-ts-sdk 0.0.277 → 0.0.279
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/.openapi-generator/FILES +4 -1
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +7 -40
- package/dist/apis/GeneralApi.js +8 -176
- package/dist/models/IncidentListResource.d.ts +95 -0
- package/dist/models/IncidentListResource.js +75 -0
- package/dist/models/IncidentListResourceArrayResponse.d.ts +33 -0
- package/dist/models/IncidentListResourceArrayResponse.js +50 -0
- package/dist/models/IncidentsListRequest.d.ts +151 -0
- package/dist/models/IncidentsListRequest.js +99 -0
- package/dist/models/PaginatedIncidentListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedIncidentListResourceResponse.js +57 -0
- package/dist/models/RegisterGroupedByRosterResource.d.ts +1 -1
- package/dist/models/RegisterGroupedByRosterResource.js +3 -4
- package/dist/models/RegisterResource.d.ts +3 -3
- package/dist/models/RegisterResource.js +9 -11
- package/dist/models/RosterListResource.d.ts +1 -1
- package/dist/models/RosterListResource.js +4 -3
- package/dist/models/RosterWithRegistersResource.d.ts +1 -1
- package/dist/models/RosterWithRegistersResource.js +3 -4
- package/dist/models/SecurityCompanyResource.d.ts +1 -1
- package/dist/models/SecurityCompanyResource.js +1 -3
- package/dist/models/index.d.ts +4 -1
- package/dist/models/index.js +4 -1
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +16 -160
- package/src/models/IncidentListResource.ts +168 -0
- package/src/models/IncidentListResourceArrayResponse.ts +73 -0
- package/src/models/IncidentsListRequest.ts +222 -0
- package/src/models/PaginatedIncidentListResourceResponse.ts +90 -0
- package/src/models/RegisterGroupedByRosterResource.ts +3 -4
- package/src/models/RegisterResource.ts +8 -9
- package/src/models/RosterListResource.ts +4 -3
- package/src/models/RosterWithRegistersResource.ts +3 -4
- package/src/models/SecurityCompanyResource.ts +2 -3
- package/src/models/index.ts +4 -1
- package/dist/models/IncidentsExportPdfBulkRequest.d.ts +0 -56
- package/dist/models/IncidentsExportPdfBulkRequest.js +0 -63
- package/src/models/IncidentsExportPdfBulkRequest.ts +0 -100
|
@@ -1,100 +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 IncidentsExportPdfBulkRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface IncidentsExportPdfBulkRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof IncidentsExportPdfBulkRequest
|
|
26
|
-
*/
|
|
27
|
-
venueId: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {number}
|
|
31
|
-
* @memberof IncidentsExportPdfBulkRequest
|
|
32
|
-
*/
|
|
33
|
-
securityCompanyId?: number;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {boolean}
|
|
37
|
-
* @memberof IncidentsExportPdfBulkRequest
|
|
38
|
-
*/
|
|
39
|
-
hasApprovedAt?: boolean;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {Date}
|
|
43
|
-
* @memberof IncidentsExportPdfBulkRequest
|
|
44
|
-
*/
|
|
45
|
-
afterCreatedAt: Date;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {Date}
|
|
49
|
-
* @memberof IncidentsExportPdfBulkRequest
|
|
50
|
-
*/
|
|
51
|
-
beforeCreatedAt: Date;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the IncidentsExportPdfBulkRequest interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfIncidentsExportPdfBulkRequest(value: object): value is IncidentsExportPdfBulkRequest {
|
|
58
|
-
if (!('venueId' in value) || value['venueId'] === undefined) return false;
|
|
59
|
-
if (!('afterCreatedAt' in value) || value['afterCreatedAt'] === undefined) return false;
|
|
60
|
-
if (!('beforeCreatedAt' in value) || value['beforeCreatedAt'] === undefined) return false;
|
|
61
|
-
return true;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function IncidentsExportPdfBulkRequestFromJSON(json: any): IncidentsExportPdfBulkRequest {
|
|
65
|
-
return IncidentsExportPdfBulkRequestFromJSONTyped(json, false);
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function IncidentsExportPdfBulkRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentsExportPdfBulkRequest {
|
|
69
|
-
if (json == null) {
|
|
70
|
-
return json;
|
|
71
|
-
}
|
|
72
|
-
return {
|
|
73
|
-
|
|
74
|
-
'venueId': json['venue_id'],
|
|
75
|
-
'securityCompanyId': json['security_company_id'] == null ? undefined : json['security_company_id'],
|
|
76
|
-
'hasApprovedAt': json['has_approved_at'] == null ? undefined : json['has_approved_at'],
|
|
77
|
-
'afterCreatedAt': (new Date(json['after_created_at'])),
|
|
78
|
-
'beforeCreatedAt': (new Date(json['before_created_at'])),
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export function IncidentsExportPdfBulkRequestToJSON(json: any): IncidentsExportPdfBulkRequest {
|
|
83
|
-
return IncidentsExportPdfBulkRequestToJSONTyped(json, false);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export function IncidentsExportPdfBulkRequestToJSONTyped(value?: IncidentsExportPdfBulkRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
87
|
-
if (value == null) {
|
|
88
|
-
return value;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
return {
|
|
92
|
-
|
|
93
|
-
'venue_id': value['venueId'],
|
|
94
|
-
'security_company_id': value['securityCompanyId'],
|
|
95
|
-
'has_approved_at': value['hasApprovedAt'],
|
|
96
|
-
'after_created_at': ((value['afterCreatedAt']).toISOString()),
|
|
97
|
-
'before_created_at': ((value['beforeCreatedAt']).toISOString()),
|
|
98
|
-
};
|
|
99
|
-
}
|
|
100
|
-
|