@updraft-solutions/mcrit-sdk 0.10.0 → 0.11.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.
Files changed (42) hide show
  1. package/README.md +11 -25
  2. package/dist/{chunk-IDEPTVFF.cjs → chunk-RN7XMRGC.cjs} +35 -25
  3. package/dist/{chunk-ZKXYKICY.js → chunk-XEKAC57V.js} +35 -25
  4. package/dist/crew/index.d.cts +1 -1
  5. package/dist/crew/index.d.ts +1 -1
  6. package/dist/index.cjs +5 -3
  7. package/dist/index.d.cts +3 -3
  8. package/dist/index.d.ts +3 -3
  9. package/dist/index.js +8 -6
  10. package/dist/media/index.d.cts +2 -2
  11. package/dist/media/index.d.ts +2 -2
  12. package/dist/money/index.d.cts +5 -5
  13. package/dist/money/index.d.ts +5 -5
  14. package/dist/sanitize/index.d.cts +1 -1
  15. package/dist/sanitize/index.d.ts +1 -1
  16. package/dist/schemas/index.cjs +4 -2
  17. package/dist/schemas/index.d.cts +16 -17
  18. package/dist/schemas/index.d.ts +16 -17
  19. package/dist/schemas/index.js +7 -5
  20. package/dist/{training-DRuphnSP.d.cts → training-CuiDqGAo.d.cts} +1218 -1163
  21. package/dist/{training-DRuphnSP.d.ts → training-CuiDqGAo.d.ts} +1218 -1163
  22. package/dist/types/index.cjs +1 -1
  23. package/dist/types/index.d.cts +137 -2
  24. package/dist/types/index.d.ts +137 -2
  25. package/dist/types/index.js +1 -1
  26. package/package.json +3 -2
  27. package/src/crew/index.ts +1 -1
  28. package/src/index.ts +18 -0
  29. package/src/media/index.ts +2 -2
  30. package/src/money/index.ts +4 -4
  31. package/src/sanitize/index.ts +1 -1
  32. package/src/schemas/common.ts +1 -1
  33. package/src/schemas/equipment.ts +1 -2
  34. package/src/schemas/form-template.ts +1 -1
  35. package/src/schemas/models.ts +44 -30
  36. package/src/schemas/training.ts +2 -2
  37. package/src/types/compliance.ts +1 -1
  38. package/src/types/index.ts +1 -0
  39. package/src/types/models.ts +1 -0
  40. package/src/types/operating-hours.ts +163 -0
  41. /package/dist/{chunk-2WJHTRIE.js → chunk-UV5JLKAL.js} +0 -0
  42. /package/dist/{chunk-DCEOET63.cjs → chunk-YVC6Q3YU.cjs} +0 -0
package/README.md CHANGED
@@ -1,13 +1,12 @@
1
1
  # `@updraft-solutions/mcrit-sdk`
2
2
 
3
3
  Shared TypeScript types, Zod schemas, and pure helpers for the MCRIT
4
- aviation fleet management platform consumed by the `mcrit-app` SPA and
5
- the public `inflight-homepage` site so both speak the same API contract
6
- and apply the same business logic.
4
+ aviation fleet management platform, so every client speaks the same API
5
+ contract and applies the same business logic.
7
6
 
8
- The SDK is **runtime-agnostic and side-effect free**: no Vue, no Nuxt, no
9
- Pinia, no HTTP client. Just types and pure functions that operate on the
10
- resource shapes returned by the Laravel API.
7
+ The SDK is **runtime-agnostic and side-effect free**: no framework
8
+ imports, no HTTP client. Just types and pure functions that operate on
9
+ the resource shapes returned by the MCRIT API.
11
10
 
12
11
  ---
13
12
 
@@ -28,7 +27,7 @@ want German or another non-English label output, also import the matching
28
27
  moment locale **once** at your app entry:
29
28
 
30
29
  ```ts
31
- // e.g. a Nuxt plugin or app/main.ts
30
+ // once at your app entry
32
31
  import "moment/locale/de";
33
32
  ```
34
33
 
@@ -48,7 +47,7 @@ or from the root if you want everything in one place.
48
47
  | `@updraft-solutions/mcrit-sdk/courses` | Course variant and total-cost logic |
49
48
  | `@updraft-solutions/mcrit-sdk/format` | Date, time, percentage, byte, membership formatters |
50
49
  | `@updraft-solutions/mcrit-sdk/crew` | Crew-role constants, predicates, membership helpers |
51
- | `@updraft-solutions/mcrit-sdk/media` | MIME-type classification + Spatie MediaLibrary mappers |
50
+ | `@updraft-solutions/mcrit-sdk/media` | MIME-type classification + media payload mappers |
52
51
  | `@updraft-solutions/mcrit-sdk/pagination` | Pagination meta math |
53
52
 
54
53
  ---
@@ -127,8 +126,8 @@ isInstructorClassRole("authorizing_instructor"); // true
127
126
  defaultCrewRoleForMembership(membership); // "student" | "instructor" | "pilot"
128
127
  ```
129
128
 
130
- Mirrors the backend `App\Enums\CrewMemberPosition`. See
131
- `m-crit-api/docs/features/crew-composition.md` for the full data model.
129
+ Role metadata mirrors the server crew configuration served via
130
+ `GET /meta/crew`.
132
131
 
133
132
  ### Media
134
133
 
@@ -189,17 +188,8 @@ pnpm build # tsup → dist/{esm,cjs,d.ts}
189
188
  pnpm dev # tsup --watch
190
189
  ```
191
190
 
192
- ### Inside the MCRIT monorepo
193
-
194
- The MCRIT working folder (`mcrit-app`, `inflight-homepage-nuxt-3`, and
195
- this repo as sibling git checkouts) uses a pnpm workspace at the parent
196
- folder. With `workspace:*` (or any matching version range) in the
197
- consuming app's `package.json`, pnpm symlinks this directory into the
198
- consumer's `node_modules` — edits show up immediately, no publish loop.
199
-
200
- If consumers use the `source` export condition (Vite via
201
- `resolve.conditions: ['source']`), they read `src/*.ts` directly and skip
202
- the `tsup` build entirely during dev.
191
+ Consumers that enable the `source` export condition read `src/*.ts`
192
+ directly and skip the `tsup` build entirely during dev.
203
193
 
204
194
  ### Adding a new helper
205
195
 
@@ -228,10 +218,6 @@ git push && git push --tags
228
218
  The workflow verifies the tag matches `package.json`, runs
229
219
  `pnpm typecheck && pnpm build`, then publishes to npm with provenance.
230
220
 
231
- The `NPM_TOKEN` GitHub repository secret must be configured (an
232
- "Automation" or "Granular" token from npmjs.com with publish rights to
233
- `@updraft-solutions/mcrit-sdk`).
234
-
235
221
  ---
236
222
 
237
223
  ## License
@@ -9,7 +9,7 @@ var zContactDTO = _zod.z.object({
9
9
  company: _zod.z.string().nullable().optional(),
10
10
  fax: _zod.z.string().nullable().optional()
11
11
  });
12
- var zPhpMoneyObject = _zod.z.object({
12
+ var zMoneyObject = _zod.z.object({
13
13
  amount: _zod.z.number(),
14
14
  currency: _zod.z.string(),
15
15
  formatted: _zod.z.string()
@@ -537,8 +537,8 @@ var documentType = _zod.z.object({
537
537
  });
538
538
  var priceSchema = _zod.z.object({
539
539
  id: _zod.z.number(),
540
- gross_total: zPhpMoneyObject,
541
- net_total: zPhpMoneyObject,
540
+ gross_total: zMoneyObject,
541
+ net_total: zMoneyObject,
542
542
  tax_percentage: _zod.z.number(),
543
543
  valid_from: _zod.z.string(),
544
544
  created_at: _zod.z.string(),
@@ -1169,8 +1169,8 @@ var flightLogSchema = _zod.z.object({
1169
1169
  arr_airport: airportSchema.optional(),
1170
1170
  from: _zod.z.string().nullable().optional(),
1171
1171
  to: _zod.z.string().nullable().optional(),
1172
- costs: zPhpMoneyObject.nullable().optional(),
1173
- charge: zPhpMoneyObject.nullable().optional(),
1172
+ costs: zMoneyObject.nullable().optional(),
1173
+ charge: zMoneyObject.nullable().optional(),
1174
1174
  remarks: _zod.z.string().nullable().optional(),
1175
1175
  created_at: _zod.z.string(),
1176
1176
  updated_at: _zod.z.string(),
@@ -1185,7 +1185,7 @@ var invoiceSchema = _zod.z.object({
1185
1185
  title: _zod.z.string(),
1186
1186
  membership_id: _zod.z.number(),
1187
1187
  membership: baseMembershipSchema.optional(),
1188
- // InvoiceResource.php always emits `billing_profile_id` (non-optional key,
1188
+ // InvoiceResource always emits `billing_profile_id` (non-optional key,
1189
1189
  // nullable FK value). `billingProfile` is a `whenLoaded('billingProfile')`
1190
1190
  // relation, so it stays optional. (Fix round 1: as of the original Task 16
1191
1191
  // commit, InvoiceResource hadn't gained `billing_profile_id` yet — it was
@@ -1201,10 +1201,10 @@ var invoiceSchema = _zod.z.object({
1201
1201
  due_date: _zod.z.string().nullable().optional(),
1202
1202
  status: _zod.z.string().nullable().optional(),
1203
1203
  paid_status: _zod.z.string().nullable().optional(),
1204
- total: zPhpMoneyObject.nullable().optional(),
1205
- subtotal: zPhpMoneyObject.nullable().optional(),
1206
- tax_amount: zPhpMoneyObject.nullable().optional(),
1207
- discount_amount: zPhpMoneyObject.nullable().optional(),
1204
+ total: zMoneyObject.nullable().optional(),
1205
+ subtotal: zMoneyObject.nullable().optional(),
1206
+ tax_amount: zMoneyObject.nullable().optional(),
1207
+ discount_amount: zMoneyObject.nullable().optional(),
1208
1208
  paid_at: _zod.z.string().nullable().optional(),
1209
1209
  released_at: _zod.z.string().nullable().optional(),
1210
1210
  sent: _zod.z.number().default(0),
@@ -1237,8 +1237,8 @@ var invoiceSchema = _zod.z.object({
1237
1237
  issuer_vat_id: _zod.z.string().nullable().optional(),
1238
1238
  issuer_register_court: _zod.z.string().nullable().optional(),
1239
1239
  issuer_register_number: _zod.z.string().nullable().optional(),
1240
- gross_total: zPhpMoneyObject.nullable().optional(),
1241
- net_total: zPhpMoneyObject.nullable().optional(),
1240
+ gross_total: zMoneyObject.nullable().optional(),
1241
+ net_total: zMoneyObject.nullable().optional(),
1242
1242
  // InvoiceResource media envelope: only the generated PDF.
1243
1243
  media: _zod.z.object({
1244
1244
  pdf: mediaSchema.nullable().optional()
@@ -1285,7 +1285,7 @@ var expenseSchema = _zod.z.object({
1285
1285
  membership: baseMembershipSchema.optional(),
1286
1286
  title: _zod.z.string(),
1287
1287
  description: _zod.z.string().nullable().optional(),
1288
- amount: zPhpMoneyObject,
1288
+ amount: zMoneyObject,
1289
1289
  status: _zod.z.string().nullable().optional(),
1290
1290
  expense_date: _zod.z.string().nullable().optional(),
1291
1291
  invoice_id: _zod.z.number().nullable().optional(),
@@ -1313,7 +1313,7 @@ var courseSchema = _zod.z.object({
1313
1313
  start_date: _zod.z.string().nullable().optional(),
1314
1314
  end_date: _zod.z.string().nullable().optional(),
1315
1315
  max_participants: _zod.z.number().nullable().optional(),
1316
- price: zPhpMoneyObject.nullable().optional(),
1316
+ price: zMoneyObject.nullable().optional(),
1317
1317
  instructor_id: _zod.z.number().nullable().optional(),
1318
1318
  instructor: userSchema.optional(),
1319
1319
  aircraft_required: _zod.z.boolean().default(false),
@@ -1369,8 +1369,7 @@ var courseEnrollmentSchema = _zod.z.object({
1369
1369
  comments: _zod.z.string().nullable().optional(),
1370
1370
  initial_payment_generated: _zod.z.boolean().optional(),
1371
1371
  initial_payment_removable: _zod.z.boolean().optional(),
1372
- // Element-driven training progress (see m-crit-api
1373
- // docs/features/training-tracking.md).
1372
+ // Element-driven training progress.
1374
1373
  tracked_training_elements_count: _zod.z.number().optional(),
1375
1374
  progress_source: _zod.z.enum(["training_elements", "milestones"]).optional(),
1376
1375
  metrics: courseEnrollmentMetricsSchema.optional(),
@@ -1459,7 +1458,7 @@ var landingSchema = _zod.z.object({
1459
1458
  airport: airportSchema.optional(),
1460
1459
  landing_fee_id: _zod.z.number().nullable().optional(),
1461
1460
  landing_time: _zod.z.string(),
1462
- price: zPhpMoneyObject.nullable().optional(),
1461
+ price: zMoneyObject.nullable().optional(),
1463
1462
  created_at: _zod.z.string(),
1464
1463
  updated_at: _zod.z.string()
1465
1464
  });
@@ -1511,12 +1510,18 @@ var settingSchema = _zod.z.object({
1511
1510
  created_at: _zod.z.string(),
1512
1511
  updated_at: _zod.z.string()
1513
1512
  });
1513
+ var postSubjectSchema = _zod.z.object({
1514
+ type: _zod.z.enum(["airplane", "course"]),
1515
+ id: _zod.z.number(),
1516
+ label: _zod.z.string()
1517
+ });
1514
1518
  var postSchema = _zod.z.object({
1515
1519
  type: _zod.z.literal("post"),
1516
1520
  id: _zod.z.number(),
1517
1521
  company_id: _zod.z.number(),
1518
1522
  postable_type: _zod.z.string().nullable().optional(),
1519
1523
  postable_id: _zod.z.number().nullable().optional(),
1524
+ postable: postSubjectSchema.nullable().optional(),
1520
1525
  author_id: _zod.z.number(),
1521
1526
  author: userSchema.optional(),
1522
1527
  title: _zod.z.string().nullable().optional(),
@@ -1524,12 +1529,16 @@ var postSchema = _zod.z.object({
1524
1529
  sticky: _zod.z.boolean().default(false),
1525
1530
  public: _zod.z.boolean().default(false),
1526
1531
  comments_disabled: _zod.z.boolean().default(false),
1532
+ /** Present when the endpoint counts comments (listings + show). */
1533
+ comments_count: _zod.z.number().nullable().optional(),
1527
1534
  tags: _zod.z.array(tagSchema).optional(),
1528
1535
  media: mediaCollection.optional(),
1529
1536
  created_at: _zod.z.string(),
1530
1537
  updated_at: _zod.z.string(),
1531
1538
  can: _zod.z.object({
1532
1539
  view: zNullableBool,
1540
+ viewComments: zNullableBool,
1541
+ createComments: zNullableBool,
1533
1542
  update: zNullableBool,
1534
1543
  delete: zNullableBool,
1535
1544
  setFlags: zNullableBool,
@@ -1613,8 +1622,8 @@ var prePaidPackageSchema = _zod.z.object({
1613
1622
  company: companySchema.optional(),
1614
1623
  name: _zod.z.string(),
1615
1624
  description: _zod.z.string().nullable().optional(),
1616
- balance: zPhpMoneyObject,
1617
- initial_amount: zPhpMoneyObject,
1625
+ balance: zMoneyObject,
1626
+ initial_amount: zMoneyObject,
1618
1627
  discount_percentage: _zod.z.number().nullable().optional(),
1619
1628
  valid_until: _zod.z.string().nullable().optional(),
1620
1629
  created_at: _zod.z.string(),
@@ -1630,7 +1639,7 @@ var prePaidPackageAssignmentSchema = _zod.z.object({
1630
1639
  flight_log_id: _zod.z.number().nullable().optional(),
1631
1640
  expense_item_id: _zod.z.number().nullable().optional(),
1632
1641
  pre_paid_package_id: _zod.z.number().nullable().optional(),
1633
- gross_total: zPhpMoneyObject.nullable().optional(),
1642
+ gross_total: zMoneyObject.nullable().optional(),
1634
1643
  created_at: _zod.z.string().nullable().optional(),
1635
1644
  updated_at: _zod.z.string().nullable().optional()
1636
1645
  });
@@ -1662,10 +1671,10 @@ var expenseItemSchema = _zod.z.object({
1662
1671
  company_id: _zod.z.number(),
1663
1672
  membership_id: _zod.z.number(),
1664
1673
  billing_profile_id: _zod.z.number().nullable(),
1665
- gross_total_before_vouchers: zPhpMoneyObject,
1666
- gross_total: zPhpMoneyObject,
1667
- net_total: zPhpMoneyObject,
1668
- tax_total: zPhpMoneyObject,
1674
+ gross_total_before_vouchers: zMoneyObject,
1675
+ gross_total: zMoneyObject,
1676
+ net_total: zMoneyObject,
1677
+ tax_total: zMoneyObject,
1669
1678
  // number_format(…, 2) string, not a number.
1670
1679
  tax_percentage: _zod.z.string(),
1671
1680
  billable: _zod.z.boolean(),
@@ -2744,4 +2753,5 @@ var TodoSchema = _zod.z.object({
2744
2753
 
2745
2754
 
2746
2755
 
2747
- exports.zNullableBool = zNullableBool; exports.zNetGross = zNetGross; exports.zContactDTO = zContactDTO; exports.zPhpMoneyObject = zPhpMoneyObject; exports.contactAttributeSchema = contactAttributeSchema; exports.BaseModel = BaseModel; exports.mediaSchema = mediaSchema; exports.mediaCollection = mediaCollection; exports.impersonationParticipantSchema = impersonationParticipantSchema; exports.impersonationStateSchema = impersonationStateSchema; exports.userSchema = userSchema; exports.companySchema = companySchema; exports.equipmentSchema = equipmentSchema; exports.gradingScalePointSchema = gradingScalePointSchema; exports.gradingScaleSchema = gradingScaleSchema; exports.GradingScaleFormSchema = GradingScaleFormSchema; exports.TrainingElementKindEnum = TrainingElementKindEnum; exports.trainingElementSchema = trainingElementSchema; exports.TrainingElementFormSchema = TrainingElementFormSchema; exports.SyllabusKindEnum = SyllabusKindEnum; exports.syllabusElementSchema = syllabusElementSchema; exports.AttachSyllabusElementFormSchema = AttachSyllabusElementFormSchema; exports.UpdateSyllabusElementFormSchema = UpdateSyllabusElementFormSchema; exports.ReorderSyllabusElementItemSchema = ReorderSyllabusElementItemSchema; exports.usedByCourseSchema = usedByCourseSchema; exports.syllabusSchema = syllabusSchema; exports.StoreSyllabusFormSchema = StoreSyllabusFormSchema; exports.UpdateSyllabusFormSchema = UpdateSyllabusFormSchema; exports.courseCheckSyllabusSchema = courseCheckSyllabusSchema; exports.syllabusElementMutationResultSchema = syllabusElementMutationResultSchema; exports.syllabusRolloutResultItemSchema = syllabusRolloutResultItemSchema; exports.syllabusRolloutSkippedItemSchema = syllabusRolloutSkippedItemSchema; exports.syllabusRolloutResultSchema = syllabusRolloutResultSchema; exports.EnrollmentTrainingStatusEnum = EnrollmentTrainingStatusEnum; exports.gradeHistoryItemSchema = gradeHistoryItemSchema; exports.enrollmentTrainingElementSchema = enrollmentTrainingElementSchema; exports.SignOffTrainingElementFormSchema = SignOffTrainingElementFormSchema; exports.TrainingRecordStatusEnum = TrainingRecordStatusEnum; exports.TrainingRecordResultEnum = TrainingRecordResultEnum; exports.trainingRecordEntrySchema = trainingRecordEntrySchema; exports.trainingRecordEntryInputSchema = trainingRecordEntryInputSchema; exports.trainingSignatureSchema = trainingSignatureSchema; exports.trainingRecordSchema = trainingRecordSchema; exports.UpsertTrainingRecordFormSchema = UpsertTrainingRecordFormSchema; exports.invalidateTrainingRecordResponseSchema = invalidateTrainingRecordResponseSchema; exports.trainingTemplatePackSchema = trainingTemplatePackSchema; exports.CreateSyllabusFromTemplateFormSchema = CreateSyllabusFromTemplateFormSchema; exports.createSyllabusFromTemplateResultSchema = createSyllabusFromTemplateResultSchema; exports.baseMembershipSchema = baseMembershipSchema; exports.membershipSchema = membershipSchema; exports.documentType = documentType; exports.priceSchema = priceSchema; exports.feeSchema = feeSchema; exports.feeCategoryOptionsSchema = feeCategoryOptionsSchema; exports.courseFeeSchema = courseFeeSchema; exports.airplaneSchema = airplaneSchema; exports.aircraftPositionSchema = aircraftPositionSchema; exports.airplaneShareInviteSchema = airplaneShareInviteSchema; exports.airplanePermissionSchema = airplanePermissionSchema; exports.landingFeeSchema = landingFeeSchema; exports.aircraftRatingSchema = aircraftRatingSchema; exports.userAircraftRatingSchema = userAircraftRatingSchema; exports.userQualificationSchema = userQualificationSchema; exports.airportSchema = airportSchema; exports.recurringFlightSchema = recurringFlightSchema; exports.maintenanceEventSchema = maintenanceEventSchema; exports.maintenanceEventEstimationSchema = maintenanceEventEstimationSchema; exports.maintenanceStatusSchema = maintenanceStatusSchema; exports.extendedAirplaneSchema = extendedAirplaneSchema; exports.availSchema = availSchema; exports.bookingWaypointSchema = bookingWaypointSchema; exports.activitySchema = activitySchema; exports.bookingSchema = bookingSchema; exports.alertSchema = alertSchema; exports.documentSchema = documentSchema; exports.documentRequirement = documentRequirement; exports.documentRequirementGroup = documentRequirementGroup; exports.documentRequirementGroupAssignment = documentRequirementGroupAssignment; exports.documentComplianceStatus = documentComplianceStatus; exports.documentShareSchema = documentShareSchema; exports.allowedDocumentTypeSchema = allowedDocumentTypeSchema; exports.billingProfileSchema = billingProfileSchema; exports.flightLogSchema = flightLogSchema; exports.invoiceSchema = invoiceSchema; exports.scheduledFlightSchema = scheduledFlightSchema; exports.qualificationSchema = qualificationSchema; exports.expenseSchema = expenseSchema; exports.tagSchema = tagSchema; exports.courseSchema = courseSchema; exports.courseEnrollmentMetricsSchema = courseEnrollmentMetricsSchema; exports.courseEnrollmentSchema = courseEnrollmentSchema; exports.membershipSignupSchema = membershipSignupSchema; exports.eventSchema = eventSchema; exports.addressSchema = addressSchema; exports.roleSchema = roleSchema; exports.landingSchema = landingSchema; exports.ticketSchema = ticketSchema; exports.runwaySchema = runwaySchema; exports.settingSchema = settingSchema; exports.postSchema = postSchema; exports.commentSchema = commentSchema; exports.airplaneIssueSeverityEnum = airplaneIssueSeverityEnum; exports.airplaneIssueStatusEnum = airplaneIssueStatusEnum; exports.airplaneIssueSchema = airplaneIssueSchema; exports.specialFlightSchema = specialFlightSchema; exports.prePaidPackageSchema = prePaidPackageSchema; exports.prePaidPackageAssignmentSchema = prePaidPackageAssignmentSchema; exports.expenseItemSchema = expenseItemSchema; exports.waypointSchema = waypointSchema; exports.approachTypeSchema = approachTypeSchema; exports.FaqStatus = FaqStatus; exports.FaqSchema = FaqSchema; exports.SubmitFaqQuestionSchema = SubmitFaqQuestionSchema; exports.ReviewFaqSchema = ReviewFaqSchema; exports.SafetyReportStatusEnum = SafetyReportStatusEnum; exports.SafetyReportCategorySchema = SafetyReportCategorySchema; exports.SafetyReportCategoryFormSchema = SafetyReportCategoryFormSchema; exports.SafetyReportMediaSchema = SafetyReportMediaSchema; exports.SafetyReportSchema = SafetyReportSchema; exports.SafetyReportListResponseSchema = SafetyReportListResponseSchema; exports.SafetyReportFormSchema = SafetyReportFormSchema; exports.SafetyReportUpdateSchema = SafetyReportUpdateSchema; exports.SafetyReportFilterSchema = SafetyReportFilterSchema; exports.SafetyReportSubmissionResponseSchema = SafetyReportSubmissionResponseSchema; exports.SAFETY_REPORT_STATUS_LABELS = SAFETY_REPORT_STATUS_LABELS; exports.SAFETY_REPORT_STATUS_COLORS = SAFETY_REPORT_STATUS_COLORS; exports.FormFieldType = FormFieldType; exports.FormSubmissionStatus = FormSubmissionStatus; exports.FormSubmissionSource = FormSubmissionSource; exports.FieldLabelSchema = FieldLabelSchema; exports.ShowWhenSchema = ShowWhenSchema; exports.SchemaFieldSchema = SchemaFieldSchema; exports.SchemaSectionSchema = SchemaSectionSchema; exports.TemplateSchemaSchema = TemplateSchemaSchema; exports.FormTemplateSchema = FormTemplateSchema; exports.FormTemplateAssignmentSchema = FormTemplateAssignmentSchema; exports.SignatureSchema = SignatureSchema; exports.SubmissionFileSchema = SubmissionFileSchema; exports.FormSubmissionShareBaseSchema = FormSubmissionShareBaseSchema; exports.FormSubmissionSchema = FormSubmissionSchema; exports.FormSubmissionShareSchema = FormSubmissionShareSchema; exports.RequiredFormViaCrewSchema = RequiredFormViaCrewSchema; exports.RequiredFormViaSchema = RequiredFormViaSchema; exports.RequiredFormSchema = RequiredFormSchema; exports.CourseMilestoneKindEnum = CourseMilestoneKindEnum; exports.courseMilestoneSchema = courseMilestoneSchema; exports.CourseMilestoneFormSchema = CourseMilestoneFormSchema; exports.courseEnrollmentMilestoneSchema = courseEnrollmentMilestoneSchema; exports.NewsletterBlockType = NewsletterBlockType; exports.TipTapNodeSchema = TipTapNodeSchema; exports.HeadingBlockSchema = HeadingBlockSchema; exports.ParagraphBlockSchema = ParagraphBlockSchema; exports.ButtonBlockSchema = ButtonBlockSchema; exports.DividerBlockSchema = DividerBlockSchema; exports.NewsletterBlockSchema = NewsletterBlockSchema; exports.NewsletterCategorySchema = NewsletterCategorySchema; exports.NewsletterTemplateSchemaSchema = NewsletterTemplateSchemaSchema; exports.NewsletterTemplateSchema = NewsletterTemplateSchema; exports.CreateNewsletterTemplateInputSchema = CreateNewsletterTemplateInputSchema; exports.AudienceBucketType = AudienceBucketType; exports.AllUsersBucketSchema = AllUsersBucketSchema; exports.CompanyUsersBucketSchema = CompanyUsersBucketSchema; exports.RoleMembersBucketSchema = RoleMembersBucketSchema; exports.AudienceBucketSchema = AudienceBucketSchema; exports.NewsletterAudienceSchema = NewsletterAudienceSchema; exports.companyAudienceInclude = companyAudienceInclude; exports.NewsletterCampaignStatus = NewsletterCampaignStatus; exports.NewsletterCampaignSchema = NewsletterCampaignSchema; exports.CreateNewsletterCampaignInputSchema = CreateNewsletterCampaignInputSchema; exports.NewsletterRecipientStatus = NewsletterRecipientStatus; exports.NewsletterCampaignRecipientSchema = NewsletterCampaignRecipientSchema; exports.NewsletterPreferenceRowSchema = NewsletterPreferenceRowSchema; exports.ALLOWED_NEWSLETTER_VARIABLES = ALLOWED_NEWSLETTER_VARIABLES; exports.LocationMapKind = LocationMapKind; exports.LocationFeatureVisibility = LocationFeatureVisibility; exports.ALLOWED_GEOMETRY_TYPES = ALLOWED_GEOMETRY_TYPES; exports.ViewportSchema = ViewportSchema; exports.GeometrySchema = GeometrySchema; exports.CreateLocationMapSchema = CreateLocationMapSchema; exports.UpdateLocationMapSchema = UpdateLocationMapSchema; exports.CreateLocationMapFeatureSchema = CreateLocationMapFeatureSchema; exports.UpdateLocationMapFeatureSchema = UpdateLocationMapFeatureSchema; exports.ImportFeaturesSchema = ImportFeaturesSchema; exports.TodoActionSchema = TodoActionSchema; exports.TodoKey = TodoKey; exports.TodoSchema = TodoSchema;
2756
+
2757
+ exports.zNullableBool = zNullableBool; exports.zNetGross = zNetGross; exports.zContactDTO = zContactDTO; exports.zMoneyObject = zMoneyObject; exports.contactAttributeSchema = contactAttributeSchema; exports.BaseModel = BaseModel; exports.mediaSchema = mediaSchema; exports.mediaCollection = mediaCollection; exports.impersonationParticipantSchema = impersonationParticipantSchema; exports.impersonationStateSchema = impersonationStateSchema; exports.userSchema = userSchema; exports.companySchema = companySchema; exports.equipmentSchema = equipmentSchema; exports.gradingScalePointSchema = gradingScalePointSchema; exports.gradingScaleSchema = gradingScaleSchema; exports.GradingScaleFormSchema = GradingScaleFormSchema; exports.TrainingElementKindEnum = TrainingElementKindEnum; exports.trainingElementSchema = trainingElementSchema; exports.TrainingElementFormSchema = TrainingElementFormSchema; exports.SyllabusKindEnum = SyllabusKindEnum; exports.syllabusElementSchema = syllabusElementSchema; exports.AttachSyllabusElementFormSchema = AttachSyllabusElementFormSchema; exports.UpdateSyllabusElementFormSchema = UpdateSyllabusElementFormSchema; exports.ReorderSyllabusElementItemSchema = ReorderSyllabusElementItemSchema; exports.usedByCourseSchema = usedByCourseSchema; exports.syllabusSchema = syllabusSchema; exports.StoreSyllabusFormSchema = StoreSyllabusFormSchema; exports.UpdateSyllabusFormSchema = UpdateSyllabusFormSchema; exports.courseCheckSyllabusSchema = courseCheckSyllabusSchema; exports.syllabusElementMutationResultSchema = syllabusElementMutationResultSchema; exports.syllabusRolloutResultItemSchema = syllabusRolloutResultItemSchema; exports.syllabusRolloutSkippedItemSchema = syllabusRolloutSkippedItemSchema; exports.syllabusRolloutResultSchema = syllabusRolloutResultSchema; exports.EnrollmentTrainingStatusEnum = EnrollmentTrainingStatusEnum; exports.gradeHistoryItemSchema = gradeHistoryItemSchema; exports.enrollmentTrainingElementSchema = enrollmentTrainingElementSchema; exports.SignOffTrainingElementFormSchema = SignOffTrainingElementFormSchema; exports.TrainingRecordStatusEnum = TrainingRecordStatusEnum; exports.TrainingRecordResultEnum = TrainingRecordResultEnum; exports.trainingRecordEntrySchema = trainingRecordEntrySchema; exports.trainingRecordEntryInputSchema = trainingRecordEntryInputSchema; exports.trainingSignatureSchema = trainingSignatureSchema; exports.trainingRecordSchema = trainingRecordSchema; exports.UpsertTrainingRecordFormSchema = UpsertTrainingRecordFormSchema; exports.invalidateTrainingRecordResponseSchema = invalidateTrainingRecordResponseSchema; exports.trainingTemplatePackSchema = trainingTemplatePackSchema; exports.CreateSyllabusFromTemplateFormSchema = CreateSyllabusFromTemplateFormSchema; exports.createSyllabusFromTemplateResultSchema = createSyllabusFromTemplateResultSchema; exports.baseMembershipSchema = baseMembershipSchema; exports.membershipSchema = membershipSchema; exports.documentType = documentType; exports.priceSchema = priceSchema; exports.feeSchema = feeSchema; exports.feeCategoryOptionsSchema = feeCategoryOptionsSchema; exports.courseFeeSchema = courseFeeSchema; exports.airplaneSchema = airplaneSchema; exports.aircraftPositionSchema = aircraftPositionSchema; exports.airplaneShareInviteSchema = airplaneShareInviteSchema; exports.airplanePermissionSchema = airplanePermissionSchema; exports.landingFeeSchema = landingFeeSchema; exports.aircraftRatingSchema = aircraftRatingSchema; exports.userAircraftRatingSchema = userAircraftRatingSchema; exports.userQualificationSchema = userQualificationSchema; exports.airportSchema = airportSchema; exports.recurringFlightSchema = recurringFlightSchema; exports.maintenanceEventSchema = maintenanceEventSchema; exports.maintenanceEventEstimationSchema = maintenanceEventEstimationSchema; exports.maintenanceStatusSchema = maintenanceStatusSchema; exports.extendedAirplaneSchema = extendedAirplaneSchema; exports.availSchema = availSchema; exports.bookingWaypointSchema = bookingWaypointSchema; exports.activitySchema = activitySchema; exports.bookingSchema = bookingSchema; exports.alertSchema = alertSchema; exports.documentSchema = documentSchema; exports.documentRequirement = documentRequirement; exports.documentRequirementGroup = documentRequirementGroup; exports.documentRequirementGroupAssignment = documentRequirementGroupAssignment; exports.documentComplianceStatus = documentComplianceStatus; exports.documentShareSchema = documentShareSchema; exports.allowedDocumentTypeSchema = allowedDocumentTypeSchema; exports.billingProfileSchema = billingProfileSchema; exports.flightLogSchema = flightLogSchema; exports.invoiceSchema = invoiceSchema; exports.scheduledFlightSchema = scheduledFlightSchema; exports.qualificationSchema = qualificationSchema; exports.expenseSchema = expenseSchema; exports.tagSchema = tagSchema; exports.courseSchema = courseSchema; exports.courseEnrollmentMetricsSchema = courseEnrollmentMetricsSchema; exports.courseEnrollmentSchema = courseEnrollmentSchema; exports.membershipSignupSchema = membershipSignupSchema; exports.eventSchema = eventSchema; exports.addressSchema = addressSchema; exports.roleSchema = roleSchema; exports.landingSchema = landingSchema; exports.ticketSchema = ticketSchema; exports.runwaySchema = runwaySchema; exports.settingSchema = settingSchema; exports.postSubjectSchema = postSubjectSchema; exports.postSchema = postSchema; exports.commentSchema = commentSchema; exports.airplaneIssueSeverityEnum = airplaneIssueSeverityEnum; exports.airplaneIssueStatusEnum = airplaneIssueStatusEnum; exports.airplaneIssueSchema = airplaneIssueSchema; exports.specialFlightSchema = specialFlightSchema; exports.prePaidPackageSchema = prePaidPackageSchema; exports.prePaidPackageAssignmentSchema = prePaidPackageAssignmentSchema; exports.expenseItemSchema = expenseItemSchema; exports.waypointSchema = waypointSchema; exports.approachTypeSchema = approachTypeSchema; exports.FaqStatus = FaqStatus; exports.FaqSchema = FaqSchema; exports.SubmitFaqQuestionSchema = SubmitFaqQuestionSchema; exports.ReviewFaqSchema = ReviewFaqSchema; exports.SafetyReportStatusEnum = SafetyReportStatusEnum; exports.SafetyReportCategorySchema = SafetyReportCategorySchema; exports.SafetyReportCategoryFormSchema = SafetyReportCategoryFormSchema; exports.SafetyReportMediaSchema = SafetyReportMediaSchema; exports.SafetyReportSchema = SafetyReportSchema; exports.SafetyReportListResponseSchema = SafetyReportListResponseSchema; exports.SafetyReportFormSchema = SafetyReportFormSchema; exports.SafetyReportUpdateSchema = SafetyReportUpdateSchema; exports.SafetyReportFilterSchema = SafetyReportFilterSchema; exports.SafetyReportSubmissionResponseSchema = SafetyReportSubmissionResponseSchema; exports.SAFETY_REPORT_STATUS_LABELS = SAFETY_REPORT_STATUS_LABELS; exports.SAFETY_REPORT_STATUS_COLORS = SAFETY_REPORT_STATUS_COLORS; exports.FormFieldType = FormFieldType; exports.FormSubmissionStatus = FormSubmissionStatus; exports.FormSubmissionSource = FormSubmissionSource; exports.FieldLabelSchema = FieldLabelSchema; exports.ShowWhenSchema = ShowWhenSchema; exports.SchemaFieldSchema = SchemaFieldSchema; exports.SchemaSectionSchema = SchemaSectionSchema; exports.TemplateSchemaSchema = TemplateSchemaSchema; exports.FormTemplateSchema = FormTemplateSchema; exports.FormTemplateAssignmentSchema = FormTemplateAssignmentSchema; exports.SignatureSchema = SignatureSchema; exports.SubmissionFileSchema = SubmissionFileSchema; exports.FormSubmissionShareBaseSchema = FormSubmissionShareBaseSchema; exports.FormSubmissionSchema = FormSubmissionSchema; exports.FormSubmissionShareSchema = FormSubmissionShareSchema; exports.RequiredFormViaCrewSchema = RequiredFormViaCrewSchema; exports.RequiredFormViaSchema = RequiredFormViaSchema; exports.RequiredFormSchema = RequiredFormSchema; exports.CourseMilestoneKindEnum = CourseMilestoneKindEnum; exports.courseMilestoneSchema = courseMilestoneSchema; exports.CourseMilestoneFormSchema = CourseMilestoneFormSchema; exports.courseEnrollmentMilestoneSchema = courseEnrollmentMilestoneSchema; exports.NewsletterBlockType = NewsletterBlockType; exports.TipTapNodeSchema = TipTapNodeSchema; exports.HeadingBlockSchema = HeadingBlockSchema; exports.ParagraphBlockSchema = ParagraphBlockSchema; exports.ButtonBlockSchema = ButtonBlockSchema; exports.DividerBlockSchema = DividerBlockSchema; exports.NewsletterBlockSchema = NewsletterBlockSchema; exports.NewsletterCategorySchema = NewsletterCategorySchema; exports.NewsletterTemplateSchemaSchema = NewsletterTemplateSchemaSchema; exports.NewsletterTemplateSchema = NewsletterTemplateSchema; exports.CreateNewsletterTemplateInputSchema = CreateNewsletterTemplateInputSchema; exports.AudienceBucketType = AudienceBucketType; exports.AllUsersBucketSchema = AllUsersBucketSchema; exports.CompanyUsersBucketSchema = CompanyUsersBucketSchema; exports.RoleMembersBucketSchema = RoleMembersBucketSchema; exports.AudienceBucketSchema = AudienceBucketSchema; exports.NewsletterAudienceSchema = NewsletterAudienceSchema; exports.companyAudienceInclude = companyAudienceInclude; exports.NewsletterCampaignStatus = NewsletterCampaignStatus; exports.NewsletterCampaignSchema = NewsletterCampaignSchema; exports.CreateNewsletterCampaignInputSchema = CreateNewsletterCampaignInputSchema; exports.NewsletterRecipientStatus = NewsletterRecipientStatus; exports.NewsletterCampaignRecipientSchema = NewsletterCampaignRecipientSchema; exports.NewsletterPreferenceRowSchema = NewsletterPreferenceRowSchema; exports.ALLOWED_NEWSLETTER_VARIABLES = ALLOWED_NEWSLETTER_VARIABLES; exports.LocationMapKind = LocationMapKind; exports.LocationFeatureVisibility = LocationFeatureVisibility; exports.ALLOWED_GEOMETRY_TYPES = ALLOWED_GEOMETRY_TYPES; exports.ViewportSchema = ViewportSchema; exports.GeometrySchema = GeometrySchema; exports.CreateLocationMapSchema = CreateLocationMapSchema; exports.UpdateLocationMapSchema = UpdateLocationMapSchema; exports.CreateLocationMapFeatureSchema = CreateLocationMapFeatureSchema; exports.UpdateLocationMapFeatureSchema = UpdateLocationMapFeatureSchema; exports.ImportFeaturesSchema = ImportFeaturesSchema; exports.TodoActionSchema = TodoActionSchema; exports.TodoKey = TodoKey; exports.TodoSchema = TodoSchema;
@@ -9,7 +9,7 @@ var zContactDTO = z.object({
9
9
  company: z.string().nullable().optional(),
10
10
  fax: z.string().nullable().optional()
11
11
  });
12
- var zPhpMoneyObject = z.object({
12
+ var zMoneyObject = z.object({
13
13
  amount: z.number(),
14
14
  currency: z.string(),
15
15
  formatted: z.string()
@@ -537,8 +537,8 @@ var documentType = z4.object({
537
537
  });
538
538
  var priceSchema = z4.object({
539
539
  id: z4.number(),
540
- gross_total: zPhpMoneyObject,
541
- net_total: zPhpMoneyObject,
540
+ gross_total: zMoneyObject,
541
+ net_total: zMoneyObject,
542
542
  tax_percentage: z4.number(),
543
543
  valid_from: z4.string(),
544
544
  created_at: z4.string(),
@@ -1169,8 +1169,8 @@ var flightLogSchema = z4.object({
1169
1169
  arr_airport: airportSchema.optional(),
1170
1170
  from: z4.string().nullable().optional(),
1171
1171
  to: z4.string().nullable().optional(),
1172
- costs: zPhpMoneyObject.nullable().optional(),
1173
- charge: zPhpMoneyObject.nullable().optional(),
1172
+ costs: zMoneyObject.nullable().optional(),
1173
+ charge: zMoneyObject.nullable().optional(),
1174
1174
  remarks: z4.string().nullable().optional(),
1175
1175
  created_at: z4.string(),
1176
1176
  updated_at: z4.string(),
@@ -1185,7 +1185,7 @@ var invoiceSchema = z4.object({
1185
1185
  title: z4.string(),
1186
1186
  membership_id: z4.number(),
1187
1187
  membership: baseMembershipSchema.optional(),
1188
- // InvoiceResource.php always emits `billing_profile_id` (non-optional key,
1188
+ // InvoiceResource always emits `billing_profile_id` (non-optional key,
1189
1189
  // nullable FK value). `billingProfile` is a `whenLoaded('billingProfile')`
1190
1190
  // relation, so it stays optional. (Fix round 1: as of the original Task 16
1191
1191
  // commit, InvoiceResource hadn't gained `billing_profile_id` yet — it was
@@ -1201,10 +1201,10 @@ var invoiceSchema = z4.object({
1201
1201
  due_date: z4.string().nullable().optional(),
1202
1202
  status: z4.string().nullable().optional(),
1203
1203
  paid_status: z4.string().nullable().optional(),
1204
- total: zPhpMoneyObject.nullable().optional(),
1205
- subtotal: zPhpMoneyObject.nullable().optional(),
1206
- tax_amount: zPhpMoneyObject.nullable().optional(),
1207
- discount_amount: zPhpMoneyObject.nullable().optional(),
1204
+ total: zMoneyObject.nullable().optional(),
1205
+ subtotal: zMoneyObject.nullable().optional(),
1206
+ tax_amount: zMoneyObject.nullable().optional(),
1207
+ discount_amount: zMoneyObject.nullable().optional(),
1208
1208
  paid_at: z4.string().nullable().optional(),
1209
1209
  released_at: z4.string().nullable().optional(),
1210
1210
  sent: z4.number().default(0),
@@ -1237,8 +1237,8 @@ var invoiceSchema = z4.object({
1237
1237
  issuer_vat_id: z4.string().nullable().optional(),
1238
1238
  issuer_register_court: z4.string().nullable().optional(),
1239
1239
  issuer_register_number: z4.string().nullable().optional(),
1240
- gross_total: zPhpMoneyObject.nullable().optional(),
1241
- net_total: zPhpMoneyObject.nullable().optional(),
1240
+ gross_total: zMoneyObject.nullable().optional(),
1241
+ net_total: zMoneyObject.nullable().optional(),
1242
1242
  // InvoiceResource media envelope: only the generated PDF.
1243
1243
  media: z4.object({
1244
1244
  pdf: mediaSchema.nullable().optional()
@@ -1285,7 +1285,7 @@ var expenseSchema = z4.object({
1285
1285
  membership: baseMembershipSchema.optional(),
1286
1286
  title: z4.string(),
1287
1287
  description: z4.string().nullable().optional(),
1288
- amount: zPhpMoneyObject,
1288
+ amount: zMoneyObject,
1289
1289
  status: z4.string().nullable().optional(),
1290
1290
  expense_date: z4.string().nullable().optional(),
1291
1291
  invoice_id: z4.number().nullable().optional(),
@@ -1313,7 +1313,7 @@ var courseSchema = z4.object({
1313
1313
  start_date: z4.string().nullable().optional(),
1314
1314
  end_date: z4.string().nullable().optional(),
1315
1315
  max_participants: z4.number().nullable().optional(),
1316
- price: zPhpMoneyObject.nullable().optional(),
1316
+ price: zMoneyObject.nullable().optional(),
1317
1317
  instructor_id: z4.number().nullable().optional(),
1318
1318
  instructor: userSchema.optional(),
1319
1319
  aircraft_required: z4.boolean().default(false),
@@ -1369,8 +1369,7 @@ var courseEnrollmentSchema = z4.object({
1369
1369
  comments: z4.string().nullable().optional(),
1370
1370
  initial_payment_generated: z4.boolean().optional(),
1371
1371
  initial_payment_removable: z4.boolean().optional(),
1372
- // Element-driven training progress (see m-crit-api
1373
- // docs/features/training-tracking.md).
1372
+ // Element-driven training progress.
1374
1373
  tracked_training_elements_count: z4.number().optional(),
1375
1374
  progress_source: z4.enum(["training_elements", "milestones"]).optional(),
1376
1375
  metrics: courseEnrollmentMetricsSchema.optional(),
@@ -1459,7 +1458,7 @@ var landingSchema = z4.object({
1459
1458
  airport: airportSchema.optional(),
1460
1459
  landing_fee_id: z4.number().nullable().optional(),
1461
1460
  landing_time: z4.string(),
1462
- price: zPhpMoneyObject.nullable().optional(),
1461
+ price: zMoneyObject.nullable().optional(),
1463
1462
  created_at: z4.string(),
1464
1463
  updated_at: z4.string()
1465
1464
  });
@@ -1511,12 +1510,18 @@ var settingSchema = z4.object({
1511
1510
  created_at: z4.string(),
1512
1511
  updated_at: z4.string()
1513
1512
  });
1513
+ var postSubjectSchema = z4.object({
1514
+ type: z4.enum(["airplane", "course"]),
1515
+ id: z4.number(),
1516
+ label: z4.string()
1517
+ });
1514
1518
  var postSchema = z4.object({
1515
1519
  type: z4.literal("post"),
1516
1520
  id: z4.number(),
1517
1521
  company_id: z4.number(),
1518
1522
  postable_type: z4.string().nullable().optional(),
1519
1523
  postable_id: z4.number().nullable().optional(),
1524
+ postable: postSubjectSchema.nullable().optional(),
1520
1525
  author_id: z4.number(),
1521
1526
  author: userSchema.optional(),
1522
1527
  title: z4.string().nullable().optional(),
@@ -1524,12 +1529,16 @@ var postSchema = z4.object({
1524
1529
  sticky: z4.boolean().default(false),
1525
1530
  public: z4.boolean().default(false),
1526
1531
  comments_disabled: z4.boolean().default(false),
1532
+ /** Present when the endpoint counts comments (listings + show). */
1533
+ comments_count: z4.number().nullable().optional(),
1527
1534
  tags: z4.array(tagSchema).optional(),
1528
1535
  media: mediaCollection.optional(),
1529
1536
  created_at: z4.string(),
1530
1537
  updated_at: z4.string(),
1531
1538
  can: z4.object({
1532
1539
  view: zNullableBool,
1540
+ viewComments: zNullableBool,
1541
+ createComments: zNullableBool,
1533
1542
  update: zNullableBool,
1534
1543
  delete: zNullableBool,
1535
1544
  setFlags: zNullableBool,
@@ -1613,8 +1622,8 @@ var prePaidPackageSchema = z4.object({
1613
1622
  company: companySchema.optional(),
1614
1623
  name: z4.string(),
1615
1624
  description: z4.string().nullable().optional(),
1616
- balance: zPhpMoneyObject,
1617
- initial_amount: zPhpMoneyObject,
1625
+ balance: zMoneyObject,
1626
+ initial_amount: zMoneyObject,
1618
1627
  discount_percentage: z4.number().nullable().optional(),
1619
1628
  valid_until: z4.string().nullable().optional(),
1620
1629
  created_at: z4.string(),
@@ -1630,7 +1639,7 @@ var prePaidPackageAssignmentSchema = z4.object({
1630
1639
  flight_log_id: z4.number().nullable().optional(),
1631
1640
  expense_item_id: z4.number().nullable().optional(),
1632
1641
  pre_paid_package_id: z4.number().nullable().optional(),
1633
- gross_total: zPhpMoneyObject.nullable().optional(),
1642
+ gross_total: zMoneyObject.nullable().optional(),
1634
1643
  created_at: z4.string().nullable().optional(),
1635
1644
  updated_at: z4.string().nullable().optional()
1636
1645
  });
@@ -1662,10 +1671,10 @@ var expenseItemSchema = z4.object({
1662
1671
  company_id: z4.number(),
1663
1672
  membership_id: z4.number(),
1664
1673
  billing_profile_id: z4.number().nullable(),
1665
- gross_total_before_vouchers: zPhpMoneyObject,
1666
- gross_total: zPhpMoneyObject,
1667
- net_total: zPhpMoneyObject,
1668
- tax_total: zPhpMoneyObject,
1674
+ gross_total_before_vouchers: zMoneyObject,
1675
+ gross_total: zMoneyObject,
1676
+ net_total: zMoneyObject,
1677
+ tax_total: zMoneyObject,
1669
1678
  // number_format(…, 2) string, not a number.
1670
1679
  tax_percentage: z4.string(),
1671
1680
  billable: z4.boolean(),
@@ -2561,7 +2570,7 @@ export {
2561
2570
  zNullableBool,
2562
2571
  zNetGross,
2563
2572
  zContactDTO,
2564
- zPhpMoneyObject,
2573
+ zMoneyObject,
2565
2574
  contactAttributeSchema,
2566
2575
  BaseModel,
2567
2576
  mediaSchema,
@@ -2657,6 +2666,7 @@ export {
2657
2666
  ticketSchema,
2658
2667
  runwaySchema,
2659
2668
  settingSchema,
2669
+ postSubjectSchema,
2660
2670
  postSchema,
2661
2671
  commentSchema,
2662
2672
  airplaneIssueSeverityEnum,
@@ -2,7 +2,7 @@
2
2
  * Crew configuration consumer for the MCRIT SDK.
3
3
  *
4
4
  * No crew-role data lives in this module — the canonical source is the
5
- * backend `App\Crew\CrewConfiguration`, served via `GET /meta/crew`.
5
+ * server crew configuration, served via `GET /meta/crew`.
6
6
  * Apps fetch the config once at boot, hand it to `createCrewValidator`,
7
7
  * and use the returned validator to drive UI feedback on a live crew
8
8
  * list.
@@ -2,7 +2,7 @@
2
2
  * Crew configuration consumer for the MCRIT SDK.
3
3
  *
4
4
  * No crew-role data lives in this module — the canonical source is the
5
- * backend `App\Crew\CrewConfiguration`, served via `GET /meta/crew`.
5
+ * server crew configuration, served via `GET /meta/crew`.
6
6
  * Apps fetch the config once at boot, hand it to `createCrewValidator`,
7
7
  * and use the returned validator to drive UI feedback on a live crew
8
8
  * list.
package/dist/index.cjs CHANGED
@@ -185,8 +185,9 @@
185
185
 
186
186
 
187
187
 
188
- var _chunkIDEPTVFFcjs = require('./chunk-IDEPTVFF.cjs');
189
- require('./chunk-DCEOET63.cjs');
188
+
189
+ var _chunkRN7XMRGCcjs = require('./chunk-RN7XMRGC.cjs');
190
+ require('./chunk-YVC6Q3YU.cjs');
190
191
 
191
192
 
192
193
  var _chunkLVTDNDWEcjs = require('./chunk-LVTDNDWE.cjs');
@@ -476,4 +477,5 @@ var _chunkHQSF3WGFcjs = require('./chunk-HQSF3WGF.cjs');
476
477
 
477
478
 
478
479
 
479
- exports.ALLOWED_GEOMETRY_TYPES = _chunkIDEPTVFFcjs.ALLOWED_GEOMETRY_TYPES; exports.ALLOWED_NEWSLETTER_VARIABLES = _chunkIDEPTVFFcjs.ALLOWED_NEWSLETTER_VARIABLES; exports.AllUsersBucketSchema = _chunkIDEPTVFFcjs.AllUsersBucketSchema; exports.AttachSyllabusElementFormSchema = _chunkIDEPTVFFcjs.AttachSyllabusElementFormSchema; exports.AudienceBucketSchema = _chunkIDEPTVFFcjs.AudienceBucketSchema; exports.AudienceBucketType = _chunkIDEPTVFFcjs.AudienceBucketType; exports.AvatarConversion = _chunkJRVRIKNMcjs.AvatarConversion; exports.BaseModel = _chunkIDEPTVFFcjs.BaseModel; exports.ButtonBlockSchema = _chunkIDEPTVFFcjs.ButtonBlockSchema; exports.CompanyUsersBucketSchema = _chunkIDEPTVFFcjs.CompanyUsersBucketSchema; exports.CourseMilestoneFormSchema = _chunkIDEPTVFFcjs.CourseMilestoneFormSchema; exports.CourseMilestoneKindEnum = _chunkIDEPTVFFcjs.CourseMilestoneKindEnum; exports.CreateLocationMapFeatureSchema = _chunkIDEPTVFFcjs.CreateLocationMapFeatureSchema; exports.CreateLocationMapSchema = _chunkIDEPTVFFcjs.CreateLocationMapSchema; exports.CreateNewsletterCampaignInputSchema = _chunkIDEPTVFFcjs.CreateNewsletterCampaignInputSchema; exports.CreateNewsletterTemplateInputSchema = _chunkIDEPTVFFcjs.CreateNewsletterTemplateInputSchema; exports.CreateSyllabusFromTemplateFormSchema = _chunkIDEPTVFFcjs.CreateSyllabusFromTemplateFormSchema; exports.DATE_FORMATS = _chunkIVMOR5SWcjs.DATE_FORMATS; exports.DividerBlockSchema = _chunkIDEPTVFFcjs.DividerBlockSchema; exports.DocumentConversion = _chunkJRVRIKNMcjs.DocumentConversion; exports.EnrollmentTrainingStatusEnum = _chunkIDEPTVFFcjs.EnrollmentTrainingStatusEnum; exports.FaqSchema = _chunkIDEPTVFFcjs.FaqSchema; exports.FaqStatus = _chunkIDEPTVFFcjs.FaqStatus; exports.FieldLabelSchema = _chunkIDEPTVFFcjs.FieldLabelSchema; exports.FormFieldType = _chunkIDEPTVFFcjs.FormFieldType; exports.FormSubmissionSchema = _chunkIDEPTVFFcjs.FormSubmissionSchema; exports.FormSubmissionShareBaseSchema = _chunkIDEPTVFFcjs.FormSubmissionShareBaseSchema; exports.FormSubmissionShareSchema = _chunkIDEPTVFFcjs.FormSubmissionShareSchema; exports.FormSubmissionSource = _chunkIDEPTVFFcjs.FormSubmissionSource; exports.FormSubmissionStatus = _chunkIDEPTVFFcjs.FormSubmissionStatus; exports.FormTemplateAssignmentSchema = _chunkIDEPTVFFcjs.FormTemplateAssignmentSchema; exports.FormTemplateSchema = _chunkIDEPTVFFcjs.FormTemplateSchema; exports.GeometrySchema = _chunkIDEPTVFFcjs.GeometrySchema; exports.GradingScaleFormSchema = _chunkIDEPTVFFcjs.GradingScaleFormSchema; exports.HeaderConversion = _chunkJRVRIKNMcjs.HeaderConversion; exports.HeadingBlockSchema = _chunkIDEPTVFFcjs.HeadingBlockSchema; exports.ImageConversion = _chunkJRVRIKNMcjs.ImageConversion; exports.ImportFeaturesSchema = _chunkIDEPTVFFcjs.ImportFeaturesSchema; exports.LocationFeatureVisibility = _chunkIDEPTVFFcjs.LocationFeatureVisibility; exports.LocationMapKind = _chunkIDEPTVFFcjs.LocationMapKind; exports.MediaType = _chunkJRVRIKNMcjs.MediaType; exports.MimeTypes = _chunkJRVRIKNMcjs.MimeTypes; exports.NewsletterAudienceSchema = _chunkIDEPTVFFcjs.NewsletterAudienceSchema; exports.NewsletterBlockSchema = _chunkIDEPTVFFcjs.NewsletterBlockSchema; exports.NewsletterBlockType = _chunkIDEPTVFFcjs.NewsletterBlockType; exports.NewsletterCampaignRecipientSchema = _chunkIDEPTVFFcjs.NewsletterCampaignRecipientSchema; exports.NewsletterCampaignSchema = _chunkIDEPTVFFcjs.NewsletterCampaignSchema; exports.NewsletterCampaignStatus = _chunkIDEPTVFFcjs.NewsletterCampaignStatus; exports.NewsletterCategorySchema = _chunkIDEPTVFFcjs.NewsletterCategorySchema; exports.NewsletterPreferenceRowSchema = _chunkIDEPTVFFcjs.NewsletterPreferenceRowSchema; exports.NewsletterRecipientStatus = _chunkIDEPTVFFcjs.NewsletterRecipientStatus; exports.NewsletterTemplateSchema = _chunkIDEPTVFFcjs.NewsletterTemplateSchema; exports.NewsletterTemplateSchemaSchema = _chunkIDEPTVFFcjs.NewsletterTemplateSchemaSchema; exports.ParagraphBlockSchema = _chunkIDEPTVFFcjs.ParagraphBlockSchema; exports.ReorderSyllabusElementItemSchema = _chunkIDEPTVFFcjs.ReorderSyllabusElementItemSchema; exports.RequiredFormSchema = _chunkIDEPTVFFcjs.RequiredFormSchema; exports.RequiredFormViaCrewSchema = _chunkIDEPTVFFcjs.RequiredFormViaCrewSchema; exports.RequiredFormViaSchema = _chunkIDEPTVFFcjs.RequiredFormViaSchema; exports.ReviewFaqSchema = _chunkIDEPTVFFcjs.ReviewFaqSchema; exports.RoleMembersBucketSchema = _chunkIDEPTVFFcjs.RoleMembersBucketSchema; exports.SAFETY_REPORT_STATUS_COLORS = _chunkIDEPTVFFcjs.SAFETY_REPORT_STATUS_COLORS; exports.SAFETY_REPORT_STATUS_LABELS = _chunkIDEPTVFFcjs.SAFETY_REPORT_STATUS_LABELS; exports.SafetyReportCategoryFormSchema = _chunkIDEPTVFFcjs.SafetyReportCategoryFormSchema; exports.SafetyReportCategorySchema = _chunkIDEPTVFFcjs.SafetyReportCategorySchema; exports.SafetyReportFilterSchema = _chunkIDEPTVFFcjs.SafetyReportFilterSchema; exports.SafetyReportFormSchema = _chunkIDEPTVFFcjs.SafetyReportFormSchema; exports.SafetyReportListResponseSchema = _chunkIDEPTVFFcjs.SafetyReportListResponseSchema; exports.SafetyReportMediaSchema = _chunkIDEPTVFFcjs.SafetyReportMediaSchema; exports.SafetyReportSchema = _chunkIDEPTVFFcjs.SafetyReportSchema; exports.SafetyReportStatusEnum = _chunkIDEPTVFFcjs.SafetyReportStatusEnum; exports.SafetyReportSubmissionResponseSchema = _chunkIDEPTVFFcjs.SafetyReportSubmissionResponseSchema; exports.SafetyReportUpdateSchema = _chunkIDEPTVFFcjs.SafetyReportUpdateSchema; exports.SchemaFieldSchema = _chunkIDEPTVFFcjs.SchemaFieldSchema; exports.SchemaSectionSchema = _chunkIDEPTVFFcjs.SchemaSectionSchema; exports.ShowWhenSchema = _chunkIDEPTVFFcjs.ShowWhenSchema; exports.SignOffTrainingElementFormSchema = _chunkIDEPTVFFcjs.SignOffTrainingElementFormSchema; exports.SignatureSchema = _chunkIDEPTVFFcjs.SignatureSchema; exports.StoreSyllabusFormSchema = _chunkIDEPTVFFcjs.StoreSyllabusFormSchema; exports.SubmissionFileSchema = _chunkIDEPTVFFcjs.SubmissionFileSchema; exports.SubmitFaqQuestionSchema = _chunkIDEPTVFFcjs.SubmitFaqQuestionSchema; exports.SyllabusKindEnum = _chunkIDEPTVFFcjs.SyllabusKindEnum; exports.TIME_FORMATS = _chunkIVMOR5SWcjs.TIME_FORMATS; exports.TemplateSchemaSchema = _chunkIDEPTVFFcjs.TemplateSchemaSchema; exports.ThumbnailConversion = _chunkJRVRIKNMcjs.ThumbnailConversion; exports.TipTapNodeSchema = _chunkIDEPTVFFcjs.TipTapNodeSchema; exports.TodoActionSchema = _chunkIDEPTVFFcjs.TodoActionSchema; exports.TodoKey = _chunkIDEPTVFFcjs.TodoKey; exports.TodoSchema = _chunkIDEPTVFFcjs.TodoSchema; exports.TrainingElementFormSchema = _chunkIDEPTVFFcjs.TrainingElementFormSchema; exports.TrainingElementKindEnum = _chunkIDEPTVFFcjs.TrainingElementKindEnum; exports.TrainingRecordResultEnum = _chunkIDEPTVFFcjs.TrainingRecordResultEnum; exports.TrainingRecordStatusEnum = _chunkIDEPTVFFcjs.TrainingRecordStatusEnum; exports.UpdateLocationMapFeatureSchema = _chunkIDEPTVFFcjs.UpdateLocationMapFeatureSchema; exports.UpdateLocationMapSchema = _chunkIDEPTVFFcjs.UpdateLocationMapSchema; exports.UpdateSyllabusElementFormSchema = _chunkIDEPTVFFcjs.UpdateSyllabusElementFormSchema; exports.UpdateSyllabusFormSchema = _chunkIDEPTVFFcjs.UpdateSyllabusFormSchema; exports.UpsertTrainingRecordFormSchema = _chunkIDEPTVFFcjs.UpsertTrainingRecordFormSchema; exports.ViewportSchema = _chunkIDEPTVFFcjs.ViewportSchema; exports.activitySchema = _chunkIDEPTVFFcjs.activitySchema; exports.addressSchema = _chunkIDEPTVFFcjs.addressSchema; exports.aircraftPositionSchema = _chunkIDEPTVFFcjs.aircraftPositionSchema; exports.aircraftRatingSchema = _chunkIDEPTVFFcjs.aircraftRatingSchema; exports.airplaneIssueSchema = _chunkIDEPTVFFcjs.airplaneIssueSchema; exports.airplaneIssueSeverityEnum = _chunkIDEPTVFFcjs.airplaneIssueSeverityEnum; exports.airplaneIssueStatusEnum = _chunkIDEPTVFFcjs.airplaneIssueStatusEnum; exports.airplanePermissionSchema = _chunkIDEPTVFFcjs.airplanePermissionSchema; exports.airplaneSchema = _chunkIDEPTVFFcjs.airplaneSchema; exports.airplaneShareInviteSchema = _chunkIDEPTVFFcjs.airplaneShareInviteSchema; exports.airportSchema = _chunkIDEPTVFFcjs.airportSchema; exports.alertSchema = _chunkIDEPTVFFcjs.alertSchema; exports.allowedDocumentTypeSchema = _chunkIDEPTVFFcjs.allowedDocumentTypeSchema; exports.approachTypeSchema = _chunkIDEPTVFFcjs.approachTypeSchema; exports.availSchema = _chunkIDEPTVFFcjs.availSchema; exports.baseMembershipSchema = _chunkIDEPTVFFcjs.baseMembershipSchema; exports.billingProfileSchema = _chunkIDEPTVFFcjs.billingProfileSchema; exports.bookingDuration = _chunkIVMOR5SWcjs.bookingDuration; exports.bookingSchema = _chunkIDEPTVFFcjs.bookingSchema; exports.bookingWaypointSchema = _chunkIDEPTVFFcjs.bookingWaypointSchema; exports.bytesToHuman = _chunkIVMOR5SWcjs.bytesToHuman; exports.canPreview = _chunkJRVRIKNMcjs.canPreview; exports.commentSchema = _chunkIDEPTVFFcjs.commentSchema; exports.companyAudienceInclude = _chunkIDEPTVFFcjs.companyAudienceInclude; exports.companySchema = _chunkIDEPTVFFcjs.companySchema; exports.contactAttributeSchema = _chunkIDEPTVFFcjs.contactAttributeSchema; exports.courseCheckSyllabusSchema = _chunkIDEPTVFFcjs.courseCheckSyllabusSchema; exports.courseEnrollmentMetricsSchema = _chunkIDEPTVFFcjs.courseEnrollmentMetricsSchema; exports.courseEnrollmentMilestoneSchema = _chunkIDEPTVFFcjs.courseEnrollmentMilestoneSchema; exports.courseEnrollmentSchema = _chunkIDEPTVFFcjs.courseEnrollmentSchema; exports.courseFeeSchema = _chunkIDEPTVFFcjs.courseFeeSchema; exports.courseMilestoneSchema = _chunkIDEPTVFFcjs.courseMilestoneSchema; exports.courseSchema = _chunkIDEPTVFFcjs.courseSchema; exports.createCrewValidator = _chunkMI4YBENQcjs.createCrewValidator; exports.createSyllabusFromTemplateResultSchema = _chunkIDEPTVFFcjs.createSyllabusFromTemplateResultSchema; exports.crewObjectToString = _chunkIVMOR5SWcjs.crewObjectToString; exports.dateString = _chunkIVMOR5SWcjs.dateString; exports.dateTimeString = _chunkIVMOR5SWcjs.dateTimeString; exports.dayString = _chunkIVMOR5SWcjs.dayString; exports.defaultCrewRoleForMembership = _chunkMI4YBENQcjs.defaultCrewRoleForMembership; exports.displayFee = _chunk2DRKSYW4cjs.displayFee; exports.documentComplianceStatus = _chunkIDEPTVFFcjs.documentComplianceStatus; exports.documentRequirement = _chunkIDEPTVFFcjs.documentRequirement; exports.documentRequirementGroup = _chunkIDEPTVFFcjs.documentRequirementGroup; exports.documentRequirementGroupAssignment = _chunkIDEPTVFFcjs.documentRequirementGroupAssignment; exports.documentSchema = _chunkIDEPTVFFcjs.documentSchema; exports.documentShareSchema = _chunkIDEPTVFFcjs.documentShareSchema; exports.documentType = _chunkIDEPTVFFcjs.documentType; exports.enrollmentTrainingElementSchema = _chunkIDEPTVFFcjs.enrollmentTrainingElementSchema; exports.equipmentSchema = _chunkIDEPTVFFcjs.equipmentSchema; exports.eventSchema = _chunkIDEPTVFFcjs.eventSchema; exports.expenseItemSchema = _chunkIDEPTVFFcjs.expenseItemSchema; exports.expenseSchema = _chunkIDEPTVFFcjs.expenseSchema; exports.extendedAirplaneSchema = _chunkIDEPTVFFcjs.extendedAirplaneSchema; exports.feeCategoryOptionsSchema = _chunkIDEPTVFFcjs.feeCategoryOptionsSchema; exports.feeSchema = _chunkIDEPTVFFcjs.feeSchema; exports.flightLogSchema = _chunkIDEPTVFFcjs.flightLogSchema; exports.formatDate = _chunkIVMOR5SWcjs.formatDate; exports.formatDateTime = _chunkIVMOR5SWcjs.formatDateTime; exports.formatTime = _chunkIVMOR5SWcjs.formatTime; exports.formatToEuroString = _chunk2DRKSYW4cjs.formatToEuroString; exports.fromCents = _chunk2DRKSYW4cjs.fromCents; exports.getDocumentIcon = _chunkJRVRIKNMcjs.getDocumentIcon; exports.getMediaDisplayName = _chunkJRVRIKNMcjs.getMediaDisplayName; exports.getMediaIcon = _chunkJRVRIKNMcjs.getMediaIcon; exports.getMediaType = _chunkJRVRIKNMcjs.getMediaType; exports.getMonthFromDate = _chunkIVMOR5SWcjs.getMonthFromDate; exports.gradeHistoryItemSchema = _chunkIDEPTVFFcjs.gradeHistoryItemSchema; exports.gradingScalePointSchema = _chunkIDEPTVFFcjs.gradingScalePointSchema; exports.gradingScaleSchema = _chunkIDEPTVFFcjs.gradingScaleSchema; exports.hasMembershipRole = _chunkMI4YBENQcjs.hasMembershipRole; exports.impersonationParticipantSchema = _chunkIDEPTVFFcjs.impersonationParticipantSchema; exports.impersonationStateSchema = _chunkIDEPTVFFcjs.impersonationStateSchema; exports.invalidateTrainingRecordResponseSchema = _chunkIDEPTVFFcjs.invalidateTrainingRecordResponseSchema; exports.invoiceSchema = _chunkIDEPTVFFcjs.invoiceSchema; exports.landingFeeSchema = _chunkIDEPTVFFcjs.landingFeeSchema; exports.landingSchema = _chunkIDEPTVFFcjs.landingSchema; exports.maintenanceEventEstimationSchema = _chunkIDEPTVFFcjs.maintenanceEventEstimationSchema; exports.maintenanceEventSchema = _chunkIDEPTVFFcjs.maintenanceEventSchema; exports.maintenanceStatusSchema = _chunkIDEPTVFFcjs.maintenanceStatusSchema; exports.mapMediaConversions = _chunkJRVRIKNMcjs.mapMediaConversions; exports.mediaCollection = _chunkIDEPTVFFcjs.mediaCollection; exports.mediaSchema = _chunkIDEPTVFFcjs.mediaSchema; exports.membershipSchema = _chunkIDEPTVFFcjs.membershipSchema; exports.membershipSignupSchema = _chunkIDEPTVFFcjs.membershipSignupSchema; exports.membershipStatus = _chunkIVMOR5SWcjs.membershipStatus; exports.minutesFormatted = _chunkIVMOR5SWcjs.minutesFormatted; exports.money = _chunk2DRKSYW4cjs.money; exports.moneyFormatted = _chunk2DRKSYW4cjs.moneyFormatted; exports.monthString = _chunkIVMOR5SWcjs.monthString; exports.paginationMeta = _chunkHQSF3WGFcjs.paginationMeta; exports.parseCourse = _chunkLVTDNDWEcjs.parseCourse; exports.parseFee = _chunk2DRKSYW4cjs.parseFee; exports.parsePrice = _chunk2DRKSYW4cjs.parsePrice; exports.percentage = _chunkIVMOR5SWcjs.percentage; exports.postSchema = _chunkIDEPTVFFcjs.postSchema; exports.prePaidPackageAssignmentSchema = _chunkIDEPTVFFcjs.prePaidPackageAssignmentSchema; exports.prePaidPackageSchema = _chunkIDEPTVFFcjs.prePaidPackageSchema; exports.priceSchema = _chunkIDEPTVFFcjs.priceSchema; exports.qualificationSchema = _chunkIDEPTVFFcjs.qualificationSchema; exports.recurringFlightSchema = _chunkIDEPTVFFcjs.recurringFlightSchema; exports.roleSchema = _chunkIDEPTVFFcjs.roleSchema; exports.runwaySchema = _chunkIDEPTVFFcjs.runwaySchema; exports.scheduledFlightSchema = _chunkIDEPTVFFcjs.scheduledFlightSchema; exports.settingSchema = _chunkIDEPTVFFcjs.settingSchema; exports.specialFlightSchema = _chunkIDEPTVFFcjs.specialFlightSchema; exports.syllabusElementMutationResultSchema = _chunkIDEPTVFFcjs.syllabusElementMutationResultSchema; exports.syllabusElementSchema = _chunkIDEPTVFFcjs.syllabusElementSchema; exports.syllabusRolloutResultItemSchema = _chunkIDEPTVFFcjs.syllabusRolloutResultItemSchema; exports.syllabusRolloutResultSchema = _chunkIDEPTVFFcjs.syllabusRolloutResultSchema; exports.syllabusRolloutSkippedItemSchema = _chunkIDEPTVFFcjs.syllabusRolloutSkippedItemSchema; exports.syllabusSchema = _chunkIDEPTVFFcjs.syllabusSchema; exports.tagSchema = _chunkIDEPTVFFcjs.tagSchema; exports.ticketSchema = _chunkIDEPTVFFcjs.ticketSchema; exports.timeDiffInDays = _chunkIVMOR5SWcjs.timeDiffInDays; exports.timeString = _chunkIVMOR5SWcjs.timeString; exports.timeUntil = _chunkIVMOR5SWcjs.timeUntil; exports.trainingElementSchema = _chunkIDEPTVFFcjs.trainingElementSchema; exports.trainingRecordEntryInputSchema = _chunkIDEPTVFFcjs.trainingRecordEntryInputSchema; exports.trainingRecordEntrySchema = _chunkIDEPTVFFcjs.trainingRecordEntrySchema; exports.trainingRecordSchema = _chunkIDEPTVFFcjs.trainingRecordSchema; exports.trainingSignatureSchema = _chunkIDEPTVFFcjs.trainingSignatureSchema; exports.trainingTemplatePackSchema = _chunkIDEPTVFFcjs.trainingTemplatePackSchema; exports.usedByCourseSchema = _chunkIDEPTVFFcjs.usedByCourseSchema; exports.userAircraftRatingSchema = _chunkIDEPTVFFcjs.userAircraftRatingSchema; exports.userQualificationSchema = _chunkIDEPTVFFcjs.userQualificationSchema; exports.userSchema = _chunkIDEPTVFFcjs.userSchema; exports.waypointSchema = _chunkIDEPTVFFcjs.waypointSchema; exports.yearString = _chunkIVMOR5SWcjs.yearString; exports.zContactDTO = _chunkIDEPTVFFcjs.zContactDTO; exports.zNetGross = _chunkIDEPTVFFcjs.zNetGross; exports.zNullableBool = _chunkIDEPTVFFcjs.zNullableBool; exports.zPhpMoneyObject = _chunkIDEPTVFFcjs.zPhpMoneyObject;
480
+
481
+ exports.ALLOWED_GEOMETRY_TYPES = _chunkRN7XMRGCcjs.ALLOWED_GEOMETRY_TYPES; exports.ALLOWED_NEWSLETTER_VARIABLES = _chunkRN7XMRGCcjs.ALLOWED_NEWSLETTER_VARIABLES; exports.AllUsersBucketSchema = _chunkRN7XMRGCcjs.AllUsersBucketSchema; exports.AttachSyllabusElementFormSchema = _chunkRN7XMRGCcjs.AttachSyllabusElementFormSchema; exports.AudienceBucketSchema = _chunkRN7XMRGCcjs.AudienceBucketSchema; exports.AudienceBucketType = _chunkRN7XMRGCcjs.AudienceBucketType; exports.AvatarConversion = _chunkJRVRIKNMcjs.AvatarConversion; exports.BaseModel = _chunkRN7XMRGCcjs.BaseModel; exports.ButtonBlockSchema = _chunkRN7XMRGCcjs.ButtonBlockSchema; exports.CompanyUsersBucketSchema = _chunkRN7XMRGCcjs.CompanyUsersBucketSchema; exports.CourseMilestoneFormSchema = _chunkRN7XMRGCcjs.CourseMilestoneFormSchema; exports.CourseMilestoneKindEnum = _chunkRN7XMRGCcjs.CourseMilestoneKindEnum; exports.CreateLocationMapFeatureSchema = _chunkRN7XMRGCcjs.CreateLocationMapFeatureSchema; exports.CreateLocationMapSchema = _chunkRN7XMRGCcjs.CreateLocationMapSchema; exports.CreateNewsletterCampaignInputSchema = _chunkRN7XMRGCcjs.CreateNewsletterCampaignInputSchema; exports.CreateNewsletterTemplateInputSchema = _chunkRN7XMRGCcjs.CreateNewsletterTemplateInputSchema; exports.CreateSyllabusFromTemplateFormSchema = _chunkRN7XMRGCcjs.CreateSyllabusFromTemplateFormSchema; exports.DATE_FORMATS = _chunkIVMOR5SWcjs.DATE_FORMATS; exports.DividerBlockSchema = _chunkRN7XMRGCcjs.DividerBlockSchema; exports.DocumentConversion = _chunkJRVRIKNMcjs.DocumentConversion; exports.EnrollmentTrainingStatusEnum = _chunkRN7XMRGCcjs.EnrollmentTrainingStatusEnum; exports.FaqSchema = _chunkRN7XMRGCcjs.FaqSchema; exports.FaqStatus = _chunkRN7XMRGCcjs.FaqStatus; exports.FieldLabelSchema = _chunkRN7XMRGCcjs.FieldLabelSchema; exports.FormFieldType = _chunkRN7XMRGCcjs.FormFieldType; exports.FormSubmissionSchema = _chunkRN7XMRGCcjs.FormSubmissionSchema; exports.FormSubmissionShareBaseSchema = _chunkRN7XMRGCcjs.FormSubmissionShareBaseSchema; exports.FormSubmissionShareSchema = _chunkRN7XMRGCcjs.FormSubmissionShareSchema; exports.FormSubmissionSource = _chunkRN7XMRGCcjs.FormSubmissionSource; exports.FormSubmissionStatus = _chunkRN7XMRGCcjs.FormSubmissionStatus; exports.FormTemplateAssignmentSchema = _chunkRN7XMRGCcjs.FormTemplateAssignmentSchema; exports.FormTemplateSchema = _chunkRN7XMRGCcjs.FormTemplateSchema; exports.GeometrySchema = _chunkRN7XMRGCcjs.GeometrySchema; exports.GradingScaleFormSchema = _chunkRN7XMRGCcjs.GradingScaleFormSchema; exports.HeaderConversion = _chunkJRVRIKNMcjs.HeaderConversion; exports.HeadingBlockSchema = _chunkRN7XMRGCcjs.HeadingBlockSchema; exports.ImageConversion = _chunkJRVRIKNMcjs.ImageConversion; exports.ImportFeaturesSchema = _chunkRN7XMRGCcjs.ImportFeaturesSchema; exports.LocationFeatureVisibility = _chunkRN7XMRGCcjs.LocationFeatureVisibility; exports.LocationMapKind = _chunkRN7XMRGCcjs.LocationMapKind; exports.MediaType = _chunkJRVRIKNMcjs.MediaType; exports.MimeTypes = _chunkJRVRIKNMcjs.MimeTypes; exports.NewsletterAudienceSchema = _chunkRN7XMRGCcjs.NewsletterAudienceSchema; exports.NewsletterBlockSchema = _chunkRN7XMRGCcjs.NewsletterBlockSchema; exports.NewsletterBlockType = _chunkRN7XMRGCcjs.NewsletterBlockType; exports.NewsletterCampaignRecipientSchema = _chunkRN7XMRGCcjs.NewsletterCampaignRecipientSchema; exports.NewsletterCampaignSchema = _chunkRN7XMRGCcjs.NewsletterCampaignSchema; exports.NewsletterCampaignStatus = _chunkRN7XMRGCcjs.NewsletterCampaignStatus; exports.NewsletterCategorySchema = _chunkRN7XMRGCcjs.NewsletterCategorySchema; exports.NewsletterPreferenceRowSchema = _chunkRN7XMRGCcjs.NewsletterPreferenceRowSchema; exports.NewsletterRecipientStatus = _chunkRN7XMRGCcjs.NewsletterRecipientStatus; exports.NewsletterTemplateSchema = _chunkRN7XMRGCcjs.NewsletterTemplateSchema; exports.NewsletterTemplateSchemaSchema = _chunkRN7XMRGCcjs.NewsletterTemplateSchemaSchema; exports.ParagraphBlockSchema = _chunkRN7XMRGCcjs.ParagraphBlockSchema; exports.ReorderSyllabusElementItemSchema = _chunkRN7XMRGCcjs.ReorderSyllabusElementItemSchema; exports.RequiredFormSchema = _chunkRN7XMRGCcjs.RequiredFormSchema; exports.RequiredFormViaCrewSchema = _chunkRN7XMRGCcjs.RequiredFormViaCrewSchema; exports.RequiredFormViaSchema = _chunkRN7XMRGCcjs.RequiredFormViaSchema; exports.ReviewFaqSchema = _chunkRN7XMRGCcjs.ReviewFaqSchema; exports.RoleMembersBucketSchema = _chunkRN7XMRGCcjs.RoleMembersBucketSchema; exports.SAFETY_REPORT_STATUS_COLORS = _chunkRN7XMRGCcjs.SAFETY_REPORT_STATUS_COLORS; exports.SAFETY_REPORT_STATUS_LABELS = _chunkRN7XMRGCcjs.SAFETY_REPORT_STATUS_LABELS; exports.SafetyReportCategoryFormSchema = _chunkRN7XMRGCcjs.SafetyReportCategoryFormSchema; exports.SafetyReportCategorySchema = _chunkRN7XMRGCcjs.SafetyReportCategorySchema; exports.SafetyReportFilterSchema = _chunkRN7XMRGCcjs.SafetyReportFilterSchema; exports.SafetyReportFormSchema = _chunkRN7XMRGCcjs.SafetyReportFormSchema; exports.SafetyReportListResponseSchema = _chunkRN7XMRGCcjs.SafetyReportListResponseSchema; exports.SafetyReportMediaSchema = _chunkRN7XMRGCcjs.SafetyReportMediaSchema; exports.SafetyReportSchema = _chunkRN7XMRGCcjs.SafetyReportSchema; exports.SafetyReportStatusEnum = _chunkRN7XMRGCcjs.SafetyReportStatusEnum; exports.SafetyReportSubmissionResponseSchema = _chunkRN7XMRGCcjs.SafetyReportSubmissionResponseSchema; exports.SafetyReportUpdateSchema = _chunkRN7XMRGCcjs.SafetyReportUpdateSchema; exports.SchemaFieldSchema = _chunkRN7XMRGCcjs.SchemaFieldSchema; exports.SchemaSectionSchema = _chunkRN7XMRGCcjs.SchemaSectionSchema; exports.ShowWhenSchema = _chunkRN7XMRGCcjs.ShowWhenSchema; exports.SignOffTrainingElementFormSchema = _chunkRN7XMRGCcjs.SignOffTrainingElementFormSchema; exports.SignatureSchema = _chunkRN7XMRGCcjs.SignatureSchema; exports.StoreSyllabusFormSchema = _chunkRN7XMRGCcjs.StoreSyllabusFormSchema; exports.SubmissionFileSchema = _chunkRN7XMRGCcjs.SubmissionFileSchema; exports.SubmitFaqQuestionSchema = _chunkRN7XMRGCcjs.SubmitFaqQuestionSchema; exports.SyllabusKindEnum = _chunkRN7XMRGCcjs.SyllabusKindEnum; exports.TIME_FORMATS = _chunkIVMOR5SWcjs.TIME_FORMATS; exports.TemplateSchemaSchema = _chunkRN7XMRGCcjs.TemplateSchemaSchema; exports.ThumbnailConversion = _chunkJRVRIKNMcjs.ThumbnailConversion; exports.TipTapNodeSchema = _chunkRN7XMRGCcjs.TipTapNodeSchema; exports.TodoActionSchema = _chunkRN7XMRGCcjs.TodoActionSchema; exports.TodoKey = _chunkRN7XMRGCcjs.TodoKey; exports.TodoSchema = _chunkRN7XMRGCcjs.TodoSchema; exports.TrainingElementFormSchema = _chunkRN7XMRGCcjs.TrainingElementFormSchema; exports.TrainingElementKindEnum = _chunkRN7XMRGCcjs.TrainingElementKindEnum; exports.TrainingRecordResultEnum = _chunkRN7XMRGCcjs.TrainingRecordResultEnum; exports.TrainingRecordStatusEnum = _chunkRN7XMRGCcjs.TrainingRecordStatusEnum; exports.UpdateLocationMapFeatureSchema = _chunkRN7XMRGCcjs.UpdateLocationMapFeatureSchema; exports.UpdateLocationMapSchema = _chunkRN7XMRGCcjs.UpdateLocationMapSchema; exports.UpdateSyllabusElementFormSchema = _chunkRN7XMRGCcjs.UpdateSyllabusElementFormSchema; exports.UpdateSyllabusFormSchema = _chunkRN7XMRGCcjs.UpdateSyllabusFormSchema; exports.UpsertTrainingRecordFormSchema = _chunkRN7XMRGCcjs.UpsertTrainingRecordFormSchema; exports.ViewportSchema = _chunkRN7XMRGCcjs.ViewportSchema; exports.activitySchema = _chunkRN7XMRGCcjs.activitySchema; exports.addressSchema = _chunkRN7XMRGCcjs.addressSchema; exports.aircraftPositionSchema = _chunkRN7XMRGCcjs.aircraftPositionSchema; exports.aircraftRatingSchema = _chunkRN7XMRGCcjs.aircraftRatingSchema; exports.airplaneIssueSchema = _chunkRN7XMRGCcjs.airplaneIssueSchema; exports.airplaneIssueSeverityEnum = _chunkRN7XMRGCcjs.airplaneIssueSeverityEnum; exports.airplaneIssueStatusEnum = _chunkRN7XMRGCcjs.airplaneIssueStatusEnum; exports.airplanePermissionSchema = _chunkRN7XMRGCcjs.airplanePermissionSchema; exports.airplaneSchema = _chunkRN7XMRGCcjs.airplaneSchema; exports.airplaneShareInviteSchema = _chunkRN7XMRGCcjs.airplaneShareInviteSchema; exports.airportSchema = _chunkRN7XMRGCcjs.airportSchema; exports.alertSchema = _chunkRN7XMRGCcjs.alertSchema; exports.allowedDocumentTypeSchema = _chunkRN7XMRGCcjs.allowedDocumentTypeSchema; exports.approachTypeSchema = _chunkRN7XMRGCcjs.approachTypeSchema; exports.availSchema = _chunkRN7XMRGCcjs.availSchema; exports.baseMembershipSchema = _chunkRN7XMRGCcjs.baseMembershipSchema; exports.billingProfileSchema = _chunkRN7XMRGCcjs.billingProfileSchema; exports.bookingDuration = _chunkIVMOR5SWcjs.bookingDuration; exports.bookingSchema = _chunkRN7XMRGCcjs.bookingSchema; exports.bookingWaypointSchema = _chunkRN7XMRGCcjs.bookingWaypointSchema; exports.bytesToHuman = _chunkIVMOR5SWcjs.bytesToHuman; exports.canPreview = _chunkJRVRIKNMcjs.canPreview; exports.commentSchema = _chunkRN7XMRGCcjs.commentSchema; exports.companyAudienceInclude = _chunkRN7XMRGCcjs.companyAudienceInclude; exports.companySchema = _chunkRN7XMRGCcjs.companySchema; exports.contactAttributeSchema = _chunkRN7XMRGCcjs.contactAttributeSchema; exports.courseCheckSyllabusSchema = _chunkRN7XMRGCcjs.courseCheckSyllabusSchema; exports.courseEnrollmentMetricsSchema = _chunkRN7XMRGCcjs.courseEnrollmentMetricsSchema; exports.courseEnrollmentMilestoneSchema = _chunkRN7XMRGCcjs.courseEnrollmentMilestoneSchema; exports.courseEnrollmentSchema = _chunkRN7XMRGCcjs.courseEnrollmentSchema; exports.courseFeeSchema = _chunkRN7XMRGCcjs.courseFeeSchema; exports.courseMilestoneSchema = _chunkRN7XMRGCcjs.courseMilestoneSchema; exports.courseSchema = _chunkRN7XMRGCcjs.courseSchema; exports.createCrewValidator = _chunkMI4YBENQcjs.createCrewValidator; exports.createSyllabusFromTemplateResultSchema = _chunkRN7XMRGCcjs.createSyllabusFromTemplateResultSchema; exports.crewObjectToString = _chunkIVMOR5SWcjs.crewObjectToString; exports.dateString = _chunkIVMOR5SWcjs.dateString; exports.dateTimeString = _chunkIVMOR5SWcjs.dateTimeString; exports.dayString = _chunkIVMOR5SWcjs.dayString; exports.defaultCrewRoleForMembership = _chunkMI4YBENQcjs.defaultCrewRoleForMembership; exports.displayFee = _chunk2DRKSYW4cjs.displayFee; exports.documentComplianceStatus = _chunkRN7XMRGCcjs.documentComplianceStatus; exports.documentRequirement = _chunkRN7XMRGCcjs.documentRequirement; exports.documentRequirementGroup = _chunkRN7XMRGCcjs.documentRequirementGroup; exports.documentRequirementGroupAssignment = _chunkRN7XMRGCcjs.documentRequirementGroupAssignment; exports.documentSchema = _chunkRN7XMRGCcjs.documentSchema; exports.documentShareSchema = _chunkRN7XMRGCcjs.documentShareSchema; exports.documentType = _chunkRN7XMRGCcjs.documentType; exports.enrollmentTrainingElementSchema = _chunkRN7XMRGCcjs.enrollmentTrainingElementSchema; exports.equipmentSchema = _chunkRN7XMRGCcjs.equipmentSchema; exports.eventSchema = _chunkRN7XMRGCcjs.eventSchema; exports.expenseItemSchema = _chunkRN7XMRGCcjs.expenseItemSchema; exports.expenseSchema = _chunkRN7XMRGCcjs.expenseSchema; exports.extendedAirplaneSchema = _chunkRN7XMRGCcjs.extendedAirplaneSchema; exports.feeCategoryOptionsSchema = _chunkRN7XMRGCcjs.feeCategoryOptionsSchema; exports.feeSchema = _chunkRN7XMRGCcjs.feeSchema; exports.flightLogSchema = _chunkRN7XMRGCcjs.flightLogSchema; exports.formatDate = _chunkIVMOR5SWcjs.formatDate; exports.formatDateTime = _chunkIVMOR5SWcjs.formatDateTime; exports.formatTime = _chunkIVMOR5SWcjs.formatTime; exports.formatToEuroString = _chunk2DRKSYW4cjs.formatToEuroString; exports.fromCents = _chunk2DRKSYW4cjs.fromCents; exports.getDocumentIcon = _chunkJRVRIKNMcjs.getDocumentIcon; exports.getMediaDisplayName = _chunkJRVRIKNMcjs.getMediaDisplayName; exports.getMediaIcon = _chunkJRVRIKNMcjs.getMediaIcon; exports.getMediaType = _chunkJRVRIKNMcjs.getMediaType; exports.getMonthFromDate = _chunkIVMOR5SWcjs.getMonthFromDate; exports.gradeHistoryItemSchema = _chunkRN7XMRGCcjs.gradeHistoryItemSchema; exports.gradingScalePointSchema = _chunkRN7XMRGCcjs.gradingScalePointSchema; exports.gradingScaleSchema = _chunkRN7XMRGCcjs.gradingScaleSchema; exports.hasMembershipRole = _chunkMI4YBENQcjs.hasMembershipRole; exports.impersonationParticipantSchema = _chunkRN7XMRGCcjs.impersonationParticipantSchema; exports.impersonationStateSchema = _chunkRN7XMRGCcjs.impersonationStateSchema; exports.invalidateTrainingRecordResponseSchema = _chunkRN7XMRGCcjs.invalidateTrainingRecordResponseSchema; exports.invoiceSchema = _chunkRN7XMRGCcjs.invoiceSchema; exports.landingFeeSchema = _chunkRN7XMRGCcjs.landingFeeSchema; exports.landingSchema = _chunkRN7XMRGCcjs.landingSchema; exports.maintenanceEventEstimationSchema = _chunkRN7XMRGCcjs.maintenanceEventEstimationSchema; exports.maintenanceEventSchema = _chunkRN7XMRGCcjs.maintenanceEventSchema; exports.maintenanceStatusSchema = _chunkRN7XMRGCcjs.maintenanceStatusSchema; exports.mapMediaConversions = _chunkJRVRIKNMcjs.mapMediaConversions; exports.mediaCollection = _chunkRN7XMRGCcjs.mediaCollection; exports.mediaSchema = _chunkRN7XMRGCcjs.mediaSchema; exports.membershipSchema = _chunkRN7XMRGCcjs.membershipSchema; exports.membershipSignupSchema = _chunkRN7XMRGCcjs.membershipSignupSchema; exports.membershipStatus = _chunkIVMOR5SWcjs.membershipStatus; exports.minutesFormatted = _chunkIVMOR5SWcjs.minutesFormatted; exports.money = _chunk2DRKSYW4cjs.money; exports.moneyFormatted = _chunk2DRKSYW4cjs.moneyFormatted; exports.monthString = _chunkIVMOR5SWcjs.monthString; exports.paginationMeta = _chunkHQSF3WGFcjs.paginationMeta; exports.parseCourse = _chunkLVTDNDWEcjs.parseCourse; exports.parseFee = _chunk2DRKSYW4cjs.parseFee; exports.parsePrice = _chunk2DRKSYW4cjs.parsePrice; exports.percentage = _chunkIVMOR5SWcjs.percentage; exports.postSchema = _chunkRN7XMRGCcjs.postSchema; exports.postSubjectSchema = _chunkRN7XMRGCcjs.postSubjectSchema; exports.prePaidPackageAssignmentSchema = _chunkRN7XMRGCcjs.prePaidPackageAssignmentSchema; exports.prePaidPackageSchema = _chunkRN7XMRGCcjs.prePaidPackageSchema; exports.priceSchema = _chunkRN7XMRGCcjs.priceSchema; exports.qualificationSchema = _chunkRN7XMRGCcjs.qualificationSchema; exports.recurringFlightSchema = _chunkRN7XMRGCcjs.recurringFlightSchema; exports.roleSchema = _chunkRN7XMRGCcjs.roleSchema; exports.runwaySchema = _chunkRN7XMRGCcjs.runwaySchema; exports.scheduledFlightSchema = _chunkRN7XMRGCcjs.scheduledFlightSchema; exports.settingSchema = _chunkRN7XMRGCcjs.settingSchema; exports.specialFlightSchema = _chunkRN7XMRGCcjs.specialFlightSchema; exports.syllabusElementMutationResultSchema = _chunkRN7XMRGCcjs.syllabusElementMutationResultSchema; exports.syllabusElementSchema = _chunkRN7XMRGCcjs.syllabusElementSchema; exports.syllabusRolloutResultItemSchema = _chunkRN7XMRGCcjs.syllabusRolloutResultItemSchema; exports.syllabusRolloutResultSchema = _chunkRN7XMRGCcjs.syllabusRolloutResultSchema; exports.syllabusRolloutSkippedItemSchema = _chunkRN7XMRGCcjs.syllabusRolloutSkippedItemSchema; exports.syllabusSchema = _chunkRN7XMRGCcjs.syllabusSchema; exports.tagSchema = _chunkRN7XMRGCcjs.tagSchema; exports.ticketSchema = _chunkRN7XMRGCcjs.ticketSchema; exports.timeDiffInDays = _chunkIVMOR5SWcjs.timeDiffInDays; exports.timeString = _chunkIVMOR5SWcjs.timeString; exports.timeUntil = _chunkIVMOR5SWcjs.timeUntil; exports.trainingElementSchema = _chunkRN7XMRGCcjs.trainingElementSchema; exports.trainingRecordEntryInputSchema = _chunkRN7XMRGCcjs.trainingRecordEntryInputSchema; exports.trainingRecordEntrySchema = _chunkRN7XMRGCcjs.trainingRecordEntrySchema; exports.trainingRecordSchema = _chunkRN7XMRGCcjs.trainingRecordSchema; exports.trainingSignatureSchema = _chunkRN7XMRGCcjs.trainingSignatureSchema; exports.trainingTemplatePackSchema = _chunkRN7XMRGCcjs.trainingTemplatePackSchema; exports.usedByCourseSchema = _chunkRN7XMRGCcjs.usedByCourseSchema; exports.userAircraftRatingSchema = _chunkRN7XMRGCcjs.userAircraftRatingSchema; exports.userQualificationSchema = _chunkRN7XMRGCcjs.userQualificationSchema; exports.userSchema = _chunkRN7XMRGCcjs.userSchema; exports.waypointSchema = _chunkRN7XMRGCcjs.waypointSchema; exports.yearString = _chunkIVMOR5SWcjs.yearString; exports.zContactDTO = _chunkRN7XMRGCcjs.zContactDTO; exports.zMoneyObject = _chunkRN7XMRGCcjs.zMoneyObject; exports.zNetGross = _chunkRN7XMRGCcjs.zNetGross; exports.zNullableBool = _chunkRN7XMRGCcjs.zNullableBool;