@digital8/security-registers-backend-ts-sdk 0.0.201 → 0.0.202
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 +3 -1
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +16 -5
- package/dist/apis/GeneralApi.js +62 -6
- package/dist/models/IncidentResource.d.ts +119 -0
- package/dist/models/IncidentResource.js +91 -0
- package/dist/models/IncidentResourceArrayResponse.d.ts +33 -0
- package/dist/models/IncidentResourceArrayResponse.js +50 -0
- package/dist/models/IncidentsStoreRequest.d.ts +38 -0
- package/dist/models/IncidentsStoreRequest.js +55 -0
- package/dist/models/RegisterListResource.d.ts +4 -4
- package/dist/models/RegisterListResource.js +5 -6
- package/dist/models/RosterListResource.d.ts +1 -1
- package/dist/models/RosterListResource.js +4 -3
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +64 -12
- package/src/models/IncidentResource.ts +204 -0
- package/src/models/IncidentResourceArrayResponse.ts +73 -0
- package/src/models/IncidentsStoreRequest.ts +75 -0
- package/src/models/RegisterListResource.ts +8 -8
- package/src/models/RosterListResource.ts +4 -3
- package/src/models/index.ts +3 -1
- package/dist/models/IncidentFieldSchemasShowRequest.d.ts +0 -46
- package/dist/models/IncidentFieldSchemasShowRequest.js +0 -65
- package/src/models/IncidentFieldSchemasShowRequest.ts +0 -83
|
@@ -1,46 +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 IncidentFieldSchemasShowRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface IncidentFieldSchemasShowRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IncidentFieldSchemasShowRequest
|
|
22
|
-
*/
|
|
23
|
-
state: IncidentFieldSchemasShowRequestStateEnum;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* @export
|
|
27
|
-
*/
|
|
28
|
-
export declare const IncidentFieldSchemasShowRequestStateEnum: {
|
|
29
|
-
readonly Qld: "QLD";
|
|
30
|
-
readonly Nsw: "NSW";
|
|
31
|
-
readonly Act: "ACT";
|
|
32
|
-
readonly Vic: "VIC";
|
|
33
|
-
readonly Tas: "TAS";
|
|
34
|
-
readonly Sa: "SA";
|
|
35
|
-
readonly Wa: "WA";
|
|
36
|
-
readonly Nt: "NT";
|
|
37
|
-
};
|
|
38
|
-
export type IncidentFieldSchemasShowRequestStateEnum = typeof IncidentFieldSchemasShowRequestStateEnum[keyof typeof IncidentFieldSchemasShowRequestStateEnum];
|
|
39
|
-
/**
|
|
40
|
-
* Check if a given object implements the IncidentFieldSchemasShowRequest interface.
|
|
41
|
-
*/
|
|
42
|
-
export declare function instanceOfIncidentFieldSchemasShowRequest(value: object): value is IncidentFieldSchemasShowRequest;
|
|
43
|
-
export declare function IncidentFieldSchemasShowRequestFromJSON(json: any): IncidentFieldSchemasShowRequest;
|
|
44
|
-
export declare function IncidentFieldSchemasShowRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentFieldSchemasShowRequest;
|
|
45
|
-
export declare function IncidentFieldSchemasShowRequestToJSON(json: any): IncidentFieldSchemasShowRequest;
|
|
46
|
-
export declare function IncidentFieldSchemasShowRequestToJSONTyped(value?: IncidentFieldSchemasShowRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,65 +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.IncidentFieldSchemasShowRequestStateEnum = void 0;
|
|
17
|
-
exports.instanceOfIncidentFieldSchemasShowRequest = instanceOfIncidentFieldSchemasShowRequest;
|
|
18
|
-
exports.IncidentFieldSchemasShowRequestFromJSON = IncidentFieldSchemasShowRequestFromJSON;
|
|
19
|
-
exports.IncidentFieldSchemasShowRequestFromJSONTyped = IncidentFieldSchemasShowRequestFromJSONTyped;
|
|
20
|
-
exports.IncidentFieldSchemasShowRequestToJSON = IncidentFieldSchemasShowRequestToJSON;
|
|
21
|
-
exports.IncidentFieldSchemasShowRequestToJSONTyped = IncidentFieldSchemasShowRequestToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.IncidentFieldSchemasShowRequestStateEnum = {
|
|
26
|
-
Qld: 'QLD',
|
|
27
|
-
Nsw: 'NSW',
|
|
28
|
-
Act: 'ACT',
|
|
29
|
-
Vic: 'VIC',
|
|
30
|
-
Tas: 'TAS',
|
|
31
|
-
Sa: 'SA',
|
|
32
|
-
Wa: 'WA',
|
|
33
|
-
Nt: 'NT'
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* Check if a given object implements the IncidentFieldSchemasShowRequest interface.
|
|
37
|
-
*/
|
|
38
|
-
function instanceOfIncidentFieldSchemasShowRequest(value) {
|
|
39
|
-
if (!('state' in value) || value['state'] === undefined)
|
|
40
|
-
return false;
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
function IncidentFieldSchemasShowRequestFromJSON(json) {
|
|
44
|
-
return IncidentFieldSchemasShowRequestFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function IncidentFieldSchemasShowRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
-
if (json == null) {
|
|
48
|
-
return json;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'state': json['state'],
|
|
52
|
-
};
|
|
53
|
-
}
|
|
54
|
-
function IncidentFieldSchemasShowRequestToJSON(json) {
|
|
55
|
-
return IncidentFieldSchemasShowRequestToJSONTyped(json, false);
|
|
56
|
-
}
|
|
57
|
-
function IncidentFieldSchemasShowRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
58
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
59
|
-
if (value == null) {
|
|
60
|
-
return value;
|
|
61
|
-
}
|
|
62
|
-
return {
|
|
63
|
-
'state': value['state'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
@@ -1,83 +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 IncidentFieldSchemasShowRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface IncidentFieldSchemasShowRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof IncidentFieldSchemasShowRequest
|
|
26
|
-
*/
|
|
27
|
-
state: IncidentFieldSchemasShowRequestStateEnum;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
/**
|
|
32
|
-
* @export
|
|
33
|
-
*/
|
|
34
|
-
export const IncidentFieldSchemasShowRequestStateEnum = {
|
|
35
|
-
Qld: 'QLD',
|
|
36
|
-
Nsw: 'NSW',
|
|
37
|
-
Act: 'ACT',
|
|
38
|
-
Vic: 'VIC',
|
|
39
|
-
Tas: 'TAS',
|
|
40
|
-
Sa: 'SA',
|
|
41
|
-
Wa: 'WA',
|
|
42
|
-
Nt: 'NT'
|
|
43
|
-
} as const;
|
|
44
|
-
export type IncidentFieldSchemasShowRequestStateEnum = typeof IncidentFieldSchemasShowRequestStateEnum[keyof typeof IncidentFieldSchemasShowRequestStateEnum];
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Check if a given object implements the IncidentFieldSchemasShowRequest interface.
|
|
49
|
-
*/
|
|
50
|
-
export function instanceOfIncidentFieldSchemasShowRequest(value: object): value is IncidentFieldSchemasShowRequest {
|
|
51
|
-
if (!('state' in value) || value['state'] === undefined) return false;
|
|
52
|
-
return true;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function IncidentFieldSchemasShowRequestFromJSON(json: any): IncidentFieldSchemasShowRequest {
|
|
56
|
-
return IncidentFieldSchemasShowRequestFromJSONTyped(json, false);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function IncidentFieldSchemasShowRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentFieldSchemasShowRequest {
|
|
60
|
-
if (json == null) {
|
|
61
|
-
return json;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
|
|
65
|
-
'state': json['state'],
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
export function IncidentFieldSchemasShowRequestToJSON(json: any): IncidentFieldSchemasShowRequest {
|
|
70
|
-
return IncidentFieldSchemasShowRequestToJSONTyped(json, false);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export function IncidentFieldSchemasShowRequestToJSONTyped(value?: IncidentFieldSchemasShowRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
74
|
-
if (value == null) {
|
|
75
|
-
return value;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
return {
|
|
79
|
-
|
|
80
|
-
'state': value['state'],
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|