@updraft-solutions/mcrit-sdk 0.3.1 → 0.5.0
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/dist/chunk-AKLFMP7G.cjs +2525 -0
- package/dist/{chunk-MF7G76QS.cjs → chunk-IVMOR5SW.cjs} +26 -1
- package/dist/{chunk-D5DUVW34.js → chunk-KIMCBEY7.js} +26 -1
- package/dist/chunk-YCIXOVEC.js +2525 -0
- package/dist/format/index.cjs +2 -2
- package/dist/format/index.d.cts +13 -4
- package/dist/format/index.d.ts +13 -4
- package/dist/format/index.js +1 -1
- package/dist/index.cjs +201 -5
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +208 -12
- package/dist/schemas/index.cjs +198 -2
- package/dist/schemas/index.d.cts +3157 -128
- package/dist/schemas/index.d.ts +3157 -128
- package/dist/schemas/index.js +201 -5
- package/dist/{models-BWmpcfR8.d.cts → training-Der1DPU-.d.cts} +23757 -6528
- package/dist/{models-BWmpcfR8.d.ts → training-Der1DPU-.d.ts} +23757 -6528
- package/dist/types/index.cjs +1 -1
- package/dist/types/index.d.cts +277 -6
- package/dist/types/index.d.ts +277 -6
- package/dist/types/index.js +1 -1
- package/package.json +1 -1
- package/src/format/index.ts +51 -5
- package/src/index.ts +39 -0
- package/src/schemas/common.ts +37 -0
- package/src/schemas/course-milestone.ts +78 -0
- package/src/schemas/equipment.ts +27 -0
- package/src/schemas/form-template.ts +413 -0
- package/src/schemas/index.ts +7 -1
- package/src/schemas/location-map.ts +175 -0
- package/src/schemas/models.ts +110 -28
- package/src/schemas/newsletter.ts +362 -0
- package/src/schemas/todo.ts +46 -0
- package/src/schemas/training.ts +500 -0
- package/src/types/ai.ts +85 -0
- package/src/types/aircraft-block.ts +23 -0
- package/src/types/api.ts +3 -1
- package/src/types/background-task.ts +28 -0
- package/src/types/compliance.ts +27 -3
- package/src/types/index.ts +5 -0
- package/src/types/landing-fee.ts +92 -0
- package/src/types/models.ts +44 -0
- package/src/types/roles.ts +26 -0
- package/dist/chunk-7QF3OJ45.cjs +0 -1325
- package/dist/chunk-FS5I4MBG.js +0 -1325
- package/src/schemas/fee.ts +0 -37
- /package/dist/{chunk-LXNCAKJZ.js → chunk-2WJHTRIE.js} +0 -0
- /package/dist/{chunk-MOOGM3DW.cjs → chunk-DCEOET63.cjs} +0 -0
package/dist/chunk-FS5I4MBG.js
DELETED
|
@@ -1,1325 +0,0 @@
|
|
|
1
|
-
// src/schemas/common.ts
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
var zNullableBool = z.boolean().nullable().optional();
|
|
4
|
-
var zNetGross = z.enum(["net", "gross"]).optional();
|
|
5
|
-
var zContactDTO = z.object({
|
|
6
|
-
name: z.string().optional(),
|
|
7
|
-
email: z.string().email().optional(),
|
|
8
|
-
phone: z.string().optional()
|
|
9
|
-
});
|
|
10
|
-
var zPhpMoneyObject = z.object({
|
|
11
|
-
amount: z.number(),
|
|
12
|
-
currency: z.string(),
|
|
13
|
-
formatted: z.string()
|
|
14
|
-
});
|
|
15
|
-
var contactAttributeSchema = z.object({
|
|
16
|
-
name: z.string().optional(),
|
|
17
|
-
email: z.string().optional(),
|
|
18
|
-
phone: z.string().optional(),
|
|
19
|
-
company: z.string().optional(),
|
|
20
|
-
fax: z.string().optional()
|
|
21
|
-
});
|
|
22
|
-
var BaseModel = z.object({
|
|
23
|
-
type: z.string(),
|
|
24
|
-
id: z.number(),
|
|
25
|
-
created_at: z.string(),
|
|
26
|
-
updated_at: z.string()
|
|
27
|
-
});
|
|
28
|
-
var mediaSchema = z.object({
|
|
29
|
-
type: z.literal("media"),
|
|
30
|
-
id: z.number(),
|
|
31
|
-
description: z.string().optional(),
|
|
32
|
-
collection_name: z.string().optional(),
|
|
33
|
-
conversions: z.record(z.string().url()).optional(),
|
|
34
|
-
created_at: z.string().optional(),
|
|
35
|
-
updated_at: z.string().optional(),
|
|
36
|
-
url: z.string().optional(),
|
|
37
|
-
mime_type: z.string().optional(),
|
|
38
|
-
file_name: z.string().optional(),
|
|
39
|
-
size: z.number().optional()
|
|
40
|
-
});
|
|
41
|
-
var mediaCollection = z.object({
|
|
42
|
-
avatar: mediaSchema.nullable().optional(),
|
|
43
|
-
header: mediaSchema.nullable().optional(),
|
|
44
|
-
images: z.array(mediaSchema).nullable().optional(),
|
|
45
|
-
documents: z.array(mediaSchema).nullable().optional()
|
|
46
|
-
}).nullable().optional();
|
|
47
|
-
var userSchema = z.object({
|
|
48
|
-
type: z.literal("user"),
|
|
49
|
-
id: z.number(),
|
|
50
|
-
name: z.string(),
|
|
51
|
-
email: z.string().optional(),
|
|
52
|
-
mobile: z.string().optional()
|
|
53
|
-
});
|
|
54
|
-
var companySchema = z.object({
|
|
55
|
-
type: z.literal("company"),
|
|
56
|
-
id: z.number(),
|
|
57
|
-
name: z.string(),
|
|
58
|
-
media: mediaCollection,
|
|
59
|
-
can: z.record(z.string(), z.boolean().nullable()).optional(),
|
|
60
|
-
permissions: z.array(z.string()).optional(),
|
|
61
|
-
ai_landing_fee_invoices_enabled: z.boolean().optional()
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
// src/schemas/models.ts
|
|
65
|
-
import { z as z2 } from "zod";
|
|
66
|
-
var baseMembershipSchema = z2.object({
|
|
67
|
-
type: z2.literal("membership"),
|
|
68
|
-
id: z2.number(),
|
|
69
|
-
user_id: z2.number(),
|
|
70
|
-
user: userSchema.optional(),
|
|
71
|
-
company_id: z2.number(),
|
|
72
|
-
company: companySchema.nullable().optional(),
|
|
73
|
-
name: z2.string(),
|
|
74
|
-
phone: z2.string().nullable().optional(),
|
|
75
|
-
status: z2.string(),
|
|
76
|
-
instructor: z2.boolean(),
|
|
77
|
-
admin: z2.boolean(),
|
|
78
|
-
accountant: z2.boolean(),
|
|
79
|
-
student: z2.boolean(),
|
|
80
|
-
content_creator: z2.boolean(),
|
|
81
|
-
charter_client: z2.boolean(),
|
|
82
|
-
roles: z2.array(
|
|
83
|
-
z2.object({
|
|
84
|
-
id: z2.number(),
|
|
85
|
-
name: z2.string()
|
|
86
|
-
}).passthrough()
|
|
87
|
-
).optional(),
|
|
88
|
-
created_at: z2.string(),
|
|
89
|
-
updated_at: z2.string(),
|
|
90
|
-
can: z2.object({
|
|
91
|
-
update: zNullableBool,
|
|
92
|
-
deactivate: zNullableBool,
|
|
93
|
-
activate: zNullableBool,
|
|
94
|
-
delete: zNullableBool
|
|
95
|
-
}).optional()
|
|
96
|
-
});
|
|
97
|
-
var membershipSchema = baseMembershipSchema.extend({
|
|
98
|
-
remarks: z2.string().nullable().optional(),
|
|
99
|
-
confirmed_at: z2.string().nullable(),
|
|
100
|
-
created_at: z2.string(),
|
|
101
|
-
updated_at: z2.string()
|
|
102
|
-
});
|
|
103
|
-
var documentType = z2.object({
|
|
104
|
-
label: z2.string(),
|
|
105
|
-
description: z2.string(),
|
|
106
|
-
documentTypeClass: z2.string(),
|
|
107
|
-
requiresFile: z2.boolean().optional(),
|
|
108
|
-
fieldDefinitions: z2.object({
|
|
109
|
-
base: z2.record(z2.any()).optional(),
|
|
110
|
-
data: z2.record(z2.any()).optional()
|
|
111
|
-
}).optional(),
|
|
112
|
-
validationRules: z2.record(z2.any()).optional()
|
|
113
|
-
});
|
|
114
|
-
var priceSchema = z2.object({
|
|
115
|
-
id: z2.number(),
|
|
116
|
-
gross_total: zPhpMoneyObject,
|
|
117
|
-
net_total: zPhpMoneyObject,
|
|
118
|
-
tax_percentage: z2.number(),
|
|
119
|
-
valid_from: z2.string(),
|
|
120
|
-
created_at: z2.string(),
|
|
121
|
-
updated_at: z2.string(),
|
|
122
|
-
input_value: z2.number().optional(),
|
|
123
|
-
net_gross: zNetGross
|
|
124
|
-
});
|
|
125
|
-
var feeSchema = BaseModel.extend({
|
|
126
|
-
type: z2.literal("fee"),
|
|
127
|
-
id: z2.number(),
|
|
128
|
-
price: priceSchema.optional(),
|
|
129
|
-
prices: z2.array(priceSchema).optional(),
|
|
130
|
-
provider: z2.string().optional(),
|
|
131
|
-
company_id: z2.number().optional(),
|
|
132
|
-
company: companySchema.optional(),
|
|
133
|
-
ident: z2.string().optional(),
|
|
134
|
-
category: z2.string().optional(),
|
|
135
|
-
subcategory: z2.string().optional(),
|
|
136
|
-
title: z2.string().optional(),
|
|
137
|
-
relation: z2.array(z2.enum(["booking", "flightLog", "invoice", "instructor"])).optional(),
|
|
138
|
-
payment_per: z2.string().optional(),
|
|
139
|
-
can: z2.object({
|
|
140
|
-
update: zNullableBool,
|
|
141
|
-
delete: zNullableBool
|
|
142
|
-
}).optional(),
|
|
143
|
-
course_count: z2.number().optional(),
|
|
144
|
-
count: z2.number().optional(),
|
|
145
|
-
variant: z2.string().optional(),
|
|
146
|
-
is_optional: z2.boolean().optional(),
|
|
147
|
-
input_value: z2.number().optional(),
|
|
148
|
-
net_gross: zNetGross,
|
|
149
|
-
tax_percentage: z2.string().optional(),
|
|
150
|
-
valid_from: z2.string()
|
|
151
|
-
});
|
|
152
|
-
var courseFeeSchema = feeSchema.extend({
|
|
153
|
-
count: z2.number().optional(),
|
|
154
|
-
variant: z2.string().optional(),
|
|
155
|
-
is_optional: z2.boolean().optional(),
|
|
156
|
-
is_initial_payment: z2.boolean().optional()
|
|
157
|
-
});
|
|
158
|
-
var airplaneSchema = BaseModel.extend({
|
|
159
|
-
type: z2.literal("airplane"),
|
|
160
|
-
id: z2.number(),
|
|
161
|
-
company_id: z2.number(),
|
|
162
|
-
registration: z2.string(),
|
|
163
|
-
model: z2.string(),
|
|
164
|
-
media: mediaCollection.optional(),
|
|
165
|
-
fee: feeSchema.optional(),
|
|
166
|
-
booking_fee: feeSchema.optional(),
|
|
167
|
-
hasFavorited: z2.boolean().optional(),
|
|
168
|
-
homebase_id: z2.number().nullable().optional(),
|
|
169
|
-
hangar_location_map_feature_id: z2.number().nullable().optional(),
|
|
170
|
-
parking_lng: z2.number().nullable().optional(),
|
|
171
|
-
parking_lat: z2.number().nullable().optional(),
|
|
172
|
-
hangar: z2.object({
|
|
173
|
-
id: z2.number(),
|
|
174
|
-
name: z2.string().nullable(),
|
|
175
|
-
kind: z2.string(),
|
|
176
|
-
location_map_id: z2.number()
|
|
177
|
-
}).nullable().optional(),
|
|
178
|
-
description: z2.string().optional(),
|
|
179
|
-
capacity: z2.number().optional(),
|
|
180
|
-
manufacturer: z2.string().optional(),
|
|
181
|
-
year_of_construction: z2.string().optional(),
|
|
182
|
-
span: z2.string().optional(),
|
|
183
|
-
height: z2.string().optional(),
|
|
184
|
-
length: z2.string().optional(),
|
|
185
|
-
ato: z2.boolean().optional(),
|
|
186
|
-
restricted_access: z2.boolean().optional(),
|
|
187
|
-
global_airplane_id: z2.number().nullable().optional(),
|
|
188
|
-
is_master: z2.boolean().optional(),
|
|
189
|
-
master_company_id: z2.number().nullable().optional(),
|
|
190
|
-
shared_companies: z2.array(z2.object({ id: z2.number(), name: z2.string() })).optional(),
|
|
191
|
-
is_simulator: z2.boolean().optional(),
|
|
192
|
-
category: z2.string().nullable().optional(),
|
|
193
|
-
averageFuelConsumption: z2.string().nullable().optional(),
|
|
194
|
-
weightUnitString: z2.string().optional(),
|
|
195
|
-
fuelUnitString: z2.string().optional(),
|
|
196
|
-
isoCountryCodeFromRegistration: z2.string().optional(),
|
|
197
|
-
registrationWithoutSpecialChars: z2.string().nullable().optional(),
|
|
198
|
-
equipmentCodes: z2.array(z2.string()).nullable().optional(),
|
|
199
|
-
compliance_required: z2.boolean().optional(),
|
|
200
|
-
show_on_website: z2.boolean().optional(),
|
|
201
|
-
is_public: z2.boolean().optional(),
|
|
202
|
-
company_timezone: z2.string().optional(),
|
|
203
|
-
defaultFlightType: z2.string().optional(),
|
|
204
|
-
defaultFlightRule: z2.string().optional(),
|
|
205
|
-
status: z2.string().optional(),
|
|
206
|
-
can: z2.object({
|
|
207
|
-
view: zNullableBool,
|
|
208
|
-
update: zNullableBool,
|
|
209
|
-
viewMaintenanceEvents: zNullableBool,
|
|
210
|
-
createMaintenanceEvents: zNullableBool,
|
|
211
|
-
createBooking: zNullableBool,
|
|
212
|
-
createAirplanePermissions: zNullableBool
|
|
213
|
-
})
|
|
214
|
-
});
|
|
215
|
-
var airplaneShareInviteSchema = z2.object({
|
|
216
|
-
id: z2.number(),
|
|
217
|
-
status: z2.enum(["pending", "accepted", "declined", "withdrawn"]),
|
|
218
|
-
responded_at: z2.string().nullable().optional(),
|
|
219
|
-
created_at: z2.string().optional(),
|
|
220
|
-
global_airplane: z2.object({
|
|
221
|
-
id: z2.number(),
|
|
222
|
-
registration: z2.string(),
|
|
223
|
-
model: z2.string()
|
|
224
|
-
}),
|
|
225
|
-
master_company: z2.object({ id: z2.number(), name: z2.string() }),
|
|
226
|
-
invited_company: z2.object({ id: z2.number(), name: z2.string() })
|
|
227
|
-
});
|
|
228
|
-
var airplanePermissionSchema = z2.object({
|
|
229
|
-
type: z2.literal("airplane_permission"),
|
|
230
|
-
id: z2.number(),
|
|
231
|
-
airplane_id: z2.number(),
|
|
232
|
-
airplane: airplaneSchema.optional(),
|
|
233
|
-
membership_id: z2.number(),
|
|
234
|
-
membership: baseMembershipSchema.optional(),
|
|
235
|
-
notes: z2.string().nullable().optional(),
|
|
236
|
-
conditions: z2.string().nullable().optional(),
|
|
237
|
-
expires_at: z2.string().nullable().optional(),
|
|
238
|
-
is_active: z2.boolean(),
|
|
239
|
-
granted_by: userSchema.nullable().optional(),
|
|
240
|
-
granted_at: z2.string(),
|
|
241
|
-
created_at: z2.string(),
|
|
242
|
-
updated_at: z2.string(),
|
|
243
|
-
can: z2.object({
|
|
244
|
-
view: zNullableBool,
|
|
245
|
-
update: zNullableBool,
|
|
246
|
-
delete: zNullableBool
|
|
247
|
-
}).optional()
|
|
248
|
-
});
|
|
249
|
-
var landingFeeSchema = z2.object({
|
|
250
|
-
id: z2.number(),
|
|
251
|
-
airplane_id: z2.number(),
|
|
252
|
-
price: priceSchema.optional()
|
|
253
|
-
});
|
|
254
|
-
var aircraftRatingSchema = z2.object({
|
|
255
|
-
id: z2.number(),
|
|
256
|
-
manufacturer: z2.string(),
|
|
257
|
-
aircraft_model: z2.string(),
|
|
258
|
-
licence_endorsement: z2.string(),
|
|
259
|
-
is_complex: z2.boolean(),
|
|
260
|
-
is_single_pilot: z2.boolean(),
|
|
261
|
-
is_high_performance: z2.boolean(),
|
|
262
|
-
is_multi_pilot: z2.boolean(),
|
|
263
|
-
remarks: z2.string().optional()
|
|
264
|
-
});
|
|
265
|
-
var userAircraftRatingSchema = z2.object({
|
|
266
|
-
id: z2.number(),
|
|
267
|
-
user_id: z2.number(),
|
|
268
|
-
aircraft_rating_id: z2.number(),
|
|
269
|
-
aircraftRating: aircraftRatingSchema,
|
|
270
|
-
reminder_enabled: z2.boolean(),
|
|
271
|
-
reminder_days: z2.number(),
|
|
272
|
-
expires_at: z2.string(),
|
|
273
|
-
created_at: z2.string(),
|
|
274
|
-
updated_at: z2.string()
|
|
275
|
-
});
|
|
276
|
-
var userQualificationSchema = z2.object({
|
|
277
|
-
id: z2.number(),
|
|
278
|
-
user_id: z2.number(),
|
|
279
|
-
title: z2.string(),
|
|
280
|
-
reminder_enabled: z2.boolean(),
|
|
281
|
-
reminder_days: z2.number(),
|
|
282
|
-
expires_at: z2.string(),
|
|
283
|
-
created_at: z2.string(),
|
|
284
|
-
updated_at: z2.string()
|
|
285
|
-
});
|
|
286
|
-
var airportSchema = z2.object({
|
|
287
|
-
type: z2.literal("airport"),
|
|
288
|
-
id: z2.number(),
|
|
289
|
-
ident: z2.string(),
|
|
290
|
-
name: z2.string(),
|
|
291
|
-
country: z2.string()
|
|
292
|
-
});
|
|
293
|
-
var recurringFlightSchema = z2.object({
|
|
294
|
-
id: z2.number(),
|
|
295
|
-
departure_airport_id: z2.number(),
|
|
296
|
-
departure_airport: airportSchema.optional(),
|
|
297
|
-
destination_airport_id: z2.number(),
|
|
298
|
-
destination_airport: airportSchema.optional(),
|
|
299
|
-
dep_time: z2.string(),
|
|
300
|
-
arr_time: z2.string()
|
|
301
|
-
});
|
|
302
|
-
var maintenanceEventSchema = z2.object({
|
|
303
|
-
type: z2.literal("maintenanceEvent"),
|
|
304
|
-
id: z2.number(),
|
|
305
|
-
airplane_id: z2.number(),
|
|
306
|
-
company_id: z2.number(),
|
|
307
|
-
description: z2.string().nullable(),
|
|
308
|
-
remarks: z2.string().nullable(),
|
|
309
|
-
scheduled_at: z2.string().nullable(),
|
|
310
|
-
completed_at: z2.string().nullable(),
|
|
311
|
-
created_at: z2.string(),
|
|
312
|
-
updated_at: z2.string(),
|
|
313
|
-
elapsed_time: z2.number().nullable(),
|
|
314
|
-
remaining_time: z2.number().nullable(),
|
|
315
|
-
can: z2.object({
|
|
316
|
-
update: zNullableBool
|
|
317
|
-
}).optional()
|
|
318
|
-
});
|
|
319
|
-
var maintenanceEventEstimationSchema = z2.object({
|
|
320
|
-
estimated_at: z2.string().nullable().optional(),
|
|
321
|
-
actual_at: z2.string().nullable().optional()
|
|
322
|
-
});
|
|
323
|
-
var maintenanceStatusSchema = z2.object({
|
|
324
|
-
intervalSetting: z2.number().optional(),
|
|
325
|
-
lastMaintenanceEvent: maintenanceEventSchema.nullable().optional(),
|
|
326
|
-
nextMaintenanceEventEstimation: maintenanceEventEstimationSchema.nullable().optional()
|
|
327
|
-
});
|
|
328
|
-
var extendedAirplaneSchema = airplaneSchema.extend({
|
|
329
|
-
manufacturer: z2.string().optional(),
|
|
330
|
-
capacity: z2.number().optional(),
|
|
331
|
-
description: z2.string().optional(),
|
|
332
|
-
homebase_id: z2.number().optional(),
|
|
333
|
-
ato: z2.boolean().optional(),
|
|
334
|
-
year_of_construction: z2.string().optional(),
|
|
335
|
-
span: z2.string().optional(),
|
|
336
|
-
height: z2.string().optional(),
|
|
337
|
-
length: z2.string().optional(),
|
|
338
|
-
empty_weight: z2.string().optional(),
|
|
339
|
-
max_takeoff_mass: z2.string().optional(),
|
|
340
|
-
max_speed: z2.string().optional(),
|
|
341
|
-
max_range: z2.string().optional(),
|
|
342
|
-
power: z2.string().optional(),
|
|
343
|
-
fuel_type: z2.string().optional(),
|
|
344
|
-
oil_min: z2.string().optional(),
|
|
345
|
-
oil_max: z2.string().optional(),
|
|
346
|
-
oil_type_winter: z2.string().optional(),
|
|
347
|
-
oil_type_summer: z2.string().optional(),
|
|
348
|
-
minimumCrewCount: z2.number().optional(),
|
|
349
|
-
VFR: z2.boolean().optional(),
|
|
350
|
-
VFRNight: z2.boolean().optional(),
|
|
351
|
-
IFR: z2.boolean().optional(),
|
|
352
|
-
IFRKnownIcing: z2.boolean().optional(),
|
|
353
|
-
equipment: z2.array(z2.any()).optional(),
|
|
354
|
-
contact: contactAttributeSchema.optional(),
|
|
355
|
-
hints: z2.object({
|
|
356
|
-
booking: z2.object({
|
|
357
|
-
ifr: z2.string().optional()
|
|
358
|
-
}).optional()
|
|
359
|
-
}).optional(),
|
|
360
|
-
has_pre_paid_package: z2.boolean().optional(),
|
|
361
|
-
fee_id: z2.number().optional(),
|
|
362
|
-
booking_fee_id: z2.number().optional(),
|
|
363
|
-
logging_required_from: z2.string().optional(),
|
|
364
|
-
foreflight_profile_url: z2.string().optional(),
|
|
365
|
-
media: z2.object({
|
|
366
|
-
avatar: z2.any().optional(),
|
|
367
|
-
header: z2.any().optional(),
|
|
368
|
-
images: z2.array(z2.any()).optional(),
|
|
369
|
-
documents: z2.array(z2.any()).optional()
|
|
370
|
-
}).optional(),
|
|
371
|
-
master_media: mediaCollection.optional(),
|
|
372
|
-
can: z2.object({
|
|
373
|
-
update: zNullableBool,
|
|
374
|
-
viewMaintenanceEvents: zNullableBool
|
|
375
|
-
}).optional()
|
|
376
|
-
});
|
|
377
|
-
var availSchema = z2.object({
|
|
378
|
-
type: z2.literal("avail"),
|
|
379
|
-
id: z2.number(),
|
|
380
|
-
airplane_id: z2.number(),
|
|
381
|
-
title: z2.string(),
|
|
382
|
-
etdZ: z2.string(),
|
|
383
|
-
etaZ: z2.string(),
|
|
384
|
-
can: z2.object({
|
|
385
|
-
update: zNullableBool
|
|
386
|
-
}).optional()
|
|
387
|
-
});
|
|
388
|
-
var bookingSchema = BaseModel.extend({
|
|
389
|
-
type: z2.literal("booking"),
|
|
390
|
-
ifr: z2.boolean().default(false),
|
|
391
|
-
airplane_id: z2.number(),
|
|
392
|
-
author: userSchema.optional(),
|
|
393
|
-
company_id: z2.number(),
|
|
394
|
-
company_name: z2.string().nullable().optional(),
|
|
395
|
-
company: companySchema.optional(),
|
|
396
|
-
airplane: airplaneSchema.optional(),
|
|
397
|
-
etdZ: z2.string(),
|
|
398
|
-
etaZ: z2.string(),
|
|
399
|
-
duration_minutes: z2.number().optional(),
|
|
400
|
-
departure_airport_id: z2.number().optional(),
|
|
401
|
-
destination_airport_id: z2.number().optional(),
|
|
402
|
-
departure_airport: airportSchema.optional(),
|
|
403
|
-
destination_airport: airportSchema.optional(),
|
|
404
|
-
next_booking_id: z2.number().nullable().optional(),
|
|
405
|
-
previous_booking_id: z2.number().nullable().optional(),
|
|
406
|
-
maintenance: z2.number().optional(),
|
|
407
|
-
is_solo: z2.boolean().optional().default(false),
|
|
408
|
-
course_enrollment_id: z2.number().nullable().optional(),
|
|
409
|
-
// Minimal linked enrollment, present on booking show/store/update payloads.
|
|
410
|
-
// Used by the form prefill registry to derive the J2 Flugauftrag course.
|
|
411
|
-
course_enrollment: z2.object({
|
|
412
|
-
id: z2.number(),
|
|
413
|
-
course_id: z2.number().nullable().optional()
|
|
414
|
-
}).nullable().optional(),
|
|
415
|
-
crew_assignments: z2.array(
|
|
416
|
-
z2.object({
|
|
417
|
-
id: z2.number().optional(),
|
|
418
|
-
membership_id: z2.number(),
|
|
419
|
-
role: z2.string(),
|
|
420
|
-
is_pic: z2.boolean().optional(),
|
|
421
|
-
membership: z2.any().optional()
|
|
422
|
-
})
|
|
423
|
-
).optional(),
|
|
424
|
-
contact: zContactDTO.optional(),
|
|
425
|
-
remarks: z2.string().optional(),
|
|
426
|
-
can: z2.object({
|
|
427
|
-
update: zNullableBool
|
|
428
|
-
}).optional()
|
|
429
|
-
});
|
|
430
|
-
var alertSchema = z2.object({
|
|
431
|
-
id: z2.number(),
|
|
432
|
-
start_time: z2.string(),
|
|
433
|
-
finish_time: z2.string(),
|
|
434
|
-
can: z2.object({
|
|
435
|
-
update: zNullableBool
|
|
436
|
-
}).optional()
|
|
437
|
-
});
|
|
438
|
-
var documentSchema = z2.object({
|
|
439
|
-
type: z2.literal("document"),
|
|
440
|
-
id: z2.number(),
|
|
441
|
-
documentable_type: z2.string(),
|
|
442
|
-
documentable_id: z2.number(),
|
|
443
|
-
document_type_class: z2.string(),
|
|
444
|
-
document_type: documentType.optional(),
|
|
445
|
-
title: z2.string().nullable().optional(),
|
|
446
|
-
description: z2.string().nullable().optional(),
|
|
447
|
-
expires_at: z2.string().nullable().optional(),
|
|
448
|
-
is_notifiable: z2.boolean().default(true),
|
|
449
|
-
notification_days: z2.number().nullable().optional(),
|
|
450
|
-
data: z2.record(z2.any()).nullable().optional(),
|
|
451
|
-
created_by: z2.number().nullable().optional(),
|
|
452
|
-
updated_by: z2.number().nullable().optional(),
|
|
453
|
-
created_at: z2.string(),
|
|
454
|
-
updated_at: z2.string(),
|
|
455
|
-
media: z2.array(mediaSchema).optional(),
|
|
456
|
-
can: z2.object({
|
|
457
|
-
update: zNullableBool,
|
|
458
|
-
delete: zNullableBool,
|
|
459
|
-
share: zNullableBool
|
|
460
|
-
}).optional()
|
|
461
|
-
});
|
|
462
|
-
var documentRequirement = z2.object({
|
|
463
|
-
id: z2.number(),
|
|
464
|
-
form_requirement_group_id: z2.number(),
|
|
465
|
-
form_template_id: z2.number(),
|
|
466
|
-
form_template: z2.object({
|
|
467
|
-
id: z2.number(),
|
|
468
|
-
name: z2.string(),
|
|
469
|
-
slug: z2.string().nullable().optional()
|
|
470
|
-
}).optional(),
|
|
471
|
-
logical_group: z2.string().nullable().optional(),
|
|
472
|
-
group_operator: z2.enum(["AND", "OR"]).nullable().optional(),
|
|
473
|
-
metadata: z2.object({
|
|
474
|
-
min_validity_days: z2.number().optional(),
|
|
475
|
-
max_validity_days: z2.number().optional(),
|
|
476
|
-
required_fields: z2.array(z2.string()).optional()
|
|
477
|
-
}).nullable().optional(),
|
|
478
|
-
created_by: z2.number().nullable().optional(),
|
|
479
|
-
updated_by: z2.number().nullable().optional(),
|
|
480
|
-
created_at: z2.string(),
|
|
481
|
-
updated_at: z2.string()
|
|
482
|
-
});
|
|
483
|
-
var documentRequirementGroup = z2.object({
|
|
484
|
-
id: z2.number(),
|
|
485
|
-
name: z2.string(),
|
|
486
|
-
description: z2.string().nullable().optional(),
|
|
487
|
-
target_model_type: z2.string(),
|
|
488
|
-
company_id: z2.number().nullable().optional(),
|
|
489
|
-
is_default_template: z2.boolean().default(false),
|
|
490
|
-
is_active: z2.boolean().default(true),
|
|
491
|
-
requirements: z2.array(documentRequirement).optional(),
|
|
492
|
-
// Backend uses 'requirements'
|
|
493
|
-
documentRequirements: z2.array(documentRequirement).optional(),
|
|
494
|
-
// Frontend compatibility
|
|
495
|
-
group_operator: z2.enum(["AND", "OR"]).default("AND"),
|
|
496
|
-
documentRequirements_count: z2.number().optional(),
|
|
497
|
-
assignments_count: z2.number().optional(),
|
|
498
|
-
created_by: z2.number().nullable().optional(),
|
|
499
|
-
updated_by: z2.number().nullable().optional(),
|
|
500
|
-
created_at: z2.string(),
|
|
501
|
-
updated_at: z2.string(),
|
|
502
|
-
can: z2.object({
|
|
503
|
-
update: zNullableBool,
|
|
504
|
-
delete: zNullableBool,
|
|
505
|
-
assign: zNullableBool
|
|
506
|
-
}).optional()
|
|
507
|
-
});
|
|
508
|
-
var documentRequirementGroupAssignment = z2.object({
|
|
509
|
-
id: z2.number(),
|
|
510
|
-
assignable_type: z2.string(),
|
|
511
|
-
assignable_id: z2.number(),
|
|
512
|
-
requirement_group_id: z2.number(),
|
|
513
|
-
requirement_group: documentRequirementGroup.optional(),
|
|
514
|
-
requirementGroup: documentRequirementGroup.optional(),
|
|
515
|
-
// Frontend compatibility
|
|
516
|
-
created_at: z2.string(),
|
|
517
|
-
updated_at: z2.string()
|
|
518
|
-
});
|
|
519
|
-
var documentComplianceStatus = z2.object({
|
|
520
|
-
overall_compliant: z2.boolean(),
|
|
521
|
-
missing_documents: z2.array(
|
|
522
|
-
z2.object({
|
|
523
|
-
requirement_id: z2.number(),
|
|
524
|
-
document_type_class: z2.string(),
|
|
525
|
-
document_type: documentType.optional(),
|
|
526
|
-
reason: z2.string()
|
|
527
|
-
})
|
|
528
|
-
).optional(),
|
|
529
|
-
expired_documents: z2.array(
|
|
530
|
-
z2.object({
|
|
531
|
-
document_id: z2.number(),
|
|
532
|
-
document_type_class: z2.string(),
|
|
533
|
-
document_type: documentType.optional(),
|
|
534
|
-
expired_at: z2.string()
|
|
535
|
-
})
|
|
536
|
-
).optional(),
|
|
537
|
-
expiring_soon_documents: z2.array(
|
|
538
|
-
z2.object({
|
|
539
|
-
document_id: z2.number(),
|
|
540
|
-
document_type_class: z2.string(),
|
|
541
|
-
document_type: documentType.optional(),
|
|
542
|
-
expires_at: z2.string(),
|
|
543
|
-
days_until_expiry: z2.number()
|
|
544
|
-
})
|
|
545
|
-
).optional(),
|
|
546
|
-
group_compliance_status: z2.array(
|
|
547
|
-
z2.object({
|
|
548
|
-
group_id: z2.number(),
|
|
549
|
-
group_name: z2.string(),
|
|
550
|
-
is_compliant: z2.boolean(),
|
|
551
|
-
missing_requirements: z2.array(z2.string()).optional()
|
|
552
|
-
})
|
|
553
|
-
).optional()
|
|
554
|
-
});
|
|
555
|
-
var documentShareSchema = z2.object({
|
|
556
|
-
id: z2.number(),
|
|
557
|
-
document_id: z2.number(),
|
|
558
|
-
document: documentSchema.optional(),
|
|
559
|
-
shared_by: z2.number(),
|
|
560
|
-
sharer: userSchema.optional(),
|
|
561
|
-
shared_with_type: z2.string(),
|
|
562
|
-
shared_with_id: z2.number(),
|
|
563
|
-
can_download: z2.boolean().default(true),
|
|
564
|
-
can_delete: z2.boolean().default(false),
|
|
565
|
-
expires_at: z2.string().nullable().optional(),
|
|
566
|
-
accessed_at: z2.string().nullable().optional(),
|
|
567
|
-
access_count: z2.number().default(0),
|
|
568
|
-
created_at: z2.string(),
|
|
569
|
-
updated_at: z2.string()
|
|
570
|
-
});
|
|
571
|
-
var allowedDocumentTypeSchema = z2.object({
|
|
572
|
-
label: z2.string(),
|
|
573
|
-
description: z2.string(),
|
|
574
|
-
documentTypeClass: z2.string(),
|
|
575
|
-
requiresFile: z2.boolean(),
|
|
576
|
-
category: z2.string().optional(),
|
|
577
|
-
fieldDefinitions: z2.object({
|
|
578
|
-
base: z2.record(
|
|
579
|
-
z2.object({
|
|
580
|
-
type: z2.string(),
|
|
581
|
-
label: z2.string(),
|
|
582
|
-
required: z2.boolean().optional(),
|
|
583
|
-
rules: z2.array(z2.any()).optional(),
|
|
584
|
-
options: z2.array(z2.any()).optional(),
|
|
585
|
-
hint: z2.string().optional()
|
|
586
|
-
})
|
|
587
|
-
).optional(),
|
|
588
|
-
data: z2.record(
|
|
589
|
-
z2.object({
|
|
590
|
-
type: z2.string(),
|
|
591
|
-
label: z2.string(),
|
|
592
|
-
required: z2.boolean().optional(),
|
|
593
|
-
rules: z2.array(z2.any()).optional(),
|
|
594
|
-
options: z2.array(z2.any()).optional(),
|
|
595
|
-
hint: z2.string().optional()
|
|
596
|
-
})
|
|
597
|
-
).optional()
|
|
598
|
-
}).optional()
|
|
599
|
-
});
|
|
600
|
-
var flightLogSchema = z2.object({
|
|
601
|
-
type: z2.literal("flightLog"),
|
|
602
|
-
id: z2.number(),
|
|
603
|
-
airplane_id: z2.number(),
|
|
604
|
-
airplane: airplaneSchema.optional(),
|
|
605
|
-
ac_type: z2.string().nullable().optional(),
|
|
606
|
-
ac_reg: z2.string().nullable().optional(),
|
|
607
|
-
ac_call: z2.string().nullable().optional(),
|
|
608
|
-
booking_id: z2.number().nullable().optional(),
|
|
609
|
-
membership_id: z2.number().nullable().optional(),
|
|
610
|
-
membership: baseMembershipSchema.optional(),
|
|
611
|
-
author_id: z2.number(),
|
|
612
|
-
author: userSchema.optional(),
|
|
613
|
-
invoice_id: z2.number().nullable().optional(),
|
|
614
|
-
special_flight_id: z2.number().nullable().optional(),
|
|
615
|
-
etdZ: z2.string(),
|
|
616
|
-
etaZ: z2.string(),
|
|
617
|
-
duration_minutes: z2.number(),
|
|
618
|
-
crew_assignments: z2.array(
|
|
619
|
-
z2.object({
|
|
620
|
-
id: z2.number().optional(),
|
|
621
|
-
membership_id: z2.number(),
|
|
622
|
-
role: z2.string(),
|
|
623
|
-
is_pic: z2.boolean().optional(),
|
|
624
|
-
membership: z2.any().optional()
|
|
625
|
-
})
|
|
626
|
-
).optional(),
|
|
627
|
-
total_landings: z2.number().nullable().optional(),
|
|
628
|
-
full_stop_landings: z2.number().nullable().optional(),
|
|
629
|
-
touch_and_gos: z2.number().default(0),
|
|
630
|
-
low_approaches: z2.number().default(0),
|
|
631
|
-
flight_rule: z2.string().nullable().optional(),
|
|
632
|
-
flight_time_type: z2.string().nullable().optional(),
|
|
633
|
-
dep_airport_id: z2.number().nullable().optional(),
|
|
634
|
-
dep_airport: airportSchema.optional(),
|
|
635
|
-
arr_airport_id: z2.number().nullable().optional(),
|
|
636
|
-
arr_airport: airportSchema.optional(),
|
|
637
|
-
from: z2.string().nullable().optional(),
|
|
638
|
-
to: z2.string().nullable().optional(),
|
|
639
|
-
costs: zPhpMoneyObject.nullable().optional(),
|
|
640
|
-
charge: zPhpMoneyObject.nullable().optional(),
|
|
641
|
-
remarks: z2.string().nullable().optional(),
|
|
642
|
-
created_at: z2.string(),
|
|
643
|
-
updated_at: z2.string(),
|
|
644
|
-
can: z2.object({
|
|
645
|
-
update: zNullableBool,
|
|
646
|
-
delete: zNullableBool
|
|
647
|
-
}).optional()
|
|
648
|
-
});
|
|
649
|
-
var invoiceSchema = z2.object({
|
|
650
|
-
type: z2.literal("invoice"),
|
|
651
|
-
id: z2.number(),
|
|
652
|
-
title: z2.string(),
|
|
653
|
-
membership_id: z2.number(),
|
|
654
|
-
membership: baseMembershipSchema.optional(),
|
|
655
|
-
company_id: z2.number().optional(),
|
|
656
|
-
company: companySchema.optional(),
|
|
657
|
-
sequence_number: z2.string().nullable().optional(),
|
|
658
|
-
order_number: z2.string().nullable().optional(),
|
|
659
|
-
invoice_date: z2.string().nullable().optional(),
|
|
660
|
-
due_date: z2.string().nullable().optional(),
|
|
661
|
-
status: z2.string().nullable().optional(),
|
|
662
|
-
paid_status: z2.string().nullable().optional(),
|
|
663
|
-
total: zPhpMoneyObject.nullable().optional(),
|
|
664
|
-
subtotal: zPhpMoneyObject.nullable().optional(),
|
|
665
|
-
tax_amount: zPhpMoneyObject.nullable().optional(),
|
|
666
|
-
discount_amount: zPhpMoneyObject.nullable().optional(),
|
|
667
|
-
paid_at: z2.string().nullable().optional(),
|
|
668
|
-
released_at: z2.string().nullable().optional(),
|
|
669
|
-
sent: z2.number().default(0),
|
|
670
|
-
viewed: z2.boolean().default(false),
|
|
671
|
-
remarks: z2.string().nullable().optional(),
|
|
672
|
-
notes: z2.string().nullable().optional(),
|
|
673
|
-
recipient_company: z2.string().nullable().optional(),
|
|
674
|
-
recipient_name: z2.string().nullable().optional(),
|
|
675
|
-
recipient_address_street_1: z2.string().nullable().optional(),
|
|
676
|
-
recipient_address_street_2: z2.string().nullable().optional(),
|
|
677
|
-
recipient_city: z2.string().nullable().optional(),
|
|
678
|
-
recipient_zip: z2.string().nullable().optional(),
|
|
679
|
-
recipient_state: z2.string().nullable().optional(),
|
|
680
|
-
recipient_country: z2.string().nullable().optional(),
|
|
681
|
-
recipient_vat_id: z2.string().nullable().optional(),
|
|
682
|
-
issuer_name: z2.string().nullable().optional(),
|
|
683
|
-
issuer_address_street_1: z2.string().nullable().optional(),
|
|
684
|
-
issuer_address_street_2: z2.string().nullable().optional(),
|
|
685
|
-
issuer_city: z2.string().nullable().optional(),
|
|
686
|
-
issuer_zip: z2.string().nullable().optional(),
|
|
687
|
-
issuer_state: z2.string().nullable().optional(),
|
|
688
|
-
created_at: z2.string(),
|
|
689
|
-
updated_at: z2.string(),
|
|
690
|
-
can: z2.object({
|
|
691
|
-
update: zNullableBool,
|
|
692
|
-
delete: zNullableBool,
|
|
693
|
-
release: zNullableBool,
|
|
694
|
-
view: zNullableBool
|
|
695
|
-
}).optional()
|
|
696
|
-
});
|
|
697
|
-
var scheduledFlightSchema = z2.object({
|
|
698
|
-
type: z2.literal("scheduledFlight"),
|
|
699
|
-
id: z2.number(),
|
|
700
|
-
booking_id: z2.number(),
|
|
701
|
-
departure_time: z2.string(),
|
|
702
|
-
arrival_time: z2.string(),
|
|
703
|
-
departure_airport_id: z2.number().nullable().optional(),
|
|
704
|
-
departure_airport: airportSchema.optional(),
|
|
705
|
-
arrival_airport_id: z2.number().nullable().optional(),
|
|
706
|
-
arrival_airport: airportSchema.optional(),
|
|
707
|
-
flight_number: z2.string().nullable().optional(),
|
|
708
|
-
notes: z2.string().nullable().optional(),
|
|
709
|
-
created_at: z2.string(),
|
|
710
|
-
updated_at: z2.string()
|
|
711
|
-
});
|
|
712
|
-
var qualificationSchema = z2.object({
|
|
713
|
-
type: z2.literal("qualification"),
|
|
714
|
-
id: z2.number(),
|
|
715
|
-
title: z2.string(),
|
|
716
|
-
description: z2.string().nullable().optional(),
|
|
717
|
-
category: z2.string().nullable().optional(),
|
|
718
|
-
created_at: z2.string(),
|
|
719
|
-
updated_at: z2.string()
|
|
720
|
-
});
|
|
721
|
-
var expenseSchema = z2.object({
|
|
722
|
-
type: z2.literal("expense"),
|
|
723
|
-
id: z2.number(),
|
|
724
|
-
company_id: z2.number(),
|
|
725
|
-
company: companySchema.optional(),
|
|
726
|
-
membership_id: z2.number(),
|
|
727
|
-
membership: baseMembershipSchema.optional(),
|
|
728
|
-
title: z2.string(),
|
|
729
|
-
description: z2.string().nullable().optional(),
|
|
730
|
-
amount: zPhpMoneyObject,
|
|
731
|
-
status: z2.string().nullable().optional(),
|
|
732
|
-
expense_date: z2.string().nullable().optional(),
|
|
733
|
-
invoice_id: z2.number().nullable().optional(),
|
|
734
|
-
created_at: z2.string(),
|
|
735
|
-
updated_at: z2.string(),
|
|
736
|
-
can: z2.object({
|
|
737
|
-
update: zNullableBool,
|
|
738
|
-
delete: zNullableBool,
|
|
739
|
-
approve: zNullableBool
|
|
740
|
-
}).optional()
|
|
741
|
-
});
|
|
742
|
-
var courseSchema = z2.object({
|
|
743
|
-
type: z2.literal("course"),
|
|
744
|
-
id: z2.number(),
|
|
745
|
-
company_id: z2.number(),
|
|
746
|
-
company: companySchema.optional(),
|
|
747
|
-
name: z2.string(),
|
|
748
|
-
description: z2.string().nullable().optional(),
|
|
749
|
-
start_date: z2.string().nullable().optional(),
|
|
750
|
-
end_date: z2.string().nullable().optional(),
|
|
751
|
-
max_participants: z2.number().nullable().optional(),
|
|
752
|
-
price: zPhpMoneyObject.nullable().optional(),
|
|
753
|
-
instructor_id: z2.number().nullable().optional(),
|
|
754
|
-
instructor: userSchema.optional(),
|
|
755
|
-
aircraft_required: z2.boolean().default(false),
|
|
756
|
-
qualification_id: z2.number().nullable().optional(),
|
|
757
|
-
qualification: qualificationSchema.optional(),
|
|
758
|
-
created_at: z2.string(),
|
|
759
|
-
updated_at: z2.string(),
|
|
760
|
-
can: z2.object({
|
|
761
|
-
update: zNullableBool,
|
|
762
|
-
delete: zNullableBool,
|
|
763
|
-
enroll: zNullableBool
|
|
764
|
-
}).optional()
|
|
765
|
-
});
|
|
766
|
-
var courseEnrollmentMetricsSchema = z2.object({
|
|
767
|
-
last_flight_at: z2.string().nullable(),
|
|
768
|
-
next_flight_at: z2.string().nullable(),
|
|
769
|
-
total_flight_minutes: z2.number().default(0),
|
|
770
|
-
flags: z2.record(z2.string(), z2.union([z2.boolean(), z2.number(), z2.string()])).default({}),
|
|
771
|
-
calculated_at: z2.string().nullable()
|
|
772
|
-
});
|
|
773
|
-
var courseEnrollmentSchema = z2.object({
|
|
774
|
-
type: z2.literal("course_enrollment").optional(),
|
|
775
|
-
id: z2.number(),
|
|
776
|
-
course_id: z2.number(),
|
|
777
|
-
membership_id: z2.number(),
|
|
778
|
-
company_id: z2.number(),
|
|
779
|
-
mentor_id: z2.number().nullable().optional(),
|
|
780
|
-
status: z2.enum(["enrolled", "completed", "cancelled", "suspended"]),
|
|
781
|
-
enrollment_date: z2.string(),
|
|
782
|
-
completion_date: z2.string().nullable().optional(),
|
|
783
|
-
progress_percentage: z2.number().default(0),
|
|
784
|
-
milestone_count: z2.number().optional(),
|
|
785
|
-
comments: z2.string().nullable().optional(),
|
|
786
|
-
initial_payment_generated: z2.boolean().optional(),
|
|
787
|
-
initial_payment_removable: z2.boolean().optional(),
|
|
788
|
-
metrics: courseEnrollmentMetricsSchema.optional(),
|
|
789
|
-
created_at: z2.string(),
|
|
790
|
-
updated_at: z2.string(),
|
|
791
|
-
course: courseSchema.optional(),
|
|
792
|
-
membership: membershipSchema.optional(),
|
|
793
|
-
mentor: userSchema.optional(),
|
|
794
|
-
can: z2.object({
|
|
795
|
-
view: zNullableBool,
|
|
796
|
-
update: zNullableBool,
|
|
797
|
-
delete: zNullableBool,
|
|
798
|
-
complete: zNullableBool
|
|
799
|
-
}).optional()
|
|
800
|
-
});
|
|
801
|
-
var eventSchema = z2.object({
|
|
802
|
-
type: z2.literal("event"),
|
|
803
|
-
id: z2.number(),
|
|
804
|
-
company_id: z2.number(),
|
|
805
|
-
company: companySchema.optional(),
|
|
806
|
-
title: z2.string(),
|
|
807
|
-
description: z2.string().nullable().optional(),
|
|
808
|
-
start_date: z2.string(),
|
|
809
|
-
end_date: z2.string().nullable().optional(),
|
|
810
|
-
all_day: z2.boolean().default(false),
|
|
811
|
-
location: z2.string().nullable().optional(),
|
|
812
|
-
category: z2.string().nullable().optional(),
|
|
813
|
-
created_by: z2.number(),
|
|
814
|
-
creator: userSchema.optional(),
|
|
815
|
-
created_at: z2.string(),
|
|
816
|
-
updated_at: z2.string(),
|
|
817
|
-
can: z2.object({
|
|
818
|
-
update: zNullableBool,
|
|
819
|
-
delete: zNullableBool,
|
|
820
|
-
attend: zNullableBool
|
|
821
|
-
}).optional()
|
|
822
|
-
});
|
|
823
|
-
var addressSchema = z2.object({
|
|
824
|
-
type: z2.literal("address"),
|
|
825
|
-
id: z2.number(),
|
|
826
|
-
company_id: z2.number().nullable().optional(),
|
|
827
|
-
addressable_type: z2.string(),
|
|
828
|
-
addressable_id: z2.number(),
|
|
829
|
-
street: z2.string().nullable().optional(),
|
|
830
|
-
house_number: z2.string().nullable().optional(),
|
|
831
|
-
postal_code: z2.string().nullable().optional(),
|
|
832
|
-
city: z2.string().nullable().optional(),
|
|
833
|
-
state: z2.string().nullable().optional(),
|
|
834
|
-
country: z2.string().nullable().optional(),
|
|
835
|
-
additional_info: z2.string().nullable().optional(),
|
|
836
|
-
vat_id: z2.string().nullable().optional(),
|
|
837
|
-
created_at: z2.string(),
|
|
838
|
-
updated_at: z2.string()
|
|
839
|
-
});
|
|
840
|
-
var roleSchema = z2.object({
|
|
841
|
-
type: z2.literal("role"),
|
|
842
|
-
id: z2.number(),
|
|
843
|
-
company_id: z2.number(),
|
|
844
|
-
name: z2.string(),
|
|
845
|
-
description: z2.string().nullable().optional(),
|
|
846
|
-
permissions: z2.array(z2.string()).optional(),
|
|
847
|
-
created_at: z2.string(),
|
|
848
|
-
updated_at: z2.string()
|
|
849
|
-
});
|
|
850
|
-
var landingSchema = z2.object({
|
|
851
|
-
type: z2.literal("landing"),
|
|
852
|
-
id: z2.number(),
|
|
853
|
-
flight_log_id: z2.number(),
|
|
854
|
-
approach_type_id: z2.number().nullable().optional(),
|
|
855
|
-
airport_id: z2.number().nullable().optional(),
|
|
856
|
-
airport: airportSchema.optional(),
|
|
857
|
-
landing_fee_id: z2.number().nullable().optional(),
|
|
858
|
-
landing_time: z2.string(),
|
|
859
|
-
price: zPhpMoneyObject.nullable().optional(),
|
|
860
|
-
created_at: z2.string(),
|
|
861
|
-
updated_at: z2.string()
|
|
862
|
-
});
|
|
863
|
-
var ticketSchema = z2.object({
|
|
864
|
-
type: z2.literal("ticket"),
|
|
865
|
-
id: z2.number(),
|
|
866
|
-
company_id: z2.number().nullable().optional(),
|
|
867
|
-
company: companySchema.optional(),
|
|
868
|
-
user_id: z2.number(),
|
|
869
|
-
user: userSchema.optional(),
|
|
870
|
-
assigned_to: z2.number().nullable().optional(),
|
|
871
|
-
assignee: userSchema.optional(),
|
|
872
|
-
title: z2.string(),
|
|
873
|
-
description: z2.string(),
|
|
874
|
-
status: z2.string(),
|
|
875
|
-
priority: z2.string().nullable().optional(),
|
|
876
|
-
category: z2.string().nullable().optional(),
|
|
877
|
-
resolved_at: z2.string().nullable().optional(),
|
|
878
|
-
created_at: z2.string(),
|
|
879
|
-
updated_at: z2.string(),
|
|
880
|
-
can: z2.object({
|
|
881
|
-
update: zNullableBool,
|
|
882
|
-
delete: zNullableBool,
|
|
883
|
-
resolve: zNullableBool
|
|
884
|
-
}).optional()
|
|
885
|
-
});
|
|
886
|
-
var runwaySchema = z2.object({
|
|
887
|
-
type: z2.literal("runway"),
|
|
888
|
-
id: z2.number(),
|
|
889
|
-
airport_id: z2.number(),
|
|
890
|
-
airport: airportSchema.optional(),
|
|
891
|
-
name: z2.string(),
|
|
892
|
-
length_m: z2.number().nullable().optional(),
|
|
893
|
-
width_m: z2.number().nullable().optional(),
|
|
894
|
-
surface: z2.string().nullable().optional(),
|
|
895
|
-
heading: z2.number().nullable().optional(),
|
|
896
|
-
elevation_m: z2.number().nullable().optional(),
|
|
897
|
-
active: z2.boolean().default(true),
|
|
898
|
-
created_at: z2.string(),
|
|
899
|
-
updated_at: z2.string()
|
|
900
|
-
});
|
|
901
|
-
var settingSchema = z2.object({
|
|
902
|
-
type: z2.literal("setting"),
|
|
903
|
-
id: z2.number(),
|
|
904
|
-
model_type: z2.string(),
|
|
905
|
-
model_id: z2.number(),
|
|
906
|
-
key: z2.string(),
|
|
907
|
-
value: z2.any(),
|
|
908
|
-
created_at: z2.string(),
|
|
909
|
-
updated_at: z2.string()
|
|
910
|
-
});
|
|
911
|
-
var postSchema = z2.object({
|
|
912
|
-
type: z2.literal("post"),
|
|
913
|
-
id: z2.number(),
|
|
914
|
-
company_id: z2.number(),
|
|
915
|
-
postable_type: z2.string().nullable().optional(),
|
|
916
|
-
postable_id: z2.number().nullable().optional(),
|
|
917
|
-
author_id: z2.number(),
|
|
918
|
-
author: userSchema.optional(),
|
|
919
|
-
title: z2.string().nullable().optional(),
|
|
920
|
-
content: z2.string(),
|
|
921
|
-
sticky: z2.boolean().default(false),
|
|
922
|
-
public: z2.boolean().default(false),
|
|
923
|
-
media: mediaCollection.optional(),
|
|
924
|
-
created_at: z2.string(),
|
|
925
|
-
updated_at: z2.string(),
|
|
926
|
-
can: z2.object({
|
|
927
|
-
view: zNullableBool,
|
|
928
|
-
update: zNullableBool,
|
|
929
|
-
delete: zNullableBool,
|
|
930
|
-
setFlags: zNullableBool,
|
|
931
|
-
restore: zNullableBool,
|
|
932
|
-
forceDelete: zNullableBool
|
|
933
|
-
}).optional()
|
|
934
|
-
});
|
|
935
|
-
var commentSchema = z2.object({
|
|
936
|
-
type: z2.literal("comment"),
|
|
937
|
-
id: z2.number(),
|
|
938
|
-
commentable_type: z2.string().optional(),
|
|
939
|
-
commentable_id: z2.number().optional(),
|
|
940
|
-
parent_id: z2.number().optional().nullable(),
|
|
941
|
-
title: z2.string().optional().nullable(),
|
|
942
|
-
body: z2.string(),
|
|
943
|
-
author_id: z2.number().optional(),
|
|
944
|
-
author: userSchema.optional(),
|
|
945
|
-
created_at: z2.string(),
|
|
946
|
-
updated_at: z2.string().optional(),
|
|
947
|
-
children: z2.lazy(() => commentSchema.array()).optional(),
|
|
948
|
-
can: z2.object({
|
|
949
|
-
view: z2.boolean().optional(),
|
|
950
|
-
update: z2.boolean().optional().nullable(),
|
|
951
|
-
delete: z2.boolean().optional().nullable(),
|
|
952
|
-
reply: z2.boolean().optional(),
|
|
953
|
-
viewComments: z2.boolean().optional(),
|
|
954
|
-
createComments: z2.boolean().optional()
|
|
955
|
-
}).optional()
|
|
956
|
-
});
|
|
957
|
-
var airplaneIssueSeverityEnum = z2.enum([
|
|
958
|
-
"minor",
|
|
959
|
-
"major",
|
|
960
|
-
"grounding"
|
|
961
|
-
]);
|
|
962
|
-
var airplaneIssueStatusEnum = z2.enum(["open", "deferred", "resolved"]);
|
|
963
|
-
var airplaneIssueSchema = z2.object({
|
|
964
|
-
type: z2.literal("airplaneIssue"),
|
|
965
|
-
id: z2.number(),
|
|
966
|
-
airplane_id: z2.number(),
|
|
967
|
-
title: z2.string().nullable().optional(),
|
|
968
|
-
body: z2.string(),
|
|
969
|
-
severity: airplaneIssueSeverityEnum,
|
|
970
|
-
ata_chapter: z2.string().nullable().optional(),
|
|
971
|
-
status: airplaneIssueStatusEnum,
|
|
972
|
-
reporter: userSchema.optional(),
|
|
973
|
-
resolver: userSchema.optional(),
|
|
974
|
-
deferred_at: z2.string().nullable().optional(),
|
|
975
|
-
deferred_until: z2.string().nullable().optional(),
|
|
976
|
-
deferral_notes: z2.string().nullable().optional(),
|
|
977
|
-
resolved_at: z2.string().nullable().optional(),
|
|
978
|
-
resolution_notes: z2.string().nullable().optional(),
|
|
979
|
-
attachments: z2.array(mediaSchema).optional(),
|
|
980
|
-
created_at: z2.string(),
|
|
981
|
-
updated_at: z2.string().optional(),
|
|
982
|
-
can: z2.object({
|
|
983
|
-
view: z2.boolean().nullable().optional(),
|
|
984
|
-
update: z2.boolean().nullable().optional(),
|
|
985
|
-
resolve: z2.boolean().nullable().optional(),
|
|
986
|
-
defer: z2.boolean().nullable().optional(),
|
|
987
|
-
reopen: z2.boolean().nullable().optional(),
|
|
988
|
-
delete: z2.boolean().nullable().optional()
|
|
989
|
-
}).optional()
|
|
990
|
-
});
|
|
991
|
-
var specialFlightSchema = z2.object({
|
|
992
|
-
type: z2.literal("specialFlight"),
|
|
993
|
-
id: z2.number(),
|
|
994
|
-
company_id: z2.number(),
|
|
995
|
-
company: companySchema.optional(),
|
|
996
|
-
name: z2.string(),
|
|
997
|
-
description: z2.string().nullable().optional(),
|
|
998
|
-
fee_id: z2.number().nullable().optional(),
|
|
999
|
-
fee: feeSchema.optional(),
|
|
1000
|
-
active: z2.boolean().default(true),
|
|
1001
|
-
created_at: z2.string(),
|
|
1002
|
-
updated_at: z2.string()
|
|
1003
|
-
});
|
|
1004
|
-
var prePaidPackageSchema = z2.object({
|
|
1005
|
-
type: z2.literal("prePaidPackage"),
|
|
1006
|
-
id: z2.number(),
|
|
1007
|
-
company_id: z2.number(),
|
|
1008
|
-
company: companySchema.optional(),
|
|
1009
|
-
name: z2.string(),
|
|
1010
|
-
description: z2.string().nullable().optional(),
|
|
1011
|
-
balance: zPhpMoneyObject,
|
|
1012
|
-
initial_amount: zPhpMoneyObject,
|
|
1013
|
-
discount_percentage: z2.number().nullable().optional(),
|
|
1014
|
-
valid_until: z2.string().nullable().optional(),
|
|
1015
|
-
created_at: z2.string(),
|
|
1016
|
-
updated_at: z2.string(),
|
|
1017
|
-
can: z2.object({
|
|
1018
|
-
update: zNullableBool,
|
|
1019
|
-
delete: zNullableBool,
|
|
1020
|
-
assign: zNullableBool
|
|
1021
|
-
}).optional()
|
|
1022
|
-
});
|
|
1023
|
-
var expenseItemSchema = z2.object({
|
|
1024
|
-
type: z2.literal("expenseItem"),
|
|
1025
|
-
id: z2.number(),
|
|
1026
|
-
company_id: z2.number(),
|
|
1027
|
-
company: companySchema.optional(),
|
|
1028
|
-
name: z2.string(),
|
|
1029
|
-
description: z2.string().nullable().optional(),
|
|
1030
|
-
category: z2.string().nullable().optional(),
|
|
1031
|
-
active: z2.boolean().default(true),
|
|
1032
|
-
created_at: z2.string(),
|
|
1033
|
-
updated_at: z2.string()
|
|
1034
|
-
});
|
|
1035
|
-
var waypointSchema = z2.object({
|
|
1036
|
-
type: z2.literal("waypoint"),
|
|
1037
|
-
id: z2.number(),
|
|
1038
|
-
identifier: z2.string(),
|
|
1039
|
-
name: z2.string(),
|
|
1040
|
-
latitude: z2.number(),
|
|
1041
|
-
longitude: z2.number(),
|
|
1042
|
-
elevation_m: z2.number().nullable().optional(),
|
|
1043
|
-
country: z2.string().nullable().optional(),
|
|
1044
|
-
created_at: z2.string(),
|
|
1045
|
-
updated_at: z2.string()
|
|
1046
|
-
});
|
|
1047
|
-
var approachTypeSchema = z2.object({
|
|
1048
|
-
type: z2.literal("approachType"),
|
|
1049
|
-
id: z2.number(),
|
|
1050
|
-
name: z2.string(),
|
|
1051
|
-
abbreviation: z2.string(),
|
|
1052
|
-
description: z2.string().nullable().optional(),
|
|
1053
|
-
created_at: z2.string(),
|
|
1054
|
-
updated_at: z2.string()
|
|
1055
|
-
});
|
|
1056
|
-
|
|
1057
|
-
// src/schemas/faq.ts
|
|
1058
|
-
import { z as z3 } from "zod";
|
|
1059
|
-
var FaqStatus = /* @__PURE__ */ ((FaqStatus2) => {
|
|
1060
|
-
FaqStatus2["PENDING"] = "pending";
|
|
1061
|
-
FaqStatus2["APPROVED"] = "approved";
|
|
1062
|
-
FaqStatus2["REJECTED"] = "rejected";
|
|
1063
|
-
return FaqStatus2;
|
|
1064
|
-
})(FaqStatus || {});
|
|
1065
|
-
var UserBasicSchema = z3.object({
|
|
1066
|
-
id: z3.number(),
|
|
1067
|
-
name: z3.string(),
|
|
1068
|
-
email: z3.string().email()
|
|
1069
|
-
}).nullable();
|
|
1070
|
-
var FaqSchema = z3.object({
|
|
1071
|
-
type: z3.literal("faq"),
|
|
1072
|
-
id: z3.number(),
|
|
1073
|
-
company_id: z3.number().nullable(),
|
|
1074
|
-
faqable_type: z3.string().nullable(),
|
|
1075
|
-
faqable_id: z3.number().nullable(),
|
|
1076
|
-
category: z3.string(),
|
|
1077
|
-
subcategory: z3.string().nullable(),
|
|
1078
|
-
question: z3.string(),
|
|
1079
|
-
answer: z3.string().nullable(),
|
|
1080
|
-
order: z3.number(),
|
|
1081
|
-
is_active: z3.boolean(),
|
|
1082
|
-
status: z3.enum(["pending", "approved", "rejected"]),
|
|
1083
|
-
submitted_by: z3.number().nullable(),
|
|
1084
|
-
reviewed_by: z3.number().nullable(),
|
|
1085
|
-
reviewed_at: z3.string().nullable(),
|
|
1086
|
-
created_at: z3.string(),
|
|
1087
|
-
updated_at: z3.string(),
|
|
1088
|
-
submitter: UserBasicSchema.optional(),
|
|
1089
|
-
reviewer: UserBasicSchema.optional(),
|
|
1090
|
-
is_pending: z3.boolean().optional(),
|
|
1091
|
-
is_user_submitted: z3.boolean().optional(),
|
|
1092
|
-
can: z3.object({
|
|
1093
|
-
view: z3.boolean().optional(),
|
|
1094
|
-
update: z3.boolean().optional(),
|
|
1095
|
-
delete: z3.boolean().optional(),
|
|
1096
|
-
review: z3.boolean().optional(),
|
|
1097
|
-
submit: z3.boolean().optional()
|
|
1098
|
-
}).optional()
|
|
1099
|
-
});
|
|
1100
|
-
var SubmitFaqQuestionSchema = z3.object({
|
|
1101
|
-
category: z3.string().min(1, "Category is required"),
|
|
1102
|
-
subcategory: z3.string().nullable().optional(),
|
|
1103
|
-
question: z3.string().min(10, "Question must be at least 10 characters")
|
|
1104
|
-
});
|
|
1105
|
-
var ReviewFaqSchema = z3.object({
|
|
1106
|
-
status: z3.enum(["pending", "approved", "rejected"]),
|
|
1107
|
-
answer: z3.string().optional(),
|
|
1108
|
-
category: z3.string().optional(),
|
|
1109
|
-
subcategory: z3.string().nullable().optional(),
|
|
1110
|
-
order: z3.number().optional(),
|
|
1111
|
-
is_active: z3.boolean().optional()
|
|
1112
|
-
});
|
|
1113
|
-
|
|
1114
|
-
// src/schemas/fee.ts
|
|
1115
|
-
import { z as z4 } from "zod";
|
|
1116
|
-
var FeeSchema = z4.object({
|
|
1117
|
-
id: z4.number(),
|
|
1118
|
-
type: z4.literal("fee").optional(),
|
|
1119
|
-
company_id: z4.number(),
|
|
1120
|
-
provider: z4.string().nullable().optional(),
|
|
1121
|
-
category: z4.string(),
|
|
1122
|
-
subcategory: z4.string().nullable().optional(),
|
|
1123
|
-
title: z4.string(),
|
|
1124
|
-
internal_title: z4.string().nullable().optional(),
|
|
1125
|
-
display_title: z4.string().optional(),
|
|
1126
|
-
relation: z4.array(z4.enum(["booking", "flightlog", "invoice", "instructor"])).nullable().optional(),
|
|
1127
|
-
payment_per: z4.enum(["perSession", "perFlight", "perBooking", "perHour"]).nullable().optional(),
|
|
1128
|
-
price: z4.any().optional(),
|
|
1129
|
-
prices: z4.array(z4.any()).optional(),
|
|
1130
|
-
can: z4.object({
|
|
1131
|
-
update: z4.boolean().optional(),
|
|
1132
|
-
delete: z4.boolean().optional()
|
|
1133
|
-
}).optional()
|
|
1134
|
-
});
|
|
1135
|
-
var FeeCategoryOptionsSchema = z4.object({
|
|
1136
|
-
categories: z4.array(z4.string()),
|
|
1137
|
-
subcategories: z4.record(z4.string(), z4.array(z4.string()))
|
|
1138
|
-
});
|
|
1139
|
-
|
|
1140
|
-
// src/schemas/safety-report.ts
|
|
1141
|
-
import { z as z5 } from "zod";
|
|
1142
|
-
var SafetyReportStatusEnum = z5.enum([
|
|
1143
|
-
"new",
|
|
1144
|
-
"under_review",
|
|
1145
|
-
"action_taken",
|
|
1146
|
-
"closed"
|
|
1147
|
-
]);
|
|
1148
|
-
var SafetyReportCategorySchema = z5.object({
|
|
1149
|
-
id: z5.number(),
|
|
1150
|
-
name: z5.string(),
|
|
1151
|
-
description: z5.string().nullable(),
|
|
1152
|
-
color: z5.string(),
|
|
1153
|
-
sort_order: z5.number(),
|
|
1154
|
-
is_active: z5.boolean(),
|
|
1155
|
-
is_global: z5.boolean().optional(),
|
|
1156
|
-
created_at: z5.string().optional(),
|
|
1157
|
-
updated_at: z5.string().optional()
|
|
1158
|
-
});
|
|
1159
|
-
var SafetyReportCategoryFormSchema = z5.object({
|
|
1160
|
-
name: z5.string().min(1, "Name is required").max(100, "Name must be at most 100 characters"),
|
|
1161
|
-
description: z5.string().max(500).nullable().optional(),
|
|
1162
|
-
color: z5.string().regex(/^#[0-9A-Fa-f]{6}$/, "Invalid hex color").nullable().optional(),
|
|
1163
|
-
sort_order: z5.number().int().min(0).optional(),
|
|
1164
|
-
is_active: z5.boolean().optional()
|
|
1165
|
-
});
|
|
1166
|
-
var SafetyReportMediaSchema = z5.object({
|
|
1167
|
-
id: z5.number(),
|
|
1168
|
-
file_name: z5.string(),
|
|
1169
|
-
mime_type: z5.string(),
|
|
1170
|
-
size: z5.number(),
|
|
1171
|
-
url: z5.string().nullable()
|
|
1172
|
-
});
|
|
1173
|
-
var SafetyReportSchema = z5.object({
|
|
1174
|
-
id: z5.number(),
|
|
1175
|
-
incident_date: z5.string(),
|
|
1176
|
-
location: z5.string().nullable(),
|
|
1177
|
-
description: z5.string(),
|
|
1178
|
-
status: SafetyReportStatusEnum,
|
|
1179
|
-
is_archived: z5.boolean(),
|
|
1180
|
-
category: SafetyReportCategorySchema.nullable().optional(),
|
|
1181
|
-
attachments: z5.array(SafetyReportMediaSchema).optional(),
|
|
1182
|
-
attachments_count: z5.number().optional(),
|
|
1183
|
-
created_at: z5.string(),
|
|
1184
|
-
updated_at: z5.string(),
|
|
1185
|
-
can: z5.record(z5.string(), z5.boolean()).optional()
|
|
1186
|
-
});
|
|
1187
|
-
var SafetyReportListResponseSchema = z5.object({
|
|
1188
|
-
data: z5.array(SafetyReportSchema),
|
|
1189
|
-
links: z5.object({
|
|
1190
|
-
first: z5.string().nullable().optional(),
|
|
1191
|
-
last: z5.string().nullable().optional(),
|
|
1192
|
-
prev: z5.string().nullable().optional(),
|
|
1193
|
-
next: z5.string().nullable().optional()
|
|
1194
|
-
}).optional(),
|
|
1195
|
-
meta: z5.object({
|
|
1196
|
-
current_page: z5.number(),
|
|
1197
|
-
from: z5.number().nullable(),
|
|
1198
|
-
last_page: z5.number(),
|
|
1199
|
-
per_page: z5.number(),
|
|
1200
|
-
to: z5.number().nullable(),
|
|
1201
|
-
total: z5.number()
|
|
1202
|
-
}).optional()
|
|
1203
|
-
});
|
|
1204
|
-
var SafetyReportFormSchema = z5.object({
|
|
1205
|
-
incident_date: z5.string().min(1, "Incident date is required"),
|
|
1206
|
-
location: z5.string().max(255).nullable().optional(),
|
|
1207
|
-
description: z5.string().min(10, "Description must be at least 10 characters").max(1e4, "Description must be at most 10000 characters")
|
|
1208
|
-
});
|
|
1209
|
-
var SafetyReportUpdateSchema = z5.object({
|
|
1210
|
-
status: SafetyReportStatusEnum.optional(),
|
|
1211
|
-
category_id: z5.number().nullable().optional()
|
|
1212
|
-
});
|
|
1213
|
-
var SafetyReportFilterSchema = z5.object({
|
|
1214
|
-
status: SafetyReportStatusEnum.optional(),
|
|
1215
|
-
category_id: z5.number().optional(),
|
|
1216
|
-
date_from: z5.string().optional(),
|
|
1217
|
-
date_to: z5.string().optional(),
|
|
1218
|
-
include_archived: z5.boolean().optional(),
|
|
1219
|
-
search: z5.string().optional(),
|
|
1220
|
-
sort: z5.enum(["incident_date", "created_at", "status"]).optional(),
|
|
1221
|
-
direction: z5.enum(["asc", "desc"]).optional(),
|
|
1222
|
-
per_page: z5.number().optional(),
|
|
1223
|
-
page: z5.number().optional()
|
|
1224
|
-
});
|
|
1225
|
-
var SafetyReportSubmissionResponseSchema = z5.object({
|
|
1226
|
-
message: z5.string(),
|
|
1227
|
-
submitted: z5.boolean()
|
|
1228
|
-
});
|
|
1229
|
-
var SAFETY_REPORT_STATUS_LABELS = {
|
|
1230
|
-
new: "New",
|
|
1231
|
-
under_review: "Under Review",
|
|
1232
|
-
action_taken: "Action Taken",
|
|
1233
|
-
closed: "Closed"
|
|
1234
|
-
};
|
|
1235
|
-
var SAFETY_REPORT_STATUS_COLORS = {
|
|
1236
|
-
new: "info",
|
|
1237
|
-
under_review: "warning",
|
|
1238
|
-
action_taken: "primary",
|
|
1239
|
-
closed: "success"
|
|
1240
|
-
};
|
|
1241
|
-
|
|
1242
|
-
export {
|
|
1243
|
-
zNullableBool,
|
|
1244
|
-
zNetGross,
|
|
1245
|
-
zContactDTO,
|
|
1246
|
-
zPhpMoneyObject,
|
|
1247
|
-
contactAttributeSchema,
|
|
1248
|
-
BaseModel,
|
|
1249
|
-
mediaSchema,
|
|
1250
|
-
mediaCollection,
|
|
1251
|
-
userSchema,
|
|
1252
|
-
companySchema,
|
|
1253
|
-
baseMembershipSchema,
|
|
1254
|
-
membershipSchema,
|
|
1255
|
-
documentType,
|
|
1256
|
-
priceSchema,
|
|
1257
|
-
feeSchema,
|
|
1258
|
-
courseFeeSchema,
|
|
1259
|
-
airplaneSchema,
|
|
1260
|
-
airplaneShareInviteSchema,
|
|
1261
|
-
airplanePermissionSchema,
|
|
1262
|
-
landingFeeSchema,
|
|
1263
|
-
aircraftRatingSchema,
|
|
1264
|
-
userAircraftRatingSchema,
|
|
1265
|
-
userQualificationSchema,
|
|
1266
|
-
airportSchema,
|
|
1267
|
-
recurringFlightSchema,
|
|
1268
|
-
maintenanceEventSchema,
|
|
1269
|
-
maintenanceEventEstimationSchema,
|
|
1270
|
-
maintenanceStatusSchema,
|
|
1271
|
-
extendedAirplaneSchema,
|
|
1272
|
-
availSchema,
|
|
1273
|
-
bookingSchema,
|
|
1274
|
-
alertSchema,
|
|
1275
|
-
documentSchema,
|
|
1276
|
-
documentRequirement,
|
|
1277
|
-
documentRequirementGroup,
|
|
1278
|
-
documentRequirementGroupAssignment,
|
|
1279
|
-
documentComplianceStatus,
|
|
1280
|
-
documentShareSchema,
|
|
1281
|
-
allowedDocumentTypeSchema,
|
|
1282
|
-
flightLogSchema,
|
|
1283
|
-
invoiceSchema,
|
|
1284
|
-
scheduledFlightSchema,
|
|
1285
|
-
qualificationSchema,
|
|
1286
|
-
expenseSchema,
|
|
1287
|
-
courseSchema,
|
|
1288
|
-
courseEnrollmentMetricsSchema,
|
|
1289
|
-
courseEnrollmentSchema,
|
|
1290
|
-
eventSchema,
|
|
1291
|
-
addressSchema,
|
|
1292
|
-
roleSchema,
|
|
1293
|
-
landingSchema,
|
|
1294
|
-
ticketSchema,
|
|
1295
|
-
runwaySchema,
|
|
1296
|
-
settingSchema,
|
|
1297
|
-
postSchema,
|
|
1298
|
-
commentSchema,
|
|
1299
|
-
airplaneIssueSeverityEnum,
|
|
1300
|
-
airplaneIssueStatusEnum,
|
|
1301
|
-
airplaneIssueSchema,
|
|
1302
|
-
specialFlightSchema,
|
|
1303
|
-
prePaidPackageSchema,
|
|
1304
|
-
expenseItemSchema,
|
|
1305
|
-
waypointSchema,
|
|
1306
|
-
approachTypeSchema,
|
|
1307
|
-
FaqStatus,
|
|
1308
|
-
FaqSchema,
|
|
1309
|
-
SubmitFaqQuestionSchema,
|
|
1310
|
-
ReviewFaqSchema,
|
|
1311
|
-
FeeSchema,
|
|
1312
|
-
FeeCategoryOptionsSchema,
|
|
1313
|
-
SafetyReportStatusEnum,
|
|
1314
|
-
SafetyReportCategorySchema,
|
|
1315
|
-
SafetyReportCategoryFormSchema,
|
|
1316
|
-
SafetyReportMediaSchema,
|
|
1317
|
-
SafetyReportSchema,
|
|
1318
|
-
SafetyReportListResponseSchema,
|
|
1319
|
-
SafetyReportFormSchema,
|
|
1320
|
-
SafetyReportUpdateSchema,
|
|
1321
|
-
SafetyReportFilterSchema,
|
|
1322
|
-
SafetyReportSubmissionResponseSchema,
|
|
1323
|
-
SAFETY_REPORT_STATUS_LABELS,
|
|
1324
|
-
SAFETY_REPORT_STATUS_COLORS
|
|
1325
|
-
};
|