@digital8/security-registers-backend-ts-sdk 0.0.193 → 0.0.194
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 +2 -9
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +23 -74
- package/dist/apis/GeneralApi.js +76 -351
- package/dist/models/LicencesStoreRequest.d.ts +4 -100
- package/dist/models/LicencesStoreRequest.js +9 -41
- package/dist/models/LicencesUpdateRequest.d.ts +4 -120
- package/dist/models/LicencesUpdateRequest.js +8 -56
- package/dist/models/PdfExportResource.d.ts +50 -0
- package/dist/models/PdfExportResource.js +61 -0
- package/dist/models/PdfExportResourceArrayResponse.d.ts +33 -0
- package/dist/models/PdfExportResourceArrayResponse.js +50 -0
- package/dist/models/RegisterListResource.d.ts +2 -2
- package/dist/models/RegisterListResource.js +6 -2
- package/dist/models/RegisterResource.d.ts +1 -1
- package/dist/models/RegisterResource.js +1 -3
- package/dist/models/RostersListAllRequest.d.ts +0 -6
- package/dist/models/RostersListAllRequest.js +0 -2
- package/dist/models/RostersListRequest.d.ts +0 -6
- package/dist/models/RostersListRequest.js +0 -2
- package/dist/models/RostersListWithRegistersRequest.d.ts +0 -6
- package/dist/models/RostersListWithRegistersRequest.js +0 -2
- package/dist/models/SecurityCompanyResource.d.ts +1 -1
- package/dist/models/SecurityCompanyResource.js +3 -1
- package/dist/models/index.d.ts +2 -9
- package/dist/models/index.js +2 -9
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +85 -327
- package/src/models/LicencesStoreRequest.ts +13 -141
- package/src/models/LicencesUpdateRequest.ts +12 -165
- package/src/models/PdfExportResource.ts +92 -0
- package/src/models/PdfExportResourceArrayResponse.ts +73 -0
- package/src/models/RegisterListResource.ts +6 -4
- package/src/models/RegisterResource.ts +2 -3
- package/src/models/RostersListAllRequest.ts +0 -8
- package/src/models/RostersListRequest.ts +0 -8
- package/src/models/RostersListWithRegistersRequest.ts +0 -8
- package/src/models/SecurityCompanyResource.ts +3 -2
- package/src/models/index.ts +2 -9
- package/dist/models/IncidentFieldSchemaResource.d.ts +0 -56
- package/dist/models/IncidentFieldSchemaResource.js +0 -62
- package/dist/models/IncidentFieldSchemaResourceArrayResponse.d.ts +0 -33
- package/dist/models/IncidentFieldSchemaResourceArrayResponse.js +0 -50
- package/dist/models/NotificationPreferenceResource.d.ts +0 -63
- package/dist/models/NotificationPreferenceResource.js +0 -67
- package/dist/models/NotificationPreferenceResourceArrayResponse.d.ts +0 -33
- package/dist/models/NotificationPreferenceResourceArrayResponse.js +0 -50
- package/dist/models/NotificationPreferencesStoreRequest.d.ts +0 -55
- package/dist/models/NotificationPreferencesStoreRequest.js +0 -68
- package/dist/models/NotificationTypeResource.d.ts +0 -38
- package/dist/models/NotificationTypeResource.js +0 -55
- package/dist/models/NotificationTypeResourceArrayResponse.d.ts +0 -33
- package/dist/models/NotificationTypeResourceArrayResponse.js +0 -50
- package/dist/models/RegistersUpdateRequest.d.ts +0 -101
- package/dist/models/RegistersUpdateRequest.js +0 -78
- package/dist/models/RostersUpdateRequest.d.ts +0 -77
- package/dist/models/RostersUpdateRequest.js +0 -70
- package/src/models/IncidentFieldSchemaResource.ts +0 -99
- package/src/models/IncidentFieldSchemaResourceArrayResponse.ts +0 -73
- package/src/models/NotificationPreferenceResource.ts +0 -116
- package/src/models/NotificationPreferenceResourceArrayResponse.ts +0 -73
- package/src/models/NotificationPreferencesStoreRequest.ts +0 -97
- package/src/models/NotificationTypeResource.ts +0 -75
- package/src/models/NotificationTypeResourceArrayResponse.ts +0 -73
- package/src/models/RegistersUpdateRequest.ts +0 -157
- package/src/models/RostersUpdateRequest.ts +0 -125
|
@@ -55,12 +55,6 @@ export interface RostersListAllRequest {
|
|
|
55
55
|
* @memberof RostersListAllRequest
|
|
56
56
|
*/
|
|
57
57
|
includesRelations?: boolean;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {Array<string>}
|
|
61
|
-
* @memberof RostersListAllRequest
|
|
62
|
-
*/
|
|
63
|
-
venueId?: Array<string>;
|
|
64
58
|
/**
|
|
65
59
|
*
|
|
66
60
|
* @type {Array<string>}
|
|
@@ -141,7 +135,6 @@ export function RostersListAllRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
141
135
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
142
136
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
143
137
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
144
|
-
'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
|
|
145
138
|
'isComplete': json['is_complete'] == null ? undefined : json['is_complete'],
|
|
146
139
|
'isCompliant': json['is_compliant'] == null ? undefined : json['is_compliant'],
|
|
147
140
|
'addressState': json['address-state'] == null ? undefined : json['address-state'],
|
|
@@ -166,7 +159,6 @@ export function RostersListAllRequestToJSONTyped(value?: RostersListAllRequest |
|
|
|
166
159
|
'related_id': value['relatedId'],
|
|
167
160
|
'related_type': value['relatedType'],
|
|
168
161
|
'includes_relations': value['includesRelations'],
|
|
169
|
-
'venue_id': value['venueId'],
|
|
170
162
|
'is_complete': value['isComplete'],
|
|
171
163
|
'is_compliant': value['isCompliant'],
|
|
172
164
|
'address-state': value['addressState'],
|
|
@@ -49,12 +49,6 @@ export interface RostersListRequest {
|
|
|
49
49
|
* @memberof RostersListRequest
|
|
50
50
|
*/
|
|
51
51
|
page?: string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {Array<string>}
|
|
55
|
-
* @memberof RostersListRequest
|
|
56
|
-
*/
|
|
57
|
-
venueId?: Array<string>;
|
|
58
52
|
/**
|
|
59
53
|
*
|
|
60
54
|
* @type {Array<string>}
|
|
@@ -176,7 +170,6 @@ export function RostersListRequestFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
176
170
|
'sortDirection': json['sort_direction'] == null ? undefined : json['sort_direction'],
|
|
177
171
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
178
172
|
'page': json['page'] == null ? undefined : json['page'],
|
|
179
|
-
'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
|
|
180
173
|
'isComplete': json['is_complete'] == null ? undefined : json['is_complete'],
|
|
181
174
|
'isCompliant': json['is_compliant'] == null ? undefined : json['is_compliant'],
|
|
182
175
|
'addressState': json['address-state'] == null ? undefined : json['address-state'],
|
|
@@ -207,7 +200,6 @@ export function RostersListRequestToJSONTyped(value?: RostersListRequest | null,
|
|
|
207
200
|
'sort_direction': value['sortDirection'],
|
|
208
201
|
'per_page': value['perPage'],
|
|
209
202
|
'page': value['page'],
|
|
210
|
-
'venue_id': value['venueId'],
|
|
211
203
|
'is_complete': value['isComplete'],
|
|
212
204
|
'is_compliant': value['isCompliant'],
|
|
213
205
|
'address-state': value['addressState'],
|
|
@@ -49,12 +49,6 @@ export interface RostersListWithRegistersRequest {
|
|
|
49
49
|
* @memberof RostersListWithRegistersRequest
|
|
50
50
|
*/
|
|
51
51
|
page?: string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {Array<string>}
|
|
55
|
-
* @memberof RostersListWithRegistersRequest
|
|
56
|
-
*/
|
|
57
|
-
venueId?: Array<string>;
|
|
58
52
|
/**
|
|
59
53
|
*
|
|
60
54
|
* @type {Array<string>}
|
|
@@ -176,7 +170,6 @@ export function RostersListWithRegistersRequestFromJSONTyped(json: any, ignoreDi
|
|
|
176
170
|
'sortDirection': json['sort_direction'] == null ? undefined : json['sort_direction'],
|
|
177
171
|
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
178
172
|
'page': json['page'] == null ? undefined : json['page'],
|
|
179
|
-
'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
|
|
180
173
|
'isComplete': json['is_complete'] == null ? undefined : json['is_complete'],
|
|
181
174
|
'isCompliant': json['is_compliant'] == null ? undefined : json['is_compliant'],
|
|
182
175
|
'addressState': json['address-state'] == null ? undefined : json['address-state'],
|
|
@@ -207,7 +200,6 @@ export function RostersListWithRegistersRequestToJSONTyped(value?: RostersListWi
|
|
|
207
200
|
'sort_direction': value['sortDirection'],
|
|
208
201
|
'per_page': value['perPage'],
|
|
209
202
|
'page': value['page'],
|
|
210
|
-
'venue_id': value['venueId'],
|
|
211
203
|
'is_complete': value['isComplete'],
|
|
212
204
|
'is_compliant': value['isCompliant'],
|
|
213
205
|
'address-state': value['addressState'],
|
|
@@ -44,7 +44,7 @@ export interface SecurityCompanyResource {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof SecurityCompanyResource
|
|
46
46
|
*/
|
|
47
|
-
email
|
|
47
|
+
email: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {boolean}
|
|
@@ -82,6 +82,7 @@ export interface SecurityCompanyResource {
|
|
|
82
82
|
*/
|
|
83
83
|
export function instanceOfSecurityCompanyResource(value: object): value is SecurityCompanyResource {
|
|
84
84
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
85
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
85
86
|
if (!('isEnabled' in value) || value['isEnabled'] === undefined) return false;
|
|
86
87
|
if (!('address' in value) || value['address'] === undefined) return false;
|
|
87
88
|
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
|
|
@@ -100,7 +101,7 @@ export function SecurityCompanyResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
100
101
|
|
|
101
102
|
'id': json['id'] == null ? undefined : json['id'],
|
|
102
103
|
'name': json['name'],
|
|
103
|
-
'email': json['email']
|
|
104
|
+
'email': json['email'],
|
|
104
105
|
'isEnabled': json['isEnabled'],
|
|
105
106
|
'address': AddressResourceFromJSON(json['address']),
|
|
106
107
|
'licenceNumber': json['licenceNumber'],
|
package/src/models/index.ts
CHANGED
|
@@ -11,8 +11,6 @@ export * from './AssetResourceArrayResponse';
|
|
|
11
11
|
export * from './CurrentRegisterResource';
|
|
12
12
|
export * from './CurrentRegisterResourceArrayResponse';
|
|
13
13
|
export * from './GenericResponse';
|
|
14
|
-
export * from './IncidentFieldSchemaResource';
|
|
15
|
-
export * from './IncidentFieldSchemaResourceArrayResponse';
|
|
16
14
|
export * from './IndexMinimalUserRequest';
|
|
17
15
|
export * from './IndexUserRequest';
|
|
18
16
|
export * from './LicenceListResource';
|
|
@@ -27,11 +25,6 @@ export * from './LicencesStoreRequest';
|
|
|
27
25
|
export * from './LicencesUpdateRequest';
|
|
28
26
|
export * from './LicencesVerifyRequest';
|
|
29
27
|
export * from './LoginAuthRequest';
|
|
30
|
-
export * from './NotificationPreferenceResource';
|
|
31
|
-
export * from './NotificationPreferenceResourceArrayResponse';
|
|
32
|
-
export * from './NotificationPreferencesStoreRequest';
|
|
33
|
-
export * from './NotificationTypeResource';
|
|
34
|
-
export * from './NotificationTypeResourceArrayResponse';
|
|
35
28
|
export * from './PaginatedLicenceListResourceResponse';
|
|
36
29
|
export * from './PaginatedLicenceResourceResponse';
|
|
37
30
|
export * from './PaginatedRegisterGroupedByRosterResourceResponse';
|
|
@@ -44,6 +37,8 @@ export * from './PaginatedSecurityCompanyResourceResponse';
|
|
|
44
37
|
export * from './PaginatedUserResourceResponse';
|
|
45
38
|
export * from './PaginatedVenueResourceResponse';
|
|
46
39
|
export * from './PagingMetadata';
|
|
40
|
+
export * from './PdfExportResource';
|
|
41
|
+
export * from './PdfExportResourceArrayResponse';
|
|
47
42
|
export * from './RegisterGroupedByRosterResource';
|
|
48
43
|
export * from './RegisterGroupedByRosterResourceArrayResponse';
|
|
49
44
|
export * from './RegisterListResource';
|
|
@@ -56,7 +51,6 @@ export * from './RegistersListAllRequest';
|
|
|
56
51
|
export * from './RegistersListRequest';
|
|
57
52
|
export * from './RegistersSignOffRequest';
|
|
58
53
|
export * from './RegistersSignOnRequest';
|
|
59
|
-
export * from './RegistersUpdateRequest';
|
|
60
54
|
export * from './ResetPasswordAuthRequest';
|
|
61
55
|
export * from './RosterListResource';
|
|
62
56
|
export * from './RosterListResourceArrayResponse';
|
|
@@ -70,7 +64,6 @@ export * from './RostersExportPdfRequest';
|
|
|
70
64
|
export * from './RostersListAllRequest';
|
|
71
65
|
export * from './RostersListRequest';
|
|
72
66
|
export * from './RostersListWithRegistersRequest';
|
|
73
|
-
export * from './RostersUpdateRequest';
|
|
74
67
|
export * from './SecurityCompaniesAttachUsersRequest';
|
|
75
68
|
export * from './SecurityCompaniesListAllRequest';
|
|
76
69
|
export * from './SecurityCompaniesListRequest';
|
|
@@ -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 IncidentFieldSchemaResource
|
|
16
|
-
*/
|
|
17
|
-
export interface IncidentFieldSchemaResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof IncidentFieldSchemaResource
|
|
22
|
-
*/
|
|
23
|
-
id?: number | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {object}
|
|
27
|
-
* @memberof IncidentFieldSchemaResource
|
|
28
|
-
*/
|
|
29
|
-
state: object;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<boolean>}
|
|
33
|
-
* @memberof IncidentFieldSchemaResource
|
|
34
|
-
*/
|
|
35
|
-
jsonSchema: Array<boolean>;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {Date}
|
|
39
|
-
* @memberof IncidentFieldSchemaResource
|
|
40
|
-
*/
|
|
41
|
-
createdAt?: Date | null;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {Date}
|
|
45
|
-
* @memberof IncidentFieldSchemaResource
|
|
46
|
-
*/
|
|
47
|
-
updatedAt?: Date | null;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Check if a given object implements the IncidentFieldSchemaResource interface.
|
|
51
|
-
*/
|
|
52
|
-
export declare function instanceOfIncidentFieldSchemaResource(value: object): value is IncidentFieldSchemaResource;
|
|
53
|
-
export declare function IncidentFieldSchemaResourceFromJSON(json: any): IncidentFieldSchemaResource;
|
|
54
|
-
export declare function IncidentFieldSchemaResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentFieldSchemaResource;
|
|
55
|
-
export declare function IncidentFieldSchemaResourceToJSON(json: any): IncidentFieldSchemaResource;
|
|
56
|
-
export declare function IncidentFieldSchemaResourceToJSONTyped(value?: IncidentFieldSchemaResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,62 +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.instanceOfIncidentFieldSchemaResource = instanceOfIncidentFieldSchemaResource;
|
|
17
|
-
exports.IncidentFieldSchemaResourceFromJSON = IncidentFieldSchemaResourceFromJSON;
|
|
18
|
-
exports.IncidentFieldSchemaResourceFromJSONTyped = IncidentFieldSchemaResourceFromJSONTyped;
|
|
19
|
-
exports.IncidentFieldSchemaResourceToJSON = IncidentFieldSchemaResourceToJSON;
|
|
20
|
-
exports.IncidentFieldSchemaResourceToJSONTyped = IncidentFieldSchemaResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the IncidentFieldSchemaResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfIncidentFieldSchemaResource(value) {
|
|
25
|
-
if (!('state' in value) || value['state'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('jsonSchema' in value) || value['jsonSchema'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function IncidentFieldSchemaResourceFromJSON(json) {
|
|
32
|
-
return IncidentFieldSchemaResourceFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function IncidentFieldSchemaResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
40
|
-
'state': json['state'],
|
|
41
|
-
'jsonSchema': json['jsonSchema'],
|
|
42
|
-
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
43
|
-
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function IncidentFieldSchemaResourceToJSON(json) {
|
|
47
|
-
return IncidentFieldSchemaResourceToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function IncidentFieldSchemaResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
var _a, _b;
|
|
51
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
52
|
-
if (value == null) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
return {
|
|
56
|
-
'id': value['id'],
|
|
57
|
-
'state': value['state'],
|
|
58
|
-
'jsonSchema': value['jsonSchema'],
|
|
59
|
-
'createdAt': value['createdAt'] === null ? null : ((_a = value['createdAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
60
|
-
'updatedAt': value['updatedAt'] === null ? null : ((_b = value['updatedAt']) === null || _b === void 0 ? void 0 : _b.toISOString()),
|
|
61
|
-
};
|
|
62
|
-
}
|
|
@@ -1,33 +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
|
-
import type { IncidentFieldSchemaResource } from './IncidentFieldSchemaResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface IncidentFieldSchemaResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface IncidentFieldSchemaResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<IncidentFieldSchemaResource>}
|
|
22
|
-
* @memberof IncidentFieldSchemaResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<IncidentFieldSchemaResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the IncidentFieldSchemaResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfIncidentFieldSchemaResourceArrayResponse(value: object): value is IncidentFieldSchemaResourceArrayResponse;
|
|
30
|
-
export declare function IncidentFieldSchemaResourceArrayResponseFromJSON(json: any): IncidentFieldSchemaResourceArrayResponse;
|
|
31
|
-
export declare function IncidentFieldSchemaResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentFieldSchemaResourceArrayResponse;
|
|
32
|
-
export declare function IncidentFieldSchemaResourceArrayResponseToJSON(json: any): IncidentFieldSchemaResourceArrayResponse;
|
|
33
|
-
export declare function IncidentFieldSchemaResourceArrayResponseToJSONTyped(value?: IncidentFieldSchemaResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +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.instanceOfIncidentFieldSchemaResourceArrayResponse = instanceOfIncidentFieldSchemaResourceArrayResponse;
|
|
17
|
-
exports.IncidentFieldSchemaResourceArrayResponseFromJSON = IncidentFieldSchemaResourceArrayResponseFromJSON;
|
|
18
|
-
exports.IncidentFieldSchemaResourceArrayResponseFromJSONTyped = IncidentFieldSchemaResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.IncidentFieldSchemaResourceArrayResponseToJSON = IncidentFieldSchemaResourceArrayResponseToJSON;
|
|
20
|
-
exports.IncidentFieldSchemaResourceArrayResponseToJSONTyped = IncidentFieldSchemaResourceArrayResponseToJSONTyped;
|
|
21
|
-
var IncidentFieldSchemaResource_1 = require("./IncidentFieldSchemaResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the IncidentFieldSchemaResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfIncidentFieldSchemaResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function IncidentFieldSchemaResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return IncidentFieldSchemaResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function IncidentFieldSchemaResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(IncidentFieldSchemaResource_1.IncidentFieldSchemaResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function IncidentFieldSchemaResourceArrayResponseToJSON(json) {
|
|
40
|
-
return IncidentFieldSchemaResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function IncidentFieldSchemaResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(IncidentFieldSchemaResource_1.IncidentFieldSchemaResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,63 +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
|
-
import type { VenueLiteResource } from './VenueLiteResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface NotificationPreferenceResource
|
|
17
|
-
*/
|
|
18
|
-
export interface NotificationPreferenceResource {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof NotificationPreferenceResource
|
|
23
|
-
*/
|
|
24
|
-
id?: number | null;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof NotificationPreferenceResource
|
|
29
|
-
*/
|
|
30
|
-
notificationType: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {VenueLiteResource}
|
|
34
|
-
* @memberof NotificationPreferenceResource
|
|
35
|
-
*/
|
|
36
|
-
venue: VenueLiteResource | null;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {boolean}
|
|
40
|
-
* @memberof NotificationPreferenceResource
|
|
41
|
-
*/
|
|
42
|
-
enabled: boolean;
|
|
43
|
-
/**
|
|
44
|
-
*
|
|
45
|
-
* @type {Date}
|
|
46
|
-
* @memberof NotificationPreferenceResource
|
|
47
|
-
*/
|
|
48
|
-
createdAt?: Date | null;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {Date}
|
|
52
|
-
* @memberof NotificationPreferenceResource
|
|
53
|
-
*/
|
|
54
|
-
updatedAt?: Date | null;
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Check if a given object implements the NotificationPreferenceResource interface.
|
|
58
|
-
*/
|
|
59
|
-
export declare function instanceOfNotificationPreferenceResource(value: object): value is NotificationPreferenceResource;
|
|
60
|
-
export declare function NotificationPreferenceResourceFromJSON(json: any): NotificationPreferenceResource;
|
|
61
|
-
export declare function NotificationPreferenceResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPreferenceResource;
|
|
62
|
-
export declare function NotificationPreferenceResourceToJSON(json: any): NotificationPreferenceResource;
|
|
63
|
-
export declare function NotificationPreferenceResourceToJSONTyped(value?: NotificationPreferenceResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,67 +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.instanceOfNotificationPreferenceResource = instanceOfNotificationPreferenceResource;
|
|
17
|
-
exports.NotificationPreferenceResourceFromJSON = NotificationPreferenceResourceFromJSON;
|
|
18
|
-
exports.NotificationPreferenceResourceFromJSONTyped = NotificationPreferenceResourceFromJSONTyped;
|
|
19
|
-
exports.NotificationPreferenceResourceToJSON = NotificationPreferenceResourceToJSON;
|
|
20
|
-
exports.NotificationPreferenceResourceToJSONTyped = NotificationPreferenceResourceToJSONTyped;
|
|
21
|
-
var VenueLiteResource_1 = require("./VenueLiteResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the NotificationPreferenceResource interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfNotificationPreferenceResource(value) {
|
|
26
|
-
if (!('notificationType' in value) || value['notificationType'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('venue' in value) || value['venue'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
function NotificationPreferenceResourceFromJSON(json) {
|
|
35
|
-
return NotificationPreferenceResourceFromJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
function NotificationPreferenceResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if (json == null) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
43
|
-
'notificationType': json['notificationType'],
|
|
44
|
-
'venue': (0, VenueLiteResource_1.VenueLiteResourceFromJSON)(json['venue']),
|
|
45
|
-
'enabled': json['enabled'],
|
|
46
|
-
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
47
|
-
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
function NotificationPreferenceResourceToJSON(json) {
|
|
51
|
-
return NotificationPreferenceResourceToJSONTyped(json, false);
|
|
52
|
-
}
|
|
53
|
-
function NotificationPreferenceResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
54
|
-
var _a, _b;
|
|
55
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
56
|
-
if (value == null) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
'id': value['id'],
|
|
61
|
-
'notificationType': value['notificationType'],
|
|
62
|
-
'venue': (0, VenueLiteResource_1.VenueLiteResourceToJSON)(value['venue']),
|
|
63
|
-
'enabled': value['enabled'],
|
|
64
|
-
'createdAt': value['createdAt'] === null ? null : ((_a = value['createdAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
65
|
-
'updatedAt': value['updatedAt'] === null ? null : ((_b = value['updatedAt']) === null || _b === void 0 ? void 0 : _b.toISOString()),
|
|
66
|
-
};
|
|
67
|
-
}
|
|
@@ -1,33 +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
|
-
import type { NotificationPreferenceResource } from './NotificationPreferenceResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface NotificationPreferenceResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface NotificationPreferenceResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<NotificationPreferenceResource>}
|
|
22
|
-
* @memberof NotificationPreferenceResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<NotificationPreferenceResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the NotificationPreferenceResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfNotificationPreferenceResourceArrayResponse(value: object): value is NotificationPreferenceResourceArrayResponse;
|
|
30
|
-
export declare function NotificationPreferenceResourceArrayResponseFromJSON(json: any): NotificationPreferenceResourceArrayResponse;
|
|
31
|
-
export declare function NotificationPreferenceResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPreferenceResourceArrayResponse;
|
|
32
|
-
export declare function NotificationPreferenceResourceArrayResponseToJSON(json: any): NotificationPreferenceResourceArrayResponse;
|
|
33
|
-
export declare function NotificationPreferenceResourceArrayResponseToJSONTyped(value?: NotificationPreferenceResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +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.instanceOfNotificationPreferenceResourceArrayResponse = instanceOfNotificationPreferenceResourceArrayResponse;
|
|
17
|
-
exports.NotificationPreferenceResourceArrayResponseFromJSON = NotificationPreferenceResourceArrayResponseFromJSON;
|
|
18
|
-
exports.NotificationPreferenceResourceArrayResponseFromJSONTyped = NotificationPreferenceResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.NotificationPreferenceResourceArrayResponseToJSON = NotificationPreferenceResourceArrayResponseToJSON;
|
|
20
|
-
exports.NotificationPreferenceResourceArrayResponseToJSONTyped = NotificationPreferenceResourceArrayResponseToJSONTyped;
|
|
21
|
-
var NotificationPreferenceResource_1 = require("./NotificationPreferenceResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the NotificationPreferenceResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfNotificationPreferenceResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function NotificationPreferenceResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return NotificationPreferenceResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function NotificationPreferenceResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(NotificationPreferenceResource_1.NotificationPreferenceResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function NotificationPreferenceResourceArrayResponseToJSON(json) {
|
|
40
|
-
return NotificationPreferenceResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function NotificationPreferenceResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(NotificationPreferenceResource_1.NotificationPreferenceResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,55 +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 NotificationPreferencesStoreRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface NotificationPreferencesStoreRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof NotificationPreferencesStoreRequest
|
|
22
|
-
*/
|
|
23
|
-
notificationType: NotificationPreferencesStoreRequestNotificationTypeEnum;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof NotificationPreferencesStoreRequest
|
|
28
|
-
*/
|
|
29
|
-
venueId?: number;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof NotificationPreferencesStoreRequest
|
|
34
|
-
*/
|
|
35
|
-
enabled: boolean;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const NotificationPreferencesStoreRequestNotificationTypeEnum: {
|
|
41
|
-
readonly IncidentAdded: "incident_added";
|
|
42
|
-
readonly NonSignOff: "non_sign_off";
|
|
43
|
-
readonly NonSignOn: "non_sign_on";
|
|
44
|
-
readonly SignOnRejected: "sign_on_rejected";
|
|
45
|
-
readonly LicenceUpdated: "licence_updated";
|
|
46
|
-
};
|
|
47
|
-
export type NotificationPreferencesStoreRequestNotificationTypeEnum = typeof NotificationPreferencesStoreRequestNotificationTypeEnum[keyof typeof NotificationPreferencesStoreRequestNotificationTypeEnum];
|
|
48
|
-
/**
|
|
49
|
-
* Check if a given object implements the NotificationPreferencesStoreRequest interface.
|
|
50
|
-
*/
|
|
51
|
-
export declare function instanceOfNotificationPreferencesStoreRequest(value: object): value is NotificationPreferencesStoreRequest;
|
|
52
|
-
export declare function NotificationPreferencesStoreRequestFromJSON(json: any): NotificationPreferencesStoreRequest;
|
|
53
|
-
export declare function NotificationPreferencesStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationPreferencesStoreRequest;
|
|
54
|
-
export declare function NotificationPreferencesStoreRequestToJSON(json: any): NotificationPreferencesStoreRequest;
|
|
55
|
-
export declare function NotificationPreferencesStoreRequestToJSONTyped(value?: NotificationPreferencesStoreRequest | null, ignoreDiscriminator?: boolean): any;
|