@digital8/security-registers-backend-ts-sdk 0.0.282 → 0.0.283
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 -3
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +1 -45
- package/dist/apis/GeneralApi.js +0 -223
- package/dist/models/AssetLiteResource.d.ts +12 -0
- package/dist/models/AssetLiteResource.js +6 -0
- package/dist/models/AssetResource.d.ts +12 -0
- package/dist/models/AssetResource.js +6 -0
- package/dist/models/RegisterListResource.d.ts +1 -1
- package/dist/models/RegisterListResource.js +3 -1
- package/dist/models/RegisterResource.d.ts +16 -4
- package/dist/models/RegisterResource.js +21 -9
- package/dist/models/RosterListResource.d.ts +1 -1
- package/dist/models/RosterListResource.js +3 -4
- package/dist/models/RosterLiteResource.d.ts +1 -1
- package/dist/models/RosterLiteResource.js +3 -4
- package/dist/models/RosterResource.d.ts +1 -1
- package/dist/models/RosterResource.js +4 -3
- package/dist/models/RosterWithRegistersResource.d.ts +1 -1
- package/dist/models/RosterWithRegistersResource.js +4 -3
- package/dist/models/SecurityCompanyResource.d.ts +1 -1
- package/dist/models/SecurityCompanyResource.js +1 -3
- package/dist/models/index.d.ts +0 -3
- package/dist/models/index.js +0 -3
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +0 -197
- package/src/models/AssetLiteResource.ts +17 -0
- package/src/models/AssetResource.ts +17 -0
- package/src/models/RegisterListResource.ts +3 -2
- package/src/models/RegisterResource.ts +30 -10
- package/src/models/RosterListResource.ts +3 -4
- package/src/models/RosterLiteResource.ts +3 -4
- package/src/models/RosterResource.ts +4 -3
- package/src/models/RosterWithRegistersResource.ts +4 -3
- package/src/models/SecurityCompanyResource.ts +2 -3
- package/src/models/index.ts +0 -3
- package/dist/models/IncidentsExportPdfBulkRequest.d.ts +0 -56
- package/dist/models/IncidentsExportPdfBulkRequest.js +0 -63
- package/dist/models/PdfExportQueuedResource.d.ts +0 -44
- package/dist/models/PdfExportQueuedResource.js +0 -59
- package/dist/models/PdfExportQueuedResourceArrayResponse.d.ts +0 -33
- package/dist/models/PdfExportQueuedResourceArrayResponse.js +0 -50
- package/src/models/IncidentsExportPdfBulkRequest.ts +0 -100
- package/src/models/PdfExportQueuedResource.ts +0 -84
- package/src/models/PdfExportQueuedResourceArrayResponse.ts +0 -73
|
@@ -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
|
-
|
|
@@ -1,84 +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 PdfExportQueuedResource
|
|
20
|
-
*/
|
|
21
|
-
export interface PdfExportQueuedResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof PdfExportQueuedResource
|
|
26
|
-
*/
|
|
27
|
-
id: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof PdfExportQueuedResource
|
|
32
|
-
*/
|
|
33
|
-
status: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof PdfExportQueuedResource
|
|
38
|
-
*/
|
|
39
|
-
message: string;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the PdfExportQueuedResource interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfPdfExportQueuedResource(value: object): value is PdfExportQueuedResource {
|
|
46
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
47
|
-
if (!('status' in value) || value['status'] === undefined) return false;
|
|
48
|
-
if (!('message' in value) || value['message'] === undefined) return false;
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function PdfExportQueuedResourceFromJSON(json: any): PdfExportQueuedResource {
|
|
53
|
-
return PdfExportQueuedResourceFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function PdfExportQueuedResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportQueuedResource {
|
|
57
|
-
if (json == null) {
|
|
58
|
-
return json;
|
|
59
|
-
}
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'id': json['id'],
|
|
63
|
-
'status': json['status'],
|
|
64
|
-
'message': json['message'],
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export function PdfExportQueuedResourceToJSON(json: any): PdfExportQueuedResource {
|
|
69
|
-
return PdfExportQueuedResourceToJSONTyped(json, false);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
export function PdfExportQueuedResourceToJSONTyped(value?: PdfExportQueuedResource | null, ignoreDiscriminator: boolean = false): any {
|
|
73
|
-
if (value == null) {
|
|
74
|
-
return value;
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
return {
|
|
78
|
-
|
|
79
|
-
'id': value['id'],
|
|
80
|
-
'status': value['status'],
|
|
81
|
-
'message': value['message'],
|
|
82
|
-
};
|
|
83
|
-
}
|
|
84
|
-
|
|
@@ -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
|
-
|