@digital8/security-registers-backend-ts-sdk 0.0.274 → 0.0.276
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 +0 -1
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +1 -45
- package/dist/apis/GeneralApi.js +0 -223
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/AssetLiteResource.d.ts +12 -0
- package/dist/models/AssetLiteResource.js +6 -0
- package/dist/models/AssetResource.d.ts +13 -1
- package/dist/models/AssetResource.js +7 -3
- package/dist/models/RegisterListResource.d.ts +4 -4
- package/dist/models/RegisterListResource.js +7 -4
- package/dist/models/RegisterResource.d.ts +2 -2
- package/dist/models/RegisterResource.js +8 -8
- package/dist/models/RosterListResource.d.ts +1 -1
- package/dist/models/RosterListResource.js +4 -3
- package/dist/models/RosterLiteResource.d.ts +1 -1
- package/dist/models/RosterLiteResource.js +4 -3
- package/dist/models/index.d.ts +0 -1
- package/dist/models/index.js +0 -1
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +0 -194
- package/src/models/AddressResource.ts +2 -3
- package/src/models/AssetLiteResource.ts +17 -0
- package/src/models/AssetResource.ts +19 -3
- package/src/models/RegisterListResource.ts +9 -7
- package/src/models/RegisterResource.ts +6 -6
- package/src/models/RosterListResource.ts +4 -3
- package/src/models/RosterLiteResource.ts +4 -3
- package/src/models/index.ts +0 -1
- package/dist/models/IncidentsExportPdfBulkRequest.d.ts +0 -56
- package/dist/models/IncidentsExportPdfBulkRequest.js +0 -63
- package/src/models/IncidentsExportPdfBulkRequest.ts +0 -100
|
@@ -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,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
|
-
|