@digital8/security-registers-backend-ts-sdk 0.0.391 → 0.0.393
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 +8 -4
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +109 -9
- package/dist/apis/GeneralApi.js +507 -4
- package/dist/models/AssetResource.d.ts +1 -1
- package/dist/models/AssetResource.js +1 -3
- package/dist/models/ExportQueuedResource.d.ts +54 -0
- package/dist/models/{PdfExportQueuedResource.js → ExportQueuedResource.js} +15 -15
- package/dist/models/ExportQueuedResourceArrayResponse.d.ts +33 -0
- package/dist/models/ExportQueuedResourceArrayResponse.js +50 -0
- package/dist/models/IncidentsExportCsvBulkRequest.d.ts +56 -0
- package/dist/models/IncidentsExportCsvBulkRequest.js +63 -0
- package/dist/models/NotificationPreferenceResource.d.ts +1 -0
- package/dist/models/NotificationPreferenceResource.js +1 -0
- package/dist/models/NotificationPreferencesBulkRequest.d.ts +33 -0
- package/dist/models/NotificationPreferencesBulkRequest.js +52 -0
- package/dist/models/NotificationPreferencesBulkRequestPreferencesInner.d.ts +56 -0
- package/dist/models/NotificationPreferencesBulkRequestPreferencesInner.js +69 -0
- package/dist/models/NotificationPreferencesStoreRequest.d.ts +1 -0
- package/dist/models/NotificationPreferencesStoreRequest.js +1 -0
- package/dist/models/NotificationTypeResource.d.ts +6 -0
- package/dist/models/NotificationTypeResource.js +4 -0
- package/dist/models/RegisterGroupedByRosterResource.d.ts +1 -1
- package/dist/models/RegisterGroupedByRosterResource.js +4 -3
- package/dist/models/RegisterListResource.d.ts +2 -2
- package/dist/models/RegisterListResource.js +2 -6
- package/dist/models/RegisterResource.d.ts +4 -4
- package/dist/models/RegisterResource.js +10 -14
- package/dist/models/RosterResource.d.ts +1 -1
- package/dist/models/RosterResource.js +3 -4
- package/dist/models/{VenueMobileResource.d.ts → UserVenueResource.d.ts} +21 -21
- package/dist/models/{VenueMobileResource.js → UserVenueResource.js} +13 -13
- package/dist/models/UserVenueResourceArrayResponse.d.ts +33 -0
- package/dist/models/UserVenueResourceArrayResponse.js +50 -0
- package/dist/models/VenuesListForUserRequest.d.ts +32 -0
- package/dist/models/VenuesListForUserRequest.js +51 -0
- package/dist/models/index.d.ts +8 -4
- package/dist/models/index.js +8 -4
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +457 -18
- package/src/models/AssetResource.ts +2 -3
- package/src/models/{PdfExportQueuedResource.ts → ExportQueuedResource.ts} +16 -16
- package/src/models/ExportQueuedResourceArrayResponse.ts +73 -0
- package/src/models/IncidentsExportCsvBulkRequest.ts +100 -0
- package/src/models/NotificationPreferenceResource.ts +1 -0
- package/src/models/NotificationPreferencesBulkRequest.ts +74 -0
- package/src/models/NotificationPreferencesBulkRequestPreferencesInner.ts +98 -0
- package/src/models/NotificationPreferencesStoreRequest.ts +1 -0
- package/src/models/NotificationTypeResource.ts +9 -0
- package/src/models/RegisterGroupedByRosterResource.ts +4 -3
- package/src/models/RegisterListResource.ts +4 -6
- package/src/models/RegisterResource.ts +10 -12
- package/src/models/RosterResource.ts +3 -4
- package/src/models/{VenueMobileResource.ts → UserVenueResource.ts} +23 -23
- package/src/models/UserVenueResourceArrayResponse.ts +73 -0
- package/src/models/VenuesListForUserRequest.ts +66 -0
- package/src/models/index.ts +8 -4
- package/dist/models/PdfExportQueuedResource.d.ts +0 -54
- package/dist/models/PdfExportQueuedResourceArrayResponse.d.ts +0 -33
- package/dist/models/PdfExportQueuedResourceArrayResponse.js +0 -50
- package/dist/models/VenueMobileResourceArrayResponse.d.ts +0 -33
- package/dist/models/VenueMobileResourceArrayResponse.js +0 -50
- package/src/models/PdfExportQueuedResourceArrayResponse.ts +0 -73
- package/src/models/VenueMobileResourceArrayResponse.ts +0 -73
|
@@ -63,7 +63,7 @@ export interface RegisterResource {
|
|
|
63
63
|
* @type {Date}
|
|
64
64
|
* @memberof RegisterResource
|
|
65
65
|
*/
|
|
66
|
-
finishDateTime
|
|
66
|
+
finishDateTime: Date;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
69
|
* @type {number}
|
|
@@ -123,13 +123,13 @@ export interface RegisterResource {
|
|
|
123
123
|
* @type {number}
|
|
124
124
|
* @memberof RegisterResource
|
|
125
125
|
*/
|
|
126
|
-
signOffLat
|
|
126
|
+
signOffLat?: number | null;
|
|
127
127
|
/**
|
|
128
128
|
*
|
|
129
129
|
* @type {number}
|
|
130
130
|
* @memberof RegisterResource
|
|
131
131
|
*/
|
|
132
|
-
signOffLong
|
|
132
|
+
signOffLong?: number | null;
|
|
133
133
|
/**
|
|
134
134
|
*
|
|
135
135
|
* @type {string}
|
|
@@ -159,7 +159,7 @@ export interface RegisterResource {
|
|
|
159
159
|
* @type {string}
|
|
160
160
|
* @memberof RegisterResource
|
|
161
161
|
*/
|
|
162
|
-
badgeNumber
|
|
162
|
+
badgeNumber?: string | null;
|
|
163
163
|
/**
|
|
164
164
|
*
|
|
165
165
|
* @type {Date}
|
|
@@ -199,6 +199,7 @@ export function instanceOfRegisterResource(value: object): value is RegisterReso
|
|
|
199
199
|
if (!('venue' in value) || value['venue'] === undefined) return false;
|
|
200
200
|
if (!('user' in value) || value['user'] === undefined) return false;
|
|
201
201
|
if (!('startDateTime' in value) || value['startDateTime'] === undefined) return false;
|
|
202
|
+
if (!('finishDateTime' in value) || value['finishDateTime'] === undefined) return false;
|
|
202
203
|
if (!('signOffStatus' in value) || value['signOffStatus'] === undefined) return false;
|
|
203
204
|
if (!('signOnSignature' in value) || value['signOnSignature'] === undefined) return false;
|
|
204
205
|
if (!('signOffSignature' in value) || value['signOffSignature'] === undefined) return false;
|
|
@@ -208,13 +209,10 @@ export function instanceOfRegisterResource(value: object): value is RegisterReso
|
|
|
208
209
|
if (!('firstAidImage' in value) || value['firstAidImage'] === undefined) return false;
|
|
209
210
|
if (!('signOnLat' in value) || value['signOnLat'] === undefined) return false;
|
|
210
211
|
if (!('signOnLong' in value) || value['signOnLong'] === undefined) return false;
|
|
211
|
-
if (!('signOffLat' in value) || value['signOffLat'] === undefined) return false;
|
|
212
|
-
if (!('signOffLong' in value) || value['signOffLong'] === undefined) return false;
|
|
213
212
|
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
|
|
214
213
|
if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined) return false;
|
|
215
214
|
if (!('licenceFirstName' in value) || value['licenceFirstName'] === undefined) return false;
|
|
216
215
|
if (!('licenceLastName' in value) || value['licenceLastName'] === undefined) return false;
|
|
217
|
-
if (!('badgeNumber' in value) || value['badgeNumber'] === undefined) return false;
|
|
218
216
|
if (!('rampReadAt' in value) || value['rampReadAt'] === undefined) return false;
|
|
219
217
|
return true;
|
|
220
218
|
}
|
|
@@ -233,7 +231,7 @@ export function RegisterResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
233
231
|
'venue': VenueLiteResourceFromJSON(json['venue']),
|
|
234
232
|
'user': UserLiteResourceFromJSON(json['user']),
|
|
235
233
|
'startDateTime': (new Date(json['startDateTime'])),
|
|
236
|
-
'finishDateTime':
|
|
234
|
+
'finishDateTime': (new Date(json['finishDateTime'])),
|
|
237
235
|
'signOffStatus': json['signOffStatus'],
|
|
238
236
|
'signOnSignature': json['signOnSignature'],
|
|
239
237
|
'signOffSignature': json['signOffSignature'],
|
|
@@ -243,13 +241,13 @@ export function RegisterResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
243
241
|
'firstAidImage': json['firstAidImage'],
|
|
244
242
|
'signOnLat': json['signOnLat'],
|
|
245
243
|
'signOnLong': json['signOnLong'],
|
|
246
|
-
'signOffLat': json['signOffLat'],
|
|
247
|
-
'signOffLong': json['signOffLong'],
|
|
244
|
+
'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
|
|
245
|
+
'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
|
|
248
246
|
'licenceNumber': json['licenceNumber'],
|
|
249
247
|
'licenceExpiry': json['licenceExpiry'],
|
|
250
248
|
'licenceFirstName': json['licenceFirstName'],
|
|
251
249
|
'licenceLastName': json['licenceLastName'],
|
|
252
|
-
'badgeNumber': json['badgeNumber'],
|
|
250
|
+
'badgeNumber': json['badgeNumber'] == null ? undefined : json['badgeNumber'],
|
|
253
251
|
'rampReadAt': (new Date(json['rampReadAt'])),
|
|
254
252
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
255
253
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
@@ -271,7 +269,7 @@ export function RegisterResourceToJSONTyped(value?: RegisterResource | null, ign
|
|
|
271
269
|
'venue': VenueLiteResourceToJSON(value['venue']),
|
|
272
270
|
'user': UserLiteResourceToJSON(value['user']),
|
|
273
271
|
'startDateTime': ((value['startDateTime']).toISOString()),
|
|
274
|
-
'finishDateTime':
|
|
272
|
+
'finishDateTime': ((value['finishDateTime']).toISOString()),
|
|
275
273
|
'signOffStatus': value['signOffStatus'],
|
|
276
274
|
'signOnSignature': value['signOnSignature'],
|
|
277
275
|
'signOffSignature': value['signOffSignature'],
|
|
@@ -70,7 +70,7 @@ export interface RosterResource {
|
|
|
70
70
|
* @type {Date}
|
|
71
71
|
* @memberof RosterResource
|
|
72
72
|
*/
|
|
73
|
-
finishDateTime
|
|
73
|
+
finishDateTime?: Date | null;
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
76
|
* @type {boolean}
|
|
@@ -116,7 +116,6 @@ export function instanceOfRosterResource(value: object): value is RosterResource
|
|
|
116
116
|
if (!('venue' in value) || value['venue'] === undefined) return false;
|
|
117
117
|
if (!('securityCompany' in value) || value['securityCompany'] === undefined) return false;
|
|
118
118
|
if (!('startDateTime' in value) || value['startDateTime'] === undefined) return false;
|
|
119
|
-
if (!('finishDateTime' in value) || value['finishDateTime'] === undefined) return false;
|
|
120
119
|
if (!('isCompliant' in value) || value['isCompliant'] === undefined) return false;
|
|
121
120
|
if (!('isComplete' in value) || value['isComplete'] === undefined) return false;
|
|
122
121
|
if (!('signOffStatus' in value) || value['signOffStatus'] === undefined) return false;
|
|
@@ -138,7 +137,7 @@ export function RosterResourceFromJSONTyped(json: any, ignoreDiscriminator: bool
|
|
|
138
137
|
'venue': VenueLiteResourceFromJSON(json['venue']),
|
|
139
138
|
'securityCompany': SecurityCompanyLiteResourceFromJSON(json['securityCompany']),
|
|
140
139
|
'startDateTime': (new Date(json['startDateTime'])),
|
|
141
|
-
'finishDateTime': (new Date(json['finishDateTime'])),
|
|
140
|
+
'finishDateTime': json['finishDateTime'] == null ? undefined : (new Date(json['finishDateTime'])),
|
|
142
141
|
'isCompliant': json['isCompliant'],
|
|
143
142
|
'isComplete': json['isComplete'],
|
|
144
143
|
'signOffStatus': json['signOffStatus'],
|
|
@@ -161,7 +160,7 @@ export function RosterResourceToJSONTyped(value?: RosterResource | null, ignoreD
|
|
|
161
160
|
'venue': VenueLiteResourceToJSON(value['venue']),
|
|
162
161
|
'securityCompany': SecurityCompanyLiteResourceToJSON(value['securityCompany']),
|
|
163
162
|
'startDateTime': ((value['startDateTime']).toISOString()),
|
|
164
|
-
'finishDateTime': ((value['finishDateTime'])
|
|
163
|
+
'finishDateTime': value['finishDateTime'] === null ? null : ((value['finishDateTime'] as any)?.toISOString()),
|
|
165
164
|
'isCompliant': value['isCompliant'],
|
|
166
165
|
'isComplete': value['isComplete'],
|
|
167
166
|
'signOffStatus': value['signOffStatus'],
|
|
@@ -24,93 +24,93 @@ import {
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @export
|
|
27
|
-
* @interface
|
|
27
|
+
* @interface UserVenueResource
|
|
28
28
|
*/
|
|
29
|
-
export interface
|
|
29
|
+
export interface UserVenueResource {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {number}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof UserVenueResource
|
|
34
34
|
*/
|
|
35
35
|
id?: number | null;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof UserVenueResource
|
|
40
40
|
*/
|
|
41
41
|
name: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof UserVenueResource
|
|
46
46
|
*/
|
|
47
47
|
venueCode: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof UserVenueResource
|
|
52
52
|
*/
|
|
53
53
|
timezone: string;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {number}
|
|
57
|
-
* @memberof
|
|
57
|
+
* @memberof UserVenueResource
|
|
58
58
|
*/
|
|
59
59
|
latitude: number;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
62
|
* @type {number}
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof UserVenueResource
|
|
64
64
|
*/
|
|
65
65
|
longitude: number;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
68
|
* @type {number}
|
|
69
|
-
* @memberof
|
|
69
|
+
* @memberof UserVenueResource
|
|
70
70
|
*/
|
|
71
71
|
geofenceRadius: number;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {string}
|
|
75
|
-
* @memberof
|
|
75
|
+
* @memberof UserVenueResource
|
|
76
76
|
*/
|
|
77
77
|
state: string;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
80
|
* @type {AddressResource}
|
|
81
|
-
* @memberof
|
|
81
|
+
* @memberof UserVenueResource
|
|
82
82
|
*/
|
|
83
83
|
address: AddressResource | null;
|
|
84
84
|
/**
|
|
85
85
|
*
|
|
86
86
|
* @type {boolean}
|
|
87
|
-
* @memberof
|
|
87
|
+
* @memberof UserVenueResource
|
|
88
88
|
*/
|
|
89
89
|
venueSignOnCodeRequired: boolean;
|
|
90
90
|
/**
|
|
91
91
|
*
|
|
92
92
|
* @type {string}
|
|
93
|
-
* @memberof
|
|
93
|
+
* @memberof UserVenueResource
|
|
94
94
|
*/
|
|
95
95
|
venueSignOnCode?: string | null;
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
98
98
|
* @type {boolean}
|
|
99
|
-
* @memberof
|
|
99
|
+
* @memberof UserVenueResource
|
|
100
100
|
*/
|
|
101
101
|
rampReadingRequired: boolean;
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
104
|
* @type {boolean}
|
|
105
|
-
* @memberof
|
|
105
|
+
* @memberof UserVenueResource
|
|
106
106
|
*/
|
|
107
107
|
hasReadRamp: boolean;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
|
-
* Check if a given object implements the
|
|
111
|
+
* Check if a given object implements the UserVenueResource interface.
|
|
112
112
|
*/
|
|
113
|
-
export function
|
|
113
|
+
export function instanceOfUserVenueResource(value: object): value is UserVenueResource {
|
|
114
114
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
115
115
|
if (!('venueCode' in value) || value['venueCode'] === undefined) return false;
|
|
116
116
|
if (!('timezone' in value) || value['timezone'] === undefined) return false;
|
|
@@ -125,11 +125,11 @@ export function instanceOfVenueMobileResource(value: object): value is VenueMobi
|
|
|
125
125
|
return true;
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
export function
|
|
129
|
-
return
|
|
128
|
+
export function UserVenueResourceFromJSON(json: any): UserVenueResource {
|
|
129
|
+
return UserVenueResourceFromJSONTyped(json, false);
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
export function
|
|
132
|
+
export function UserVenueResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserVenueResource {
|
|
133
133
|
if (json == null) {
|
|
134
134
|
return json;
|
|
135
135
|
}
|
|
@@ -151,11 +151,11 @@ export function VenueMobileResourceFromJSONTyped(json: any, ignoreDiscriminator:
|
|
|
151
151
|
};
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
export function
|
|
155
|
-
return
|
|
154
|
+
export function UserVenueResourceToJSON(json: any): UserVenueResource {
|
|
155
|
+
return UserVenueResourceToJSONTyped(json, false);
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
export function
|
|
158
|
+
export function UserVenueResourceToJSONTyped(value?: UserVenueResource | null, ignoreDiscriminator: boolean = false): any {
|
|
159
159
|
if (value == null) {
|
|
160
160
|
return value;
|
|
161
161
|
}
|
|
@@ -0,0 +1,73 @@
|
|
|
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 { UserVenueResource } from './UserVenueResource';
|
|
17
|
+
import {
|
|
18
|
+
UserVenueResourceFromJSON,
|
|
19
|
+
UserVenueResourceFromJSONTyped,
|
|
20
|
+
UserVenueResourceToJSON,
|
|
21
|
+
UserVenueResourceToJSONTyped,
|
|
22
|
+
} from './UserVenueResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UserVenueResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface UserVenueResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<UserVenueResource>}
|
|
33
|
+
* @memberof UserVenueResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data?: Array<UserVenueResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the UserVenueResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfUserVenueResourceArrayResponse(value: object): value is UserVenueResourceArrayResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function UserVenueResourceArrayResponseFromJSON(json: any): UserVenueResourceArrayResponse {
|
|
46
|
+
return UserVenueResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function UserVenueResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserVenueResourceArrayResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(UserVenueResourceFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function UserVenueResourceArrayResponseToJSON(json: any): UserVenueResourceArrayResponse {
|
|
60
|
+
return UserVenueResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function UserVenueResourceArrayResponseToJSONTyped(value?: UserVenueResourceArrayResponse | 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(UserVenueResourceToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
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 VenuesListForUserRequest
|
|
20
|
+
*/
|
|
21
|
+
export interface VenuesListForUserRequest {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof VenuesListForUserRequest
|
|
26
|
+
*/
|
|
27
|
+
userId: number;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Check if a given object implements the VenuesListForUserRequest interface.
|
|
32
|
+
*/
|
|
33
|
+
export function instanceOfVenuesListForUserRequest(value: object): value is VenuesListForUserRequest {
|
|
34
|
+
if (!('userId' in value) || value['userId'] === undefined) return false;
|
|
35
|
+
return true;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export function VenuesListForUserRequestFromJSON(json: any): VenuesListForUserRequest {
|
|
39
|
+
return VenuesListForUserRequestFromJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export function VenuesListForUserRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): VenuesListForUserRequest {
|
|
43
|
+
if (json == null) {
|
|
44
|
+
return json;
|
|
45
|
+
}
|
|
46
|
+
return {
|
|
47
|
+
|
|
48
|
+
'userId': json['user_id'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function VenuesListForUserRequestToJSON(json: any): VenuesListForUserRequest {
|
|
53
|
+
return VenuesListForUserRequestToJSONTyped(json, false);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export function VenuesListForUserRequestToJSONTyped(value?: VenuesListForUserRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
+
if (value == null) {
|
|
58
|
+
return value;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
return {
|
|
62
|
+
|
|
63
|
+
'user_id': value['userId'],
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -17,6 +17,8 @@ export * from './BackAsset';
|
|
|
17
17
|
export * from './CurrentRegisterResource';
|
|
18
18
|
export * from './CurrentRegisterResourceArrayResponse';
|
|
19
19
|
export * from './DevicesRegisterRequest';
|
|
20
|
+
export * from './ExportQueuedResource';
|
|
21
|
+
export * from './ExportQueuedResourceArrayResponse';
|
|
20
22
|
export * from './FirstAidAsset';
|
|
21
23
|
export * from './FrontAsset';
|
|
22
24
|
export * from './GenericResponse';
|
|
@@ -46,6 +48,7 @@ export * from './IncidentVideoSignedUrlResourceArrayResponse';
|
|
|
46
48
|
export * from './IncidentVideoUploadTokenResource';
|
|
47
49
|
export * from './IncidentVideoUploadTokenResourceArrayResponse';
|
|
48
50
|
export * from './IncidentsApproveRequest';
|
|
51
|
+
export * from './IncidentsExportCsvBulkRequest';
|
|
49
52
|
export * from './IncidentsExportPdfBulkRequest';
|
|
50
53
|
export * from './IncidentsListRequest';
|
|
51
54
|
export * from './IncidentsStoreRequest';
|
|
@@ -78,6 +81,8 @@ export * from './MobileInitResource';
|
|
|
78
81
|
export * from './MobileInitResourceArrayResponse';
|
|
79
82
|
export * from './NotificationPreferenceResource';
|
|
80
83
|
export * from './NotificationPreferenceResourceArrayResponse';
|
|
84
|
+
export * from './NotificationPreferencesBulkRequest';
|
|
85
|
+
export * from './NotificationPreferencesBulkRequestPreferencesInner';
|
|
81
86
|
export * from './NotificationPreferencesStoreRequest';
|
|
82
87
|
export * from './NotificationTypeResource';
|
|
83
88
|
export * from './NotificationTypeResourceArrayResponse';
|
|
@@ -95,8 +100,6 @@ export * from './PaginatedSecurityCompanyResourceResponse';
|
|
|
95
100
|
export * from './PaginatedUserResourceResponse';
|
|
96
101
|
export * from './PaginatedVenueResourceResponse';
|
|
97
102
|
export * from './PagingMetadata';
|
|
98
|
-
export * from './PdfExportQueuedResource';
|
|
99
|
-
export * from './PdfExportQueuedResourceArrayResponse';
|
|
100
103
|
export * from './PdfExportResource';
|
|
101
104
|
export * from './PdfExportResourceArrayResponse';
|
|
102
105
|
export * from './RegisterGroupedByRosterResource';
|
|
@@ -150,6 +153,8 @@ export * from './UserRelationResource';
|
|
|
150
153
|
export * from './UserRelationResourceArrayResponse';
|
|
151
154
|
export * from './UserResource';
|
|
152
155
|
export * from './UserResourceArrayResponse';
|
|
156
|
+
export * from './UserVenueResource';
|
|
157
|
+
export * from './UserVenueResourceArrayResponse';
|
|
153
158
|
export * from './UsersAttachSecurityCompaniesRequest';
|
|
154
159
|
export * from './UsersAttachVenuesRequest';
|
|
155
160
|
export * from './UsersCreateWithRoleRequest';
|
|
@@ -160,14 +165,13 @@ export * from './VenueGuardScheduleResource';
|
|
|
160
165
|
export * from './VenueGuardScheduleResourceArrayResponse';
|
|
161
166
|
export * from './VenueLiteResource';
|
|
162
167
|
export * from './VenueLiteResourceArrayResponse';
|
|
163
|
-
export * from './VenueMobileResource';
|
|
164
|
-
export * from './VenueMobileResourceArrayResponse';
|
|
165
168
|
export * from './VenueResource';
|
|
166
169
|
export * from './VenueResourceArrayResponse';
|
|
167
170
|
export * from './VenuesAttachUsersRequest';
|
|
168
171
|
export * from './VenuesGuardScheduleUpdateRequest';
|
|
169
172
|
export * from './VenuesGuardScheduleUpdateRequestEntriesInner';
|
|
170
173
|
export * from './VenuesListAllRequest';
|
|
174
|
+
export * from './VenuesListForUserRequest';
|
|
171
175
|
export * from './VenuesListRequest';
|
|
172
176
|
export * from './VenuesNearbyRequest';
|
|
173
177
|
export * from './VenuesPublicStoreRequest';
|
|
@@ -1,54 +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 PdfExportQueuedResource
|
|
16
|
-
*/
|
|
17
|
-
export interface PdfExportQueuedResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof PdfExportQueuedResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof PdfExportQueuedResource
|
|
28
|
-
*/
|
|
29
|
-
status: PdfExportQueuedResourceStatusEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof PdfExportQueuedResource
|
|
34
|
-
*/
|
|
35
|
-
message: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export declare const PdfExportQueuedResourceStatusEnum: {
|
|
41
|
-
readonly Pending: "pending";
|
|
42
|
-
readonly Processing: "processing";
|
|
43
|
-
readonly Completed: "completed";
|
|
44
|
-
readonly Failed: "failed";
|
|
45
|
-
};
|
|
46
|
-
export type PdfExportQueuedResourceStatusEnum = typeof PdfExportQueuedResourceStatusEnum[keyof typeof PdfExportQueuedResourceStatusEnum];
|
|
47
|
-
/**
|
|
48
|
-
* Check if a given object implements the PdfExportQueuedResource interface.
|
|
49
|
-
*/
|
|
50
|
-
export declare function instanceOfPdfExportQueuedResource(value: object): value is PdfExportQueuedResource;
|
|
51
|
-
export declare function PdfExportQueuedResourceFromJSON(json: any): PdfExportQueuedResource;
|
|
52
|
-
export declare function PdfExportQueuedResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportQueuedResource;
|
|
53
|
-
export declare function PdfExportQueuedResourceToJSON(json: any): PdfExportQueuedResource;
|
|
54
|
-
export declare function PdfExportQueuedResourceToJSONTyped(value?: PdfExportQueuedResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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 { PdfExportQueuedResource } from './PdfExportQueuedResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface PdfExportQueuedResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface PdfExportQueuedResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<PdfExportQueuedResource>}
|
|
22
|
-
* @memberof PdfExportQueuedResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<PdfExportQueuedResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the PdfExportQueuedResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfPdfExportQueuedResourceArrayResponse(value: object): value is PdfExportQueuedResourceArrayResponse;
|
|
30
|
-
export declare function PdfExportQueuedResourceArrayResponseFromJSON(json: any): PdfExportQueuedResourceArrayResponse;
|
|
31
|
-
export declare function PdfExportQueuedResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PdfExportQueuedResourceArrayResponse;
|
|
32
|
-
export declare function PdfExportQueuedResourceArrayResponseToJSON(json: any): PdfExportQueuedResourceArrayResponse;
|
|
33
|
-
export declare function PdfExportQueuedResourceArrayResponseToJSONTyped(value?: PdfExportQueuedResourceArrayResponse | 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.instanceOfPdfExportQueuedResourceArrayResponse = instanceOfPdfExportQueuedResourceArrayResponse;
|
|
17
|
-
exports.PdfExportQueuedResourceArrayResponseFromJSON = PdfExportQueuedResourceArrayResponseFromJSON;
|
|
18
|
-
exports.PdfExportQueuedResourceArrayResponseFromJSONTyped = PdfExportQueuedResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.PdfExportQueuedResourceArrayResponseToJSON = PdfExportQueuedResourceArrayResponseToJSON;
|
|
20
|
-
exports.PdfExportQueuedResourceArrayResponseToJSONTyped = PdfExportQueuedResourceArrayResponseToJSONTyped;
|
|
21
|
-
var PdfExportQueuedResource_1 = require("./PdfExportQueuedResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the PdfExportQueuedResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfPdfExportQueuedResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function PdfExportQueuedResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return PdfExportQueuedResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function PdfExportQueuedResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(PdfExportQueuedResource_1.PdfExportQueuedResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function PdfExportQueuedResourceArrayResponseToJSON(json) {
|
|
40
|
-
return PdfExportQueuedResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function PdfExportQueuedResourceArrayResponseToJSONTyped(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(PdfExportQueuedResource_1.PdfExportQueuedResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -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 { VenueMobileResource } from './VenueMobileResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface VenueMobileResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface VenueMobileResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<VenueMobileResource>}
|
|
22
|
-
* @memberof VenueMobileResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<VenueMobileResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the VenueMobileResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfVenueMobileResourceArrayResponse(value: object): value is VenueMobileResourceArrayResponse;
|
|
30
|
-
export declare function VenueMobileResourceArrayResponseFromJSON(json: any): VenueMobileResourceArrayResponse;
|
|
31
|
-
export declare function VenueMobileResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): VenueMobileResourceArrayResponse;
|
|
32
|
-
export declare function VenueMobileResourceArrayResponseToJSON(json: any): VenueMobileResourceArrayResponse;
|
|
33
|
-
export declare function VenueMobileResourceArrayResponseToJSONTyped(value?: VenueMobileResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|